/* =====================================================================
   GLOBAL BRIDGE ACAI · CONSULTORES ADUANALES
   Hoja de estilos · Mobile first · Enterprise / Big Tech

   Índice
   01. Tokens de diseño (paleta extraída del logotipo)
   02. Reset y base
   03. Utilidades y tipografía
   04. Botones
   05. Loader
   06. Progreso de scroll, luz de cursor, grano
   07. Header y navegación
   08. Hero
   09. Marquee
   10. Secciones · Nosotros
   11. Servicios (bento)
   12. Proceso (timeline)
   13. Puerto / cobertura
   14. Ventajas
   15. FAQ
   16. Contacto y formulario
   17. Footer
   18. WhatsApp flotante
   19. Sistema de revelado (scroll reveal)
   20. Accesibilidad y movimiento reducido
   ===================================================================== */

/* ---------- 01. TOKENS ---------- */
:root {
    /* Fondos: teal abisal (globo del logotipo) */
    --bg-0: #020b10;
    --bg-1: #03131a;
    --bg-2: #072330;
    --bg-3: #0b3040;

    /* Teal / cian (globo y líneas de red) */
    --teal-200: #a6ecee;
    --teal-300: #7fd6d8;
    --teal-400: #4db8bd;
    --teal-500: #2a8f97;
    --teal-600: #1d6a72;
    --teal-700: #124a52;
    --cyan: #5eeaf0;

    /* Oro metálico (letras ACAI) */
    --gold-100: #fbf1cf;
    --gold-200: #f1dc9b;
    --gold-300: #e3c46f;
    --gold-400: #cfa64a;
    --gold-500: #a98230;
    --gold-600: #7f5f22;
    --gold-700: #5a4216;

    /* Claros */
    --ivory: #f6f2e8;
    --ivory-2: #ece6d6;
    --ink: #08222b;
    --ink-2: #2b4a53;

    /* Texto */
    --text: #e6f0f1;
    --text-dim: #a3babe;
    --text-mute: #6f878c;

    /* Superficies */
    --line: rgba(150, 215, 220, .14);
    --line-strong: rgba(150, 215, 220, .28);
    --glass: rgba(9, 38, 50, .55);

    --grad-gold: linear-gradient(115deg, #8c6a24 0%, #d9b65e 26%, #fbeeb8 50%, #d1a94f 74%, #7a5a1e 100%);

    --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 28px;

    --header-h: 68px;
    --gutter: 20px;
}

@media (min-width: 900px) {
    :root { --header-h: 82px; --gutter: 40px; }
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ---------- 02. RESET Y BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    scrollbar-color: var(--gold-500) var(--bg-0);
}
html.has-smooth { scroll-behavior: auto; }

body {
    min-height: 100vh;
    background: var(--bg-1);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

/* Grano sutil sobre toda la página (textura premium) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: .06;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
address { font-style: normal; }
abbr { text-decoration: none; }
abbr[title] { cursor: help; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--gold-300); color: #1e1403; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 10000;
    padding: .7rem 1.1rem;
    border-radius: 999px;
    background: var(--gold-300);
    color: #1e1403;
    font-weight: 600;
    transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
    outline: 2px solid var(--gold-300);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- 03. UTILIDADES Y TIPOGRAFÍA ---------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font: 500 .72rem/1 var(--font-mono);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-300);
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}
.section--light .eyebrow { color: var(--gold-600); }

.h2 {
    margin-top: 18px;
    font: 700 clamp(1.95rem, 5.6vw, 3.6rem)/1.08 var(--font-display);
    letter-spacing: -.028em;
    text-wrap: balance;
}
.h2--xl { font-size: clamp(2.2rem, 6.6vw, 4.6rem); }
.section--light .h2 { color: var(--ink); }

.lead {
    margin-top: 22px;
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    color: var(--text-dim);
    line-height: 1.75;
}
.section--light .lead { color: var(--ink-2); }

.serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
}

.gold-shine {
    background: linear-gradient(105deg, #8c6a24 0%, #d9b65e 20%, #fff6d0 34%, #d9b65e 48%, #8c6a24 62%, #d9b65e 80%, #8c6a24 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: goldShine 7s linear infinite;
}
@keyframes goldShine { to { background-position: -250% 0; } }

.pill {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(8, 40, 52, .5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: .78rem;
    font-weight: 500;
    color: var(--teal-200);
}
.pulse-dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(94, 234, 240, .65); }
    80%, 100% { box-shadow: 0 0 0 10px rgba(94, 234, 240, 0); }
}

.section {
    position: relative;
    padding: clamp(76px, 11vw, 150px) 0;
}
.section--light {
    background: var(--ivory);
    color: var(--ink);
    border-radius: clamp(26px, 5vw, 64px);
    margin-inline: clamp(8px, 1.4vw, 20px);
    overflow: hidden;
}
.section__head {
    max-width: 780px;
    margin: 0 auto clamp(44px, 6vw, 76px);
    text-align: center;
}
.section__sub {
    max-width: 62ch;
    margin: 20px auto 0;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-dim);
}
.section__sub--left { margin-left: 0; }
.section--light .section__sub { color: var(--ink-2); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: 30px;
    font: 600 .98rem var(--font-display);
    color: var(--teal-600);
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    transition: gap .4s var(--ease), color .3s;
}
.link-arrow svg { width: 1.1em; height: 1.1em; }
.link-arrow:hover { gap: 1rem; color: var(--gold-600); }

/* ---------- 04. BOTONES ---------- */
.btn {
    --py: .95rem;
    --px: 1.6rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: var(--py) var(--px);
    border: 1px solid transparent;
    border-radius: 999px;
    font: 600 .92rem/1 var(--font-display);
    letter-spacing: .005em;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transform: translate(var(--mx, 0px), var(--my, 0px));
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-position .6s var(--ease), color .3s, border-color .3s, background-color .3s;
    -webkit-tap-highlight-color: transparent;
}
.btn--lg { --py: 1.1rem; --px: 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn__icon { width: 1.15em; height: 1.15em; flex: none; transition: transform .5s var(--ease); }
.btn:hover .btn__icon:not(.btn__icon--wa) { transform: translateX(4px); }
.btn__icon--wa { width: 1.35em; height: 1.35em; }

.btn--gold {
    color: #2a1c05;
    background: var(--grad-gold);
    background-size: 220% 100%;
    background-position: 0 0;
    box-shadow: 0 10px 34px -10px rgba(217, 182, 94, .6), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn--gold::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%);
    transform: translateX(-130%);
    animation: btnSheen 5s var(--ease-io) 2.5s infinite;
}
@keyframes btnSheen {
    0%, 55% { transform: translateX(-130%); }
    100% { transform: translateX(130%); }
}
.btn--gold:hover {
    background-position: 100% 0;
    box-shadow: 0 16px 44px -8px rgba(217, 182, 94, .8), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.btn--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, .04);
    border-color: var(--line-strong);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--gold-300); background: rgba(227, 196, 111, .1); color: var(--gold-100); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--teal-700); }

/* ---------- 05. LOADER ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    overflow: hidden;
    /* Red de seguridad: si el JS falla, el loader se retira solo */
    animation: loaderFailsafe .01s linear 9s forwards;
}
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.loader__panel {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: radial-gradient(70% 55% at 50% 50%, #0b3a48 0%, #05202b 55%, #020b10 100%);
    background-size: 100% 198%;
    transition: transform 1.15s var(--ease-io);
    will-change: transform;
}
.loader__panel--top { top: 0; background-position: 50% 0; }
.loader__panel--bottom { bottom: 0; background-position: 50% 100%; }
.loader.is-done .loader__panel--top { transform: translateY(-101%); }
.loader.is-done .loader__panel--bottom { transform: translateY(101%); }

.loader__aurora {
    position: absolute;
    width: 90vmin;
    height: 90vmin;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 234, 240, .18), rgba(217, 182, 94, .06) 45%, transparent 68%);
    filter: blur(20px);
    animation: auroraPulse 4s ease-in-out infinite;
}
@keyframes auroraPulse { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }

.loader__core {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 26px;
    transition: opacity .5s ease, transform .9s var(--ease);
}
.loader.is-done .loader__core { opacity: 0; transform: scale(1.12); }

.loader__stage {
    position: relative;
    width: min(74vw, 320px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}
.loader__spinner { position: absolute; inset: 0; transition: opacity .7s ease, transform 1s var(--ease); }
.loader.is-logo .loader__spinner { opacity: 0; transform: scale(1.3) rotate(50deg); }
.loader__svg { width: 100%; height: 100%; overflow: visible; }

.loader__svg .ring { fill: none; transform-origin: 110px 110px; }
.loader__svg .ring--a { stroke: url(#gGold); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 190 464; animation: spinCw 1.9s linear infinite; }
.loader__svg .ring--b { stroke: var(--cyan); stroke-opacity: .75; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 70 520; animation: spinCcw 2.6s linear infinite; }
.loader__svg .ring--c { stroke: var(--teal-300); stroke-opacity: .22; stroke-width: 1; stroke-dasharray: 2 7; animation: spinCw 26s linear infinite; }
@keyframes spinCw { to { transform: rotate(360deg); } }
@keyframes spinCcw { to { transform: rotate(-360deg); } }

/* Globo oficial del logotipo, en el centro del spinner */
.loader__globe {
    position: absolute;
    left: 18%;
    top: 18%;
    width: 64%;
    height: 64%;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(94, 234, 240, .38));
    animation: globeBreathe 4.2s ease-in-out infinite;
}
@keyframes globeBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.loader__sat {
    fill: var(--gold-200);
    filter: drop-shadow(0 0 6px rgba(241, 220, 155, .95));
    transform-origin: 110px 110px;
    animation: spinCw 2.4s linear infinite;
}

.loader__logo {
    position: absolute;
    inset: -4%;
    width: 108%;
    opacity: 0;
    transform: scale(.82);
    transition: opacity .9s ease, transform 1.2s var(--ease);
}
/* Sin desenfoque al aparecer: el logo entra siempre nítido */
.loader__logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .45)); }
.loader.is-logo .loader__logo { opacity: 1; transform: none; }

/* Barrido de luz sobre las letras del logo (efecto del video del cliente) */
.shine { position: relative; }
.shine::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .95) 50%, transparent 65%);
    background-size: 260% 100%;
    background-position: 160% 0;
    -webkit-mask: url("img/logo-transparente.webp") center / 100% 100% no-repeat;
    mask: url("img/logo-transparente.webp") center / 100% 100% no-repeat;
    mix-blend-mode: soft-light;
    animation: shineMove 2.6s var(--ease-io) infinite;
}
@keyframes shineMove { 0% { background-position: 160% 0; } 60%, 100% { background-position: -60% 0; } }

.loader__meta { text-align: center; }
.loader__pct {
    font: 700 clamp(2.2rem, 8vw, 3rem)/1 var(--font-display);
    letter-spacing: -.02em;
    color: var(--gold-100);
    font-variant-numeric: tabular-nums;
}
.loader__pct small { font-size: .45em; margin-left: .15em; color: var(--gold-300); }
.loader__status {
    margin-top: 12px;
    font: 500 .72rem/1 var(--font-mono);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--teal-300);
    min-height: 1em;
}
.loader__bar {
    width: min(64vw, 240px);
    height: 2px;
    margin: 18px auto 0;
    border-radius: 2px;
    background: rgba(166, 236, 238, .14);
    overflow: hidden;
}
.loader__bar span {
    display: block;
    height: 100%;
    transform-origin: left;
    transform: scaleX(0);
    background: var(--grad-gold);
    box-shadow: 0 0 12px rgba(227, 196, 111, .8);
}
.loader.is-gone { display: none; }

/* ---------- 06. PROGRESO, LUZ DE CURSOR ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span {
    display: block;
    height: 100%;
    transform-origin: left;
    transform: scaleX(var(--sp, 0));
    background: var(--grad-gold);
    box-shadow: 0 0 14px rgba(227, 196, 111, .75);
}

.cursor-glow {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 560px;
    height: 560px;
    margin: -280px 0 0 -280px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    background: radial-gradient(circle, rgba(94, 234, 240, .10), rgba(94, 234, 240, .03) 40%, transparent 64%);
    mix-blend-mode: screen;
    transition: opacity .8s ease;
    will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
    .has-pointer .cursor-glow { display: block; opacity: 1; }
}

/* ---------- 07. HEADER Y NAVEGACIÓN ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: border-color .5s ease;
}
/* El desenfoque va en un pseudo-elemento para no romper el menú móvil fixed */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: rgba(3, 17, 23, .86);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    transition: opacity .5s ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-scrolled::before { opacity: 1; }

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 3; }
.brand__mark { width: 46px; height: 46px; flex: none; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(77, 184, 189, .38)); transition: transform .8s var(--ease); }
.brand:hover .brand__mark { transform: scale(1.08) rotate(-6deg); }
.brand__text {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: baseline;
    column-gap: .38em;
    line-height: 1;
}
.brand__gb { font: 600 .92rem var(--font-display); color: #f2f5f5; letter-spacing: .01em; }
.brand__acai {
    font: 800 1.12rem var(--font-display);
    letter-spacing: .08em;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.brand__sub {
    grid-column: 1 / -1;
    margin-top: 5px;
    font: 500 .56rem var(--font-mono);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold-300);
}

/* Menú móvil a pantalla completa */
.nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background:
        radial-gradient(80% 50% at 80% 10%, rgba(42, 143, 151, .28), transparent 70%),
        rgba(2, 11, 16, .97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility .5s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav__list { display: grid; gap: 4px; }
.nav__list a {
    display: block;
    padding: .55rem 0;
    font: 700 clamp(1.8rem, 8vw, 2.6rem)/1.1 var(--font-display);
    letter-spacing: -.02em;
    color: var(--text);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.nav.is-open .nav__list a { opacity: 1; transform: none; }
.nav.is-open .nav__list li:nth-child(1) a { transition-delay: .08s; }
.nav.is-open .nav__list li:nth-child(2) a { transition-delay: .13s; }
.nav.is-open .nav__list li:nth-child(3) a { transition-delay: .18s; }
.nav.is-open .nav__list li:nth-child(4) a { transition-delay: .23s; }
.nav.is-open .nav__list li:nth-child(5) a { transition-delay: .28s; }
.nav.is-open .nav__list li:nth-child(6) a { transition-delay: .33s; }
.nav.is-open .nav__list li:nth-child(7) a { transition-delay: .38s; }
.nav__list a:hover, .nav__list a.is-active { color: var(--gold-300); }
.nav__cta { align-self: flex-start; }

.burger {
    position: relative;
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(8, 40, 52, .5);
    display: grid;
    place-content: center;
    gap: 6px;
}
.burger span {
    display: block;
    width: 20px;
    height: 1.6px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .5s var(--ease), background .3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); }

@media (min-width: 1020px) {
    .burger { display: none; }
    .nav {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 34px;
        padding: 0;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 1;
        visibility: visible;
    }
    .nav__list { display: flex; gap: 30px; }
    .nav__list a {
        position: relative;
        padding: .4rem 0;
        font: 500 .88rem var(--font-body);
        letter-spacing: .01em;
        color: var(--text-dim);
        opacity: 1;
        transform: none;
        transition: color .3s;
    }
    .nav__list a::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 1px;
        background: var(--grad-gold);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform .5s var(--ease);
    }
    .nav__list a:hover, .nav__list a.is-active { color: var(--gold-100); }
    .nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
    .nav__cta { --py: .8rem; --px: 1.3rem; font-size: .85rem; }
}

/* ---------- 08. HERO ---------- */
.hero {
    --globe-space: min(84vw, 400px);
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(120% 80% at 72% 18%, #0b3a48 0%, #062330 38%, #03121a 72%, #020b10 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.aurora--1 { width: 70vmax; height: 70vmax; left: -30vmax; top: -34vmax; background: radial-gradient(circle, rgba(42, 143, 151, .38), transparent 68%); animation: drift1 22s ease-in-out infinite; }
.aurora--2 { width: 56vmax; height: 56vmax; right: -24vmax; top: 6vmax; background: radial-gradient(circle, rgba(94, 234, 240, .16), transparent 66%); animation: drift2 26s ease-in-out infinite; }
.aurora--3 { width: 44vmax; height: 44vmax; left: 10vmax; bottom: -24vmax; background: radial-gradient(circle, rgba(217, 182, 94, .14), transparent 66%); animation: drift1 30s ease-in-out infinite reverse; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.12); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-5vmax, 6vmax) scale(.92); } }

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(166, 236, 238, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 236, 238, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 80%);
    mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 80%);
}

.hero__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.8s ease .2s;
}
.hero.is-ready .hero__canvas { opacity: 1; }

.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(2, 11, 16, .96) 0%, rgba(2, 11, 16, .78) 34%, rgba(2, 11, 16, 0) 62%),
        radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(2, 11, 16, .55) 100%);
}

.hero__inner {
    position: relative;
    z-index: 3;
    padding-top: calc(var(--header-h) + var(--globe-space) - 36px);
    padding-bottom: 92px;
}
.hero__copy { max-width: 680px; will-change: transform, opacity; }
.hero__pill { margin-bottom: 22px; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .1s, transform .9s var(--ease) .1s; }

.hero__title {
    font: 800 clamp(2.35rem, 10.2vw, 5.4rem)/1.03 var(--font-display);
    letter-spacing: -.035em;
    color: #f4f8f8;
}
.hl { display: block; overflow: hidden; padding: .04em 0 .14em; margin-bottom: -.1em; }
.hl__in { display: block; transform: translateY(112%); transition: transform 1.25s var(--ease); }
.hl:nth-child(2) .hl__in { transition-delay: .12s; }
.hl:nth-child(3) .hl__in { transition-delay: .24s; }
.hero__title .serif { font-size: 1.08em; padding-right: .06em; }

.hero__lead {
    max-width: 56ch;
    margin-top: 24px;
    font-size: clamp(1.02rem, 1.7vw, 1.22rem);
    color: var(--text-dim);
    line-height: 1.7;
}
.hero__lead strong { color: var(--gold-200); font-weight: 600; }
.hero__lead .hero__tagline { display: block; margin-bottom: .5em; color: #fff; font: 600 clamp(1.08rem, 1.9vw, 1.32rem)/1.35 var(--font-display); letter-spacing: -.012em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__micro { margin-top: 14px; font: 500 .74rem var(--font-mono); letter-spacing: .1em; color: var(--text-mute); }

.hero__lead, .hero__cta, .hero__micro, .hero__facts, .hero__hud { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero__lead { transition-delay: .55s; }
.hero__cta { transition-delay: .7s; }
.hero__micro { transition-delay: .8s; }
.hero__facts { transition-delay: .9s; }
.hero__hud { transition-delay: 1.1s; }
.hero.is-ready .hl__in,
.hero.is-ready .hero__pill,
.hero.is-ready .hero__lead,
.hero.is-ready .hero__cta,
.hero.is-ready .hero__micro,
.hero.is-ready .hero__facts,
.hero.is-ready .hero__hud { opacity: 1; transform: none; }
html.no-js .hl__in, html.no-js .hero__pill, html.no-js .hero__lead, html.no-js .hero__cta,
html.no-js .hero__micro, html.no-js .hero__facts, html.no-js .hero__hud, html.no-js .hero__canvas { opacity: 1; transform: none; }

.hero__facts {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: clamp(18px, 4vw, 44px);
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.hero__facts li { display: grid; gap: 4px; }
.hero__facts strong { font: 700 clamp(.98rem, 3.4vw, 1.5rem)/1.1 var(--font-display); color: #fff; letter-spacing: -.02em; }
.hero__facts strong i { font-style: normal; color: var(--gold-300); margin: 0 .12em; }
.hero__facts li > span { font-size: .74rem; line-height: 1.35; color: var(--text-mute); }

.hero__hud { display: none; }

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 4;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    color: var(--text-mute);
}
.scroll-cue__mouse { width: 22px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 12px; display: grid; justify-items: center; padding-top: 7px; }
.scroll-cue__mouse i { width: 3px; height: 7px; border-radius: 2px; background: var(--gold-300); animation: wheel 1.9s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(11px); opacity: 0; } }
.scroll-cue__text { font: 500 .62rem var(--font-mono); letter-spacing: .3em; text-transform: uppercase; }

@media (min-width: 900px) {
    .hero { align-items: center; }
    .hero__title { font-size: clamp(2.9rem, 4.5vw, 4.05rem); }
    .hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
        align-items: center;
        gap: 20px;
        padding-top: calc(var(--header-h) + 40px);
        padding-bottom: 110px;
    }
    .hero__vignette {
        background:
            linear-gradient(to right, rgba(2, 11, 16, .82) 0%, rgba(2, 11, 16, .42) 42%, rgba(2, 11, 16, 0) 64%),
            linear-gradient(to top, rgba(2, 11, 16, .7) 0%, rgba(2, 11, 16, 0) 30%);
    }
    .scroll-cue { display: flex; }

    .hero__hud { display: block; position: relative; align-self: stretch; min-height: 460px; pointer-events: none; }
    .hud {
        position: absolute;
        padding: 14px 18px;
        border-radius: var(--r-md);
        border: 1px solid var(--line-strong);
        background: linear-gradient(160deg, rgba(14, 60, 74, .62), rgba(5, 24, 32, .62));
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
    }
    .hud--base { top: 6%; right: 0; display: grid; gap: 3px; animation: hudFloat 7s ease-in-out infinite; }
    .hud__label { font: 500 .62rem var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-300); }
    .hud--base strong { font: 700 1.08rem var(--font-display); color: #fff; }
    .hud__mono { font: 400 .7rem var(--font-mono); color: var(--gold-300); }

    .hud--flow { bottom: 3%; left: -4%; width: 250px; animation: hudFloat 8s ease-in-out -3s infinite; }
    .hud__head { display: flex; align-items: center; gap: .6rem; font: 500 .62rem var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--teal-300); }
    .hud__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: ping 2s ease-out infinite; }
    .hud__list { display: grid; gap: 9px; margin-top: 14px; }
    .hud__list li { position: relative; padding-left: 26px; font-size: .82rem; color: var(--text-mute); transition: color .5s; }
    .hud__list li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 15px;
        height: 15px;
        margin-top: -7.5px;
        border-radius: 50%;
        border: 1.5px solid var(--line-strong);
        transition: background .4s, border-color .4s;
    }
    .hud__list li::after {
        content: '';
        position: absolute;
        left: 5px;
        top: 50%;
        width: 4px;
        height: 8px;
        margin-top: -6px;
        border: solid #1e1403;
        border-width: 0 1.8px 1.8px 0;
        transform: rotate(40deg) scale(0);
        transition: transform .4s var(--ease);
    }
    .hud__list li.is-done { color: var(--text); }
    .hud__list li.is-done::before { background: var(--gold-300); border-color: var(--gold-300); }
    .hud__list li.is-done::after { transform: rotate(40deg) scale(1); }
    .hud__bar { height: 2px; margin-top: 16px; border-radius: 2px; background: rgba(166, 236, 238, .14); overflow: hidden; }
    .hud__bar span { display: block; height: 100%; width: 0; background: var(--grad-gold); transition: width .6s var(--ease); }
    @keyframes hudFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
}

/* ---------- 09. MARQUEE ---------- */
.marquee {
    position: relative;
    z-index: 4;
    overflow: hidden;
    padding: 17px 0;
    background: var(--grad-gold);
    color: #1e1403;
    border-block: 1px solid rgba(255, 255, 255, .25);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex: none; }
.marquee__group span { font: 700 .86rem var(--font-display); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.marquee__group i { width: 8px; height: 8px; background: #1e1403; transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 10. NOSOTROS ---------- */
.about { margin-top: clamp(24px, 4vw, 48px); }
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__visual { position: relative; padding: 14px 8px 30px; }
.logo-plate {
    position: relative;
    overflow: hidden;
    padding: clamp(14px, 3vw, 30px);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: 0 50px 90px -34px rgba(8, 34, 43, .5), 0 0 0 1px rgba(8, 34, 43, .06);
    transform-style: preserve-3d;
}
.logo-plate img { width: 100%; height: auto; }
.logo-plate__shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%);
    background-size: 280% 100%;
    background-position: 170% 0;
    mix-blend-mode: overlay;
    animation: plateShine 5.2s var(--ease-io) infinite;
}
@keyframes plateShine { 0% { background-position: 170% 0; } 55%, 100% { background-position: -70% 0; } }

.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(4, 22, 29, .92);
    color: #fff;
    font: 500 .8rem/1.2 var(--font-body);
    box-shadow: 0 20px 40px -14px rgba(3, 19, 26, .6);
    border: 1px solid rgba(227, 196, 111, .35);
}
.float-badge strong { font: 800 1.9rem/1 var(--font-display); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.float-badge--a { left: -2px; bottom: 0; animation: badgeFloat 6s ease-in-out infinite; }
.float-badge--b { right: 0; top: -2px; animation: badgeFloat 7s ease-in-out -2s infinite; }
@keyframes badgeFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

.pillars { display: grid; gap: 18px; margin-top: 34px; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; }
.pillars__icon {
    flex: none;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--teal-600);
    background: rgba(29, 106, 114, .1);
    border: 1px solid rgba(29, 106, 114, .18);
}
.pillars__icon svg { width: 23px; height: 23px; }
.pillars h3 { font: 700 1.05rem var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.pillars p { margin-top: 3px; font-size: .95rem; color: var(--ink-2); line-height: 1.55; }

.stats {
    display: grid;
    gap: 0;
    margin-top: clamp(52px, 7vw, 92px);
    padding-top: clamp(30px, 4vw, 48px);
    border-top: 1px solid rgba(8, 34, 43, .14);
}
.stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: 18px 0; }
.stat + .stat { border-top: 1px solid rgba(8, 34, 43, .1); }
.stat dd { font: 800 clamp(3rem, 9vw, 5rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--ink); }
.stat dd span { background: linear-gradient(120deg, var(--teal-700), var(--teal-500) 45%, var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat dt { max-width: 26ch; font-size: .95rem; color: var(--ink-2); }

@media (min-width: 760px) {
    .stats { grid-template-columns: repeat(3, 1fr); }
    .stat { padding: 0 28px; }
    .stat:first-child { padding-left: 0; }
    .stat + .stat { border-top: 0; border-left: 1px solid rgba(8, 34, 43, .12); }
}
@media (min-width: 900px) {
    .about__grid { grid-template-columns: .92fr 1.08fr; gap: clamp(48px, 7vw, 110px); }
    .float-badge--a { left: -28px; bottom: 6px; }
    .float-badge--b { right: -22px; top: 8px; }
}
.lead--follow { margin-top: 14px; }

/* Misión y visión */
.mv { display: grid; gap: 16px; margin-top: clamp(44px, 6vw, 80px); }
.mv__card {
    position: relative;
    padding: clamp(26px, 3.2vw, 40px);
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid rgba(8, 34, 43, .08);
    box-shadow: 0 34px 60px -44px rgba(8, 34, 43, .4);
    overflow: hidden;
}
.mv__card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal-600), var(--gold-400)); }
.mv__card h3 { font: 700 clamp(1.3rem, 2.3vw, 1.7rem)/1.2 var(--font-display); letter-spacing: -.02em; color: var(--teal-700); }
.mv__card p { margin-top: 14px; color: var(--ink-2); line-height: 1.75; font-size: clamp(1rem, 1.3vw, 1.08rem); }
@media (min-width: 800px) { .mv { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* Tarjeta del asesor sobre su banner */
.profile {
    position: relative;
    margin-top: clamp(20px, 2.4vw, 28px);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-1);
    box-shadow: 0 50px 90px -44px rgba(4, 22, 29, .75);
    isolation: isolate;
}
.profile__img { width: 100%; height: auto; aspect-ratio: 1365 / 530; object-fit: cover; }
.profile::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 19, 26, .84) 0%, rgba(3, 19, 26, .5) 30%, rgba(3, 19, 26, 0) 58%),
        linear-gradient(0deg, rgba(3, 19, 26, .5), rgba(3, 19, 26, 0) 45%);
}
.profile__card {
    position: absolute;
    z-index: 2;
    left: clamp(20px, 3.4vw, 48px);
    bottom: clamp(20px, 3.4vw, 48px);
    max-width: min(440px, 54%);
    color: #fff;
}
.profile__kicker { font: 500 .66rem/1.55 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-200); }
.profile__name { margin-top: 10px; font: 700 clamp(1.4rem, 2.8vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -.02em; }
.profile__role { margin-top: 4px; color: var(--text); font-size: clamp(.92rem, 1.2vw, 1.02rem); }
.profile__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font: 600 .95rem var(--font-display); }
.profile__contact a { color: #fff; border-bottom: 1px solid rgba(227, 196, 111, .5); padding-bottom: 1px; transition: color .3s, border-color .3s; overflow-wrap: anywhere; }
.profile__contact a:hover { color: var(--gold-200); border-color: var(--gold-200); }
.profile__slogan { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .82rem; line-height: 1.55; color: var(--text-dim); }
@media (max-width: 760px) {
    .profile__img { aspect-ratio: 16 / 10; }
    .profile::after { display: none; }
    .profile__card { position: relative; inset: auto; max-width: none; padding: 22px 22px 26px; background: var(--bg-1); border-top: 1px solid rgba(227, 196, 111, .35); }
}

/* ---------- 11. SERVICIOS (BENTO) ---------- */
.services { background: linear-gradient(180deg, var(--bg-1), var(--bg-2) 40%, var(--bg-1)); overflow: clip; }
.services::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20%;
    width: 900px;
    height: 900px;
    max-width: 120vw;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(42, 143, 151, .18), transparent 65%);
    pointer-events: none;
}
.bento { position: relative; display: grid; gap: 16px; }

.card {
    --x: 50%;
    --y: 0%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 38px);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(14, 56, 70, .72), rgba(5, 25, 34, .78));
    overflow: hidden;
    isolation: isolate;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--x) var(--y), rgba(94, 234, 240, .16), transparent 62%);
    opacity: 0;
    transition: opacity .5s ease;
}
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    padding: 1.5px;
    pointer-events: none;
    background: conic-gradient(from var(--angle), transparent 0 68%, var(--gold-300) 84%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity .5s ease;
    animation: spinAngle 4.5s linear infinite;
}
@keyframes spinAngle { to { --angle: 360deg; } }
.card:hover::before, .card:hover::after { opacity: 1; }

.card__num {
    position: absolute;
    top: 16px;
    right: 24px;
    font: 800 3.6rem/1 var(--font-display);
    color: transparent;
    -webkit-text-stroke: 1px rgba(150, 215, 220, .2);
    pointer-events: none;
}
.card__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 26px;
    border-radius: 16px;
    color: var(--gold-200);
    background: linear-gradient(145deg, rgba(227, 196, 111, .18), rgba(227, 196, 111, .04));
    border: 1px solid rgba(227, 196, 111, .32);
    box-shadow: 0 10px 30px -12px rgba(227, 196, 111, .5);
    transition: transform .6s var(--ease);
}
.card:hover .card__icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font: 700 clamp(1.25rem, 2.2vw, 1.55rem)/1.2 var(--font-display); letter-spacing: -.02em; color: #fff; }
.card__tag { margin-top: 8px; font: 600 .98rem var(--font-display); color: var(--gold-200); }
.card p { margin-top: 12px; font-size: .96rem; color: var(--text-dim); line-height: 1.65; }
.card__list { display: grid; gap: 9px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.card__list li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--text); }
.card__list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: .42em;
    width: 6px;
    height: 11px;
    border: solid var(--gold-300);
    border-width: 0 1.8px 1.8px 0;
    transform: rotate(40deg);
}
.card h4 { font: 600 .72rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.card__cols { display: grid; gap: 22px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.card__cols .card__list { margin-top: 12px; padding-top: 0; border-top: 0; }
.card__links { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: auto; }
.card__links .card__link { margin-top: 0; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card__tags li { padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(227, 196, 111, .32); background: rgba(227, 196, 111, .08); font-size: .8rem; line-height: 1.3; color: var(--gold-100); }
.card__link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: auto;
    padding-top: 26px;
    font: 600 .9rem var(--font-display);
    color: var(--gold-200);
    transition: gap .4s var(--ease), color .3s;
}
.card__link svg { width: 1.1em; height: 1.1em; }
.card__link:hover { gap: .95rem; color: var(--gold-100); }
.card__glow {
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 182, 94, .16), transparent 66%);
    pointer-events: none;
    z-index: -1;
}

.card--wide {
    gap: 26px;
    background: linear-gradient(120deg, rgba(74, 55, 16, .6), rgba(7, 42, 54, .78) 60%);
    border-color: rgba(227, 196, 111, .24);
}
.card--wide .card__icon { margin-bottom: 20px; }
.card--wide .btn { align-self: flex-start; }

@media (min-width: 700px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .card--wide .card__wide-copy { max-width: 720px; }
    .card--wide .btn { align-self: center; }
}
@media (min-width: 1040px) {
    .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
    .card--despacho { grid-column: span 7; }
    .card--audit { grid-column: span 5; }
    .card__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
    .card--class, .card--comply, .card--origin { grid-column: span 4; }
    .card--wide { grid-column: span 12; }
}

/* ---------- 12. PROCESO ---------- */
.process { background: linear-gradient(180deg, var(--bg-1), #041c26 50%, var(--bg-1)); }
.process__layout { display: grid; gap: 48px; }
.process__counter { display: none; }

.timeline { position: relative; display: grid; gap: 20px; padding-left: 46px; }
.timeline__line {
    position: absolute;
    left: 11px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 2px;
    background: var(--line);
    overflow: hidden;
}
.timeline__fill {
    position: absolute;
    inset: 0;
    transform-origin: top;
    transform: scaleY(var(--p, 0));
    background: linear-gradient(var(--gold-100), var(--gold-400));
    box-shadow: 0 0 16px rgba(227, 196, 111, .8);
}
.step { position: relative; }
.step__dot {
    position: absolute;
    left: -46px;
    top: 28px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bg-2);
    border: 2px solid var(--line-strong);
    transition: border-color .5s, background .5s, box-shadow .5s, transform .6s var(--ease);
}
.step__dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-300);
    transform: scale(0);
    transition: transform .5s var(--ease);
}
.step.is-passed .step__dot { border-color: var(--gold-300); }
.step.is-passed .step__dot::after { transform: scale(1); }
.step.is-active .step__dot { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(227, 196, 111, .14), 0 0 22px rgba(227, 196, 111, .55); }

.step__body {
    --x: 50%;
    --y: 0%;
    position: relative;
    padding: clamp(22px, 2.6vw, 32px);
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(12, 50, 63, .6), rgba(5, 25, 34, .6));
    overflow: hidden;
    opacity: .5;
    transition: opacity .6s ease, border-color .6s ease, background .6s ease, transform .6s var(--ease);
}
.step__body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(360px circle at var(--x) var(--y), rgba(94, 234, 240, .13), transparent 62%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.step__body:hover::before { opacity: 1; }
.step.is-passed .step__body { opacity: 1; }
.step.is-active .step__body { border-color: rgba(227, 196, 111, .45); background: linear-gradient(160deg, rgba(20, 70, 84, .75), rgba(6, 30, 40, .75)); transform: translateX(4px); }
.step__n { display: inline-block; margin-bottom: 10px; font: 500 .72rem var(--font-mono); letter-spacing: .2em; color: var(--gold-300); }
.step h3 { font: 700 clamp(1.15rem, 2vw, 1.4rem)/1.25 var(--font-display); letter-spacing: -.02em; color: #fff; }
.step p { margin-top: 8px; color: var(--text-dim); font-size: .96rem; line-height: 1.65; }

.process__sticky .btn { margin-top: 30px; }
@media (min-width: 960px) {
    .process__layout { grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 8vw, 120px); align-items: start; }
    .process__sticky { position: sticky; top: calc(var(--header-h) + 50px); }
    .process__counter { display: flex; align-items: baseline; gap: .6rem; margin-top: 40px; }
    .process__now {
        font: 800 clamp(5rem, 9vw, 8rem)/.9 var(--font-display);
        letter-spacing: -.05em;
        background: var(--grad-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        font-variant-numeric: tabular-nums;
    }
    .process__of { font: 500 1rem var(--font-mono); color: var(--text-mute); letter-spacing: .12em; }
    .timeline { gap: 26px; padding-top: 6px; padding-bottom: 6px; }
}

/* Proceso en versión clara (se intercala con las secciones oscuras).
   overflow: clip (no hidden) para no romper el panel lateral "sticky". */
.section--light.process { background: var(--ivory); overflow: clip; }
.section--light .timeline__line { background: rgba(8, 34, 43, .12); }
.section--light .timeline__fill { background: linear-gradient(var(--gold-300), var(--gold-500)); box-shadow: 0 0 14px rgba(169, 130, 48, .4); }
.section--light .step__dot { background: var(--ivory); border-color: rgba(8, 34, 43, .24); }
.section--light .step__dot::after { background: var(--gold-500); }
.section--light .step.is-passed .step__dot { border-color: var(--gold-500); }
.section--light .step.is-active .step__dot { box-shadow: 0 0 0 7px rgba(169, 130, 48, .16), 0 0 18px rgba(169, 130, 48, .35); }
.section--light .step__body { background: #fff; border-color: rgba(8, 34, 43, .1); }
.section--light .step__body::before { background: radial-gradient(360px circle at var(--x) var(--y), rgba(42, 143, 151, .1), transparent 62%); }
.section--light .step.is-active .step__body { border-color: rgba(169, 130, 48, .55); background: linear-gradient(160deg, #fff, #faf4e4); box-shadow: 0 30px 50px -34px rgba(8, 34, 43, .45); }
.section--light .step__n { color: var(--gold-600); }
.section--light .step h3 { color: var(--ink); }
.section--light .step p { color: var(--ink-2); }
.section--light .process__of { color: var(--ink-2); opacity: .65; }
.section--light .btn--ghost { color: var(--ink); background: rgba(8, 34, 43, .03); border-color: rgba(8, 34, 43, .22); }
.section--light .btn--ghost:hover { color: var(--ink); background: rgba(169, 130, 48, .12); border-color: var(--gold-500); }

/* ---------- 13. PUERTO / COBERTURA ---------- */
.port { overflow: hidden; background: var(--bg-0); }
.port__photo { position: absolute; inset: 0; overflow: hidden; }
.port__photo img {
    width: 100%;
    height: 120%;
    margin-top: -6%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08) brightness(.72);
    will-change: transform;
}
.port__photo::after { content: ''; position: absolute; inset: 0; background: #1a7f8b; mix-blend-mode: color; opacity: .8; }
.port__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, var(--bg-1) 0%, rgba(3, 19, 26, .7) 18%, rgba(3, 19, 26, .5) 60%, var(--bg-1) 100%),
        linear-gradient(90deg, rgba(2, 11, 16, .92) 0%, rgba(2, 11, 16, .55) 60%, rgba(2, 11, 16, .4) 100%);
}
.port__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.lanes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lane {
    padding: .7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font: 500 .9rem var(--font-display);
    color: var(--text-dim);
    transition: color .3s, background .3s, border-color .3s, transform .4s var(--ease);
}
.lane:hover { color: #fff; border-color: var(--gold-300); transform: translateY(-2px); }
.lane.is-active { color: #2a1c05; background: var(--grad-gold); border-color: transparent; font-weight: 600; }
.lane-info {
    margin-top: 26px;
    padding: 20px 24px;
    border-left: 2px solid var(--gold-300);
    background: linear-gradient(90deg, rgba(227, 196, 111, .09), transparent);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.lane-info h3 { font: 700 1.25rem var(--font-display); color: #fff; letter-spacing: -.01em; }
.lane-info p { margin-top: 6px; color: var(--text-dim); font-size: .97rem; }
.lane-info.is-swap h3, .lane-info.is-swap p { animation: laneSwap .7s var(--ease); }
@keyframes laneSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.port__globe { position: relative; width: min(100%, 580px); aspect-ratio: 1; margin-inline: auto; }
.port__globe canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.port__globe canvas.is-drag { cursor: grabbing; }
.port__hint {
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    padding: .4rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(3, 19, 26, .7);
    font: 500 .64rem var(--font-mono);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-mute);
    white-space: nowrap;
}
@media (min-width: 960px) {
    .port__grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
}

/* ---------- 14. VENTAJAS ---------- */
.compare { display: grid; gap: 16px; }
.compare__col { padding: clamp(26px, 3.6vw, 44px); border-radius: var(--r-lg); }
.compare__col h3 { display: flex; align-items: center; gap: .8rem; font: 700 clamp(1.15rem, 2vw, 1.4rem) var(--font-display); letter-spacing: -.015em; }
.compare__badge { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: .9rem; flex: none; }
.compare__col ul { display: grid; gap: 4px; margin-top: 22px; }
.compare__col li { position: relative; padding: 14px 0 14px 34px; font-size: .98rem; line-height: 1.5; border-top: 1px solid var(--rule, rgba(0, 0, 0, .08)); }
.compare__col li::before { content: ''; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }

.compare__col--bad { --rule: rgba(8, 34, 43, .1); --dot: #c0604d; background: rgba(8, 34, 43, .05); border: 1px solid rgba(8, 34, 43, .1); color: var(--ink-2); }
.compare__col--bad h3 { color: var(--ink); }
.compare__col--bad .compare__badge { background: rgba(192, 96, 77, .15); color: #b4513f; }

.compare__col--good {
    --rule: rgba(255, 255, 255, .1);
    --dot: var(--gold-300);
    position: relative;
    color: var(--text);
    background: radial-gradient(90% 70% at 100% 0%, rgba(42, 143, 151, .4), transparent 60%), linear-gradient(160deg, #0a3140, #04161d);
    box-shadow: 0 40px 80px -36px rgba(4, 22, 29, .8);
}
.compare__col--good h3 { color: #fff; }
.compare__col--good .compare__badge { background: var(--grad-gold); color: #2a1c05; font-weight: 800; }
.compare__col--good .btn { margin-top: 26px; background: var(--grad-gold); color: #2a1c05; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.value {
    padding: clamp(20px, 2.4vw, 30px);
    border-radius: var(--r-md);
    background: #fff;
    border: 1px solid rgba(8, 34, 43, .08);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(8, 34, 43, .35); }
.value__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 13px; color: var(--gold-600); background: rgba(217, 182, 94, .18); }
.value__icon svg { width: 22px; height: 22px; }
.value h3 { font: 700 1rem var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.value p { margin-top: 6px; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }

@media (min-width: 800px) {
    .compare { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 960px) {
    .values { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* ---------- 14b. AVISOS Y NOTICIAS ---------- */
.notices { background: linear-gradient(180deg, var(--bg-1), var(--bg-2) 45%, var(--bg-1)); overflow: clip; }
.notices::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10%;
    width: 820px;
    height: 820px;
    max-width: 120vw;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(42, 143, 151, .16), transparent 65%);
    pointer-events: none;
}
.notices .container { position: relative; }

.rate {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 6px 16px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto clamp(26px, 4vw, 40px);
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid rgba(227, 196, 111, .35);
    background: linear-gradient(120deg, rgba(74, 55, 16, .5), rgba(7, 42, 54, .7));
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .7);
    text-align: center;
}
.rate__label { font: 500 .68rem var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.rate__value { font: 800 clamp(1.4rem, 3.4vw, 1.9rem)/1 var(--font-display); letter-spacing: -.02em; color: #fff; }
.rate__meta { font-size: .82rem; color: var(--text-dim); }

.notices__list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.notice {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(22px, 2.6vw, 30px);
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(14, 56, 70, .72), rgba(5, 25, 34, .78));
}
.notice__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.notice__tag { padding: .3rem .7rem; border-radius: 999px; border: 1px solid rgba(227, 196, 111, .4); background: rgba(227, 196, 111, .1); font: 500 .66rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-200); }
.notice--puerto .notice__tag { border-color: rgba(94, 234, 240, .4); background: rgba(94, 234, 240, .1); color: var(--teal-200); }
.notice--clima .notice__tag { border-color: rgba(255, 170, 80, .5); background: rgba(255, 170, 80, .12); color: #ffcc90; }
.notice--noticia .notice__tag { border-color: var(--line-strong); background: rgba(255, 255, 255, .06); color: var(--text); }
.notice__date { font: 400 .74rem var(--font-mono); letter-spacing: .06em; color: var(--text-mute); }
.notice h3 { font: 700 clamp(1.1rem, 1.8vw, 1.28rem)/1.3 var(--font-display); letter-spacing: -.015em; color: #fff; }
.notice p { font-size: .96rem; line-height: 1.65; color: var(--text-dim); }
.notice__link { align-self: flex-start; margin-top: auto; padding-top: 6px; font: 600 .9rem var(--font-display); color: var(--gold-200); border-bottom: 1px solid currentColor; transition: color .3s; }
.notice__link:hover { color: var(--gold-100); }

.notices__empty {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: 14px;
    max-width: 640px;
    margin-inline: auto;
    padding: clamp(28px, 4vw, 44px);
    text-align: center;
    border-radius: var(--r-lg);
    border: 1px dashed var(--line-strong);
    background: rgba(9, 38, 50, .35);
}
.notices__empty-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--gold-200); background: linear-gradient(145deg, rgba(227, 196, 111, .18), rgba(227, 196, 111, .04)); border: 1px solid rgba(227, 196, 111, .32); }
.notices__empty-icon svg { width: 26px; height: 26px; }
.notices__empty p { color: var(--text-dim); }
.notices__empty strong { color: #fff; }
.link-arrow--dark { color: var(--gold-200); margin-top: 6px; }
.link-arrow--dark:hover { color: var(--gold-100); }

/* ---------- 15. FAQ ---------- */
.faq { background: linear-gradient(180deg, var(--bg-1), var(--bg-2)); }
.faq__grid { display: grid; gap: 40px; }
.faq__head .btn { margin-top: 30px; }
.faq__head .h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 4px;
    text-align: left;
    font: 600 clamp(1rem, 1.6vw, 1.15rem)/1.35 var(--font-display);
    color: var(--text);
    letter-spacing: -.01em;
    transition: color .3s;
}
.faq__q:hover, .faq__q[aria-expanded="true"] { color: var(--gold-200); }
.faq__q i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .4s, border-color .4s, transform .6s var(--ease); }
.faq__q i::before, .faq__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] i { background: var(--gold-300); border-color: var(--gold-300); color: #1e1403; transform: rotate(180deg); }
.faq__q[aria-expanded="true"] i::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility .6s; }
.faq__a p { padding: 0 4px 26px; max-width: 64ch; color: var(--text-dim); }
.faq__q[aria-expanded="true"] + .faq__a, .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; }
html.no-js .faq__a { grid-template-rows: 1fr; }
html.no-js .faq__a > div { visibility: visible; }
@media (min-width: 960px) {
    .faq__grid { grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
    .faq__head { position: sticky; top: calc(var(--header-h) + 50px); }
}
/* FAQ en versión clara (overflow: clip para conservar el encabezado "sticky") */
.section--light.faq { background: var(--ivory); overflow: clip; }
.section--light .faq__item { border-color: rgba(8, 34, 43, .14); }
.section--light .faq__q { color: var(--ink); }
.section--light .faq__q:hover, .section--light .faq__q[aria-expanded="true"] { color: var(--teal-600); }
.section--light .faq__q i { border-color: rgba(8, 34, 43, .26); }
.section--light .faq__q[aria-expanded="true"] i { background: var(--gold-300); border-color: var(--gold-300); color: #1e1403; }
.section--light .faq__a p { color: var(--ink-2); }

/* ---------- 16. CONTACTO ---------- */
.contact { overflow: hidden; background: var(--bg-0); }
.contact__photo { position: absolute; inset: 0; overflow: hidden; }
.contact__photo img { width: 100%; height: 118%; margin-top: -5%; object-fit: cover; filter: saturate(.25) contrast(1.1) brightness(.6); }
.contact__photo::after { content: ''; position: absolute; inset: 0; background: #14808c; mix-blend-mode: color; opacity: .75; }
.contact__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, var(--bg-2) 0%, rgba(3, 19, 26, .78) 22%, rgba(3, 19, 26, .82) 100%),
        radial-gradient(80% 60% at 20% 30%, rgba(42, 143, 151, .28), transparent 70%);
}
.contact__grid { position: relative; display: grid; gap: 48px; align-items: start; }

.contact__channels { display: grid; gap: 16px; margin-top: 32px; }
.contact__channels li { display: flex; align-items: center; gap: 16px; }
.ch__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; color: var(--gold-200); background: rgba(227, 196, 111, .1); border: 1px solid rgba(227, 196, 111, .3); }
.ch__icon svg { width: 22px; height: 22px; }
.ch__label { display: block; margin-bottom: 2px; font: 500 .66rem var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.contact__channels a { font: 600 1.15rem var(--font-display); color: #fff; transition: color .3s; }
.contact__channels a:hover { color: var(--gold-200); }
.ch__sep { color: var(--text-mute); }
.contact__channels a.ch__mail { font-size: 1rem; overflow-wrap: anywhere; }
.contact__channels address { color: var(--text); font-size: 1rem; }
.contact__map { margin-top: 30px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-strong); }
.contact__map iframe { width: 100%; height: 230px; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.55) brightness(.9) contrast(.95); }

.form {
    position: relative;
    padding: clamp(24px, 3.4vw, 42px);
    border-radius: var(--r-lg);
    border: 1px solid var(--line-strong);
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.form::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--angle), transparent 0 70%, rgba(227, 196, 111, .8) 86%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: spinAngle 7s linear infinite;
}
.form__head h3 { font: 700 1.5rem var(--font-display); letter-spacing: -.02em; color: #fff; }
.form__head p { margin-top: 4px; font-size: .9rem; color: var(--text-mute); }
.field { margin-top: 18px; }
.field-row { display: grid; gap: 0; }
.field label { display: block; margin-bottom: 8px; font: 500 .82rem var(--font-body); color: var(--text-dim); }
.field label abbr { color: var(--gold-300); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: .95rem 1.05rem;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: rgba(2, 15, 21, .62);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold-300); box-shadow: 0 0 0 4px rgba(227, 196, 111, .14); background: rgba(2, 15, 21, .82); }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--gold-300); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; }
.field select:invalid { color: var(--text-mute); }
.field select option { background: #04161d; color: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff8f7d; box-shadow: 0 0 0 4px rgba(255, 143, 125, .12); }
.field__error { min-height: 0; margin-top: 6px; font-size: .8rem; color: #ffa595; }
.field__error:empty { display: none; }
.form .btn { margin-top: 26px; }
.form__status { margin-top: 16px; min-height: 1.2em; font-size: .9rem; color: var(--text-dim); text-align: center; }
.form__status a { color: var(--gold-200); text-decoration: underline; text-underline-offset: 3px; }
.form.is-sent .form__status { color: var(--gold-200); }

@media (min-width: 560px) {
    .field-row { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (min-width: 960px) {
    .contact__grid { grid-template-columns: 1fr 1.02fr; gap: clamp(40px, 6vw, 96px); }
}

/* ---------- 17. FOOTER ---------- */
.footer { position: relative; overflow: clip; background: linear-gradient(180deg, var(--bg-1), var(--bg-0) 70%); border-top: 1px solid var(--line); }
.footer::before { content: ''; position: absolute; left: 50%; top: -10%; width: 900px; height: 500px; max-width: 130vw; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(217, 182, 94, .13), transparent); pointer-events: none; }

.footer__mark { position: relative; display: grid; justify-items: center; padding: clamp(60px, 10vw, 130px) 12px 10px; line-height: .9; text-align: center; user-select: none; }
.fm__top { font: 600 clamp(1.15rem, 4.4vw, 2.6rem) var(--font-display); letter-spacing: -.01em; color: #eef2f3; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.fm__acai {
    font: 800 clamp(6.4rem, 31vw, 24rem)/.86 var(--font-display);
    letter-spacing: -.04em;
    filter: drop-shadow(0 3px 0 rgba(92, 64, 18, .85)) drop-shadow(0 22px 36px rgba(0, 0, 0, .6));
    padding: 0 .04em;
}
.fm__bottom { margin-top: 4px; font: 600 clamp(.66rem, 2.6vw, 1.6rem) var(--font-display); letter-spacing: .46em; text-transform: uppercase; color: var(--gold-300); padding-left: .46em; }

.footer__grid { position: relative; display: grid; gap: 40px; padding-top: clamp(50px, 7vw, 80px); padding-bottom: 50px; }
.footer__claim { font: 700 clamp(1.2rem, 2.4vw, 1.6rem)/1.3 var(--font-display); letter-spacing: -.02em; color: #fff; max-width: 22ch; }
.footer__small { margin-top: 12px; max-width: 42ch; font-size: .92rem; color: var(--text-mute); }
.footer__slogan { margin-top: 22px; font: 700 clamp(1rem, 1.8vw, 1.15rem)/1.3 var(--font-display); letter-spacing: -.01em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.footer__small--tight { margin-top: 6px; }
.footer__nav h2, .footer__contact h2 { font: 500 .7rem var(--font-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
.footer__nav ul, .footer__contact ul { display: grid; gap: 10px; }
.footer__nav a, .footer__contact a { color: var(--text-dim); font-size: .95rem; transition: color .3s; overflow-wrap: anywhere; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--gold-200); }
.footer__contact li { color: var(--text-dim); font-size: .95rem; }
.footer__bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px 96px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--text-mute); }
.to-top { flex: none; margin-right: 76px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--gold-200); transition: background .3s, transform .5s var(--ease); }
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: rgba(227, 196, 111, .14); transform: translateY(-4px); }
@media (min-width: 800px) {
    .footer__grid { grid-template-columns: 1.4fr .8fr 1fr; gap: 60px; }
    .footer__bottom { padding-bottom: 32px; }
}

/* ---------- 18. WHATSAPP FLOTANTE ---------- */
.wa-float {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
    /* Aviso a la izquierda, botón siempre anclado en la esquina inferior derecha */
    flex-direction: row;
    opacity: 0;
    transform: translateY(20px) scale(.8);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; }
.wa-float__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #34e58a, #0c9c52);
    box-shadow: 0 14px 36px -8px rgba(18, 200, 100, .7), 0 0 0 1px rgba(255, 255, 255, .18) inset;
    transition: transform .5s var(--ease);
}
.wa-float__btn:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float__btn svg { position: relative; width: 32px; height: 32px; }
.wa-float__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(52, 229, 138, .7); animation: waRing 2.6s ease-out infinite; }
.wa-float__ring--2 { animation-delay: 1.3s; }
@keyframes waRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }
.wa-float__tip {
    padding: 12px 34px 12px 16px;
    border-radius: 16px 16px 4px 16px;
    background: rgba(4, 22, 29, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line-strong);
    color: var(--text);
    font-size: .85rem;
    line-height: 1.3;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7);
    opacity: 0;
    transform: translateX(14px) scale(.94);
    transform-origin: right center;
    pointer-events: none;
    position: absolute;
    right: 72px;
    bottom: 4px;
    width: max-content;
    max-width: min(260px, calc(100vw - 110px));
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.wa-float__tip strong { color: var(--gold-200); font-weight: 600; }
.wa-float.show-tip .wa-float__tip { opacity: 1; transform: none; pointer-events: auto; }
.wa-float__close { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%; font-size: 1.1rem; line-height: 1; color: var(--text-mute); }
.wa-float__close:hover { color: #fff; }
@media (max-width: 420px) { .wa-float__tip { max-width: 210px; font-size: .8rem; } }

/* ---------- 19. SISTEMA DE REVELADO ---------- */
.js [data-reveal] {
    opacity: 0;
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(-56px); }
.js [data-reveal="right"] { transform: translateX(56px); }
.js [data-reveal="scale"] { transform: scale(.9); filter: blur(8px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* Cuando termina el revelado, las tarjetas recuperan la respuesta rápida del tilt */
.js [data-tilt].is-in.is-settled { transition: transform .35s var(--ease), border-color .4s, box-shadow .4s; transition-delay: 0s; }

[data-delay="1"] { --d: 1; }
[data-delay="2"] { --d: 2; }
[data-delay="3"] { --d: 3; }
[data-delay="4"] { --d: 4; }
[data-delay="5"] { --d: 5; }

/* Titulares divididos por palabras (JS) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.split .wi { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 42ms); }
.split.is-in .wi { transform: none; }

/* ---------- 20. ACCESIBILIDAD / MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    /* Sin revelado por scroll ni titulares que suben palabra por palabra */
    .js [data-reveal], .split .wi {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    /* Sin bucles decorativos (franja, auroras, destellos, flotados, pulsos) */
    .marquee__track, .aurora, .gold-shine, .btn--gold::after, .pulse-dot, .hud, .hud__dot,
    .float-badge, .logo-plate__shine, .wa-float__ring, .scroll-cue__mouse i, .card::after, .form::before {
        animation: none !important;
    }
    .cursor-glow { display: none !important; }
    /* Se conserva a propósito: loader de marca, intro del hero y el globo giratorio (canvas) */
}

/* ---------- 21. MODO LIGERO (se activa solo en equipos que no sostienen ~24 FPS; ver main.js) ----------
   Quita lo más costoso del fondo para que el globo gire fluido: el aspecto general no cambia. */
.is-lite .aurora { filter: none; animation: none; will-change: auto; }
.is-lite body::before, .is-lite .cursor-glow { display: none; }
.is-lite .pill, .is-lite .hud, .is-lite .btn--ghost, .is-lite .lane, .is-lite .form, .is-lite .site-header::before {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
