:root {
  --paper: #F4F0E8;
  --paper-2: #EAE3D6;
  --card: #FBF9F4;
  --ink: #0F1D2E;
  --ink-2: #172A40;
  --blue: #1E4D80;
  --blue-soft: #8FB0D3;
  --brass: #B9822F;
  --brass-lt: #DDB06A;
  --brass-text: #8A5D1A; /* dorado para texto chico sobre fondo claro (contraste AA) */
  --muted: #5D6570;
  --line: rgba(15, 29, 46, .14);
  --line-dk: rgba(244, 240, 232, .16);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(16px, 4.5vw, 64px);
  --wide: "wdth" 118;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 "Archivo", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -.01em; font-variation-settings: var(--wide); }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--brass-lt); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-items: center;
  animation: loaderOut .6s var(--ease-io) .7s forwards;
}
.loader-word {
  font: italic 900 clamp(48px, 12vw, 160px)/1 "Archivo"; font-variation-settings: "wdth" 125;
  color: var(--paper); letter-spacing: -.02em;
  clip-path: inset(0 100% 0 0);
  animation: wipe .55s var(--ease-io) .05s forwards;
}
.loader-word::after { content: "."; color: var(--brass); }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes loaderOut { to { transform: translateY(-100%); visibility: hidden; } }
.no-loader .loader { display: none; }



/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.6em; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border: 1px solid currentColor; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn svg { transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ink::before { background: var(--blue); }
.btn-line { color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--paper); }
.btn-brass { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn-brass::before { background: var(--paper); }
.btn-sm { padding: .7em 1.1em; font-size: 14px; }
.full { width: 100%; }
.round {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.round:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.round:active { transform: scale(.94); }
.link { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--pad);
  transition: transform .5s var(--ease), background .4s, padding .4s, box-shadow .4s;
}
.nav.solid { background: rgba(244, 240, 232, .92); backdrop-filter: blur(10px); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: baseline; gap: 8px; margin-right: auto; }
.brand-word { font: italic 900 24px/1 "Archivo"; font-variation-settings: "wdth" 125; letter-spacing: -.01em; }
.brand-sub { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 26px; }
.nav-links a, .nav-phone { position: relative; font-size: 15px; font-weight: 500; padding: 4px 0; }
.nav-links a::after, .nav-phone::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after, .nav-phone:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-links a.active { color: var(--blue); }
.nav-phone { color: var(--muted); font-variant-numeric: tabular-nums; }
.nav-burger { display: none; width: 44px; height: 44px; position: relative; }
.nav-burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-burger span:first-child { top: 17px; }
.nav-burger span:last-child { top: 26px; }
.menu-open .nav-burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav-burger span:last-child { top: 21px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.menu-open .drawer { clip-path: inset(0 0 0 0); }
.menu-open .nav { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .nav .brand-sub { color: var(--blue-soft); }
.drawer nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0;
  font: italic 800 clamp(34px, 9vw, 56px)/1.05 "Archivo"; font-variation-settings: "wdth" 115;
  border-bottom: 1px solid var(--line-dk);
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease);
}
.drawer nav a small { font: 500 12px "Archivo"; color: var(--brass-lt); letter-spacing: .1em; }
.menu-open .drawer nav a { opacity: 1; transform: none; }
.menu-open .drawer nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .drawer nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .drawer nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .drawer nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .drawer nav a:nth-child(5) { transition-delay: .45s; }
.drawer-foot { display: grid; gap: 8px; color: var(--blue-soft); }

/* ---------- Reveal system ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }
.reveal-img { clip-path: inset(12% 12% 12% 12%); opacity: .3; transition: clip-path 1.4s var(--ease-io), opacity 1s; }
.reveal-img.in { clip-path: inset(0); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 112px var(--pad) 64px; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; --mx: 0; --my: 0;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 46% 50% at 50% 52%, var(--card) 0%, transparent 72%); }
.eyebrow, .section-num {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text);
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
}
.eyebrow::before, .section-num::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero-title { font-size: clamp(40px, 4.3vw, 72px); line-height: .98; letter-spacing: -.025em; font-variation-settings: "wdth" 112; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.ready .hero-title .line > span { transform: none; }
.hero-title em { font-style: italic; color: var(--blue); }

.hero-title .draw { position: relative; }
.hero-title .draw::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: -.02em; height: .07em; background: var(--brass);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) 1.1s;
}
.ready .hero-title .draw::after { transform: scaleX(1); }
/* Botones del hero: invitan a hacer click */
.hero-actions .btn::after, .more-wrap .btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: shine 3.6s var(--ease-io) 2.2s infinite;
}
.hero-actions .btn-line::after { background: linear-gradient(105deg, transparent, rgba(185, 130, 47, .28), transparent); animation-delay: 4s; }
@keyframes shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
.hero-actions .btn-ink svg, .more-wrap .btn-ink svg { animation: arrow 1.8s var(--ease) 2.2s infinite; }
@keyframes arrow { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
.hero-actions .btn-ink, .more-wrap .btn-ink { animation: ring 3.6s ease-out 2.2s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(185, 130, 47, .55); } 45%, 100% { box-shadow: 0 0 0 12px rgba(185, 130, 47, 0); } }
.hero-actions .btn, .more-wrap .btn { transition: color .45s var(--ease), border-color .45s var(--ease), transform .35s var(--ease); }
.hero-actions .btn:hover, .more-wrap .btn:hover { transform: translateY(-2px); }
.hero-actions .btn:active, .more-wrap .btn:active { transform: translateY(0) scale(.97); }
.hero-actions .btn:hover::after, .more-wrap .btn:hover::after { animation-play-state: paused; }
/* Centro: texto, buscador y accesos rápidos */
.hero-copy { position: relative; z-index: 2; width: min(760px, 54vw); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .eyebrow { justify-content: center; }
.hero .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero-lede { max-width: 31em; margin-top: 24px; font-size: 18px; color: var(--muted); }
.hero-search {
  width: 100%; margin-top: 34px; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 20px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 22px 50px -28px rgba(15, 29, 46, .45);
  transition: border-color .3s, box-shadow .3s;
}
.hero-search:focus-within { border-color: var(--ink); box-shadow: 0 22px 50px -28px rgba(15, 29, 46, .55), 0 0 0 4px rgba(185, 130, 47, .2); }
.hero-search .ic { width: 20px; height: 20px; flex: none; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 17px; color: var(--ink); padding: 12px 0; outline: none; }
.hero-search input::-webkit-search-cancel-button { display: none; }
.hero-search .btn { padding: 15px 24px; }
.hero-chips { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-chips button {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 14px;
  border: 1px solid var(--line); background: rgba(251, 249, 244, .75); backdrop-filter: blur(4px);
  transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.hero-chips button small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .3s; }
.hero-chips button:hover, .hero-chips button:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }
.hero-chips button:hover small, .hero-chips button:focus-visible small { color: var(--brass-lt); }
.hero-chips .chip-ic, .hero-chips .solo-movil { display: none; }
.hero-trust { margin: 30px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 14px; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: 9px; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; background: var(--brass); rotate: 45deg; }
.hero-trust b { color: var(--ink); }
.hero-trust a { color: var(--blue); font-weight: 600; }

/* Anillos que giran alrededor del texto */
.hero-rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; }
.hero-rings span {
  grid-area: 1 / 1; width: var(--s); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); position: relative;
  opacity: 0; transform: scale(.82); transition: opacity 1.4s var(--ease) var(--d), transform 1.8s var(--ease) var(--d);
}
.ready .hero-rings span { opacity: 1; transform: none; }
.hero-rings span:nth-child(1) { --s: min(700px, 96vw); --d: .3s; animation: spin 46s linear infinite; }
.hero-rings span:nth-child(2) { --s: min(960px, 135vw); --d: .45s; border: 1px dashed rgba(185, 130, 47, .5); animation: spin 120s linear infinite reverse; }
.hero-rings span:nth-child(3) { --s: min(1240px, 175vw); --d: .6s; animation: spin 80s linear infinite reverse; }
@keyframes spin { to { rotate: 360deg; } }
/* Autitos que recorren los anillos (decorativos, solo CSS: no afectan el SEO) */
.hero-rings span::before, .hero-rings span::after { content: ""; position: absolute; left: 50%; }
.hero-rings span::after {
  top: -17px; width: 44px; height: 18px; margin-left: -22px; background: var(--c);
  -webkit-mask: var(--car) center / contain no-repeat; mask: var(--car) center / contain no-repeat;
}
/* Estela: arco sobre la misma circunferencia, detrás del auto (gira con él), que se desvanece. */
.hero-rings span::before { inset: -6px; left: -6px; border-radius: 50%; position: absolute; }
.hero-rings span::before {
  background: var(--c); opacity: .4;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px), #000 calc(100% - 5.6px), transparent calc(100% - 5.6px)), var(--estela);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px), #000 calc(100% - 5.6px), transparent calc(100% - 5.6px)), var(--estela);
  mask-composite: intersect;
  --estela: conic-gradient(from 338deg, transparent, rgba(0,0,0,.35) 14deg, #000 22deg, transparent 22deg);
}
.hero-rings span.rev::before { --estela: conic-gradient(transparent 0 1deg, #000 1.2deg, rgba(0,0,0,.35) 9deg, transparent 22deg); }
.hero-rings span.rev::after { transform: scaleX(-1); }
.hero-rings span:nth-child(1)::before, .hero-rings span:nth-child(1)::after { display: none; }
.hero-rings span:nth-child(1) { --c: var(--brass); --car: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 20'><path fill-rule='evenodd' d='M2.5 14v-3c0-1.6 1-2.4 3-2.7l7.5-1.1 5.2-3.6C19.8 2.6 21.4 2.2 23.4 2.2h8.2c2.2 0 3.7.6 5.1 2l3.4 3.3 4.4 1c1.8.4 3 1.5 3 3.3V14zM16.4 7.4l3.4-2.6c.9-.6 1.9-.9 3.2-.9h2.6v3.5zm11-3.5h3.9c1.4 0 2.4.4 3.3 1.3l2.3 2.2h-9.5zM12.5 10.7a3.8 3.8 0 1 0 0 7.6a3.8 3.8 0 1 0 0 -7.6zm0 2.3a1.5 1.5 0 1 1 0 3.0a1.5 1.5 0 1 1 0 -3.0zM36.5 10.7a3.8 3.8 0 1 0 0 7.6a3.8 3.8 0 1 0 0 -7.6zm0 2.3a1.5 1.5 0 1 1 0 3.0a1.5 1.5 0 1 1 0 -3.0z'/></svg>"); }
.hero-rings span:nth-child(2) { --c: var(--blue); --car: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 20'><path fill-rule='evenodd' d='M1.5 14V8h21V3.9c0-.9.6-1.5 1.5-1.5h8.2c1.6 0 2.8.5 3.9 1.6L39.7 8l4.7.8c1.6.3 2.5 1.3 2.5 2.9V14zM25.2 7.8V4.3H32c1 0 1.8.3 2.5 1l2.4 2.5zM11 10.7a3.8 3.8 0 1 0 0 7.6a3.8 3.8 0 1 0 0 -7.6zm0 2.3a1.5 1.5 0 1 1 0 3.0a1.5 1.5 0 1 1 0 -3.0zM37.5 10.7a3.8 3.8 0 1 0 0 7.6a3.8 3.8 0 1 0 0 -7.6zm0 2.3a1.5 1.5 0 1 1 0 3.0a1.5 1.5 0 1 1 0 -3.0z'/></svg>"); }
.hero-rings span:nth-child(3) { --c: var(--brass); --car: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 20'><path fill-rule='evenodd' d='M2.5 14V6.4C2.5 4 3.8 2.4 6.2 2.4h22c1.8 0 3 .5 4.2 1.6L37 8l5.5.9c1.9.3 3.1 1.4 3.1 3.3V14zM5.8 7.6V5.4c0-.9.6-1.4 1.5-1.4H16v3.6zm12.2-3.6h9.8c1.2 0 2.1.4 2.9 1.1l2.8 2.5H18zM12 10.7a3.8 3.8 0 1 0 0 7.6a3.8 3.8 0 1 0 0 -7.6zm0 2.3a1.5 1.5 0 1 1 0 3.0a1.5 1.5 0 1 1 0 -3.0zM37 10.7a3.8 3.8 0 1 0 0 7.6a3.8 3.8 0 1 0 0 -7.6zm0 2.3a1.5 1.5 0 1 1 0 3.0a1.5 1.5 0 1 1 0 -3.0z'/></svg>"); }

/* Autos reales flotando alrededor (se van turnando) */
.hero-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hf {
  position: absolute; width: clamp(150px, 12vw, 224px); pointer-events: auto;
  translate: calc(var(--mx) * var(--z) * -1px) calc(var(--my) * var(--z) * -1px);
  opacity: 0; transition: opacity 1s var(--ease) calc(.7s + var(--k) * .12s), translate 1s var(--ease);
}
.ready .hf { opacity: 1; }
.hf:hover { z-index: 3; }
.hf-in {
  display: block; width: 100%; text-align: left; background: var(--card); padding: 7px 7px 12px; cursor: pointer;
  box-shadow: 0 26px 50px -24px rgba(15, 29, 46, .5), 0 2px 6px rgba(15, 29, 46, .06);
  rotate: var(--r); animation: bob var(--t) ease-in-out infinite alternate;
  transition: rotate .5s var(--ease), scale .5s var(--ease), box-shadow .5s, opacity .45s var(--ease);
}
.hf-in:hover, .hf-in:focus-visible { animation-play-state: paused; rotate: 0deg; scale: 1.07; box-shadow: 0 34px 60px -24px rgba(15, 29, 46, .6), 0 0 0 1px var(--brass); }
.hf-in.swap { opacity: 0; scale: .9; }
@keyframes bob { from { transform: translateY(-9px); } to { transform: translateY(9px); } }
.hf-img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.hf-img img { width: 100%; height: 100%; object-fit: cover; }
.hf-tag { position: absolute; left: 6px; top: 6px; padding: 3px 6px; background: var(--brass); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hf-name { display: block; margin-top: 10px; padding: 0 3px; font-weight: 700; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variation-settings: "wdth" 106; }
.hf-meta { display: block; margin-top: 2px; padding: 0 3px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf-price { display: block; margin-top: 8px; padding: 8px 3px 0; border-top: 1px solid var(--line); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 108; }
.hf:nth-child(1) { left: 3%; top: 15%; --r: -5deg; --z: 18; --t: 5.2s; --k: 0; }
.hf:nth-child(2) { left: 10%; top: 44%; --r: 3deg; --z: 30; --t: 6.1s; --k: 2; }
.hf:nth-child(3) { left: 4%; top: 71%; --r: -2deg; --z: 14; --t: 5.6s; --k: 4; }
.hf:nth-child(4) { right: 4%; top: 14%; --r: 4deg; --z: 22; --t: 5.8s; --k: 1; }
.hf:nth-child(5) { right: 10%; top: 45%; --r: -4deg; --z: 32; --t: 6.4s; --k: 3; }
.hf:nth-child(6) { right: 3%; top: 72%; --r: 2deg; --z: 16; --t: 5.3s; --k: 5; }

.star { color: var(--brass); width: .8em; height: .8em; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; background: var(--paper-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font: italic 800 clamp(22px, 2.6vw, 36px)/1 "Archivo"; font-variation-settings: "wdth" 120;
  padding: 0 .55em; white-space: nowrap; display: flex; align-items: center; gap: 1.1em;
}
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee-track span::after { content: ""; width: 10px; height: 10px; background: var(--brass); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) var(--pad); position: relative; }
.section h2 { font-size: clamp(36px, 5.2vw, 76px); letter-spacing: -.02em; max-width: 15em; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-aside { max-width: 24em; color: var(--muted); }
.section-aside strong { color: var(--ink); }
.lede { font-size: 18px; color: var(--muted); max-width: 30em; margin-top: 24px; }
.appraisal h2, .visit h2, .finance h2 { font-size: clamp(36px, 4.4vw, 66px); }
.dark { background: var(--ink); color: var(--paper); }
.dark .lede { color: #AEB8C5; }
.dark .section-num { color: var(--brass-lt); }

/* ---------- Stock / catálogo ---------- */
.stock { padding: 28px var(--pad) clamp(70px, 9vw, 120px); }
.catalog { display: grid; grid-template-columns: 272px 1fr; gap: 32px; align-items: start; }
.filters {
  position: sticky; top: 84px; max-height: calc(100svh - 100px); display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  transition: top .5s var(--ease);
}
.nav.hide ~ main .filters { top: 16px; }
.f-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.f-title { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.f-reset { font-size: 13px; color: var(--blue); font-weight: 600; margin-left: auto; }
.f-reset:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-close { display: none; width: 38px; height: 38px; }
.f-body { overflow-y: auto; padding: 4px 18px 10px; scrollbar-width: thin; }
.fg { border-bottom: 1px solid var(--line); padding: 14px 0; }
.fg:last-child { border-bottom: 0; }
.fg-lbl, .fg-hdr { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.fg-hdr { width: 100%; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.fg-hdr i { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-135deg); transition: transform .4s var(--ease); }
.fg:not(.open) .fg-hdr i { transform: rotate(45deg); }
.fg-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease), opacity .3s, margin .45s var(--ease); margin-top: 12px; }
.fg-body > * { min-height: 0; }
.fg:not(.open) .fg-body { grid-template-rows: 0fr; opacity: 0; margin-top: 0; overflow: hidden; }
.fg:not(.open) .fg-body.bounds { display: none; }
.cat-tree { display: grid; margin-top: 8px; }
.cat-node {
  display: flex; justify-content: space-between; align-items: center; text-align: left;
  padding: 7px 10px; font-size: 14px; color: var(--ink); position: relative; transition: background .25s, color .25s, padding .3s var(--ease);
}
.cat-node.child { padding-left: 26px; color: var(--muted); }
.cat-node small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-node:hover { background: var(--paper); }
.cat-node.active { background: var(--ink); color: var(--paper); }
.cat-node.active small { color: var(--brass-lt); }
.cat-node:disabled { opacity: .4; cursor: default; background: none; }
.brand-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bp {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 13px;
  border: 1px solid var(--line); transition: border-color .25s, background .25s, color .25s;
  animation: cardIn .4s var(--ease) both;
}
.bp::before { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; transition: background .25s, box-shadow .25s; }
.bp:hover { border-color: var(--ink); }
.bp[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bp[aria-pressed="true"]::before { background: var(--brass-lt); border-color: var(--brass-lt); }
.facet-more { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--blue); justify-self: start; }
.bounds { grid-template-columns: 1fr 1fr; gap: 8px; }
.bounds label { display: grid; gap: 3px; }
.bounds span { font-size: 11px; color: var(--muted); }
.bounds input {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  padding: 8px 10px; border-radius: 0; -moz-appearance: textfield; transition: border-color .25s;
}
.bounds input::-webkit-outer-spin-button, .bounds input::-webkit-inner-spin-button { -webkit-appearance: none; }
.bounds input:focus { outline: none; border-color: var(--ink); }
.f-apply { display: none; padding: 14px 18px; border-top: 1px solid var(--line); }
.f-overlay { display: none; }

.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.f-open { display: none; }
.f-badge[hidden] { display: none; }
.f-badge { background: var(--brass); color: var(--ink); font-size: 11px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 9px; padding: 0 5px; }
.field-search { flex: 1 1 240px; position: relative; max-width: 420px; }
.field-search input, .select select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); padding: 10px 14px; border-radius: 0; transition: border-color .3s;
}
.field-search input:focus, .select select:focus { border-color: var(--ink); outline: none; }
.select { position: relative; }
.select select { appearance: none; padding-right: 38px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.result-line { font-size: 14px; color: var(--muted); margin-left: auto; }
.result-line span { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 36px 22px; }
.car { opacity: 0; transform: translateY(30px); animation: cardIn .8s var(--ease) forwards; animation-delay: calc(var(--k) * 60ms); }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.car-media { display: block; width: 100%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); text-align: left; }
.car-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .6s; }
.car-media img + img { opacity: 0; }
.car:hover .car-media img:first-child { transform: scale(1.06); }
.car:hover .car-media img + img { opacity: 1; transform: scale(1.03); }
.car-media .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px;
}
.car-media .tag.new { background: var(--brass); }
.car-media .view {
  position: absolute; z-index: 2; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; padding: 8px 12px;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease);
}
.car:hover .view, .car-media:focus-visible .view { opacity: 1; transform: none; }
.car-body { padding-top: 16px; display: grid; gap: 4px; }
.car-meta { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.car h3 { font-size: 21px; font-variation-settings: "wdth" 108; line-height: 1.15; }
.car h3 button { text-align: left; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.car:hover h3 button { background-size: 100% 1px; }
.car-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.car-price b { font-size: 20px; font-variant-numeric: tabular-nums; }
.car-price small { font-size: 13px; color: var(--muted); }
.empty { padding: 40px 0; color: var(--muted); }
.more-wrap { text-align: center; margin-top: 64px; }
.more-wrap .btn { padding: 18px 34px; }
.more-wrap[hidden] { display: none; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; padding-top: 10px; }
.steps-line { position: absolute; top: 34px; left: 24px; right: 24px; height: 1px; background: var(--line); }
.steps-line span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.step b {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--ink); font-size: 18px; font-weight: 800; margin-bottom: 28px;
  transition: background .4s, color .4s;
}
.step.lit b { background: var(--ink); color: var(--paper); }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 18em; }

/* ---------- Finance ---------- */
.finance-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; flex-wrap: wrap; margin-bottom: 44px; }
.finance-intro .lede { max-width: 26em; margin: 0; }
.finance-intro strong { color: var(--paper); }
.bank-tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line-dk); margin-bottom: 48px; }
.bank-tabs button {
  position: relative; z-index: 1; height: 84px; display: grid; place-items: center; background: var(--ink-2);
  transition: background .4s;
}
.bank-tabs img { max-height: 30px; max-width: 70%; width: auto; filter: grayscale(1) brightness(1.8) contrast(.6); opacity: .6; transition: filter .5s, opacity .5s, transform .5s var(--ease); }
.bank-tabs button:hover img { opacity: .9; }
.bank-tabs button[aria-selected="true"] { background: var(--paper); }
.bank-tabs button[aria-selected="true"] img { filter: none; opacity: 1; transform: scale(1.06); }
.bank-ind { position: absolute; z-index: 2; bottom: 0; left: 0; height: 3px; background: var(--brass); transition: transform .55s var(--ease), width .55s var(--ease); }
.finance-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.small-title { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--brass-lt); margin-bottom: 8px; font-variation-settings: "wdth" 100; }
.req-intro { color: #AEB8C5; margin-bottom: 10px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line-dk); position: relative; animation: reqIn .6s var(--ease) both; }
@keyframes reqIn { from { opacity: 0; transform: translateX(-16px); } }
.checks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 6px; border: solid var(--brass-lt); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.req-note { margin-top: 22px; font-size: 14px; color: #8A96A5; }

.card-form { background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; overflow-x: clip; }
.cf-head { display: grid; gap: 16px; }
.card-form h3 { font-size: 28px; }
.cf-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; counter-reset: st; }
.cf-steps li { counter-increment: st; flex: 1; font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 2px solid var(--line); transition: color .4s, border-color .4s; }
.cf-steps li::before { content: counter(st) ". "; }
.cf-steps li.on { color: var(--ink); border-color: var(--brass); font-weight: 600; }
.cf-step { display: none; gap: 18px; }
.cf-step.on { display: grid; animation: stepIn .55s var(--ease); }
.cf-step.on.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-40px); } }
.doc-count { font-size: 14px; color: var(--muted); }
.doc-count b { color: var(--ink); }
.doc-bar { height: 3px; background: var(--line); }
.doc-bar span { display: block; height: 100%; background: var(--brass); width: calc(var(--p, 0) * 100%); transition: width .5s var(--ease); }
.doc { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .3s, background .3s; }
.doc:hover { border-color: var(--ink); }
.doc input { position: absolute; opacity: 0; }
.doc-box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--ink); margin-top: 2px; position: relative; transition: background .3s; }
.doc-box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.doc input:checked ~ .doc-box { background: var(--ink); }
.doc input:checked ~ .doc-box::after { transform: rotate(45deg) scale(1); }
.doc:has(input:checked) { background: var(--card); border-color: var(--ink); }
.doc input:focus-visible ~ .doc-box { outline: 2px solid var(--brass); outline-offset: 2px; }
.doc b { display: block; font-size: 15px; }
.doc small { color: var(--muted); font-size: 13px; }
.form-note, .form-fine { font-size: 14px; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fl { position: relative; display: block; }
.ac-wrap { position: relative; }
.ac {
  position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 4px; list-style: none;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(15, 29, 46, .18);
  max-height: 300px; overflow-y: auto; animation: acIn .35s var(--ease);
}
@keyframes acIn { from { opacity: 0; transform: translateY(-8px); } }
.ac li { display: flex; align-items: center; gap: 12px; padding: 8px; cursor: pointer; transition: background .2s; animation: cardIn .4s var(--ease) both; animation-delay: calc(var(--k) * 30ms); }
.ac li:hover, .ac li.on { background: var(--paper-2); }
.ac img { width: 56px; height: 40px; object-fit: cover; flex: none; }
.ac span { flex: 1; min-width: 0; display: grid; }
.ac b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac small { font-size: 12px; color: var(--muted); }
.ac em { font-style: normal; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac .ac-empty { cursor: default; color: var(--muted); font-size: 14px; }
.fl input, .fl select, .fl textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(15, 29, 46, .3); border-radius: 0; padding: 24px 0 9px; appearance: none; resize: vertical;
}
.fl > span {
  position: absolute; left: 0; top: 23px; font-size: 16px; color: var(--muted); pointer-events: none;
  transform-origin: 0 0; transition: transform .35s var(--ease), color .3s;
}
.fl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.fl:focus-within::after { transform: scaleX(1); }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; }
.fl input:not(:placeholder-shown) + span, .fl textarea:not(:placeholder-shown) + span,
.fl:focus-within > span, .fl select:valid + span { transform: translateY(-19px) scale(.78); color: var(--blue); }
.fl.err { animation: shake .4s; }
.fl.err::after { transform: scaleX(1); background: #B4432F; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- Appraisal ---------- */
.appraisal { background: var(--paper-2); }
.appraisal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.facts { list-style: none; padding: 0; margin: 44px 0 0; }
.facts li { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.facts b { font-size: 26px; font-variation-settings: var(--wide); min-width: 4.4em; color: var(--blue); font-style: italic; }
.facts span { color: var(--muted); }
.plain-form { display: grid; gap: 22px; background: var(--card); padding: clamp(24px, 4vw, 48px); }
.form-end { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-end .form-fine { max-width: 22em; }

/* ---------- Reviews ---------- */
.score { display: grid; justify-items: start; gap: 8px; }
.score .stars svg { width: 22px; height: 22px; }
.score b { font-size: 64px; line-height: 1; font-variation-settings: "wdth" 125; font-style: italic; }
.stars { display: flex; gap: 3px; color: var(--brass); }
.score small { color: var(--muted); font-size: 13px; }
.slider { overflow: hidden; margin-right: calc(var(--pad) * -1); cursor: grab; touch-action: pan-y; }
.slider.drag { cursor: grabbing; }
.slider-track { display: flex; gap: 24px; width: max-content; will-change: transform; }
.quote {
  margin: 0; width: min(420px, 82vw); padding: 36px 32px 28px; background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; user-select: none;
  transition: border-color .4s, transform .5s var(--ease);
}
.quote:hover { border-color: var(--ink); }
.quote.reveal { transform: translateX(90px) rotate(1.5deg); transform-origin: 0 100%; }
.quote.reveal.in { transform: none; }
.quote blockquote::before { transition: transform .6s var(--ease); }
.quote:hover blockquote::before { transform: translateY(-6px) rotate(-8deg); }
.score .stars svg { transform: scale(0) rotate(-90deg); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1); }
.score.in .stars svg { transform: none; }
.score.in .stars svg:nth-child(2) { transition-delay: .1s; }
.score.in .stars svg:nth-child(3) { transition-delay: .2s; }
.score.in .stars svg:nth-child(4) { transition-delay: .3s; }
.score.in .stars svg:nth-child(5) { transition-delay: .4s; }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; position: relative; padding-top: 40px; }
.quote blockquote::before { content: "\201C"; position: absolute; top: -10px; left: -4px; font: italic 900 72px/1 "Archivo"; color: var(--brass); }
.quote figcaption { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.quote figcaption b { color: var(--ink); }
.slider.static { cursor: default; }
.slider-ctrl[hidden] { display: none; }
.slider-ctrl { display: flex; align-items: center; gap: 10px; margin: 36px 0 40px; }
.slider-progress { flex: 1; height: 1px; background: var(--line); position: relative; margin-right: 20px; }
.slider-progress span { position: absolute; left: 0; top: -1px; height: 3px; background: var(--ink); width: 20%; transition: transform .2s; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: stretch; }
.open-now { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 8px; font-weight: 600; font-size: 15px; }
.open-now i { width: 9px; height: 9px; border-radius: 50%; background: #9AA1A9; position: relative; }
.open-now.open i { background: #2F7D4F; }
.open-now.open i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.contact { margin: 24px 0 40px; }
.contact > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact dd { margin: 0; }
.contact a { background-image: linear-gradient(var(--brass), var(--brass)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.contact a:hover { background-size: 100% 1px; }
.map { min-height: 460px; position: relative; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.9) sepia(.15) contrast(1.05); transition: filter .8s; }
.map:hover iframe { filter: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(70px, 10vw, 120px) var(--pad) 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.footer-claim { font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.15; font-variation-settings: "wdth" 112; }
.footer-claim a { display: inline-flex; align-items: center; gap: .4em; color: var(--brass-lt); font-style: italic; margin-top: 6px; }
.footer-claim a svg { transition: transform .5s var(--ease); }
.footer-claim a:hover svg { transform: translateX(8px); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols div { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-cols h3, .footer-cols h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-soft); font-weight: 600; margin-bottom: 8px; font-variation-settings: "wdth" 100; }
.footer-cols a { color: #D3D9E0; display: inline-flex; align-items: center; gap: 8px; transition: color .3s, transform .4s var(--ease); width: fit-content; }
.footer-cols a:hover { color: var(--paper); transform: translateX(4px); }
.footer-cols span { color: #8A96A5; }
.ico { width: 18px; height: 18px; }
.footer-word { margin: clamp(60px, 9vw, 120px) 0 20px; line-height: .8; }
.footer-word span { display: flex; white-space: nowrap; margin-left: -.04em; cursor: default; user-select: none; }
.footer-word .ch {
  --p: 0;
  display: inline-block; font: italic 900 15.6vw/0.8 "Archivo"; letter-spacing: -.035em;
  font-variation-settings: "wdth" 125, "wght" calc(900 - var(--p) * 620);
  color: transparent; -webkit-text-stroke: 1px rgba(244, 240, 232, .35);
  transform: translateY(calc(var(--p) * -16%)) skewX(calc(var(--p) * -10deg)) scale(calc(1 + var(--p) * .06));
  transform-origin: 50% 100%;
  transition: color .7s var(--ease), -webkit-text-stroke-color .7s, transform .45s var(--ease), font-variation-settings .45s var(--ease), text-shadow .45s;
}
.footer-word .ch.on { color: color-mix(in srgb, var(--brass-lt) calc(var(--p) * 100%), var(--paper)); -webkit-text-stroke-color: transparent; transition-delay: calc(var(--i) * 60ms), 0s, 0s, 0s, 0s; }
.footer-word .ch:not(.on) { -webkit-text-stroke-color: color-mix(in srgb, var(--brass-lt) calc(var(--p) * 100%), rgba(244, 240, 232, .35)); }
.footer-word .ch { text-shadow: 0 0 calc(var(--p) * 40px) rgba(221, 176, 106, calc(var(--p) * .45)); }
.footer-word.wave .ch { animation: chWave .9s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes chWave { 0%, 100% { translate: 0 0; } 35% { translate: 0 -22%; } 60% { translate: 0 4%; } }
.footer-bottom { display: flex; padding-right: 76px; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8A96A5; padding-top: 22px; border-top: 1px solid var(--line-dk); }
.footer-bottom a:hover { color: var(--paper); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #1F8A4C; color: #fff; font-size: 28px;
  box-shadow: 0 8px 24px rgba(15, 29, 46, .25);
  transform: scale(0); transition: transform .6s var(--ease);
}
.ready .wa-float { transform: scale(1); transition-delay: 1.6s; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); transition-delay: 0s; }

/* ---------- Dialog ---------- */
.car-dialog {
  width: min(1180px, 100vw - 32px); max-height: calc(100svh - 32px); padding: 0; border: 0; background: var(--card); color: var(--ink);
  display: grid; grid-template-columns: 1.45fr 1fr; overflow: hidden;
}
.car-dialog:not([open]) { display: none; }
.car-dialog[open] { animation: dlgIn .6s var(--ease); }
.car-dialog.closing { animation: dlgOut .35s var(--ease-io) forwards; }
.car-dialog::backdrop { background: rgba(15, 29, 46, .7); backdrop-filter: blur(4px); animation: fade .5s; }
.car-dialog.closing::backdrop { animation: fade .35s reverse forwards; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(40px) scale(.98); } }
@keyframes dlgOut { to { opacity: 0; transform: translateY(30px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.cd-close { position: absolute; top: 14px; right: 14px; z-index: 5; background: var(--card); }
.cd-gallery { position: relative; background: var(--ink); display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.cd-main { position: relative; overflow: hidden; min-height: 320px; touch-action: pan-y; }
.cd-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .9s var(--ease); }
.cd-main img.on { opacity: 1; transform: none; }
.cd-nav { position: absolute; top: calc(50% - 50px); background: rgba(244, 240, 232, .9); border: 0; }
.cd-nav.prev { left: 14px; }
.cd-nav.next { right: 14px; }
.cd-counter { position: absolute; left: 16px; top: 16px; background: rgba(15, 29, 46, .7); color: var(--paper); font-size: 13px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.cd-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; scrollbar-width: thin; }
.cd-thumbs button { flex: none; width: 76px; height: 54px; opacity: .45; transition: opacity .3s; outline-offset: -2px; }
.cd-thumbs button.on { opacity: 1; outline: 2px solid var(--brass); }
.cd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cd-info { padding: 44px 36px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.cd-cat { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.cd-info h3 { font-size: clamp(28px, 3vw, 38px); }
.cd-price { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cd-price small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.cd-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 8px 0; border-top: 1px solid var(--line); }
.cd-specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cd-specs dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.cd-specs dd { margin: 2px 0 0; font-weight: 600; }
.cd-desc { color: var(--muted); white-space: pre-line; }
.cd-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 12px; }
.cd-info > * { opacity: 0; transform: translateY(16px); animation: cardIn .7s var(--ease) forwards; }
.cd-info > *:nth-child(2) { animation-delay: .08s; }
.cd-info > *:nth-child(3) { animation-delay: .14s; }
.cd-info > *:nth-child(4) { animation-delay: .2s; }
.cd-info > *:nth-child(n+5) { animation-delay: .26s; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--paper); padding: 14px 20px; font-size: 15px; transition: transform .6s var(--ease);
}
.toast.on { transform: translate(-50%, 0); }

/* ---------- Páginas legales ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 130px 16px 90px; animation: cardIn .8s var(--ease) both; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; }
.legal-date { color: var(--muted); font-size: 14px; margin: 14px 0 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-body h2 { font-size: 22px; margin: 40px 0 12px; font-variation-settings: "wdth" 108; }
.legal-body p, .legal-body li { color: #36404C; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--brass); }
.legal-body a, .legal-other a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-other { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.legal-foot { padding-top: 0; }
.legal-foot .footer-bottom { padding-right: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: block; }
  .catalog { grid-template-columns: 1fr; }
  .filters {
    position: fixed; z-index: 70; top: 0 !important; left: 0; bottom: 0; width: min(360px, 88vw); max-height: none;
    transform: translateX(-102%); transition: transform .55s var(--ease-io); border: 0;
  }
  .filters-open .filters { transform: none; }
  .f-overlay { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(15, 29, 46, .55); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .filters-open .f-overlay { opacity: 1; pointer-events: auto; }
  .f-close { display: grid; }
  .f-reset { margin-left: auto; }
  .f-apply { display: block; }
  .f-open { display: inline-flex; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps-line { display: none; }
  .finance-grid, .appraisal-grid, .visit-grid, .footer-top { grid-template-columns: 1fr; }
  .card-form { position: static; }
  .hero { display: flex; flex-direction: column; align-items: center; min-height: 0; padding-top: 104px; padding-bottom: 36px; }
  .hero-copy { width: min(640px, 100%); }
  .hero-float {
    position: static; width: calc(100% + var(--pad) * 2); margin: 34px calc(var(--pad) * -1) 0; padding: 12px var(--pad) 20px;
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none;
  }
  .hero-float::-webkit-scrollbar { display: none; }
  .hf { position: static; flex: none; width: 210px; translate: none; scroll-snap-align: start; }
  .hf-in { rotate: 0deg; animation: none; }
}
@media (max-width: 860px) {
  .hero .eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 16px; }
  .hero .eyebrow::before, .hero .eyebrow::after { display: none; }
  .hero-title { font-size: min(10vw, 52px); font-variation-settings: "wdth" 100; }
  .hero-lede { font-size: 15px; line-height: 1.6; margin-top: 18px; }
  .hero-search { margin-top: 26px; padding-left: 14px; }
  .hero-search input { font-size: 16px; }
  .hero-search .btn { padding: 14px 16px; }
  .hero-search .btn span { display: none; }
  .hero-trust { font-size: 13px; gap: 6px 18px; }
  .hero-rings span::before, .hero-rings span::after { display: none; }
  /* Accesos rápidos en celular: fila deslizable de tipos de vehículo con ícono, sin cantidades */
  .hero-chips {
    flex-wrap: nowrap; justify-content: flex-start; gap: 10px; margin: 18px calc(var(--pad) * -1) 0; padding: 4px var(--pad) 6px;
    width: calc(100% + var(--pad) * 2); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .hero-chips::-webkit-scrollbar { display: none; }
  .hero-chips button, .hero-chips .solo-movil {
    flex: none; display: grid; justify-items: center; gap: 6px; min-width: 86px; padding: 12px 10px 10px; scroll-snap-align: start;
    font-size: 13px; font-weight: 600; background: var(--card); border-color: transparent; box-shadow: 0 10px 24px -16px rgba(15, 29, 46, .5);
  }
  .hero-chips .chip-ic { display: block; width: 46px; height: 19px; color: var(--ink); transition: color .3s; }
  .hero-chips button:hover .chip-ic, .hero-chips button:focus-visible .chip-ic { color: var(--brass-lt); }
  .hero-chips small, .hero-chips .solo-pc { display: none; }
  .car-dialog { grid-template-columns: 1fr; overflow-y: auto; width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; margin: 0; }
  .car-dialog { align-content: start; }
  .cd-gallery { min-height: auto; grid-template-rows: auto auto; }
  .cd-main { height: 72vw; min-height: 0; }
  .cd-thumbs { padding: 10px; gap: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cd-thumbs::-webkit-scrollbar { display: none; }
  .cd-thumbs button { width: 84px; height: 60px; scroll-snap-align: center; }
  .cd-info { overflow: visible; padding: 28px 20px 32px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav .btn span { display: none; }
  .brand-sub { display: none; }
  .steps { grid-template-columns: 1fr; }
  .toolbar { gap: 10px; }
  .field-search { flex-basis: 100%; max-width: none; order: 2; }
  .f-open { order: 0; }
  .select { order: 1; flex: 1; }
  .result-line { order: 3; margin-left: 0; width: 100%; }
  .two { grid-template-columns: 1fr; }
  .score { justify-items: start; }
  .footer-cols { grid-template-columns: 1fr; }
  .contact > div { grid-template-columns: 1fr; gap: 2px; }
  .map { min-height: 340px; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .loader { display: none; }
  html { scroll-behavior: auto; }
}

/* Banner promocional (Contenido del panel, slot home_above_vehicles: 1600×400) */
.promo-banner { display: block; margin-bottom: 28px; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 1; }
.promo-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Adjuntos de los formularios (documentos de financiación y fotos de tasación) */
.doc input[type=checkbox] { pointer-events: none; }
.doc small.ok { color: var(--ink); }
.photo-drop { display: block; position: relative; padding: 14px 16px; border: 1px dashed var(--line); cursor: pointer; font-size: 14px; color: var(--muted); transition: border-color .3s, background .3s; }
.photo-drop:hover, .photo-drop.has { border-color: var(--ink); color: var(--ink); background: var(--card); }
.photo-drop input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }

.dark .eyebrow, .dark .section-num { color: var(--brass); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
