/* =========================
   SPONSORS SECTION
========================= */
.sponsors-section {
    background: #eef3fb;
    padding: 70px 0 80px;
}

.sponsors-section .container {
    max-width: 1150px;
}

.section-head {
    text-align: center;
    margin-bottom: 26px;
}

.section-head h2 {
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    font-size: clamp(1.8rem, 2.6vw, 2.3rem);
    color: #0f172a;
}

.section-head p {
    margin: 0 auto;
    max-width: 720px;
    color: #64748b;
    line-height: 1.6;
}

.subhead {
    text-align: center;
    font-weight: 900;
    margin: 22px 0 18px;
    color: #334155;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* Grid de Sponsors */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.sponsor-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.sponsor-icon {
    width: 110px;
    height: 110px;
    background: #f8fafc;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Mantiene la imagen dentro del círculo */
}

/* Ajuste para que los logos se vean uniformes */
.sponsor-icon img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.sponsor-card h6 {
    font-weight: 800;
    margin: 0 0 4px;
    color: #1e293b;
}

.sponsor-name-long {
    font-size: 0.85rem !important; /* Ajuste para nombres largos */
}

.sponsor-card span {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
}

/* Planes Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.plan-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card h5 {
    font-weight: 900;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.price {
    margin-bottom: 25px;
}

.price strong {
    font-size: 2.2rem;
    display: block;
    line-height: 1;
    color: #0f172a;
}

.price small {
    color: #64748b;
    font-size: 0.85rem;
}

.plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-grow: 1;
}

.plan-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #475569;
    display: flex;
    gap: 10px;
    align-items: center;
}

.plan-list i {
    color: #22c55e;
    font-size: 0.9rem;
}

/* Botones de Planes */
.plan-btn {
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    text-align: center;
    transition: transform .18s ease, filter .18s ease;
}

.plan-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-bronze { background: #4b5563; color: #fff; }
.btn-plata { background: linear-gradient(90deg, #203f85, #2a52a8); color: #fff; }
.btn-oro { background: #c58a00; color: #fff; }

/* Popular Highlight */
.plan-card.popular {
    border: 2px solid #203f85;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(32,63,133,0.1);
}

.badge-pop {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #203f85;
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}