/* VIMETAL MX — "Taller y plano": warm concrete, ink, safety yellow and blueprint blue. */
:root {
  --paper: #ece8df; --paper-2: #e3ded2; --card: #f7f5f0; --ink: #12161c; --ink-2: #39414d; --steel: #5a616d;
  --yellow: #ffc20e; --yellow-2: #ffd54d; --blue: #1d4fa0; --bp: #0f2b57; --bp-line: rgba(160, 196, 255, .16);
  --line: rgba(18, 22, 28, .14); --ok: #1f7a4a; --err: #b42318;
  --wide: "Archivo", "Arial Black", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 14px; --max: 1240px; --hdr: 72px;
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
}
*, *::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 16px/1.6 var(--wide); font-stretch: 100%; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.display, h1, h2, h3 { font-family: var(--wide); font-stretch: 125%; font-weight: 800; line-height: .98; letter-spacing: -.01em; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.1; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 10px; background: var(--hazard); border-radius: 2px; }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58% 92%, transparent 92%); padding: 0 .08em; }
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head p { margin: 0; max-width: 48ch; color: var(--ink-2); }

/* Buttons */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--bg); background: var(--bg); color: var(--fg); font: 700 .95rem/1 var(--wide); font-stretch: 112%; text-decoration: none; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -2px rgba(18, 22, 28, .18); }
.btn-y { --bg: var(--yellow); --fg: var(--ink); }
.btn-y:hover { --bg: var(--yellow-2); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .82rem; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-text { background: none; border: 0; padding: 8px 0; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* Header */
#hdr { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
#hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(236, 232, 223, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.hdr { height: var(--hdr); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand b { font: 800 1.25rem/1 var(--wide); font-stretch: 125%; letter-spacing: .02em; }
.brand small { display: block; font: 600 .68rem/1.2 var(--mono); letter-spacing: .18em; color: var(--steel); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav-item > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; background: none; border: 0; font-weight: 600; font-size: .93rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav > a:hover, .nav-item > button:hover, .nav [aria-current="page"] { background: var(--paper-2); }
.nav .ext::after { content: "↗"; font-size: .8em; color: var(--steel); }
.nav-item { position: relative; }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-item.open .chev { transform: rotate(-135deg) translateY(-2px); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px); width: min(880px, 92vw); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(18, 22, 28, .35); padding: 18px; opacity: 0; visibility: hidden; transition: .18s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a { display: block; padding: 12px; border-radius: 12px; text-decoration: none; }
.mega a:hover { background: var(--paper); }
.mega b { display: block; font-stretch: 112%; text-transform: uppercase; font-size: .9rem; }
.mega small { color: var(--steel); font-size: .8rem; line-height: 1.3; display: block; margin-top: 3px; }
.mega .mega-all { grid-column: 1 / -1; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.mega .mega-all:hover { background: var(--ink-2); }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: 9px 11px; min-width: 36px; border-radius: 999px; font: 700 .72rem/1 var(--mono); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); transition: .2s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .hdr-actions .btn { display: none; }
  .nav { position: fixed; inset: var(--hdr) 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 16px 16px 40px; gap: 4px; overflow-y: auto; margin: 0; display: none; }
  body.menu-open .nav { display: flex; animation: navin .22s ease; }
  body.menu-open { overflow: hidden; }
  .nav > a, .nav-item > button { font-size: 1.15rem; padding: 14px 12px; width: 100%; justify-content: space-between; font-stretch: 112%; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; display: none; box-shadow: none; grid-template-columns: 1fr 1fr; margin: 4px 0 10px; }
  .nav-item.open .mega { display: grid; transform: none; }
  .nav .nav-cta { margin-top: 12px; }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }
@keyframes navin { from { opacity: 0; transform: translateY(-8px); } }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid > *, .model-top > *, .qwrap > *, .shop > *, .split > *, .contact-grid > *, .race > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 .h1-eyebrow { display: flex; font-stretch: 100%; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.4rem, 4.7vw, 4.5rem); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 34px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.stat { padding: 14px 14px 0 0; }
.stat + .stat { padding-left: 14px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(1.6rem, 3vw, 2.3rem)/1 var(--wide); font-stretch: 125%; }
.stat > span { font: 500 .78rem/1.3 var(--mono); color: var(--steel); text-transform: uppercase; letter-spacing: .06em; }

/* Blueprint stage */
.stage { position: relative; background: var(--bp); color: #dbe7ff; border-radius: 22px; padding: 18px 18px 0; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(15, 43, 87, .8);
  background-image: linear-gradient(var(--bp-line) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line) 1px, transparent 1px), linear-gradient(rgba(160,196,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(160,196,255,.06) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; }
.stage-top { display: flex; justify-content: space-between; font: 500 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.stage-top b { color: var(--yellow); font-weight: 600; }
.stage-fig { position: relative; aspect-ratio: 16 / 10.5; margin: 6px 0 0; }
.stage-fig img { position: absolute; inset: 8% 6% 14%; width: 88%; height: 78%; object-fit: contain; filter: drop-shadow(0 26px 18px rgba(0, 0, 0, .45)); transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .45s; }
.stage-fig img.out { transform: translateX(-60%); opacity: 0; }
.stage-fig img.in { transform: translateX(60%); opacity: 0; }
.dim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dim line, .dim path { stroke: #9cc0ff; stroke-width: 1.4; fill: none; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.2s .25s ease forwards; }
.dim .tick { stroke-width: 1.4; }
.dim text { fill: var(--yellow); font: 600 13px var(--mono); letter-spacing: .06em; opacity: 0; animation: fade .5s .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.stage-specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed rgba(156, 192, 255, .45); margin: 0 -18px; }
.stage-specs div { padding: 12px 18px; }
.stage-specs div + div { border-left: 1px dashed rgba(156, 192, 255, .45); }
.stage-specs small { display: block; font: 500 .66rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.stage-specs b { font: 700 1.05rem/1.3 var(--mono); color: #fff; }
.stage-tabs { display: flex; gap: 6px; padding: 12px 18px 16px; margin: 0 -18px; background: rgba(0, 0, 0, .22); overflow-x: auto; scrollbar-width: none; }
.stage-tabs button { flex: 0 0 auto; border: 1px solid rgba(156, 192, 255, .35); background: transparent; color: #dbe7ff; border-radius: 999px; padding: 11px 14px; min-height: 36px; font: 600 .72rem/1 var(--mono); letter-spacing: .06em; cursor: pointer; text-transform: uppercase; position: relative; overflow: hidden; }
.stage-tabs button[aria-selected="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.stage-tabs button .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--ink); width: 0; }
.stage-tabs button[aria-selected="true"] .bar { animation: bar 5s linear forwards; }
.stage.paused .stage-tabs .bar { animation-play-state: paused; }
@keyframes bar { to { width: 100%; } }
.stage-link { position: absolute; right: 10px; top: 34px; z-index: 2; padding: 10px 8px; font: 600 .74rem/1 var(--mono); color: var(--yellow); text-decoration: none; letter-spacing: .06em; text-transform: uppercase; }
.stage-link:hover { text-decoration: underline; }

/* Hazard band */
.band { background: var(--ink); color: #fff; overflow: hidden; border-block: 10px solid transparent; border-image: var(--hazard) 10; }
.marquee { display: flex; gap: 48px; padding: 18px 0; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font: 800 1.3rem/1 var(--wide); font-stretch: 125%; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "◆"; color: var(--yellow); font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Finder */
.finder { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(18px, 3vw, 34px); }
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.use input { position: absolute; opacity: 0; pointer-events: none; }
.use label { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px 10px 11px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; background: var(--paper); transition: .15s; user-select: none; }
.use label svg { width: 22px; height: 22px; flex: 0 0 22px; }
.use label:hover { border-color: var(--ink); }
.use input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.use input:checked + label svg { color: var(--yellow); }
.use input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.finder-bar { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; padding: 16px 0 6px; border-top: 1px dashed var(--line); }
.range-wrap label { display: flex; justify-content: space-between; font: 600 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 12px; }
.range-wrap output { color: var(--ink); background: var(--yellow); padding: 4px 8px; border-radius: 6px; }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }
.units { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.units button { border: 0; background: none; padding: 10px 14px; border-radius: 999px; font: 700 .75rem/1 var(--mono); cursor: pointer; }
.units button[aria-pressed="true"] { background: var(--yellow); }
.finder-count { font: 600 .82rem/1.4 var(--mono); color: var(--steel); margin: 16px 0; }
.finder-count b { color: var(--ink); }
.empty { padding: 28px; border: 2px dashed var(--line); border-radius: 16px; text-align: center; color: var(--ink-2); }

/* Model cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.mcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; animation: pop .35s both; }
.finder .mcard { background: var(--paper); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.mcard:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(18, 22, 28, .5); border-color: var(--ink); }
.mcard figure { margin: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14px; background: radial-gradient(ellipse at 50% 85%, rgba(18,22,28,.12), transparent 60%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 24px; }
.mcard figure img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.mcard:hover figure img { transform: scale(1.05) translateX(4px); }
.mcard .code { position: absolute; top: 12px; left: 12px; font: 600 .68rem/1 var(--mono); letter-spacing: .1em; background: var(--ink); color: var(--yellow); padding: 6px 8px; border-radius: 6px; }
.mcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 1px dashed var(--line); }
.mcard h3 { font-size: 1.02rem; }
.mcard p { margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.chip { font: 600 .7rem/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--paper-2); color: var(--ink-2); letter-spacing: .02em; }
.finder .chip { background: var(--card); }
.chip.y { background: var(--yellow); color: var(--ink); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.cat { grid-column: span 4; position: relative; min-height: 260px; border-radius: 22px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; isolation: isolate; }
.cat:nth-child(1), .cat:nth-child(5) { grid-column: span 5; }
.cat:nth-child(2), .cat:nth-child(6) { grid-column: span 7; }
.cat:nth-child(3), .cat:nth-child(4) { grid-column: span 6; }
.cat:nth-child(7) { grid-column: span 12; min-height: 200px; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 100% 22px; }
.cat img { position: absolute; right: -4%; bottom: 4%; width: 68%; max-height: 74%; object-fit: contain; z-index: -1; transition: transform .5s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 18px 14px rgba(0,0,0,.5)); }
.cat:hover img { transform: translateX(-6%) scale(1.04); }
.cat:nth-child(1) img, .cat:nth-child(5) img { width: 52%; max-height: 56%; right: -3%; bottom: 3%; }
.cat p, .cat h3, .cat .num { position: relative; }
.cat .num { font: 600 .74rem/1 var(--mono); color: var(--yellow); letter-spacing: .12em; }
.cat h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); max-width: 60%; }
.cat p { margin: 8px 0 0; color: #c7ccd4; font-size: .9rem; max-width: 46%; }
.cat .go { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 800; transition: transform .2s; }
.cat:hover .go { transform: rotate(-45deg); }
.cat.alt { background: var(--yellow); color: var(--ink); }
.cat.alt p { color: var(--ink-2); }
.cat.alt .num { color: var(--ink); }
.cat.alt .go { background: var(--ink); color: var(--yellow); }
.cat.alt::before { background: linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 100% 22px; }

/* Process (sketch to machine) */
.process { background: var(--ink); color: #fff; overflow: hidden; }
.process .lead { color: #c7ccd4; }
.process h2 { margin-bottom: 20px; }
.process .hl { background: var(--yellow); color: var(--ink); padding: 0 .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 8px, transparent 8px 16px); }
.steps .fill { position: absolute; left: 0; top: 23px; height: 2px; background: var(--yellow); width: var(--p, 0%); transition: width .2s linear; }
.step { position: relative; padding-right: 22px; }
.step .dot { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); background: var(--ink); display: grid; place-items: center; font: 700 .9rem var(--mono); transition: .3s; position: relative; z-index: 1; }
.step.on .dot { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.step h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.step p { color: #b9bfc8; font-size: .92rem; }
.process-media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 44px; }
.process-media figure { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; position: relative; }
.process-media figure:first-child { background: #fff; display: grid; place-items: center; padding: 18px; }
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.process-media figure:first-child img { object-fit: contain; max-height: 320px; }
.process-media figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--yellow); color: var(--ink); font: 600 .7rem/1 var(--mono); padding: 6px 8px; border-radius: 6px; letter-spacing: .08em; text-transform: uppercase; }

/* Shop split (video) */
.shop { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.phone { position: relative; max-width: 330px; margin-inline: auto; border-radius: 34px; padding: 10px; background: var(--ink); box-shadow: 0 40px 70px -30px rgba(18,22,28,.7); transform: rotate(-3deg); }
.phone video, .phone img { border-radius: 26px; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #222; }
.phone .tag { position: absolute; top: 26px; left: -18px; background: var(--yellow); font: 700 .72rem/1 var(--mono); padding: 8px 10px; border-radius: 8px; transform: rotate(-4deg); letter-spacing: .08em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.fact { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--card); }
.fact b { display: block; font: 800 1.9rem/1 var(--wide); font-stretch: 125%; margin-bottom: 6px; }
.fact span { color: var(--ink-2); font-size: .9rem; line-height: 1.4; display: block; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.clients li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 14px; filter: grayscale(1); transition: filter .2s, transform .2s; }
.clients li:hover { filter: none; transform: translateY(-3px); }
.clients img { max-height: 70px; object-fit: contain; }

/* Race band */
.race { background: #0b0c0e; color: #fff; border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; position: relative; }
.race::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: repeating-linear-gradient(90deg, #ff5a1f 0 40px, #0b0c0e 40px 46px); }
.race div { padding: clamp(28px, 4vw, 56px); }
.race h2 { font-style: italic; }
.race p { color: #b9bec6; }
.race img { width: 100%; height: 100%; object-fit: contain; padding: 24px; transform: translateX(6%); transition: transform .6s; }
.race:hover img { transform: translateX(0); }
.btn-race { --bg: #ff5a1f; --fg: #fff; }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; font: 700 1.1rem/1.3 var(--wide); font-stretch: 112%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.8rem/1 var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 70ch; padding-bottom: 12px; }

/* CTA */
.cta { position: relative; background: var(--yellow); border-radius: 28px; padding: clamp(32px, 6vw, 72px); overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: var(--hazard); border-radius: 50%; opacity: .14; }
.cta h2 { max-width: 16ch; }
.cta .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Footer */
footer { background: var(--ink); color: #c7ccd4; margin-top: clamp(64px, 9vw, 120px); padding: 64px 0 28px; border-top: 10px solid transparent; border-image: var(--hazard) 10; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot h4 { color: #fff; font: 700 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--yellow); }
.foot .brand b { color: #fff; }
.foot .slogan { font: 800 1.5rem/1.05 var(--wide); font-stretch: 125%; color: #fff; text-transform: uppercase; margin: 18px 0 10px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.socials a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.socials svg { width: 18px; height: 18px; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font: 500 .78rem/1.4 var(--mono); color: #8b929c; }

/* Floating WhatsApp + mobile quote bar */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 30px; height: 30px; }
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: flex; position: fixed; left: 12px; right: 90px; bottom: 18px; z-index: 39; }
  .mbar .btn { width: 100%; box-shadow: 0 12px 26px -8px rgba(0,0,0,.45); }
  body.no-mbar .mbar { display: none; }
  footer { padding-bottom: 96px; }
}

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* Page hero (inner pages) */
.phero { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 32px; }
.crumbs { font: 500 .75rem/1 var(--mono); letter-spacing: .06em; color: var(--steel); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; text-transform: uppercase; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Catalog */
.tabs-cat { position: sticky; top: var(--hdr); z-index: 20; background: rgba(236,232,223,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tabs-cat .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.tabs-cat a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .88rem; }
.tabs-cat a:hover, .tabs-cat a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.catblock { padding: 56px 0 8px; scroll-margin-top: calc(var(--hdr) + 60px); }
.catblock .sec-head { margin-bottom: 24px; }
.catblock h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

/* Model page */
.model-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding: 28px 0 0; }
.model-stage { position: sticky; top: calc(var(--hdr) + 16px); }
.model-stage .stage-fig { aspect-ratio: 16 / 11; }
.plate { background: linear-gradient(145deg, #d9dde3, #b9bfc8 45%, #e4e7eb 55%, #aab1bb); border-radius: 18px; padding: 20px 22px; border: 1px solid #9aa2ad; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 18px 30px -18px rgba(18,22,28,.5); position: relative; }
.plate::before, .plate::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #7d8591); top: 10px; left: 10px; box-shadow: calc(100% - 0px) 0 0 0 transparent; }
.plate::after { left: auto; right: 10px; }
.plate h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 6px 0 10px; }
.plate .code { font: 700 .74rem/1 var(--mono); letter-spacing: .16em; color: var(--ink-2); }
.plate dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 14px 0 0; border-top: 1.5px solid rgba(18,22,28,.35); }
.plate dl div { padding: 10px 0; border-bottom: 1px solid rgba(18,22,28,.2); }
.plate dl div:nth-child(odd) { padding-right: 12px; border-right: 1px solid rgba(18,22,28,.2); }
.plate dl div:nth-child(even) { padding-left: 12px; }
.plate dt { font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.plate dd { margin: 5px 0 0; font: 700 1.02rem/1.2 var(--mono); }
.model-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.notice { background: #fff6d6; border: 1px solid #f0d27a; border-radius: 12px; padding: 12px 14px; font-size: .92rem; }
.specs { margin-top: 26px; }
.specs h2 { font-size: 1.1rem; font-stretch: 112%; margin: 26px 0 10px; display: flex; align-items: center; gap: 10px; }
.specs h2::before { content: ""; width: 14px; height: 14px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 3px; }
.specs ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); position: relative; }
.specs li::before { content: "—"; position: absolute; left: 0; color: var(--steel); font-family: var(--mono); }
.uses-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* Quote builder */
.qwrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.qstep { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.4vw, 28px); margin-bottom: 14px; }
.qstep > header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.qstep > header .n { font: 700 .78rem/1 var(--mono); background: var(--ink); color: var(--yellow); padding: 6px 8px; border-radius: 6px; }
.qstep > header h2 { font-size: 1.25rem; font-stretch: 112%; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt label { display: flex; flex-direction: column; gap: 6px; height: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; background: var(--paper); font-weight: 600; font-size: .9rem; line-height: 1.25; transition: .15s; }
.opt label img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.opt label small { font: 500 .72rem/1.3 var(--mono); color: var(--steel); }
.opt label:hover { border-color: var(--ink); }
.opt input:checked + label { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px var(--yellow); }
.opt input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.opts.models { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.checks2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; cursor: pointer; background: var(--paper); font-weight: 600; font-size: .9rem; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); flex: 0 0 auto; }
.check:has(input:checked) { border-color: var(--ink); background: #fff; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ticket { position: sticky; top: calc(var(--hdr) + 16px); background: #fff; border-radius: 6px; padding: 22px 22px 26px; box-shadow: 0 26px 50px -30px rgba(18,22,28,.55); font-family: var(--mono); font-size: .86rem;
  -webkit-mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: radial-gradient(circle at 6px 10px, var(--paper) 5px, transparent 5.5px) 0 0 / 12px 10px repeat-x; }
.ticket h3 { font-family: var(--wide); font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.ticket h3 span { font: 600 .7rem/1 var(--mono); background: var(--yellow); padding: 5px 7px; border-radius: 5px; }
.ticket dl { margin: 12px 0 0; }
.ticket dl div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #c9c9c9; }
.ticket dt { color: #5a616d; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; padding-top: 2px; }
.ticket dd { margin: 0; font-weight: 600; word-break: break-word; }
.ticket img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; margin: 12px 0 4px; }
.ticket .stamp { margin-top: 16px; display: inline-block; border: 2px solid var(--blue); color: var(--blue); font-weight: 700; padding: 6px 10px; border-radius: 6px; transform: rotate(-4deg); letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.ticket .go-form { margin-top: 18px; width: 100%; }

/* Forms (Wix) */
.formbox { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.6vw, 30px); }
.formbox.dark { background: var(--ink); color: #fff; border-color: transparent; }
.fld { margin-bottom: 14px; }
.fld > label { display: block; font: 600 .78rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; color: var(--ink-2); }
.formbox.dark .fld > label { color: #c7ccd4; }
.req { color: var(--err); }
.fld input:not([type=checkbox]):not([type=radio]), .fld select, .fld textarea, .qrow input, .qrow select, .qrow textarea, .tel-wrap select {
  width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; font: 500 1rem/1.4 var(--wide); color: var(--ink); }
.fld textarea, .qrow textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .qrow input:focus, .qrow textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 194, 14, .55); }
.fld [aria-invalid="true"] { border-color: var(--err); }
.tel-wrap { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.err { color: var(--err); font-size: .85rem; margin: 6px 0 0; }
.formbox.dark .err { color: #ff9b8f; }
.help { font-size: .85rem; color: var(--steel); margin: 6px 0 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: inline-block; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; background: #fff; color: var(--ink); }
.choice input:checked + label { background: var(--ink); color: #fff; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.form-error { background: #fdecea; color: var(--err); padding: 10px 12px; border-radius: 10px; }
.form-progress { display: flex; gap: 8px; margin-bottom: 16px; font: 600 .74rem/1 var(--mono); }
.form-progress span { padding: 6px 9px; border-radius: 6px; background: var(--paper-2); color: var(--steel); }
.form-progress span.on { background: var(--yellow); color: var(--ink); }
.thanks { text-align: center; padding: 26px 8px; }
.thanks .display { font-size: 2rem; margin-bottom: 10px; }
.legal-note { font-size: .82rem; color: var(--steel); margin-top: 12px; }
.formbox.dark .legal-note { color: #8b929c; }
.legal-note a { color: inherit; }
.preview-flag { font: 600 .72rem/1.4 var(--mono); background: #e7efff; color: var(--blue); border: 1px dashed var(--blue); padding: 8px 10px; border-radius: 8px; margin-bottom: 14px; }
.loading { color: var(--steel); }

/* Gallery */
.masonry { columns: 3 280px; column-gap: 14px; }
.masonry button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--paper-2); break-inside: avoid; }
.masonry img { width: 100%; transition: transform .4s; }
.masonry button:hover img { transform: scale(1.04); }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(10, 12, 16, .94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lb.open { display: flex; }
.lb img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 10px; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb .x { top: 14px; right: 14px; }
.lb .p { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .n { right: 14px; top: 50%; transform: translateY(-50%); }
.lb .c { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #c7ccd4; font: 500 .8rem var(--mono); }

/* Services / generic split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--paper-2); }
.split figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc article { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.svc article .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); display: grid; place-items: center; }
.svc article .ico svg { width: 28px; height: 28px; }
.svc article p { color: var(--ink-2); margin: 0; flex: 1; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.cinfo { display: grid; gap: 10px; }
.cinfo a, .cinfo div { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none; }
.cinfo a:hover { border-color: var(--ink); }
.cinfo .ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; }
.cinfo .ico svg { width: 22px; height: 22px; }
.cinfo small { display: block; font: 600 .7rem/1.2 var(--mono); letter-spacing: .1em; color: var(--steel); text-transform: uppercase; }
.cinfo b { font-weight: 700; }
.map { border: 0; width: 100%; height: 320px; border-radius: 18px; margin-top: 10px; filter: grayscale(.4) contrast(1.05); }
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.35rem; font-stretch: 112%; margin: 32px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

@media (max-width: 1020px) {
  .hero-grid, .model-top, .qwrap, .shop, .split, .contact-grid, .race { grid-template-columns: 1fr; }
  .model-stage, .ticket { position: static; }
  .cats .cat { grid-column: span 12 !important; min-height: 230px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .steps::before, .steps .fill { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .race img { max-height: 260px; transform: none; }
  .process-media { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  h1 { font-size: clamp(2.1rem, 10.5vw, 2.6rem); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat b { font-size: 1.4rem; }
  .stage-specs b { font-size: .86rem; }
  .stage-specs div { padding: 10px 10px; }
  .finder-bar { grid-template-columns: 1fr; }
  .cat h3 { max-width: 80%; } .cat p { max-width: 70%; }
  .cat img { width: 80%; opacity: .55; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .qrow { grid-template-columns: 1fr; }
  .plate dl { grid-template-columns: 1fr; }
  .plate dl div:nth-child(odd) { border-right: 0; padding-right: 0; }
  .plate dl div:nth-child(even) { padding-left: 0; }
  .brand small { display: none; }
  .lang button { padding: 5px 7px; }
}

/* Google reviews */
.reviews { display: grid; grid-template-columns: .55fr 1.45fr; gap: 14px; margin-bottom: 28px; }
.rating { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 22px; border-radius: 18px; background: var(--ink); color: #fff; text-decoration: none; }
.rating b { font: 800 3.2rem/1 var(--wide); font-stretch: 125%; }
.rating span:last-child { font: 600 .78rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #c7ccd4; }
.rating:hover span:last-child { color: var(--yellow); }
.stars { color: var(--yellow); letter-spacing: .12em; font-size: 1.05rem; }
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.review .stars { color: #d9a400; }
.review blockquote { margin: 0; font-size: .95rem; line-height: 1.5; flex: 1; }
.review figcaption { font: 600 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .review-list { grid-template-columns: 1fr; } }
