@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* =============================================
   ECOS Escuela – Estilos
   Font: Plus Jakarta Sans | #262b6f azul | #febc00 amarillo
   ============================================= */

/* ══════════════════════════════
   MODAL LOGIN
══════════════════════════════ */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,15,40,0.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.login-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.login-modal {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    width: 100%;
    max-width: 860px;
    min-height: 520px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34,1.3,0.64,1), opacity 0.3s;
    position: relative;
}

.login-overlay.open .login-modal {
    transform: translateY(0) scale(1);
}

/* Botón cerrar */
.login-close {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s, transform 0.2s;
}
.login-close:hover { background: #f0f0f0; transform: rotate(90deg); }
.login-close svg { width: 16px; height: 16px; stroke: #444; }

/* Panel izquierdo — branding */
.login-brand {
    background: linear-gradient(145deg, #262b6f 0%, #1a1e55 100%);
    color: #fff;
    width: 300px;
    flex-shrink: 0;
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.login-brand::before {
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(254,188,0,0.10);
    bottom: -80px; right: -80px;
}

.login-brand::after {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -60px; left: -40px;
}

.login-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    object-position: left;
    position: relative;
    z-index: 1;
}

.login-brand h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0;
    position: relative;
    z-index: 1;
}

.login-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    margin: 0;
    position: relative;
    z-index: 1;
}

.login-brand-stats {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

.login-brand-stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.login-brand-stats strong {
    font-size: 1.4rem;
    font-weight: 900;
    color: #febc00;
}

.login-brand-stats span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Panel derecho — formulario */
.login-form-panel {
    flex: 1;
    padding: 40px 44px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Tabs */
.login-tabs {
    display: flex;
    gap: 0;
    background: #f3f4f8;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 28px;
}

.login-tab {
    flex: 1;
    padding: 9px;
    border: none;
    background: none;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    color: #888;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.login-tab.active {
    background: #fff;
    color: #262b6f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Formulario */
.login-form {
    display: none;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.login-form.active { display: flex; }

.login-form h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1a1e55;
    margin: 0 0 4px;
}

/* Grupos de campo */
.lf-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lf-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #444;
}

.lf-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lf-input-wrap > svg:first-child {
    position: absolute;
    left: 12px;
    width: 16px; height: 16px;
    stroke: #aaa;
    pointer-events: none;
    flex-shrink: 0;
}

.lf-input-wrap input {
    width: 100%;
    padding: 11px 40px 11px 38px;
    border: 1.5px solid #e2e4ed;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    color: #222;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    background: #fafafa;
}

.lf-input-wrap input:focus {
    border-color: #262b6f;
    box-shadow: 0 0 0 3px rgba(38,43,111,0.10);
    background: #fff;
}

.lf-input-wrap input.error { border-color: #e53e3e; }
.lf-input-wrap input.success { border-color: #38a169; }

/* Botón ojo */
.lf-eye {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}
.lf-eye svg { width: 16px; height: 16px; stroke: #aaa; transition: stroke 0.2s; }
.lf-eye:hover svg { stroke: #262b6f; }

/* Error */
.lf-error {
    font-size: 0.75rem;
    color: #e53e3e;
    display: none;
}

.lf-group.has-error .lf-error { display: block; }
.lf-group.has-error input { border-color: #e53e3e; }

/* Fila recuérdame + olvidé */
.lf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -4px;
}

.lf-check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: #555;
    cursor: pointer;
}

.lf-check input[type="checkbox"] {
    width: 15px; height: 15px;
    accent-color: #262b6f;
    cursor: pointer;
}

.lf-forgot {
    font-size: 0.82rem;
    color: #262b6f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.lf-forgot:hover { color: #febc00; }

/* Botón submit */
.lf-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #262b6f, #3b42a3);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 14px rgba(38,43,111,0.30);
    margin-top: 4px;
}
.lf-submit svg { width: 16px; height: 16px; }
.lf-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(38,43,111,0.40);
    background: linear-gradient(135deg, #1a1e55, #262b6f);
}
.lf-submit:active { transform: translateY(0); }

/* Divider */
.lf-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bbb;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.lf-divider::before,
.lf-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7f0;
}

/* Social buttons */
.lf-socials {
    display: flex;
    gap: 10px;
}

.lf-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1.5px solid #e2e4ed;
    border-radius: 10px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.lf-social svg { width: 18px; height: 18px; }
.lf-social:hover { border-color: #262b6f; background: #f7f8ff; transform: translateY(-1px); }

/* Dos columnas en signup */
.lf-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Barra de fortaleza de contraseña */
.lf-strength {
    height: 4px;
    background: #e5e7f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}

#strengthFill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s, background 0.3s;
}

.lf-terms a { color: #262b6f; font-weight: 700; text-decoration: none; }
.lf-terms a:hover { color: #febc00; }

/* Responsive */
@media (max-width: 680px) {
    .login-brand { display: none; }
    .login-form-panel { padding: 32px 24px; }
    .lf-row-2 { grid-template-columns: 1fr; }
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    overflow-x: hidden;
}


/* ══════════════════════════════
   BOTONES FLOTANTES (WhatsApp + Mail)
══════════════════════════════ */
.whatsapp-container {
    position: fixed;
    right: 20px;
    z-index: 1000;
    min-width: 140px;
    max-width: 140px;
    max-height: 32px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

#containerwpe { bottom: 20px; }
#containerwpi { bottom: 65px; }

/* Ocultar botones flotantes cuando el menú móvil está abierto */
body.menu-open .whatsapp-container,
body.menu-open .fixed-btn {
    opacity: 0;
    pointer-events: none;
    transform: translateX(100px);
}

.whatsapp-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #25D366;
    padding: 5px;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    margin-left: 5px;
    margin-right: 5px;
}

.whatsapp-button img { width: 30px; height: 30px; margin-left: 5px; border-radius: 50%; }
.whatsapp-button span { font-size: 11.5px; margin-right: 5px; }
.whatsapp-container:hover { transform: scale(1.05); }

/* Botón Mail */
.fixed-btn {
    position: fixed;
    bottom: 102px;
    min-width: 130px;
    max-width: 130px;
    max-height: 40px;
    right: 25px;
    background-color: #262b6f;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    font-size: 11.5px;
    transition: width 0.3s ease-in-out;
}

.fixed-btn .icon { width: 30px; height: 30px; margin-right: 10px; }

.fixed-btn:hover {
    width: 200px;
    background-color: #3b45a3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

/* ══════════════════════════════
   FORMULARIO DE CONTACTO FLOTANTE
══════════════════════════════ */
#contactForm {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255,255,255,0.9);
    width: 300px;
    height: 400px;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1001;
    display: none;
}

#contactForm .form-header {
    position: relative;
    width: 100%;
    background-color: #004c8c;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 10px;
}

#closeForm {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

form label { font-weight: bold; margin-bottom: 5px; display: block; font-size: 14px; margin-top: 6px; }

#contactForm input,
#contactForm select,
#contactForm textarea {
    width: calc(100% - 20px);
    padding: 7px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form textarea { height: 70px; resize: vertical; margin-bottom: 10px; }

#contactForm button[type="submit"] {
    background-color: #262b6f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 25px;
    height: 37px;
    width: 100%;
    font-size: 17px;
    font-weight: bold;
}


/* ══════════════════════════════
   MODAL
══════════════════════════════ */
.modal {
    z-index: 3;
    display: none;
    padding-top: 100px;
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    margin: auto;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0;
    width: 600px;
}


/* ══════════════════════════════
   PÁGINA DE CURSOS
══════════════════════════════ */

/* Hero Courses */
.courses-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    background: url('https://www.ecosescuela.com/images/index/oferta.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 100px;
}

.courses-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(38,43,111,0.85) 0%, rgba(26,30,85,0.75) 100%);
}

.courses-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.courses-badge {
    display: inline-block;
    background: #febc00;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.courses-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin: 0 0 20px;
    line-height: 1.1;
}

.courses-hero-title em {
    font-style: normal;
    color: #febc00;
}

.courses-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.6;
}

/* Features Bar */
.courses-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 30px 20px;
    background: #262b6f;
    color: #fff;
}

.courses-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.courses-feature svg {
    width: 24px;
    height: 24px;
    stroke: #febc00;
}

/* Courses Sections */
.courses-section {
    padding: 80px 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.courses-section-alt {
    background: #f8f9fc;
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.courses-section-alt > * {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.courses-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(254,188,0,0.15);
    color: #febc00;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a1e55;
    margin: 0 0 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Course Cards Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.course-card.featured {
    border: 3px solid #febc00;
}

.course-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #febc00;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.course-card-header {
    background: linear-gradient(135deg, #262b6f 0%, #1a1e55 100%);
    color: #fff;
    padding: 25px;
    text-align: center;
}

.course-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.course-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 5px;
}

.course-hours {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.course-card-body {
    padding: 25px;
    flex: 1;
}

.course-price {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.price-from {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: #262b6f;
}

.price-period {
    font-size: 1rem;
    color: #888;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #555;
}

.course-features svg {
    width: 18px;
    height: 18px;
    stroke: #22c55e;
    flex-shrink: 0;
}

.course-pricing-table {
    background: #f8f9fc;
    border-radius: 12px;
    overflow: hidden;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    font-size: 0.9rem;
}

.pricing-row:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.pricing-row.highlight {
    background: #262b6f;
    color: #fff;
}

.pricing-row.highlight strong {
    color: #febc00;
}

.pricing-row strong {
    color: #262b6f;
    font-weight: 700;
}

.course-btn {
    display: block;
    text-align: center;
    background: #febc00;
    color: #fff;
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease;
}

.course-btn:hover {
    background: #e6a800;
    color: #fff;
}

/* Private Lessons */
.private-lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.private-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.private-card:hover {
    transform: translateY(-5px);
}

.private-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #262b6f 0%, #1a1e55 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.private-icon svg {
    width: 32px;
    height: 32px;
    stroke: #febc00;
}

.private-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1e55;
    margin: 0 0 10px;
}

.private-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 25px;
}

.private-prices {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 25px;
}

.private-price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    font-size: 0.9rem;
}

.private-price-row:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.private-price-row strong {
    color: #262b6f;
    font-weight: 700;
}

.private-btn {
    display: inline-block;
    background: #262b6f;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.private-btn:hover {
    background: #1a1e55;
    transform: translateY(-2px);
    color: #fff;
}

/* Combined Courses */
.combined-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Combined cards v2 — con imagen */
.combined-card-v2 {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.combined-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}

.combined-card-v2.featured {
    outline: 3px solid #febc00;
    outline-offset: -3px;
}

.combined-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,40,0.97) 0%, rgba(10,10,40,0.70) 55%, rgba(10,10,40,0.25) 100%);
}

.combined-card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    color: #fff;
}

.combined-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.combined-tag.gold {
    background: rgba(254,188,0,0.25);
    border-color: #febc00;
    color: #febc00;
}

.combined-card-content h3 {
    font-size: 1.9rem;
    font-weight: 900;
    margin: 0 0 4px;
    line-height: 1;
}

.combined-card-content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 16px;
}

.combined-prices-v2 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.combined-prices-v2 div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 6px;
}

.combined-prices-v2 div.best {
    color: #febc00;
    border-bottom: none;
}

.combined-prices-v2 strong {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.combined-prices-v2 div.best strong {
    color: #febc00;
}

.combined-btn {
    display: block;
    text-align: center;
    background: #febc00;
    color: #1a1e55;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 11px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.combined-btn:hover {
    background: #fff;
    color: #1a1e55;
}

@media (max-width: 900px) {
    .combined-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .combined-grid { grid-template-columns: 1fr; }
    .combined-card-v2 { min-height: 340px; }
}

/* ══════════════════════════════
   DELE SECTION — rediseño
══════════════════════════════ */
.dele-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Columna imagen */
.dele-img-col {
    position: relative;
    background: url('https://www.ecosescuela.com/images/index/SpanishStudent.webp') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.dele-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(38,43,111,0.80) 0%, rgba(10,10,40,0.60) 100%);
}

.dele-img-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(254,188,0,0.15);
    border: 1px solid #febc00;
    color: #febc00;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 50px;
    width: fit-content;
}

.dele-img-badge svg {
    width: 18px;
    height: 18px;
    stroke: #febc00;
    flex-shrink: 0;
}

.dele-img-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
}

.dele-img-stats div {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.dele-img-stats strong {
    font-size: 2rem;
    font-weight: 900;
    color: #febc00;
    line-height: 1;
}

.dele-img-stats span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Columna info */
.dele-info-col {
    background: #f8f9fc;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dele-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 900;
    color: #1a1e55;
    margin: 14px 0 16px;
    line-height: 1.1;
}

.dele-title em {
    font-style: normal;
    color: #febc00;
}

.dele-desc {
    color: #666;
    line-height: 1.75;
    margin: 0 0 28px;
    font-size: 0.95rem;
}

.dele-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dele-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #444;
    font-weight: 500;
}

.dele-features svg {
    width: 18px;
    height: 18px;
    stroke: #22c55e;
    flex-shrink: 0;
}

/* Precios con barra */
.dele-pricing-v2 {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.dele-price-v2 {
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 2px solid transparent;
}

.dele-price-v2.best {
    border-color: #febc00;
}

.dele-price-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dele-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dele-label em {
    font-style: normal;
    font-size: 0.7rem;
    background: #febc00;
    color: #1a1e55;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}

.dele-amount-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.dele-amount-wrap strong {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a1e55;
}

.dele-price-v2.best .dele-amount-wrap strong {
    color: #262b6f;
}

.dele-amount-wrap span {
    font-size: 0.8rem;
    color: #888;
}

.dele-price-bar {
    height: 5px;
    background: linear-gradient(90deg, #262b6f, #febc00);
    border-radius: 10px;
    transition: width 0.6s ease;
}

.dele-price-v2.best .dele-price-bar {
    background: linear-gradient(90deg, #febc00, #f59e0b);
}

/* CTA */
.dele-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #262b6f;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dele-cta-btn:hover {
    background: #febc00;
    color: #1a1e55;
    transform: translateX(4px);
}

.dele-cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.dele-cta-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .dele-section { grid-template-columns: 1fr; }
    .dele-img-col  { min-height: 300px; }
    .dele-info-col { padding: 40px 30px; }
}

/* Children Courses */
.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.children-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.children-card:hover {
    transform: translateY(-5px);
}

.children-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #febc00 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.children-icon svg {
    width: 36px;
    height: 36px;
    stroke: #fff;
}

.children-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1e55;
    margin: 0 0 5px;
}

.children-hours {
    font-size: 0.9rem;
    color: #888;
    margin: 0 0 20px;
}

.children-prices {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 5px;
}

.children-prices div {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    font-size: 0.9rem;
}

.children-prices div:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.children-prices strong {
    color: #262b6f;
    font-weight: 700;
}

/* Dancing Classes */
.dancing-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.dancing-private,
.dancing-group {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.dancing-private h3,
.dancing-group h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1e55;
    margin: 0 0 10px;
}

.dancing-group p {
    font-size: 0.9rem;
    color: #888;
    margin: 0 0 20px;
}

.dancing-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.dancing-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 0.9rem;
}

.dancing-row:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.dancing-row.header {
    background: #262b6f;
    color: #fff;
    font-weight: 600;
}

.dancing-row strong {
    color: #262b6f;
    font-weight: 700;
}

/* Additional Services */
.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.additional-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.additional-card:hover {
    transform: translateY(-5px);
}

.additional-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.additional-icon svg {
    width: 28px;
    height: 28px;
    stroke: #262b6f;
}

.additional-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1e55;
    margin: 0 0 8px;
}

.additional-price {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: #febc00;
    margin-bottom: 5px;
}

.additional-card span {
    font-size: 0.8rem;
    color: #888;
}

/* CTA Section */
.courses-cta {
    background: linear-gradient(135deg, #262b6f 0%, #1a1e55 100%);
    padding: 80px 40px;
    text-align: center;
    color: #fff;
}

.courses-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.courses-cta h2 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 15px;
}

.courses-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 30px;
}

.courses-cta-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-block;
    background: #febc00;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    background: #e6a800;
    transform: translateY(-3px);
    color: #fff;
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    color: #fff;
}

.cta-btn-secondary svg {
    width: 20px;
    height: 20px;
}

/* Responsive Courses Page */
@media (max-width: 1024px) {
    .dele-container {
        grid-template-columns: 1fr;
    }
    .dele-pricing {
        justify-content: center;
    }
    .dancing-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .courses-hero {
        height: 40vh;
        min-height: 350px;
    }
    .courses-features {
        gap: 20px;
    }
    .courses-feature {
        flex: 0 0 45%;
        justify-content: center;
    }
    .courses-section {
        padding: 50px 20px;
    }
    .courses-section-alt {
        padding-left: 20px;
        padding-right: 20px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dele-pricing {
        flex-direction: column;
    }
    .courses-cta {
        padding: 50px 20px;
    }
    .courses-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .courses-features {
        flex-direction: column;
        gap: 15px;
    }
    .courses-feature {
        flex: none;
    }
    .course-card-header {
        padding: 20px;
    }
    .course-name {
        font-size: 1.2rem;
    }
    .price-amount {
        font-size: 2rem;
    }
    .private-card,
    .children-card {
        padding: 25px;
    }
}

/* ══════════════════════════════
   COURSE CARD IMAGE
══════════════════════════════ */
.course-card-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 17px 17px 0 0;
    flex-shrink: 0;
}

.course-card {
    display: flex;
    flex-direction: column;
}

/* ══════════════════════════════
   IMAGE STRIP
══════════════════════════════ */
.courses-img-strip {
    position: relative;
    height: 320px;
    background: url('https://www.ecosescuela.com/images/index/studentsandbeach.JPG') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.courses-img-strip-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(38,43,111,0.75) 0%, rgba(254,188,0,0.45) 100%);
}

.courses-img-strip-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.courses-img-strip-content span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #febc00;
    margin-bottom: 12px;
}

.courses-img-strip-content h3 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0;
}

/* ══════════════════════════════
   CHILDREN FEATURED PHOTOS
══════════════════════════════ */
.children-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 48px;
    border-radius: 20px;
    overflow: hidden;
}

.children-featured img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.children-featured img:first-child {
    border-radius: 20px 0 0 20px;
}

.children-featured img:last-child {
    border-radius: 0 20px 20px 0;
}

.children-featured img:hover {
    transform: scale(1.03);
}

/* ══════════════════════════════
   DANCING FEATURED PHOTO
══════════════════════════════ */
.dancing-featured {
    max-width: 1000px;
    margin: 0 auto 48px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.dancing-featured img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.dancing-featured img:hover {
    transform: scale(1.02);
}

/* ══════════════════════════════
   SPANISH + DANCE SECTION
══════════════════════════════ */
.dance-combo-section {
    background: #0d0f2e;
    padding: 0 0 70px;
}

.dance-combo-hero {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
    overflow: hidden;
}

.dance-combo-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254,188,0,0.35) 0%, rgba(13,15,46,0.88) 100%);
}

.dance-combo-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
}

.dance-combo-hero-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    margin: 14px 0 10px;
    line-height: 1;
}

.dance-combo-hero-content h2 em {
    font-style: normal;
    color: #febc00;
}

.dance-combo-hero-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    margin: 0 auto 24px;
}

.dance-combo-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.dance-combo-icons div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.dance-combo-icons svg {
    width: 32px;
    height: 32px;
    stroke: #febc00;
}

.dance-plus {
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: #febc00 !important;
    flex-direction: row !important;
    letter-spacing: 0 !important;
}

.dance-combo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 900px) {
    .dance-combo-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
    .dance-combo-hero { background-attachment: scroll; }
}
@media (max-width: 500px) {
    .dance-combo-grid { grid-template-columns: 1fr; }
    .dance-combo-hero { height: 280px; }
}

/* ══════════════════════════════
   CONTACT PAGE — split layout
══════════════════════════════ */
.contact-page body { overflow-x: hidden; }

.cp-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* ── Panel izquierdo ── */
.cp-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-height: 100vh;
}

.cp-left-bg {
    position: absolute;
    inset: 0;
    background: url('https://www.ecosescuela.com/images/index/acerca_de.jpg') center/cover no-repeat;
}

.cp-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(18,20,60,0.93) 0%, rgba(38,43,111,0.88) 60%, rgba(18,20,60,0.96) 100%);
}

.cp-left-content {
    position: relative;
    z-index: 2;
    padding: 120px 50px 60px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    height: 100%;
    justify-content: center;
}

.cp-logo {
    width: 140px;
}

.cp-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #febc00;
    margin-bottom: 10px;
}

.cp-left-headline h1 {
    font-size: clamp(1.9rem, 2.8vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 14px;
}

.cp-left-headline h1 em {
    font-style: normal;
    color: #febc00;
}

.cp-left-headline p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.70);
    line-height: 1.75;
    max-width: 380px;
    margin: 0;
}

/* Info list */
.cp-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cp-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cp-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(254,188,0,0.12);
    border: 1px solid rgba(254,188,0,0.30);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cp-info-icon svg {
    width: 18px;
    height: 18px;
    stroke: #febc00;
}

.cp-info-item div strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 3px;
}

.cp-info-item div span {
    font-size: 0.88rem;
    color: #fff;
    line-height: 1.5;
}

/* WhatsApp */
.cp-wa-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(37,211,102,0.12);
    border: 1px solid rgba(37,211,102,0.35);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.cp-wa-btn:hover {
    background: rgba(37,211,102,0.25);
    border-color: #25d366;
}

.cp-wa-btn svg {
    width: 18px;
    height: 18px;
    fill: #25d366;
    flex-shrink: 0;
}

/* Redes sociales */
.cp-socials {
    display: flex;
    gap: 10px;
}

.cp-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: background 0.2s, color 0.2s;
}

.cp-socials a:hover {
    background: #febc00;
    color: #1a1e55;
    border-color: #febc00;
}

.cp-socials svg {
    width: 16px;
    height: 16px;
}

/* ── Panel derecho (formulario) ── */
.cp-right {
    background: #f8f9fc;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 50px 60px;
    overflow-y: auto;
}

.cp-form-wrap {
    width: 100%;
    max-width: 520px;
}

.cp-form-header {
    margin-bottom: 32px;
}

.cp-form-header h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.4rem);
    font-weight: 900;
    color: #1a1e55;
    margin: 12px 0 10px;
    line-height: 1.15;
}

.cp-form-header h2 em {
    font-style: normal;
    color: #febc00;
}

.cp-form-header p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* Form */
.cp-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.cp-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cp-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cp-field input,
.cp-field select,
.cp-field textarea {
    padding: 13px 16px;
    border: 2px solid #e4e6ed;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
    border-color: #262b6f;
    box-shadow: 0 0 0 4px rgba(38,43,111,0.08);
}

.cp-field textarea {
    resize: vertical;
    min-height: 100px;
}

.cp-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: #262b6f;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.cp-submit:hover {
    background: #febc00;
    color: #1a1e55;
    transform: translateY(-2px);
}

.cp-submit svg { width: 18px; height: 18px; }

.cp-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0fdf4;
    border: 2px solid #22c55e;
    color: #16a34a;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.cp-success svg { width: 20px; height: 20px; stroke: #22c55e; flex-shrink: 0; }

/* Mapa */
.cp-map {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

.cp-map iframe {
    width: 100%;
    height: 260px;
    display: block;
    border: none;
}

@media (max-width: 900px) {
    .cp-wrap              { grid-template-columns: 1fr; }
    .cp-left              { min-height: auto; }
    .cp-left-content      { padding: 100px 30px 50px; }
    .cp-right             { padding: 50px 30px 60px; }
}
@media (max-width: 500px) {
    .cp-row-2             { grid-template-columns: 1fr; }
    .cp-left-content      { padding: 90px 20px 40px; }
    .cp-right             { padding: 40px 20px 50px; }
}

/* ══════════════════════════════
   ABOUT PAGE
══════════════════════════════ */

/* Hero */
.about-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://www.ecosescuela.com/images/index/Main3.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(18,20,60,0.85) 0%, rgba(38,43,111,0.70) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.about-hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    margin: 16px 0 16px;
    line-height: 1.05;
}

.about-hero-content h1 em {
    font-style: normal;
    color: #febc00;
}

.about-hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* Stats bar */
.about-stats-bar {
    background: #1a1e55;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    padding: 30px 40px;
}

.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.about-stat strong {
    font-size: 2rem;
    font-weight: 900;
    color: #febc00;
    line-height: 1;
    display: block;
    text-align: center;
}

.about-stat span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* Split sections */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px;
    gap: 70px;
    align-items: center;
}

.about-split--reverse {
    direction: rtl;
}

.about-split--reverse > * {
    direction: ltr;
}

.about-split-img {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-split-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-split-img:hover img {
    transform: scale(1.03);
}

.about-split-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.about-split-badge img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.about-split-badge span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1e55;
}

.about-split-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #1a1e55;
    margin: 14px 0 18px;
    line-height: 1.15;
}

.about-split-content h2 em {
    font-style: normal;
    color: #febc00;
}

.about-split-content p {
    color: #666;
    line-height: 1.8;
    margin: 0 0 16px;
    font-size: 0.95rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: #444;
    font-weight: 500;
}

.about-list svg {
    width: 18px;
    height: 18px;
    stroke: #22c55e;
    flex-shrink: 0;
}

/* City tags */
.about-city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.about-city-tags span {
    background: #f0f2ff;
    color: #262b6f;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid #dde0f5;
}

/* Image strip parallax */
.about-img-strip {
    position: relative;
    height: 340px;
    background: url('https://www.ecosescuela.com/images/index/studentsandbeach.JPG') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.about-img-strip-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18,20,60,0.72);
}

.about-img-strip-text {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
}

.about-img-strip-text span {
    display: block;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    font-weight: 800;
    font-style: italic;
    margin-bottom: 12px;
    color: #febc00;
}

.about-img-strip-text p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 1px;
    margin: 0;
}

/* Method section */
.about-method {
    background: #f8f9fc;
    padding: 90px 60px;
}

.about-method-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.about-method-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #1a1e55;
    margin: 14px 0 12px;
}

.about-method-header h2 em {
    font-style: normal;
    color: #febc00;
}

.about-method-header p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.about-method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-method-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

.about-method-card:hover {
    border-color: #febc00;
    transform: translateY(-5px);
}

.about-method-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #262b6f, #1a1e55);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-method-icon svg {
    width: 24px;
    height: 24px;
    stroke: #febc00;
}

.about-method-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1e55;
    margin: 0 0 10px;
}

.about-method-card p {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

/* Photo collage */
.about-collage {
    padding: 80px 60px;
    background: #fff;
}

.about-collage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 240px 240px;
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-collage-item {
    border-radius: 18px;
    overflow: hidden;
}

.about-collage-item.tall {
    grid-row: span 2;
}

.about-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-collage-item:hover img {
    transform: scale(1.05);
}

/* Partners */
.about-partners {
    background: #f8f9fc;
    padding: 80px 60px;
}

.about-partners-header {
    text-align: center;
    max-width: 550px;
    margin: 0 auto 50px;
}

.about-partners-header h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    font-weight: 900;
    color: #1a1e55;
    margin: 12px 0 10px;
}

.about-partners-header h2 em {
    font-style: normal;
    color: #febc00;
}

.about-partners-header p {
    color: #777;
    font-size: 0.9rem;
}

.about-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.about-partner-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

.about-partner-card:hover {
    border-color: #262b6f;
    transform: translateY(-4px);
}

.about-partner-card img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.about-partner-card:hover img {
    filter: grayscale(0%);
}

.about-partner-card span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #555;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA */
.about-cta {
    position: relative;
    background: url('https://www.ecosescuela.com/images/index/spanishimmersion.webp') center/cover no-repeat;
    padding: 100px 40px;
    text-align: center;
    color: #fff;
}

.about-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18,20,60,0.92) 0%, rgba(38,43,111,0.85) 100%);
}

.about-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.about-cta-content h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    margin: 16px 0 14px;
    line-height: 1.15;
}

.about-cta-content h2 em {
    font-style: normal;
    color: #febc00;
}

.about-cta-content p {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 34px;
}

.about-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.about-cta-primary {
    background: #febc00;
    color: #1a1e55;
    font-weight: 800;
    padding: 15px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
}

.about-cta-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}

.about-cta-secondary {
    background: transparent;
    color: #fff;
    font-weight: 700;
    padding: 15px 34px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
}

.about-cta-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-split        { padding: 60px 40px; gap: 50px; }
    .about-method-grid  { grid-template-columns: repeat(2, 1fr); }
    .about-collage-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .about-collage-item.tall { grid-row: span 1; }
}

@media (max-width: 768px) {
    .about-split              { grid-template-columns: 1fr; padding: 50px 24px; direction: ltr; }
    .about-split--reverse     { direction: ltr; }
    .about-split-img img      { height: 300px; }
    .about-split-badge        { padding: 8px 12px; gap: 7px; bottom: 14px; left: 14px; }
    .about-split-badge img    { width: 28px; height: 28px; }
    .about-split-badge span   { font-size: 0.72rem; }
    .about-stats-bar          { display: flex; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 0; padding: 24px 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .about-stats-bar::-webkit-scrollbar { display: none; }
    .about-stat               { flex: 0 0 auto; min-width: 130px; padding: 0 20px; }
    .about-stat-divider       { display: none; }
    .about-method             { padding: 60px 24px; }
    .about-method-grid        { grid-template-columns: 1fr; }
    .about-collage            { padding: 50px 24px; }
    .about-collage-grid       { grid-template-columns: 1fr 1fr; }
    .about-partners           { padding: 60px 24px; }
    .about-partners-grid      { grid-template-columns: repeat(2, 1fr); }
    .about-img-strip          { background-attachment: scroll; }
}

@media (max-width: 500px) {
    .about-collage-grid       { grid-template-columns: 1fr; }
    .about-partners-grid      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .courses-grid { grid-template-columns: 1fr; }
    .course-card-img { height: 140px; }
    .courses-img-strip { height: 220px; background-attachment: scroll; }
    .children-featured { grid-template-columns: 1fr; }
    .children-featured img { height: 200px; border-radius: 0; }
    .children-featured img:first-child { border-radius: 20px 20px 0 0; }
    .children-featured img:last-child  { border-radius: 0 0 20px 20px; }
    .dancing-featured img { height: 200px; }
}

/* ══════════════════════════════
   BOTÓN FLOTANTE CALCULADORA
══════════════════════════════ */
.fab-calc {
    position: fixed;
    bottom: 158px;
    right: 20px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #febc00;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(254,188,0,0.45), 0 2px 8px rgba(0,0,0,0.12);
    transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.25s;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.fab-calc::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    border: 2px solid rgba(254,188,0,0.4);
    animation: fabRing 2.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes fabRing {
    0%, 100% { transform: scale(1);   opacity: 0.7; }
    50%       { transform: scale(1.08); opacity: 0;   }
}
.fab-calc:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 48px rgba(254,188,0,0.55), 0 4px 16px rgba(0,0,0,0.14);
    color: #0f172a;
}
.fab-calc:active { transform: translateY(-1px) scale(1.01); }
.fab-calc svg {
    width: 18px; height: 18px;
    stroke: #0f172a; fill: none;
    stroke-width: 2; stroke-linecap: round;
    flex-shrink: 0;
}
/* Ocultar texto en móvil pequeño, mostrar solo ícono */
@media (max-width: 480px) {
    .fab-calc { padding: 14px; border-radius: 50%; bottom: 158px; right: 16px; }
    .fab-calc .fab-calc-text { display: none; }
}

.nav-logo img,
.logo-top,
.logo-scrolled{
    max-height:52px!important;
    width:auto!important;
    object-fit:contain!important;
}

.nav-login svg,
.nav-calc svg,
.footer-socials svg,
.footer-contact svg{
    width:20px!important;
    height:20px!important;
}

.footer-logo{
    max-width:180px!important;
    height:auto!important;
}