/* ===================================
   TRIINFINITY - HAZTE SOCIO CSS
   Versión simplificada - 3 sedes
   =================================== */

/* ==================
   HERO BANNER
   ================== */
.membership-hero {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.95), rgba(18, 18, 18, 0.9)),
        url('img/foto3.webp') center/cover;
    height: 55vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.membership-hero .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.membership-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.membership-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
}

.membership-hero i {
    margin-right: 0.5rem;
}

/* ==================
   INTRODUCCIÓN DE SECCIÓN
   ================== */
.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gris-medio);
    max-width: 650px;
    margin: -1.5rem auto 3rem;
    line-height: 1.6;
}

/* ==================
   SECCIONES PRINCIPALES
   ================== */
.groups-section,
.pricing-section,
.locations-info-section {
    padding: 4rem 0;
}

.pricing-section {
    background: var(--gris);
}

.locations-info-section {
    background: var(--blanco);
}

/* ==================
   TARJETAS DE SEDES
   ================== */
.locations-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.location-info-card {
    background: var(--blanco);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.location-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--rojo);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: var(--rojo);
    color: var(--blanco);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
}

.location-info-card h3 {
    font-size: 1.2rem;
    color: var(--negro);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.location-info-card p {
    color: var(--gris-medio);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}


/* ==================
   GRID DE GRUPOS - DISEÑO PROFESIONAL
   ================== */
.school-levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.school-level-card {
    background: var(--blanco);
    border-radius: 8px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e8e8;
    border-left: 4px solid transparent;
}

.school-level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.school-level-card.iniciacion {
    border-left-color: #4CAF50;
}

.school-level-card.tecnificacion {
    border-left-color: #2196F3;
}

.school-level-card.rendimiento {
    border-left-color: var(--rojo);
}

.school-level-card.club {
    border-left-color: #FF9800;
}

.school-level-card .level-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.school-level-card.iniciacion .level-icon {
    color: #4CAF50;
}

.school-level-card.tecnificacion .level-icon {
    color: #2196F3;
}

.school-level-card.rendimiento .level-icon {
    color: var(--rojo);
}

.school-level-card.club .level-icon {
    color: #FF9800;
}

.school-level-card h4 {
    font-size: 1.15rem;
    color: var(--negro);
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.school-level-card .age-badge {
    display: inline-block;
    background: #fafafa;
    color: var(--negro);
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid #f0f0f0;
}

.school-level-card .level-desc {
    color: var(--gris-medio);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==================
   GRID DE PRECIOS - DISEÑO PROFESIONAL
   ================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.price-card {
    background: var(--blanco);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e8e8;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--rojo);
}

.price-card.featured {
    border: 2px solid var(--rojo);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.15);
}

.price-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.02), transparent);
    z-index: 0;
    pointer-events: none;
}

.price-card.featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(230, 57, 70, 0.25);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--rojo);
    color: var(--blanco);
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.8px;
    border-radius: 0 8px 0 8px;
}

.price-header {
    background: var(--blanco);
    color: var(--negro);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #f0f0f0;
}

.price-card.featured .price-header {
    background: var(--blanco);
    padding-top: 2.5rem;
}

.price-title {
    font-size: 1.1rem;
    margin: 0 0 1.2rem 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--negro);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-title i {
    font-size: 1rem;
    color: var(--rojo);
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.price-prefix {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gris-medio);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--rojo);
}

.price-period {
    font-size: 1rem;
    color: var(--gris-medio);
    font-weight: 500;
}

.price-body {
    padding: 1.8rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    background: var(--blanco);
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    padding: 0;
    color: var(--negro);
    font-size: 0.95rem;
    line-height: 1.5;
}

.price-features li i {
    color: var(--rojo);
    font-size: 0.85rem;
    min-width: 16px;
    margin-top: 0.2rem;
}

.age-info {
    text-align: center;
    background: #fafafa;
    padding: 0.7rem;
    border-radius: 4px;
    margin: 0;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gris-medio);
    border: 1px solid #f0f0f0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ==================
   INFORMACIÓN GENERAL - DISEÑO PROFESIONAL
   ================== */
.info-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--negro);
    margin-bottom: 3rem;
}

.section-title i {
    color: var(--rojo);
    margin-right: 0.5rem;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card-general {
    background: var(--blanco);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.info-card-general:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--rojo);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--rojo);
    color: var(--blanco);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.info-card-general:hover .icon-circle {
    transform: scale(1.05);
    background: var(--rojo-oscuro);
}

.info-card-general h3 {
    font-size: 1.15rem;
    color: var(--negro);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.info-card-general p {
    color: var(--gris-medio);
    margin: 0.4rem 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.info-card-general strong {
    color: var(--rojo);
    font-size: 1.1rem;
    font-weight: 700;
}

/* ==================
   BENEFICIOS - DISEÑO PROFESIONAL
   ================== */
.benefits-section {
    background: var(--blanco);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    margin-top: 3rem;
}

.benefits-section h2,
.benefits-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--negro);
    margin-bottom: 2rem;
    font-weight: 700;
}

.benefits-section h2 i,
.benefits-section h3 i {
    color: var(--rojo);
    margin-right: 0.5rem;
}

.benefits-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    background: #fafafa;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.benefit-item:hover {
    transform: translateX(4px);
    background: var(--blanco);
    border-color: var(--rojo);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.benefit-item i {
    color: var(--rojo);
    font-size: 1.3rem;
    min-width: 26px;
}

.benefit-item span {
    color: var(--negro);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ==================
   CALL TO ACTION - DISEÑO PROFESIONAL
   ================== */
.cta-section {
    background: var(--negro);
    color: var(--blanco);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--rojo);
    color: var(--blanco);
}

.btn-primary:hover {
    background: var(--rojo-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--blanco);
    border: 2px solid var(--blanco);
}

.btn-secondary:hover {
    background: var(--blanco);
    color: var(--negro);
    transform: translateY(-2px);
}

/* ==================
   RESPONSIVE DESIGN
   ================== */

/* Tablets */
@media (max-width: 1024px) {
    .membership-hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .groups-section,
    .pricing-section,
    .locations-info-section {
        padding: 3.5rem 0;
    }

    .school-levels-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.3rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.3rem;
    }

    .locations-cards {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* Móviles */
@media (max-width: 768px) {
    .membership-hero {
        height: 45vh;
        min-height: 380px;
    }

    .membership-hero h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .membership-hero p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .membership-hero .hero-content {
        padding: 0 1.5rem;
    }

    .groups-section,
    .pricing-section,
    .locations-info-section,
    .info-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 1.5rem;
    }

    .section-intro {
        font-size: 0.95rem;
        margin: -0.5rem auto 2rem;
        padding: 0 1rem;
    }

    .school-levels-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .price-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .price-card.featured {
        transform: none;
    }

    .price-card.featured:hover {
        transform: translateY(-4px);
    }

    .price-header {
        padding: 1.8rem 1.3rem 1.3rem;
    }

    .price-card.featured .price-header {
        padding-top: 2.3rem;
    }

    .price-body {
        padding: 1.5rem 1.3rem;
    }

    .locations-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .location-info-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .info-card-general {
        max-width: 400px;
        margin: 0 auto;
    }

    .benefits-list-grid {
        grid-template-columns: 1fr;
    }

    .benefits-section {
        padding: 2rem 1.3rem;
    }

    .cta-section {
        padding: 3.5rem 0;
    }

    .cta-content h2 {
        font-size: 1.9rem;
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .membership-hero {
        height: 40vh;
        min-height: 340px;
    }

    .membership-hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .membership-hero p {
        font-size: 0.93rem;
        line-height: 1.4;
    }

    .membership-hero .hero-content {
        padding: 0 1rem;
    }

    .groups-section,
    .pricing-section,
    .locations-info-section,
    .info-section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.7rem;
        margin-bottom: 1.2rem;
    }

    .section-intro {
        font-size: 0.9rem;
        margin: -0.3rem auto 1.8rem;
    }

    .school-level-card {
        padding: 1.5rem 1.2rem;
    }

    .price-card {
        max-width: 100%;
    }

    .price-number {
        font-size: 2.6rem;
    }

    .price-header {
        padding: 1.7rem 1.2rem 1.2rem;
    }

    .price-card.featured .price-header {
        padding-top: 2.2rem;
    }

    .price-body {
        padding: 1.4rem 1.2rem;
    }

    .price-title {
        font-size: 1rem;
    }

    .price-features {
        margin-bottom: 1.2rem;
    }

    .price-features li {
        font-size: 0.9rem;
    }

    .location-info-card,
    .info-card-general {
        max-width: 100%;
        padding: 1.7rem 1.3rem;
    }

    .benefits-section {
        padding: 1.8rem 1.2rem;
    }

    .benefits-section h3 {
        font-size: 1.5rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.7rem;
    }

    .cta-content p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
}

/* ==================
   ANIMACIONES
   ================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.school-level-card,
.price-card,
.info-card-general {
    animation: fadeInUp 0.6s ease forwards;
}

.school-level-card:nth-child(2),
.price-card:nth-child(2),
.info-card-general:nth-child(2) {
    animation-delay: 0.1s;
}

.school-level-card:nth-child(3),
.price-card:nth-child(3),
.info-card-general:nth-child(3) {
    animation-delay: 0.2s;
}

.school-level-card:nth-child(4),
.price-card:nth-child(4),
.info-card-general:nth-child(4) {
    animation-delay: 0.3s;
}

.info-card-general:nth-child(5) {
    animation-delay: 0.4s;
}

.info-card-general:nth-child(6) {
    animation-delay: 0.5s;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Accesibilidad */
.location-tab:focus,
.btn:focus {
    outline: 2px solid var(--rojo);
    outline-offset: 2px;
}

/* Estados activos */
.location-tab:active,
.btn:active {
    transform: scale(0.98);
}
/* ===================================
   TARIFAS 2026/27 — bloques por sede
   Usa la paleta existente: --rojo, --rojo-oscuro, --gris, --blanco, --negro
   =================================== */

.tarifa-bloque {
    max-width: 1200px;
    margin: 0 auto 3.5rem;
}

.tarifa-bloque__head {
    text-align: center;
    margin-bottom: 2rem;
}

.tarifa-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--rojo);
    color: var(--blanco);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.tarifa-bloque__head h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--negro);
    margin: 0 0 0.4rem;
    letter-spacing: -0.5px;
}

.tarifa-bloque__head p {
    color: var(--gris-medio);
    font-size: 1rem;
    margin: 0;
}

/* ---------- Sede ---------- */
.tarifa-sede {
    background: var(--blanco);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.tarifa-sede__nombre {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--negro);
    margin: 0 0 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--rojo);
}

.tarifa-sede__nombre i {
    color: var(--rojo);
}

.tarifa-sede__nombre small {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--gris-medio);
}

/* ---------- Tabla ---------- */
.tarifa-tabla-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tarifa-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 620px;
}

.tarifa-tabla thead th {
    background: var(--negro);
    color: var(--blanco);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.75rem 0.85rem;
    text-align: left;
    white-space: nowrap;
}

.tarifa-tabla thead th.is-total {
    background: var(--rojo);
}

.tarifa-tabla thead th:first-child {
    border-radius: 6px 0 0 0;
}

.tarifa-tabla thead th:last-child {
    border-radius: 0 6px 0 0;
}

.tarifa-tabla tbody td {
    padding: 0.85rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    color: var(--negro);
    line-height: 1.35;
}

.tarifa-tabla tbody tr:last-child td {
    border-bottom: none;
}

.tarifa-tabla tbody tr:nth-child(even) {
    background: #fafafa;
}

.tarifa-tabla tbody tr:hover {
    background: rgba(230, 57, 70, 0.04);
}

.tarifa-tabla td.is-total {
    background: rgba(230, 57, 70, 0.06);
    color: var(--rojo-oscuro);
    white-space: nowrap;
}

.tarifa-tabla td.is-total strong {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.tarifa-mes {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gris-medio);
    margin-left: 0.15rem;
}

.tarifa-tabla td small {
    display: inline;
    font-size: 0.72rem;
    color: var(--gris-medio);
}

.tarifa-alt {
    font-size: 0.75rem;
    color: var(--gris-medio);
    font-weight: 500;
}

/* Tabla → tarjetas en móvil */
@media (max-width: 720px) {
    .tarifa-tabla {
        min-width: 0;
    }

    .tarifa-tabla thead {
        display: none;
    }

    .tarifa-tabla,
    .tarifa-tabla tbody,
    .tarifa-tabla tr,
    .tarifa-tabla td {
        display: block;
        width: 100%;
    }

    .tarifa-tabla tbody tr {
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        margin-bottom: 0.85rem;
        overflow: hidden;
        background: var(--blanco);
    }

    .tarifa-tabla tbody tr:nth-child(even) {
        background: var(--blanco);
    }

    .tarifa-tabla tbody td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 1rem;
        text-align: right;
        padding: 0.6rem 0.9rem;
        border-bottom: 1px solid #f2f2f2;
    }

    .tarifa-tabla tbody td::before {
        content: attr(data-label);
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: var(--gris-medio);
        text-align: left;
        flex-shrink: 0;
    }

    .tarifa-tabla tbody td.is-total {
        background: rgba(230, 57, 70, 0.08);
        border-bottom: none;
    }

    .tarifa-tabla tbody td.is-total::before {
        color: var(--rojo-oscuro);
    }
}

/* ---------- Matrícula / instalaciones ---------- */
.tarifa-matricula {
    background: var(--blanco);
    border: 1px solid #e8e8e8;
    border-left: 4px solid var(--rojo);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.25rem;
}

.tarifa-matricula h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--negro);
    margin: 0 0 1.1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tarifa-matricula h4 i {
    color: var(--rojo);
}

.tarifa-matricula h4 small {
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--gris-medio);
}

.tarifa-matricula__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 720px) {
    .tarifa-matricula__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tarifa-mat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: var(--gris);
    border-radius: 8px;
    padding: 0.9rem 1rem;
}

.tarifa-mat-item__cat {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--negro);
    line-height: 1.3;
}

.tarifa-mat-item__edad {
    font-size: 0.76rem;
    color: var(--gris-medio);
}

.tarifa-mat-item__precio {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--rojo);
    margin-top: 0.25rem;
    letter-spacing: -0.5px;
}

.tarifa-nota {
    margin: 1.1rem 0 0;
    font-size: 0.85rem;
    color: var(--gris-medio);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.tarifa-nota i {
    color: var(--rojo);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.tarifa-nota strong {
    color: var(--negro);
}

/* ---------- Chips de ventajas ---------- */
.tarifa-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tarifa-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--blanco);
    border: 1px solid #e8e8e8;
    color: var(--negro);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tarifa-chip i {
    color: var(--rojo);
    font-size: 0.85rem;
}

/* El bloque de adultos reutiliza .pricing-grid, sin margen inferior extra */
.tarifa-bloque .pricing-grid {
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .tarifa-sede,
    .tarifa-matricula {
        padding: 1.1rem;
    }

    .tarifa-bloque__head h3 {
        font-size: 1.45rem;
    }
}
