/* =============================================================
   TOKENS DE DISEÑO (COLORES, TIPOGRAFÍA, SOMBRAS, RADIOS)
   ============================================================= */
:root {
    /* Verde institucional (fondos oscuros, iconografía, enlaces) */
    --primary-color: #0e7c4a;
    --primary-dark: #0a5c37;
    --primary-light: #e6f4ec;
    --primary-soft: #cdead9;

    /* Dorado (acento de marca, botones de acción) */
    --accent-color: #c9982e;
    --accent-dark: #a97a1f;
    --accent-light: #f6ecd2;

    /* Azul (variedad de iconografía en tarjetas de servicios/áreas) */
    --blue-color: #2f7fbf;
    --blue-light: #e5f0f8;

    /* Verde muy oscuro: fondo de secciones "premium" y texto de títulos */
    --dark-color: #0f2318;
    --dark-soft: #16371f;
    --dark-card: #1c3f27;

    /* Neutros cálidos */
    --gray-700: #3d4b41;
    --gray-500: #58675d;
    --gray-300: #dad5c9;
    --gray-100: #f6f3ec;
    --light-color: #f6f3ec;
    --cream: #faf8f3;
    --white: #ffffff;
    --text-color: #405348;

    /* Tipografía */
    --font-main: 'Poppins', sans-serif;
    --font-script: 'Caveat', cursive;

    /* Bordes y sombras reutilizables */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(15, 35, 24, 0.08);
    --shadow-md: 0 10px 25px rgba(15, 35, 24, 0.12);
    --shadow-lg: 0 20px 45px rgba(15, 35, 24, 0.18);

    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

::selection { background: var(--accent-color); color: var(--dark-color); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.bg-light { background-color: var(--light-color); }
.text-gold { color: var(--accent-color); }

.eyebrow {
    display: table;
    margin: 0 auto 18px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--primary-light);
    padding: 7px 18px;
    border-radius: var(--radius-pill);
}
.eyebrow-gold { color: var(--accent-color); background: rgba(201, 152, 46, 0.16); }

.section-title {
    text-align: center;
    font-size: 2.6rem;
    color: var(--dark-color);
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 50px;
    font-size: 1.05rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   ANIMACIÓN DE APARICIÓN AL HACER SCROLL (activada por main.js)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-main);
}
.btn-primary, .btn-gold {
    background: var(--accent-color);
    color: var(--dark-color);
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(201, 152, 46, 0.32);
}
.btn-primary:hover, .btn-gold:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(201, 152, 46, 0.4); }

.btn-secondary, .btn-outline-light { background-color: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.55); }
.btn-secondary:hover, .btn-outline-light:hover { background-color: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-green { background: var(--primary-color); color: var(--white); box-shadow: 0 10px 22px rgba(14, 124, 74, 0.28); }
.btn-green:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(14, 124, 74, 0.38); }

.btn-white { background: var(--white); color: var(--dark-color); box-shadow: 0 10px 22px rgba(0,0,0,0.18); }
.btn-white:hover { background: var(--light-color); transform: translateY(-3px); }

/* =========================================================
   HERO PRINCIPAL
   ========================================================= */
.hero {
    position: relative;
    height: 395px;
    min-height: 395px;
    margin-top: 76px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--dark-color);
}

/* =========================================================
   IMAGEN PRINCIPAL DEL HERO
   ========================================================= */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    animation: none;
}

/* Imagen fija */
.hero-static-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    transform: none;
    filter: saturate(1.35) brightness(1.1) contrast(1.08);
}

/* =========================================================
   OSCURECIMIENTO DE LA IMAGEN
   Más fuerte a la izquierda para que el texto se lea,
   pero dejando visible el paisaje.
   ========================================================= */
.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(15, 35, 24, 0.6) 0%,
        rgba(15, 35, 24, 0.38) 25%,
        rgba(15, 35, 24, 0.16) 48%,
        rgba(15, 35, 24, 0.04) 72%,
        rgba(15, 35, 24, 0) 100%
    );
}

/* =========================================================
   CONTENIDO DEL HERO
   ========================================================= */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    padding: 125px 40px 40px 6vw;
    color: var(--white);
}

.hero-content .eyebrow {
    margin: 0 0 8px;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    display: block;
    text-align: left;
    letter-spacing: 3px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* Título principal */
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.08;
    text-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

/* Texto manuscrito */
.hero-content .script-text {
    font-size: 2.6rem;
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

/* Descripción */
.hero-content p {
    font-size: 1rem;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.92);
    max-width: 500px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* =========================================================
   BOTONES / CATEGORÍAS DEL HERO
   ========================================================= */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    margin-bottom: 8px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.hero-badge:hover {
    transform: translateY(-2px);
}

.hero-badge.badge-blue {
    background: var(--blue-color);
}

.hero-badge.badge-green {
    background: var(--primary-color);
}

.hero-badge.badge-gold {
    background: var(--accent-color);
    color: var(--dark-color);
}

/* =========================================================
   CITA / TEXTO DE LA PARTE DERECHA
   ========================================================= */
.hero-quote {
    position: absolute;
    z-index: 2;
    right: 5vw;
    top: 18%;
    max-width: 230px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 10px;
    color: var(--white);
    box-shadow: none;
}

.hero-quote p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-quote span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-color);
    text-transform: uppercase;
}

/* =========================================================
   TEXTO DECORATIVO DEL HERO
   ========================================================= */
.hero-tagline {
    position: absolute;
    z-index: 2;
    right: 4vw;
    top: 50%;
    max-width: 230px;
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--white);
    text-align: right;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transform: translateY(-50%) rotate(-4deg);
}
.hero-tagline-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
    color: var(--white);
}
.hero-tagline-icon i { font-size: 1.3rem; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.hero-tagline-icon .spark { font-size: 0.85rem; opacity: 0.85; }

/* =========================================================
   ANIMACIÓN DESACTIVADA
   La imagen debe permanecer fija.
   ========================================================= */
@keyframes zoomHero {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================================
   BUSCADOR FLOTANTE SOBRE EL HERO
   ========================================================= */
.hero-search-wrap {
    position: relative;
    z-index: 5;
    margin-top: -10px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.hero-search-bar {
    width: min(1360px, 96%);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-search-bar .search-field {
    flex: 1;
    min-width: 190px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 2px 18px 2px 4px;
    border-right: 1px solid var(--gray-300);
}

.hero-search-bar .search-field:nth-child(3) {
    flex: 1.7;
    min-width: 260px;
}

.hero-search-bar .search-field:last-of-type {
    border-right: none;
}

.search-field-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue-color);
    border: 1.5px solid var(--blue-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
}

.hero-search-bar select {
    width: 100%;
    border: none;
    border-radius: var(--radius-sm);
    padding: 6px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    background: var(--white);
    outline: none;
    transition: var(--transition);
    cursor: pointer;
}

.hero-search-bar select:focus {
    box-shadow: 0 0 0 4px var(--primary-light);
    border-radius: var(--radius-sm);
}

.hero-search-bar .btn-search-massive {
    padding: 9px 26px;
    font-size: 0.95rem;
    white-space: nowrap;
    background: var(--blue-color);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 22px rgba(47, 127, 191, 0.32);
}

.hero-search-bar .btn-search-massive:hover {
    background: #26689e;
    color: var(--white);
    box-shadow: 0 14px 28px rgba(47, 127, 191, 0.4);
}

/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */
@media (max-width: 1000px) {

    .hero {
        height: 380px;
        min-height: 380px;
    }

    .hero-content {
        padding-left: 5vw;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-content .script-text {
        font-size: 2.2rem;
    }

    .hero-quote,
    .hero-tagline {
        right: 3vw;
    }
}

/* =========================================================
   RESPONSIVE - CELULAR
   ========================================================= */
@media (max-width: 768px) {

    .hero {
        height: 520px;
        min-height: 520px;
        align-items: flex-start;
    }

    .hero-static-img {
        object-position: 64% center !important;
    }

    .hero::after {
        background: linear-gradient(
            180deg,
            rgba(8, 35, 58, 0.48) 0%,
            rgba(8, 35, 58, 0.22) 48%,
            rgba(8, 35, 58, 0.04) 100%
        ) !important;
    }

    .video-overlay {
        background: linear-gradient(
            180deg,
            rgba(15,35,24,0.72) 0%,
            rgba(15,35,24,0.48) 55%,
            rgba(15,35,24,0.25) 100%
        );
    }

    .hero-content {
        max-width: 100%;
        padding: 100px 25px 30px;
    }

    .hero-content .eyebrow {
        display: block;
        margin: 0 0 8px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        font-size: 0.8rem;
        letter-spacing: 2.5px;
        line-height: 1.3;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content .script-text {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-badge {
        padding: 8px 12px;
        font-size: 0.65rem;
    }

    .hero-quote,
    .hero-tagline {
        display: none;
    }

    .hero-search-wrap {
        margin-top: -5px;
        padding: 0 10px;
    }

    .hero-search-bar {
        width: 100%;
        padding: 12px;
        gap: 8px;
    }

    .hero-search-bar .search-field {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--gray-300);
        padding: 8px 4px;
    }

    .hero-search-bar .search-field:nth-child(3) {
        min-width: 100%;
    }

    .hero-search-bar .btn-search-massive {
        width: 100%;
    }
}
/* =========================================================
   BARRA DE PILARES (FLOTANTE, SOBRE EL HERO)
   ========================================================= */
.pillars-bar { position: relative; z-index: 4; padding: 36px 0 26px; background: #eef0f5; }
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-content: center;
    gap: 10px;
}
.pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid var(--gray-300);
}
.pillar:last-child { border-right: none; }
.pillar-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary-color); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.pillar:nth-child(1) .pillar-icon { background: var(--blue-color); }
.pillar:nth-child(2) .pillar-icon { background: var(--primary-color); }
.pillar:nth-child(3) .pillar-icon { background: var(--accent-color); }
.pillar:nth-child(4) .pillar-icon.pillar-logo { width: 82px; height: 55px; background: transparent; box-shadow: none; }
.pillar-logo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.pillar:nth-child(5) .pillar-icon { background: #1c9c8a; }
.pillar h4 { font-size: 1rem; color: var(--dark-color); font-weight: 700; }
.pillar p { font-size: 0.85rem; color: var(--text-color); line-height: 1.5; }

/* =========================================================
   BOTÓN AZUL (CTA PRINCIPAL DEL NAVBAR)
   ========================================================= */
.btn-blue, .btn-cta.btn-blue { background: var(--blue-color); color: var(--white); box-shadow: 0 10px 22px rgba(47, 127, 191, 0.3); }
.btn-blue:hover, .btn-cta.btn-blue:hover { background: #24628f; color: var(--white); transform: translateY(-2px); }

/* =========================================================
   BUSCADOR FLOTANTE SOBRE EL BORDE DEL HERO
   ========================================================= */
.hero-search-wrap { position: relative; z-index: 5; margin-top: -10px; padding: 0 20px; display: flex; justify-content: center; }
.hero-search-bar {
    width: min(1360px, 96%);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 6px 14px;
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.hero-search-bar .search-field {
    flex: 1; min-width: 190px; display: flex; flex-direction: row; align-items: center; gap: 8px;
    padding: 2px 18px 2px 4px; border-right: 1px solid var(--gray-300);
}
.hero-search-bar .search-field:nth-child(3) { flex: 1.7; min-width: 260px; }
.hero-search-bar .search-field:last-of-type { border-right: none; }
.search-field-icon {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
    background: var(--white); color: var(--blue-color); border: 1.5px solid var(--blue-color);
    display: flex; align-items: center; justify-content: center; font-size: 0.66rem;
}
.hero-search-bar select {
    width: 100%; border: none; border-radius: var(--radius-sm);
    padding: 6px 6px; font-family: var(--font-main); font-size: 0.95rem; font-weight: 600; color: var(--dark-color);
    background: var(--white); outline: none; transition: var(--transition); cursor: pointer;
}
.hero-search-bar select:focus { box-shadow: 0 0 0 4px var(--primary-light); border-radius: var(--radius-sm); }
.hero-search-bar .btn-search-massive {
    padding: 9px 26px; font-size: 0.95rem; white-space: nowrap;
    background: var(--blue-color); color: var(--white); border: none;
    box-shadow: 0 10px 22px rgba(47, 127, 191, 0.32);
}
.hero-search-bar .btn-search-massive:hover {
    background: #26689e; color: var(--white);
    box-shadow: 0 14px 28px rgba(47, 127, 191, 0.4);
}

/* =========================================================
   NAV: FLECHA DE SUBMENÚ (SOLO VISUAL)
   ========================================================= */
.nav-links-desktop a .nav-caret { font-size: 0.7rem; margin-left: 4px; }
.navbar-search-btn {
    background: none; border: none; color: var(--dark-color); font-size: 1.05rem;
    cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center;
}
.navbar-search-btn:hover { color: var(--primary-color); }

/* =========================================================
   SECCIÓN "DIFERENTES CARRERAS, UN MISMO PROPÓSITO"
   ========================================================= */
.mission-strip { padding: 40px 0; overflow: hidden; }
.mission-strip .container { max-width: 1300px; }
.mission-strip-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.1fr 0.9fr 1.6fr;
    gap: 20px;
    align-items: center;
}
.mission-strip-grid > * { min-width: 0; }
.mission-banner-img { grid-column: 1 / 3; width: 100%; max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
.carreras-text { display: flex; flex-direction: column; }
.carreras-swoosh { margin-top: 4px; }
.mission-benefits .why-checklist { margin: 10px 0 14px; }
.mission-benefits .why-checklist li { font-size: 0.85rem; margin-bottom: 6px; }
.mission-benefits .btn { padding: 11px 22px; font-size: 0.86rem; }
.mission-benefits .eyebrow { margin: 0 0 8px; font-size: 0.7rem; padding: 6px 16px; }

.carreras-layout { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 40px; align-items: center; }
.carreras-title { font-size: 1.25rem; line-height: 1.15; }
.carreras-collage { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 62px); gap: 8px; }
.carreras-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); display: block; box-shadow: var(--shadow-sm); }
.carreras-collage img:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.carreras-badge {
    position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
    background: var(--blue-color); color: var(--white);
    padding: 8px 14px; border-radius: var(--radius-md);
    font-weight: 700; font-size: 0.66rem; white-space: normal; text-align: center;
    width: 88%; line-height: 1.3; box-shadow: var(--shadow-md);
}
.carreras-badge .text-gold { color: var(--accent-light); }

/* =========================================================
   SECCIÓN "¿POR QUÉ ELEGIR CIDCI?" + BLOQUE VISUAL
   ========================================================= */
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-checklist { list-style: none; padding: 0; margin: 16px 0 20px; }
.why-checklist li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; color: var(--dark-color); font-weight: 500; font-size: 0.94rem; }
.why-checklist li i { color: var(--primary-color); margin-top: 3px; }
.checklist-badge {
    display: inline;
    padding: 0;
    background: none;
    color: inherit;
    font-weight: 700;
    border-radius: 0;
    box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.viaje-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); width: 92%; margin-left: auto; }
.viaje-visual img { position: static; width: 100%; height: auto; object-fit: contain; display: block; }
.viaje-visual-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,35,24,0.6) 0%, rgba(15,35,24,0.35) 45%, rgba(15,35,24,0.88) 100%); }
.viaje-visual-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
.viaje-visual-script { font-size: 1.1rem; color: var(--white); line-height: 1.25; }
.viaje-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.viaje-feature { text-align: center; color: var(--white); }
.viaje-feature i { display: block; font-size: 0.8rem; margin-bottom: 4px; color: var(--accent-color); }
.viaje-feature span { font-size: 0.56rem; font-weight: 600; white-space: nowrap; }

/* =========================================================
   TEXTO DECORATIVO ESTILO MANUSCRITO
   ========================================================= */
.script-text {
    font-family: var(--font-script);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
}

/* =========================================================
   HERO DIVIDIDO (PÁGINA "NOSOTROS")
   ========================================================= */
.about-hero { display: grid; grid-template-columns: 42% 58%; height: 460px; margin-top: 76px; }
.about-hero-text { display: flex; flex-direction: column; justify-content: center; padding: 50px 6vw; background: var(--cream); }
.internship-page {
    --dark-color: #173f62;
    --text-color: #40566b;
    --internship-blue-hero: #e6f0e8;
    --internship-blue-light: #e4edf5;
    --internship-blue-mid: #e1ecf4;
    --internship-blue-band: #e3efe6;
    --internship-blue-card: #ffffff;
    --internship-blue-ink: #173f62;
    --internship-blue-border: rgba(23, 63, 98, 0.12);
    --internship-green-accent: #438363;
}
.internship-hero .about-hero-text { background: var(--internship-blue-hero); }
.internship-page .about-hero-text h1 { color: var(--internship-blue-ink); }
.internship-page .about-hero-text .icon-leaf { color: var(--internship-green-accent); }
.about-hero-text .icon-leaf { font-size: 2.3rem; color: var(--primary-color); margin-bottom: 20px; }
.about-hero-text h1 { font-size: 2.8rem; color: var(--dark-color); margin-bottom: 14px; font-weight: 700; }
.about-hero-text p { font-size: 1.08rem; color: var(--text-color); }
.about-hero-photo {
    position: relative; overflow: hidden;
    clip-path: polygon(3% 0, 100% 0, 100% 100%, 0% 100%, 0% 22%);
}
.about-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }

/* =========================================================
   FRANJA DE VALORES
   ========================================================= */
.values-band { background: var(--primary-light); padding: 55px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item { text-align: center; padding: 0 24px; border-right: 1px solid rgba(14, 124, 74, 0.18); }
.value-item:last-child { border-right: none; }
.internship-intro { background: var(--white); }
.internship-benefits { background: var(--internship-blue-band); }
.internship-benefits .section-title,
.internship-benefits .internship-lead { color: var(--internship-blue-ink); }
.internship-benefits .internship-lead { color: var(--internship-green-accent); }
.internship-profile { background: var(--internship-blue-mid); }
.internship-transformation { background: #edf4ee; }
.internship-page .section-title,
.internship-page .internship-area-group h3 { color: var(--internship-blue-ink); }
.internship-benefits .section-title { color: var(--internship-blue-ink); }
.internship-intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 38px; }
.internship-intro-copy { max-width: 920px; }
.internship-intro-copy p { font-size: 1.02rem; line-height: 1.85; color: #3e5263; }
.internship-intro-copy p + p { margin-top: 16px; }
.internship-intro-image { display: block; width: 100%; max-width: 240px; height: auto; object-fit: contain; }
.internship-benefits-heading { display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 36px; max-width: 1020px; margin: 0 auto; }
.internship-benefits-heading .section-title { margin: 0; text-align: left; }
.internship-benefits-heading img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: center 42%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.internship-benefits .section-title { font-size: 2.25rem; }
.internship-lead { display: flex; align-items: center; justify-content: center; gap: 12px; width: min(100%, 255px); margin: 10px auto 0; color: var(--internship-green-accent); font-weight: 700; }
.internship-lead::before,
.internship-lead::after { content: ""; flex: 1; height: 1px; background: var(--internship-green-accent); }
.internship-benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1020px; margin: 18px auto 0; }
.internship-benefits-grid li { margin: 0; padding: 18px; background: var(--internship-blue-card); border: 1px solid var(--internship-blue-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.internship-benefits-grid li i { flex: 0 0 auto; }
.internship-benefits-grid li i { color: var(--internship-green-accent); }
.internship-profile .section-subtitle { margin-bottom: 20px; }
.internship-traits { max-width: 900px; margin: 0 auto 54px; padding: 16px 20px; border-top: 1px solid rgba(14, 124, 74, 0.25); border-bottom: 1px solid rgba(14, 124, 74, 0.25); text-align: center; color: var(--primary-dark); }
.internship-profile-intro { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 34px; max-width: 960px; margin: 0 auto 44px; }
.internship-profile-copy .section-title { margin-bottom: 10px; text-align: left; color: var(--internship-blue-ink); }
.internship-profile-copy .section-title i { color: var(--internship-green-accent); font-size: 0.75em; }
.internship-profile .section-subtitle { margin: 0 0 16px; text-align: left; font-size: 0.92rem; }
.internship-profile .internship-traits { display: flex; align-items: center; gap: 12px; max-width: none; margin: 0; padding: 14px 16px; border: 0; border-radius: var(--radius-sm); background: rgba(67, 131, 99, 0.1); text-align: left; color: var(--internship-blue-ink); font-size: 0.9rem; }
.internship-profile .internship-traits i { flex: 0 0 auto; color: var(--internship-green-accent); font-size: 1.25rem; }
.internship-profile-photo { display: block; width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.internship-professions-heading { margin: 0 auto 24px; text-align: center; }
.internship-professions-heading .section-title { display: table; margin: 0 auto; text-align: center; font-size: 1.9rem; }
.internship-professions-heading .section-title::after { content: ""; display: block; width: 62px; height: 2px; margin: 10px auto 0; background: var(--internship-green-accent); }
.internship-area-group { padding: 24px 0 30px; border-top: 1px solid var(--internship-blue-border); }
.internship-area-group h3 { font-size: 1.2rem; }
.internship-area-grid { display: grid; gap: 10px; margin-top: 18px; }
.internship-area-grid--environment { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.internship-area-grid--other { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.internship-area-grid li { min-width: 0; padding: 13px 15px; background: var(--internship-blue-card); border: 1px solid var(--internship-blue-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.internship-note { max-width: 1000px; margin: 0 auto; padding: 20px 24px; border-left: 4px solid var(--internship-green-accent); background: #f4f8f5; color: var(--dark-color); }
.internship-transformation-content { max-width: 1020px; text-align: left; }
.internship-transformation-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 36px; }
.internship-transformation-copy .section-title { margin: 0 0 12px; text-align: left; font-size: 1.9rem; line-height: 1.2; color: var(--internship-blue-ink); }
.internship-transformation-copy .section-title i { margin-right: 8px; color: var(--internship-green-accent); }
.internship-transformation-copy > p { max-width: 560px; margin: 0 0 12px; color: #3e5263; font-size: 0.94rem; line-height: 1.65; }
.internship-transformation-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.internship-transformation-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.internship-mantras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 24px; padding: 14px 18px; border-radius: var(--radius-md); background: rgba(67, 131, 99, 0.08); color: var(--internship-blue-ink); }
.internship-mantras p { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 20px; font-size: 0.9rem; line-height: 1.4; }
.internship-mantras p + p { border-left: 1px solid var(--internship-blue-border); }
.internship-mantras p i { flex: 0 0 42px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(67, 131, 99, 0.14); color: var(--internship-blue-ink); font-size: 1.15rem; }
.internship-cta .cta-band-bg img { opacity: 1; }
.internship-cta .cta-band-bg::after { content: ""; position: absolute; inset: 0; background: rgba(8, 35, 58, 0.62); }
.internship-cta .cta-band-content { z-index: 2; justify-content: center; }
.internship-cta .cta-band-text { max-width: 820px; text-align: center; }
.internship-cta .cta-band-text h3 { font-size: 1.7rem; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55); }
.internship-cta .cta-band-text p { margin-bottom: 14px; color: #fff; font-weight: 500; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65); }
.internship-cta .cta-band-buttons { justify-content: center; margin-top: 22px; }
.cta-band.internship-cta { background: linear-gradient(105deg, rgba(20, 63, 105, 0.96) 0%, rgba(20, 63, 105, 0.82) 55%, rgba(20, 63, 105, 0.55) 100%), #143f69; }
.internship-cta .btn-gold { background: var(--internship-blue-light); color: var(--internship-blue-ink); }
.value-icon {
    width: 62px; height: 62px; border-radius: 50%;
    background: var(--white); color: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 14px; box-shadow: var(--shadow-sm);
}
.value-item h4 { color: var(--dark-color); margin-bottom: 8px; font-size: 1.02rem; }
.value-item p { font-size: 0.88rem; color: var(--text-color); }

/* =========================================================
   MISIÓN, VISIÓN Y OBJETIVOS (PÁGINA "NOSOTROS")
   ========================================================= */
.mvo-layout { display: grid; grid-template-columns: 0.55fr 2.45fr; gap: 40px; align-items: center; }
.mvo-title .script-text { font-size: 2.1rem; line-height: 1.2; display: block; }
.mvo-title i { font-size: 1.8rem; color: var(--primary-color); margin-top: 16px; }
.mvo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.mvo-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; }
.mvo-card .mvo-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary-color);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.mvo-card h3 { font-size: 1.05rem; color: var(--dark-color); margin-bottom: 10px; }
.mvo-card p { font-size: 0.88rem; color: var(--text-color); line-height: 1.6; }
.mvo-card-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 220px; box-shadow: var(--shadow-sm); }
.mvo-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.mvo-card-photo .community-photo-tag { position: absolute; left: 14px; bottom: 14px; right: 14px; font-size: 0.78rem; }
.mvo-card-photo--full { grid-column: 2 / -1; width: 100%; min-height: 0; }
.mvo-card-photo--full img { position: static; height: auto; object-fit: contain; }

/* =========================================================
   SECCIÓN "NUESTRA COMUNIDAD"
   ========================================================= */
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.community-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.community-photo img { width: 100%; height: 340px; object-fit: cover; display: block; }
.community-photo-tag {
    position: absolute; left: 20px; bottom: 20px;
    background: rgba(15, 35, 24, 0.72); backdrop-filter: blur(4px);
    color: var(--white); padding: 10px 18px; border-radius: var(--radius-pill);
    font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.community-photo-tag i { color: var(--accent-color); }
.community-text .eyebrow { margin: 0 0 14px; }
.community-text h2 { font-size: 2.2rem; color: var(--dark-color); margin-bottom: 16px; font-weight: 700; }
.community-text p { margin-bottom: 24px; }
.community-script { margin-top: 26px; font-size: 1.35rem; max-width: 280px; }

/* =========================================================
   SECCIÓN "NUESTROS SERVICIOS"
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 40px; }
.service-card {
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    padding: 40px 26px; text-align: center; transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.service-icon {
    width: 76px; height: 76px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--white); margin: 0 auto 22px;
}
.service-icon.icon-green { background: var(--primary-color); }
.service-icon.icon-blue { background: var(--blue-color); }
.service-icon.icon-gold { background: var(--accent-color); }
.service-icon.icon-teal { background: #2a9d7f; }
.service-card h3 { font-size: 1.1rem; color: var(--dark-color); margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--text-color); }

/* =========================================================
   SECCIÓN "ÁREAS DE PARTICIPACIÓN" (CUADRÍCULA CON FOTO)
   ========================================================= */
.areas-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.areas-intro .eyebrow { margin: 0 0 14px; }
.areas-intro h2 { font-size: 2.1rem; color: var(--dark-color); margin-bottom: 16px; font-weight: 700; line-height: 1.25; }
.areas-intro p { margin-bottom: 26px; }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-card {
    position: relative; border-radius: var(--radius-md); overflow: hidden;
    aspect-ratio: 1 / 0.85; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.area-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area-card .area-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,35,24,0) 40%, rgba(15,35,24,0.82) 100%);
}
.area-card .area-chip {
    position: absolute; left: 10px; bottom: 10px; right: 10px;
    display: flex; align-items: center; gap: 8px;
    color: var(--white); font-size: 0.82rem; font-weight: 600;
}
.area-card .area-chip i {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,0.18); backdrop-filter: blur(2px);
    display: flex; align-items: center; justify-content: center; font-size: 0.78rem;
}

/* =========================================================
   SECCIÓN "GALERÍA" (TEASER EN INICIO)
   ========================================================= */
.gallery-teaser-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: center; }
.gallery-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-teaser-grid img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-md); display: block; box-shadow: var(--shadow-sm); }

/* =========================================================
   TARJETAS "PROGRAMAS PRINCIPALES" (FOTO + ICONO)
   ========================================================= */
.pp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.pp-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.pp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pp-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.pp-card-body { padding: 22px; }
.pp-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; font-size: 1.1rem;
}
.pp-card h3 { font-size: 1.05rem; color: var(--dark-color); margin-bottom: 8px; }
.pp-card p { font-size: 0.88rem; color: var(--text-color); margin-bottom: 14px; line-height: 1.6; }
.pp-card a { color: var(--primary-color); font-weight: 600; font-size: 0.88rem; }
.pp-card a:hover { text-decoration: underline; }

/* =========================================================
   TARJETAS SIMPLES "ÁREAS DE PARTICIPACIÓN" (ICONO + TEXTO)
   ========================================================= */
.areas-layout-simple { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.area-simple-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-simple-card {
    background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
    padding: 20px 16px; transition: var(--transition);
}
.area-simple-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.area-simple-card i {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; margin-bottom: 12px;
}
.area-simple-card span { display: block; font-size: 0.9rem; font-weight: 600; color: var(--dark-color); }

/* Página "Para Voluntarios" */
.vol-areas-grid { grid-template-columns: repeat(3, 1fr); }
.vol-checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; }
.volunteer-page {
    --dark-color: #173f62;
    --text-color: #40566b;
    --volunteer-mint: #e6f0e8;
    --volunteer-blue: #e4edf5;
    --volunteer-blue-card: #ffffff;
    --volunteer-blue-ink: #173f62;
    --volunteer-border: rgba(23, 63, 98, 0.12);
    --volunteer-green: #438363;
}
.volunteer-page .section { padding: 64px 0; }
.volunteer-hero .about-hero-text { background: var(--volunteer-mint); }
.volunteer-page .about-hero-text h1 { color: var(--volunteer-blue-ink); font-size: 2.45rem; line-height: 1.15; }
.volunteer-page .about-hero-text .icon-leaf { color: var(--volunteer-green); }
.volunteer-intro { background: var(--white); }
.volunteer-intro-copy { max-width: 920px; }
.volunteer-intro-copy p { color: var(--text-color); font-size: 1.02rem; line-height: 1.85; }
.volunteer-intro-copy p + p { margin-top: 16px; }
.volunteer-experiences { background: var(--volunteer-blue); }
.volunteer-page .section-title { color: var(--volunteer-blue-ink); }
.volunteer-experience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; list-style: none; }
.volunteer-experience-grid li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 15px; background: var(--volunteer-blue-card); border: 1px solid var(--volunteer-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); color: var(--text-color); }
.volunteer-experience-grid li span { flex: 0 0 1.5rem; font-size: 1.2rem; line-height: 1.4; }
.volunteer-stay { background: var(--white); }
.volunteer-stay-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr); align-items: center; gap: 40px; }
.volunteer-stay-content,
.volunteer-impact-content,
.volunteer-tourists-content { max-width: 920px; text-align: center; }
.volunteer-stay-content { max-width: none; }
.volunteer-stay-content p { margin: 0 auto 12px; line-height: 1.7; }
.volunteer-stay-image { display: block; width: 100%; height: 280px; object-fit: cover; object-position: center; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.volunteer-stay-content p strong,
.volunteer-slogans { color: var(--volunteer-green); }
.volunteer-impact { background: var(--volunteer-mint); }
.volunteer-impact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr); align-items: center; gap: 40px; }
.volunteer-impact-content { max-width: none; }
.volunteer-impact-image { display: block; width: 100%; height: 320px; object-fit: cover; object-position: center; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.volunteer-impact-content > p { max-width: 790px; margin: 0 auto; line-height: 1.7; }
.volunteer-slogans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--volunteer-border); }
.volunteer-slogans p { font-size: 1.08rem; }
.volunteer-tourists { background: var(--volunteer-blue); }
.volunteer-tourists-content > p { max-width: 800px; margin: 0 auto; line-height: 1.7; }
.volunteer-tourists blockquote { max-width: 820px; margin: 20px auto 0; padding: 18px 22px; border-left: 4px solid var(--volunteer-green); background: var(--white); color: var(--volunteer-blue-ink); font-size: 1.08rem; font-weight: 600; text-align: left; }
.tourism-page {
    --dark-color: #173f62;
    --text-color: #40566b;
    --tourism-mint: #e6f0e8;
    --tourism-blue: #e4edf5;
    --tourism-card: #ffffff;
    --tourism-ink: #173f62;
    --tourism-border: rgba(23, 63, 98, 0.12);
    --tourism-green: #438363;
}
.tourism-page .section { padding: 64px 0; }
.tourism-hero .about-hero-text { background: var(--tourism-mint); }
.tourism-page .about-hero-text h1 { color: var(--tourism-ink); font-size: 2.45rem; line-height: 1.15; }
.tourism-page .about-hero-text .icon-leaf { color: var(--tourism-green); }
.tourism-page .section-title { color: var(--tourism-ink); }
.tourism-intro { background: var(--white); }
.tourism-intro-copy,
.tourism-closing-content { max-width: 920px; text-align: center; }
.tourism-closing-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr); align-items: center; gap: 40px; }
.tourism-closing-content { max-width: none; }
.tourism-closing-image { display: block; width: 100%; height: 320px; object-fit: cover; object-position: center; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.tourism-change-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr); align-items: center; gap: 40px; }
.tourism-change-content { text-align: center; }
.tourism-change-image { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.tourism-intro-copy p { color: var(--text-color); font-size: 1.02rem; line-height: 1.75; }
.tourism-intro-copy p + p { margin-top: 14px; }
.tourism-highlights { background: var(--tourism-blue); }
.tourism-experience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; }
.tourism-experience-grid li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 15px; background: var(--tourism-card); border: 1px solid var(--tourism-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); color: var(--text-color); }
.tourism-experience-grid li span { flex: 0 0 1.5rem; font-size: 1.2rem; line-height: 1.4; }
.tourism-change { background: var(--tourism-mint); }
.tourism-change-content p { max-width: 820px; margin: 0 auto; line-height: 1.75; }
.tourism-change-content strong { color: var(--tourism-green); }
.tourism-closing { background: var(--tourism-blue); }
.tourism-mantras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; padding: 18px 0; border-top: 1px solid var(--tourism-border); border-bottom: 1px solid var(--tourism-border); color: var(--text-color); }
.tourism-final { margin: 20px auto 0; padding: 16px 20px; border-left: 4px solid var(--tourism-green); background: var(--white); color: var(--tourism-ink); }

/* =========================================================
   FILTROS Y MOSAICO DE GALERÍA
   ========================================================= */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 40px; }
.filter-pill {
    padding: 10px 22px; border-radius: var(--radius-pill); border: 1px solid var(--gray-300);
    background: var(--white); color: var(--dark-color); font-weight: 600; font-size: 0.88rem;
    cursor: pointer; transition: var(--transition); font-family: var(--font-main);
}
.filter-pill:hover { border-color: var(--primary-color); color: var(--primary-color); }
.filter-pill.active { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

.gallery-mosaic-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.gallery-mosaic-featured img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-sm); }
.gallery-mosaic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-mosaic-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-sm); transition: var(--transition); }
.gallery-mosaic-grid img:hover, .gallery-mosaic-featured img:hover { transform: scale(1.02); }
.gallery-mosaic-featured .gallery-photo,
.gallery-mosaic-grid .gallery-photo { cursor: zoom-in; }
.gallery-photo:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 4px; }

.gallery-lightbox {
    position: fixed;
    width: min(92vw, 1100px);
    max-width: none;
    max-height: 92vh;
    padding: 48px 20px 20px;
    border: 0;
    border-radius: var(--radius-lg);
    background: #111;
    color: var(--white);
    overflow: auto;
}
.gallery-lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
.gallery-lightbox-view { position: relative; display: flex; align-items: center; justify-content: center; }
.gallery-lightbox-image { display: block; max-width: 100%; max-height: calc(92vh - 125px); margin: 0 auto; object-fit: contain; }
.gallery-lightbox-caption { margin: 12px 0 0; text-align: center; }
.gallery-lightbox-counter { margin: 6px 0 0; color: rgba(255, 255, 255, 0.75); font-size: 0.88rem; text-align: center; }
.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}
.gallery-lightbox-previous { left: 12px; }
.gallery-lightbox-next { right: 12px; }
.gallery-lightbox-nav:hover:not(:disabled) { background: var(--primary-color); }
.gallery-lightbox-nav:disabled { opacity: 0.4; cursor: default; }
.gallery-lightbox-close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.gallery-lightbox-close:hover { background: rgba(255, 255, 255, 0.15); }

.gallery-closing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; text-align: center; }
.gallery-closing-item i { color: var(--primary-color); font-size: 1.3rem; margin-right: 8px; }
.gallery-closing-item p { display: inline; font-weight: 600; color: var(--dark-color); }

/* =========================================================
   BANDA CTA FINAL
   ========================================================= */
.cta-band {
    position: relative; overflow: hidden; padding: 60px 0;
    background: linear-gradient(100deg, var(--dark-color) 0%, rgba(15,35,24,0.85) 55%, rgba(15,35,24,0.35) 100%), var(--dark-color);
}
.cta-band-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cta-band-bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cta-band--video .cta-band-bg video { display: block; opacity: 1; filter: brightness(0.86) saturate(1.08); }
.cta-band--video .cta-band-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 35, 58, 0.42), rgba(8, 35, 58, 0.16) 62%, rgba(8, 35, 58, 0.08));
    pointer-events: none;
}
.cta-band-content { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band-script { font-size: 1.9rem; color: var(--white); max-width: 380px; }
.cta-band-text h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 18px; font-weight: 600; }
.cta-band-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band--video .cta-band-script,
.cta-band--video .cta-band-text h3 { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65); }

/* =========================================================
   SECCIÓN DE PROGRAMAS (FONDO OSCURO, DIVIDIDA)
   ========================================================= */
.programs-dark { background: var(--dark-color); }
.programs-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: start; }
.programs-intro .eyebrow { margin: 0 0 18px; }
.programs-intro h2 { color: var(--white); font-size: 2.3rem; font-weight: 700; line-height: 1.25; margin-bottom: 20px; }
.programs-intro p { color: rgba(255,255,255,0.92); margin-bottom: 30px; }

.programs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.program-card { background: var(--dark-soft); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.program-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(0,0,0,0.35); }
.program-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.program-card-body { padding: 20px; }
.program-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(201, 152, 46, 0.16); color: var(--accent-color);
    display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 1rem;
}
.program-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.program-card p { font-size: 0.87rem; color: rgba(255,255,255,0.92); margin-bottom: 14px; line-height: 1.55; }
.program-card a { color: var(--accent-color); font-size: 0.87rem; font-weight: 600; }
.program-card a:hover { text-decoration: underline; }

/* =========================================================
   TARJETAS (CARDS) Y GALERÍA
   ========================================================= */
.carousel-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 20px 0; }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.5s ease; }
.card-info { padding: 26px; }
.card-info h3 { color: var(--dark-color); margin-bottom: 10px; font-size: 1.2rem; }
.card-info p { color: var(--accent-color); margin-bottom: 15px; font-weight: 600; }
.btn-text { color: var(--primary-color); font-weight: 600; }

/* Ícono destacado dentro de tarjetas informativas (Nosotros / Contacto) */
.card > i, .interactive-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color) !important;
    margin-bottom: 18px !important;
    font-size: 1.6rem !important;
    transition: var(--transition);
}
.card:hover > i, .interactive-card:hover > i { background: var(--primary-color); color: var(--white) !important; }
.interactive-card:hover { transform: translateY(-6px); }

.badge-categoria {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    margin-top: 4px;
}

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); cursor: pointer; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item span {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 16px 16px 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    color: var(--white); font-weight: 600; font-size: 0.95rem;
    transform: translateY(100%); transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover span { transform: translateY(0); }

/* =========================================================
   GALERÍA DE VIDEOS
   ========================================================= */
.video-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.video-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.video-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.video-card video { width: 100%; height: 220px; object-fit: cover; display: block; background: #000; }
.video-card p { padding: 16px 20px; font-weight: 600; color: var(--dark-color); }

/* =========================================================
   PROGRAMAS / PAQUETES (paquetes.html)
   ========================================================= */
.paquete-card { display: flex; flex-wrap: wrap; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 40px; transition: var(--transition); }
.paquete-card:hover { box-shadow: var(--shadow-lg); }
.paquete-img { flex: 1; min-width: 300px; min-height: 320px; background-size: cover; background-position: center; }
.paquete-content { flex: 2; padding: 40px; min-width: 300px; }
.paquete-content h3 { color: var(--dark-color); font-size: 1.35rem; margin-bottom: 14px; line-height: 1.35; }
.paquete-precio { font-size: 2rem; color: var(--primary-color); font-weight: 700; margin-bottom: 15px; }
.paquete-lista { margin: 16px 0; padding-left: 20px; color: var(--text-color); }
.paquete-lista li { margin-bottom: 8px; }
.itinerario-box { background: var(--primary-light); padding: 16px 18px; border-left: 4px solid var(--primary-color); border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.9rem; color: var(--dark-soft); }

/* =========================================================
   CONTACTO Y MAPA
   ========================================================= */
.contact-container { display: flex; flex-wrap: wrap; gap: 40px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-form { flex: 1; min-width: 300px; padding: 45px; }
.contact-form h2 { color: var(--dark-color); margin-bottom: 24px; font-size: 1.6rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 20px;
    border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
    font-family: var(--font-main); font-size: 0.98rem; transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px var(--primary-light);
}
.contact-map { flex: 1; min-width: 300px; min-height: 400px; }

/* =========================================================
   CONTACTO — DISEÑO EN 3 COLUMNAS (INFO / FORMULARIO / MAPA)
   ========================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 300px 1fr 340px;
    gap: 28px;
    align-items: start;
}

.info-panel { display: flex; flex-direction: column; gap: 16px; }

.info-card {
    display: flex;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
a.info-card-link { text-decoration: none; }
.info-card-link:hover { border-color: var(--primary-color); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
}

.info-body h4 { font-size: 0.92rem; color: var(--dark-color); font-weight: 700; margin-bottom: 6px; }
.info-value { font-weight: 700; color: var(--dark-color); font-size: 1rem; margin-bottom: 2px; }
.info-desc { color: var(--gray-500); font-size: 0.86rem; line-height: 1.5; }
.info-extra { color: var(--primary-color); font-weight: 700; font-size: 0.85rem; margin-top: 8px; }
.info-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
    color: var(--primary-color); font-weight: 700; font-size: 0.88rem; transition: var(--transition);
}
.info-link:hover { gap: 10px; color: var(--primary-dark); }

.info-card-review { border-color: var(--accent-color); background: var(--accent-light); }
.info-icon-google { background: var(--accent-color); color: var(--white); }
.info-card-review .info-link { color: var(--accent-dark); }
.info-card-review:hover .info-link { color: var(--dark-color); }

.review-banner {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    margin-top: 40px; padding: 32px 36px;
    background: linear-gradient(100deg, var(--dark-color) 0%, var(--dark-soft) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.review-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.review-banner-icon {
    flex-shrink: 0; width: 68px; height: 68px; border-radius: 50%;
    background: var(--accent-color); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; box-shadow: 0 8px 20px rgba(201, 152, 46, 0.4);
}
.review-banner-body { flex: 1; min-width: 220px; }
.review-banner-body h3 { color: var(--white); font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.review-banner-body p { color: rgba(255,255,255,0.92); font-size: 0.92rem; margin-bottom: 8px; }
.review-banner-stars { color: var(--accent-color); font-size: 1.1rem; letter-spacing: 3px; }
.review-banner-cta {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent-color); color: var(--dark-color);
    font-weight: 700; font-size: 0.95rem;
    padding: 14px 26px; border-radius: var(--radius-pill);
    white-space: nowrap; transition: var(--transition);
}
.review-banner:hover .review-banner-cta { background: var(--accent-dark); color: var(--white); gap: 14px; }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}
.form-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--accent-light); color: var(--accent-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 18px;
}
.contact-form-card h2 { color: var(--dark-color); font-size: 1.5rem; margin-bottom: 8px; }
.form-subtitle { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 28px; }

.contact-form-card .input-wrapper { margin-bottom: 18px; }
.contact-form-card select { cursor: pointer; }
.contact-form-card textarea { resize: vertical; min-height: 90px; }
.input-wrapper-textarea { align-items: flex-start; padding-top: 14px; }
.input-wrapper-textarea i { margin-top: 3px; }

.form-note {
    margin-top: 18px; text-align: center; font-size: 0.85rem; color: var(--gray-500);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-note i { color: var(--primary-color); }

.map-panel { display: flex; flex-direction: column; gap: 18px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 260px; }
.map-card {
    display: flex; gap: 14px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 22px;
}
.map-card h4 { color: var(--dark-color); font-size: 0.98rem; margin-bottom: 6px; }
.btn-map {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 14px; padding: 10px 18px;
    background: var(--white); color: var(--primary-dark);
    font-weight: 700; font-size: 0.85rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.btn-map:hover { background: var(--primary-color); color: var(--white); }

@media (max-width: 1100px) {
    .contact-layout { grid-template-columns: 1fr; }
    .map-frame { height: 320px; }
}

/* =========================================================
   DIVISORES DE OLA (TRANSICIONES ONDULADAS ENTRE SECCIONES)
   ========================================================= */
.wave-divider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 46px;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
}
.wave-divider svg { display: block; width: 100%; height: 100%; }

.wave-divider-up {
    position: absolute;
    left: 0;
    right: 0;
    top: -69px;
    height: 70px;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}
.wave-divider-up svg { display: block; width: 100%; height: 100%; }

/* =========================================================
   FOOTER (BARRA DELGADA)
   ========================================================= */
.footer-slim {
    position: relative;
    background: #163a63;
    color: var(--white);
    padding: 14px 0;
}
.footer-slim-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.footer-slim-left { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.footer-slim-left i { font-size: 0.95rem; }
.footer-slim-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.3); }

.footer-slim-center { flex: 1; text-align: center; font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.9); }

.footer-slim-right { display: flex; align-items: center; gap: 16px; }
.footer-slim-socials { display: flex; align-items: center; gap: 12px; }
.footer-slim-socials a { color: var(--white); font-size: 0.95rem; transition: var(--transition); }
.footer-slim-socials a:hover { color: var(--accent-color); }

.footer-slim-cta {
    display: flex; align-items: center; gap: 8px;
    background: #8fbf3f; color: var(--white);
    font-weight: 700; font-size: 0.82rem;
    padding: 9px 20px; border-radius: var(--radius-pill);
    white-space: nowrap; transition: var(--transition);
}
.footer-slim-cta:hover { background: #7aa834; transform: translateY(-2px); }

@media (max-width: 768px) {
    .footer-slim-inner { flex-direction: column; text-align: center; }
    .footer-slim-center { order: 3; }
}

/* =========================================================
   BOTÓN DE WHATSAPP FLOTANTE
   ========================================================= */
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45); z-index: 1000; }
.whatsapp-btn:hover { background-color: #128c7e; transform: scale(1.1); }

/* =========================================================
   CABECERAS PARA PÁGINAS INTERNAS (Destinos, Paquetes, etc)
   ========================================================= */
.page-header {
    position: relative;
    min-height: 44vh;
    margin-top: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dark-color);
    border-bottom: none;
}

.page-header .eyebrow { background: rgba(255,255,255,0.14); color: var(--white); backdrop-filter: blur(4px); }
.page-header .hero-content { max-width: 700px; text-align: center; margin: 0 auto; padding-bottom: 40px; }
.page-header .hero-content .eyebrow { margin: 0 auto 18px; }
.page-header .hero-content h1 { font-size: 3.1rem; margin-bottom: 14px; }
.page-header .hero-content p { margin: 0 auto; }
.page-header-wave { border-bottom: none; }

.card-info .desc { color: var(--text-color); font-size: 0.95rem; margin-bottom: 10px; }

/* =========================================================
   SECCIÓN "QUIÉNES SOMOS" (INTRO + BUSCADOR)
   ========================================================= */
.bg-warm { background-color: var(--cream); padding: 90px 0 45px 0; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.intro-text .eyebrow { margin: 0 0 16px; }
.intro-text h2 { font-size: 2.1rem; color: var(--dark-color); margin-bottom: 22px; line-height: 1.3; font-weight: 700; }

.elegant-list { margin-bottom: 25px; }
.elegant-list li { position: relative; padding-left: 22px; margin-bottom: 15px; font-size: 1.05rem; color: var(--dark-color); }
.elegant-list li::before { content: "•"; position: absolute; left: 0; color: var(--accent-color); font-weight: bold; }

.intro-text p { font-size: 1.05rem; color: var(--text-color); font-style: italic; }

/* Buscador Horizontal */
.availability-section { padding: 20px 0 90px 0; }
.availability-title { text-align: center; font-size: 2.4rem; font-weight: 700; letter-spacing: -0.5px; color: var(--dark-color); margin-bottom: 40px; }
.availability-title span { color: var(--accent-color); }

.horizontal-search-form {
    display: flex; justify-content: space-between; gap: 18px; margin-bottom: 30px;
    background: var(--white); padding: 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.search-field { flex: 1; display: flex; flex-direction: column; }
.search-field label { font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; color: var(--gray-700); }

.input-wrapper {
    position: relative; display: flex; align-items: center;
    background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
    padding: 12px 15px; transition: var(--transition);
}
.input-wrapper:focus-within { border-color: var(--primary-color); box-shadow: 0 0 0 4px var(--primary-light); }
.input-wrapper i { margin-right: 10px; color: var(--primary-color); }
.input-wrapper input, .input-wrapper select, .input-wrapper textarea { border: none; outline: none; width: 100%; font-family: var(--font-main); font-size: 1rem; background: transparent; color: var(--dark-color); }

.btn-container-center { display: flex; justify-content: center; }

.btn-search-massive {
    background: var(--accent-color); color: var(--dark-color); border: none;
    padding: 18px 50px; border-radius: var(--radius-pill); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.5px;
    cursor: pointer; transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 10px 25px rgba(201, 152, 46, 0.35);
}
.btn-search-massive:hover { background: var(--accent-dark); color: var(--white); transform: scale(1.04) translateY(-3px); box-shadow: 0 14px 32px rgba(201, 152, 46, 0.45); }

/* =========================================================
   EFECTOS DE HOVER (TARJETAS)
   ========================================================= */
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover img { transform: scale(1.05); }
.btn-text { display: inline-block; transition: transform 0.2s ease; }
.btn-text:hover { transform: translateX(5px); }

/* =========================================================
   BARRA DE NAVEGACIÓN SUPERIOR (CLARA, HORIZONTAL)
   ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 76px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--white);
    z-index: 1000;
}

.navbar-curve {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: 75px;
    z-index: 999;
    pointer-events: none;
}
.navbar-curve svg { display: block; width: 100%; height: 100%; }

.navbar-left { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.brand-logo {
    height: 100px; /* Ajusta este valor si lo quieres más grande o pequeño */
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    flex-shrink: 0;
    transform: scale(1.2);
    transform-origin: left center;
    transition: var(--transition);
}
.navbar-left:hover .brand-logo { transform: scale(1.2); }

.navbar-title {
    margin: -6px 0 0;
    color: var(--dark-color);
    font-family: var(--font-main);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.25;
    max-width: 240px;
    white-space: normal;
}
.navbar-brand-sub {
    display: block;
    font-family: var(--font-script);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1;
    margin-left: 0;
    margin-top: 4px;
}

.nav-links-desktop { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; justify-content: flex-end; min-width: 0; }
.nav-links-desktop a {
    position: relative;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.72rem;
    white-space: nowrap;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
.nav-links-desktop a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
    background: var(--primary-color); transition: width 0.3s ease;
}
.nav-links-desktop a:hover { color: var(--primary-color); }
.nav-links-desktop a:hover::after, .nav-links-desktop a.active::after { width: 100%; }
.nav-links-desktop a.active { color: var(--primary-color); }

#menu-btn {
    display: none;
    background: var(--primary-light);
    border: 1px solid var(--primary-soft);
    color: var(--primary-color);
    font-size: 18px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
#menu-btn:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--white); }

@media (max-width: 1280px) {
    .nav-links-desktop { display: none; }
    #menu-btn { display: flex; }
}

@media (max-width: 768px) {
    .navbar { padding: 10px 16px; }
}

/* =========================================================
   MENÚ LATERAL (SIDEBAR MÓVIL)
   ========================================================= */
#menu-lateral {
    position: fixed;
    top: 0;
    left: -300px;
    width: 290px;
    height: 100%;
    background: linear-gradient(180deg, var(--dark-color) 0%, var(--dark-soft) 100%);
    box-shadow: 8px 0 30px rgba(0,0,0,0.4);
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
#menu-lateral.activo { left: 0; }

.menu-lateral-header { display: flex; align-items: center; gap: 12px; padding: 24px 22px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.menu-lateral-header img { height: 40px; width: auto; border-radius: 6px; }
.menu-lateral-header span { color: var(--white); font-weight: 700; font-size: 1rem; letter-spacing: 0.5px; }

#menu-cerrar { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.9); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: var(--transition); }
#menu-cerrar:hover { color: var(--accent-color); transform: rotate(90deg); }

#menu-lateral a {
    display: flex; align-items: center; gap: 14px;
    color: rgba(255,255,255,0.85); text-decoration: none; font-size: 1.05rem; font-weight: 500;
    padding: 16px 26px; border-left: 4px solid transparent; transition: var(--transition);
}
#menu-lateral a i { width: 20px; text-align: center; color: var(--accent-color); font-size: 1.05rem; }
#menu-lateral a:hover, #menu-lateral a.active {
    background: rgba(201, 152, 46, 0.14); border-left-color: var(--accent-color); color: var(--white); padding-left: 32px;
}

.menu-lateral-cta { margin: 20px 26px; }

.menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; pointer-events: none; transition: opacity 0.4s ease; z-index: 1998; }
.menu-overlay.activo { opacity: 1; pointer-events: auto; }

/* =========================================================
   SELECTOR DE IDIOMA Y BOTÓN DE ACCIÓN (NAVBAR CLARO)
   ========================================================= */
.navbar-right { display: flex; align-items: center; gap: 6px; }

.btn-espanol {
    background: var(--white);
    color: var(--dark-color);
    border: 1px solid var(--gray-300);
    padding: 0 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
}
.btn-espanol:hover { border-color: var(--primary-color); background: var(--primary-light); }

/* El widget real de Google se mantiene en el DOM (Google lo necesita para
   traducir) pero se oculta visualmente: usamos nuestro propio menú de abajo,
   que solo "controla por detrás" ese widget escondido. */
.google-translate-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.goog-te-gadget-icon { display: none !important; }
body { top: 0 !important; }
.skiptranslate iframe { display: none !important; }

/* Selector de idioma propio (reemplaza el desplegable nativo de Google) */
.lang-switcher { position: relative; }

.lang-switcher-btn {
    background: var(--white);
    color: var(--dark-color);
    border: 1px solid var(--gray-300);
    padding: 0 10px;
    height: 32px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
}
.lang-switcher-btn:hover { border-color: var(--primary-color); background: var(--primary-light); }

.lang-caret { font-size: 0.7rem; transition: transform 0.3s ease; }
.lang-switcher.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 190px;
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
    z-index: 1100;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.lang-switcher.open .lang-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }

.lang-menu button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.94rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}
.lang-menu button:hover { background: var(--primary-light); color: var(--primary-dark); }

.btn-cta {
    display: flex; align-items: center; gap: 6px;
    background: var(--primary-color); color: var(--white);
    font-weight: 700; font-size: 0.78rem;
    padding: 9px 16px; border-radius: var(--radius-pill);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }

@media (max-width: 1180px) {
    .btn-cta { display: none; }
}

@media (max-width: 640px) {
    .navbar { gap: 4px; padding-right: 10px; padding-left: 10px; }
    .navbar-left { min-width: 0; }
    .brand-logo { height: 56px; transform: none; }
    .navbar-right { gap: 6px; }
    .navbar-search-btn { display: none; }
    .btn-espanol { padding: 0 12px; }
    .btn-espanol .texto-es { display: none; }
    .lang-switcher-btn { padding: 0 12px; }
    .lang-switcher-btn .texto-idioma { display: none; }
    .lang-menu { right: -10px; min-width: 170px; }
    .navbar-title { font-size: 0.56rem; max-width: 150px; }
    .navbar-brand-sub { font-size: 0.85rem; }
}

@media (max-width: 400px) {
    .brand-logo { height: 42px; }
    .navbar-title { font-size: 0.48rem; max-width: 110px; }
    .navbar-brand-sub { font-size: 0.72rem; }
}
