/* =========================================================
   EMOBA Llantas · sistema visual del sitio
   Naranja EMOBA #FF5D26 (del logotipo) sobre negro carbón.
   Contraste #FF5D26 sobre #0B0B0C = 6.3:1 (AA texto normal)
   Botón naranja usa texto carbón (6.3:1), nunca blanco (3.1:1)
   ========================================================= */
:root {
  --orange: #FF5D26;
  --orange-hi: #FF7A4A;
  --orange-deep: #E0461A;
  --orange-ink: #FF8A5C;          /* naranja para texto pequeño sobre superficies grises */
  --orange-a12: rgba(255, 93, 38, .12);
  --orange-a24: rgba(255, 93, 38, .24);
  --bg: #0B0B0C;
  --bg-2: #101012;
  --surface: #161618;
  --surface-2: #1D1D20;
  --surface-3: #26262A;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F4F2EF;
  --text-2: #C9C5C1;
  --muted: #9B9792;
  --ok: #3DD68C;
  --warn: #F5B841;
  --danger: #FF5A5F;
  --wa: #25D366;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 32px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --t-fast: 160ms; --t: 260ms; --t-slow: 520ms;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(255, 93, 38, .35), 0 10px 40px -10px rgba(255, 93, 38, .55);
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --z-nav: 50; --z-float: 60; --z-drawer: 80; --z-modal: 100; --z-toast: 120;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #111; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--orange); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top var(--t); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Tipografía ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: .95; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
.h-xl { font-size: clamp(52px, 8vw, 128px); font-style: italic; }
.h-lg { font-size: clamp(40px, 6.2vw, 92px); font-style: italic; }
.h-md { font-size: clamp(30px, 3.8vw, 52px); }
.h-sm { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: .01em; }
.accent { color: var(--orange); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--orange); transform: skewX(-30deg); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); max-width: 60ch; margin: 18px 0 0; }
.muted { color: var(--muted); }
p { margin: 0 0 1em; }

/* Franjas EMOBA (motivo del logotipo) */
.stripes { display: grid; gap: 5px; width: 64px; }
.stripes i { display: block; height: 7px; background: var(--orange); border-radius: 0 3px 3px 0; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.stripes i:nth-child(1) { width: 66%; margin-left: 34%; }
.stripes i:nth-child(2) { width: 83%; margin-left: 17%; }
.stripes i:nth-child(3) { width: 100%; }

/* ---------- Botones ---------- */
.btn {
  --bg-b: var(--surface-2); --fg-b: var(--text);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--bg-b); color: var(--fg-b); font-weight: 600; font-size: 16px; letter-spacing: .01em;
  transition: transform var(--t-fast) var(--ease), background var(--t) var(--ease), border-color var(--t), box-shadow var(--t) var(--ease), color var(--t);
  touch-action: manipulation; white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn:hover { border-color: rgba(255, 255, 255, .3); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { --bg-b: var(--orange); --fg-b: #121212; border-color: transparent; font-weight: 700; }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { box-shadow: var(--glow); background: var(--orange-hi); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { --bg-b: transparent; }
.btn-wa { --bg-b: var(--wa); --fg-b: #06210f; border-color: transparent; font-weight: 700; }
.btn-wa:hover { box-shadow: 0 10px 40px -12px rgba(37, 211, 102, .7); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; pointer-events: none; }
.btn .spin { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface); transition: background var(--t), border-color var(--t), transform var(--t-fast); }
.icon-btn:hover { background: var(--surface-2); border-color: rgba(255,255,255,.28); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--nav-h);
  display: flex; align-items: center; transition: background var(--t) var(--ease), backdrop-filter var(--t), border-color var(--t), transform var(--t-slow) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 11, 12, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: 15px; color: var(--text-2); transition: color var(--t); }
.nav-links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.cart-btn { position: relative; }
.cart-btn .count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: #111; font-size: 12px; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform var(--t) var(--ease); }
.cart-btn .count.on { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.94); } }
.menu-btn { display: none; }
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: calc(var(--z-nav) - 1); background: rgba(11,11,12,.97); backdrop-filter: blur(14px); padding: 24px var(--gutter); display: flex; flex-direction: column; gap: 6px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 34px; font-weight: 800; font-style: italic; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; border-bottom: 0; padding: 0 22px; min-height: 56px; font-family: var(--font); font-size: 17px; font-style: normal; font-weight: 700; text-transform: none; }
.mobile-menu.open ~ .floating { opacity: 0; pointer-events: none; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-cta .btn-quote { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ---------- HERO con video al hacer scroll ---------- */
.hero { position: relative; height: 420vh; background: #000; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transition: opacity .6s; }
.hero-poster.hidden { opacity: 0; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 20% 60%, transparent 40%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,.0) 35%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.75) 100%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 18%, transparent 70%, rgba(11,11,12,1) 100%);
}
.hero-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }
.hero-copy { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.hero-copy .wrap { display: flex; justify-content: flex-end; }
.chapter { position: absolute; right: var(--gutter); left: auto; top: 50%; transform: translateY(-50%); width: min(760px, 100% - 2 * var(--gutter)); opacity: 0; visibility: hidden; text-align: left; }
.chapter.is-on { visibility: visible; }
.chapter .h-xl { text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.chapter .lead { color: #E6E2DE; text-shadow: 0 2px 18px rgba(0,0,0,.8); }
.chapter-1 { opacity: 1; visibility: visible; }
.chapter .btn, .chapter input, .chapter a { pointer-events: auto; }
.hero-logo { width: clamp(150px, 16vw, 220px); margin-bottom: 26px; }
.hero-logo path { transform-box: fill-box; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid var(--line-2); }
.hero-stats div { padding: 18px 16px 0 0; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 60px); line-height: 1; font-weight: 800; font-style: italic; color: var(--orange); }
.hero-stats span { font-size: 14px; color: var(--text-2); line-height: 1.3; display: block; margin-top: 6px; }
.quick-search { margin-top: 28px; display: flex; gap: 8px; padding: 8px; background: rgba(20,20,22,.72); border: 1px solid var(--line-2); border-radius: 999px; backdrop-filter: blur(12px); max-width: 520px; }
.quick-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 18px; font-size: 18px; font-weight: 500; letter-spacing: .02em; }
.quick-search input::placeholder { color: var(--muted); }
.hero-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.08); }
.hero-progress i { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 18px var(--orange); }
.scroll-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-2); transition: opacity .4s; }
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hero-loader { position: absolute; right: var(--gutter); bottom: 22px; font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; transition: opacity .5s; }
@media (max-width: 760px) {
  .hero { height: 360vh; }
  .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.92) 85%, rgba(11,11,12,1) 100%); }
  .chapter { top: auto; bottom: 90px; transform: none; right: var(--gutter); left: var(--gutter); width: auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats div { padding-right: 8px; }
  .scroll-hint { bottom: 20px; }
}

/* ---------- Banda de marcas ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 26px 0; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 800; font-style: italic; text-transform: uppercase; color: #5f5b57; letter-spacing: .02em; white-space: nowrap; transition: color var(--t); }
.marquee span:hover { color: var(--text); }
.marquee span.o { color: var(--orange); }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Configurador / buscador ---------- */
.finder { background: radial-gradient(80% 60% at 85% 10%, rgba(255,93,38,.13), transparent 60%), var(--bg); }
.finder-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.finder-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
@media (max-width: 960px) { .finder-grid { grid-template-columns: minmax(0, 1fr); } }
.panel { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); position: relative; }
.tabs { display: inline-flex; padding: 5px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; gap: 4px; position: relative; margin-bottom: 26px; }
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs button { white-space: nowrap; position: relative; z-index: 1; border: 0; background: none; padding: 0 18px; min-height: 44px; border-radius: 999px; font-weight: 600; color: var(--text-2); display: inline-flex; gap: 8px; align-items: center; transition: color var(--t); }
.tabs button svg { width: 18px; height: 18px; }
.tabs button[aria-selected='true'] { color: #111; }
.tabs .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: var(--orange); transition: left var(--t) var(--ease), width var(--t) var(--ease); }
.tab-panel[hidden] { display: none; }
.field { display: grid; gap: 8px; }
.field label, .label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .select, textarea.input {
  width: 100%; min-height: 54px; padding: 0 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r);
  font-size: 17px; font-weight: 500; outline: none; transition: border-color var(--t), box-shadow var(--t), background var(--t);
  appearance: none; -webkit-appearance: none;
}
textarea.input { padding: 14px 16px; min-height: 96px; resize: vertical; line-height: 1.5; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FF5D26' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; cursor: pointer; }
.select option { background: #161618; }
.input:hover, .select:hover { border-color: rgba(255,255,255,.26); }
.input:focus, .select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-a24); }
.input.err { border-color: var(--danger); }
.err-msg { color: #FF8A8E; font-size: 14px; min-height: 0; }
.size-selects { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: end; }
.size-selects .sep { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--orange); padding-bottom: 6px; font-style: italic; }
.or { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .18em; }
.or::before, .or::after { content: ''; height: 1px; background: var(--line-2); flex: 1; }
.free-size { display: flex; gap: 10px; }
.free-size .input { font-family: var(--font-display); font-size: 24px; letter-spacing: .06em; font-weight: 700; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: all var(--t) var(--ease); }
.chip:hover { border-color: var(--orange); color: var(--orange-hi); }
.chip[aria-pressed='true'], .chip.on { background: var(--orange); border-color: var(--orange); color: #111; }
.chip svg { width: 18px; height: 18px; }
.vtypes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 18px; }
.vtype { border: 1px solid var(--line-2); background: var(--bg); border-radius: var(--r); padding: 14px 10px; display: grid; justify-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; transition: all var(--t) var(--ease); min-height: 92px; }
.vtype svg { width: 46px; height: 30px; color: var(--text-2); transition: color var(--t), transform var(--t) var(--ease); }
.vtype:hover { border-color: rgba(255,93,38,.6); }
.vtype:hover svg { transform: translateX(3px); color: var(--orange); }
.vtype[aria-pressed='true'] { border-color: var(--orange); background: var(--orange-a12); }
.vtype[aria-pressed='true'] svg { color: var(--orange); }
@media (max-width: 520px) { .vtypes { grid-template-columns: repeat(2, 1fr); } .size-selects { grid-template-columns: 1fr 1fr 1fr; } .size-selects .sep { display: none; } }
.veh-sizes { margin-top: 18px; padding: 18px; border-radius: var(--r); background: var(--bg); border: 1px dashed var(--line-2); }
.veh-sizes p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }

/* Visor 3D */
.viewer { position: relative; min-height: 520px; overflow: hidden; display: flex; flex-direction: column; padding: 0; background:
  radial-gradient(60% 50% at 50% 45%, rgba(255,93,38,.22), transparent 70%), linear-gradient(180deg, #121214, #0b0b0c); }
.viewer canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; cursor: grab; }
.viewer canvas:active { cursor: grabbing; }
.viewer-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: start; padding: 24px 26px 0; pointer-events: none; }
.size-big { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(40px, 5vw, 64px); line-height: .9; letter-spacing: .01em; }
.size-big small { display: block; font-size: 13px; font-style: normal; letter-spacing: .2em; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.drag-hint { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; letter-spacing: .08em; text-transform: uppercase; }
.drag-hint svg { width: 16px; height: 16px; }
.dims { position: relative; z-index: 2; margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.dims div { background: rgba(11,11,12,.86); padding: 16px 14px; backdrop-filter: blur(6px); }
.dims b { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; }
.dims b em { font-style: normal; color: var(--orange); font-size: 16px; margin-left: 2px; }
.dims span { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 520px) { .dims { grid-template-columns: repeat(2, 1fr); } .viewer { min-height: 460px; } }
.viewer-fallback { position: absolute; inset: 0; display: grid; place-items: center; }

/* Cómo leer tu llanta */
.read-size { margin-top: 28px; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 18px; align-items: end; }
.read-size .seg { display: grid; gap: 4px; }
.read-size .seg b { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; padding-bottom: 6px; border-bottom: 3px solid var(--orange); }
.read-size .seg span { font-size: 12.5px; color: var(--muted); line-height: 1.3; max-width: 14ch; }

/* Resultados */
.results { margin-top: 48px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.results-head h3 { font-size: clamp(26px, 3vw, 38px); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tire-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t) var(--ease); }
.tire-card:hover { transform: translateY(-4px); border-color: rgba(255,93,38,.5); box-shadow: 0 24px 60px -30px rgba(255,93,38,.55); }
.tire-card .media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(70% 70% at 50% 55%, #2a2a2e, #121214); display: grid; place-items: center; overflow: hidden; }
.tire-card .media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .6s var(--ease); }
.tire-card:hover .media img { transform: scale(1.06) rotate(-2deg); }
.tire-card .media .ph { width: 64%; color: #3a3a40; transition: transform 1.2s var(--ease); }
.tire-card:hover .media .ph { transform: rotate(40deg); }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge-ok { background: rgba(61, 214, 140, .14); color: var(--ok); }
.badge-ok::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61,214,140,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(61,214,140,0); } 100% { box-shadow: 0 0 0 0 rgba(61,214,140,0); } }
.badge-o { background: var(--orange-a12); color: var(--orange-ink); }
.tire-card .media .badge { position: absolute; top: 12px; left: 12px; }
.tire-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tire-card .brand-name { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
.tire-card .model { font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1.02; text-transform: uppercase; }
.tire-card .specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.tire-card .specs span { font-size: 13px; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); font-variant-numeric: tabular-nums; }
.tire-card .specs span.sz { background: var(--surface-3); color: var(--text); font-weight: 700; }
.tire-card .actions { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 44px; }
.qty button { width: 40px; height: 42px; border: 0; background: none; font-size: 20px; color: var(--text-2); }
.qty button:hover { color: var(--orange); }
.qty input { width: 38px; text-align: center; background: none; border: 0; outline: none; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tire-card .add { flex: 1; min-height: 44px; padding: 0 14px; font-size: 15px; }
.tire-card.added { border-color: var(--ok); }
.empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-xl); background: var(--bg-2); }
.empty svg { width: 70px; margin: 0 auto 16px; color: var(--orange); }
.empty h4 { font-family: var(--font-display); font-size: 30px; margin: 0 0 8px; text-transform: uppercase; }
.empty p { color: var(--text-2); max-width: 52ch; margin: 0 auto 22px; }
.skeleton { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r-lg); min-height: 330px; }
@keyframes shimmer { to { background-position: -100% 0; } }
.more { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- Tipos de vehículo ---------- */
.vehicles { background: var(--bg-2); overflow: hidden; }
.veh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.veh-card { position: relative; border-radius: var(--r-lg); padding: 28px 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; min-height: 260px; display: flex; flex-direction: column; transition: border-color var(--t), transform var(--t) var(--ease); }
.veh-card::before { content: ''; position: absolute; inset: auto -30% -60% -30%; height: 80%; background: radial-gradient(closest-side, rgba(255,93,38,.35), transparent); opacity: 0; transition: opacity var(--t-slow); }
.veh-card:hover { border-color: rgba(255,93,38,.55); transform: translateY(-6px); }
.veh-card:hover::before { opacity: 1; }
.veh-card svg { width: 100%; height: 70px; color: var(--text); margin-bottom: auto; transition: transform .8s var(--ease); }
.veh-card:hover svg { transform: translateX(10px); }
.veh-card h3 { font-size: 30px; font-style: italic; margin-top: 26px; position: relative; }
.veh-card p { font-size: 14.5px; color: var(--text-2); margin: 8px 0 0; position: relative; }
.veh-card .tag { position: absolute; top: 18px; right: 18px; }
.veh-card.feature { grid-column: span 2; background: linear-gradient(135deg, #1e1410, var(--surface) 60%); border-color: rgba(255,93,38,.35); }
@media (max-width: 1100px) { .veh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .veh-grid { grid-template-columns: 1fr 1fr; } .veh-card.feature { grid-column: span 2; } .veh-card { min-height: 220px; padding: 22px 16px; } .veh-card h3 { font-size: 24px; } }

/* ---------- Flotillas ---------- */
.fleet { overflow: hidden; }
.fleet-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .fleet-grid { grid-template-columns: 1fr; } }
.fleet-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: #000; }
.fleet-visual img { width: 100%; height: 115%; object-fit: cover; object-position: 60% 50%; will-change: transform; }
.fleet-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85)); }
.fleet-visual .cap { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.fleet-visual .cap b { font-family: var(--font-display); font-size: 64px; font-weight: 800; font-style: italic; color: var(--orange); line-height: 1; }
.fleet-list { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 4px; }
.fleet-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fleet-list li svg { width: 32px; height: 32px; color: var(--orange); }
.fleet-list b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.fleet-list span { color: var(--text-2); font-size: 15.5px; }
.clients { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 10px; }
.clients span { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Catálogo destacado ---------- */
.cat-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.cat-strip > * { scroll-snap-align: start; }

/* ---------- ¿Sabías qué? ---------- */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
@media (max-width: 900px) { .tips-grid { grid-template-columns: 1fr; } }
.tip { position: relative; padding: 32px 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; min-height: 300px; display: flex; flex-direction: column; }
.tip .num { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(72px, 8vw, 110px); line-height: .85; color: var(--orange); letter-spacing: -.02em; }
.tip .num small { font-size: .45em; }
.tip h3 { font-size: 26px; margin: 18px 0 10px; }
.tip p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.tip .tread { position: absolute; right: -40px; top: -40px; width: 180px; opacity: .08; color: #fff; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.mv { display: grid; gap: 16px; }
.mv article { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.mv h3 { font-size: 26px; margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.mv h3 svg { width: 26px; height: 26px; color: var(--orange); }
.mv p { color: var(--text-2); margin: 0; }
.values { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.values span { padding: 10px 18px; border: 1px solid var(--orange); border-radius: 999px; color: var(--orange-hi); font-weight: 600; font-size: 15px; }

/* ---------- CTA + contacto ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 80px); background: linear-gradient(120deg, var(--orange-deep), var(--orange) 45%, #ff8a4f); color: #121212; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: repeating-linear-gradient(115deg, #000 0 12px, transparent 12px 36px); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-band h2 { color: #111; }
.cta-band p { color: #2b160c; font-size: 19px; max-width: 54ch; margin: 16px 0 28px; }
.cta-band .btn-dark { --bg-b: #111; --fg-b: #fff; border-color: transparent; }
.cta-band .btn-dark:hover { box-shadow: 0 14px 40px -12px rgba(0,0,0,.6); }
.cta-band .btn-line { --bg-b: transparent; --fg-b: #111; border-color: rgba(0,0,0,.35); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; margin-top: 24px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 30px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border: 0; }
.contact-item .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-a12); color: var(--orange); }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.contact-item a, .contact-item b { font-weight: 600; font-size: 17px; }
.contact-item a:hover { color: var(--orange-hi); }
.map { border-radius: var(--r-xl); overflow: hidden; min-height: 380px; border: 1px solid var(--line); background: var(--surface); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg) brightness(.95); }
.map-load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(60% 60% at 50% 50%, rgba(255,93,38,.12), transparent), var(--surface); }

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 120px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-family: var(--font-display); font-size: 18px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; color: var(--text-2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--muted); transition: color var(--t); }
.footer a:hover { color: var(--orange-hi); }
.footer .slogan { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 28px; text-transform: uppercase; line-height: 1; margin: 18px 0; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

/* ---------- Botones flotantes ---------- */
.floating { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-float); display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: 0 14px 40px -10px rgba(0,0,0,.7); transition: transform var(--t) var(--ease), box-shadow var(--t); position: relative; }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab:active { transform: scale(.95); }
.fab svg { width: 28px; height: 28px; }
.fab-wa { background: var(--wa); color: #fff; }
.fab-wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.fab-bot { background: var(--orange); color: #111; }
.fab-label { position: absolute; right: 72px; white-space: nowrap; background: var(--surface-2); border: 1px solid var(--line-2); padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; opacity: 0; transform: translateX(8px); transition: all var(--t) var(--ease); pointer-events: none; color: var(--text); }
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; transform: none; }

/* ---------- Drawer de cotización ---------- */
.scrim { position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: rgba(0,0,0,.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity var(--t) var(--ease); }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: var(--z-drawer); top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(105%); transition: transform var(--t-slow) var(--ease); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 28px; font-style: italic; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 22px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-item .thumb svg { width: 70%; color: #46464c; }
.cart-item b { display: block; font-size: 15.5px; line-height: 1.25; }
.cart-item small { color: var(--muted); font-size: 13.5px; }
.cart-item .qty { height: 38px; }
.cart-item .qty button { width: 32px; height: 36px; }
.cart-item .rm { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 4px 0; min-height: 32px; }
.cart-item .rm:hover { color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 460px) { .form-grid { grid-template-columns: 1fr; } }
.req { color: var(--orange); }
.success { text-align: center; padding: 30px 6px; }
.success .check { width: 86px; height: 86px; margin: 0 auto 18px; border-radius: 50%; background: rgba(61,214,140,.14); display: grid; place-items: center; color: var(--ok); }
.success .check svg { width: 44px; height: 44px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h4 { font-family: var(--font-display); font-size: 34px; text-transform: uppercase; margin: 0 0 8px; }
.success p { color: var(--text-2); }

/* ---------- Chat (asistente) ---------- */
.chat { position: fixed; z-index: var(--z-drawer); right: max(16px, env(safe-area-inset-right)); bottom: 96px; width: min(400px, calc(100% - 32px)); height: min(620px, calc(100dvh - 130px)); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: scale(.85) translateY(20px); opacity: 0; pointer-events: none; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease); }
.chat.open { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(90deg, #1d130f, var(--surface)); border-bottom: 1px solid var(--line); }
.chat-head .av { width: 42px; height: 42px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; border: 1px solid rgba(255,93,38,.5); }
.chat-head .av img { width: 28px; }
.chat-head b { display: block; font-size: 16px; }
.chat-head small { color: var(--ok); font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.chat-head .icon-btn { margin-left: auto; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 18px 18px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; white-space: pre-line; animation: msgin .35s var(--ease); }
@keyframes msgin { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.msg.bot { background: var(--surface-2); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--orange); color: #111; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; }
.msg b { color: var(--orange-hi); }
.msg.me b { color: #111; }
.msg .opts { display: grid; gap: 6px; margin-top: 10px; }
.msg .opts button { text-align: left; min-height: 40px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; font-weight: 600; transition: all var(--t); }
.msg .opts button:hover { border-color: var(--orange); color: var(--orange-hi); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .5; } }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form .input { min-height: 46px; border-radius: 999px; font-size: 16px; }
.chat-form .icon-btn { border-radius: 50%; background: var(--orange); color: #111; border: 0; flex: none; width: 46px; height: 46px; }

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: var(--z-toast); left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { background: var(--surface-2); border: 1px solid var(--line-2); border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 12px; font-weight: 500; box-shadow: var(--shadow); animation: toastin .4s var(--ease); pointer-events: auto; }
.toast.ok { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--danger); }
@keyframes toastin { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; transform: translateY(105%); }
.in .split-line > span, .split-line.in > span { transform: none; transition: transform 1s var(--ease); }
.demo-banner { position: fixed; z-index: var(--z-toast); left: 16px; bottom: 16px; max-width: 320px; font-size: 13px; background: #2a1d10; border: 1px solid #6b4a1f; color: #f5d8a8; padding: 10px 14px; border-radius: 12px; line-height: 1.4; }
.demo-banner button { background: none; border: 0; color: #f5b841; text-decoration: underline; font-size: 13px; padding: 0; margin-left: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
  .hero { height: auto; }
  .hero-stage { position: relative; height: 100vh; }
  .chapter { opacity: 0 !important; visibility: hidden !important; }
  .chapter-1 { opacity: 1 !important; visibility: visible !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- Página de catálogo ---------- */
.cat-hero { padding: calc(var(--nav-h) + 72px) 0 40px; background: radial-gradient(70% 90% at 90% 0%, rgba(255,93,38,.18), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.catalog-page .nav { background: rgba(11, 11, 12, .78); backdrop-filter: blur(16px); border-color: var(--line); }
.cat-toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; position: sticky; top: calc(var(--nav-h) + 8px); z-index: 5; padding: 14px; margin: 0 -14px; border-radius: var(--r-lg); background: rgba(11,11,12,.86); backdrop-filter: blur(12px); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.design { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t); }
.design:hover { transform: translateY(-4px); border-color: rgba(255,93,38,.5); box-shadow: 0 24px 60px -30px rgba(255,93,38,.5); }
.design .media { aspect-ratio: 1 / 1; position: relative; background: radial-gradient(65% 65% at 50% 50%, #2b2b30, #111113); display: grid; place-items: center; overflow: hidden; }
.design .media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .7s var(--ease); }
.design:hover .media img { transform: scale(1.06); }
.design .media .ph { width: 58%; color: #3a3a40; }
.design .media .ph-brand { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; color: #4a4a50; letter-spacing: .04em; }
.design .media .badge { position: absolute; top: 12px; left: 12px; }
.design .media .cat { position: absolute; top: 12px; right: 12px; font-size: 12px; color: var(--text-2); background: rgba(0,0,0,.5); padding: 4px 10px; border-radius: 999px; }
.design .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.design .sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.design .sizes button { min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; transition: all var(--t); }
.design .sizes button:hover { border-color: var(--orange); }
.design .sizes button[aria-pressed='true'] { background: var(--orange); color: #111; border-color: var(--orange); }
.design .actions { margin-top: auto; display: flex; gap: 8px; }
.design .actions .btn { flex: 1; min-height: 46px; }

/* ---------- Instalar como app (celular) ---------- */
.install { position: fixed; z-index: var(--z-toast); left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 14px; background: rgba(22,22,24,.96); border: 1px solid rgba(255,93,38,.45); border-radius: 20px; box-shadow: 0 20px 50px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,93,38,.1); backdrop-filter: blur(14px); transform: translateY(140%); transition: transform .6s var(--ease); }
.install.on { transform: none; }
.install img { width: 52px; height: 52px; border-radius: 13px; }
.install b { display: block; font-size: 15.5px; line-height: 1.25; }
.install small { display: block; color: var(--text-2); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.install .btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.install .close { position: absolute; top: -10px; right: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); }
.install .close svg { width: 14px; height: 14px; }
.ios-steps { display: grid; gap: 14px; margin: 6px 0 4px; }
.ios-steps div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; font-size: 15px; }
.ios-steps i { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--orange); }
.ios-steps svg { width: 22px; height: 22px; display: inline-block; vertical-align: -5px; color: #4ea1ff; }
.ios-sheet { position: fixed; z-index: calc(var(--z-toast) + 1); left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 22px 20px 18px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--shadow); animation: toastin .4s var(--ease); }
.ios-sheet h4 { font-family: var(--font-display); font-size: 26px; font-style: italic; text-transform: uppercase; margin: 0 0 12px; }
body.has-install .floating { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 136px); transition: bottom .4s var(--ease); }
body.has-install .demo-banner { display: none; }

/* Hero B (segmentos): textos arriba a la izquierda para no tapar la fila de llantas ni el cargador */
@media (min-width: 761px) {
  .hero--b .chapter { left: var(--gutter); right: auto; top: calc(var(--nav-h) + 6vh); transform: none; width: min(640px, 100% - 2 * var(--gutter)); }
  .hero--b .h-xl { font-size: clamp(48px, 6.6vw, 104px); }
  .hero--b .hero-shade { background:
    linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 38%, transparent 55%, rgba(11,11,12,1) 100%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, transparent 55%); }
}

/* ---------- Aceites y aditivos ---------- */
.lube { background: radial-gradient(70% 60% at 15% 50%, rgba(255,93,38,.10), transparent 65%), var(--bg); }
.lube-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.lube-visual { border-radius: var(--r-xl); overflow: hidden; background: #000; aspect-ratio: 3 / 2; }
.lube-visual img { width: 100%; height: 100%; object-fit: cover; }
.lube-cards { display: grid; gap: 12px; margin-top: 30px; }
.lube-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t), transform var(--t) var(--ease); }
.lube-card:hover { border-color: rgba(255,93,38,.55); transform: translateX(4px); }
.lube-card > svg:first-child { width: 64px; height: 34px; color: var(--orange); }
.lube-card b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1; }
.lube-card small { display: block; color: var(--text-2); font-size: 14.5px; margin-top: 4px; }
.lube-card .arr { width: 22px; height: 22px; color: var(--orange); }
@media (max-width: 960px) { .lube-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .lube-visual { border-radius: var(--r-lg); } .lube-card { grid-template-columns: 52px minmax(0, 1fr) 20px; padding: 14px 16px; } .lube-card > svg:first-child { width: 52px; } .lube-card b { font-size: 22px; } }

/* Imagen ilustrativa por segmento (cuando aún no hay foto real del diseño) */
.media img.ilus { opacity: .92; }
.ilus-tag { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .04em; color: var(--muted); background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 999px; }

/* =========================================================
   Celular (≤ 760 px): todo cabe en pantalla, menos desplazamiento,
   objetivos táctiles ≥ 44 px y nada tapa los formularios
   ========================================================= */
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .lead { font-size: 17px; }
  .brand img { height: 34px; }
  .h-lg { font-size: clamp(36px, 10.5vw, 48px); }

  /* hero: el logo ya está en la barra; textos un poco más compactos */
  .hero-logo { display: none; }
  .chapter .h-xl { font-size: clamp(44px, 13vw, 58px); }
  .hero--b .chapter .h-xl { font-size: clamp(40px, 11.6vw, 54px); }
  .chapter { bottom: 104px; }
  .scroll-hint { bottom: 18px; gap: 6px; }
  .scroll-hint .mouse { width: 20px; height: 32px; }
  .chapter .lead { font-size: 16.5px; margin-top: 14px; }
  .hero-stats { margin-top: 22px; }
  .hero-stats b { font-size: 34px; }
  .hero-stats span { font-size: 12.5px; }
  .quick-search { padding: 6px; }
  .quick-search input { padding: 0 12px; font-size: 16px; }
  .quick-search .btn { min-height: 46px; padding: 0 16px; }

  /* configurador: las 3 pestañas siempre visibles */
  .finder-head { margin-bottom: 28px; gap: 16px; }
  .panel { padding: 18px 16px; border-radius: var(--r-lg); }
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-bottom: 20px; overflow: visible; }
  .tabs button { justify-content: center; padding: 0 6px; font-size: 14px; gap: 0; }
  .tabs button svg { display: none; }
  .size-selects { gap: 8px; }
  .size-selects .select { padding: 0 30px 0 12px; background-position: right 10px center; }
  .or { margin: 18px 0; }
  .free-size { flex-wrap: wrap; }
  .free-size .input { flex: 1 1 100%; font-size: 22px; }
  .free-size .btn { flex: 1 1 100%; }
  .read-size { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 10px; align-items: start; }
  .read-size .seg b { font-size: 24px; }
  .read-size .seg span { font-size: 11.5px; }
  .vtype { min-height: 84px; padding: 12px 8px; }

  /* visor 3D más bajo, medidas en una fila */
  .viewer { min-height: 400px; border-radius: var(--r-lg); }
  .viewer-top { padding: 18px 18px 0; }
  .size-big { font-size: 38px; }
  .drag-hint { max-width: 90px; text-align: right; font-size: 11px; }
  .dims { grid-template-columns: repeat(4, 1fr); }
  .dims div { padding: 12px 10px; }
  .dims b { font-size: 21px; }
  .dims b em { font-size: 12px; }
  .dims span { font-size: 10.5px; letter-spacing: .04em; }

  .results { margin-top: 32px; }
  .grid-cards { grid-template-columns: 1fr; }

  /* tipos de vehículo: tarjetas compactas de igual altura */
  .veh-grid { margin-top: 28px; gap: 10px; }
  .veh-card, .veh-card.feature { min-height: 0; padding: 18px 14px 16px; }
  .veh-card svg { height: 46px; margin-bottom: 14px; }
  .veh-card h3 { font-size: 21px; margin-top: auto; }
  .veh-card p { font-size: 13.5px; line-height: 1.45; }
  .veh-card .tag { top: 12px; right: 12px; }
  .veh-card.feature svg { width: 60%; height: 52px; margin-right: auto; }
  .veh-card.feature h3 { font-size: 24px; }

  /* flotillas, catálogo y consejos */
  .fleet-visual { aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); }
  .fleet-visual .cap b { font-size: 46px; }
  .fleet-list { margin: 22px 0; }
  .fleet-list li { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; }
  .fleet-list li svg { width: 26px; height: 26px; }
  .fleet .btn, .cta-band .btn { width: 100%; }
  .cat-strip { grid-auto-columns: 78%; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .tips-grid { margin-top: 28px; }
  .tip { min-height: 0; padding: 24px 20px; border-radius: var(--r-lg); }
  .tip .num { font-size: 64px; }
  .mv article { padding: 22px 20px; }

  /* contacto y pie */
  .cta-band { padding: 30px 22px; border-radius: var(--r-lg); }
  .cta-band p { font-size: 17px; margin: 12px 0 22px; }
  .contact-card { padding: 20px; border-radius: var(--r-lg); }
  .map { min-height: 280px; border-radius: var(--r-lg); }
  .footer { padding: 48px 0 110px; }
  .footer-grid { gap: 28px 20px; }
  .footer a { display: inline-block; padding: 4px 0; }

  /* botones flotantes más discretos */
  .floating { gap: 10px; right: max(12px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .fab { width: 52px; height: 52px; }
  .fab svg { width: 24px; height: 24px; }
  .fab-label { display: none; }
  .floating { transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
  body.in-hero .floating { opacity: 0; transform: translateY(24px); pointer-events: none; }
  .chat { right: 8px; left: 8px; width: auto; bottom: 8px; height: min(640px, calc(100dvh - 16px)); }
  body.has-install .floating { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 96px); }

  /* aviso de instalar app: compacto */
  .install { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 10px 12px; border-radius: 16px; }
  .install img { width: 40px; height: 40px; border-radius: 10px; }
  .install b { font-size: 14.5px; }
  .install small { display: none; }
  .install .btn { min-height: 40px; padding: 0 14px; }

  /* página de catálogo */
  .cat-hero { padding: calc(var(--nav-h) + 36px) 0 28px; }
  .cat-toolbar { position: static; display: grid; grid-template-columns: 1fr 1fr; padding: 0; margin: 0; gap: 10px; background: none; backdrop-filter: none; }
  .cat-toolbar .field { flex: none !important; gap: 6px; min-width: 0; }
  .cat-toolbar .f-q { grid-column: 1 / -1; }
  .cat-toolbar .input, .cat-toolbar .select { min-height: 48px; }
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px calc(-1 * var(--gutter)) 18px !important; padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); }
  .cat-chips::-webkit-scrollbar { display: none; }
  .cat-chips .chip { flex: none; min-height: 44px; }
  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .design .media { aspect-ratio: 16 / 11; }
}
@media (max-width: 380px) {
  .tabs button { font-size: 13px; padding: 0 4px; }
  .read-size .seg b { font-size: 21px; }
}
