/* =========================================================
   MOVAMEX — brand tokens
   Carbon black + Movamex signal red. One accent: a hot-red
   gradient used sparingly (headline, rules, gauge, slider).
   ========================================================= */
:root {
  --c-bg: #08090b;
  --c-bg-2: #0e1013;
  --c-surface: #14171c;
  --c-surface-2: #1b1f26;
  --c-line: rgba(238, 241, 245, 0.09);
  --c-line-strong: rgba(238, 241, 245, 0.2);
  --c-text: #eef1f5;
  --c-muted: #a3aab5;
  --c-red: #d90f1a;
  --c-red-hot: #ff2d37;
  --c-gold: #e9b44c; /* review stars only */
  --c-focus: #ffffff;
  --grad-accent: linear-gradient(100deg, #ff5a5f 0%, #ff2d37 35%, #d90f1a 70%, #a50b13 100%);

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(3.9rem, 10.5vw, 11rem);
  --fs-h2: clamp(2.7rem, 6.2vw, 5.6rem);
  --fs-h3: clamp(1.7rem, 2.8vw, 2.6rem);
  --fs-lead: clamp(1.06rem, 1.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(88px, 11vw, 160px);
  --wrap: 1360px;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-ui: 200ms;
  --header-h: 72px;
  /* floating header pill */
  --pill-h: 60px;
  --pill-w: 1180px;
  --pill-inset: 24px;
  --pill-top: calc(12px + env(safe-area-inset-top, 0px));
  --t-pill-enter: 420ms;
  --t-pill-exit: 260ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; /* anchors + focused fields land below the pill */ }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-red); color: #fff; }
sub { font-size: 0.7em; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #111; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.muted { color: var(--c-muted); }

.h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-lead { color: var(--c-muted); font-size: var(--fs-lead); margin: 0; max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 650; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-sm { --bh: 42px; padding: 0 20px; font-size: 0.92rem; }
.btn-lg { --bh: 58px; padding: 0 34px; font-size: 1.02rem; }
.btn-red { background: var(--c-red); color: #fff; }
.btn-red:hover { background: var(--c-red-hot); }
.btn-ghost { border-color: var(--c-line-strong); background: rgba(8, 9, 11, 0.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--c-text); }
.btn-light { background: #fff; color: #111; }
.btn-light:hover { background: #f1f1f1; }

/* =========================================================
   HEADER
   ========================================================= */
/* Header: a transparent full-width bar at the very top; once the page scrolls it
   shrinks into a floating glass pill that follows the viewport.
   Enter runs a little slower than exit (exit-faster-than-enter). */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; margin-inline: auto; z-index: 50;
  max-width: 100%;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  border-radius: 0;
  transition:
    top var(--t-pill-exit) var(--ease-out), max-width var(--t-pill-exit) var(--ease-out),
    height var(--t-pill-exit) var(--ease-out), padding var(--t-pill-exit) var(--ease-out),
    border-radius var(--t-pill-exit) var(--ease-out), gap var(--t-pill-exit) var(--ease-out);
}
/* glass lives on a pseudo-element so the header never becomes a containing block for the fixed mobile nav */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 50%), rgba(12, 13, 16, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0; transition: opacity var(--t-pill-exit) var(--ease-out);
}
.site-header.is-pill {
  top: var(--pill-top);
  max-width: min(var(--pill-w), calc(100% - 2 * var(--pill-inset)));
  height: var(--pill-h);
  padding: 0 10px 0 22px;
  gap: 24px;
  border-radius: var(--r-pill);
  transition-duration: var(--t-pill-enter);
}
.site-header.is-pill::before { opacity: 1; transition-duration: var(--t-pill-enter); }
.site-header.is-pill .brand-sub { display: none; }
.site-header.is-pill .brand-mark { width: 75px; height: 30px; }
.site-header.is-pill .brand-name { font-size: 1.4rem; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 95px; height: 38px; display: block; object-fit: contain; transition: width 300ms var(--ease-out), height 300ms var(--ease-out); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; letter-spacing: 0.06em; }
.brand-sub {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted);
  font-variation-settings: "wdth" 125; margin-top: 4px;
}
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; font-size: 0.94rem; color: var(--c-muted);
  transition: color var(--t-ui) var(--ease-out); padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left;
  transition: transform 250ms var(--ease-out);
}
.nav a:hover, .nav a.is-current { color: var(--c-text); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
/* shiny promotions button: gold with a light sweep every few seconds */
.promo-btn {
  position: relative; overflow: hidden; isolation: isolate; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: var(--r-pill);
  font-size: 0.84rem; font-weight: 750; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; color: #241800;
  background: linear-gradient(135deg, #fff1b8 0%, #f2c75c 38%, #d99a22 72%, #f7d77a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 170, 0.65), 0 6px 22px rgba(233, 180, 76, 0.32);
  transition: transform var(--t-ui), box-shadow var(--t-ui);
}
.promo-btn svg { width: 16px; height: 16px; flex: none; }
.promo-btn::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.9) 50%, transparent 65%);
  transform: translateX(-130%); animation: promo-sheen 3.6s var(--ease-out) infinite;
}
.promo-btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255, 236, 170, 0.8), 0 10px 30px rgba(233, 180, 76, 0.45); }
.promo-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes promo-sheen { 0% { transform: translateX(-130%); } 38%, 100% { transform: translateX(130%); } }
.promo-short { display: none; }
.header-phone { white-space: nowrap; }
@media (max-width: 1500px) { .header-phone { display: none; } }
/* short label only where space is tight: alongside the full nav, and on phones */
@media (min-width: 1025px) and (max-width: 1240px), (max-width: 560px) {
  .promo-long { display: none; }
  .promo-short { display: inline; }
}
@media (max-width: 1240px) { .header-actions { gap: 12px; } }
/* phones: "Promos" takes the header Cotizar's spot; Cotizar moves to the end of the menu */
.nav .nav-cta { display: none; }
@media (max-width: 560px) {
  .header-actions > .btn-red { display: none; }
  .header-actions { gap: 8px; }
  .nav .nav-cta { display: block; color: var(--c-red-hot); }
}
@media (min-width: 1025px) and (max-width: 1240px) { .site-header .nav { gap: 15px; } .nav a { font-size: 0.86rem; } }
@media (prefers-reduced-motion: reduce) { .promo-btn::after { animation: none; opacity: 0; } }
.header-phone { text-decoration: none; font-weight: 600; font-size: 0.94rem; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--c-red-hot); }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--c-line-strong); border-radius: 50%;
  background: transparent; cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--c-text);
  transition: transform var(--t-ui) var(--ease-out), top var(--t-ui) var(--ease-out);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO — engine sketch. Scrolling turns the crankshaft.
   ========================================================= */
.engine-sec { position: relative; height: 230vh; } /* one engine cycle, then on to the parts */
.engine-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center;
  gap: clamp(16px, 3vw, 48px); padding: calc(var(--header-h) + 8px) var(--gutter) 24px;
  /* blueprint paper: faint grid on carbon */
  background:
    radial-gradient(70% 70% at 70% 50%, rgba(255, 255, 255, 0.035), transparent 70%),
    linear-gradient(rgba(238, 241, 245, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(238, 241, 245, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--c-bg);
}
.engine-copy { position: relative; min-height: 420px; display: grid; align-items: center; }
.engine-hero, .engine-strokes { grid-area: 1 / 1; transition: opacity 450ms var(--ease-out), transform 550ms var(--ease-out), visibility 0s linear 450ms; }
.engine-strokes { opacity: 0; transform: translateY(18px); visibility: hidden; max-width: 520px; }
.engine-sec.is-running .engine-hero { opacity: 0; transform: translateY(-18px); visibility: hidden; }
.engine-sec.is-running .engine-strokes { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.engine-hero .hero-title { font-size: clamp(3.4rem, 6.6vw, 7.6rem); }
.engine-art { height: 100%; max-height: calc(100svh - var(--header-h) - 32px); display: grid; place-items: center; min-width: 0; }
#engine-sketch { width: 100%; height: 100%; max-height: 820px; overflow: visible; }

/* the four strokes */
.stroke-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 22px 0 26px; }
.stroke-steps li {
  position: relative; padding-top: 12px; font-size: 0.82rem; font-weight: 600; color: var(--c-muted);
  border-top: 2px solid var(--c-line-strong); transition: color var(--t-ui), border-color var(--t-ui);
}
.stroke-steps li span { display: block; font-size: var(--fs-micro); letter-spacing: 0.18em; font-variation-settings: "wdth" 120; margin-bottom: 2px; }
.stroke-steps li.is-on { color: var(--c-text); border-color: var(--c-red); }
.stroke-title { margin: 0 0 12px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.9; }
.stroke-text { margin: 0 0 26px; color: var(--c-muted); font-size: var(--fs-lead); max-width: 44ch; min-height: 3.2em; }

/* sketch strokes — chalk on carbon, red for heat and exhaust */
.sk-line, .sk-ghost { fill: none; stroke: #e9ecf1; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sk-ghost { stroke-opacity: 0.28; transform: translate(1.6px, 1.1px); }
.sk-strong { stroke-width: 2.6; }
.sk-thin { stroke-width: 1.3; }
.sk-hatch-line { stroke: #e9ecf1; stroke-opacity: 0.22; stroke-width: 1.2; }
.sk-section { fill: url(#sk-hatch); }
.sk-section-x { fill: url(#sk-hatch-x); }
.sk-part { fill: #14171c; stroke: #e9ecf1; stroke-width: 2; stroke-linejoin: round; }
.sk-ex { stroke: #ff5a5f; }
.sk-weight { stroke: #e9ecf1; stroke-width: 2; }
.sk-port { fill: none; stroke: #e9ecf1; stroke-opacity: 0.5; stroke-width: 14; stroke-linecap: round; }
.sk-gas { stroke: none; transition: fill 120ms linear; }
.sk-spark { fill: #ffd27a; stroke: #fff; stroke-width: 1; opacity: 0; filter: drop-shadow(0 0 6px rgba(255, 190, 90, 0.9)); }
.sk-oil { fill: url(#sk-oil); stroke: none; }
.sk-pipe-out { fill: none; stroke: #e9ecf1; stroke-width: 26; stroke-linecap: round; }
.sk-pipe-in { fill: none; stroke: #2a2e35; stroke-width: 21.5; stroke-linecap: round; }
.sk-runner.sk-pipe-out { stroke-width: 22; }
.sk-runner.sk-pipe-in { stroke-width: 17.5; }
/* shaded materials — the cutaway reads as real castings and machined steel */
.sk-iron-fill { fill: url(#sk-iron); stroke: none; }
.sk-alu-fill { fill: url(#sk-alu); stroke: none; }
.sk-metal-fill { fill: url(#sk-metal); stroke: #e9ecf1; stroke-width: 1.6; stroke-linejoin: round; }
.sk-steel-fill { fill: url(#sk-steel); stroke: #e9ecf1; stroke-width: 1.6; stroke-linejoin: round; }
.sk-ceramic-fill { fill: url(#sk-ceramic); stroke: #e9ecf1; stroke-width: 1.2; }
.sk-bearing { fill: #1b1e23; stroke: #e9ecf1; stroke-width: 1.4; }
.sk-ring { stroke: #23272e; stroke-width: 2.2; fill: none; }
.sk-spring { fill: none; stroke: #c9ced6; stroke-width: 2.2; stroke-linejoin: round; }
.sk-water { fill: rgba(238, 241, 245, 0.05); stroke: #e9ecf1; stroke-opacity: 0.45; stroke-width: 1.2; stroke-dasharray: 4 4; }
.sk-liner { stroke-opacity: 0.45; stroke-width: 1.2; }
.sk-gasket { stroke-width: 3.4; stroke: #e9ecf1; }
.sk-bolt { stroke: #e9ecf1; stroke-opacity: 0.6; stroke-width: 3; stroke-dasharray: 2 3; fill: none; }
.sk-oilway { stroke: #d6a03a; stroke-width: 2; stroke-dasharray: 3 3; fill: none; }
.sk-depth-face { fill: #101216; stroke: #e9ecf1; stroke-opacity: 0.4; stroke-width: 1.6; stroke-linejoin: round; }
.sk-depth-line { stroke: #e9ecf1; stroke-opacity: 0.4; stroke-width: 1.6; fill: none; }
.sk-pipe-back { fill: none; stroke: #e9ecf1; stroke-opacity: 0.3; stroke-width: 24; stroke-linecap: round; }
.sk-pipe-shine { fill: none; stroke: #fff; stroke-opacity: 0.22; stroke-width: 3; stroke-linecap: round; transform: translate(-5px, -4px); }
.sk-flow { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 2 16; opacity: 0; }
.sk-flow-ex { stroke: #ff3b30; }
.sk-flow-in { stroke: #cfd6e2; }
.sk-notes text { font-family: "Caveat", "Segoe Print", cursive; font-size: 30px; font-weight: 700; fill: #e9ecf1; }
.sk-leader { fill: none; stroke: #e9ecf1; stroke-opacity: 0.55; stroke-width: 1.4; stroke-dasharray: 3 5; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.pills li {
  font-size: 0.8rem; padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--c-line-strong); color: var(--c-text);
}

.kicker {
  font-variation-settings: "wdth" 125; font-weight: 700; font-size: var(--fs-micro);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-text) !important;
  display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--c-red); }
.hero-title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--fs-hero); line-height: 0.9; letter-spacing: -0.01em;
  margin: 0 0 26px;
}
.hero-title span { display: block; }
.hero-hot {
  /* background-clip:text only paints inside the padding box — leave room for the Á */
  padding-top: 0.16em; margin-top: -0.16em;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: var(--fs-lead); max-width: 46ch; color: #c9cfd8 !important; margin-bottom: 28px !important; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
/* "N.º 1" badge in the hero kicker */
.rank-kicker { display: inline-flex; align-items: center; gap: 12px; }
.rank-badge {
  display: inline-flex; align-items: center; padding: 5px 10px 5px 11px; border-radius: var(--r-pill);
  background: var(--grad-accent); color: #fff; letter-spacing: 0.12em; font-weight: 800;
  box-shadow: 0 6px 24px rgba(217, 15, 26, 0.35);
}

/* premium statement: big gradient #1 + four pillars */
.premium { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background:
  radial-gradient(50% 80% at 12% 50%, rgba(217, 15, 26, 0.14), transparent 70%), var(--c-bg); overflow: hidden; }
.premium-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.premium-mark { display: flex; flex-direction: column; align-items: flex-start; line-height: 0.8; }
.premium-num {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(9rem, 22vw, 20rem); letter-spacing: -0.02em;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-top: 0.08em; margin-top: -0.08em;
}
.premium-place {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.32em;
  font-size: clamp(1rem, 1.8vw, 1.5rem); color: var(--c-text); margin-top: 14px; padding-left: 0.4em;
}
.premium-copy .h2 { margin: 14px 0 22px; font-size: clamp(2.3rem, 4.2vw, 4rem); }
.premium-hot { display: block; color: var(--c-muted); }
.premium-copy .section-lead { margin: 0 0 36px; max-width: 58ch; }
.premium-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.premium-list li {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 55%), rgba(14, 16, 19, 0.6);
  backdrop-filter: blur(10px);
}
.premium-list .premium-feature {
  grid-column: 1 / -1; padding: 24px 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 55%) padding-box,
    linear-gradient(#111317, #111317) padding-box,
    var(--grad-accent) border-box;
  border: 1px solid transparent; box-shadow: 0 14px 40px rgba(217, 15, 26, 0.18);
}
.premium-list .premium-feature strong { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.05; }
.premium-list .premium-feature span { font-size: 0.95rem; color: #cdd2da; }
.craft-kicker { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.premium-list strong { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.25rem; }
.premium-list span { color: var(--c-muted); font-size: var(--fs-small); line-height: 1.5; }

.hero-proof {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 0 0 26px;
  font-size: var(--fs-small); color: var(--c-muted);
}
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--c-red); margin-right: 10px; margin-left: -18px; }
.hero-proof strong { color: var(--c-text); font-size: 1rem; }
.stars { color: var(--c-gold); letter-spacing: 1px; }
.scroll-cue {
  display: flex; align-items: center; gap: 14px; font-size: var(--fs-micro) !important;
  letter-spacing: 0.16em; text-transform: uppercase; font-variation-settings: "wdth" 115; margin: 0 !important;
}
.scroll-line { width: 56px; height: 2px; background: var(--c-line-strong); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; inset: 0; width: 40%; background: var(--grad-accent);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* load sequence: hero copy rises in */
.engine-hero > * { animation: rise 800ms var(--ease-out) both; }
.engine-hero > :nth-child(2) { animation-delay: 110ms; }
.engine-hero > :nth-child(3) { animation-delay: 270ms; }
.engine-hero > :nth-child(4) { animation-delay: 370ms; }
.engine-hero > :nth-child(5) { animation-delay: 470ms; }
.engine-hero > :nth-child(6) { animation-delay: 570ms; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* =========================================================
   PARTS RING — "Elige tu pieza" (swipeable 3D carousel)
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chapter-link { display: inline-flex; align-items: center; gap: 8px; color: var(--c-text); font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--c-red); padding-bottom: 2px; }
.chapter-link:hover { color: var(--c-red-hot); }
.parts {
  position: relative; padding: var(--section) 0 clamp(56px, 7vw, 104px);
  background: radial-gradient(60% 55% at 38% 58%, #1b1e24 0%, var(--c-bg) 72%);
  border-top: 1px solid var(--c-line);
}
.parts-head { margin-bottom: 8px; }
.parts-stage {
  position: relative; max-width: var(--wrap); margin: 0 auto; height: clamp(480px, 70vh, 700px);
  border-radius: var(--r-lg); outline: none;
}
.parts-stage:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 4px; }
#parts-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#parts-canvas:active { cursor: grabbing; }
.parts-panel {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(360px, 32%); padding: 28px 28px 30px; border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 45%), rgba(14, 15, 19, 0.45);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.parts-panel.is-in > * { animation: rise 420ms var(--ease-out) both; }
.parts-panel.is-in > :nth-child(2) { animation-delay: 40ms; }
.parts-panel.is-in > :nth-child(3) { animation-delay: 80ms; }
.parts-panel.is-in > :nth-child(4) { animation-delay: 120ms; }
.parts-panel.is-in > :nth-child(5) { animation-delay: 160ms; }
.parts-kicker {
  display: flex; justify-content: space-between; margin: 0 0 10px; font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; font-variation-settings: "wdth" 120; color: var(--c-muted);
}
.parts-kicker span { color: var(--c-text); }
.parts-name { margin: 0 0 12px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 0.95; }
.parts-desc { margin: 0 0 18px; color: var(--c-muted); }
.parts-panel .pills { margin-bottom: 22px; }
.parts-nav { position: absolute; left: 50%; bottom: 18px; transform: translateX(calc(-50% - 12%)); display: flex; gap: 12px; z-index: 2; }
.parts-arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--c-line-strong); background: rgba(8, 9, 11, 0.55); backdrop-filter: blur(8px);
  transition: border-color var(--t-ui), background-color var(--t-ui), transform 150ms var(--ease-out);
}
.parts-arrow svg { width: 22px; height: 22px; }
.parts-arrow:hover { border-color: var(--c-text); }
.parts-arrow:active { transform: scale(0.94); }
.parts-thumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.parts-thumbs button {
  display: flex; flex-direction: column; align-items: center; gap: 8px; width: 96px; padding: 8px 6px 10px;
  border-radius: var(--r-md); border: 1px solid var(--c-line); background: rgba(255, 255, 255, 0.02); cursor: pointer;
  font-size: 0.78rem; color: var(--c-muted);
  transition: border-color var(--t-ui), color var(--t-ui), background-color var(--t-ui);
}
.parts-thumbs img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #fff; }
.parts-thumbs button:hover { border-color: var(--c-line-strong); color: var(--c-text); }
.parts-thumbs button[aria-current="true"] { border-color: var(--c-red); color: var(--c-text); background: rgba(217, 15, 26, 0.08); }

/* =========================================================
   REELS — full-bleed cinematic video bands
   ========================================================= */
.reel {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(440px, 82vh, 820px);
  display: flex; align-items: flex-end;
  padding: clamp(48px, 8vw, 110px) 0;
  background: var(--c-bg);
}
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.reel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.85) 0%, rgba(8, 9, 11, 0.35) 45%, rgba(8, 9, 11, 0) 70%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.9) 0%, rgba(8, 9, 11, 0) 45%),
    linear-gradient(180deg, var(--c-bg) 0%, rgba(8, 9, 11, 0) 16%);
}
.reel-right::after {
  background:
    linear-gradient(270deg, rgba(8, 9, 11, 0.85) 0%, rgba(8, 9, 11, 0.35) 45%, rgba(8, 9, 11, 0) 70%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.9) 0%, rgba(8, 9, 11, 0) 45%),
    linear-gradient(180deg, var(--c-bg) 0%, rgba(8, 9, 11, 0) 16%);
}
.reel-right .reel-copy { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.reel-title {
  margin: 0 0 18px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--fs-h2); line-height: 0.9;
}
.reel-title span { display: block; }
.reel-lead { margin: 0 0 28px; max-width: 44ch; color: #cdd2da; font-size: var(--fs-lead); }

/* craft: real welding clip, photo first, plays on hover (tap on touch) */
.craft { position: relative; overflow: hidden; }
.craft::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 22% 50%, rgba(217, 15, 26, 0.16), transparent 70%);
}
.craft-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.craft-media {
  position: relative; display: block; width: 100%; max-width: 460px; justify-self: center;
  aspect-ratio: 3 / 4; padding: 0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-lg);
  overflow: hidden; background: #000; cursor: pointer; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.craft-video, .craft-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.craft-poster { transition: opacity 450ms var(--ease-out), transform 900ms var(--ease-out); }
.craft-media.is-playing .craft-poster { opacity: 0; transform: scale(1.04); }
.craft-hint {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(8px); font-size: var(--fs-small); color: #fff; transition: opacity 300ms;
}
.craft-play { width: 28px; height: 28px; border-radius: 50%; background: var(--c-red); position: relative; flex: none; }
.craft-play::after {
  content: ""; position: absolute; left: 11px; top: 8px;
  border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.craft-media.is-playing .craft-hint { opacity: 0; }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }
.craft-media:focus-visible { outline: 2px solid var(--c-red); outline-offset: 4px; }

/* =========================================================
   SERVICES — editorial index, click a row to open its photos
   ========================================================= */
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--c-line); }
.svc { border-top: 1px solid var(--c-line); position: relative; }
.svc::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out);
}
.svc:hover::before, .svc.is-open::before { transform: scaleX(1); }
.svc-title { margin: 0; font: inherit; }
.svc-head {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 48px; gap: 32px; align-items: center;
  padding: 28px 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.svc-name {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--fs-h3); line-height: 1; transition: color var(--t-ui);
}
.svc-head:hover .svc-name, .svc.is-open .svc-name { color: #fff; }
.svc-desc { color: var(--c-muted); }
.svc-icon {
  justify-self: end; position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--c-line-strong); transition: background-color var(--t-ui), border-color var(--t-ui), transform 300ms var(--ease-out);
}
.svc-icon::before, .svc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor;
  transition: transform 300ms var(--ease-out);
}
.svc-icon::after { transform: rotate(90deg); }
.svc-head:hover .svc-icon { border-color: var(--c-text); }
.svc.is-open .svc-icon { background: var(--c-red); border-color: var(--c-red); }
.svc.is-open .svc-icon::after { transform: rotate(0deg); }
.svc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 350ms var(--ease-out); }
.svc-panel[hidden] { display: grid; visibility: hidden; }
.svc.is-open .svc-panel { grid-template-rows: 1fr; }
.svc-panel-inner { overflow: hidden; min-height: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; }
.svc.is-open .svc-panel-inner { padding-bottom: 32px; }
.svc-imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.svc-imgs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.svc-more { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 20px; }
.svc-more p { margin: 0; color: var(--c-muted); }

/* =========================================================
   VEHICLES — expanding triptych
   ========================================================= */
.vehicles { display: flex; gap: 12px; height: clamp(440px, 72vh, 700px); }
.veh {
  flex: 1; position: relative; overflow: hidden; margin: 0; border-radius: var(--r-lg);
  transition: flex 600ms var(--ease-out);
}
.veh:hover { flex: 1.7; }
.veh img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.veh:hover img { transform: scale(1.04); }
.veh::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 9, 11, 0.9) 0%, rgba(8, 9, 11, 0.1) 50%);
}
.veh figcaption { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; }
.veh-name {
  display: block; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 0.95;
}
.veh-note { display: block; color: #cdd2da; font-size: var(--fs-small); margin-top: 6px; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { columns: 3 300px; column-gap: 14px; }
.shot {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none;
  border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; break-inside: avoid;
}
.shot img { width: 100%; height: auto; transition: transform 600ms var(--ease-out), filter 300ms; }
.shot:hover img { transform: scale(1.03); }
.lightbox {
  width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--c-bg-2); color: var(--c-text); overflow: visible;
}
.lightbox::backdrop { background: rgba(4, 5, 6, 0.88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--r-lg) var(--r-lg) 0 0; background: #000; }
.lightbox p { margin: 0; padding: 14px 20px 18px; color: var(--c-muted); font-size: var(--fs-small); }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-line-strong);
  background: rgba(8, 9, 11, 0.7); cursor: pointer; font-size: 1.4rem; line-height: 1;
}
.lb-btn:hover { border-color: var(--c-text); }
.lb-close { top: 12px; right: 12px; font-size: 1rem; }
.lb-prev { left: 12px; top: 40%; }
.lb-next { right: 12px; top: 40%; }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.score { position: sticky; top: calc(var(--header-h) + 32px); }
.score-num {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(7rem, 13vw, 12rem); line-height: 0.85;
  margin: 28px 0 6px; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.score-stars { color: var(--c-gold); font-size: 1.5rem; letter-spacing: 4px; margin: 0; }
.score-count { color: var(--c-muted); margin: 6px 0 26px; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quote {
  margin: 0; padding: 28px; border-radius: var(--r-lg); background: var(--c-surface);
  border: 1px solid var(--c-line); display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--fs-small); color: var(--c-muted); }
.quote figcaption b { color: var(--c-text); }
.q-stars { color: var(--c-gold); letter-spacing: 1px; }

/* reviews wall: real 5-star reviews drifting upward in columns, pauses on hover */
.rv-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.rv-wall.is-marquee {
  height: clamp(560px, 80vh, 780px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.rv-col { min-width: 0; }
.rv-track { display: flex; flex-direction: column; gap: 14px; will-change: transform; animation: rv-up var(--rv-dur, 60s) linear infinite; }
.rv-wall:hover .rv-track, .rv-wall:focus-within .rv-track { animation-play-state: paused; }
@keyframes rv-up { to { transform: translateY(calc(-50% - 7px)); } }
.rv {
  margin: 0; padding: 22px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 55%), var(--c-surface);
}
.rv blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.rv figcaption { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-small); color: var(--c-muted); }
.rv figcaption b { color: var(--c-text); font-weight: 650; }
.rv-photos { display: grid; gap: 6px; margin: -8px -8px 4px; }
.rv-photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }
.rv-photos-2 { grid-template-columns: 1fr 1fr; }
.rv-photos-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.rv-photos-3 img { aspect-ratio: auto; height: 100%; }
.rv-photos-3 img:first-child { grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.score-note { color: var(--c-muted); font-size: var(--fs-small); margin: -14px 0 26px; max-width: 30ch; }
@media (prefers-reduced-motion: reduce) {
  .rv-wall.is-marquee { overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
  .rv-track { animation: none; }
}
.quote-feature {
  grid-column: 1 / -1; padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(var(--c-surface), var(--c-surface)) padding-box, var(--grad-accent) border-box;
  border: 1px solid transparent;
}
.quote-feature blockquote { font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.4; font-weight: 500; }
.quote-mini { background: transparent; }
.quote-mini blockquote { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; text-transform: uppercase; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 9 / 7; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(8, 9, 11, 0.75); backdrop-filter: blur(8px); font-size: var(--fs-small);
}
.about-copy .section-lead { margin: 22px 0 40px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 18px 0;
  border-top: 1px solid var(--c-line);
}
.tl-year { font-family: var(--f-display); font-weight: 900; font-size: 2rem; line-height: 1; }
.timeline li:last-child .tl-year { color: var(--c-red-hot); }
.timeline p { margin: 0; color: var(--c-muted); }

/* =========================================================
   QUOTE FORM
   ========================================================= */
.quote-sec { background: var(--c-bg-2); border-top: 1px solid var(--c-line); }
.cotiza { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cotiza-copy .section-lead { margin: 22px 0 36px; }
.direct { list-style: none; margin: 0; padding: 0; }
.direct a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0;
  border-top: 1px solid var(--c-line); text-decoration: none; transition: color var(--t-ui);
}
.direct li:last-child a { border-bottom: 1px solid var(--c-line); }
.direct span { color: var(--c-muted); font-size: var(--fs-small); }
.direct b { font-weight: 650; font-size: 1.1rem; word-break: break-all; text-align: right; }
.direct a:hover b { color: var(--c-red-hot); }

.form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px;
  padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line);
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-small); font-weight: 600; padding: 0; }
.field label output { color: var(--c-red-hot); font-weight: 700; }
.opt { color: var(--c-muted); font-weight: 400; }
.field input:not([type="radio"]):not([type="range"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-md);
  border: 1px solid var(--c-line-strong); background: var(--c-bg); color: var(--c-text);
  font: inherit; font-size: 1rem; transition: border-color var(--t-ui), box-shadow var(--t-ui);
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-muted) 50%), linear-gradient(135deg, var(--c-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #6f7783; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(217, 15, 26, 0.25); }
.field [aria-invalid="true"] { border-color: var(--c-red-hot) !important; }
.err { display: none; margin: 0; color: #ff7b81; font-size: var(--fs-small); }
.field.has-error .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--c-line-strong); font-size: 0.92rem; font-weight: 500;
  transition: background-color var(--t-ui), border-color var(--t-ui), color var(--t-ui);
}
.chips label:hover span { border-color: var(--c-text); }
.chips input:checked + span { background: var(--c-text); color: #111; border-color: var(--c-text); }
.chips input:focus-visible + span { outline: 2px solid var(--c-focus); outline-offset: 3px; }
input[type="range"] { width: 100%; height: 50px; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: var(--grad-accent); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--grad-accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--c-bg); box-shadow: 0 0 0 1px var(--c-line-strong); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--c-bg); }
input[type="range"]:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.range-ends { display: flex; justify-content: space-between; font-size: var(--fs-micro); color: var(--c-muted); margin-top: -8px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 6px; }
.form-alt { color: var(--c-muted); font-size: var(--fs-small); }
.form-alt:hover { color: var(--c-text); }

/* =========================================================
   JOBS BAND
   ========================================================= */
.jobs { background: var(--c-red); color: #fff; }
.jobs-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; }
.jobs-title { margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1; }

/* =========================================================
   VISIT
   ========================================================= */
.visit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 460px; border: 1px solid var(--c-line); background: var(--c-surface); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.95); }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 28px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--c-line-strong); font-size: var(--fs-small); font-weight: 600; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-muted); }
.status.is-open .status-dot { background: #2fd27a; box-shadow: 0 0 0 4px rgba(47, 210, 122, 0.2); }
.status.is-closed .status-dot { background: var(--c-red-hot); }
.info { margin: 0 0 24px; display: grid; gap: 14px; }
.info div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
.info dt { color: var(--c-muted); font-size: var(--fs-small); padding-top: 2px; }
.info dd { margin: 0; }
.info a { text-decoration: none; }
.info a:hover { color: var(--c-red-hot); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--c-line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--c-line); }
.hours tr.is-today th, .hours tr.is-today td { color: #fff; font-weight: 700; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c-red); margin-right: 10px; vertical-align: middle; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: clamp(64px, 9vw, 120px) 0 96px; border-top: 1px solid var(--c-line); overflow: hidden; } /* bottom room so the floating WhatsApp button never covers the credit line */
.footer-slogan {
  margin: 0 0 56px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 10.5vw, 10rem); line-height: 0.85; color: transparent;
  -webkit-text-stroke: 1.5px rgba(238, 241, 245, 0.35);
}
.footer-slogan span { display: block; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--c-line); }
.footer-brand { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; margin: 0 0 8px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav a { text-decoration: none; color: var(--c-muted); width: fit-content; }
.footer-grid nav a:hover { color: var(--c-text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.footer-legal, .footer-credit { margin: 0; font-size: var(--fs-micro); color: var(--c-muted); }
.footer-credit b { color: var(--c-text); font-weight: 650; }
.footer-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(217, 15, 26, 0.6); text-underline-offset: 3px; transition: text-decoration-color 200ms; }
.footer-credit a:hover, .footer-credit a:focus-visible { text-decoration-color: var(--c-red); }
.footer-credit a:hover b { color: #fff; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1fa855; color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); transition: transform var(--t-ui) var(--ease-out), opacity 300ms;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .header-phone { display: none; }
  .svc-panel-inner { grid-template-columns: 1fr; }
}

/* the nav collapses into the menu a little earlier now that the bar also carries "Promos" */
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui);
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .site-header.is-pill .nav {
    inset: calc(var(--pill-top) + var(--pill-h) + 8px) var(--pill-inset) auto var(--pill-inset);
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 24px;
    padding: 6px 20px 14px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  }
  .site-header.is-pill .nav a:last-child { border-bottom: 0; }
  .nav a { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; color: var(--c-text); padding: 12px 0; border-bottom: 1px solid var(--c-line); }
  .nav a::after { display: none; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui);
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  /* when the header is a pill, the menu drops as a rounded glass panel right under it */
  .site-header.is-pill .nav {
    inset: calc(var(--pill-top) + var(--pill-h) + 8px) var(--pill-inset) auto var(--pill-inset);
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 24px;
    padding: 6px 20px 14px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  }
  .site-header.is-pill .nav a:last-child { border-bottom: 0; }
  .nav a { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; color: var(--c-text); padding: 12px 0; border-bottom: 1px solid var(--c-line); }
  .nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  /* sketch on top, copy underneath */
  .engine-stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 8px; }
  .engine-art { order: -1; max-height: none; min-height: 0; }
  .engine-copy { min-height: 300px; align-items: end; }
  .sk-notes text { font-size: 34px; }
  .section-head { grid-template-columns: 1fr; }
  .rank-since { display: none; }
  .premium-grid { grid-template-columns: 1fr; gap: 8px; }
  .premium-mark { flex-direction: row; align-items: baseline; gap: 14px; }
  .premium-num { font-size: clamp(6rem, 30vw, 9rem); }
  .premium-place { margin-top: 0; letter-spacing: 0.2em; }
  .premium-list { grid-template-columns: 1fr; }
  .reviews, .about, .cotiza, .visit { grid-template-columns: 1fr; }
  .score { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --pill-h: 56px; --pill-inset: 10px; --pill-top: calc(10px + env(safe-area-inset-top, 0px)); }
  .site-header.is-pill { padding: 0 6px 0 14px; gap: 10px; }
  .brand-mark, .site-header.is-pill .brand-mark { width: 70px; height: 28px; }
  .brand-name { font-size: 1.4rem; }
  .brand-sub { display: none; }
  .btn-sm { --bh: 40px; padding: 0 16px; }

  .engine-sec { height: 210vh; }
  .engine-stage { padding-bottom: 16px; }
  .engine-copy { min-height: 0; }
  .stroke-title { font-size: 3rem; }
  .stroke-text { font-size: 1rem; margin-bottom: 18px; }
  .stroke-steps { margin: 14px 0 16px; }
  .hero-title { font-size: clamp(3.4rem, 17vw, 5.6rem); margin-bottom: 16px; }
  .hero-lead { font-size: 1rem; margin-bottom: 18px !important; }
  .hero-ctas { margin-bottom: 18px; }
  .hero-ctas .btn { --bh: 48px; flex: 1 1 auto; }
  .hero-proof { gap: 6px 18px; margin-bottom: 0; font-size: 0.8rem; }
  .hero-proof li + li::before { display: none; }
  .hero-proof li:last-child { display: none; }
  .kicker { letter-spacing: 0.16em; }
  .scroll-cue { display: none !important; }


  .svc-head { grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 16px; padding: 22px 0; }
  .svc-name { font-size: 1.55rem; }
  .svc-desc { grid-column: 1; font-size: 0.95rem; }
  .svc-icon { grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .svc-imgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-imgs img:nth-child(3) { display: none; }

  .parts-stage { height: auto; display: flex; flex-direction: column; }
  #parts-canvas { position: relative; height: 380px; }
  .parts-nav { bottom: auto; top: 320px; transform: translateX(-50%); }
  .parts-panel { position: relative; right: auto; top: auto; transform: none; width: auto; margin: 12px var(--gutter) 0; }
  .parts-thumbs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .parts-thumbs button { flex: 0 0 84px; width: 84px; scroll-snap-align: start; }

  .reel { min-height: 560px; }
  .reel::after, .reel-right::after {
    background: linear-gradient(0deg, rgba(8, 9, 11, 0.95) 0%, rgba(8, 9, 11, 0.5) 45%, rgba(8, 9, 11, 0.1) 75%), linear-gradient(180deg, var(--c-bg) 0%, rgba(8, 9, 11, 0) 16%);
  }
  .reel-right .reel-copy { align-items: flex-start; text-align: left; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-media { max-width: 420px; }

  .vehicles { flex-direction: column; height: auto; }
  .veh { height: 360px; flex: none; }
  .veh:hover { flex: none; }

  .gallery { columns: 2 140px; column-gap: 10px; }
  .shot { margin-bottom: 10px; }

  .quotes { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 76px minmax(0, 1fr); }
  .tl-year { font-size: 1.6rem; }
  .info div { grid-template-columns: 90px minmax(0, 1fr); }
  .map, .map iframe { min-height: 320px; }
  .jobs-inner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
