/* Pagamos tu Vehículo · hoja de estilos única para todas las páginas */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f5fb;
  --ink: #0b1f44;
  --ink-2: #45516b;
  --ink-3: #5e6a82;
  --line: #dfe4ee;
  --accent: #1a56db;
  --accent-hover: #1648b8;
  --star: #f5b301;
  --accent-ink: #ffffff;
  --accent-soft: #e8efff;
  --solid: #0b1f44;
  --solid-ink: #f1f3f1;
  --plate-blue: #1d4ea6;
  --ok: #1f7a4a;
  --err: #b42318;
  --shadow: 0 1px 2px rgb(11 31 68 / .06), 0 12px 32px -12px rgb(11 31 68 / .18);
  --radius: 12px;
  --radius-sm: 8px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--accent); }
a:hover { text-decoration-thickness: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
input, button, select, textarea { font: inherit; color: inherit; }
html { scrollbar-color: var(--ink-3) var(--bg); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.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; }

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; font-stretch: 105%; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 52ch; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 22px;
  border: 0; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .14); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--block { width: 100%; }
.btn .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-hover); }
  .btn:hover .icon--arrow { transform: translateX(3px); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
}
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"] .btn__label { opacity: .55; filter: blur(1px); }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .6s linear infinite; }
.btn[aria-busy="true"] .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand__mark { display: inline-flex; height: 30px; border-radius: 5px; overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--ink); background: #fbfcfb; }
.brand__mark span:first-child { width: 10px; background: var(--plate-blue); }
.brand__mark span:last-child { display: grid; place-items: center; padding: 0 7px 0 6px; color: #14181b; font-size: .78rem; font-stretch: 80%; font-weight: 800; letter-spacing: .04em; }
.brand__tld { color: var(--ink-3); font-weight: 600; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); font-weight: 500; transition: color 150ms ease; }
.nav a:hover { color: var(--ink); }
.site-header .btn { min-height: 42px; padding: 0 16px; font-size: .95rem; }
@media (max-width: 860px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
}
@media (max-width: 480px) {
  .site-header__in { gap: 12px; height: 60px; }
  .brand { font-size: .98rem; gap: 8px; }
  .brand__mark { height: 26px; }
  .site-header .btn { min-height: 38px; padding: 0 12px; font-size: .86rem; }
}
@media (max-width: 400px) { .brand__tld { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.hero__copy { display: grid; gap: 22px; }
.hero h1 { position: relative; isolation: isolate; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.1em; height: .13em; z-index: -1;
  background: var(--accent); border-radius: 2px;
  transform-origin: left; transform: scaleX(1);
}
.hero__media { position: relative; }
.hero__photo {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2);
  box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 60%; }
.hero__badge {
  position: absolute; left: -18px; bottom: 28px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
  font-size: .92rem; line-height: 1.3;
}
.hero__badge strong { display: block; font-family: var(--display); font-stretch: 105%; font-size: 1rem; }
.hero__badge .stars { color: var(--star); }
.hero__badge-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); }
.hero__badge-icon .icon { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__photo { aspect-ratio: 16 / 9; }
  .hero__badge { left: 12px; bottom: 12px; }
}
@media (max-width: 560px) {
  .hero__photo { aspect-ratio: 2 / 1; }
  .hero__photo img { object-position: 45% 62%; }
  .hero__badge { display: none; }
}

/* ---------- Tarjeta de tasación ---------- */
.quote {
  position: relative;
  background: var(--surface);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  padding: clamp(18px, 2.4vw, 26px);
  max-width: 560px;
}
.quote__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.quote__title { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; }
.quote__progress { display: flex; gap: 5px; align-items: center; font-size: .82rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.quote__progress i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); transition: background-color 250ms ease; }
.quote__progress i.on { background: var(--ink); }
.quote__progress span { margin-left: 6px; }
.quote__step { display: grid; gap: 16px; }
.quote__step[hidden] { display: none; }
.quote__step.is-entering { animation: stepIn 320ms var(--ease-out) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } }
.quote__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.quote__note { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--ink-3); }
.quote__note .icon { color: var(--ok); width: 18px; height: 18px; }
.quote__nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
@media (max-width: 480px) {
  .quote__row { grid-template-columns: 1fr; }
}

/* Campo genérico */
.field { display: grid; gap: 7px; }
.field > label, .field > .field__label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field__hint { font-size: .82rem; color: var(--ink-3); font-weight: 400; }
.input {
  width: 100%; min-height: 52px; padding: 0 14px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--bg);
  font-size: 1rem; caret-color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent); }
.field.has-error .input, .field.has-error .plate { border-color: var(--err); }
.field__error { display: none; font-size: .85rem; color: var(--err); font-weight: 500; }
.field.has-error .field__error { display: block; }

/* Matrícula: el objeto firma */
.plate {
  position: relative; display: flex; align-items: stretch; height: 74px;
  border-radius: 9px; overflow: hidden;
  background: #fbfcfb;
  border: 2px solid #14181b;
  box-shadow: inset 0 0 0 3px #fbfcfb, inset 0 0 0 4px #c9cec9, 0 2px 0 rgb(11 31 68 / .08);
  isolation: isolate;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}
.plate:focus-within { box-shadow: inset 0 0 0 3px #fbfcfb, inset 0 0 0 4px #c9cec9, 0 0 0 5px color-mix(in srgb, var(--accent) 55%, transparent); }
.plate__eu {
  width: 46px; flex: none; background: var(--plate-blue);
  display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; padding: 8px 0 7px;
  color: #fbfcfb;
}
.plate__eu svg { width: 26px; height: 26px; }
.plate__eu b { font-family: var(--display); font-stretch: 90%; font-weight: 700; font-size: 1.05rem; line-height: 1; }
.plate input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  padding: 0 14px; text-align: center;
  font-family: var(--display); font-stretch: 72%; font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 2.6rem); letter-spacing: .08em; color: #14181b; text-transform: uppercase;
  caret-color: var(--plate-blue);
  font-variant-numeric: tabular-nums;
}
.plate input::placeholder { color: #7f8680; }
.plate::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .75) 48%, transparent 60%);
  transform: translateX(-110%);
}
.plate.is-sheen::after { animation: sheen 1100ms var(--ease-in-out) 450ms both; }
@keyframes sheen { to { transform: translateX(110%); } }
.plate--sm { height: 64px; }
.plate--sm input { font-size: 2rem; }

/* Chips (radio) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: .88rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-size: .93rem; font-weight: 500;
  transition: border-color 150ms ease, background-color 150ms ease, transform 160ms var(--ease-out);
}
.chip span .icon { width: 18px; height: 18px; color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip input:checked + span .icon { color: var(--accent); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip input:active + span { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { border-color: var(--ink-3); } }
.fieldset-error { display: none; font-size: .85rem; color: var(--err); font-weight: 500; margin-top: 6px; }
.has-error .fieldset-error { display: block; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .86rem; color: var(--ink-2); line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }

.quote__done { text-align: left; display: grid; gap: 14px; }
.quote__done-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.quote__done-icon .icon { width: 30px; height: 30px; }
.quote__error { display: none; padding: 12px 14px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--err) 10%, transparent); color: var(--err); font-size: .9rem; font-weight: 500; }
.quote__error.is-on { display: block; }

/* ---------- Franja de garantías ---------- */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts__list { list-style: none; margin: 0 auto; padding-block: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; }
.facts__list li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.facts__list li span { display: block; font-weight: 400; color: var(--ink-3); font-size: .86rem; }
.facts__list .icon { width: 28px; height: 28px; color: var(--ink); }
@media (max-width: 900px) { .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .facts__list { grid-template-columns: 1fr; } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section__head p { color: var(--ink-2); font-size: 1.08rem; max-width: 60ch; }

/* Cómo funciona: línea horizontal de tres verbos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 24px); opacity: .35; }
.steps li { position: relative; padding-right: clamp(16px, 3vw, 48px); display: grid; gap: 12px; align-content: start; }
.steps__icon { position: relative; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); margin-bottom: 8px; }
.steps li:last-child .steps__icon { background: var(--accent); box-shadow: none; color: var(--accent-ink); }
.steps__icon .icon { width: 28px; height: 28px; }
.steps h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-stretch: 115%; }
.steps p { color: var(--ink-2); max-width: 34ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 14px, transparent 14px 24px); }
  .steps li { grid-template-columns: 56px 1fr; column-gap: 18px; padding-right: 0; }
  .steps__icon { grid-row: span 2; margin: 0; }
}

/* Qué compramos: bento de 5 celdas */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 14px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.tile h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.tile p { color: var(--ink-2); font-size: .97rem; max-width: 40ch; }
.tile--photo { color: #fbfcfb; box-shadow: none; min-height: 320px; }
.tile--photo p { color: rgb(251 252 251 / .86); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease-out); }
.tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(15 18 20 / 0) 30%, rgb(15 18 20 / .82) 100%); }
@media (hover: hover) and (pointer: fine) { .tile--photo:hover img { transform: scale(1.04); } }
.tile--accent { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.tile--accent p { color: rgb(255 255 255 / .86); }
.tile--ink { background: var(--solid); color: var(--solid-ink); box-shadow: none; }
.tile--ink p { color: color-mix(in srgb, var(--solid-ink) 78%, transparent); }
.tile__big { font-family: var(--display); font-stretch: 120%; font-weight: 900; font-size: clamp(2.6rem, 5vw, 4rem); line-height: .95; letter-spacing: -0.03em; margin-bottom: auto; }
.tile__types { list-style: none; margin: 0 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile__types li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tile__types .icon { width: 26px; height: 26px; }
.b1 { grid-column: span 7; grid-row: span 2; }
.b2 { grid-column: span 5; }
.b3 { grid-column: span 5; }
.b4 { grid-column: span 5; }
.b5 { grid-column: span 7; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .b1 { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .b2, .b3, .b4, .b5 { grid-column: span 1; }
  .b5 { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .b1, .b2, .b3, .b4, .b5 { grid-column: auto; }
}

/* Opiniones */
.reviews { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.review { margin: 0; display: grid; gap: 18px; align-content: space-between; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.review--feature { grid-row: span 2; background: var(--solid); color: var(--solid-ink); box-shadow: none; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 1.08rem; line-height: 1.5; }
.review--feature blockquote p { font-family: var(--display); font-stretch: 104%; font-weight: 600; font-size: clamp(1.4rem, 2.5vw, 1.95rem); line-height: 1.22; letter-spacing: -0.015em; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 18px; height: 18px; }
.review--feature .stars .icon { width: 22px; height: 22px; }
.review footer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-stretch: 100%; font-size: .95rem; }
.review cite { font-style: normal; font-weight: 600; display: block; line-height: 1.3; }
.review cite span { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-3); }
.review--feature cite span { color: color-mix(in srgb, var(--solid-ink) 70%, transparent); }
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; } .review--feature { grid-row: auto; } }

/* Papeleo */
.paper { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.paper__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.paper__photo img { width: 100%; height: 100%; object-fit: cover; }
.paper__copy { display: grid; gap: 22px; }
.docs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.docs li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.docs li:last-child { border-bottom: 1px solid var(--line); }
.docs__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.docs__icon .icon { width: 24px; height: 24px; }
.docs strong { display: block; font-family: var(--display); font-stretch: 105%; font-size: 1.08rem; letter-spacing: -0.01em; }
.docs span { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 860px) { .paper { grid-template-columns: 1fr; } .paper__photo { aspect-ratio: 16 / 10; } }

/* Precio: factores */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.price__copy { display: grid; gap: 18px; align-content: start; position: sticky; top: 100px; }
.price__copy p { color: var(--ink-2); }
.factors { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.factor { padding: 22px 0 26px; border-top: 2px solid var(--ink); display: grid; gap: 8px; }
.factor h3 { font-size: 1.2rem; }
.factor p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } .price__copy { position: static; } }
@media (max-width: 520px) { .factors { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.faq__head { display: grid; gap: 14px; align-content: start; position: sticky; top: 100px; }
.faq__head p { color: var(--ink-2); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-family: var(--display); font-stretch: 104%; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; flex: none; transition: transform 220ms var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; display: grid; gap: 10px; }
.faq details[open] > div { animation: faqIn 260ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* Banda final */
.cta { background: var(--accent); color: var(--accent-ink); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.cta h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.cta p { margin-top: 14px; font-size: 1.1rem; color: rgb(255 255 255 / .88); max-width: 46ch; }
.cta form { display: grid; gap: 12px; }
.cta .btn { --btn-bg: #0b1f44; --btn-fg: #ffffff; }
.cta .field__error { color: #ffe1dc; }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- Guías (páginas de contenido) ---------- */
.article { padding-block: clamp(36px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .88rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.prose .lead { margin-top: 18px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 650; }
.prose .callout { padding: 18px 20px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); }
.prose .updated { color: var(--ink-3); font-size: .9rem; }
.aside { position: sticky; top: 96px; display: grid; gap: 14px; }
.aside .quote { max-width: none; }
@media (max-width: 960px) { .article__grid { grid-template-columns: 1fr; } .aside { position: static; } }

.legal .prose h2 { font-size: 1.35rem; }
.placeholder { background: var(--accent-soft); padding: 0 .3em; border-radius: 3px; font-weight: 600; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 56px 32px; font-size: .94rem; color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__grid h2 { font-size: .95rem; font-stretch: 100%; letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--ink); text-decoration: underline; }
.footer__about .brand { color: var(--ink); }
.footer__about { display: grid; gap: 14px; max-width: 42ch; }
.footer__base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--ink-3); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: span 2; } }

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(14px); }
  .js .rise.is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .hero h1 .hl::after { transform: scaleX(0); }
  .js .hero.is-in h1 .hl::after { transform: scaleX(1); transition: transform 700ms var(--ease-out) 380ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* =====================================================================
   v2 · fondo blanco, logo de coche dañado y secciones más ricas
   ===================================================================== */
:root { --hazard: repeating-linear-gradient(-45deg, #0b1f44 0 11px, var(--accent) 11px 22px); }
.hazard { height: 8px; background: var(--hazard); }

/* Logo */
.brand { gap: 10px; }
.brand__car { width: 60px; height: 34px; flex: none; color: var(--ink); --glass: var(--bg); --logo-body: var(--accent); }
.brand__name { display: flex; flex-direction: column; align-items: flex-start; line-height: .88; font-size: 1.2rem; letter-spacing: -0.005em; text-transform: uppercase; font-stretch: 78%; font-weight: 900; }
.brand__name span { white-space: nowrap; }
.brand__name span:last-child { padding-bottom: 2px; box-shadow: inset 0 -3px 0 var(--accent); }
.site-header .brand { flex: none; }
.brand__name small { font-size: .62rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--ink-3); font-stretch: 100%; margin-top: 3px; }
@media (max-width: 480px) { .brand__car { width: 50px; height: 28px; } .brand__name { font-size: 1.05rem; } }
@media (max-width: 400px) { .brand__name small { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(24px, 4vw, 56px); }
.hero__crack {
  position: absolute; z-index: -1; right: -6%; top: -10%; width: min(62vw, 900px); aspect-ratio: 1;
  background: url("../img/cristal-roto.webp") center / cover no-repeat;
  opacity: .07; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
  pointer-events: none;
}
.hero__rating { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.hero__rating strong { color: var(--ink); font-family: var(--display); font-stretch: 105%; }
.hero__photo { position: relative; overflow: visible; background: none; box-shadow: none; }
.hero__photo::before { content: ""; position: absolute; inset: 22px -16px -16px 22px; border-radius: var(--radius); background: var(--hazard); z-index: -1; }
.hero__photo picture, .hero__photo img { border-radius: var(--radius); }
.hero__photo picture { display: block; width: 100%; height: 100%; overflow: hidden; box-shadow: var(--shadow); }
.hero__chip {
  position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-stretch: 105%; font-weight: 800; font-size: .9rem; box-shadow: 0 6px 18px -6px rgb(11 31 68 / .35);
}
.hero__chip .icon { width: 20px; height: 20px; }
.hero__review { position: absolute; left: -28px; bottom: 34px; max-width: 290px; display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.hero__review p { font-size: .95rem; line-height: 1.4; font-weight: 500; }
.hero__review > span:last-child { font-size: .82rem; color: var(--ink-3); }
@media (max-width: 960px) { .hero__review { left: 12px; bottom: 12px; } .hero__photo::before { inset: 14px -8px -8px 14px; } }
@media (max-width: 560px) { .hero__review { display: none; } .hero__chip { top: 10px; right: 10px; font-size: .8rem; padding: 6px 10px 6px 8px; } .hero__crack { width: 120vw; right: -40%; } }

/* Marcas */
.brands { padding-block: 34px 38px; border-block: 1px solid var(--line); background: var(--surface-2); overflow: hidden; }
.brands__title { text-align: center; font-size: .95rem; color: var(--ink-2); font-weight: 500; margin-bottom: 22px; }
.brands__title strong { color: var(--ink); }
.marquee { display: flex; width: max-content; gap: 64px; padding-right: 64px; animation: marquee 48s linear infinite; }
.marquee svg { width: 44px; height: 44px; fill: #5c656b; flex: none; }
.brands:hover .marquee { animation-play-state: paused; }
.brands__mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cómo funciona v2: pasos + foto */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.how .steps { grid-template-columns: 1fr; gap: 0; }
.how .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 10px, transparent 10px 18px); }
.how .steps li { grid-template-columns: 56px 1fr; column-gap: 22px; padding: 0 0 34px; }
.how .steps li:last-child { padding-bottom: 0; }
.how .steps__icon { grid-row: span 2; margin: 0; background: var(--bg); }
.how .steps h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.how__media { position: relative; }
.how__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.ticket {
  position: absolute; right: -14px; bottom: -22px; width: min(310px, 86%);
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  padding: 18px 20px; display: grid; gap: 10px;
}
.ticket__row { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--ink-2); }
.ticket__row b { color: var(--ink); font-weight: 600; }
.ticket__total { border-top: 1.5px dashed var(--line); padding-top: 12px; display: grid; gap: 4px; }
.ticket__total span { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.1rem; }
.ticket__total em { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--ok); display: inline-flex; gap: 4px; align-items: center; }
.ticket__total em .icon { width: 16px; height: 16px; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } .ticket { right: 12px; } }

/* Comparativa */
.compare-wrap { background: var(--surface-2); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .98rem; }
.compare th, .compare td { padding: 18px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-stretch: 105%; font-weight: 800; font-size: 1rem; vertical-align: bottom; border-bottom: 2px solid var(--ink); }
.compare tbody th { text-align: left; font-weight: 600; }
.compare .us { background: var(--surface); box-shadow: inset 2px 0 0 var(--ink), inset -2px 0 0 var(--ink); }
.compare thead .us { border-radius: var(--radius) var(--radius) 0 0; box-shadow: inset 2px 0 0 var(--ink), inset -2px 0 0 var(--ink), inset 0 2px 0 var(--ink); }
.compare thead .us .brand__car { width: 44px; height: 26px; display: block; margin: 0 auto 8px; }
.compare tbody tr:last-child .us { box-shadow: inset 2px 0 0 var(--ink), inset -2px 0 0 var(--ink), inset 0 -2px 0 var(--ink); border-radius: 0 0 var(--radius) var(--radius); }
.compare td .icon { width: 26px; height: 26px; }
.yes { color: var(--ok); }
.no { color: #b8bfc4; }
.meh { font-size: .86rem; color: var(--ink-3); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.compare { min-width: 640px; }

/* Opiniones v2 */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); }
.score { display: flex; align-items: center; gap: 14px; }
.score b { font-family: var(--display); font-stretch: 115%; font-weight: 900; font-size: 3rem; line-height: 1; letter-spacing: -0.03em; }
.score > span { font-size: .88rem; color: var(--ink-3); display: grid; gap: 4px; }

/* Banda final v2 */
.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: url("../img/cristal-roto.webp") center / 900px auto; opacity: .1; mix-blend-mode: multiply; pointer-events: none; }
.cta .hazard { position: relative; }
.cta__in { position: relative; }
.cta__car { width: 132px; height: 75px; color: #0b1f44; --glass: var(--accent); --logo-body: #ffffff; margin-bottom: 18px; }

/* Pie oscuro */
.site-footer { background: #0b1f44; color: #b8c3da; border-top: 0; }
.site-footer .brand, .footer__about .brand { color: #f4f5f3; }
.site-footer .brand__car { color: #ffffff; --glass: #0b1f44; --logo-body: #4d82f0; }
.site-footer .brand__name small { color: #8d969c; }
.footer__grid h2 { color: #f4f5f3; }
.footer__grid a:hover { color: #fff; }
.footer__base { border-top-color: #2a3035; color: #8d969c; }

/* Barra fija en móvil */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: flex; gap: 10px; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 320ms var(--ease-out);
  }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .marquee [aria-hidden="true"] { display: none; } }

/* Formulario corto por WhatsApp */
.quote__wa { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: #e8f7ee; color: #146c3a; font-size: .82rem; font-weight: 600; }
.quote__wa .icon { width: 18px; height: 18px; }
.quote__done-icon { background: #25d366; color: #fff; }
.quote__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.quote__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--ink-2); font-size: .95rem; }
.quote__list .icon { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }

/* Guías: índice, tarjetas y «Otras guías» */
.gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gcard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms ease, transform 200ms var(--ease-out); }
.gcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gcard__body { display: grid; gap: 6px; padding: 18px 20px 20px; align-content: start; }
.gcard__body b { font-family: var(--display); font-stretch: 105%; font-weight: 800; font-size: 1.12rem; line-height: 1.2; letter-spacing: -0.01em; }
.gcard__body > span { color: var(--ink-2); font-size: .95rem; }
.gcard__body em { margin-top: 6px; font-style: normal; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.gcard__body em .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gcard:hover { box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow); } .gcard:hover em .icon { transform: translateX(3px); } }
.gcard:active { transform: scale(.99); }
@media (max-width: 900px) { .gcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gcards { grid-template-columns: 1fr; } }
.more { margin-top: 2.6em; padding-top: 1.6em; border-top: 2px solid var(--ink); }
.more h2 { margin-top: 0 !important; font-size: 1.3rem !important; }
.more ul { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 14px; }
.more li { display: grid; gap: 2px; margin: 0 !important; }
.more a { font-weight: 650; }
.more span { color: var(--ink-3); font-size: .93rem; }

/* Panel privado de solicitudes */
.ptag { margin-left: auto; white-space: nowrap; font-size: .88rem; font-weight: 600; color: var(--ink-3); }
.panel { padding-block: 28px 80px; min-height: 70vh; }
.plogin { max-width: 420px; margin: 6vh auto 0; display: grid; gap: 12px; }
.plogin .quote { display: grid; gap: 14px; margin-top: 8px; }
.pbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.pbar h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.pbar h2 small { font-size: .95rem; font-weight: 600; color: var(--ink-3); font-stretch: 100%; margin-left: 8px; letter-spacing: 0; }
.pbar__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: .9rem; cursor: pointer; }
.pchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pstats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.pstats div { display: grid; gap: 2px; padding: 12px; border-radius: var(--radius-sm); background: var(--surface-2); }
.pstats b { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.5rem; line-height: 1; }
.pstats span { font-size: .78rem; color: var(--ink-3); }
.pstats p { grid-column: 1 / -1; font-size: .8rem; color: var(--ink-3); }
@media (max-width: 560px) { .pstats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.psearch { margin-bottom: 14px; }
.leads { display: grid; gap: 12px; }
.plead { display: grid; gap: 10px; padding: 16px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plead.is-nuevo { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow); }
.plead.is-descartado, .plead.is-recogido { opacity: .62; }
.plead__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plead__plate { display: inline-flex; align-items: stretch; height: 40px; border: 2px solid #14181b; border-radius: 6px; overflow: hidden; font-family: var(--display); font-stretch: 72%; font-weight: 700; font-size: 1.45rem; letter-spacing: .06em; background: #fff; }
.plead__plate i { width: 14px; align-self: stretch; background: var(--plate-blue); }
.plead__plate { padding-right: 12px; gap: 10px; align-items: center; }
.plead__top select { min-height: 40px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: 0 10px; background: var(--bg); font-weight: 600; }
.plead__meta { font-size: .85rem; color: var(--ink-3); }
.plead__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plead__actions .btn { min-height: 46px; font-size: .95rem; }
.btn--wa { --btn-bg: #25d366; --btn-fg: #0b3d1f; }
.plead__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plead__note { grid-column: 1 / -1; }
.plead__fields label:has(input[type="date"]) { grid-column: 1 / -1; }
.plead__tpl { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.plead__tpl select { min-height: 42px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: 0 10px; background: var(--bg); font-size: .95rem; }
.plead__fields label { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.plead__fields .input { min-height: 42px; font-size: .95rem; }
.pempty { padding: 28px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink-2); }
.pfoot { margin-top: 22px; font-size: .88rem; color: var(--ink-3); }
.plink { border: 0; background: none; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; font: inherit; }
.pstatus { position: fixed; left: 50%; bottom: 20px; visibility: hidden; transform: translate(-50%, 220%); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 600; transition: transform 260ms var(--ease-out); z-index: 40; }
.pstatus.is-on { visibility: visible; transform: translate(-50%, 0); }
.pstatus.is-bad { background: var(--err); }
@media (min-width: 900px) { .leads { grid-template-columns: 1fr 1fr; } }


/* Enlace para saltar al contenido: visible al navegar con teclado */
a.sr-only:focus { position: fixed; z-index: 50; top: 12px; left: 12px; width: auto; height: auto; margin: 0; padding: 10px 16px; clip: auto; white-space: normal; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; }

/* Aviso de cookies (solo aparece si hay píxel de Meta configurado) */
.consent { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin-inline: auto; display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); font-size: .92rem; color: var(--ink-2); }
.consent div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent .btn { min-height: 44px; font-size: .95rem; }
@media (max-width: 760px) { .consent { bottom: 86px; } }

/* Botón flotante de WhatsApp (solo si WHATSAPP está configurado en el build) */
.wafab { position: fixed; z-index: 35; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: #25d366; color: #0b3d1f; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px -8px rgb(11 31 68 / .45); transition: transform 160ms var(--ease-out); }
.wafab .icon { width: 26px; height: 26px; }
.wafab:active { transform: scale(.96); }
@media (max-width: 760px) { .wafab { bottom: 88px; right: 14px; padding: 0 14px; } .wafab span { display: none; } }

/* Compartir guía */
.share { margin-top: 2em !important; }
.share .btn .icon { color: #1fa855; }

/* Vender o desguace (18-10) */
.quote__goal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.quote__goal legend { grid-column: 1 / -1; }
.quote__goal .chip span { width: 100%; justify-content: center; text-align: center; font-weight: 600; border-radius: 10px; line-height: 1.2; padding: 8px 10px; }
.quote__goal .chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
