/* ==========================================================================
   CAMPAMENTOS Y EXCURSIONES ESCOLARES - VOLCANIC PARK
   Diseño Moderno, Dinámico y Educativo de Alto Impacto
   Tipografías Oficiales: 'Rumikon' (encabezados) y 'Barlow' (cuerpo y datos)
   Degradados: Azul Oficial + Verde Naturaleza/Educativo + Púrpura Botón Cotización
   ========================================================================== */

:root {
    /* Paleta Azul Oficial */
    --esc-blue-primary: #023675;
    --esc-blue-light: #0e58ad;
    --esc-blue-dark: #011d3d;
    --esc-blue-gradient: linear-gradient(180deg, #0e58ad 0%, #023675 100%);
    --esc-blue-gradient-h: linear-gradient(135deg, #0e58ad 0%, #023675 100%);

    /* Paleta Verde Educativo / Naturaleza */
    --esc-green-primary: #16a34a;
    --esc-green-dark: #15803d;
    --esc-green-gradient: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
    --esc-green-gradient-h: linear-gradient(135deg, #16a34a 0%, #023675 100%);

    /* Paleta Púrpura Extraída del Botón de Cotización */
    --esc-purple-top: #10326B;
    --esc-purple-mid: #423C8C;
    --esc-purple-bot: #6A43A6;
    --esc-purple-gradient: linear-gradient(180deg, #10326B 0%, #423C8C 50%, #6A43A6 100%);
    --esc-purple-gradient-h: linear-gradient(135deg, #10326B 0%, #423C8C 50%, #6A43A6 100%);

    /* Colores Base */
    --esc-text-dark: #1e293b;
    --esc-text-muted: #64748b;
    --esc-border-light: #e2e8f0;
    --esc-shadow-sm: 0 2px 8px rgba(2, 54, 117, 0.06);
    --esc-shadow-md: 0 8px 24px rgba(2, 54, 117, 0.09);
    --esc-shadow-lg: 0 16px 40px rgba(2, 54, 117, 0.12);
    --esc-radius-sm: 12px;
    --esc-radius-md: 18px;
    --esc-radius-lg: 24px;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   ANIMACIONES ON-SCROLL (REVEAL AL BAJAR EN LA PÁGINA)
   ========================================================================== */
.esc-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.esc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.esc-delay-1 { transition-delay: 0.12s; }
.esc-delay-2 { transition-delay: 0.22s; }
.esc-delay-3 { transition-delay: 0.32s; }
.esc-delay-4 { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
    .esc-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   CLASES DE TIPOGRAFÍA Y DEGRADADOS DE TEXTO
   ========================================================================== */
.esc-gradient-blue {
    background: var(--esc-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.esc-gradient-green {
    background: var(--esc-green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.esc-gradient-purple {
    background: var(--esc-purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.esc-gradient-purple-h {
    background: var(--esc-purple-gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- BANNER PRINCIPAL RESPONSIVE (MEDIDAS EXACTAS DE HOSPEDAJE.PHP) --- */
.esc-banner {
    width: 100%;
    margin-top: 110px; /* Compensación para header fijo en desktop */
    aspect-ratio: 768 / 450;
    height: auto;
    position: relative;
    overflow: hidden;
    line-height: 0;
    background: #021a38;
}

@media (min-width: 768px) {
    .esc-banner {
        aspect-ratio: 1024 / 500;
        margin-top: 110px;
    }
}

@media (min-width: 1024px) {
    .esc-banner {
        aspect-ratio: 1920 / 700;
        margin-top: 110px;
    }
}

@media (max-width: 768px) {
    .esc-banner {
        margin-top: 92px; /* Compensación exacta para header fijo en móviles */
        aspect-ratio: 768 / 450;
    }
}

.esc-banner picture {
    width: 100%;
    height: 100%;
    display: block;
}

.esc-banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* --- BARRA DE NAVEGACIÓN RÁPIDA (STICKY PILL BAR) --- */
.esc-nav-wrapper {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(2, 54, 117, 0.08);
    position: sticky;
    top: 90px;
    z-index: 90;
    border-bottom: 1px solid rgba(2, 54, 117, 0.1);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.esc-nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.esc-nav-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.esc-nav-pill:hover {
    transform: translateY(-2px);
    border-color: #0e58ad;
    background: #f0f7ff;
    box-shadow: 0 6px 16px rgba(2, 54, 117, 0.1);
}

.esc-nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: rgba(2, 54, 117, 0.08);
    color: #023675;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.esc-nav-pill:hover .esc-nav-icon {
    background: #023675;
    color: #ffffff;
    transform: scale(1.05);
}

.esc-nav-pill.green-pill:hover {
    border-color: #16a34a;
    background: #f0fdf4;
}

.esc-nav-pill.green-pill .esc-nav-icon {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.esc-nav-pill.green-pill:hover .esc-nav-icon {
    background: var(--esc-green-gradient);
    color: #ffffff;
}

.esc-nav-pill.purple-pill:hover {
    border-color: #6A43A6;
    background: #faf5ff;
}

.esc-nav-pill.purple-pill .esc-nav-icon {
    background: rgba(106, 67, 166, 0.1);
    color: #6A43A6;
}

.esc-nav-pill.purple-pill:hover .esc-nav-icon {
    background: var(--esc-purple-gradient-h);
    color: #ffffff;
}

.esc-nav-text {
    display: flex;
    flex-direction: column;
}

.esc-nav-name {
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #023675;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.esc-nav-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
}

/* --- ESTRUCTURA GENERAL DE SECCIONES --- */
.esc-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.esc-section {
    padding: 80px 0;
    position: relative;
}

.esc-section-alt {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid rgba(2, 54, 117, 0.06);
    border-bottom: 1px solid rgba(2, 54, 117, 0.06);
}

.esc-section-green {
    background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
    border-top: 1px solid rgba(22, 163, 74, 0.1);
    border-bottom: 1px solid rgba(22, 163, 74, 0.1);
}

/* BADGES DE SECCIÓN */
.esc-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(14, 88, 173, 0.08);
    color: #0e58ad;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(14, 88, 173, 0.18);
}

.esc-pill-badge.green {
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
    border-color: rgba(22, 163, 74, 0.25);
}

.esc-pill-badge.purple {
    background: rgba(106, 67, 166, 0.08);
    color: #6A43A6;
    border-color: rgba(106, 67, 166, 0.25);
}

/* --- SECCIÓN 1: PROPUESTA EDUCATIVA & NIVELES --- */
.esc-intro-wrapper {
    text-align: center;
    max-width: 1040px;
    margin: 0 auto;
}

.esc-main-title {
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 50px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.esc-sub-title {
    font-family: 'Barlow', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 24px 0;
    line-height: 1.35;
}

/* Contenedor de Ejes Temáticos */
.esc-ejes-showcase {
    background: #ffffff;
    border-radius: var(--esc-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--esc-shadow-lg);
    border: 1.5px solid rgba(22, 163, 74, 0.15);
    display: inline-block;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.esc-ejes-showcase:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(22, 163, 74, 0.18);
}

.esc-ejes-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--esc-radius-sm);
}

/* Bloque Dirigido a: */
.esc-dirigido-box {
    background: #ffffff;
    border-radius: var(--esc-radius-md);
    padding: 30px;
    box-shadow: var(--esc-shadow-md);
    border: 1.5px solid #e2e8f0;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.esc-dirigido-header-img {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
}

.esc-niveles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.esc-nivel-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #023675;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.esc-nivel-chip:hover {
    transform: translateY(-2px);
    border-color: #0e58ad;
    background: #f0f7ff;
    color: #0e58ad;
}

.esc-nivel-chip i {
    color: #0e58ad;
    font-size: 16px;
}

/* --- ENCABEZADOS DE SECCIÓN CON FUENTE OFICIAL RUMIKON --- */
.esc-section-heading {
    font-family: 'Rumikon', Arial, sans-serif !important;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .esc-section-heading {
        font-size: 32px;
    }
}

/* --- SECCIÓN 2: OBJETIVOS DE LA VISITA --- */
.esc-objetivos-title-img {
    max-width: 480px;
    width: 100%;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.22));
    transition: transform 0.3s ease;
}

.esc-objetivos-title-img:hover {
    transform: scale(1.02);
}

.esc-objetivos-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr; /* Mayor protagonismo y anchura para la imagen */
    gap: 44px;
    align-items: center;
    margin-bottom: 50px;
}

.esc-objetivos-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.esc-objetivo-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border-radius: var(--esc-radius-md);
    padding: 20px 24px;
    border: 1.5px solid #e2e8f0;
    box-shadow: var(--esc-shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.esc-objetivo-item:hover {
    transform: translateX(6px);
    border-color: #16a34a;
    box-shadow: var(--esc-shadow-md);
}

.esc-objetivo-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--esc-green-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25);
}

.esc-objetivo-text {
    font-family: 'Barlow', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
    margin: 0;
}

/* Columna de Foto Alumna en Reto - Gran Protagonismo */
.esc-photo-showcase {
    position: relative;
    border-radius: var(--esc-radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(2, 54, 117, 0.14);
    background: transparent;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.esc-photo-showcase:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 25px 55px rgba(2, 54, 117, 0.22);
}

.esc-photo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.esc-photo-showcase:hover .esc-photo-img {
    transform: scale(1.03);
}

.esc-photo-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(2, 54, 117, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transition: background 0.2s ease;
}

.esc-photo-showcase:hover .esc-photo-overlay {
    background: rgba(22, 163, 74, 0.95);
}

/* Bloque Modelo Educativo */
.esc-modelo-box {
    background: #ffffff;
    border-radius: var(--esc-radius-lg);
    padding: 40px;
    box-shadow: var(--esc-shadow-md);
    border: 1.5px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.esc-modelo-text-col h2,
.esc-modelo-text-col h3 {
    font-family: 'Rumikon', Arial, sans-serif !important;
    font-size: 40px;
    font-weight: 900;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.esc-modelo-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 22px;
}

.esc-modelo-keyphrase {
    background: rgba(16, 50, 107, 0.06);
    border-left: 4px solid #10326B;
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #10326B;
}

/* --- SECCIÓN 3: TIPOS DE CAMPAMENTO --- */
.esc-tipos-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.esc-tipos-header-img {
    max-width: 440px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 16px auto;
}

.esc-tipos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.esc-tipo-card {
    background: #ffffff;
    border-radius: var(--esc-radius-lg);
    overflow: hidden;
    box-shadow: var(--esc-shadow-lg);
    border: 1.5px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.esc-tipo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(2, 54, 117, 0.16);
}

.esc-tipo-card.escolar-card:hover {
    border-color: #16a34a;
}

.esc-tipo-card.graduacion-card:hover {
    border-color: #6A43A6;
}

.esc-tipo-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    cursor: pointer;
}

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

.esc-tipo-card:hover .esc-tipo-img {
    transform: scale(1.04);
}

.esc-tipo-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.esc-tipo-title {
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 14px 0;
    text-transform: uppercase;
}

.esc-tipo-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 24px;
    flex: 1;
}

.esc-tipo-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.esc-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #023675;
}

.esc-badge-chip i {
    font-size: 12px;
    color: #16a34a;
}

.graduacion-card .esc-badge-chip i {
    color: #6A43A6;
}

/* --- SECCIÓN 4: ¿POR QUÉ ELEGIRNOS? & BENEFICIOS --- */
.esc-por-que-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.esc-fortalezas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.esc-fortaleza-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border-radius: var(--esc-radius-md);
    padding: 18px 22px;
    border: 1.5px solid #e2e8f0;
    box-shadow: var(--esc-shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.esc-fortaleza-item:hover {
    transform: translateX(4px);
    border-color: #0e58ad;
    box-shadow: var(--esc-shadow-md);
}

.esc-fortaleza-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--esc-blue-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(14, 88, 173, 0.25);
}

.esc-fortaleza-text {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
    margin: 0;
    padding-top: 2px;
}

/* Columna Lo que ganan las escuelas */
.esc-ganancias-card {
    background: #ffffff;
    border-radius: var(--esc-radius-lg);
    padding: 30px;
    box-shadow: var(--esc-shadow-lg);
    border: 1.5px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.esc-ganancias-header-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

.esc-ganancias-photo-wrap {
    width: 100%;
    border-radius: var(--esc-radius-md);
    overflow: hidden;
    cursor: pointer;
}

.esc-ganancias-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.esc-ganancias-card:hover .esc-ganancias-photo {
    transform: scale(1.02);
}

.esc-ganancias-footer-text {
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #023675;
    text-align: center;
    margin: 0;
}

/* --- SECCIÓN 5: SERVICIOS ADICIONALES --- */
.esc-services-box {
    background: #ffffff;
    border-radius: var(--esc-radius-lg);
    padding: 44px;
    box-shadow: var(--esc-shadow-lg);
    border: 1.5px solid rgba(2, 54, 117, 0.08);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.esc-services-image-col {
    position: relative;
    border-radius: var(--esc-radius-md);
    overflow: hidden;
}

.esc-services-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--esc-radius-md);
    transition: transform 0.3s ease;
}

.esc-services-box:hover .esc-services-photo {
    transform: scale(1.02);
}

.esc-services-items-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.esc-service-card-item {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--esc-radius-md);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.esc-service-card-item:hover {
    transform: translateX(4px);
    background: #f0f7ff;
    border-color: #0e58ad;
    box-shadow: var(--esc-shadow-sm);
}

.esc-service-card-item.green-item:hover {
    background: #f0fdf4;
    border-color: #16a34a;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.12);
}

.esc-service-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--esc-blue-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(14, 88, 173, 0.25);
}

.esc-service-icon-wrap.green-wrap {
    background: var(--esc-green-gradient);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.esc-service-content {
    flex: 1;
}

.esc-service-title {
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #023675;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.esc-service-title.green-title {
    color: #15803d;
}

.esc-service-text {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    line-height: 1.5;
    margin: 0;
}

/* --- SECCIÓN 6: CALL TO ACTION Y COTIZACIÓN --- */
.esc-cta-section {
    padding: 80px 0 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.esc-cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--esc-radius-lg);
    padding: 55px 35px;
    box-shadow: 0 20px 50px rgba(106, 67, 166, 0.14);
    border: 2px solid rgba(106, 67, 166, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.esc-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--esc-purple-gradient-h);
}

.esc-cta-title {
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 14px 0;
    text-transform: uppercase;
}

.esc-cta-subtitle {
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 35px 0;
}

.esc-cta-btn-wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 30px;
}

.esc-cta-btn-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    line-height: 0;
}

.esc-cta-btn-link:hover {
    transform: translateY(-5px) scale(1.03);
    filter: drop-shadow(0 14px 28px rgba(106, 67, 166, 0.4));
}

.esc-cta-btn-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Contactos en el CTA */
.esc-cta-contacts-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.esc-cta-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 50px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #023675;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.esc-cta-contact-pill:hover {
    background: #faf5ff;
    border-color: #6A43A6;
    color: #6A43A6;
}

.esc-cta-contact-pill i {
    font-size: 16px;
    color: #0e58ad;
    transition: color 0.2s ease;
}

.esc-cta-contact-pill:hover i {
    color: #6A43A6;
}

/* --- LIGHTBOX MODAL GENÉRICO --- */
.esc-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 29, 61, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.esc-lightbox.active {
    display: flex;
    opacity: 1;
}

.esc-lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--esc-radius-md);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.esc-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.esc-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* --- RESPONSIVIDAD (TABLETS Y MÓVILES) --- */
@media (max-width: 1024px) {
    .esc-main-title {
        font-size: 40px;
    }
    
    .esc-sub-title {
        font-size: 22px;
    }
    
    .esc-nav-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .esc-objetivos-grid,
    .esc-modelo-box,
    .esc-tipos-grid,
    .esc-por-que-grid,
    .esc-services-box {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .esc-nav-wrapper {
        top: 75px;
    }

    .esc-nav-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 8px 10px;
        gap: 6px;
    }

    .esc-nav-pill {
        padding: 8px 10px;
        gap: 8px;
    }

    .esc-nav-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .esc-nav-name {
        font-size: 12px;
    }

    .esc-nav-desc {
        display: none;
    }

    .esc-section {
        padding: 50px 0;
    }
    
    .esc-main-title {
        font-size: 30px;
    }
    
    .esc-sub-title {
        font-size: 20px;
    }
    
    .esc-section-heading {
        font-size: 28px;
    }
    
    .esc-nivel-chip {
        font-size: 15px;
        padding: 8px 16px;
    }
    
    .esc-objetivo-text,
    .esc-fortaleza-text,
    .esc-tipo-desc,
    .esc-modelo-desc {
        font-size: 16px;
    }
    
    .esc-cta-title {
        font-size: 30px;
    }
    
    .esc-cta-subtitle {
        font-size: 18px;
    }
    
    .esc-cta-btn-img {
        max-width: 310px;
    }
}
