/* ==========================================================================
   DC Inyección · Landings de cerrajería automotor (Google Ads)
   Hoja compartida por: /cerrajeria-automotor, /llaves-codificadas,
   /perdida-total-llaves, /apertura-autos, /programacion-llaves,
   /servicio-domicilio y /urgencias-24-horas.
   Sin frameworks ni fuentes externas: tipografía del sistema para que el
   texto pinte de inmediato en móviles.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b0d11;
  --graphite: #12161d;
  --steel: #1b212b;
  --paper: #fff;
  --mist: #f3f5f8;
  --line: #e2e7ee;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #141821;
  --muted: #556070;
  --on-dark: #f5f7fa;
  --on-dark-muted: #b4bdca;

  /* Acento de marca (rojo del logo). Cada landing puede redefinirlo. */
  --accent: #d81f26;
  --accent-ink: #fff;          /* texto sobre el acento */
  --accent-text: #b8161c;      /* acento usado como texto sobre fondo claro */
  --accent-on-dark: #ff6b70;   /* acento usado como texto sobre fondo oscuro */
  --accent-soft: rgba(216, 31, 38, .09);
  --accent-glow: rgba(216, 31, 38, .30);

  --wa: #25d366;
  --wa-ink: #04210f;
  --hazard: #ffc21a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 18px 40px -18px rgba(16, 24, 40, .28);
  --shadow-dark: 0 30px 60px -25px rgba(0, 0, 0, .7);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
}

/* Variantes de acento por landing */
.t-amber {
  --accent: #ffc21a;
  --accent-ink: #1a1400;
  --accent-text: #8a5a00;
  --accent-on-dark: #ffcf47;
  --accent-soft: rgba(255, 194, 26, .2);
  --accent-glow: rgba(255, 194, 26, .2);
}
.t-blue {
  --accent: #1f6feb;
  --accent-ink: #fff;
  --accent-text: #1a5fd0;
  --accent-on-dark: #77b4ff;
  --accent-soft: rgba(31, 111, 235, .1);
  --accent-glow: rgba(31, 111, 235, .34);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
b, strong { font-weight: 700; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.hero--dark :focus-visible, .sec--dark :focus-visible, .site-header :focus-visible,
.site-footer :focus-visible, .sticky-cta :focus-visible, .cta-final :focus-visible { outline-color: #fff; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--text); font-weight: 700;
}
.skip:focus { top: 12px; }

/* Íconos (sprite SVG inline) */
.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 8px 22px;
  border: 2px solid transparent; border-radius: 12px;
  font: inherit; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 60px; padding-inline: 26px; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding-inline: 16px; font-size: .9375rem; border-radius: var(--radius-sm); }
.btn--block { width: 100%; }

.btn--wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 22px -12px rgba(37, 211, 102, .9); }
.btn--call { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 22px -12px var(--accent); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); color: #fff; }
.btn--outline { border-color: #cbd3de; background: #fff; color: var(--text); }
.btn--wa-line { border-color: rgba(37, 211, 102, .55); background: rgba(37, 211, 102, .08); color: #fff; }
.btn--wa-line .i { color: var(--wa); }

/* Botón con dos líneas: etiqueta + número */
.btn__stack { display: grid; text-align: left; line-height: 1.15; }
.btn__stack small { font-size: .75rem; font-weight: 600; opacity: .85; letter-spacing: .02em; }
.btn__stack b { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--wa:hover { background: #1fc15b; }
  .btn--call:hover { filter: brightness(.93); }
  .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
  .btn--outline:hover { border-color: var(--text); }
  .btn--wa-line:hover { border-color: var(--wa); background: rgba(37, 211, 102, .14); }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .cta-row .btn { flex: 0 1 auto; } }

/* ---------- Barra superior y header ---------- */
.topbar { background: #06070a; color: var(--on-dark-muted); font-size: .8125rem; }
.topbar .wrap { display: flex; justify-content: center; gap: 6px 24px; padding-block: 7px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .i { width: 14px; height: 14px; color: var(--accent-on-dark); }
.topbar__addr { display: none !important; }
@media (min-width: 720px) {
  .topbar .wrap { justify-content: space-between; }
  .topbar__addr { display: inline-flex !important; }
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 13, 17, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; border-radius: 6px; }
.logo img { width: auto; height: 40px; }
.nav { display: none; }
.site-header__cta { display: flex; align-items: center; gap: 8px; }
.tel-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 44px; min-height: 44px; border-radius: var(--radius-sm);
  color: #fff; text-decoration: none;
  border: 1px solid var(--line-dark);
}
.tel-link .i { color: var(--accent-on-dark); }
.tel-link span { display: none; }
@media (max-width: 359px) { .tel-link { display: none; } }
@media (min-width: 760px) {
  :root { --header-h: 76px; }
  .logo img { height: 50px; }
  .tel-link { border: 0; padding-inline: 6px; }
  .tel-link span { display: grid; line-height: 1.15; }
  .tel-link small { font-size: .6875rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .08em; }
  .tel-link b { font-size: 1.0625rem; white-space: nowrap; }
}
@media (min-width: 1024px) {
  .nav { display: flex; gap: 12px; margin-inline: auto 12px; }
  .nav a { color: var(--on-dark-muted); font-size: .9375rem; font-weight: 600; text-decoration: none; padding: 12px 8px; }
  .nav a:hover { color: #fff; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 36px 0 64px; overflow: hidden; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.125rem, 1.35rem + 3.7vw, 3.75rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -.03em;
}
.hero__lead { max-width: 36em; font-size: 1.0625rem; }
.hero .cta-row { margin-top: 24px; }
.hero__note { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; font-size: .875rem; }
.hero__note .i { margin-top: .15em; width: 16px; height: 16px; }

.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.kicker::before, .eyebrow::before {
  content: ""; width: 22px; height: 4px; border-radius: 1px; background: var(--accent);
  transform: skewX(-24deg); flex: none;
}

.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: .9375rem; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }

/* Hero oscuro (variante por defecto de marca) */
.hero--dark {
  color: var(--on-dark);
  background:
    radial-gradient(760px 420px at 88% -8%, var(--accent-glow), transparent 62%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .022) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, #0b0d11 0%, #141922 100%);
}
.hero--dark .hero__lead, .hero--dark .hero__note { color: var(--on-dark-muted); }
.hero--dark .kicker, .hero--dark .ticks .i, .hero--dark .hero__note .i { color: var(--accent-on-dark); }

/* Hero claro */
.hero--light {
  background:
    radial-gradient(620px 380px at 92% 0%, var(--accent-soft), transparent 65%),
    repeating-linear-gradient(115deg, rgba(20, 24, 33, .028) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}
.hero--light .hero__lead, .hero--light .hero__note { color: var(--muted); }
.hero--light .kicker, .hero--light .ticks .i, .hero--light .hero__note .i { color: var(--accent-text); }

/* Franja tipo balizamiento (igual a las columnas del frente del taller) */
.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 12px, #14171d 12px 24px);
}

@media (min-width: 960px) {
  .hero { padding: 72px 0 104px; }
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
  .hero__lead { font-size: 1.1875rem; }
}

/* Foto del hero */
.photo-card { position: relative; }
.photo-card::before {
  content: ""; position: absolute; inset: 14% -10px -12px 16%; z-index: -1;
  background: var(--accent); border-radius: var(--radius-lg); transform: skewX(-6deg); opacity: .9;
}
.photo-card img {
  width: 100%; border-radius: 20px; object-fit: cover;
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-dark);
}
.photo-card figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 10px;
  width: fit-content; max-width: calc(100% - 24px);
  padding: 10px 14px; border-radius: 12px;
  background: rgba(11, 13, 17, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: .875rem; line-height: 1.3;
}
.photo-card figcaption .i { color: var(--accent-on-dark); }
.photo-card figcaption b { display: block; }

/* Panel de precio / presupuesto */
.pricebox {
  padding: 24px; border-radius: 20px;
  background: linear-gradient(180deg, #1d232e, #141922);
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-dark);
  color: var(--on-dark);
}
.pricebox__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.pricebox__price { margin-top: 6px; font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.pricebox__price small { font-size: .4em; font-weight: 700; letter-spacing: 0; color: var(--accent-on-dark); text-transform: uppercase; margin-right: 4px; }
.pricebox__note { margin-top: 6px; font-size: .9375rem; color: var(--on-dark-muted); }
.pricebox hr { margin: 18px 0; border: 0; border-top: 1px solid var(--line-dark); }
.pricebox__title { font-size: .9375rem; font-weight: 700; }
.pricebox ul { display: grid; gap: 10px; margin: 12px 0 18px; font-size: .9375rem; }
.pricebox li { display: flex; gap: 10px; align-items: flex-start; }
.pricebox li .i { margin-top: .15em; color: var(--accent-on-dark); }
.hero--light .pricebox { background: #fff; border-color: var(--line); box-shadow: var(--shadow); color: var(--text); }
.hero--light .pricebox__label, .hero--light .pricebox__note { color: var(--muted); }
.hero--light .pricebox__price small, .hero--light .pricebox li .i { color: var(--accent-text); }
.hero--light .pricebox hr { border-color: var(--line); }
.pricebox__big { margin-top: 10px; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.pricebox > ul:last-child, .pricebox > .cta-row:last-child { margin-bottom: 0; }
@media (min-width: 960px) { .pricebox { padding: 30px; } }

.hero__aside { display: grid; gap: 20px; }

/* Precio de referencia en línea (hero) */
.pricepill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  padding: 10px 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .9375rem; line-height: 1.35;
}
.pricepill .i { color: var(--accent-text); }
.pricepill + .cta-row { margin-top: 20px; }

/* ---------- Franja de confianza ---------- */
.trust { position: relative; z-index: 2; margin-top: -36px; }
.trust__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  overflow: hidden;
}
.trust__list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 14px; border-top: 1px solid var(--line); }
.trust__list li:nth-child(-n+2) { border-top: 0; }
.trust__list li:nth-child(even) { border-left: 1px solid var(--line); }
.trust__list .i { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-text); }
.trust__list b { display: block; font-size: .9375rem; line-height: 1.25; }
.trust__list span { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.35; color: var(--muted); }
@media (min-width: 860px) {
  .trust { margin-top: -44px; }
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust__list li { padding: 22px 20px; border-top: 0; }
  .trust__list li + li { border-left: 1px solid var(--line); }
}

/* ---------- Secciones ---------- */
.sec { padding: 56px 0; }
.sec--tint { background: var(--mist); }
.sec--dark {
  color: var(--on-dark);
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, #10141a, #0b0d11);
}
.sec__head { max-width: 740px; margin-bottom: 32px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.eyebrow { color: var(--accent-text); }
.sec--dark .eyebrow, .cta-final .eyebrow { color: var(--accent-on-dark); }
.sec h2, .cta-final h2 {
  margin-top: 10px;
  font-size: clamp(1.625rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -.025em;
}
.lead { margin-top: 12px; font-size: 1.0625rem; color: var(--muted); }
.sec--dark .lead { color: var(--on-dark-muted); }
.sec__foot { margin-top: 32px; }
.sec__head--center + * + .sec__foot, .sec__foot--center { display: flex; justify-content: center; }
@media (min-width: 960px) {
  .sec { padding: 88px 0; }
  .sec__head { margin-bottom: 44px; }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--text); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-text);
}
.card__icon .i { width: 22px; height: 22px; }
.card h3 { margin-top: 16px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.card p { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.card__tag {
  position: absolute; top: 20px; right: 20px;
  padding: 4px 10px; border-radius: 999px; background: var(--mist);
  font-size: .75rem; font-weight: 700; color: var(--text); white-space: nowrap;
}
.card__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px;
  font-size: .9375rem; font-weight: 700; color: var(--accent-text);
}
.card__more .i { width: 16px; height: 16px; transition: transform .18s ease; }
.card__more--wa { color: #0b7a39; }
@media (hover: hover) {
  a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd6e0; }
  a.card:hover .card__more .i { transform: translateX(4px); }
}
@media (min-width: 960px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* En móvil las cards pasan a formato fila (ícono a la izquierda) para acortar el scroll */
@media (max-width: 559px) {
  .card { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-content: start; padding: 18px; }
  .card__icon { grid-row: 1 / span 4; }
  .card > :not(.card__icon) { grid-column: 2; }
  .card h3 { margin-top: 0; }
  .card__tag { position: static; justify-self: start; margin-bottom: 8px; }
  .card__more { padding-top: 10px; }
}
.sec--dark .card { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); box-shadow: none; color: var(--on-dark); }
.sec--dark .card p { color: var(--on-dark-muted); }
.sec--dark .card__icon { background: rgba(255, 255, 255, .07); color: var(--accent-on-dark); }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 0; counter-reset: paso; }
.steps li { position: relative; padding: 0 0 28px 60px; counter-increment: paso; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(paso); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 1.0625rem;
  box-shadow: inset 0 -3px 0 var(--accent);
}
.steps li::after {
  content: ""; position: absolute; left: 20px; top: 48px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(to bottom, #c6ceda 0 6px, transparent 6px 12px);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; padding-top: 8px; }
.steps p { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.sec--dark .steps li::before { background: #fff; color: var(--ink); }
.sec--dark .steps li::after { background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .3) 0 6px, transparent 6px 12px); }
.sec--dark .steps p { color: var(--on-dark-muted); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 28px; }
  .steps li { padding: 60px 0 0; }
  .steps li::after {
    left: 54px; right: -16px; top: 20px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, #c6ceda 0 6px, transparent 6px 12px);
  }
  .sec--dark .steps li::after { background: repeating-linear-gradient(to right, rgba(255, 255, 255, .3) 0 6px, transparent 6px 12px); }
  .steps h3 { padding-top: 0; }
}

/* ---------- Bloque texto + imagen ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split__media img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.sec--dark .split__media img { border: 1px solid var(--line-dark); box-shadow: var(--shadow-dark); }
.split__media figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.sec--dark .split__media figcaption { color: var(--on-dark-muted); }
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .split--media-first .split__media { order: -1; }
}

/* Listas con check */
.checklist { display: grid; gap: 14px; margin-top: 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .i {
  width: 24px; height: 24px; padding: 5px; margin-top: 1px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-text); stroke-width: 3;
}
.checklist b { display: block; line-height: 1.35; }
.checklist span { display: block; font-size: .9375rem; color: var(--muted); }
.sec--dark .checklist .i { background: rgba(255, 255, 255, .08); color: var(--accent-on-dark); }
.sec--dark .checklist span { color: var(--on-dark-muted); }
.checklist--x .i { background: #eceff3; color: #5b6573; }
@media (min-width: 640px) { .checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; } }

/* ---------- Comparación (dos columnas) ---------- */
.compare { display: grid; gap: 16px; }
.compare__col { position: relative; padding: 26px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.compare__col--good { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.compare__col--bad { background: #f8f9fb; }
.compare__tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: #e9edf2; color: #3c4553;
}
.compare__col--good .compare__tag { background: var(--accent); color: var(--accent-ink); }
.compare h3 { margin-top: 14px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.compare__price { margin-top: 6px; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.compare__price small { font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.compare .checklist { margin-top: 18px; }
@media (min-width: 760px) {
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .compare__col { padding: 32px; }
}

/* ---------- Cadena de diagnóstico (programación) ---------- */
.chain { display: grid; gap: 10px; counter-reset: nodo; }
.chain li {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark);
}
.chain li .i { width: 22px; height: 22px; color: var(--accent-on-dark); }
.chain b { display: block; line-height: 1.3; }
.chain span { display: block; font-size: .875rem; color: var(--on-dark-muted); line-height: 1.4; }
@media (min-width: 960px) {
  .chain { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
  .chain li { flex-direction: column; align-items: flex-start; padding: 18px; }
  .chain li + li::before {
    content: ""; position: absolute; left: -17px; top: 50%; width: 10px; height: 10px;
    border-top: 2px solid var(--accent-on-dark); border-right: 2px solid var(--accent-on-dark);
    transform: translateY(-50%) rotate(45deg);
  }
}

/* ---------- Marcas ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands li {
  padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .9375rem; font-weight: 600;
}
.sec__head--center + .brands { justify-content: center; }
.brands-note { margin-top: 20px; font-size: .9375rem; color: var(--muted); }
.sec__head--center ~ .brands-note { text-align: center; }

/* ---------- Zona de atención ---------- */
.zone { display: grid; gap: 28px; align-items: center; }
.zone__photo img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.infolist { display: grid; gap: 16px; margin-top: 24px; }
.infolist li { display: flex; gap: 14px; align-items: flex-start; }
.infolist .i {
  width: 42px; height: 42px; padding: 10px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); color: var(--accent-text);
}
.infolist b { display: block; line-height: 1.3; }
.infolist span { display: block; font-size: .9375rem; color: var(--muted); }
.zone__near { margin-top: 20px; font-size: .9375rem; color: var(--muted); }
.zone__near b { color: var(--text); }
.zone .cta-row { margin-top: 24px; }
@media (min-width: 960px) { .zone { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } }

/* Gráfico de alcance (servicio a domicilio) */
.reach { position: relative; aspect-ratio: 1; width: 100%; max-width: 300px; margin-inline: auto; }
@media (min-width: 960px) { .reach { max-width: 420px; } }
.reach > svg { width: 100%; height: 100%; }
.reach text { font-family: var(--font); font-weight: 700; }

/* ---------- Ilustración de llave (llaves codificadas) ---------- */
.keyart { position: relative; width: 100%; max-width: 300px; margin-inline: auto; }
@media (min-width: 960px) { .keyart { max-width: 440px; } }
.keyart > svg { width: 100%; height: auto; }
.keyart__badge {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: .8125rem; font-weight: 700; white-space: nowrap;
}
.keyart__badge .i { color: var(--accent-text); }
.keyart__badge--a { top: 6%; right: 0; }
.keyart__badge--b { bottom: 4%; left: 4%; }

/* ---------- Preguntas frecuentes ---------- */
.faq-layout { display: grid; gap: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px; min-height: 60px;
  font-size: 1.0625rem; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; color: var(--accent-text); transition: transform .2s ease; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 2px 20px; max-width: 64ch; color: var(--muted); }
.faq details a { color: var(--accent-text); font-weight: 600; }
.faq-layout .cta-row { margin-top: 24px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq-layout .sec__head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
}

/* ---------- CTA final ---------- */
.cta-final { padding: 0 0 56px; }
.sec--tint + .cta-final { background: var(--mist); }
.cta-final__panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 36px 22px; border-radius: var(--radius-lg);
  color: var(--on-dark);
  background:
    radial-gradient(520px 300px at 100% 0%, var(--accent-glow), transparent 65%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 26px),
    linear-gradient(135deg, #171c25, #0b0d11);
}
.cta-final__panel > p { margin-top: 12px; max-width: 46em; color: var(--on-dark-muted); font-size: 1.0625rem; }
.cta-final .cta-row { margin-top: 26px; }
.cta-final__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .875rem; color: var(--on-dark-muted); }
.cta-final__meta li { display: inline-flex; align-items: center; gap: 8px; }
.cta-final__meta .i { width: 16px; height: 16px; color: var(--accent-on-dark); }
@media (min-width: 960px) {
  .cta-final { padding-bottom: 88px; }
  .cta-final__panel { padding: 56px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #06070a; color: var(--on-dark-muted); font-size: .9375rem; padding: 48px 0 104px; }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer .logo img { height: 46px; }
.site-footer h2 { margin-bottom: 12px; font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #fff; }
.site-footer a { display: inline-block; padding-block: 10px; text-decoration: none; }
.site-footer .logo { padding-block: 0; }
.site-footer__hours li + li { margin-top: 8px; }
.site-footer__bottom a { padding-block: 12px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__about p { margin-top: 14px; max-width: 30em; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .i { width: 16px; height: 16px; margin-top: calc(10px + .3em); color: var(--accent-on-dark); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between;
  align-items: center; margin-top: 36px; padding-top: 12px; border-top: 1px solid var(--line-dark); font-size: .8125rem;
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .site-footer { padding-bottom: 32px; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.3fr 1.1fr .9fr 1fr; gap: 48px; } }

/* ---------- Barra fija de contacto (solo móvil) ---------- */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 13, 17, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
}
.sticky-cta .btn { min-height: 50px; padding-inline: 10px; box-shadow: none; }
@media (min-width: 760px) { .sticky-cta { display: none; } }

/* ---------- Preferencias del usuario ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .sticky-cta, .topbar { display: none; }
}
