/* ═══════════════════════════════════════════════════════════════
   TAPICERÍA MIRANDA · Diseñando tus ideas
   Sistema de diseño: negro ónix + oro champaña + marfil
   Metodología: mobile-first (breakpoints: 640 · 900 · 1000 · 1280)
═══════════════════════════════════════════════════════════════ */

/* ───────────────────────── 1. TOKENS ───────────────────────── */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
    --ink:   #07070A;
    --ink-2: #0D0D11;
    --ink-3: #14141A;
    --ivory: #FAF7F1;
    --ivory-2: #F2ECDF;
    --sand:  #E9E1CF;

    --gold-1: #FBEFC2;
    --gold-2: #E8CB7C;
    --gold-3: #C9A24B;
    --gold-4: #9A7424;
    --gold-5: #6E5217;

    --grad-gold:   linear-gradient(115deg, #8C651B 0%, #D9B65F 24%, #FBEFC2 42%, #C9A24B 60%, #9A7424 80%, #E4C672 100%);
    --grad-gold-l: linear-gradient(115deg, #6E5217 0%, #B38A2E 30%, #E0BF63 48%, #9A7424 66%, #6E5217 100%);

    --f-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --f-ui:      'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --f-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --ease:    cubic-bezier(.22, 1, .36, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);

    --gut: clamp(20px, 5vw, 64px);
    --max: 1240px;
    --nav-h: 68px;
    --r-s: 12px;
    --r-m: 20px;
    --r-l: 28px;
}

/* Temas por sección: alternamos oscuras y claras */
.is-dark {
    --bg: var(--ink);
    --fg: #F5F0E6;
    --fg-2: rgba(245, 240, 230, .7);
    --fg-3: rgba(245, 240, 230, .42);
    --bd: rgba(255, 255, 255, .1);
    --card: rgba(255, 255, 255, .035);
    --card-2: rgba(255, 255, 255, .07);
    --accent: var(--gold-2);
    --grad-text: var(--grad-gold);
}
.is-light {
    --bg: var(--ivory);
    --fg: #17130D;
    --fg-2: #5A5143;
    --fg-3: #8B8171;
    --bd: rgba(23, 19, 13, .13);
    --card: #FFFFFF;
    --card-2: #FFFFFF;
    --accent: var(--gold-4);
    --grad-text: var(--grad-gold-l);
}

/* ───────────────────────── 2. RESET & BASE ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; background: var(--ink); }
html.is-loading, html.is-locked { overflow: hidden; }
body {
    font-family: var(--f-ui);
    font-size: 1rem;
    line-height: 1.65;
    color: #F5F0E6;
    background: var(--ink);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
fieldset { border: 0; min-width: 0; }
address { font-style: normal; }
::selection { background: var(--gold-3); color: #0A0806; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
    position: fixed; left: 16px; top: -80px; z-index: 2000;
    padding: 12px 18px; border-radius: 999px; background: var(--gold-2); color: #0A0806; font-weight: 700;
    transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

/* Grano sutil de película (solo escritorio, para no cargar la GPU del móvil) */
body::after {
    content: ''; position: fixed; inset: 0; z-index: 1500; pointer-events: none; opacity: .045; mix-blend-mode: overlay; display: none;
    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");
}

@media (hover: hover) and (pointer: fine) { body::after { display: block; } }

/* ───────────────────────── 3. TIPOGRAFÍA ───────────────────────── */
.h1, .h2, .statement { font-family: var(--f-display); font-weight: 400; letter-spacing: -.025em; color: var(--fg); }
.h1 { font-size: clamp(2.2rem, 3.2vw + 1.4rem, 4.6rem); font-weight: 340; line-height: 1.08; text-wrap: balance; }
.h2 { font-size: clamp(1.95rem, 2.8vw + 1rem, 3.6rem); line-height: 1.07; text-wrap: balance; }
.statement { text-wrap: pretty; }
em { font-style: italic; }
.body { font-size: clamp(1rem, .25vw + .95rem, 1.14rem); color: var(--fg-2); max-width: 56ch; }
.lead { font-size: clamp(1.02rem, .5vw + .95rem, 1.22rem); color: var(--fg-2); max-width: 50ch; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.eyebrow-n { padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; letter-spacing: .1em; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); animation: ping 2.2s infinite; }
.eyebrow--ink { color: #14100A; }

/* Texto con degradado dorado animado */
.gold-text {
    background: var(--grad-text); background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    animation: goldPan 7s ease-in-out infinite alternate;
}
.gold-text.gt-split { background: none; animation: none; }
.gt-split .wi {
    background: var(--grad-text); background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    animation: goldPan 7s ease-in-out infinite alternate;
}

/* ───────────────────────── 4. SECCIONES ───────────────────────── */
.sec { position: relative; padding-block: clamp(80px, 11vw, 150px); background: var(--bg); color: var(--fg); overflow: clip; }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; justify-items: start; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-glow {
    position: absolute; left: -20%; top: -10%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(201, 162, 75, .17), transparent 70%);
    pointer-events: none; animation: drift1 20s ease-in-out infinite alternate;
}
.sec-glow--r { left: auto; right: -25%; top: auto; bottom: -20%; }

/* ───────────────────────── 5. BOTONES ───────────────────────── */
.btn {
    --h: 52px;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--h); padding: 0 26px; border-radius: 999px;
    font-weight: 700; font-size: .95rem; line-height: 1.15; text-align: center;
    overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent;
    transition: transform .5s var(--ease), translate .45s var(--ease), box-shadow .5s var(--ease), background .4s, color .4s, border-color .4s;
}
.btn .ic { width: 20px; height: 20px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 1rem; }
.btn-sm { --h: 44px; padding: 0 20px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn .ic-arrow { transition: transform .5s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(5px); }

.btn-gold {
    color: #14100A; background: var(--grad-gold); background-size: 220% 100%;
    box-shadow: 0 10px 30px -8px rgba(201, 162, 75, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
    animation: goldPan 6s ease-in-out infinite alternate;
}
.btn-gold::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -8px rgba(201, 162, 75, .85), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-gold:hover::before { transform: translateX(120%); }

.btn-ghost {
    color: var(--fg); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px);
    border: 1px solid color-mix(in srgb, var(--fg) 24%, transparent);
}
.btn-ghost:hover { border-color: var(--gold-2); background: rgba(232, 203, 124, .1); transform: translateY(-2px); }
.is-light .btn-ghost { background: transparent; }

.btn-dark { color: var(--gold-1); background: var(--ink); box-shadow: 0 14px 32px -12px rgba(7, 7, 10, .7); }
.btn-dark::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(232, 203, 124, .28) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(7, 7, 10, .8); }
.btn-dark:hover::before { transform: translateX(120%); }

.btn-ink { color: var(--gold-1); background: #0A0806; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .55); }
.btn-ink::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(232, 203, 124, .3) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-ink:hover { transform: translateY(-3px); }
.btn-ink:hover::before { transform: translateX(120%); }

/* ───────────────────────── 6. ICONOS ───────────────────────── */
.ic {
    width: 1.25em; height: 1.25em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.ic-fill { fill: currentColor; stroke: none; }

/* ───────────────────────── 7. MARCA (logo dorado) ───────────────────────── */
/* El logo original es blanco sobre negro: con "multiply" sobre un degradado dorado se vuelve dorado sobre negro */
.brand-disc {
    position: relative; display: block; flex: none; width: var(--s, 46px); aspect-ratio: 1;
    border-radius: 50%; overflow: hidden; isolation: isolate;
    background: var(--grad-gold); background-size: 300% 100%;
    box-shadow: 0 0 0 1px rgba(232, 203, 124, .4);
    animation: goldPan 7s ease-in-out infinite alternate;
}
.brand-disc img {
    position: absolute; width: 183.7%; max-width: none; height: auto; left: -39.4%; top: -2.15%;
    mix-blend-mode: multiply;
}
.brand-disc--lg { --s: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-txt { display: grid; line-height: 1.15; }
.brand-txt strong { font-family: var(--f-display); font-weight: 500; font-size: 1.04rem; letter-spacing: .02em; color: #F5F0E6; }
.brand-txt small { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-top: 3px; }

/* ───────────────────────── 8. LOADER ───────────────────────── */
#loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; color: var(--gold-1); }
.ld-panel { position: absolute; left: 0; right: 0; background: #050507; transition: transform 1.1s var(--ease-io); }
.ld-panel--t { top: 0; height: 50.2%; }
.ld-panel--b { bottom: 0; height: 50.2%; }
.ld-seam {
    position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; z-index: 3;
    background: linear-gradient(90deg, transparent, var(--gold-1), transparent);
    box-shadow: 0 0 24px 4px rgba(232, 203, 124, .6);
    opacity: 0; transform: scaleX(0); transition: transform .7s var(--ease), opacity .4s;
}
.ld-stage { position: relative; z-index: 2; display: grid; justify-items: center; gap: 30px; transition: opacity .45s, transform .8s var(--ease); }
.ld-orb {
    position: absolute; left: 50%; top: 42%; width: min(110vw, 760px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(201, 162, 75, .22), transparent 70%);
    animation: breathe 4s ease-in-out infinite; pointer-events: none;
}
.ld-spinner { position: relative; width: clamp(180px, 48vw, 240px); aspect-ratio: 1; display: grid; place-items: center; }
.ld-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ld-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1.4; }
.ld-progress {
    fill: none; stroke: url(#ldg); stroke-width: 2.6; stroke-linecap: round;
    stroke-dasharray: 100; stroke-dashoffset: 100;
    filter: drop-shadow(0 0 6px rgba(232, 203, 124, .7));
}
.ld-dash { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(232, 203, 124, .38); animation: spin 14s linear infinite; }
.ld-arc {
    position: absolute; inset: 17%; border-radius: 50%; border: 2px solid transparent;
    border-top-color: var(--gold-2); border-right-color: rgba(232, 203, 124, .25);
    animation: spin 1.6s linear infinite reverse;
}
.ld-orbit { position: absolute; inset: 0; animation: spin 3.4s linear infinite; }
.ld-orbit i {
    position: absolute; top: 3.2%; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
    background: var(--gold-1); box-shadow: 0 0 16px 4px rgba(251, 239, 194, .75);
}
.ld-disc { --s: 50%; width: 50%; box-shadow: 0 0 40px -4px rgba(201, 162, 75, .55), 0 0 0 1px rgba(232, 203, 124, .45); animation: goldPan 3s ease-in-out infinite alternate, breathe 2.6s ease-in-out infinite; }
.ld-meta { display: grid; justify-items: center; gap: 10px; }
.ld-count { font-family: var(--f-mono); font-size: 1.5rem; color: var(--gold-1); letter-spacing: .04em; }
.ld-count b { display: inline-block; min-width: 2.2ch; text-align: right; font-weight: 500; }
.ld-count small { font-size: .8rem; opacity: .7; margin-left: 2px; }
.ld-text { font-family: var(--f-display); font-style: italic; font-size: 1.08rem; letter-spacing: .06em; color: rgba(245, 240, 230, .72); animation: textPulse 2s ease-in-out infinite; }
#loader.is-done .ld-stage { opacity: 0; transform: scale(.88); }
#loader.is-done .ld-seam { opacity: 1; transform: scaleX(1); }
#loader.is-done .ld-panel--t { transform: translateY(-101%); transition-delay: .4s; }
#loader.is-done .ld-panel--b { transform: translateY(101%); transition-delay: .4s; }
#loader.is-done .ld-seam { transition-delay: 0s; }
#loader.is-gone { display: none; }

/* ───────────────────────── 9. PROGRESO + CURSOR ───────────────────────── */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 720; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad-gold); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(232, 203, 124, .7); }

.cur { position: fixed; left: 0; top: 0; z-index: 1100; pointer-events: none; opacity: 0; transition: opacity .3s; display: none; }
html.has-cursor .cur { display: block; }
html.has-cursor.cur-on .cur { opacity: 1; }
.cur-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--gold-2); }
.cur-ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(232, 203, 124, .75);
    display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
}
.cur-ring span { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #0A0806; opacity: 0; transition: opacity .3s; }
body.cur-hover .cur-ring { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(232, 203, 124, .14); }
body.cur-view .cur-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--gold-2); border-color: var(--gold-2); }
body.cur-view .cur-ring span { opacity: 1; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }

/* ───────────────────────── 10. HEADER ───────────────────────── */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 700; height: var(--nav-h);
    border-bottom: 1px solid transparent;
    transition: transform .7s var(--ease), background .5s, backdrop-filter .5s, border-color .5s;
}
.nav.is-scrolled { background: rgba(7, 7, 10, .88); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: rgba(255, 255, 255, .08); }
.nav.is-hidden { transform: translateY(-101%); }
.nav-in { height: 100%; width: min(100% - 2 * var(--gut), 1360px); margin-inline: auto; display: flex; align-items: center; gap: 20px; }
.nav .brand { margin-right: auto; }
.nav-links { display: none; }
.nav-cta { display: none; }
.nav-links a {
    position: relative; padding: 10px 14px; font-size: .88rem; font-weight: 600; color: rgba(245, 240, 230, .72);
    border-radius: 999px; transition: color .3s;
}
.nav-links a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold-2);
    transform: scaleX(0); transition: transform .5s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a.is-active { color: var(--gold-1); }
.nav-links a.is-active::after, .nav-links a:hover::after { transform: scaleX(1); }

.burger {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; gap: 6px;
    border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05);
}
.burger span { width: 18px; height: 1.5px; background: #F5F0E6; transition: transform .5s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Menú móvil */
.menu { position: fixed; inset: 0; z-index: 650; visibility: hidden; pointer-events: none; transition: visibility 0s .9s; }
.menu.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.menu-bg {
    position: absolute; inset: 0; background: radial-gradient(120% 80% at 85% 0%, #1d1608 0%, var(--ink) 62%);
    clip-path: circle(0 at calc(100% - 44px) 36px); transition: clip-path .9s var(--ease-io);
}
.menu.is-open .menu-bg { clip-path: circle(160% at calc(100% - 44px) 36px); }
.menu-in { position: relative; height: 100%; padding: calc(var(--nav-h) + 24px) var(--gut) 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto; }
.menu-link {
    display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; color: #F5F0E6;
    opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .8s var(--ease), color .3s;
}
.menu-link small { font-family: var(--f-mono); font-size: .72rem; color: var(--gold-2); letter-spacing: .1em; }
.menu-link:hover { color: var(--gold-1); }
.menu.is-open .menu-link { opacity: 1; transform: none; transition-delay: calc(.3s + var(--i, 0) * 70ms); }
.menu-foot { display: grid; gap: 14px; }
.menu-meta { text-align: center; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; color: var(--fg-3, rgba(245, 240, 230, .5)); }

/* ───────────────────────── 11. HERO ───────────────────────── */
.hero {
    position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--nav-h) + 36px) 0 36px; background: var(--ink); color: var(--fg); overflow: clip; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { width: 70vmax; height: 70vmax; left: -26vmax; top: -26vmax; background: radial-gradient(closest-side, rgba(201, 162, 75, .5), transparent 70%); animation: drift1 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 56vmax; height: 56vmax; right: -22vmax; top: 6vmax; background: radial-gradient(closest-side, rgba(140, 101, 27, .5), transparent 70%); animation: drift2 26s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 40vmax; height: 40vmax; left: 28%; bottom: -18vmax; background: radial-gradient(closest-side, rgba(251, 239, 194, .2), transparent 70%); animation: drift3 30s ease-in-out infinite alternate; }
.hero-grid {
    position: absolute; left: -40%; right: -40%; bottom: -6%; height: 58%;
    background-image:
        linear-gradient(rgba(232, 203, 124, .2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 203, 124, .2) 1px, transparent 1px);
    background-size: 64px 64px; transform: perspective(480px) rotateX(64deg); transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 88%); mask-image: linear-gradient(to top, #000 8%, transparent 88%);
    animation: gridMove 5s linear infinite;
}
canvas[data-particles] { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-vig { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(7, 7, 10, .75) 100%); }

.hero-in { position: relative; display: grid; gap: 52px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.hero-ctas .btn { flex: 1 1 100%; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: .84rem; color: var(--fg-2); }
.trust-i { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust .ic { width: 16px; height: 16px; color: var(--gold-2); }
.hide-sm { display: none; }

/* Palabra rotatoria del titular */
.rot { display: inline-flex; white-space: nowrap; }
.rot-win { display: inline-block; height: 1.08em; overflow: hidden; transition: width .8s var(--ease); }
.rot-track { display: flex; flex-direction: column; transition: transform .9s var(--ease); }
.rot-track > span { display: block; width: max-content; height: 1.08em; line-height: 1.08; font-style: italic; padding-right: .06em; }
.rot-dot { display: block; line-height: 1.08; }

/* Composición visual */
.hv { position: relative; width: min(100%, 390px); margin-inline: auto; aspect-ratio: 4 / 5; }
.hv-stage { position: absolute; inset: 0; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; }
.hv-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hv-ring--1 { width: 118%; aspect-ratio: 1; left: -9%; top: 2%; border: 1px dashed rgba(232, 203, 124, .32); animation: spin 60s linear infinite; }
.hv-ring--2 { width: 92%; aspect-ratio: 1; left: 6%; top: 10%; border: 1px solid transparent; background: conic-gradient(from var(--a), transparent 0 72%, rgba(232, 203, 124, .55) 88%, transparent) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: beamSpin 9s linear infinite; }

.hv-main {
    position: absolute; top: 0; right: 0; width: 80%; height: 88%;
    border-radius: 999px 999px 26px 26px; overflow: hidden; background: var(--ink-3);
    box-shadow: 0 0 0 1px rgba(232, 203, 124, .38), 0 0 0 12px rgba(232, 203, 124, .05), 0 40px 80px -20px rgba(0, 0, 0, .85), 0 0 90px -10px rgba(201, 162, 75, .28);
}
.hv-main img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; animation: kenburns 24s ease-in-out infinite alternate; }
.hv-scan { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255, 240, 200, .3) 50%, transparent 62%); transform: translateX(-130%); animation: scan 6s 2s ease-in-out infinite; }
.hv-sub {
    position: absolute; left: 0; bottom: 3%; width: 46%; aspect-ratio: 1 / 1.1; border-radius: 22px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .9);
}
.hv-sub img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: kenburns 20s ease-in-out infinite alternate-reverse; }

.hv-chip {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 16px;
    background: rgba(14, 14, 18, .66); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .75);
    animation: float 6s ease-in-out infinite;
}
.hv-chip .ic { width: 34px; height: 34px; padding: 8px; border-radius: 11px; color: var(--gold-2); background: rgba(232, 203, 124, .12); border: 1px solid rgba(232, 203, 124, .3); }
.hv-chip span { display: grid; line-height: 1.2; }
.hv-chip strong { font-size: .76rem; font-weight: 700; color: #F5F0E6; white-space: nowrap; }
.hv-chip small { font-size: .64rem; color: var(--fg-3); white-space: nowrap; }
.hv-chip--a { top: 9%; left: -3%; animation-duration: 6.5s; }
.hv-chip--b { top: 33%; left: -6%; animation-duration: 7.5s; animation-delay: -2s; }
.hv-chip--c { bottom: -3%; right: 4%; animation-duration: 8s; animation-delay: -4s; }

.hv-badge { position: absolute; left: 36%; top: 62%; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: rgba(7, 7, 10, .72); border: 1px solid rgba(232, 203, 124, .35); backdrop-filter: blur(8px); }
.hv-badge-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hv-badge-text text { font-family: var(--f-mono); font-size: 8.4px; letter-spacing: .12em; fill: var(--gold-2); }
.hv-badge-ic { width: 26px; height: 26px; color: var(--gold-1); }

.hv-dim, .hv-dim-label { display: none; }

.hud { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(36px, 4vw, 48px); border: 1px solid var(--bd); border-radius: var(--r-m); overflow: hidden; background: var(--bd); }
.hud li { display: flex; align-items: baseline; gap: 12px; padding: 16px 18px; background: rgba(10, 10, 13, .78); backdrop-filter: blur(8px); }
.hud b { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; color: var(--gold-2); font-weight: 500; }
.hud span { font-weight: 600; font-size: .88rem; }
.scroll-cue, .hero-geo { display: none; }

/* ───────────────────────── 12. MARQUEE ───────────────────────── */
.marquee {
    position: relative; z-index: 3; overflow: hidden; padding-block: 16px; color: #14100A;
    background: var(--grad-gold); background-size: 300% 100%; animation: goldPan 14s ease-in-out infinite alternate;
}
.marquee-track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { display: flex; flex: none; }
.mq li { display: flex; align-items: center; padding-inline: clamp(18px, 3vw, 34px); white-space: nowrap; font-family: var(--f-display); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.6rem); }
.mq li::after { content: '✦'; margin-left: clamp(36px, 6vw, 68px); font-style: normal; font-size: .62em; opacity: .75; }

/* ───────────────────────── 13. NOSOTROS ───────────────────────── */
.statement { margin-top: 28px; max-width: 22em; font-size: clamp(1.65rem, 3.4vw + .6rem, 3.7rem); font-weight: 300; line-height: 1.17; letter-spacing: -.02em; }
.statement em { color: var(--gold-4); }
.statement .fw { opacity: .17; transition: opacity .5s var(--ease); }
.statement .fw.on { opacity: 1; }

.about-grid { display: grid; gap: 64px; align-items: center; margin-top: clamp(56px, 8vw, 100px); }
.about-media { position: relative; width: min(100%, 540px); aspect-ratio: 1 / 1.06; margin-inline: auto; }
.am-1, .am-2 { position: absolute; overflow: hidden; background: var(--sand); }
.am-1 { left: 0; top: 0; width: 80%; aspect-ratio: 4 / 3.4; border-radius: var(--r-l); box-shadow: 0 40px 70px -30px rgba(23, 19, 13, .55); }
.am-2 { right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4.3; border-radius: 999px 999px var(--r-m) var(--r-m); border: 6px solid var(--ivory); box-shadow: 0 30px 60px -24px rgba(23, 19, 13, .6); }
.am-1 img, .am-2 img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; max-width: none; will-change: transform; }
.am-badge { position: absolute; right: 4%; top: 2%; width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); box-shadow: 0 20px 40px -12px rgba(7, 7, 10, .6); }
.am-badge-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite reverse; }
.am-badge-text text { font-family: var(--f-mono); font-size: 7.4px; letter-spacing: .1em; fill: var(--gold-2); }
.am-badge-logo { --s: 46px; }

.about-copy { display: grid; gap: 24px; justify-items: start; }
.about-copy .h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 3.1rem); }
.checks { display: grid; width: 100%; margin-block: 6px 8px; }
.checks li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--bd); }
.checks li:last-child { border-bottom: 1px solid var(--bd); }
.check-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-4); background: rgba(154, 116, 36, .1); border: 1px solid rgba(154, 116, 36, .28); }
.checks strong { display: block; font-weight: 700; font-size: 1.02rem; color: var(--fg); }
.checks p { color: var(--fg-2); font-size: .94rem; line-height: 1.55; margin-top: 2px; }

/* ───────────────────────── 14. SERVICIOS ───────────────────────── */
.services { --bg: var(--ink-2); }
.svc-grid { display: grid; gap: 14px; }
.svc {
    position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 26px;
    border-radius: var(--r-l); background: var(--card); border: 1px solid var(--bd); overflow: hidden; isolation: isolate;
    transition: border-color .5s, transform .6s var(--ease), background .5s;
}
.svc::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
    background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 203, 124, .17), transparent 62%);
}
.svc:hover { border-color: rgba(232, 203, 124, .42); transform: translateY(-4px); }
.svc:hover::before { opacity: 1; }
.svc h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 1.2vw + 1rem, 1.8rem); line-height: 1.15; letter-spacing: -.01em; color: var(--fg); }
.svc p { color: var(--fg-2); font-size: .96rem; max-width: 46ch; }
.svc-n { position: absolute; top: 26px; right: 26px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; color: var(--fg-3); }
.svc-ic { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; color: var(--gold-2); border: 1px solid rgba(232, 203, 124, .32); background: rgba(232, 203, 124, .07); transition: transform .6s var(--ease), background .4s; }
.svc-ic .ic { width: 26px; height: 26px; }
.svc:hover .svc-ic { transform: rotate(-8deg) scale(1.08); background: rgba(232, 203, 124, .16); }
.svc-link { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 700; font-size: .9rem; color: var(--gold-2); }
.svc-link .ic { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.svc-link:hover .ic { transform: translate(3px, -3px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border: 1px solid var(--bd); border-radius: 999px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.svc--feature { min-height: 380px; }
.svc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .3; transform: scale(1.04); transition: opacity .6s, transform 1.4s var(--ease); }
.svc--feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 13, 17, .55) 0%, rgba(13, 13, 17, .9) 70%, var(--ink-2) 100%); }
.svc--feature:hover .svc-bg { opacity: .48; transform: scale(1.1); }
.svc-cta { display: grid; justify-items: center; gap: 22px; margin-top: clamp(48px, 6vw, 80px); text-align: center; }
.svc-cta p { font-family: var(--f-display); font-size: clamp(1.25rem, 1.4vw + 1rem, 1.9rem); font-weight: 300; max-width: 24em; color: var(--fg); }

.giant { margin-top: clamp(56px, 8vw, 110px); overflow: hidden; pointer-events: none; user-select: none; }
.giant span { display: block; width: max-content; white-space: nowrap; font-family: var(--f-display); font-weight: 300; font-size: clamp(4rem, 14vw, 12rem); line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(232, 203, 124, .3); will-change: transform; }

/* ───────────────────────── 15. GALERÍA ───────────────────────── */
.gallery { --bg: var(--ivory-2); }
.filters { display: flex; gap: 10px; margin: 0 calc(-1 * var(--gut)) 34px; padding: 4px var(--gut); overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.fchip { flex: none; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--bd); font-weight: 700; font-size: .84rem; color: var(--fg-2); background: rgba(255, 255, 255, .5); transition: all .4s var(--ease); }
.fchip:hover { border-color: var(--gold-3); color: var(--fg); transform: translateY(-2px); }
.fchip.is-active { background: var(--ink); color: var(--gold-1); border-color: var(--ink); box-shadow: 0 12px 24px -10px rgba(7, 7, 10, .55); }

.gal { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 12px; }
.js .gal { grid-auto-rows: 8px; }
.g-item { padding-bottom: 12px; }
.g-item[hidden] { display: none; }
.g-item.is-show { animation: gIn .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
.g-item figure { position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--sand); box-shadow: 0 20px 40px -24px rgba(23, 19, 13, .5); }
.g-btn { display: block; width: 100%; cursor: zoom-in; }
.g-btn img { width: 100%; height: auto; transition: transform 1.3s var(--ease), filter .6s; filter: saturate(1.06) contrast(1.03); }
.g-item figcaption {
    position: absolute; inset: auto 0 0 0; display: grid; gap: 4px; padding: 40px 14px 12px; color: #fff; pointer-events: none;
    background: linear-gradient(to top, rgba(7, 7, 10, .85), transparent);
    transition: opacity .5s, transform .6s var(--ease);
}
.g-item figcaption strong { font-family: var(--f-display); font-weight: 400; font-size: .98rem; line-height: 1.2; }
.g-tag { justify-self: start; padding: 3px 9px; border-radius: 999px; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-1); background: rgba(232, 203, 124, .18); border: 1px solid rgba(232, 203, 124, .35); }
@media (hover: hover) {
    .g-item figcaption { opacity: 0; transform: translateY(10px); }
    .g-item:hover figcaption, .g-item:focus-within figcaption { opacity: 1; transform: none; }
    .g-item:hover .g-btn img { transform: scale(1.07); }
}
.gal-cta { display: grid; justify-items: center; gap: 20px; margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.gal-cta p { font-family: var(--f-display); font-size: clamp(1.2rem, 1.2vw + 1rem, 1.7rem); font-weight: 300; max-width: 22em; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .45s, visibility 0s .45s; }
.lb.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 7, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lb-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 16px 24px; }
.lb-fig { position: relative; display: grid; gap: 16px; justify-items: center; max-width: min(100%, 1100px); transform: scale(.94); transition: transform .7s var(--ease); }
.lb.is-open .lb-fig { transform: none; }
.lb-fig img { max-width: 100%; max-height: calc(100svh - 230px); width: auto; height: auto; object-fit: contain; border-radius: var(--r-m); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .9); transition: opacity .3s; }
.lb-fig img.is-swap { opacity: 0; }
.lb-fig figcaption { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; color: #F5F0E6; }
.lb-meta { display: grid; gap: 4px; }
.lb-meta strong { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }
.lb-meta small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; color: var(--fg-3, rgba(245, 240, 230, .5)); }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #F5F0E6; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); transition: background .3s, transform .4s var(--ease); }
.lb-btn:hover { background: var(--gold-2); color: #0A0806; transform: scale(1.08); }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 46%; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* ───────────────────────── 16. PROYECTO DESTACADO ───────────────────────── */
.proj { display: flex; align-items: center; min-height: min(92svh, 820px); padding-block: clamp(90px, 12vw, 170px); }
.proj-media { position: absolute; inset: 0; overflow: hidden; }
.proj-media img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; filter: saturate(.92) contrast(1.06); will-change: transform; }
.proj-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 10, .9), rgba(7, 7, 10, .78) 50%, rgba(7, 7, 10, .92)); }
.proj-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.proj-in { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; }
.proj-in .h2 { max-width: 16em; font-size: clamp(2rem, 3.4vw + 1rem, 4rem); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .88rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); }

/* ───────────────────────── 17. PROCESO ───────────────────────── */
.proc-grid { display: grid; gap: 56px; }
.proc-side { display: grid; gap: 22px; align-content: start; justify-items: start; }
.timeline { position: relative; }
.tl-line { position: absolute; left: 21px; top: 22px; bottom: 28px; width: 2px; border-radius: 2px; background: var(--bd); overflow: hidden; }
.tl-fill { display: block; width: 100%; height: 100%; background: var(--grad-gold); transform-origin: top; transform: scaleY(0); }
.tl-step { position: relative; padding: 0 0 clamp(36px, 5vw, 56px) 74px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot {
    position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--f-mono); font-size: .78rem; font-weight: 500; color: var(--fg-3); background: var(--ivory); border: 1px solid var(--bd);
    transition: all .6s var(--ease);
}
.tl-step.is-active .tl-dot { background: var(--ink); color: var(--gold-1); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(201, 162, 75, .2); }
.tl-step h3 { padding-top: 7px; margin-bottom: 8px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 1.4vw + 1rem, 1.9rem); line-height: 1.15; color: var(--fg); }
.tl-step p { color: var(--fg-2); max-width: 52ch; }

/* ───────────────────────── 18. POR QUÉ MIRANDA ───────────────────────── */
.why { --bg: var(--ink-2); }
.why-grid { display: grid; gap: 14px; }
.why-card { position: relative; display: grid; gap: 14px; align-content: start; padding: 30px 26px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--bd); }
.why-card h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; color: var(--fg); }
.why-card p { color: var(--fg-2); font-size: .95rem; }
.why-ic { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; color: var(--gold-1); background: linear-gradient(145deg, rgba(232, 203, 124, .22), rgba(232, 203, 124, .05)); border: 1px solid rgba(232, 203, 124, .34); }
.why-ic .ic { width: 26px; height: 26px; }

/* Borde luminoso animado */
.beam::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--a), transparent 0 70%, rgba(232, 203, 124, .95) 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: beamSpin 8s linear infinite;
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--bd); }
.stat b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 10px; max-width: 20ch; font-size: .88rem; line-height: 1.45; color: var(--fg-2); }
.social-strip { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(48px, 6vw, 80px); padding: 28px 24px; border-radius: var(--r-l); border: 1px solid var(--bd); background: var(--card); text-align: center; }
.social-strip p { font-family: var(--f-display); font-size: 1.3rem; font-weight: 300; }
.social-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ───────────────────────── 19. FAQ ───────────────────────── */
.faq-grid { display: grid; gap: 48px; }
.faq-side { display: grid; gap: 22px; align-content: start; justify-items: start; }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left;
    border-top: 1px solid var(--bd); font-family: var(--f-display); font-weight: 400; font-size: clamp(1.1rem, 1vw + .9rem, 1.4rem); line-height: 1.25; color: var(--fg); transition: color .3s;
}
.faq-q:hover { color: var(--gold-4); }
.faq-item:last-child { border-bottom: 1px solid var(--bd); }
.faq-pm { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bd); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.faq-pm::before, .faq-pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq-pm::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-pm { background: var(--ink); color: var(--gold-1); border-color: var(--ink); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-pm::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-q[aria-expanded="true"] + .faq-a, .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 52px 26px 0; color: var(--fg-2); max-width: 60ch; }

/* ───────────────────────── 20. CTA BAND ───────────────────────── */
.cta-band {
    position: relative; overflow: clip; isolation: isolate; text-align: center; color: #14100A;
    padding-block: clamp(80px, 11vw, 140px);
    background: var(--grad-gold); background-size: 300% 100%; animation: goldPan 16s ease-in-out infinite alternate;
}
.cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cta-mark { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: -1; font-family: var(--f-display); font-weight: 700; font-size: clamp(14rem, 40vw, 34rem); line-height: 1; color: rgba(20, 16, 10, .07); pointer-events: none; user-select: none; }
.cta-in { display: grid; justify-items: center; gap: 26px; }
.cta-band .h2 { color: #14100A; font-size: clamp(2.1rem, 4.4vw + .8rem, 4.6rem); max-width: 15em; }

/* ───────────────────────── 21. CONTACTO ───────────────────────── */
.contact-grid { display: grid; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 22px; justify-items: start; }
.c-list { display: grid; gap: 12px; width: 100%; margin-top: 10px; }
.c-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-m); border: 1px solid var(--bd); background: var(--card); transition: border-color .5s, transform .5s var(--ease), background .5s; }
.c-card:hover { border-color: rgba(232, 203, 124, .5); transform: translateX(6px); background: var(--card-2); }
.c-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-2); background: rgba(232, 203, 124, .1); border: 1px solid rgba(232, 203, 124, .25); }
.c-card span { display: grid; }
.c-card small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.c-card strong { font-weight: 700; font-size: 1.02rem; color: var(--fg); }
.c-go { margin-left: auto; width: 20px; height: 20px; color: var(--gold-2); opacity: .55; transition: transform .4s var(--ease), opacity .3s; }
.c-card:hover .c-go { transform: translate(3px, -3px); opacity: 1; }

.qf { position: relative; display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-l); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid var(--bd); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.qf-head h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); line-height: 1.1; color: var(--fg); }
.qf-head p { margin-top: 6px; color: var(--fg-2); }
.qf-prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.qf-prog i { position: relative; height: 3px; border-radius: 3px; background: var(--bd); overflow: hidden; }
.qf-prog i::after { content: ''; position: absolute; inset: 0; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.qf-prog i.on::after { transform: scaleX(1); }
.qf-count { margin-top: -8px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.qf-step[hidden] { display: none; }
.qf-step.is-active { animation: stepIn .6s var(--ease) both; }
.qf-step legend { float: left; width: 100%; margin-bottom: 16px; font-family: var(--f-display); font-size: 1.3rem; color: var(--fg); }
.qf-step legend + * { clear: both; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opts--list { grid-template-columns: 1fr; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
    display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 14px; border-radius: 14px; cursor: pointer;
    border: 1px solid var(--bd); background: rgba(255, 255, 255, .03); font-weight: 600; font-size: .88rem; line-height: 1.25;
    transition: border-color .35s, background .35s, box-shadow .35s, color .35s, transform .35s var(--ease);
}
.opt span .ic { width: 22px; height: 22px; color: var(--gold-2); }
.opt:hover span { border-color: rgba(232, 203, 124, .55); transform: translateY(-1px); }
.opt input:checked + span { border-color: var(--gold-2); background: rgba(232, 203, 124, .13); box-shadow: 0 0 0 3px rgba(232, 203, 124, .13); color: var(--gold-1); }
.opt input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .88rem; color: var(--fg); }
.field label span { color: var(--fg-3); font-weight: 400; }
.field input, .field textarea {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--bd); background: rgba(255, 255, 255, .04);
    color: var(--fg); font: inherit; font-size: 16px; resize: vertical; transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(232, 203, 124, .14); }
.field input.is-bad { border-color: #FF8C7A; }
.qf-err { min-height: 1.3em; font-size: .85rem; color: #FF9F8F; }
.qf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qf-actions .btn { flex: 1 1 auto; }
.qf-actions [hidden], .qf-done[hidden] { display: none; }
.qf-done { display: grid; justify-items: center; gap: 14px; padding: 18px 0 6px; text-align: center; animation: stepIn .7s var(--ease) both; }
.qf-done h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; }
.qf-done p { color: var(--fg-2); max-width: 32ch; }
.qf-done-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #0A0806; background: var(--grad-gold); box-shadow: 0 0 0 8px rgba(232, 203, 124, .14); }
.qf-done-ic .ic { width: 30px; height: 30px; stroke-width: 2.2; }

/* ───────────────────────── 22. FOOTER ───────────────────────── */
.footer { overflow: clip; padding-top: clamp(56px, 8vw, 96px); background: var(--ink); color: var(--fg); border-top: 1px solid var(--bd); }
.foot-top { display: grid; gap: 40px; }
.foot-brand { display: grid; gap: 20px; justify-items: start; }
.foot-brand p { max-width: 36ch; color: var(--fg-2); font-size: .95rem; }
.foot-col h4 { margin-bottom: 16px; font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.foot-col li { margin-bottom: 10px; color: var(--fg-2); font-size: .94rem; }
.foot-col a { transition: color .3s; }
.foot-col a:hover { color: var(--gold-1); }
.foot-word {
    margin-top: clamp(40px, 6vw, 80px); text-align: center; white-space: nowrap; line-height: .95; user-select: none; overflow: hidden;
    font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 8.4vw, 9.4rem); letter-spacing: -.035em; word-spacing: .14em;
    background: var(--grad-gold); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .92;
    animation: goldPan 9s ease-in-out infinite alternate;
}
.foot-bottom { display: flex; flex-direction: column; gap: 6px; padding-block: 28px 32px; margin-top: 12px; border-top: 1px solid var(--bd); font-size: .82rem; color: var(--fg-3); }

/* ───────────────────────── 23. WHATSAPP FLOTANTE ───────────────────────── */
.wa-float {
    position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 600;
    display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none;
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
html.is-ready .wa-float { opacity: 1; transform: none; pointer-events: auto; }
.wa-tip { padding: 10px 16px; border-radius: 999px; background: #fff; color: #111; font-weight: 700; font-size: .84rem; white-space: nowrap; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateX(14px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.wa-float.show-tip .wa-tip, .wa-float:hover .wa-tip { opacity: 1; transform: none; }
@media (max-width: 479px) { .wa-tip { display: none; } }
.wa-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #2EE673, #1BA851); box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .75), inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .5s var(--ease); }
.wa-float:hover .wa-btn { transform: scale(1.1) rotate(-6deg); }
.wa-btn .ic { width: 30px; height: 30px; }
.wa-ripple { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .7); animation: ripple 2.6s ease-out infinite; }
.wa-ripple--2 { animation-delay: 1.3s; }

/* ───────────────────────── 24. SISTEMA DE REVELADO ───────────────────────── */
.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="up"] { transform: translate3d(0, 44px, 0); }
.js [data-reveal="scale"] { transform: scale(.9); }
/* El recorte se aplica a la imagen interior: si el propio observado estuviera recortado, IntersectionObserver nunca lo vería */
.js [data-reveal="clip"] { opacity: 1; }
.js [data-reveal="clip"] > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="clip"].is-in > img { clip-path: inset(0 0 0 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .16em; margin: 0 -.06em -.16em; }
.js .split .wi { display: inline-block; transform: translate3d(0, 112%, 0); transition: transform 1.15s var(--ease); transition-delay: calc(var(--d, 0) * 1ms + var(--wi, 0) * 55ms); }
.js .split.is-in .wi { transform: none; }
.split .wi { will-change: transform; }

/* ───────────────────────── 25. KEYFRAMES ───────────────────────── */
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes goldPan  { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes beamSpin { to { --a: 360deg; } }
@keyframes float    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift1   { from { transform: translate(0, 0) scale(1); } to { transform: translate(8vmax, 6vmax) scale(1.15); } }
@keyframes drift2   { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-9vmax, 5vmax) scale(.92); } }
@keyframes drift3   { from { transform: translate(0, 0); } to { transform: translate(-12vmax, -6vmax) scale(1.2); } }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.2) translate(-2.5%, -1.5%); } }
@keyframes scan     { 0% { transform: translateX(-130%); } 55%, 100% { transform: translateX(130%); } }
@keyframes gridMove { to { background-position: 0 64px, 0 0; } }
@keyframes breathe  { 0%, 100% { opacity: .7; scale: 1; } 50% { opacity: 1; scale: 1.06; } }
@keyframes textPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes ping     { 0% { box-shadow: 0 0 0 0 rgba(232, 203, 124, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(232, 203, 124, 0); } }
@keyframes ripple   { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
@keyframes marq     { to { transform: translateX(-50%); } }
@keyframes stepIn   { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes gIn      { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes cue      { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes dimDraw  { 0%, 15% { stroke-dashoffset: 100; } 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }

/* ───────────────────────── 26. RESPONSIVE (mobile-first) ───────────────────────── */
@media (min-width: 640px) {
    .hide-sm { display: inline; }
    .hero-ctas .btn { flex: 0 0 auto; }
    .hv { width: min(100%, 440px); }
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .svc--feature { grid-column: 1 / -1; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(4, 1fr); }
    .gal { column-gap: 18px; }
    .g-item { padding-bottom: 18px; }
    .filters { justify-content: center; flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
    .hv-chip strong { font-size: .8rem; }
    .hv-chip small { font-size: .68rem; }
    .qf-actions .btn { flex: 0 0 auto; }
    .qf-actions [data-next], .qf-actions [data-submit] { margin-left: auto; }
    .opts { grid-template-columns: repeat(3, 1fr); }
    .opts--list { grid-template-columns: repeat(2, 1fr); }
    .foot-bottom { flex-direction: row; justify-content: space-between; }
    .social-strip { flex-direction: row; justify-content: space-between; text-align: left; }
    .hv-dim { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
    .hv-dim path { fill: none; stroke: var(--gold-2); stroke-width: .2; stroke-linecap: round; stroke-dasharray: 100; animation: dimDraw 7s ease-in-out infinite; }
    .hv-dim-label { display: block; position: absolute; right: -34px; top: 38%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .3em; color: var(--gold-2); opacity: .8; }
}

@media (min-width: 900px) {
    .hero-in { grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 5vw, 84px); }
    .hv { width: 100%; max-width: min(540px, max(380px, calc((100svh - 270px) * .8))); margin-inline: auto 0; }
    .hud { grid-template-columns: repeat(4, 1fr); }
    .gal { grid-template-columns: repeat(3, 1fr); }
    .hud li { padding: 20px 24px; }
    .about-grid { grid-template-columns: .95fr 1.05fr; gap: clamp(48px, 7vw, 110px); }
    .proc-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); }
    .proc-side { position: sticky; top: 120px; }
    .faq-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); }
    .faq-side { position: sticky; top: 120px; }
    .contact-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
    .foot-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 56px; }
    .proj-shade { background: linear-gradient(90deg, rgba(7, 7, 10, .94) 0%, rgba(7, 7, 10, .76) 46%, rgba(7, 7, 10, .3) 100%), linear-gradient(to top, var(--ink), transparent 28%, transparent 72%, var(--ink)); }
    .hero { padding-bottom: 56px; }
    .foot-bottom { padding-right: 84px; }
}

/* El indicador "Desliza" solo cabe cuando la pantalla es alta */
@media (min-width: 900px) and (min-height: 1000px) {
    .scroll-cue { display: flex; position: absolute; left: 50%; bottom: 10px; translate: -50% 0; flex-direction: column; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-3); }
    .scroll-cue i { width: 1px; height: 26px; background: var(--gold-2); animation: cue 2.4s var(--ease-io) infinite; }
}

@media (min-width: 1000px) {
    .nav-links { display: flex; gap: 2px; }
    .nav-cta { display: inline-flex; }
    .burger { display: none; }
    .menu { display: none; }
    .svc-grid { grid-template-columns: repeat(12, 1fr); gap: 18px; }
    .svc { grid-column: span 4; }
    .svc.s-7 { grid-column: span 7; }
    .svc.s-5 { grid-column: span 5; }
    .svc--feature { grid-column: span 7; }
    .why-grid { grid-template-columns: repeat(4, 1fr); }
    .hero-geo { display: block; position: absolute; left: var(--gut); bottom: 14px; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; line-height: 1.7; color: var(--fg-3); }
}

@media (min-width: 1280px) {
    .hv-chip--a { left: -8%; }
    .hv-chip--b { left: -12%; }
}

@media (hover: none) {
    .svc::before { display: none; }
}

/* ───────────────────────── 27. MOVIMIENTO REDUCIDO ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1 !important; transform: none !important; }
    .js [data-reveal="clip"] > img { clip-path: none !important; }
    .js .split .wi { transform: none !important; }
    .statement .fw { opacity: 1 !important; }
    .marquee-track { animation: none; }
}
