/* =====================================================================
   MOSTAJO VERIFICACIONES — landing y solicitud orientadas a conversión
   Una sola acción por pantalla (botón rojo), precio a la vista, prueba
   real (el informe) y objeciones respondidas antes del formulario.
   Paleta del logo: azul #0b2fb5, rojo #d9262f. Tipografía: Archivo.
   Lo usan index.html y agendar.html; las páginas por zona y el blog
   siguen con styles.css.
   ===================================================================== */
:root {
  --bg: #ffffff;
  --bg-2: #f2f4fa;
  --text: #141a33;
  --text-2: #4a5276;
  --text-3: #5f6989;
  --ink: #0b2fb5;
  --ink-2: #0a28a0;
  --ink-soft: #b9c6f2;
  --line: #d9deee;
  --cta: #d9262f;
  --cta-deep: #b51e26;
  --ok: #157a3c;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  --r: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
h1, h2, h3, p, ol, ul, fieldset, figure { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; display: block; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* Sobre fondos azules u oscuros el contorno azul no se ve: va blanco */
.top :focus-visible, .agency :focus-visible, .casos :focus-visible, .foot :focus-visible { outline-color: #fff; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
main { flex: 1 0 auto; }
section[id] { scroll-margin-top: 60px; }

/* ---- botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: var(--r);
  background: var(--cta); color: #fff; text-decoration: none; font-weight: 800; font-size: 1.0625rem;
  cursor: pointer; box-shadow: 0 6px 16px -6px rgba(217, 38, 47, .55); transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: var(--cta-deep); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn .price { font-weight: 700; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.45); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.white { background: #fff; color: var(--ink); box-shadow: none; }
.btn.white:hover { background: var(--bg-2); }
.link-wa { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.link-wa svg { width: 18px; height: 18px; fill: #1f9d55; flex: none; }

/* ---- cabecera ---- */
.top { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 30; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.top .logo img { height: 40px; width: auto; }
.top h1.logo-h, .top .logo-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top-right { display: flex; align-items: center; gap: 18px; }
.top-zonas { font-size: .8125rem; color: var(--ink-soft); }
.top-wa { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .875rem; text-decoration: none; }
.top-wa::after { content: ""; position: absolute; inset: -2px 0; }
.top-wa svg { width: 18px; height: 18px; fill: #1f9d55; }
@media (max-width: 699px) { .top-zonas { display: none; } .top .logo img { height: 34px; } }

/* ---- hero ---- */
.hero { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: 40px 44px; }
.eyebrow { display: block; font-size: .8125rem; line-height: 1.4; font-weight: 700; font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.375rem); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; font-stretch: 92%; max-width: 16ch; }
.hero .sub { margin-top: 18px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 46ch; }
.hero-price { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.hero-price strong { font-size: 1.75rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.hero-price > span { font-size: .9375rem; color: var(--text-2); }
.hero-price a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

/* vista previa del informe en el hero, solo mobile */
.informe-card { display: none; }
@media (max-width: 899px) {
  .informe-card {
    display: grid; margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    background: #fff; text-decoration: none; color: var(--text); box-shadow: 0 14px 30px -20px rgba(20, 26, 51, .45);
  }
  .ic-head { display: grid; gap: 2px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
  .ic-head strong { font-size: 1.0625rem; font-weight: 800; }
  .ic-head span { font-size: .875rem; color: var(--text-2); }
  .ic-img { position: relative; display: block; max-height: 260px; overflow: hidden; }
  .ic-img picture, .ic-img img { display: block; width: 100%; height: auto; }
  .ic-img::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(rgba(255,255,255,0), #fff); }
  .ic-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin: 0 12px 12px; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 800; }
  .ic-cta::after { content: "→"; }
}
.hero-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.ticks { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 1rem; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; stroke: var(--ok); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.hero-proof { justify-self: center; display: grid; justify-items: center; gap: 12px; }
/* el teléfono del hero entra entero en la primera pantalla de cualquier notebook */
.hero-proof .phone { width: clamp(220px, calc((100vh - 230px) * .4875), 320px); }
.hero-proof a { font-weight: 700; color: var(--ink); }
@media (max-width: 899px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; padding-block: 26px 30px; }
  .hero-proof { display: none; }
  .ticks { margin-top: 22px; }
}
@media (max-width: 599px) {
  .hero-cta .btn { width: 100%; }
  .hero-cta { justify-content: center; }
}

/* ---- secciones ---- */
.sec { padding-block: 64px; border-bottom: 1px solid var(--line); }
.sec.alt { background: var(--bg-2); }
.sec h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; font-stretch: 94%; max-width: 24ch; }
.sec .lead { margin-top: 12px; font-size: 1.0625rem; color: var(--text-2); max-width: 56ch; }
.sec-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
@media (max-width: 699px) {
  .sec { padding-block: 44px; }
  .sec-cta .btn { width: 100%; }
}

/* ---- cotizador ---- */
.quote { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 899px) { .quote { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.q-step + .q-step { margin-top: 22px; }
.q-step legend { font-size: 1.0625rem; font-weight: 700; margin-bottom: 10px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* opción (radio o checkbox) como tarjeta tocable */
.row {
  position: relative; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px;
  min-height: 58px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.row:hover { border-color: var(--ink-soft); }
.row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.row .num { display: none; }
.row .box { width: 22px; height: 22px; border: 2px solid var(--text-3); border-radius: 50%; position: relative; background: #fff; }
.row input[type="checkbox"] ~ .box { border-radius: 6px; }
.row .tick { position: absolute; inset: 2px; width: 14px; height: 14px; overflow: visible; opacity: 0; }
.row .tick path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.row input:checked ~ .box { background: var(--ink); border-color: var(--ink); }
.row input:checked ~ .box .tick { opacity: 1; }
.row:has(input:checked) { border-color: var(--ink); background: #f5f7ff; }
.row input:focus-visible ~ .box { outline: 3px solid var(--ink); outline-offset: 3px; }
.row .txt { font-size: 1rem; font-weight: 700; line-height: 1.25; min-width: 0; overflow-wrap: break-word; }
.row .txt small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 400; color: var(--text-2); line-height: 1.35; }
.row .amt { font-size: .875rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.row-sub { grid-column: 1 / -1; padding: 4px 2px 2px; }
.row-sub[hidden] { display: none; }
.row-sub .lbl { display: block; font-size: .875rem; font-weight: 700; margin-bottom: 6px; }
.row.addon { grid-template-columns: 24px 1fr; align-items: start; }
.row.addon .box { margin-top: 1px; }
@media (max-width: 420px) { .opts .row { padding: 10px 12px; gap: 10px; } }
@media (max-width: 359px) { .opts .row { grid-template-columns: 22px minmax(0, 1fr); padding: 10px; gap: 8px; } .opts .row .amt { display: none; } .row .txt { font-size: .9375rem; } }

/* resultado */
.q-result {
  position: sticky; top: 80px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 22px;
  box-shadow: 0 18px 40px -24px rgba(11, 47, 181, .45);
}
.q-result .lbl { font-size: .875rem; font-weight: 700; color: var(--text-2); }
.stamp { display: block; margin-top: 4px; font-size: clamp(2.5rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text); white-space: nowrap; }
.stamp.stamped { animation: price-settle .22s cubic-bezier(.22, 1, .36, 1); }
@keyframes price-settle { 0% { opacity: .2; transform: translateY(-3px); } 100% { opacity: 1; transform: none; } }
.q-result .fine-print { margin-top: 4px; text-align: left; }
.q-incl { list-style: none; margin: 16px 0 18px; display: grid; gap: 6px; font-size: .9375rem; }
.q-incl li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.q-incl svg { width: 20px; height: 20px; stroke: var(--ok); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.q-result .btn { width: 100%; }
.q-alt { margin-top: 10px; text-align: center; font-size: .9375rem; }
.desglose { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; font-size: .875rem; }
.desglose summary { cursor: pointer; color: var(--text-2); font-weight: 600; padding: 12px 0; margin-block: -4px; }
.lines { list-style: none; }
.lines li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.lines .n { display: none; }
.lines .lbl-line small { display: none; }
.lines .amt { font-weight: 700; white-space: nowrap; }
.lines li.off { color: var(--text-3); }
.total-row { display: flex; justify-content: space-between; padding: 9px 0 0; font-weight: 800; }
@media (max-width: 899px) { .q-result { position: static; padding: 18px; } }

/* ---- lo que encuentra ---- */
.finds { list-style: none; margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.finds li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.finds h3 { font-size: 1.125rem; font-weight: 800; line-height: 1.2; }
.finds p { margin-top: 6px; color: var(--text-2); font-size: .9375rem; }
@media (max-width: 899px) { .finds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .finds { grid-template-columns: 1fr; gap: 10px; } .finds li { padding: 14px 16px; } }

/* ---- informe ---- */
/* El título va dentro de la grilla: en desktop título y lista quedan juntos y centrados contra el teléfono;
   en mobile el orden es título, teléfono, lista. */
.report { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto 1fr; column-gap: 48px; }
.report > h2 { grid-column: 1; grid-row: 2; }
.report-txt { grid-column: 1; grid-row: 3; margin-top: 24px; }
.report .phone-wrap { grid-column: 2; grid-row: 1 / -1; }
.report ul { list-style: none; display: grid; gap: 12px; }
.report li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1.0625rem; }
.report li svg { width: 22px; height: 22px; stroke: var(--ok); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.report-open { margin-top: 18px; margin-bottom: -2px; font-weight: 700; color: var(--ink); display: inline-block; padding: 10px 0; }
@media (max-width: 899px) {
  .report { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 28px; }
  .report > h2, .report-txt, .report .phone-wrap { grid-column: 1; grid-row: auto; }
  .report-txt { margin-top: 0; order: 2; }
  .report .phone-wrap { order: 1; }
}

.phone-wrap { display: grid; justify-items: center; gap: 10px; }
.phone {
  position: relative; width: 340px; max-width: 100%; aspect-ratio: 390 / 800; border-radius: 50px;
  background: #0b0d14; padding: 12px; box-shadow: 0 30px 60px -30px rgba(20,26,51,.55);
}
.phone-island { position: absolute; top: 20px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%); background: #0b0d14; border-radius: 20px; z-index: 2; }
.phone-inner { position: absolute; inset: 12px; border-radius: 40px; overflow: hidden; background: #fff; }
.phone-status { height: 42px; background: #fff; }
/* El informe se dibuja a 360px de ancho (un celular real) y se achica con --s, que pone app.js según el ancho
   de la pantalla del teléfono. Sin JS --s vale 1 y el iframe ocupa el ancho disponible. */
.phone-screen {
  position: absolute; top: 42px; left: 0; display: block; border: 0; background: #fff;
  width: calc(100% / var(--s, 1)); height: calc((100% - 42px) / var(--s, 1));
  transform: scale(var(--s, 1)); transform-origin: 0 0;
}
.phone-caption { font-size: .8125rem; color: var(--text-2); text-align: center; }
.phone-gate { display: none; }
@media (max-width: 899px) { .phone { width: min(300px, 100%); } }
/* Compuerta solo en pantallas táctiles: ahí el dedo quedaría atrapado scrolleando el informe en vez de la página.
   Con mouse o trackpad la rueda recorre el informe directamente, a cualquier ancho. */
@media (max-width: 899px) and (hover: none) and (pointer: coarse) {
  .phone-gate { display: grid; position: absolute; inset: 12px; z-index: 3; border: 0; border-radius: 40px; background: transparent; padding: 0 0 22px; align-content: end; justify-items: center; cursor: pointer; }
  .phone-gate span { display: grid; place-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 700; }
  .phone:not(.is-live) .phone-screen { pointer-events: none; }
  .phone.is-live .phone-gate { display: none; }
}

/* ---- verificación completa en taller: los mismos renglones de "lo que encuentra" y un recibo con precio fijo ---- */
/* Lo que es solo de un servicio (cotizador, formulario) se oculta con hidden aunque su clase le dé display */
[data-servicio][hidden] { display: none; }
.completa-ticket {
  margin-top: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 32px; align-items: center;
  background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 22px 24px;
}
.ct-precio .lbl { font-size: .875rem; font-weight: 700; color: var(--text-2); }
.ct-precio p { margin-top: 8px; font-size: .875rem; color: var(--text-2); max-width: 24ch; }
.completa-ticket .q-incl { margin: 0; }
/* notebooks chicas: el botón baja a su propio renglón para que la lista no quede angosta */
@media (min-width: 900px) and (max-width: 1099px) {
  .completa-ticket { grid-template-columns: auto minmax(0, 1fr); }
  .completa-ticket .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 899px) {
  .completa-ticket { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .ct-precio p { max-width: none; }
  .completa-ticket .btn { width: 100%; }
}

/* ---- casos reales: banda oscura con las portadas de los videos; carrusel en mobile ---- */
.casos { background: var(--text); color: #fff; border-bottom: 0; }
.casos .lead { color: #c9cfe4; }
.casos-list { list-style: none; margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.caso { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; background: #1f2747; color: #fff; text-decoration: none; }
.caso img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 13; object-fit: cover; object-position: center 35%; }
.caso-txt { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.caso-txt strong { font-size: 1.0625rem; font-weight: 800; line-height: 1.2; }
.caso-txt span { font-size: .9063rem; color: #c9cfe4; line-height: 1.4; }
.caso-txt .caso-red { margin-top: auto; padding-top: 6px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.caso:hover .caso-red { color: var(--ink-soft); }
.casos-mas { margin-top: 18px; color: #c9cfe4; }
.casos-mas a { color: #fff; font-weight: 700; }
@media (max-width: 899px) {
  .casos-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .casos-list::-webkit-scrollbar { display: none; }
  .casos-list li { scroll-snap-align: start; }
}
@media (min-width: 600px) and (max-width: 899px) { .casos-list { grid-auto-columns: 40%; } }

/* ---- opiniones de Google y validaciones ---- */
.stars { color: #f5a400; letter-spacing: 1px; }
.g-rating { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 22px; font-size: .9375rem; color: var(--text-2); text-decoration: none; }
.g-rating::after { content: ""; position: absolute; inset: -9px 0; }
.g-rating strong { color: var(--text); }
.g-rating .stars { font-size: 1.125rem; }
.g-rating:hover span:last-child { text-decoration: underline; }
.g-rating.center { justify-content: center; margin-top: 4px; }
.proof { margin-top: 28px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.g-card {
  display: grid; justify-items: center; align-content: center; gap: 4px; text-align: center; padding: 26px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text);
}
.g-label { font-size: .875rem; font-weight: 700; color: var(--text-2); }
.g-score { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.g-card .stars { font-size: 1.625rem; }
.g-count { font-size: 1rem; color: var(--text-2); }
.g-topics { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.g-topics span { padding: 5px 10px; border-radius: 999px; background: var(--bg-2); font-size: .8125rem; font-weight: 600; }
.g-link { margin-top: 12px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 18px 52px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.checks h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; }
.checks p { margin-top: 4px; color: var(--text-2); font-size: .9375rem; }
@media (max-width: 899px) { .proof { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .checks { grid-template-columns: 1fr; gap: 10px; } .checks li { padding: 14px 16px 14px 50px; } .checks li::before { top: 15px; } }

/* reseñas: grilla en desktop, carrusel deslizable en mobile */
.reviews { list-style: none; margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reviews li { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.reviews li.destacada { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.reviews blockquote { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--text); }
.reviews .who { font-size: .875rem; color: var(--text-2); }
.reviews .who strong { color: var(--text); }
.reviews-more { margin-top: 14px; font-weight: 700; }
.reviews-more a { color: var(--ink); display: inline-block; padding: 13px 0; margin-block: -13px; }
@media (max-width: 899px) {
  .reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews li { scroll-snap-align: start; }
}

/* ---- pasos ---- */
.steps { list-style: none; margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: paso; }
.steps li { counter-increment: paso; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: start; }
.steps li::before { content: counter(paso); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 1.125rem; font-weight: 800; line-height: 1.25; padding-top: 8px; }
.steps p { color: var(--text-2); font-size: .9375rem; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; gap: 18px; } }

/* ---- preguntas ---- */
.faq { margin-top: 24px; border-top: 1px solid var(--line); max-width: 820px; }
.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: 16px; padding: 18px 0; font-size: 1.0625rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--ink); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--text-2); max-width: 68ch; }
.faq a { color: var(--ink); font-weight: 600; }

/* ---- guías: los renglones de "lo que encuentra", con el título como enlace ---- */
.guias a { color: var(--ink); text-underline-offset: 3px; }

/* ---- agencias ---- */
.agency { background: var(--ink); color: #fff; }
.agency .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; padding-block: 36px; }
.agency h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
.agency p { margin-top: 6px; color: var(--ink-soft); }
@media (max-width: 699px) { .agency .btn { width: 100%; } }

/* ---- cierre ---- */
.closing { text-align: center; }
.closing h2 { margin-inline: auto; }
.closing .lead { margin-inline: auto; }
.closing .sec-cta { justify-content: center; flex-direction: column; }
.closing .price-ref { font-weight: 800; color: var(--text); }

/* ---- pie ---- */
.foot { background: #0a1a5c; color: var(--ink-soft); font-size: .8125rem; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto auto; gap: 14px 24px; padding-block: 22px; align-items: center; }
.foot strong { color: #fff; }
.foot a { color: #fff; display: inline-block; padding: 12px 0; margin-block: -10px; }
/* Redes, debajo de WhatsApp y teléfono: TikTok e Instagram de Mostajo Verificaciones, Instagram de Mostajo Mecánica. */
.foot .redes { display: flex; align-items: center; margin: 8px 0 0 -10px; }
.foot .redes a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 10px; margin-block: -10px; }
.foot .redes svg { width: 20px; height: 20px; flex: none; }
.foot .redes > span { padding-inline: 2px; }
@media (max-width: 1023px) { .foot .wrap { grid-template-columns: 1fr; gap: 8px; } }

/* ---- barra fija mobile ---- */
.ticket-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 28px -14px rgba(20, 26, 51, .35);
  grid-template-columns: auto 1fr; align-items: center; gap: 14px;
  transform: translateY(110%); transition: transform .2s ease;
}
.ticket-bar.show { transform: none; }
.ticket-bar .lbl { display: block; font-size: .75rem; color: var(--text-2); font-weight: 600; }
.ticket-bar strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; display: block; line-height: 1.1; white-space: nowrap; }
.ticket-bar strong.stamped { animation: price-settle .22s cubic-bezier(.22, 1, .36, 1); }
.ticket-bar .btn { min-height: 50px; padding: 0 14px; font-size: 1rem; }
@media (max-width: 899px) { .ticket-bar { display: grid; } body.has-ticket .foot { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* =====================================================================
   SOLICITUD (agendar.html)
   ===================================================================== */
.form-page { max-width: 720px; margin-inline: auto; padding-block: 20px 56px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; margin-block: -4px; font-size: .875rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.back-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.form-page h1 { margin-top: 10px; font-size: clamp(1.75rem, 4.4vw, 2.375rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; font-stretch: 94%; }
.form-page .lead { margin-top: 10px; color: var(--text-2); font-size: 1.0625rem; }
.form-alt { margin-top: 4px; font-size: .9375rem; color: var(--text-2); }

.quote-box[hidden] { display: none; }
.quote-box {
  margin-top: 20px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 16px;
  padding: 14px 16px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line);
}
.quote-box .lbl { display: block; font-size: .8125rem; font-weight: 700; color: var(--text-2); }
.quote-box .detail { font-size: .875rem; color: var(--text-2); }
.quote-box .stamp { font-size: 1.75rem; margin: 0; }
.quote-box a { font-size: .875rem; font-weight: 600; color: var(--ink); padding: 10px 4px; }
@media (max-width: 599px) { .quote-box { grid-template-columns: 1fr auto; } .quote-box .stamp { grid-column: 1 / -1; grid-row: 2; } }

.cash-note { margin-top: 10px; font-size: .9375rem; color: var(--text-2); }
.cash-note strong { color: var(--ink); }

.f-block { margin-top: 28px; }
.f-block > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.f-block > h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .9375rem; display: grid; place-items: center; flex: none; }
.f-block > .hint-block { font-size: .875rem; color: var(--text-2); margin-bottom: 4px; }
.form-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 599px) { .form-rows { grid-template-columns: 1fr; } }
.field { padding-top: 14px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field label, .field .lbl { display: block; font-size: .9375rem; font-weight: 700; margin-bottom: 6px; }
.field .req { color: var(--cta); }
.field .opt { font-weight: 400; color: var(--text-2); }
.field input, .field select, .field textarea, .row-sub select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
  background: #fff; font: inherit; font-size: 1.0625rem; color: var(--text); font-weight: 500;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); font-weight: 400; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus, .row-sub select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 47, 181, .15); }
.select-wrap { position: relative; }
.field select, .row-sub select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; }
.field select:invalid, .row-sub select:invalid { color: var(--text-3); font-weight: 400; }
.field select option, .row-sub select option { color: var(--text); }
.select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.field .hint { font-size: .8125rem; color: var(--text-2); margin-top: 6px; }
.field .hint button { padding: 10px 0; margin: -10px 0; border: 0; background: none; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.field.invalid input, .field.invalid select { border-color: var(--cta); }
.field .err { display: none; font-size: .875rem; color: var(--cta); margin-top: 6px; font-weight: 700; }
.field.invalid .err { display: block; }

.buscador { position: relative; }
#auto-opciones { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; margin: 0; padding: 0; list-style: none; background: #fff; border: 2px solid var(--ink); border-radius: 10px; max-height: 304px; overflow-y: auto; box-shadow: 0 16px 32px -16px rgba(20,26,51,.4); }
#auto-opciones[hidden] { display: none; }
#auto-opciones li { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 700; cursor: pointer; }
#auto-opciones li:last-child { border-bottom: 0; }
#auto-opciones li .marca { font-weight: 400; color: var(--text-2); }
#auto-opciones li[aria-selected="true"], #auto-opciones li:hover { background: var(--bg-2); }
#auto-opciones li.otro { color: var(--ink); }
#auto-opciones li.espera { font-weight: 400; color: var(--text-2); cursor: default; }

.f-block .rows { margin-top: 14px; display: grid; gap: 10px; }
.f-block .rows.opts, .mas .rows.opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f-block .rows legend { font-size: .9375rem; font-weight: 700; margin-bottom: 6px; }
/* completa en taller: en lugar de los campos de dirección, dónde se lleva el auto */
.taller { margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); font-size: .9375rem; color: var(--text-2); }
.taller strong { color: var(--text); }
.mas { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; }
.mas summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--ink); }
.mas[open] { padding-bottom: 16px; }
.mas .rows { margin-top: 0; display: grid; gap: 10px; }
.mas .rows legend { font-size: .9375rem; font-weight: 700; margin-bottom: 6px; }

.submit-row { margin-top: 30px; display: grid; gap: 10px; }
.submit-row .btn { width: 100%; min-height: 60px; font-size: 1.125rem; }
.submit-note { text-align: center; font-size: .875rem; color: var(--text-2); }
.fine-print { text-align: center; font-size: .75rem; line-height: 1.4; color: var(--text-2); }
.fine-print[hidden] { display: none; }
.sent { padding: 14px 16px; border-radius: var(--r); background: #e9f7ef; color: var(--ok); font-weight: 600; }
.sent[hidden] { display: none; }
.sent a { color: var(--ok); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp.stamped, .ticket-bar strong.stamped { animation: none; }
  .btn, .row, .ticket-bar { transition: none; }
}

/* Packs para agencias: dos botones con "Consultar precio" debajo y el pedido suelto como link */
.ag-packs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.ag-packs .btn { flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.15; }
.ag-precio { font-size: .8125rem; font-weight: 600; color: var(--text-2); }
.ag-una { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: .9375rem; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 699px) { .ag-packs { width: 100%; } .ag-packs .btn { flex: 1 1 0; padding-inline: 16px; white-space: nowrap; } }

/* Pack 3 autos: un renglón por auto con dónde está y cuánto vale */
.pack-hint { font-size: .875rem; color: var(--text-2); margin: -4px 0 12px; }
.pack-autos { display: grid; gap: 12px; }
.pack-auto { display: grid; grid-template-columns: 76px 1fr 1fr; gap: 8px; align-items: center; }
.pack-n { font-weight: 700; font-size: .9375rem; line-height: 1.2; }
.pack-n small { display: block; font-weight: 500; font-size: .75rem; color: var(--text-2); }
.pack-auto select {
  width: 100%; min-height: 52px; padding: 12px 36px 12px 12px; border: 2px solid var(--line); border-radius: 10px;
  background: #fff; font: inherit; font-size: 1rem; color: var(--text); font-weight: 500; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.pack-auto select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 47, 181, .15); }
@media (max-width: 599px) {
  .pack-auto { grid-template-columns: 1fr 1fr; }
  .pack-n { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; }
  .pack-n small { display: inline; }
  .pack-auto select { padding: 12px 24px 12px 8px; font-size: .875rem; }
  .pack-auto .select-wrap svg { right: 6px; width: 14px; height: 14px; }
}
.pack-otros { margin-top: 22px; }
.pack-otros legend { font-size: .9375rem; font-weight: 700; margin-bottom: 6px; }
