/* ==========================================================================
   Autochasis RRC — Chapa y pintura · Ávila
   Sistema de diseño. Identidad tomada del rótulo: carbón, rojo, cromado, azul RRC.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* superficie */
  --bg:        #0b0b0d;
  --bg-2:      #121216;
  --surface:   #17171c;
  --surface-2: #1e1e25;
  --line:      #2a2a33;
  --line-soft: #202027;

  /* tinta */
  --ink:       #f4f5f7;
  --ink-2:     #c6c9cf;
  --muted:     #8b909a;

  /* marca */
  --red:       #e01e26;
  --red-deep:  #a8141a;
  --red-text:  #f2474d; /* rojo para TEXTO pequeno sobre fondo oscuro: contraste AA >= 4,6 */
  --blue:      #1a6bd8;
  --chrome-1:  #ffffff;
  --chrome-2:  #b9bec7;
  --chrome-3:  #6f757f;

  /* medidas */
  --wrap:      1200px;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --r-sm:      10px;
  --r:         20px;
  --r-lg:      32px;
  --r-xl:      44px;
  --r-pill:    999px;

  /* ritmo vertical */
  --section:   clamp(4rem, 9vw, 7.5rem);

  --shadow:    0 18px 50px -22px rgba(0, 0, 0, .9);
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4, .display {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Inter', 'Inter Fallback', system-ui, sans-serif;
  font-weight: 700;
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); }
h2, .h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3, .h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

p { text-wrap: pretty; }

.kicker {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red-text);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
  flex: 0 0 auto;
}
.kicker--center { justify-content: center; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-2);
  max-width: 62ch;
}

.chrome {
  background: linear-gradient(180deg, var(--chrome-1) 0%, var(--chrome-2) 48%, var(--chrome-3) 52%, var(--chrome-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rojo { color: var(--red); }

/* El h1 de la portada lleva delante la frase con la que busca la gente
   ("taller de chapa y pintura en Ávila"), visible y dentro del propio h1: el
   titular de marca solo no contenía ninguna palabra por la que nadie busca. */
.h1__sobre {
  display: block;
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
/* ---------- Layout ---------- */
.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--alt { background: var(--bg-2); }

.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .kicker { justify-content: center; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-ink: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-ink);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--red-deep); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--chrome-3); }

.btn--wa { --btn-bg: #178244; }
.btn--wa:hover { background: #178043; }

.btn--lg { padding: 1.15rem 2rem; font-size: 1rem; }

.btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* ---------- Cabecera ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 11, 13, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 74px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { height: 36px; width: auto; }

.nav { margin-left: auto; min-width: 0; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__list a {
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
  white-space: nowrap;
}
.nav__list a:hover { color: var(--ink); }
.nav__list a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }

.header__cta { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.header__tel {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--red);
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.header__tel:hover { background: var(--red-deep); transform: translateY(-2px); }
.header__tel svg { width: 1.05rem; height: 1.05rem; color: currentColor; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .55rem;
  cursor: pointer;
  margin-left: auto;
  flex: 0 0 auto;
}
.burger svg { width: 1.4rem; height: 1.4rem; }

@media (max-width: 1180px) {
  .header__tel { padding: .55rem .7rem; }
  .header__tel span { display: none; }
}
@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 1rem var(--gutter) 1.75rem;
    display: none;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: block;
    padding: .9rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }
  .nav__list a[aria-current="page"] { border-bottom-color: var(--red); }
  .header__cta { margin-left: auto; }
  .header__tel span { display: none; }
}

/* ---------- Barra de aviso ---------- */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  font-size: .78rem;
  letter-spacing: .04em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 38px;
  color: var(--muted);
  text-align: center;
}
.topbar strong { color: var(--ink-2); font-weight: 600; }
@media (max-width: 620px) { .topbar { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4.5rem, 11vw, 7.5rem) clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: grayscale(.28) contrast(1.08) brightness(.62);
}
/* El hero de portada admite vídeo igual que la cabecera interior: el póster se
   ve desde el primer momento y el vídeo entra por encima cuando puede. */
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: grayscale(.1) contrast(1.08) brightness(1.06);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.hero__media video.is-playing { opacity: 1; }
.hero {
  border-bottom-left-radius: var(--r-xl);
  border-bottom-right-radius: var(--r-xl);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Oscuro a la izquierda (donde va el texto) y abierto a la derecha, donde el
     vídeo de portada tiene la acción; abajo funde con el fondo de la página. */
  background:
    linear-gradient(180deg, rgba(11,11,13,0) 55%, rgba(11,11,13,.55) 85%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,11,13,.82) 0%, rgba(11,11,13,.55) 40%, rgba(11,11,13,.12) 75%, rgba(11,11,13,.05) 100%);
}
/* En móvil el texto ocupa todo el ancho: capa pareja para que se lea sobre el vídeo. */
@media (max-width: 52rem) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(11,11,13,.55) 0%, rgba(11,11,13,.62) 60%, var(--bg) 100%);
  }
}
.hero__inner { max-width: 46rem; }
.hero h1 { margin-top: 1.1rem; }
.hero .lead { margin-top: 1.5rem; }
.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.hero__meta {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
}
.hero__meta b { color: var(--ink); font-weight: 600; }

/* estrellas de Google */
.stars { display: inline-flex; align-items: center; gap: .35rem; color: #f5b301; }
.stars svg { width: 1rem; height: 1rem; }

/* ---------- Rejillas ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* ---------- Tarjetas de servicio ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.75rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}
.card:hover { border-color: var(--chrome-3); transform: translateY(-3px); background: var(--surface-2); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .95rem; color: var(--muted); }
.card__ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(224, 30, 38, .1);
  border: 1px solid rgba(224, 30, 38, .28);
  color: var(--red);
  margin-bottom: 1.1rem;
}
.card__ic svg { width: 22px; height: 22px; }

a.card { text-decoration: none; display: block; }
a.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card__more {
  margin-top: 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-text);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* ---------- Lista de servicios del rótulo ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
/* OJO: .checklist li es flex. Un <b> suelto como hijo directo del <li> se
   convierte en un item flex y forma una columna estrecha aparte, partiendo el
   titulo en varias lineas. Si el item lleva titulo + texto, envuelvelo todo en
   un <span> y usa .checklist--desc. */
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .97rem;
  color: var(--ink-2);
}
/* Variante con descripcion: columnas mas anchas y titulo destacado */
.checklist--desc {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
  gap: 1.35rem 2.25rem;
}
.checklist--desc li { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.checklist--desc li::before { margin-top: .45rem; }
.checklist--desc b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: .2rem;
}

/* Etiquetas de companias aseguradoras */
.compas {
  list-style: none;
  padding: 0;
  margin: .6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.compas li {
  font-size: .85rem;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .34rem .85rem;
  white-space: nowrap;
}
.compas li:last-child { color: var(--muted); border-style: dashed; }

.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: .55rem;
  border-radius: 2px;
  background: var(--red);
  transform: skewX(-12deg);
}

/* ---------- Bloque partido texto/imagen ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}
.split__media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split--flip .split__media { order: -1; }
@media (max-width: 52rem) { .split--flip .split__media { order: 0; } }

/* ---------- Galería de trabajos ---------- */
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.shot {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .3s var(--ease);
  filter: saturate(.95);
}
.shot:hover img { transform: scale(1.045); filter: saturate(1.1); }
.shot__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem .9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 10, .78) 45%, rgba(8, 8, 10, .95) 100%);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.shot__cap span { display: block; font-weight: 400; color: var(--ink-2); font-size: .78rem; }

/* ---------- Franja de confianza ---------- */
.band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.band__item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
  text-align: center;
}
.band__item:last-child { border-right: 0; }
.band__n {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
  font-weight: 700;
}
.band__l {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .5rem;
}
@media (max-width: 52rem) {
  .band__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .band__item:last-child { border-bottom: 0; }
}

/* ---------- CTA final ---------- */
.cta {
  background:
    linear-gradient(135deg, rgba(224, 30, 38, .16) 0%, transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  text-align: center;
}
.cta__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}

/* ---------- Contacto ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list svg { width: 1.25rem; height: 1.25rem; color: var(--red); flex: 0 0 auto; margin-top: .25rem; }
.info-list dt {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .15rem;
}
.info-list dl { margin: 0; }
.info-list dd { margin: 0; color: var(--ink); font-weight: 600; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--red); }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: .7rem .25rem; border-bottom: 1px solid var(--line-soft); text-align: left; }
.hours th { font-weight: 600; color: var(--ink-2); }
.hours td { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .is-closed td { color: var(--red-text); }

.split > .map { align-self: stretch; }
.map {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--surface);
}
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Formulario ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  color: var(--ink);
  width: 100%;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 30, 38, .18);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field--row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { width: auto; margin-top: .25rem; accent-color: var(--red); }
.consent a { color: var(--ink-2); }

/* ---------- Pie ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .9rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
/* Antes eran <h4> y rompían la jerarquía de encabezados (h2 -> h4). Se pasaron
   a <p> con esta clase: mismo aspecto, sin ensuciar el esquema de la página. */
.footer__h {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Inter', 'Inter Fallback', system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .16em;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer a { text-decoration: none; color: var(--ink-2); }
.footer a:hover { color: var(--red); }
.footer img { height: 34px; width: auto; margin-bottom: 1rem; }
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .82rem;
}
.footer__legal a { text-decoration: underline; text-underline-offset: .2em; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #06231a;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .55);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Cabecera de página interior ---------- */
.pagehead {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(26, 107, 216, .12) 0%, transparent 60%),
    var(--bg-2);
}
.pagehead h1 { margin-top: 1rem; }
.pagehead .lead { margin-top: 1.25rem; }

.crumbs {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink-2); }

/* ---------- Aparición al hacer scroll (nunca deja contenido invisible sin JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 200;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Pendiente de dato real del cliente — visible sólo en la copia de trabajo */
.ph {
  background: rgba(255, 196, 0, .14);
  border-bottom: 1px dashed rgba(255, 196, 0, .6);
  padding: 0 .2em;
}

/* ---------- Mapa: aviso previo antes de cargar Google ---------- */
.map__facade {
  height: 100%;
  min-height: 320px;
  display: grid;
  place-content: center;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 12px, transparent 12px 24px),
    var(--surface);
}
.map__txt { max-width: 34ch; font-size: .9rem; color: var(--muted); }
.map__alt a { color: var(--ink-2); }

/* ---------- Proceso numerado ---------- */
.pasos {
  list-style: none;
  padding: 0;
  margin-inline: 0;
  margin-bottom: 0; /* sin margin-top: lo pone la utilidad .mt-3 del HTML */
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  counter-reset: paso;
}

/* Cuatro pasos: 2x2 en pantalla ancha, en vez de quedar 3+1 descuadrado.
   Va despues de .pasos a proposito: misma especificidad, gana el ultimo. */
@media (min-width: 62rem) {
  .pasos--2x2 { grid-template-columns: repeat(2, 1fr); }
}
.paso {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.75rem 1.75rem 1.6rem;
  overflow: hidden;
}
.paso::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), transparent 85%);
}
.paso__n {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 700;
  color: var(--surface-2);
  -webkit-text-stroke: 1px var(--chrome-3);
  display: block;
  margin-bottom: .9rem;
}
.paso h3 { margin-bottom: .5rem; }
.paso p { font-size: .95rem; color: var(--muted); }

/* ---------- Preguntas frecuentes ---------- */
.faq {
  display: grid;
  gap: .75rem;
  max-width: 52rem;
  margin-inline: auto;
}
.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0 1.4rem;
  transition: border-color .2s var(--ease);
}
.qa[open] { border-color: var(--chrome-3); }
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2rem 1.15rem 0;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  position: absolute;
  right: .25rem;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -6px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa p {
  padding-bottom: 1.3rem;
  color: var(--muted);
  font-size: .96rem;
  max-width: 62ch;
}
.qa a { color: var(--ink-2); }

/* ---------- Filtros de la galería ---------- */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.filtro {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1.15rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.filtro:hover { border-color: var(--chrome-3); color: var(--ink); }
.filtro[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ---------- Avisos del formulario ---------- */
.form__error {
  color: #ffb4b8;
  background: rgba(224, 30, 38, .12);
  border: 1px solid rgba(224, 30, 38, .35);
  border-radius: var(--r-sm);
  padding: .75rem 1rem;
  margin: 0;
}

/* ---------- Fondo de vídeo en cabecera de página ---------- */
.pagehead--media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom-left-radius: var(--r-xl);
  border-bottom-right-radius: var(--r-xl);
}
.pagehead--media .pagehead__inner { position: relative; z-index: 1; }
.media-bg { position: absolute; inset: 0; z-index: -2; }
.media-bg img,
.media-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.18) contrast(1.05) brightness(.92);
}
/* El vídeo aparece por encima del póster cuando ya puede reproducirse, para que
   no se vea un salto ni un hueco negro mientras carga. */
.media-bg video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.media-bg video.is-playing { opacity: 1; }
.pagehead--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(125% 95% at 8% 0%, rgba(11,11,13,.10) 0%, rgba(11,11,13,.66) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,11,13,.88) 0%, rgba(11,11,13,.5) 50%, rgba(11,11,13,.18) 100%);
}

/* ---------- Vídeo dentro de una sección ---------- */
.vid {
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.vid video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  background: var(--surface);
}
.vid--tall video { aspect-ratio: 4 / 5; }
@media (max-width: 52rem) { .vid--tall video { aspect-ratio: 16 / 10; } }

/* ---------- Tarjetas de zona (presupuesto por pieza) ---------- */
.zonas {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.zonac {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}
.zonac:hover {
  border-color: var(--chrome-3);
  transform: translateY(-3px);
  background: var(--surface-2);
}
.zonac__ic {
  width: 72px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: rgba(224, 30, 38, .1);
  border: 1px solid rgba(224, 30, 38, .28);
  color: var(--red);
  margin-bottom: 1.2rem;
}
/* Los iconos llevan viewBox 48x32: si se fuerzan a un cuadrado se aplastan y la
   pieza deja de reconocerse. Se fija el ancho y la altura sale sola. */
.zonac__ic svg { width: 46px; height: auto; }
.zonac h3 { margin-bottom: .6rem; }
.zonac p { font-size: .93rem; color: var(--muted); }
.zonac p + p { margin-top: .8rem; }
.zonac__dep b { color: var(--ink-2); font-weight: 600; }
.zonac__cta {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  align-self: flex-start;
}
.zonac__cta:hover { text-decoration: underline; text-underline-offset: .25em; }

.nota {
  margin-top: 2.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  font-size: .93rem;
  color: var(--muted);
}
.nota b { color: var(--ink-2); }
.lead--narrow { max-width: 46rem; }

/* ---------- Cortinilla de carga: la rueda que cruza la pantalla ----------
   La inserta app.js y sólo en la primera visita de la sesión. Si no hay JS no
   existe, así que nunca puede dejar la web tapada. */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg);
  overflow: hidden;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.loader.is-out { opacity: 0; visibility: hidden; }
.loader__pista {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 46px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.loader__rueda {
  width: 112px;
  height: 112px;
  color: var(--chrome-2);
  animation: rueda-rodar 1.25s var(--ease) both;
}
.loader__marca {
  position: absolute;
  top: calc(50% + 78px);
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  animation: marca-entra .5s var(--ease) .45s both;
}
@keyframes rueda-rodar {
  from { transform: translateX(min(-44vw, -320px)) rotate(0deg); }
  to   { transform: translateX(0) rotate(760deg); }
}
@keyframes marca-entra {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}

/* ---------- Páginas de texto legal ---------- */
.texto { max-width: 46rem; }
.texto h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: 2.75rem 0 1rem;
}
.texto h2:first-child { margin-top: 0; }
.texto p { margin-bottom: 1.05rem; }
.texto ul { margin: 0 0 1.4rem 1.1rem; padding: 0; }
.texto li { margin-bottom: .55rem; }
.texto b { color: var(--ink); font-weight: 600; }
.texto a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.texto a:hover { color: var(--red); }

/* ---------- Cita online ---------- */
.header__cita {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.header__cita:hover { background: var(--surface-2); border-color: var(--chrome-3); transform: translateY(-2px); }
.header__cita[aria-current="page"] { border-color: var(--red); }
.header__cita svg { width: 1.05rem; height: 1.05rem; color: var(--red); }
/* En móvil caben logo, menú, cita y teléfono si se compactan: sin esto el
   teléfono se salía por la derecha. */
@media (max-width: 520px) {
  .header__inner { gap: .55rem; }
  .burger { flex: 0 0 auto; }
  .brand img { height: 26px; }
  .header__cita { padding: .5rem .75rem; font-size: .74rem; }
  .header__cita svg { display: none; }
}
@media (max-width: 380px) {
  .brand img { height: 21px; }
  .header__inner { gap: .45rem; }
}

.reserva {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) 20rem;
  align-items: start;
}
@media (max-width: 62rem) { .reserva { grid-template-columns: minmax(0, 1fr); } }
.reserva__flujo { display: grid; gap: 1.25rem; min-width: 0; }

.rpaso {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(1.25rem, 3.5vw, 2rem);
  margin: 0;
  min-width: 0;
  transition: opacity .25s var(--ease), border-color .25s var(--ease);
}
.rpaso[disabled] { opacity: .42; }
.rpaso[disabled] .opciones, .rpaso[disabled] .agenda, .rpaso[disabled] .form { pointer-events: none; filter: grayscale(.6); }
.rpaso__cab {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 0;
  margin-bottom: 1.35rem;
  float: left;            /* legend dentro del flujo: si no, rompe el padding del fieldset */
  width: 100%;
}
.rpaso > legend ~ * { clear: both; }
.rpaso__n {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
}
.rpaso.is-hecho .rpaso__n { background: var(--surface-2); color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.rpaso__t {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Inter', 'Inter Fallback', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--ink);
  line-height: 1;
}

/* Paso 1: servicios */
.opciones {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr));
}
.opcion {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: .2rem .85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), transform .18s var(--ease);
}
.opcion:hover { border-color: var(--chrome-3); transform: translateY(-2px); }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion__ic {
  grid-row: span 2;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--chrome-2);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.opcion__ic svg { width: 1.35rem; height: 1.35rem; }
.opcion__t { color: var(--ink); font-weight: 700; line-height: 1.3; padding-top: .1rem; }
.opcion__d { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.opcion:has(input:checked) {
  border-color: var(--red);
  background: linear-gradient(135deg, rgba(224, 30, 38, .14), transparent 70%), var(--bg-2);
}
.opcion:has(input:checked) .opcion__ic { background: var(--red); color: #fff; }
.opcion:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }

/* Paso 2: calendario y horas */
.agenda {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 44rem) { .agenda { grid-template-columns: minmax(0, 1fr); } }
.cal { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }
.cal__cab { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.cal__mes {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Inter', 'Inter Fallback', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: .02em;
}
.cal__nav {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.cal__nav svg { width: 1.1rem; height: 1.1rem; }
.cal__nav:hover:not(:disabled) { background: var(--surface-2); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__sem, .cal__dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.cal__sem span { text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); padding-bottom: .35rem; }
.cal__dias { min-height: 15.5rem; align-content: start; transition: opacity .2s var(--ease); }
.cal__dias.is-cargando { opacity: .35; }
.cal__d {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--chrome-3);
  font-variant-numeric: tabular-nums;
}
.cal__d:disabled { cursor: default; }
.cal__d.is-libre { color: var(--ink); background: var(--surface-2); cursor: pointer; }
.cal__d.is-libre::after, .cal__punto {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.cal__d.is-libre::after { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); }
.cal__d.is-libre:hover { border-color: var(--chrome-3); }
.cal__d.is-hoy { box-shadow: inset 0 0 0 1px var(--chrome-3); }
.cal__d.is-sel { background: var(--red); color: #fff; border-color: var(--red); }
.cal__d.is-sel::after { background: #fff; }
.cal__d:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.cal__ley { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; }
.cal__punto { display: inline-block; }

.horas { min-width: 0; }
.horas__dia {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Inter', 'Inter Fallback', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.horas__g + .horas__g { margin-top: 1.25rem; }
.horas__t { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.horas__lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr)); gap: .5rem; }
.hora {
  padding: .75rem .5rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color .16s var(--ease), background-color .16s var(--ease), transform .16s var(--ease);
}
.hora:hover { border-color: var(--chrome-3); transform: translateY(-2px); }
.hora.is-sel { background: var(--red); border-color: var(--red); color: #fff; }
.hora:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.horas__vacio { padding: .25rem 0 .75rem; }
.horas__primero {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  border: 1px dashed var(--chrome-3);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.45;
}
.horas__primero b { color: var(--ink); display: block; }
.horas__primero:hover { border-color: var(--red); border-style: solid; }
.rpaso .form__error { margin-top: 1rem; }

/* Paso 3: datos */
.field__nota { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--chrome-3); margin-left: .35rem; }
.field.is-mal input, .consent.is-mal { border-color: var(--red); }
.consent.is-mal { color: #ffb4b8; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reserva__enviar.is-enviando { opacity: .7; cursor: progress; }

.elegido {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(224, 30, 38, .14), transparent 65%), var(--bg-2);
  border: 1px solid rgba(224, 30, 38, .35);
}
.elegido__cuando { display: flex; align-items: baseline; gap: .75rem; color: var(--ink-2); }
.elegido__hora {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Inter', 'Inter Fallback', sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--ink);
}
.elegido__que { color: var(--ink); font-weight: 600; flex: 1 1 12rem; }
.elegido__cambiar {
  background: none;
  border: 0;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: .85rem;
}
.elegido__cambiar:hover { color: var(--red); }

/* Enviada */
.reserva__ok {
  grid-column: 1;
  grid-row: 1;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(31, 157, 85, .16), transparent 70%),
    var(--surface);
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  outline: none;
}
.reserva__check {
  width: 4.25rem;
  height: 4.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #178244;
  color: #fff;
  animation: check-entra .5s var(--ease) both;
}
.reserva__check svg { width: 2.1rem; height: 2.1rem; }
.reserva__ok .elegido { justify-content: center; margin: .25rem 0; text-align: left; }
@keyframes check-entra { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

/* Lateral */
.reserva__lado { position: sticky; top: 96px; }
@media (max-width: 62rem) { .reserva__lado { position: static; } }
.lado {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 1.6rem;
  display: grid;
  gap: 1.25rem;
}
.lado__pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; counter-reset: lp; }
.lado__pasos li {
  counter-increment: lp;
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: .7rem;
  font-size: .9rem;
  line-height: 1.5;
}
.lado__pasos li::before {
  content: counter(lp);
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: .8rem;
}
.lado__pasos b { color: var(--ink); }
.lado__alt { border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; gap: .5rem; justify-items: start; }
.lado__tel {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Inter', 'Inter Fallback', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.lado__tel:hover { color: var(--red); }
.lado__dir { border-top: 1px solid var(--line); padding-top: 1.1rem; line-height: 1.6; }

/* ---------- Ajustes de la revisión del 29-sep-2026 ---------- */
.cta .lead { margin-inline: auto; }
/* Varios botones seguidos dentro de un párrafo: separados y apilables. */
p:has(> .btn + .btn) { display: flex; flex-wrap: wrap; gap: .85rem; }
.pagehead__inner > p.muted { margin-top: 1rem; max-width: 62ch; }
a[href^="tel:"] { white-space: nowrap; }
/* Cabeceras con vídeo de origen oscuro: capa más ligera para que se vea el movimiento. */
.pagehead--claro::after {
  background:
    radial-gradient(125% 95% at 8% 0%, rgba(11,11,13,.05) 0%, rgba(11,11,13,.5) 60%, rgba(11,11,13,.85) 100%),
    linear-gradient(90deg, rgba(11,11,13,.8) 0%, rgba(11,11,13,.35) 55%, rgba(11,11,13,.08) 100%);
}
@media (max-width: 480px) {
  .cta__actions .btn,
  p:has(> .btn + .btn) .btn { width: 100%; justify-content: center; }
}
