/* AUOLLUX — sistema visual. Navy + dorado + madera. Un solo acento (dorado).
   Movimiento con propósito: <300 ms en UI, ease-out fuerte, feedback al presionar,
   hover solo con puntero fino, y reduced-motion respetado. */

:root {
  --navy-950: #0f1a24; --navy-900: #16232e; --navy-800: #1e2f3d; --navy-700: #2a4054;
  --wood-900: #4a2e18; --wood-700: #6b4226; --wood-500: #8b5a2b;
  --gold-600: #c08a46; --gold-400: #d9a05b; --gold-300: #e8c08a;
  --cream-100: #fbf7f1; --cream-200: #f5eee3; --cream-300: #ede2d0;
  --ink-900: #1b1a17; --ink-700: #453f37; --ink-500: #6b6459; --white: #fff;
  --gold-grad: linear-gradient(100deg, #8b5a2b 0%, #d9a05b 55%, #e8c08a 100%);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 1rem/1.65 var(--font-body); color: var(--ink-900); background: var(--cream-100); -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; font-weight: 700; color: inherit; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1 + .lead, h2 + .lead { margin-top: 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--gold-400); color: var(--navy-950); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

/* ---------- tipografía ---------- */
.eyebrow { font: 600 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--wood-500); margin-bottom: 14px; display: block; }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-300); }
h1 { font-size: clamp(2.3rem, 1.4rem + 4.6vw, 4.5rem); line-height: 1.04; letter-spacing: -.028em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--ink-700); max-width: 62ch; }
.dark .lead, .hero .lead, .page-hero .lead { color: rgba(251, 247, 241, .78); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 .98rem/1 var(--font-head); white-space: nowrap; border: 1.5px solid transparent; transition: translate .22s var(--ease-out), background-color .18s, border-color .18s, box-shadow .22s, scale .14s var(--ease-out); }
.btn:active { scale: .97; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 10px 26px rgba(192, 138, 70, .32); }
.btn-ghost { border-color: rgba(251, 247, 241, .35); color: var(--cream-100); }
.btn-dark { background: var(--navy-900); color: var(--cream-100); }
.btn-line { border-color: var(--navy-900); color: var(--navy-900); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { translate: 0 -2px; }
  .btn-gold:hover { box-shadow: 0 16px 34px rgba(192, 138, 70, .42); }
  .btn-ghost:hover { border-color: var(--gold-300); background: rgba(232, 192, 138, .08); }
  .btn-dark:hover { background: var(--navy-700); }
  .btn-line:hover { background: var(--navy-900); color: var(--cream-100); }
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--wood-500); }
.link-arrow svg { width: 16px; height: 16px; transition: translate .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { translate: 4px 0; } }

/* ---------- cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); color: var(--cream-100); transition: background-color .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(15, 26, 36, .88); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 42px; height: 42px; border-radius: 11px; }
.brand .word { display: block; font: 700 1.22rem/1 var(--font-head); letter-spacing: .02em; }
.brand .word b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .sub { display: block; font: 500 .6rem/1.5 var(--font-body); letter-spacing: .17em; text-transform: uppercase; color: var(--gold-300); white-space: nowrap; }
@media (max-width: 440px) { .brand { gap: 10px; } .brand svg { width: 38px; height: 38px; } .brand .sub { font-size: .54rem; letter-spacing: .1em; } .lang { padding: 8px 10px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .94rem; color: rgba(251, 247, 241, .86); transition: background-color .18s, color .18s; }
.nav a[aria-current="page"] { color: var(--navy-950); background: var(--gold-300); }
@media (hover: hover) and (pointer: fine) { .nav a:not([aria-current]):hover { background: rgba(255, 255, 255, .09); color: #fff; } }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.lang { font: 600 .84rem/1 var(--font-body); padding: 9px 12px; border-radius: 999px; border: 1px solid rgba(251, 247, 241, .28); color: var(--cream-100); }
@media (hover: hover) and (pointer: fine) { .lang:hover { border-color: var(--gold-300); } }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; scale: 1; transition: scale .14s var(--ease-out); }
.menu-btn:active { scale: .94; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: translate .22s var(--ease-out), rotate .22s var(--ease-out); }
.menu-btn i:nth-child(1) { top: 19px; } .menu-btn i:nth-child(2) { top: 26px; }
.nav-open .menu-btn i:nth-child(1) { translate: 0 3.5px; rotate: 45deg; } .nav-open .menu-btn i:nth-child(2) { translate: 0 -3.5px; rotate: -45deg; }
.scrim { position: fixed; inset: 0; z-index: 54; background: rgba(0, 0, 0, .52); opacity: 0; pointer-events: none; transition: opacity .2s; }
@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .bar-actions .btn { display: none; }
  .nav { position: fixed; z-index: 58; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: var(--navy-950); flex-direction: column; align-items: stretch; gap: 4px; padding: 92px 24px 32px; transform: translateX(100%); visibility: hidden; transition: transform .22s ease-out, visibility 0s linear .22s; box-shadow: -24px 0 60px rgba(0, 0, 0, .4); }
  .nav a { padding: 15px 16px; font-size: 1.08rem; border-radius: 14px; }
  .nav-open .nav { transform: none; visibility: visible; transition: transform .32s var(--ease-drawer); }
  .nav-open .scrim { opacity: 1; pointer-events: auto; }
  .menu-btn { z-index: 59; }
}

/* ---------- héroe ---------- */
.hero, .page-hero { position: relative; background: var(--navy-950); color: var(--cream-100); overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(232, 192, 138, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 192, 138, .055) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
.hero { padding: calc(var(--header-h) + clamp(36px, 6vw, 72px)) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr .98fr; } }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--gold-300); }
.hero .lead { margin: 22px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 32px; color: rgba(251, 247, 241, .82); font-size: .92rem; }
.trust li { display: flex; align-items: center; gap: 9px; }
.trust svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; }
.bp-card { border: 1px solid rgba(232, 192, 138, .24); border-radius: 24px; padding: clamp(14px, 2.4vw, 24px); background: rgba(255, 255, 255, .025); }
.bp { width: 100%; height: auto; color: var(--gold-300); overflow: visible; }
.bp .d { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.15s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 65ms + 120ms); }
.bp .d.fill { fill: rgba(217, 160, 91, 0); animation-name: draw, fillin; animation-duration: 1.15s, .7s; animation-timing-function: var(--ease-out), var(--ease-out); animation-fill-mode: forwards, forwards; animation-delay: calc(var(--i, 0) * 65ms + 120ms), calc(var(--i, 0) * 65ms + 1100ms); }
.bp .num { opacity: 0; animation: numin .45s var(--ease-out) 2s forwards; }
@keyframes numin { to { opacity: 1; } }
.bp .dash { stroke-dasharray: 3 5; stroke-dashoffset: 0; animation: none; opacity: .5; }
.bp .num circle { fill: var(--navy-950); stroke: var(--gold-400); stroke-width: 1.4; }
.bp .num text { fill: var(--gold-300); font: 600 12px var(--font-head); text-anchor: middle; dominant-baseline: central; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill: rgba(217, 160, 91, .15); } }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-top: 16px; font-size: .84rem; color: rgba(251, 247, 241, .78); counter-reset: l; }
.legend li { display: flex; gap: 10px; align-items: baseline; counter-increment: l; }
.legend li::before { content: counter(l); flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.3px solid var(--gold-400); color: var(--gold-300); font: 600 .7rem/17px var(--font-head); text-align: center; }
@media (max-width: 520px) { .legend { grid-template-columns: 1fr; } }

.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px); }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: rgba(251, 247, 241, .6); margin-bottom: 18px; }
.crumbs a { color: var(--gold-300); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 1.2rem + 3.8vw, 3.8rem); }
.page-hero .lead { margin-top: 20px; }

/* ---------- franja de oficios ---------- */
.marquee { background: var(--navy-900); color: var(--gold-300); overflow: hidden; border-block: 1px solid rgba(232, 192, 138, .14); }
.marquee-track { display: flex; width: max-content; animation: scroll 46s linear infinite; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li { display: flex; align-items: center; font: 600 .86rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; padding: 20px 0; }
.marquee li::after { content: ""; width: 7px; height: 7px; rotate: 45deg; background: var(--gold-400); margin: 0 30px; flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* ---------- secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--cream-200); }
.section.dark { background: var(--navy-900); color: var(--cream-100); }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.head .lead { margin-top: 16px; }

/* proceso */
.process-grid { display: grid; gap: clamp(28px, 5vw, 72px); }
@media (min-width: 980px) { .process-grid { grid-template-columns: .8fr 1.2fr; } .process-grid .head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.steps { position: relative; display: grid; gap: 14px; padding-left: 34px; counter-reset: s; }
.rail { position: absolute; left: 9px; top: 18px; bottom: 18px; width: 2px; background: var(--cream-300); border-radius: 2px; }
.rail i { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 2px; }
.step { position: relative; background: #fff; border: 1px solid var(--cream-300); border-radius: var(--radius); padding: 24px 26px 24px 26px; transition: border-color .25s, box-shadow .25s; }
.step::before { content: ""; position: absolute; left: -33px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream-100); border: 2px solid var(--gold-600); transition: background-color .25s, scale .25s var(--ease-out); }
.step.is-active { border-color: var(--gold-400); box-shadow: 0 14px 34px rgba(15, 26, 36, .08); }
.step.is-active::before { background: var(--gold-400); scale: 1.25; }
.step .n { font: 700 .82rem/1 var(--font-head); letter-spacing: .12em; color: var(--wood-500); margin-bottom: 10px; display: block; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-700); }

/* servicios */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--cream-300); border-radius: var(--radius); padding: 28px; transition: translate .25s var(--ease-out), border-color .25s, box-shadow .25s; }
.card .ico { width: 52px; height: 52px; border-radius: 15px; background: var(--navy-900); display: grid; place-items: center; color: var(--gold-300); }
.card .ico svg { width: 26px; height: 26px; }
.card .kick { font: 600 .74rem/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--wood-500); }
.card p { margin: 0; color: var(--ink-700); flex: 1; }
.card.wide { grid-column: 1 / -1; background: var(--navy-900); border-color: var(--navy-700); color: var(--cream-100); flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
@media (min-width: 1100px) { .card.wide { grid-column: span 2; } }
.card.wide .ico { background: rgba(232, 192, 138, .12); }
.card.wide .kick { color: var(--gold-300); } .card.wide p { color: rgba(251, 247, 241, .8); }
.card.wide .txt { flex: 1 1 300px; display: grid; gap: 10px; }
@media (hover: hover) and (pointer: fine) { .card:hover { translate: 0 -4px; border-color: var(--gold-400); box-shadow: 0 18px 40px rgba(15, 26, 36, .1); } .card.wide:hover { border-color: var(--gold-400); } }

/* inversionistas */
.investors { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .investors { grid-template-columns: 1.05fr .95fr; } }
.investors .lead { margin: 18px 0 26px; }
.points { display: grid; gap: 14px; margin: 0 0 28px; }
.points li { padding-left: 18px; border-left: 2px solid var(--gold-400); }
.points h3 { font-size: 1rem; margin-bottom: 2px; }
.points p { margin: 0; color: rgba(251, 247, 241, .78); font-size: .95rem; }
.track { background: rgba(255, 255, 255, .035); border: 1px solid rgba(232, 192, 138, .2); border-radius: 24px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 0; counter-reset: t; }
.track li { position: relative; display: flex; gap: 16px; align-items: center; padding: 16px 0; font: 600 1.02rem/1.3 var(--font-head); counter-increment: t; }
.track li + li { border-top: 1px dashed rgba(232, 192, 138, .25); }
.track li::before { content: counter(t); flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold-400); color: var(--gold-300); display: grid; place-items: center; font: 700 .9rem/1 var(--font-head); }
.track li:last-child::before { background: var(--gold-400); color: var(--navy-950); }

/* cifras */
.stats { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat b { display: block; font: 700 clamp(2.6rem, 1.6rem + 4vw, 4.2rem)/1 var(--font-head); letter-spacing: -.03em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--gold-600); }
.stat > span { display: block; margin-top: 8px; color: var(--ink-700); font-size: .95rem; max-width: 18ch; }

/* zona */
.area { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .area { grid-template-columns: .9fr 1.1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--cream-300); font-weight: 500; font-size: .95rem; }
.chips li:first-child { background: var(--navy-900); color: var(--gold-300); border-color: var(--navy-900); }
.area .btn { margin-top: 6px; }

/* FAQ */
.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--cream-300); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; text-align: left; padding: 22px 4px; font: 600 1.06rem/1.35 var(--font-head); scale: 1; transition: scale .14s var(--ease-out); transform-origin: left center; }
.faq-q:active { scale: .992; }
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--wood-500); transition: rotate .22s var(--ease-out); }
.faq-q[aria-expanded="true"] svg { rotate: 45deg; }
.js .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s var(--ease-out); }
.js .faq-q[aria-expanded="true"] + .faq-a, .js .faq-a.open { grid-template-rows: 1fr; }
.faq-in { overflow: hidden; min-height: 0; }
.faq-in p { margin: 0; padding: 0 4px 24px; color: var(--ink-700); max-width: 70ch; }
.js .faq-a:not(.open) .faq-in { visibility: hidden; transition: visibility 0s linear .26s; }
.js .faq-a.open .faq-in { visibility: visible; }

/* servicios (página) */
.svc { display: grid; gap: 22px; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--cream-300); scroll-margin-top: calc(var(--header-h) + 8px); }
@media (min-width: 900px) { .svc { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.svc:first-of-type { border-top: 0; }
.svc .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--navy-900); color: var(--gold-300); display: grid; place-items: center; margin-bottom: 18px; }
.svc .ico svg { width: 28px; height: 28px; }
.ticks { display: grid; gap: 12px; align-content: start; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--cream-300); border-radius: 14px; font-weight: 500; }
.ticks svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; margin-top: 2px; }
.svc .btn { margin-top: 8px; }

/* flip y valores */
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tile { background: #fff; border: 1px solid var(--cream-300); border-radius: var(--radius); padding: 26px; }
.tile h3 { margin-bottom: 8px; } .tile p { margin: 0; color: var(--ink-700); }
.tile .k { display: block; font: 700 .8rem/1 var(--font-head); letter-spacing: .12em; color: var(--gold-600); margin-bottom: 12px; }

/* nosotros */
.story { display: grid; gap: 28px; }
@media (min-width: 980px) { .story { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.story p { color: var(--ink-700); font-size: 1.06rem; }
.badges { display: grid; gap: 10px; align-content: start; }
.badges li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--navy-900); color: var(--cream-100); font-weight: 600; }
.badges svg { width: 20px; height: 20px; color: var(--gold-400); flex: none; }
.leaders { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.leader { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--cream-300); border-radius: var(--radius); padding: 24px; }
.leader .av { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-950); display: grid; place-items: center; font: 700 1.2rem/1 var(--font-head); flex: none; }
.leader p { margin: 2px 0 0; color: var(--ink-700); font-size: .92rem; }

/* contacto */
.contact { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .contact { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.form-card { background: #fff; border: 1px solid var(--cream-300); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 24px 60px rgba(15, 26, 36, .08); }
.fields { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin: 22px 0; }
.field { display: grid; gap: 7px; } .field.full { grid-column: 1 / -1; }
@media (max-width: 640px) { .field { grid-column: 1 / -1; } }
.field label { font-weight: 600; font-size: .9rem; }
.field label i { font-style: normal; color: var(--wood-500); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--cream-300); background: var(--cream-100); font: inherit; font-size: 1rem; color: var(--ink-900); transition: border-color .18s, box-shadow .18s, background-color .18s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(217, 160, 91, .22); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 14px 0 0; color: var(--ink-500); font-size: .9rem; }
.status { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.status[hidden] { display: none; }
.status.ok { background: #eaf7ee; color: #1e6b37; border: 1px solid #bee6c8; animation: rise .3s var(--ease-out); }
.status.err { background: #fdeceb; color: #8a2a22; border: 1px solid #f1c0bb; animation: rise .3s var(--ease-out); }
.status a { text-decoration: underline; font-weight: 600; }
@keyframes rise { from { opacity: 0; translate: 0 8px; } }
.direct { background: var(--navy-900); color: var(--cream-100); border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.direct h2 { font-size: 1.5rem; }
.direct a.row, .direct .row { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); transition: background-color .18s, scale .14s var(--ease-out); }
.direct a.row:active { scale: .98; }
@media (hover: hover) and (pointer: fine) { .direct a.row:hover { background: rgba(232, 192, 138, .14); } }
.direct svg { width: 22px; height: 22px; color: var(--gold-400); flex: none; }
.direct small { display: block; color: rgba(251, 247, 241, .62); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.direct strong { font-weight: 600; word-break: break-word; }

/* banda final */
.cta-band { background: var(--gold-grad); color: var(--navy-950); padding: clamp(52px, 7vw, 88px) 0; }
.cta-in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1fr auto; } }
.cta-band p { margin: 10px 0 0; font-size: 1.1rem; max-width: 52ch; }
.cta-band .cta-row .btn-dark { background: var(--navy-950); }
.cta-band .btn-line { border-color: var(--navy-950); }

/* pie */
.site-footer { background: var(--navy-950); color: rgba(251, 247, 241, .74); padding: clamp(48px, 6vw, 72px) 0 28px; }
.foot { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.foot h2 { font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
.foot li { margin-bottom: 9px; } .foot a { transition: color .18s; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--gold-300); } }
.foot .brand { margin-bottom: 14px; color: var(--cream-100); }
.foot p { font-size: .94rem; max-width: 34ch; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }

/* barra móvil de acción */
.dock { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 26, 36, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, .09); }
.dock a { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; font: 600 .9rem/1 var(--font-head); color: var(--cream-100); border: 1.5px solid rgba(251, 247, 241, .26); scale: 1; transition: scale .14s var(--ease-out); }
.dock a:active { scale: .96; }
.dock a.go { flex: 1.35; background: var(--gold-grad); color: var(--navy-950); border-color: transparent; }
.dock svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .dock { display: flex; } body { padding-bottom: 76px; } }

/* revelado (solo si hay JS) */
.js .rv { opacity: 0; translate: 0 14px; transition: opacity .5s var(--ease-out), translate .5s var(--ease-out); transition-delay: calc(var(--rv, 0) * 60ms); }
.js .rv.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .bp .d { animation: none; stroke-dashoffset: 0; }
  .bp .d.fill { animation: none; fill: rgba(217, 160, 91, .15); }
  .bp .num { animation: none; opacity: 1; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
  .js .rv { opacity: 1; translate: 0 0; transition: none; }
  .js .faq-a, .rail i, .step::before { transition: none; }
  .btn:hover, .card:hover { translate: 0 0; }
  .status.ok, .status.err { animation: none; }
  .nav { transition-duration: .01ms !important; }
}

/* aviso de alcance y nota legal */
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 36px; padding: 22px 24px; border: 1.5px dashed var(--gold-600); border-radius: 18px; background: rgba(217, 160, 91, .1); }
.notice svg { width: 24px; height: 24px; flex: none; color: var(--wood-500); margin-top: 2px; }
.notice h3 { font-size: 1.02rem; margin-bottom: 6px; }
.notice p { margin: 0; color: var(--ink-700); font-size: .96rem; max-width: 78ch; }
.svc.partner { border-top: 1px solid var(--cream-300); }
.scope { margin: 34px 0 0; max-width: 80ch; font-size: .86rem; line-height: 1.6; color: rgba(251, 247, 241, .62); }
