/* Sara Motor's — hoja de estilos.
   Paleta: azul de Corporación Quilli Maza (principal), rojo QM (frenos y acentos),
   morado del logo SM (suspensión, secundario), ámbar del logo SM (motor, acentos), plata.
   Motivo de identidad: las diagonales del banner rojo del logo («Exclusividad en…»). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Azul (principal) */
  --blue: #1F3A6E;        /* blanco sobre azul 11,4:1 */
  --blue-2: #2E5597;      /* enlaces: 7,4:1 sobre blanco */
  --blue-900: #142A52;
  --blue-50: #EEF2F9;
  --on-blue: #D9E1EF;     /* texto secundario sobre azul */
  /* Rojo (frenos) */
  --red: #C8201F;
  --red-50: #FBECEC;
  /* Morado (secundario, suspensión) */
  --purple: #5B4795;
  --purple-50: #F0EDF7;
  /* Ámbar (motor, acentos; como texto usar --amber-ink) */
  --amber: #F2A82B;
  --amber-50: #FDF3E1;
  --amber-ink: #7A4E00;
  /* WhatsApp (solo el botón flotante): blanco sobre este verde 4,6:1 */
  --wa: #13843F;
  --wa-bright: #25D366;
  /* Plata y tinta */
  --ink: #17233D;
  --muted: #4A5670;
  --line: #D6DBE4;
  --leader: #A3A9B5;
  --paper: #F5F6F8;
  --white: #FFFFFF;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --r: 6px;
  --r-lg: 12px;
  --gutter: 16px;
  --wrap: 1200px;
  --head-h: 64px;
  --slant: 40px;          /* altura de los cortes diagonales entre secciones */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(23, 35, 61, 0.06), 0 12px 32px -14px rgba(23, 35, 61, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
::selection { background: var(--amber); color: var(--blue-900); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-2); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--blue); }

h1, h2, h3 { margin: 0; color: var(--blue); text-wrap: balance; }
h1, h2 { font-stretch: 115%; font-weight: 850; letter-spacing: -0.025em; line-height: 1.02; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3.9vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 750; font-stretch: 106%; line-height: 1.25; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 0.6rem 1rem; border-radius: var(--r); background: var(--blue); color: var(--white); font-weight: 700; text-decoration: none; transform: translateY(-160%); }
.skip:focus, .skip:hover { transform: none; color: var(--white); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .section--blue :focus-visible, .foot :focus-visible, .skip:focus-visible { outline-color: var(--amber); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 50px; padding: 0.75em 1.35em;
  border: 2px solid transparent; border-radius: var(--r);
  font: inherit; font-weight: 750; font-stretch: 106%; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer; user-select: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .ico { width: 1.3em; height: 1.3em; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-900); color: var(--white); }
.btn--accent { background: var(--amber); color: var(--blue-900); }
.btn--accent:hover { background: #FFBE4D; color: var(--blue-900); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }
.btn--ghost { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-50); color: var(--blue); }
.btn--sm { min-height: 44px; padding: 0.5em 1em; font-size: 0.95rem; }
.btn--lg { min-height: 58px; padding: 0.9em 1.6em; font-size: 1.1rem; }

.link-go {
  display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px;
  font-weight: 750; color: var(--blue-2); text-decoration: none;
}
.link-go .ico { transition: transform 200ms var(--ease-out); }
.link-go:hover { color: var(--blue); text-decoration: underline; }

/* Pestaña de sistema: paralelogramo como el banner del logo */
.sys {
  display: inline-block; padding: 0.22em 0.75em; border-radius: 3px;
  transform: skewX(-14deg);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3;
  vertical-align: 0.15em;
}
.sys > span { display: inline-block; transform: skewX(14deg); }
.sys--frenos { background: var(--red); color: var(--white); }
.sys--susp { background: var(--purple); color: var(--white); }
.sys--motor { background: var(--amber); color: var(--blue-900); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 12px; min-height: var(--head-h); }
.brand { display: block; flex: none; margin-right: auto; padding: 6px 0; }
.brand img { height: 40px; width: auto; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; padding: 0 0.8em;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  color: var(--blue); font: inherit; font-weight: 650; font-size: 0.95rem; cursor: pointer;
}
.top__wa { padding-inline: 0.75em; }
.top__wa span { display: none; }
.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column; padding: 8px var(--gutter) 16px;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.nav.is-open { display: flex; }
.nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px dotted var(--line); color: var(--ink); font-weight: 650; text-decoration: none; }
.nav a:last-child { border-bottom: 0; }
.nav a:hover { color: var(--blue-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 40px 0 calc(72px + var(--slant));
  background: var(--blue); color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.hero__grid { position: relative; display: grid; gap: 36px; align-items: center; }
.hero h1 { color: var(--white); max-width: 12ch; }
.hero__lead { margin-top: 18px; font-size: 1.12rem; color: var(--on-blue); max-width: 34em; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero__facts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-blue); font-size: 0.98rem; }
.hero__facts li { display: inline-flex; align-items: baseline; gap: 0.35em; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; margin-right: 6px; background: var(--amber); transform: skewX(-14deg) translateY(-2px); display: inline-block; flex: none; }
.hero__facts strong { color: var(--amber); font-weight: 800; font-stretch: 110%; }

.hero__visual { position: relative; padding: 14px 0 0 14px; }
.hero__stripe { position: absolute; top: 0; bottom: 18%; width: 34%; transform: skewX(-14deg); border-radius: 4px; }
.hero__stripe--amber { left: 2%; background: var(--amber); }
.hero__stripe--red { left: 20%; width: 10%; background: var(--red); }
.hero__photo { position: relative; }
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0%;
  border-radius: var(--r-lg);
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}

/* Entrada del hero (una sola vez al cargar) */
.enter { animation: rise 620ms var(--ease-out) both; }
.enter--2 { animation-delay: 70ms; }
.enter--3 { animation-delay: 140ms; }
.enter--4 { animation-delay: 210ms; }
.enter--photo { animation: slide-in 760ms var(--ease-out) 120ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* ---------- Promesa (sobre el corte del hero) ---------- */
.promise { position: relative; z-index: 2; margin-top: -56px; }
.promise__panel {
  list-style: none; margin: 0; padding: 8px 20px;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow);
  display: grid;
}
.promise__panel li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px dotted var(--leader); }
.promise__panel li:last-child { border-bottom: 0; }
.promise__ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--blue); color: var(--amber); }
.promise__panel h3 { font-size: 1.15rem; font-weight: 800; font-stretch: 106%; letter-spacing: 0; line-height: 1.25; color: var(--blue); }
.promise__panel p { margin-top: 4px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--blue { background: var(--blue); color: var(--white); }
.head { margin-bottom: 36px; display: grid; gap: 14px; }
.head p { color: var(--muted); font-size: 1.07rem; max-width: 38em; }
.head--center { text-align: center; justify-items: center; }

/* Síntomas: cada tarjeta abre WhatsApp */
.symptoms { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.symptom {
  height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px 20px 18px; background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r-lg);
  color: var(--ink); text-decoration: none;
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}
.symptom h3 { font-size: 1.22rem; }
.symptom p { color: var(--muted); }
.symptom p strong { color: var(--ink); }
.symptom__go {
  margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 800; color: var(--blue-2);
}
.symptom__go .ico { width: 1.3em; height: 1.3em; }
.symptom:hover { color: var(--ink); }
.symptom--frenos:hover { border-color: var(--red); }
.symptom--susp:hover { border-color: var(--purple); }
.symptom--motor:hover { border-color: var(--amber); }
.symptom:active { transform: scale(0.99); }

/* Especialidad: campo gris con cortes diagonales y franja inclinada detrás de las fotos */
.section--slant {
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding: calc(72px + var(--slant)) 0;
}
.systems { position: relative; display: grid; gap: 28px; }
.systems { padding-top: 34px; }
.systems__stripe {
  position: absolute; top: 0; left: 0; right: 6px; height: 12px;
  background: var(--amber); border-radius: 3px; transform: skewX(-24deg); transform-origin: bottom left;
  grid-column: 1 / -1;
}
.systems__stripe::after { content: ""; position: absolute; top: 0; bottom: 0; right: -4px; width: 18%; background: var(--red); border-radius: 3px; }
.system { display: grid; gap: 18px; align-content: start; }
.slot {
  display: grid; place-content: center; justify-items: center; gap: 8px;
  aspect-ratio: 16 / 9; width: 100%; padding: 16px; text-align: center;
  border: 2px dashed var(--leader); border-radius: var(--r-lg); background: var(--white);
  color: var(--muted); font-weight: 650; font-size: 0.95rem;
}
.slot .ico { width: 32px; height: 32px; color: #8A92A3; }
.system-photo img { width: 100%; aspect-ratio: 1334 / 730; object-fit: cover; border-radius: var(--r-lg); background: #D9D9D9; }
.system__body h3 { font-size: 1.3rem; }
.system__body h3 .sys { margin-right: 6px; }
.parts { list-style: none; margin: 12px 0 0; padding: 0; }
.parts li { padding: 9px 0; border-bottom: 2px dotted var(--line); }
.system__line { margin-top: 14px; padding-top: 10px; border-top: 2px solid var(--red); font-weight: 650; }
.system .link-go { margin-top: 8px; }

/* Marcas */
.cars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.car {
  display: grid; place-items: center; min-height: 96px; padding: 14px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}
.car img { width: 100%; height: 40px; object-fit: contain; }
.car img.logo--lg { height: 54px; }
.car img.logo--sm { height: 28px; }
.car:hover { border-color: var(--blue-2); }
.car:active { transform: scale(0.98); }
.brands__bar { margin: 56px 0 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; }
.brands__title { font-size: 1.3rem; font-stretch: 110%; color: var(--blue); text-align: center; }
.marquee-toggle {
  min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
  font: inherit; font-size: 0.9rem; font-weight: 700; color: var(--blue-2); cursor: pointer;
}
.marquee-toggle:hover { border-color: var(--blue-2); }
.marquee.is-paused .marquee__track { animation-play-state: paused; }

.marquee {
  overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; padding-right: 12px; }
.brand-tile {
  flex: none; display: grid; place-items: center; width: 168px; height: 84px; padding: 12px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg);
}
.brand-tile img { width: 100%; height: 48px; object-fit: contain; }
.brand-tile img.logo--round { height: 62px; }
.brand-tile--text { font-weight: 850; font-stretch: 118%; font-size: 1.25rem; color: var(--blue); letter-spacing: -0.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Talleres, negocios y taxistas */
.partners { display: grid; gap: 18px; }
.partner { position: relative; overflow: hidden; display: grid; gap: 16px; align-content: start; padding: 28px 24px; border-radius: var(--r-lg); }
.partner h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 850; font-stretch: 112%; letter-spacing: -0.015em; }
.partner .btn { justify-self: start; margin-top: 6px; }
.partner--shop { background: var(--blue); color: var(--white); }
.partner--shop h3 { color: var(--white); }
.partner--shop h3 { padding-right: 56px; }
.partner--shop::after { content: ""; position: absolute; top: -20px; right: -30px; width: 84px; height: 56px; background: var(--amber); transform: skewX(-14deg); border-radius: 4px; box-shadow: -34px 0 0 -18px var(--red); }
.partner__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--on-blue); }
.partner__list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.partner__list .ico { width: 22px; height: 22px; color: var(--amber); margin-top: 2px; }
.partner__list strong { color: var(--white); }
.partner--taxi { background: var(--amber); color: var(--blue-900); }
.partner--taxi h3 { color: var(--blue-900); }
.partner--taxi p { font-size: 1.07rem; }

/* Garantía */
.section--blue {
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  padding-top: calc(72px + var(--slant));
}
.guarantee { display: grid; gap: 36px; }
.guarantee__ico { width: 52px; height: 52px; color: var(--amber); margin-bottom: 14px; }
.guarantee h2 { color: var(--white); }
.guarantee__intro p { margin-top: 14px; color: var(--on-blue); font-size: 1.1rem; max-width: 34em; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: paso; display: grid; gap: 0; }
.steps li {
  counter-increment: paso; display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 14px;
  padding: 18px 0; border-top: 1px dashed rgba(255, 255, 255, 0.35);
}
.steps li:last-child { border-bottom: 1px dashed rgba(255, 255, 255, 0.35); }
.steps li::before {
  content: counter(paso); grid-row: span 2; align-self: start;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: var(--amber); color: var(--blue-900); border-radius: 4px; transform: skewX(-12deg);
  font-weight: 900; font-size: 1.15rem;
}
.steps h3 { color: var(--white); }
.steps p { margin-top: 4px; color: var(--on-blue); }

/* Visítanos */
.visit { display: grid; gap: 36px; align-items: center; }
.visit__addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 1.35rem; font-weight: 800; font-stretch: 108%; line-height: 1.3; }
.visit__addr .ico { color: var(--red); margin-top: 0.2em; }
.parking {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center;
  margin-top: 20px; padding: 16px 18px; background: var(--amber); color: var(--blue-900);
  border-radius: var(--r-lg);
}
.parking__ico { width: 48px; height: 48px; color: var(--blue); }
.parking__title { font-weight: 850; font-stretch: 110%; font-size: 1.15rem; }
.hours { margin: 22px 0 0; }
.hours div { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; }
.hours dt { display: flex; align-items: baseline; flex: 1; gap: 8px; color: var(--muted); }
.hours dt::after { content: ""; flex: 1; min-width: 16px; border-bottom: 2px dotted var(--leader); transform: translateY(-0.25em); }
.hours dd { margin: 0; font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.delivery { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.delivery li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.delivery .ico { width: 1.4em; height: 1.4em; color: var(--blue-2); }
.visit__visual { position: relative; padding: 0 0 16px 16px; }
.visit__visual::before { content: ""; position: absolute; left: 0; bottom: 0; width: 46%; height: 70%; background: var(--red); border-radius: 4px; transform: skewX(-14deg); transform-origin: bottom left; }
.visit__photo { position: relative; }
.visit__photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 1080 / 1050; object-fit: cover; }

/* Preguntas frecuentes */
.faq-wrap { display: grid; gap: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px dotted var(--leader); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none;
  font-weight: 750; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue-2); border-bottom: 2.5px solid var(--blue-2);
  transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--blue-2); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* Cierre */
.final {
  background: var(--amber); color: var(--blue-900);
  padding: calc(64px + var(--slant)) 0 64px;
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -1);
}
.final__in { display: grid; gap: 24px; }
.final h2 { color: var(--blue-900); }
.final p { margin-top: 12px; max-width: 36em; font-size: 1.07rem; }

/* Footer */
.foot { background: var(--blue-900); color: #C9D3E6; padding: 44px 0 110px; font-size: 0.95rem; }
.foot__in { display: grid; gap: 24px; }
.foot__brand img { height: 40px; width: auto; background: var(--white); padding: 6px 10px; border-radius: var(--r); box-sizing: content-box; }
.foot__cols { display: grid; gap: 16px; }
.foot a { color: var(--white); }
.foot a:hover { color: var(--amber); }
.foot__legal { font-size: 0.8rem; color: #9FB0CE; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 16px; }

/* Botón flotante de WhatsApp: siempre visible */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  width: 60px; height: 60px; border-radius: 999px;
  background: var(--wa); color: var(--white); text-decoration: none;
  font-weight: 800; font-stretch: 106%;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.4);
  transition: transform 180ms var(--ease-out), background-color 160ms ease;
}
.fab .ico { width: 30px; height: 30px; }
.fab__label { display: none; }
.fab:hover { background: #0E6E33; color: var(--white); }
.fab:active { transform: scale(0.95); }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  animation: wa-ping 2.4s var(--ease-out) 1.6s 2;
}
@keyframes wa-ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); } 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

/* Aparición al hacer scroll (solo con JS y sin movimiento reducido) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.symptoms > li:nth-child(3n + 2).reveal { transition-delay: 60ms; }
.symptoms > li:nth-child(3n + 3).reveal { transition-delay: 120ms; }
.steps > li:nth-child(2).reveal { transition-delay: 70ms; }
.steps > li:nth-child(3).reveal { transition-delay: 140ms; }

/* Movimiento solo con puntero fino */
@media (hover: hover) and (pointer: fine) {
  .symptom:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .car:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .link-go:hover .ico { transform: translateX(3px); }
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; --slant: 56px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .top__wa span { display: inline; }
  .symptoms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .promise__panel { grid-template-columns: repeat(3, 1fr); padding: 8px 0; }
  .promise__panel li { grid-template-columns: 1fr; padding: 22px 24px; border-bottom: 0; border-left: 1px dotted var(--leader); }
  .promise__panel li:first-child { border-left: 0; }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
  .fab { width: auto; padding: 0 22px 0 16px; }
  .fab__label { display: inline; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  :root { --gutter: 40px; --head-h: 72px; --slant: 72px; }
  .menu-btn { display: none; }
  .nav { position: static; display: flex; flex-direction: row; gap: 4px; padding: 0; border: 0; box-shadow: none; background: none; margin-right: 8px; }
  .nav a { min-height: 44px; padding: 0 12px; border: 0; color: var(--muted); border-radius: var(--r); }
  .nav a:hover { color: var(--blue); background: var(--blue-50); }
  .brand img { height: 44px; }

  .hero { padding: 72px 0 calc(120px + var(--slant)); }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .hero__photo img { aspect-ratio: 3 / 4; max-height: 540px; }
  .hero__visual { padding: 24px 0 0 24px; }

  .promise { margin-top: -110px; }

  .section { padding: 104px 0; }
  .head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 64px; margin-bottom: 48px; }
  .head p { justify-self: end; }
  .head--center { grid-template-columns: 1fr; }
  .head--center p { justify-self: center; }

  .symptoms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .systems { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .slot { aspect-ratio: 4 / 5; }
  .section--slant { padding: calc(104px + var(--slant)) 0; }

  .cars { grid-template-columns: repeat(8, minmax(0, 1fr)); }

  .section--blue { padding-top: calc(104px + var(--slant)); }
  .guarantee { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
  .partners { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
  .partner { padding: 40px 36px; }
  .partner--shop::after { width: 120px; height: 72px; }

  .visit { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; }
  .visit__visual { padding: 0 0 24px 24px; }

  .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }

  .final { padding: calc(80px + var(--slant)) 0 80px; }
  .final__in { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }

  .foot { padding-bottom: 104px; }
  .foot__in { grid-template-columns: auto 1fr; column-gap: 48px; align-items: start; }
  .foot__legal { grid-column: 1 / -1; }
  .fab { right: 24px; bottom: 24px; }
}

/* Pantallas muy angostas */
.hero__grid > *, .partners > *, .visit > *, .systems > *, .guarantee > *, .faq-wrap > * { min-width: 0; }
@media (max-width: 379px) {
  :root { --gutter: 14px; }
  .brand img { height: 32px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-btn { padding: 0 0.7em; }
  .top__in { gap: 8px; }
  .promise__panel { padding: 4px 16px; }
}

/* Movimiento reducido: sin desplazamientos ni bucles; se mantienen colores */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .enter, .enter--photo { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fab::before { animation: none; }
  .marquee-toggle { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; }
  .marquee__list { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .btn:active, .symptom:active, .car:active, .fab:active { transform: none; }
  .symptom, .car, .link-go .ico, .faq summary::after { transition-property: background-color, border-color, color; }
}

@media print {
  .js .reveal { opacity: 1; transform: none; }
  .top, .fab { position: static; }
  .hero, .section--blue, .section--slant, .final { clip-path: none; }
}

/* Página 404 */
.notfound { min-height: 100vh; display: grid; align-content: center; }
.notfound .brand { margin-bottom: 40px; }
.notfound .brand img { height: 44px; width: auto; }
.notfound .lead { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.notfound .hero__cta { margin-top: 28px; }
