/* ==========================================================================
   Brayan Towing LLC — hoja de estilos
   Fuente del diseño: "Brayan Towing Landing.dc.html" (Claude Design)
   Los valores de color, tamaño y clamp() se conservan tal cual del diseño.
   ========================================================================== */

/* --------------------------------------------------------------- Tokens -- */
:root {
  --accent: #7CFF2D;
  /* El CSS estático del diseño declaraba #4FBF12, pero su runtime ejecutaba
     `root.style.setProperty('--accent-dim', accent)`, así que lo aprobado en
     Claude Design se veía con el verde brillante. Se iguala a --accent para
     mantener la fidelidad; poner #4FBF12 aquí devuelve el verde apagado. */
  --accent-dim: #7CFF2D;
  --accent-hover: #96FF57;
  --on-accent: #08120A;

  --ink: #0A0B0A;
  --ink-alt: #0D0F0D;
  --ink-deep: #080908;
  --surface: #131613;
  --surface-hover: #191D18;
  --line: rgba(255, 255, 255, .11);

  --text: #F4F6F2;
  --text-soft: #DDE2D9;
  --text-softer: #D6DCD2;
  --text-warm: #E6EBE2;
  --muted: #A3AC9F;
  --faint: #7C847A;

  --star: #FFC53D;
  --whatsapp: #25D366;
  --whatsapp-hover: #3BE57C;

  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 20px);
  --section-y: clamp(56px, 9vw, 112px);
  --anchor-offset: 112px; /* lo recalcula app.js con la altura real del header */

  --font-body: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Archivo Black", var(--font-body);
  --font-cond: "Barlow Condensed", var(--font-body);
}

/* ----------------------------------------------------------------- Base -- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { color: #A9FF77; }

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Solo visible al navegar con teclado. El fondo y el color se definen al final
   de la hoja, en el bloque de foco: aquí iban en verde acento y el panel quedaba
   invisible al superponerse al topbar, que también es verde. */
.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 100;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  transition: top .15s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
}

/* Los <p> que actúan como bloques de layout no llevan margen del navegador. */
.topbar__status,
.eyebrow,
.eyebrow-badge,
.trust-chip,
.process__badge,
.step__num,
.rating-card__score,
.contact-card__label,
.footer__name { margin: 0; }

section[id] { scroll-margin-top: var(--anchor-offset); }

@keyframes btPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* -------------------------------------------------------------- Botones -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.btn--accent {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--plain {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 600;
}

.btn--plain:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--hero {
  flex: 1 1 260px;
  padding: 17px 24px;
  font-size: clamp(16px, 1.8vw, 19px);
}

.btn--hero.btn--accent { box-shadow: 0 14px 40px -14px rgba(124, 255, 45, .9); }
.btn--hero.btn--accent:hover { transform: translateY(-1px); }

.btn--lg {
  flex: 1 1 260px;
  padding: 18px 26px;
  font-size: clamp(17px, 2vw, 20px);
}

.btn--lg.btn--accent { box-shadow: 0 14px 40px -14px rgba(124, 255, 45, .9); }

.btn--md {
  flex: 1 1 220px;
  padding: 15px 24px;
  font-size: 16.5px;
  gap: 10px;
}

.btn--sm {
  flex: 1 1 160px;
  padding: 15px 20px;
  font-size: 16.5px;
  gap: 10px;
}

.btn--narrow {
  flex: 1 1 160px;
  padding: 15px 22px;
  font-size: 16.5px;
  gap: 10px;
}

/* Sin `line-height`: el diseño deja que el ☎ de 20px genere su caja de línea
   normal, y eso da 60,4px de alto al botón del hero en vez de 54. Fijarlo a 1
   encogía el botón principal 6,4px respecto al original. */
.btn__icon {
  font-size: 20px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Enlace de texto con subrayado grueso en color de marca */
.link-strong {
  font-weight: 700;
  font-size: 16px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

/* El diseño pone el margen sobre el propio enlace en inline-block; envolverlo
   en un <p> recortaba el borde inferior. */
.link-strong--spaced {
  display: inline-block;
  margin-top: 20px;
}

/* ------------------------------------------------------------- Top bar --- */
.topbar {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: clamp(11.5px, 3.2vw, 13.5px);
  letter-spacing: .02em;
}

.topbar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 20px);
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  align-items: center;
  justify-content: space-between;
}

.topbar__status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding-top: 4px;
  white-space: nowrap;
}

.topbar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--on-accent);
  animation: btPulse 1.8s ease-in-out infinite;
  flex: 0 0 auto;
}

.topbar__call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  margin-bottom: 2px;
}

.topbar__call:hover { color: var(--on-accent); }

/* --------------------------------------------------------------- Header -- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 10, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 9px clamp(12px, 3vw, 20px);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  min-height: 44px;
}

.brand:hover { color: var(--text); }

.brand__logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: .98;
  font-family: var(--font-display);
  font-size: clamp(12px, 3.4vw, 17px);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
}

.brand__accent { color: var(--accent); }

.header__nav {
  order: 2;
  flex: 1 1 auto;
  display: none;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0 clamp(12px, 1.8vw, 26px);
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-soft);
  white-space: nowrap;
  flex: 0 0 auto;
}

.header__nav a:hover { color: var(--accent); }

.header__actions {
  order: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 36px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  transition: border-color .15s ease, color .15s ease;
}

.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header__call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px;
  padding: 0 13px;
  font-weight: 700;
  font-size: clamp(13px, 3.6vw, 14px);
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(124, 255, 45, .4), 0 8px 24px -10px rgba(124, 255, 45, .8);
  transition: background-color .15s ease;
}

.header__call:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.menu-btn {
  display: inline-flex;
  cursor: pointer;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .15s ease;
}

.menu-btn:hover { border-color: var(--accent); }

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Panel móvil */
.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.mobile-panel[data-open="true"] { display: block; }

.mobile-panel__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 4px clamp(12px, 3vw, 20px) 12px;
  display: flex;
  flex-direction: column;
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mobile-panel__inner a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
}

.mobile-panel__inner a:hover { color: var(--accent); }

.mobile-panel__wa {
  justify-content: center;
  min-height: 50px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--on-accent) !important;
  font-size: 16px;
  letter-spacing: .06em;
  border-bottom: 0 !important;
}

.mobile-panel__wa:hover { background: var(--whatsapp-hover); }

@media (min-width: 900px) {
  .header__nav { display: flex; }
  .menu-btn { display: none; }
  .mobile-panel { display: none !important; }
}

/* ----------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 88vh, 880px);
  min-height: clamp(600px, 88svh, 880px);
  display: flex;
  align-items: flex-end;
  padding: clamp(72px, 12vh, 140px) var(--pad) clamp(36px, 6vh, 64px);
}

.bg-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .bg-media img { object-position: 52% 60%; }

/* El diseño original bajaba a alpha .5 en el 34% de la altura, justo donde cruza
   la copia: el párrafo daba 2,65:1 (mínimo AA 4,5:1) sobre el cielo quemado de
   gto.jpg. Pero subir el velo vertical entero apaga la foto, porque medido el
   bloque de texto ocupa del 12% al 100% de la altura: no hay banda libre.
   Móvil: vertical, porque ahí el texto ocupa todo el ancho. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(10, 11, 10, .84) 0%,
    rgba(10, 11, 10, .70) 22%,
    rgba(10, 11, 10, .78) 68%,
    var(--ink) 100%);
}

/* Escritorio: el texto vive en la mitad izquierda y el sujeto de la foto (la
   grúa con el GTO) está a la derecha, así que se oscurece en horizontal y la
   foto se sigue viendo. El segundo degradado solo funde con el header arriba y
   con la sección siguiente abajo. */
@media (min-width: 900px) {
  .hero__scrim {
    background:
      linear-gradient(90deg,
        rgba(10, 11, 10, .90) 0%,
        rgba(10, 11, 10, .84) 46%,
        rgba(10, 11, 10, .30) 72%,
        rgba(10, 11, 10, .12) 100%),
      linear-gradient(180deg,
        rgba(10, 11, 10, .55) 0%,
        rgba(10, 11, 10, 0) 22%,
        rgba(10, 11, 10, 0) 72%,
        var(--ink) 100%);
  }
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(124, 255, 45, .45);
  background: rgba(124, 255, 45, .1);
  border-radius: 999px;
  padding: 7px 15px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 7.2vw, 80px);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 20px 0 0;
  max-width: 16ch;
}

.hero__lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  color: var(--text-softer);
  max-width: 60ch;
  margin: 22px 0 0;
}

.hero .btn-row { margin-top: 32px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-warm);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
}

/* Bloque, no inline: el diseño usaba un <div> y en las reseñas depende de
   `margin-bottom`, que sobre un elemento inline no se aplica. */
.stars {
  display: block;
  color: var(--star);
  letter-spacing: 1px;
}

/* ------------------------------------------------------------- Secciones -- */
.section {
  padding: var(--section-y) var(--pad);
  background: var(--ink);
}

.section--alt {
  background: var(--ink-alt);
  border-top: 1px solid var(--line);
}

.section--bordered { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.03;
  letter-spacing: -.02em;
  margin: 14px 0 0;
}

.section__lead {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 16px 0 0;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section__head-text { max-width: 56ch; }

.section__head--stack {
  max-width: 56ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}

/* -------------------------------------------------------------- Servicios -- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.service {
  background: var(--surface);
  padding: 30px 26px 32px;
  transition: background-color .15s ease;
}

.service:hover { background: var(--surface-hover); }

/* Es un <span> a propósito: como <p> lo capturaba `.service p` más abajo
   (especificidad 0,1,1 contra 0,1,0) y salía a 16px en gris en vez de 13px en
   verde. Además un ordinal decorativo no es un párrafo. */
.service__num {
  display: block;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--accent-dim);
}

.service__title {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
  margin: 12px 0 10px;
}

.service p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.service--feature {
  background: linear-gradient(160deg, rgba(124, 255, 45, .14), rgba(124, 255, 45, .03));
}

.service--feature:hover {
  background: linear-gradient(160deg, rgba(124, 255, 45, .2), rgba(124, 255, 45, .05));
}

.service--feature .service__num,
.service--feature .service__title { color: var(--accent); }

.service--feature p { color: var(--text-softer); }

/* -------------------------------------------------------------- Galería -- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}

.shot {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot--lower img { object-position: center 40%; }

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(10, 11, 10, .92));
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------- Proceso -- */
.process {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.process__media {
  position: relative;
  min-height: 360px;
}

.process__media .bg-media { z-index: 0; }

/* El degradado original oscurecía el lado DERECHO (.25 → .85) pero el bloque de
   texto está anclado a la izquierda, así que vivía en la zona más clara: 1,65:1
   sobre los focos de la gasolinera. Ahora oscurece la franja del texto (0-45%),
   deja respirar la foto hacia el 70% y conserva el .85 del borde derecho, que
   es lo que fundía el panel con la columna de al lado en escritorio. */
.process__media-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(10, 11, 10, .86) 0%,
    rgba(10, 11, 10, .74) 45%,
    rgba(10, 11, 10, .45) 70%,
    rgba(10, 11, 10, .85) 100%);
}

.process__media-text {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 4vw, 44px);
  bottom: clamp(24px, 4vw, 44px);
  max-width: 22ch;
}

/* <span>, no <p>: como párrafo lo capturaba `.process__media-text p` de abajo
   (especificidad 0,1,1 contra 0,1,0) y el "24/7" salía a 16,5px en blanco en vez
   de 42px en verde. Mismo patrón que `.service__num`. */
.process__badge {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
  color: var(--accent);
}

.process__media-text p {
  margin: 12px 0 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--text-warm);
}

.process__body { padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 64px); }

.process__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 14px 0 32px;
}

/* Es un <ol>: "Tres pasos" es una secuencia y un lector de pantalla debe
   anunciarla como lista de 3, no como tres encabezados sueltos. */
.steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.step__num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(124, 255, 45, .12);
  border: 1px solid rgba(124, 255, 45, .4);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
}

.step:last-child .step__num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.step p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--muted);
}

.process .btn-row { margin-top: 36px; }

/* ------------------------------------------------------------- Fundador -- */
.founder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.founder__photo {
  display: block;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* La cara está arriba: se recorta por abajo, no por el centro. */
  object-position: center top;
}

.founder__p {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 16px 0 0;
}

.founder__sign {
  display: flex;
  flex-direction: column;
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.founder__name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
}

.founder__role {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 7px;
}

/* -------------------------------------------------------------- Reseñas -- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.split--center { align-items: center; }

.rating-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  width: fit-content;
}

.rating-card__score {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  color: var(--accent);
}

.rating-card .stars {
  font-size: 18px;
  letter-spacing: 2px;
}

.rating-card__count {
  font-size: 15px;
  color: var(--muted);
  margin: 4px 0 0;
}

.reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review {
  margin: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.review .stars {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.review footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
}

/* -------------------------------------------------------------- Contacto -- */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.area-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  background: var(--surface);
}

.contact-note {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 22px 0 0;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-card__label {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card__phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -.01em;
  margin-top: 8px;
}

.contact-card__hours {
  font-size: 19px;
  font-weight: 700;
  margin: 8px 0 0;
  color: var(--accent);
}

.contact-card__address {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
  color: var(--text);
}

.contact-card__address:hover { color: var(--accent); }

.rule {
  height: 1px;
  background: var(--line);
}

.contact-card .btn-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

/* ------------------------------------------------------------- CTA final -- */
.cta {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 9vw, 120px) var(--pad);
  text-align: center;
  overflow: hidden;
}

.cta__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 11, 10, .9), rgba(10, 11, 10, .78));
}

.cta__inner {
  max-width: 820px;
  margin: 0 auto;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
}

.cta__lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: var(--text-softer);
  margin: 20px auto 0;
  max-width: 52ch;
}

.cta .btn-row {
  justify-content: center;
  margin-top: 32px;
}

/* ------------------------------------------------------ Botón flotante WA -- */
.wa-fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(clamp(16px, 3vw, 24px) + env(safe-area-inset-bottom));
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .8), 0 0 0 1px rgba(255, 255, 255, .14);
  transition: background-color .15s ease, transform .15s ease;
}

.wa-fab:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------- Footer -- */
.footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  padding: 40px var(--pad) calc(32px + env(safe-area-inset-bottom));
}

.footer__top {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 8px;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 16px;
}

.footer__tag {
  font-size: 14.5px;
  color: var(--muted);
  margin: 5px 0 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
  font-weight: 600;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-soft);
  white-space: nowrap;
  flex: 0 0 auto;
}

.footer__links a:hover { color: var(--accent); }

.footer__legal {
  max-width: var(--wrap);
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--faint);
}

/* --------------------------------------------------------------- 404 ----- */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-y) var(--pad);
  gap: 8px;
}

.notfound h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  margin: 0;
}

/* ------------------------------------- Foco sobre superficies de acento -- */
/* El anillo global es verde acento, invisible sobre las zonas pintadas con ese
   mismo verde (contraste 1:1). No se puede resolver con box-shadow en la regla
   global: .header__call y .btn--hero.btn--accent ya declaran box-shadow con la
   misma especificidad y aparecen después, así que lo sobrescribirían. */

.topbar a:focus-visible { outline-color: var(--on-accent); } /* 14,7:1 */

/* El skip link se superponía al topbar verde con su propio fondo verde: dos
   textos encimados y sin anillo legible. Ahora es oscuro con borde de acento. */
.skip-link {
  background: var(--ink);
  color: var(--accent);
  border: 2px solid var(--accent);
  border-top: 0;
}

.skip-link:focus-visible {
  top: 0;
  color: var(--accent);
  outline-color: var(--text);
}

/* Flotante sobre fotos arbitrarias: halo oscuro que garantiza el 3:1
   independientemente del píxel que quede debajo. */
.wa-fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 9px var(--accent);
}
