/* ========================================
   OECSA WEBSITE - MAIN STYLES
   ======================================== */

/* ==========================================
   IMAGE SAFETY — Reglas universales para que
   NINGUNA imagen rompa el layout o se distorsione,
   sin importar el tamaño/proporción de archivo subido.

   Estrategia:
   1. Todas las <img> sin object-fit explícito → contain (NO se estiran)
   2. Todas las <img> dentro de aspect-ratio containers → cover
   3. Backgrounds con url() → cover + center + no-repeat
   4. Logos: contain (preservan proporción, no rellenan)
   5. Fotos en cards/grids: cover (recortan pero no deforman)
   ========================================== */

/* Base universal: ninguna imagen excede su contenedor ni se estira */
img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    display: block;
    object-fit: contain;            /* default seguro: NO deforma */
    object-position: center;
    vertical-align: middle;
    -webkit-user-drag: none;
}

/* Si la <img> tiene object-fit/style inline, respeta el del autor */
img[style*="object-fit"] { object-fit: revert; }
img[style*="object-fit: cover"]   { object-fit: cover !important; }
img[style*="object-fit: contain"] { object-fit: contain !important; }
img[style*="object-fit:cover"]    { object-fit: cover !important; }
img[style*="object-fit:contain"]  { object-fit: contain !important; }

/* Backgrounds con imagen → siempre cover, centrado y sin repetir */
[style*="background:"][style*="url("],
[style*="background-image:"],
[style*="background-image :"],
.hero-slideshow .slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Logos institucionales (navbar, footer, login, 404, admin)
   → contain absoluto, nunca se estiran */
.top-nav-logo img,
.a-side-logo img,
footer img,
.footer-section img {
    object-fit: contain !important;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    width: auto;
}

/* Cards: la imagen interna nunca se desborda */
.card img { max-width: 100%; max-height: 100%; }

/* Logos de servicios en home: tarjetas blancas — contain preserva forma */
.service-card img {
    object-fit: contain !important;
    max-height: 80px;
}

/* Slides del hero principal: el contenedor tiene tamaño, el bg cubre */
.hero-slideshow .slide { background-size: cover; background-position: center; }

/* Imágenes circulares (avatares, premios) → cover para llenar el círculo */
img[style*="border-radius: 50%"],
img[style*="border-radius:50%"] {
    object-fit: cover !important;
}

/* Galería de obra del detalle de proyecto: cada celda es un cuadrado/4:3
   que carga la imagen como background → cover ya está aplicado arriba */

/* Loader inicial (200k.png en footer) — preservar proporción */
#load-text { object-fit: contain; max-width: 90vw; }



:root {
    --oecsa-green: #BCD02E;
    --oecsa-gray: #A7ADA1;
    --oecsa-light-bg: #fbfcfb;
    --oecsa-border: #eaede6;
    --white: #ffffff;
    --text-main: #2b2b2b;
    --text-muted: #737c6f;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.06);
    --nav-height: 88px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    color: var(--text-main);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

/* ==========================================
   TOP FIXED NAVBAR
   ========================================== */
.top-nav {
    position: fixed;
    top: 15px;
    left: 20px;
    right: 20px;
    z-index: 5000;
    height: var(--nav-height);
    /* Fondo verde; el blanco lo aplica directamente .top-nav-logo */
    background: rgba(188, 208, 46, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-top: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.top-nav.scrolled {
    top: 8px;
    background: rgba(188, 208, 46, 0.45);
}

.top-nav.scrolled:hover {
    background: rgba(188, 208, 46, 0.85);
}

.top-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.top-nav-logo {
    height: 100%;
    width: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    transition: background 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.top-nav.scrolled .top-nav-logo {
    background: rgba(255, 255, 255, 0.98);
}

.top-nav-logo img {
    height: 75px; /* Logo más grande */
    display: block;
    object-fit: contain;
}

.top-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
    padding: 0 20px;
}

.top-nav-links .nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    height: auto;
    width: auto;
    border: none;
}

.top-nav.scrolled .top-nav-links .nav-link {
    color: white;
}

.top-nav-links .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
}

.btn-nav-admin {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--oecsa-green);
    background: white; /* Contraste total: Blanco sobre Verde */
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 40px;
    border: 1px solid white;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-nav-admin:hover {
    background: transparent;
    color: white;
}

.top-nav.scrolled .btn-nav-admin {
    background: white;
    color: var(--oecsa-green);
}

/* Botón Intranet (casco) — siempre visible, contraste alto, NUNCA se oculta */
.nav-intranet-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin-right: 18px !important;
    border-radius: 50% !important;
    background: white !important;
    color: var(--oecsa-green) !important;
    text-decoration: none !important;
    font-size: 1.3rem !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-intranet-btn:hover {
    background: var(--oecsa-green) !important;
    color: white !important;
    border-color: white !important;
    transform: scale(1.08);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: white;
    cursor: pointer;
    padding: 8px;
}

.top-nav.scrolled .nav-hamburger {
    color: var(--text-main);
}

.top-nav-mobile {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--oecsa-border);
    padding: 16px 32px 24px;
    gap: 4px;
}

.top-nav-mobile.open {
    display: flex;
}

.top-nav-mobile .nav-link {
    font-size: 1rem;
    color: var(--text-main);
    padding: 12px 8px;
    border-bottom: 1px solid var(--oecsa-border);
    display: block;
    height: auto;
    width: auto;
    border-radius: 0;
    text-decoration: none;
}

.top-nav-mobile .nav-link::after {
    display: none;
}

/* ==========================================
   SNAP SCROLL CONTAINER
   ========================================== */
.snap-container {
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  
    scrollbar-width: none;
    padding-top: var(--nav-height); /* Compensar el navbar fijo */
}

.snap-container::-webkit-scrollbar {
    display: none;
}

.snap-section {
    min-height: calc(100vh - var(--nav-height));
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 8%;
}

/* First snap section (hero/video) should still be full height */
.snap-section.hero-full {
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    margin-top: calc(-1 * var(--nav-height)); /* Pull up to fill screen */
}

/* ==========================================
   TYPOGRAPHY & LAYOUT
   ========================================== */
h1, h2, h3, h4 {
    font-weight: 300;
    color: var(--text-main);
    line-height: 1.1;
    text-align: center;
}

h1 {
    font-size: clamp(3.5rem, 6vw, 5rem);
    letter-spacing: -2px;
    margin-bottom: 40px;
}

h2 {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    letter-spacing: -1px;
    margin-bottom: 35px;
    line-height: 1.2;
}

h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
}

p {
    color: var(--text-muted);
}

.bg-light {
    background-color: var(--oecsa-light-bg);
}

/* ==========================================
   CARDS & UI ELEMENTS
   ========================================== */
.card {
    background: var(--white);
    border: 1px solid var(--oecsa-border);
    border-radius: 8px;
    padding: 50px 40px;
    box-shadow: var(--shadow-sm);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--oecsa-green);
}

/* Entrance animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Light beam effect — overflow:hidden está en el wrapper div (inyectado por JS)
   El h1/h2 interior NO tiene overflow:hidden, así los acentos (á,é,ó,ú,ñ) nunca se cortan */
.beam-text {
    position: relative;
    display: block;
    overflow: hidden;
}

.beam-text::after {
    content: "";
    position: absolute;
    top: 0; 
    left: -150%;
    width: 100%; 
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(188, 208, 46, 0.2) 30%, 
        rgba(188, 208, 46, 0.8) 50%, 
        rgba(188, 208, 46, 0.2) 70%, 
        transparent 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 10;
}

.beam-text.visible::after {
    animation: beamSweep 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes beamSweep {
    0% { left: -150%; }
    100% { left: 150%; }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--oecsa-green);
    color: var(--white);
    padding: 16px 36px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 40px;
    border: 1px solid var(--oecsa-green);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--oecsa-green);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 1px solid var(--oecsa-border);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--oecsa-green);
    font-size: 1.5rem;
    transition: 0.4s ease;
}

.card:hover .icon-wrapper {
    background-color: var(--oecsa-green);
    color: var(--white);
    border-color: var(--oecsa-green);
}

/* ==========================================
   NAMED RESPONSIVE GRID CLASSES
   These classes define grid layouts and collapse
   cleanly on mobile without needing !important wars
   on inline styles.
   ========================================== */

/* History section: image left + text right */
.rg-history {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

/* Contact page: form + info side-by-side */
.rg-contact {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    width: 100%;
}

/* Footer 3-column grid */
.rg-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

/* Two-column input pairs inside forms */
.rg-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Project detail: carousel + sidebar */
.rg-project-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
    width: 100%;
}

/* ==========================================
   PREVENCIÓN GLOBAL DE OVERFLOW HORIZONTAL
   ========================================== */
html, body { overflow-x: hidden; max-width: 100vw; }
* { max-width: 100%; }
.snap-container, .snap-section, section { max-width: 100vw; overflow-x: hidden; box-sizing: border-box; }
iframe, video, img { max-width: 100%; }

/* ==========================================
   RESPONSIVE — TABLET (≤ 1024px)
   ========================================== */
@media (max-width: 1024px) {
    .snap-section {
        padding: 60px 5% !important;
    }

    /* Sidebar derecha del detalle de proyecto deja de ser sticky en tablet */
    .rg-project-body aside,
    .rg-project-body > div[style*="sticky"] {
        position: static !important;
    }

    .rg-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* ==========================================
   RESPONSIVE — MÓVIL (≤ 900px)
   ========================================== */
@media (max-width: 900px) {
    /* NAVBAR */
    .top-nav {
        overflow: visible !important;   /* permite que el menú desplegable salga del navbar */
    }
    .top-nav-links { display: none; }
    .btn-nav-admin { display: none; }
    .nav-hamburger { display: block; }
    .top-nav-logo { width: 130px !important; }
    .top-nav-logo img { height: 55px !important; }

    /* En móvil: ocultar el casco del navbar (queda dentro del menú hamburger) */
    .nav-intranet-desktop { display: none !important; }

    /* MENÚ DESPLEGABLE: posicionado debajo del navbar y con prioridad visual */
    .top-nav-mobile {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        border-radius: 12px;
        border: 1px solid var(--oecsa-border) !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
        padding: 16px 0 !important;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 6000;
    }
    .top-nav-mobile .nav-link {
        padding: 14px 28px !important;
        font-size: 1rem !important;
        color: var(--text-main) !important;
        border-bottom: 1px solid var(--oecsa-border) !important;
        border-radius: 0 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center;
        gap: 12px;
    }
    .top-nav-mobile .nav-link:last-child {
        border-bottom: none !important;
        background: var(--oecsa-green) !important;
        color: white !important;
        font-weight: 600;
    }
    .top-nav-mobile .nav-link:hover {
        background: var(--oecsa-light-bg) !important;
    }

    /* CONTENEDOR SCROLL: quitar snap en móvil (mejor UX) */
    .snap-container {
        scroll-snap-type: none;
        overflow-y: auto;
        padding-top: 80px; /* compensar navbar */
    }

    /* SECCIONES */
    .snap-section {
        padding: 50px 18px !important;
        height: auto !important;
        min-height: auto !important;
        display: block !important;
        scroll-snap-align: none !important;
    }
    .snap-section.hero-full {
        height: 90vh !important;
        min-height: 480px !important;
        max-height: 100vh !important;
        margin-top: 0 !important;
        padding: 60px 18px !important;
    }

    /* TIPOGRAFÍA */
    h1 { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; letter-spacing: -1px; margin-bottom: 22px; line-height: 1.15; }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem) !important; margin-bottom: 22px; line-height: 1.2; }
    h3 { font-size: 1.15rem !important; }
    p  { font-size: 0.98rem !important; line-height: 1.65; }

    /* BOTONES */
    .btn-primary {
        padding: 14px 28px !important;
        font-size: 0.82rem !important;
        letter-spacing: 1px;
    }

    /* MÉTRICAS */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .metrics-grid > div {
        border-right: none !important;
        border-bottom: 1px solid var(--oecsa-border);
        padding: 18px 8px !important;
    }
    .metrics-grid > div span:first-child {
        font-size: 2.5rem !important;
    }

    /* CARDS */
    .card {
        padding: 28px 22px !important;
    }
    .card:hover { transform: none !important; } /* en móvil hover es por tap, evitar saltos */

    /* FOOTER */
    .footer-section {
        display: block !important;
        padding: 50px 18px 30px !important;
    }
    .rg-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    /* GRIDS NOMBRADOS — todos a 1 columna */
    .rg-history,
    .rg-contact,
    .rg-form-fields,
    .rg-project-body,
    .rg-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .rg-history > div:first-child {
        min-height: 240px !important;
        height: 240px !important;
    }

    /* TARJETAS DE SERVICIO (home): que ocupen ancho completo, no 220px fijo */
    .service-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* SLIDER DE PROYECTOS DESTACADOS */
    .projects-slider {
        padding: 10px 4px 30px !important;
        gap: 18px !important;
    }
    .project-card-feat {
        flex: 0 0 85% !important;
        max-width: 85% !important;
    }

    /* GRID DE PROYECTOS (página proyectos) */
    #projects-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* FILTROS DE PROYECTOS */
    #filter-wrapper {
        width: 100%;
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 8px !important;
    }
    #filter-wrapper .filter-btn {
        font-size: 0.7rem !important;
        padding: 8px 14px !important;
    }

    /* HERO DEL DETALLE DE PROYECTO */
    .snap-section[style*="75vh"] {
        height: 55vh !important;
        min-height: 380px !important;
    }

    /* CAROUSEL HERO PROYECTO: títulos abajo */
    .snap-section[style*="75vh"] > div + div {
        bottom: 30px !important;
        left: 18px !important;
        right: 18px !important;
        max-width: calc(100% - 36px) !important;
    }

    /* MODAL DE REVISTA: visor a pantalla completa, sin padding excesivo */
    #revistaModal > div {
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
    }
    #revistaModal > div > div {
        padding: 12px 14px !important;
    }
    #revistaModal button {
        top: 12px !important;
        right: 16px !important;
        font-size: 2rem !important;
    }

    /* ESTANTE DE REVISTAS: tarjetas más pequeñas */
    section#memoria > div > div {
        gap: 25px !important;
    }
    section#memoria > div > div > div {
        width: 160px !important;
    }
    section#memoria > div > div > div > div:first-child {
        width: 140px !important;
        height: 196px !important;
    }

    /* PILARES SOSTENIBILIDAD */
    section.snap-section .card[style*="border-top"] {
        padding: 32px 24px !important;
    }

    /* FORMULARIO DE CONTACTO */
    form input, form textarea, form select {
        font-size: 16px !important; /* iOS no hace zoom si ≥16px */
    }

    /* BOTONES FLOTANTES */
    .floating-call-btn {
        bottom: 20px !important;
        right: 20px !important;
        left: auto !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    .floating-whatsapp-btn {
        bottom: 80px !important;
        right: 20px !important;
        left: auto !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.4rem !important;
    }

    /* MAPA EMBED EN DETALLE: que tenga aspecto razonable */
    iframe[src*="maps"] {
        min-height: 220px;
    }

    /* GALERÍA DEL DETALLE */
    .snap-section[style*="100vh"] [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* FOOTER LOGO: alinea izquierda en móvil */
    footer img { object-position: left center !important; }
}

/* ==========================================
   RESPONSIVE — MÓVIL PEQUEÑO (≤ 480px)
   ========================================== */
@media (max-width: 480px) {
    .snap-section {
        padding: 40px 14px !important;
    }

    h1 { font-size: clamp(1.7rem, 7vw, 2.1rem) !important; }
    h2 { font-size: clamp(1.3rem, 6vw, 1.7rem) !important; }
    h3 { font-size: 1.05rem !important; }
    p  { font-size: 0.95rem !important; }

    .top-nav {
        left: 8px;
        right: 8px;
        top: 8px;
        height: 70px;
    }
    .top-nav-logo { width: 100px !important; }
    .top-nav-logo img { height: 45px !important; }
    .nav-intranet-btn {
        width: 36px !important;
        height: 36px !important;
        margin-right: 8px !important;
        font-size: 1rem !important;
    }

    .btn-primary {
        width: 100%;
        padding: 13px 18px !important;
        font-size: 0.78rem !important;
    }

    .metrics-grid {
        grid-template-columns: 1fr !important;
    }
    .metrics-grid > div span:first-child {
        font-size: 2.2rem !important;
    }

    .rg-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .card {
        padding: 22px 18px !important;
    }

    /* SLIDER PROYECTOS: cards casi a ancho completo */
    .project-card-feat {
        flex: 0 0 90% !important;
        max-width: 90% !important;
    }

    /* RECONOCIMIENTOS: 1 columna en pantallas mini */
    section.snap-section.bg-light [style*="repeat(auto-fit, minmax(300px"] {
        grid-template-columns: 1fr !important;
    }

    /* ESTANTE REVISTAS: 1 por fila */
    section#memoria > div > div {
        flex-direction: column !important;
        align-items: center;
    }

    /* PROYECTO DETALLE: hero más bajo */
    .snap-section[style*="75vh"] {
        height: 45vh !important;
        min-height: 320px !important;
    }
    .snap-section[style*="75vh"] h1 {
        font-size: 1.6rem !important;
    }

    /* FICHA TÉCNICA: 1 columna */
    .ficha-list,
    .card ul[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .ficha-card { padding: 22px 18px !important; }

    /* FORMULARIO DE TRABAJO */
    form input[type="text"],
    form input[type="email"],
    form input[type="tel"],
    form textarea,
    form select {
        padding: 12px 14px !important;
    }
}

/* ==========================================
   ORIENTACIÓN LANDSCAPE EN MÓVIL
   (cuando el usuario rota el teléfono)
   ========================================== */
@media (max-width: 900px) and (orientation: landscape) {
    .snap-section.hero-full {
        height: 100vh !important;
        min-height: 320px !important;
    }
    .top-nav { height: 60px; }
}