/* =========================================================
   MAYA - AZTECA IVAO · Landing Page
   Premium minimalist design
   Palette & typography from the official brand manual (page 13)
   ========================================================= */

/* ----------  FONTS (Brand Manual)  ----------
   PRIMARY (corporate):  Eurostile Bold · Exodar
   SECONDARY (body):     Adineue Regular · Adineue PRO
   Eurostile is loaded from cdnfonts.com (publicly distributed mirror).
   Exodar & Adineue are proprietary; we declare @font-face with local()
   so that if the user has them installed they will be used; otherwise
   a quality fallback stack is applied.
   -------------------------------------------------- */
@import url('https://fonts.cdnfonts.com/css/eurostile');
@import url('https://fonts.googleapis.com/css2?family=Saira:wght@400;500;600;700;800;900&family=Rubik:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Exodar';
    src: local('Exodar'), local('Exodar Regular');
    font-display: swap;
}
@font-face {
    font-family: 'Adineue PRO';
    src: local('Adineue PRO'), local('AdihausDIN'), local('Adineue Regular');
    font-display: swap;
}

/* ----------  TOKENS (PRIMARY PALETTE · page 13 of brand manual) ---------- */
:root {
    /* Primary corporate colors (page 13) */
    --ivao-yellow:      #FFD600;   /* R255 G214 B0 */
    --ivao-orange:      #FF6F00;   /* R255 G111 B0 */
    --ivao-green:       #4CAF50;   /* R76 G175 B80 */
    --ivao-red:         #D32F2F;   /* R211 G47 B47 */
    --ivao-gray-light:  #E6E6E6;   /* R230 G230 B230 */
    --ivao-gray:        #B3B3B3;   /* R179 G179 B179 */

    /* Secondary support (page 14) — used sparingly */
    --ivao-blue:        #058FB4;
    --ivao-dark-blue:   #12394A;
    --ivao-cyan:        #36BBCA;
    --ivao-lime:        #D3DD18;
    --ivao-yellow-soft: #F8D90F;
    --ivao-orange-soft: #FE7A15;

    /* Neutrals derived from brand grays */
    --gray-50:  #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E6E6E6;           /* brand primary */
    --gray-300: #D4D4D4;
    --gray-400: #B3B3B3;           /* brand primary */
    --gray-500: #8C8C8C;
    --gray-600: #6B6B6B;
    --gray-700: #4A4A4A;
    --gray-800: #2A2A2A;
    --gray-900: #1A1A1A;
    --black:    #0F0F0F;
    --white:    #FFFFFF;

    /* Semantic */
    --bg:         #FFFFFF;
    --bg-alt:     #FAFAFA;
    --bg-dark:    #1A1A1A;
    --text:       #1A1A1A;
    --text-soft:  #4A4A4A;
    --text-muted: #8C8C8C;
    --text-light: rgba(255,255,255,.88);

    /* Accents — order requested by brand: GREEN → YELLOW → ORANGE */
    --accent:     var(--ivao-green);    /* #4CAF50 · primary CTA  */
    --accent-2:   var(--ivao-yellow);   /* #FFD600 · secondary    */
    --accent-3:   var(--ivao-orange);   /* #FF6F00 · tertiary     */
    --accent-dark:#2E7D32;              /* green · hover/darker   */

    /* Fonts (per Brand Manual) */
    --font-display: 'Eurostile', 'Exodar', 'Saira', 'Helvetica Neue', Arial, sans-serif;
    --font-body:    'Adineue PRO', 'Rubik', 'Helvetica Neue', Arial, system-ui, sans-serif;

    /* Spacing */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 6px rgba(18, 57, 74, .06);
    --shadow: 0 12px 30px rgba(18, 57, 74, .08);
    --shadow-lg: 0 24px 60px rgba(18, 57, 74, .18);

    --ease: cubic-bezier(.2, .8, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --nav-h: 80px;
}

/* ----------  RESET  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ----------  BRAND PARALLAX WATERMARK  ----------
   Logo desvanecido detrás del contenido. Usa mix-blend-mode para que
   se mezcle con el contenido y sea visible incluso detrás de tarjetas
   con fondo claro (productos, videos, galería, contacto).
*/
.brand-parallax {
    position: fixed;
    top: 55%;                        /* un poco abajo del centro */
    left: 50%;
    width: clamp(420px, 55vw, 760px);
    height: auto;
    transform: translate3d(calc(-50% + var(--parallax-x, 0px)),
                           calc(-50% + var(--parallax-y, 0px)),
                           0) rotate(-4deg);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.brand-parallax img {
    width: 100%;
    height: auto;
    opacity: .28;                    /* más visible, se ve sobre blancos */
    mix-blend-mode: multiply;        /* se mezcla con blancos y grises claros */
    filter: saturate(.9);
}

/* Navbar por encima de todo */
.navbar { position: relative; z-index: 100; }

/* Secciones posicionadas por encima del watermark,
   pero con background transparente donde corresponde para dejarlo ver. */
.section { position: relative; z-index: 1; background: transparent; }
.section-alt { position: relative; z-index: 1; }
.hero, .section-dark, .catalog-section, .footer { position: relative; z-index: 1; }

/* Truco clave: las tarjetas blancas de productos / videos / galería / formulario
   también usan mix-blend-mode para que el watermark del body sea visible a
   través de ellas (el logo "sangra" sutilmente por detrás del contenido claro). */
.product-card,
.video-card,
.gallery-item,
.contact-form,
.purpose-card,
.naming-card {
    isolation: auto;
}

@media (max-width: 640px) {
    /* En móvil escondemos el watermark: añade ruido visual en pantallas chicas */
    .brand-parallax { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .brand-parallax { transform: translate(-50%, -50%) rotate(-4deg); }
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--gray-900);
    text-transform: none;
}

::selection { background: var(--ivao-yellow); color: var(--gray-900); }

/* ----------  LAYOUT  ---------- */
.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* section-alt: usa un fondo semi-transparente sobre el color --bg-alt
   para dejar pasar el watermark del logo parallax. Mantiene la ligera
   diferenciación visual respecto a .section (blanco puro). */
.section-alt {
    background: color-mix(in srgb, var(--bg-alt) 55%, transparent);
}
.section-dark {
    background: linear-gradient(135deg, var(--gray-900) 0%, #0F0F0F 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}
.section-dark::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(76,175,80,.28), transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(255,214,0,.15), transparent 50%);
    pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--ivao-green);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 44px;
}
.section-kicker::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 32px; height: 2px;
    background: var(--ivao-yellow);
    transform: translateY(-50%);
}
.section-kicker.light { color: var(--ivao-yellow); }

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }
.section-lead {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 620px;
    margin: 0 auto;
}
.section-dark .section-lead { color: var(--text-light); }

.text-accent { color: var(--ivao-green); }
.text-accent-yellow { color: var(--ivao-yellow); }
.text-accent-orange { color: var(--ivao-orange); }

/* ----------  BUTTONS  ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.8rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .02em;
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn i { transition: transform .3s var(--ease); }

.btn-primary {
    background: var(--ivao-green);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(76, 175, 80, .38);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(76, 175, 80, .5);
}
.btn-primary:hover i { transform: translateX(3px); }

.btn-yellow {
    background: var(--ivao-yellow);
    color: var(--gray-900);
    box-shadow: 0 10px 25px rgba(255, 214, 0, .38);
}
.btn-yellow:hover {
    background: #F0C800;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 214, 0, .5);
}

.btn-orange {
    background: var(--ivao-orange);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 111, 0, .38);
}
.btn-orange:hover {
    background: #E65100;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 111, 0, .5);
}

.btn-ghost {
    border: 2px solid rgba(255,255,255,.4);
    color: var(--white);
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,.08);
}
.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.15);
    transform: translateY(-3px);
}
.btn-ghost:hover i { transform: translateX(3px); }

/* Ghost alternate (sobre fondos oscuros como sección catálogo) */
.btn-ghost-light {
    border: 2px solid rgba(255,255,255,.45);
    color: var(--white);
    background: transparent;
}
.btn-ghost-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
    transform: translateY(-3px);
}
.btn-ghost-light:hover i { transform: translateX(3px); }

.btn-lg { padding: 1.1rem 2.2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ----------  LOADER  ---------- */
.loader {
    position: fixed; inset: 0;
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000;
    transition: opacity .6s var(--ease), visibility .6s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-logo img {
    width: 160px;
    animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.94); }
}

/* ----------  NAVBAR  ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255, .6);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    z-index: 100;
    transition: all .3s var(--ease);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255, .96);
    border-bottom-color: rgba(26, 26, 26, .08);
    box-shadow: 0 4px 20px rgba(26, 26, 26, .06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo img { height: 50px; width: auto; transition: transform .3s var(--ease); }
.nav-logo:hover img { transform: scale(1.04); }

.nav-menu ul {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 500;
    color: var(--gray-900);
    position: relative;
    padding: .4rem 0;
    letter-spacing: .02em;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--ivao-green);
    transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ivao-green); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
    background: var(--ivao-green);
    color: var(--white) !important;
    padding: .7rem 1.4rem !important;
    border-radius: 999px;
    transition: all .3s var(--ease);
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }
.nav-cta::after { display: none; }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    position: relative;
    z-index: 200;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--gray-900);
    margin: 5px auto;
    transition: all .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------  HERO  ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    padding-top: var(--nav-h);
}

/* Dos capas de fondo en el hero para crossfade aleatorio entre imágenes */
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    will-change: opacity, transform;
    animation: heroZoom 18s var(--ease) infinite alternate;
}
.hero-bg.is-active { opacity: 1; }

@keyframes heroZoom {
    to { transform: scale(1.14); }
}

.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 15, 15, .45) 0%, rgba(15, 15, 15, .85) 100%),
        linear-gradient(120deg, rgba(76, 175, 80, .38), transparent 60%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 2rem 0;
    max-width: 900px;
}

.hero-kicker {
    display: inline-block;
    padding: .5rem 1.2rem;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,.08);
}

.hero-title {
    font-size: clamp(2.25rem, 6vw, 4.75rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.02em;
    margin-bottom: 1.4rem;
}
.hero-title .text-accent { color: var(--ivao-yellow); }
.hero-title .text-accent-2 { color: var(--ivao-orange); }

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 640px;
    margin: 0 auto 2.4rem;
    color: rgba(255,255,255,.9);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,.6);
    border-radius: 14px;
}
.hero-scroll span {
    display: block;
    width: 3px; height: 8px;
    background: var(--white);
    border-radius: 2px;
    margin: 7px auto 0;
    animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(14px); opacity: 0; }
}

/* ----------  GRID-2 (About)  ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-media {
    position: relative;
}
.about-img {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform .6s var(--ease);
}
.about-media:hover .about-img { transform: translateY(-6px); }
.about-badge {
    position: absolute;
    bottom: 1.5rem; left: -1.5rem;
    background: var(--ivao-green);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 14px 30px rgba(76,175,80,.35);
    display: flex; flex-direction: column;
    font-family: var(--font-display);
    min-width: 140px;
}
.about-badge strong { font-size: 2.5rem; line-height: 1; }
.about-badge span { font-size: .85rem; font-weight: 500; margin-top: .25rem; }

.about-content .section-kicker { padding-left: 44px; }
.about-content p {
    color: var(--text-soft);
    margin: 1rem 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--ivao-green);
    line-height: 1;
}
.stat .plus {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--ivao-green);
    font-weight: 700;
}
.stat small { margin-top: .4rem; color: var(--text-soft); font-size: .85rem; }

/* Naming card */
.naming-card {
    margin-top: 4rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(76,175,80,.08) 0%, rgba(255,214,0,.05) 100%);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    border-left: 4px solid var(--ivao-green);
}
.naming-flag {
    display: flex;
    gap: .5rem;
}
.flag-guat, .flag-mex, .flag-dom {
    width: 46px; height: 46px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}
.flag-guat { background: linear-gradient(90deg, #4997D0 33%, #fff 33%, #fff 66%, #4997D0 66%); }
.flag-mex { background: linear-gradient(90deg, #006847 33%, #fff 33%, #fff 66%, #CE1126 66%); }
.flag-dom {
    background:
        linear-gradient(90deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%),
        linear-gradient(0deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%),
        linear-gradient(180deg, #002D62 0 50%, #CE1126 50% 100%);
}
.naming-text h3 {
    font-size: 1.3rem;
    margin-bottom: .5rem;
}
.naming-text p { color: var(--text-soft); font-size: .95rem; }

/* ----------  PURPOSE  ---------- */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.purpose-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.purpose-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60px; height: 3px;
    background: var(--ivao-yellow);
    transition: width .4s var(--ease);
}
.purpose-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.18);
}
.purpose-card:hover::before { width: 100%; }

.purpose-card.featured {
    background: linear-gradient(180deg, rgba(76,175,80,.22) 0%, rgba(76,175,80,.06) 100%);
    border-color: rgba(76,175,80,.35);
}
.purpose-card.featured::before { background: var(--ivao-orange); }

.purpose-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ivao-green), #6DD471);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(76,175,80,.45);
}
.purpose-card.featured .purpose-icon {
    background: linear-gradient(135deg, var(--ivao-yellow), var(--ivao-orange));
    box-shadow: 0 10px 25px rgba(255,111,0,.4);
    color: var(--gray-900);
}

.purpose-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.purpose-card p { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.7; }

.values-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 0;
    color: rgba(255,255,255,.9);
    font-size: .95rem;
}
.values-list i {
    color: var(--ivao-green);
    font-size: .85rem;
    flex-shrink: 0;
}

/* ----------  PRODUCTS  ---------- */
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .4s var(--ease);
    position: relative;
}
.product-card::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(76,175,80,0);
    transition: box-shadow .4s var(--ease);
    pointer-events: none;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
}
.product-card:hover::after { box-shadow: 0 24px 60px rgba(76,175,80,.18); }

.product-img {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
}
.product-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform .6s var(--ease);
}
.product-card:hover .product-img img { transform: scale(1.08); }

.product-body { padding: 1.5rem 1.75rem 1.75rem; }
.product-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ivao-green);
    margin-bottom: .6rem;
    padding: .3rem .7rem;
    background: rgba(76,175,80,.1);
    border-radius: 999px;
}
.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
    color: var(--gray-900);
}
.product-body p { color: var(--text-soft); font-size: .9rem; }

/* ----------  CAROUSEL (PRODUCTS)  ---------- */
.carousel {
    position: relative;
    padding: 0 60px;
}
.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform .6s var(--ease);
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 calc((100% - 3rem) / 3);   /* 3 visible by default */
    min-width: 0;
    opacity: .55;
    transform: scale(.94);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.carousel-slide.is-active,
.carousel-slide.is-visible {
    opacity: 1;
    transform: scale(1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-900);
    font-size: 1rem;
    box-shadow: var(--shadow);
    transition: all .3s var(--ease);
    z-index: 5;
    display: inline-flex;
    align-items: center; justify-content: center;
}
.carousel-btn:hover {
    background: var(--ivao-green);
    color: var(--white);
    border-color: var(--ivao-green);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 14px 28px rgba(76,175,80,.4);
}
.carousel-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
    transform: translateY(-50%);
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: 2rem;
}
.carousel-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 0;
    cursor: pointer;
    transition: all .3s var(--ease);
    padding: 0;
}
.carousel-dot:hover { background: var(--ivao-green); }
.carousel-dot.active {
    background: var(--ivao-green);
    width: 30px;
    border-radius: 5px;
}

.carousel-progress {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 320px;
    height: 3px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.carousel[data-autoplay="true"] .carousel-progress { opacity: .6; }
.carousel-progress-bar {
    height: 100%;
    background: var(--ivao-green);
    width: 0;
    transition: width linear;
}

/* Responsive slides per view */
@media (max-width: 1024px) {
    .carousel { padding: 0 50px; }
    .carousel-slide { flex-basis: calc((100% - 1.5rem) / 2); }   /* 2 slides */
}
@media (max-width: 640px) {
    /* En móvil: 1 slide a pantalla completa, sin flechas (suplen swipe + dots) */
    .carousel { padding: 0; }
    .carousel-slide {
        flex-basis: 100%;
        /* Desactivamos el scale/opacity de slides inactivos: en móvil sólo
           se ve 1 a la vez, así que no hay adyacentes que "atenuar" visualmente,
           y el scale producía pequeñas desalineaciones y texto cortado. */
        opacity: 1 !important;
        transform: none !important;
    }
    .carousel-track { gap: 0; }          /* sin gap = sin bordes vecinos asomándose */

    /* Ocultamos las flechas en móvil: el usuario navega con swipe y puntitos,
       y así la imagen del producto no queda tapada. */
    .carousel-btn { display: none; }

    /* Margen inferior extra para que los puntitos respiren */
    .carousel-dots { margin-top: 1.5rem; }
}

/* ----------  GALLERY  ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    grid-auto-flow: dense;   /* rellena automáticamente los huecos que dejan los spans */
    gap: 12px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--gray-200);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.gallery-item.in { opacity: 1; transform: none; }

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease), filter .5s var(--ease);
}
.gallery-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(76,175,80,.85) 100%);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.gallery-item::before {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
    transform: scale(.8);
    z-index: 2;
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(.85); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover::before { opacity: 1; transform: scale(1); }

.gallery-item.span-2 { grid-column: span 2; grid-row: span 2; }
.gallery-item.span-h { grid-column: span 2; }
.gallery-item.span-v { grid-row: span 2; }

/* ----------  CATALOG  ---------- */
.catalog-section {
    background: linear-gradient(135deg, var(--ivao-green) 0%, #2E7D32 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.catalog-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,214,0,.35), transparent 70%);
    top: -200px; right: -150px;
    pointer-events: none;
}
.catalog-section::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,111,0,.3), transparent 70%);
    bottom: -150px; left: -100px;
    pointer-events: none;
}
.catalog-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.catalog-icon {
    width: 140px; height: 140px;
    border-radius: 28px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    color: var(--ivao-yellow);
    flex-shrink: 0;
    animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}
.catalog-body .section-title { margin-bottom: 1rem; }
.catalog-body p { color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 560px; }

.catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem 1rem;
    align-items: center;
}
.catalog-actions .btn { cursor: pointer; }

.catalog-note {
    display: block;
    margin-top: 1rem;
    font-size: .8rem;
    opacity: .7;
}

/* ----------  PDF MODAL (visor interactivo del catálogo)  ---------- */
.pdf-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 20, .92);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}
.pdf-modal.open {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1.25rem;
    background: linear-gradient(180deg, rgba(30,40,48,.98), rgba(18,25,30,.98));
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff;
    flex-wrap: wrap;
}
.pdf-modal-title {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: .5px;
}
.pdf-modal-title i {
    color: var(--ivao-orange);
    font-size: 1.5rem;
}

.pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .95rem;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    font-size: .82rem;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.pdf-btn:hover {
    background: var(--ivao-green);
    border-color: var(--ivao-green);
    color: #fff;
    transform: translateY(-1px);
}
.pdf-btn.pdf-close {
    background: transparent;
    border-color: rgba(255,255,255,.2);
    font-size: 1rem;
    padding: .55rem .8rem;
}
.pdf-btn.pdf-close:hover {
    background: var(--ivao-red);
    border-color: var(--ivao-red);
}

.pdf-modal-body {
    flex: 1;
    background: #2a2e33;
    overflow: hidden;
}
#pdfFrame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #2a2e33;
}

@media (max-width: 640px) {
    .pdf-modal-title span { display: none; }
    .pdf-btn span { display: none; }
    .pdf-btn { padding: .55rem .7rem; }
}

/* ----------  CONTACT  ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.info-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ivao-green), #6DD471);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(76,175,80,.3);
}
.info-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: .95rem;
    color: var(--gray-900);
    margin-bottom: .15rem;
}
.info-item a, .info-item span { color: var(--text-soft); font-size: .95rem; }
.info-item a:hover { color: var(--ivao-green); }

.socials { display: flex; gap: .75rem; margin-top: 2rem; }
.socials a {
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--gray-900);
    transition: all .3s var(--ease);
    background: var(--white);
}
.socials a:hover {
    background: var(--ivao-green);
    color: var(--white);
    border-color: var(--ivao-green);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: .4rem;
    font-family: var(--font-display);
    letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text);
    background: var(--white);
    transition: all .25s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ivao-green);
    box-shadow: 0 0 0 4px rgba(76,175,80,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--ivao-red); background: rgba(211,47,47,.03); }

.form-status {
    margin-top: 1rem;
    padding: .8rem 1rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all .3s var(--ease);
}
.form-status.show { opacity: 1; max-height: 80px; }
.form-status.success { background: rgba(76,175,80,.1); color: var(--ivao-green); }
.form-status.error { background: rgba(211,47,47,.1); color: var(--ivao-red); }

/* ----------  FOOTER  ---------- */
.footer {
    background: var(--black);
    color: rgba(255,255,255,.7);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}
.footer-col p { font-size: .9rem; line-height: 1.8; }
.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    letter-spacing: .02em;
}
.footer-col ul li {
    padding: .3rem 0;
    font-size: .9rem;
}
.footer-col a:hover { color: var(--ivao-yellow); }
.footer-col .socials a {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.1);
    color: var(--white);
}
.footer-col .socials a:hover {
    background: var(--ivao-green);
    border-color: var(--ivao-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ----------  LIGHTBOX  ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: opacity .3s var(--ease), visibility .3s;
    backdrop-filter: blur(10px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    animation: lbIn .4s var(--ease);
}
@keyframes lbIn {
    from { opacity: 0; transform: scale(.94); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: var(--white);
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,.2);
    transition: all .25s var(--ease);
    backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--ivao-green); border-color: var(--ivao-green); transform: scale(1.08); }

.lightbox-close { top: 24px; right: 24px; }
.lightbox-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next:hover { transform: translateY(-50%) scale(1.08); }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-family: var(--font-display);
    background: rgba(255,255,255,.1);
    padding: .4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.2);
    font-size: .85rem;
    backdrop-filter: blur(8px);
}

/* ----------  BACK TO TOP  ---------- */
.to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--ivao-green);
    color: var(--white);
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(76,175,80,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s var(--ease);
    z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent-dark); transform: translateY(-4px); }

/* ----------  FLOATING WHATSAPP  ---------- */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 5.5rem;                  /* a la izquierda del botón "volver arriba" */
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #25D366;            /* verde oficial WhatsApp */
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .55);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
    z-index: 95;
    animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float:hover {
    background: #128C7E;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 32px rgba(37, 211, 102, .55);
    animation: none;
}
.wa-float i { line-height: 1; }

.wa-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: var(--gray-900);
    color: #fff;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .5rem .75rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--gray-900);
}
.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@keyframes wa-pulse {
    0%   { box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .55); }
    70%  { box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ----------  REVEAL ANIM  ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; }
    .purpose-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .catalog-card { grid-template-columns: 1fr; text-align: center; }
    .catalog-icon { margin: 0 auto; }
    .catalog-body p { margin-left: auto; margin-right: auto; }
    .about-badge { left: 1rem; }
}

@media (max-width: 768px) {
    :root { --nav-h: 70px; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 85%; max-width: 340px;
        height: 100vh;
        background: var(--white);
        padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
        box-shadow: -20px 0 50px rgba(18,57,74,.1);
        transition: right .4s var(--ease);
    }
    .nav-menu.open { right: 0; }
    .nav-menu ul { flex-direction: column; gap: 1.2rem; align-items: flex-start; }
    .nav-link { font-size: 1.05rem; }
    .nav-cta { width: 100%; justify-content: center; margin-top: 1rem; }

    .nav-toggle { display: block; }

    .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .about-badge { position: static; margin-top: 1rem; display: inline-flex; flex-direction: row; align-items: center; gap: 1rem; }
    .about-badge strong { font-size: 2rem; }

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

    .naming-card { grid-template-columns: 1fr; text-align: center; padding: 1.5rem; }
    .naming-flag { justify-content: center; }

    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gallery-item.span-2 { grid-column: span 2; grid-row: span 2; }

    .contact-form { padding: 1.75rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-col .socials { justify-content: center; }
    .footer-bottom .container { justify-content: center; text-align: center; }

    .lightbox-nav.prev { left: 12px; }
    .lightbox-nav.next { right: 12px; }
    .lightbox-close { top: 12px; right: 12px; }

    .to-top { bottom: 1rem; right: 1rem; }
    .wa-float { bottom: 1rem; right: 4.5rem; width: 52px; height: 52px; font-size: 1.65rem; }
    .wa-tooltip { display: none; }
}

@media (max-width: 480px) {
    .section { padding: 4rem 0; }
    .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .gallery-item.span-2 { grid-column: span 1; grid-row: span 1; }
    .catalog-icon { width: 110px; height: 110px; font-size: 3rem; }
}

/* =========================================================
   CARRUSEL · Placeholder para productos sin imagen aún
   ========================================================= */
.product-img-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200)) !important;
    color: var(--ivao-green);
    font-size: 4.5rem;
    min-height: 200px;
}

/* =========================================================
   VIDEOS · Slider (reutiliza estructura del carrusel)
   ========================================================= */
.video-carousel {
    margin-top: 1rem;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
}

.video-tag {
    display: inline-block;
    align-self: flex-start;
    background: color-mix(in srgb, var(--ivao-green) 15%, transparent);
    color: var(--ivao-green);
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: .25rem .6rem;
    border-radius: 999px;
}

.video-title {
    font-size: 1.15rem;
    color: var(--gray-900);
}

.video-card p {
    color: var(--text-soft);
    font-size: .95rem;
    margin: 0;
}

/* ----------  PREFERS REDUCED MOTION  ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .hero-bg { animation: none; }
}
