/* ==========================================================================
   BOB-RENT · Hoja de estilos principal (Industrial sobrio)
   ========================================================================== */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  /* Paleta y tokens WCAG AA */
  --bg-dark: #141414;
  --bg-dark-2: #1D1D1D;
  --bg-dark-3: #252525;
  --border-dark: #2E2E2E;

  --bg-light: #F7F5F2;
  --bg-sand: #ECE8E1;
  --bg-card: #FFFFFF;
  --border-light: #D9D3CA;

  --ink-light: #F7F5F2;
  --ink-light-muted: #C4BEB6;
  --ink-dark: #141414;
  --ink-dark-muted: #4E4842;

  /* #FF4D07 con texto #141414 = 5.54:1; sobre #F7F5F2 en texto normal usar #BD3500 (~5.6:1) */
  --accent: #FF4D07;
  --accent-hover: #FF6224;
  --accent-text-light: #BD3500;

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 68px;
  --radius: 4px;
  --container-w: 1200px;
  --ease-industrial: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset y base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background-color: var(--bg-light);
  color: var(--ink-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.06;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

p {
  margin: 0;
}

ul[role="list"],
ol[role="list"],
.nav-list,
.mobile-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Foco visible de alto contraste */
:where(a, button, summary, input, select, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

section[tabindex="-1"]:focus-visible {
  outline-offset: -3px;
}

.btn-primary:focus-visible,
.mobile-cta-wa:focus-visible {
  outline: 3px solid var(--ink-light);
  outline-offset: 3px;
}

/* Skip link accesible */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link:focus-visible {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--ink-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.container {
  width: min(100% - 32px, var(--container-w));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 56px, var(--container-w));
  }
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 46px;
  padding: 10px 20px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {

  .btn,
  .copy-btn,
  .site-nav a,
  .header-phone,
  .fleet-card,
  .step-card,
  .media-frame,
  .service-item,
  .zone-chip {
    transition:
      background-color 0.18s ease,
      border-color 0.18s ease,
      color 0.18s ease,
      box-shadow 0.24s var(--ease-industrial),
      translate 0.24s var(--ease-industrial);
  }

  .btn:active,
  .copy-btn:active {
    translate: 0 1px;
  }
}

.btn-sm {
  min-block-size: 40px;
  padding: 8px 14px;
  font-size: 0.875rem;
}

.btn-lg {
  min-block-size: 50px;
  padding: 12px 22px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  min-block-size: 50px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--ink-dark);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 8px 20px rgba(255, 77, 7, 0.26);
}

.btn-outline-light {
  background-color: transparent;
  border-color: #544F49;
  color: var(--ink-light);
}

.btn-outline-light:hover {
  background-color: rgba(247, 245, 242, 0.08);
  border-color: var(--ink-light);
}

@media (prefers-reduced-motion: no-preference) {

  .btn-primary:hover,
  .btn-outline-light:hover {
    translate: 0 -1px;
  }
}

/* ==========================================================================
   Encabezado fijo, estado stuck, barra de progreso y scrollspy
   ========================================================================== */
.header-sentinel {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 8px;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  container-type: scroll-state;
  container-name: site-header;
}

.header-bar {
  position: relative;
  background-color: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-dark);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@container site-header scroll-state(stuck: top) {
  .header-bar {
    background-color: rgba(16, 16, 16, 0.98);
    border-bottom-color: #3A3632;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  }
}

.site-header.is-stuck .header-bar {
  background-color: rgba(16, 16, 16, 0.98);
  border-bottom-color: #3A3632;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.scroll-progress {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  block-size: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes grow-progress {
      from {
        transform: scaleX(0);
      }

      to {
        transform: scaleX(1);
      }
    }

    .scroll-progress {
      animation: grow-progress auto linear;
      animation-timeline: scroll(root block);
    }
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-block-size: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-light);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-wordmark {
  display: block;
  height: clamp(13px, 3.4vw, 20px);
  width: auto;
}

.site-nav {
  display: none;
  scroll-target-group: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  position: relative;
  color: var(--ink-light-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding-block: 6px;
}

.nav-list a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
  .nav-list a::after {
    transition: transform 0.24s var(--ease-industrial);
  }
}

.nav-list a:hover {
  color: var(--ink-light);
}

.nav-list a:is(:target-current, .target-current) {
  color: #FFFFFF;
  font-weight: 600;
}

.nav-list a:is(:target-current, .target-current)::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 7px;
  color: var(--ink-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius);
}

.header-phone:hover {
  color: var(--accent);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 42px;
  min-block-size: 42px;
  padding: 6px;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--ink-light);
  cursor: pointer;
}

.nav-toggle-icon .bar {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .nav-toggle-icon .bar {
    transition:
      translate 0.22s var(--ease-industrial),
      rotate 0.22s var(--ease-industrial),
      opacity 0.16s ease,
      scale 0.18s ease;
  }
}

.nav-toggle[aria-expanded="true"] .bar-top {
  translate: 0 6px;
  rotate: 45deg;
}

.nav-toggle[aria-expanded="true"] .bar-mid {
  opacity: 0;
  scale: 0 1;
}

.nav-toggle[aria-expanded="true"] .bar-bot {
  translate: 0 -6px;
  rotate: -45deg;
}

.mobile-drawer {
  display: block;
  opacity: 1;
  translate: 0 0;
  border-top: 1px solid var(--border-dark);
  background: var(--bg-dark-2);
  transition:
    display,
    opacity var(--ease-industrial),
    translate var(--ease-industrial);
  transition-duration: 0.24s;
  transition-behavior: allow-discrete;
}

@starting-style {
  .mobile-drawer {
    opacity: 0;
    translate: 0 -10px;
  }
}

.mobile-drawer:where([hidden], [data-closing]) {
  opacity: 0;
  translate: 0 -10px;
}

.mobile-drawer[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer {
    translate: none;
    transition-duration: 0.1s;
  }

  @starting-style {
    .mobile-drawer {
      translate: none;
    }
  }

  .mobile-drawer:where([hidden], [data-closing]) {
    translate: none;
  }
}

.mobile-nav-list {
  display: grid;
  padding: 8px 16px 14px;
}

.mobile-nav-list a {
  display: block;
  padding: 11px 8px;
  color: var(--ink-light);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-nav-list li:last-child a {
  border-bottom: 0;
}

@media (min-width: 960px) {
  .site-nav {
    display: block;
  }

  .header-phone {
    display: inline-flex;
  }

  .nav-toggle,
  .mobile-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   Portada / Hero (2 columnas en escritorio, orden optimizado en móvil)
   ========================================================================== */
.hero {
  background-color: var(--bg-dark);
  color: var(--ink-light);
  border-bottom: 4px solid var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-panel {
  display: flex;
  align-items: center;
  padding: 32px 16px 28px;
}

.hero-panel-inner {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-text-light);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}

.hero-lead {
  margin-top: 14px;
  color: var(--ink-light-muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  max-width: 48ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-cluster .btn-outline-light {
  flex: 1 1 auto;
}

.hero-facts {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.875rem;
  color: var(--ink-light-muted);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: var(--accent);
  flex-shrink: 0;
}

.hero-media {
  margin: 0;
  position: relative;
  background: #0D0D0D;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
}

@media (min-width: 640px) {
  .hero-panel {
    padding: 44px 28px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .phone-cluster .btn-outline-light {
    flex: 0 1 auto;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(440px, 48%) 52%;
    min-block-size: clamp(540px, 76vh, 690px);
  }

  .hero-panel {
    justify-content: flex-end;
    padding: 56px 44px 56px 36px;
  }

  .hero-panel-inner {
    margin-inline: 0;
    max-width: 540px;
  }

  .hero-media {
    aspect-ratio: auto;
    height: 100%;
    border-left: 1px solid var(--border-dark);
  }

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

/* ==========================================================================
   Botón copiar teléfono (alineado con copy-button)
   ========================================================================== */
.copy-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 44px;
  min-block-size: 50px;
  padding: 8px;
  background: var(--bg-dark-2);
  border: 1.5px solid #44403B;
  border-radius: var(--radius);
  color: var(--ink-light);
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--ink-light);
  background: var(--bg-dark-3);
}

.copy-btn .icon-check {
  display: none;
  color: #5CE08C;
}

.copy-btn[data-copied] .icon-copy {
  display: none;
}

.copy-btn[data-copied] .icon-check {
  display: block;
}

.copy-btn[data-copied] {
  border-color: #5CE08C;
}

.copy-btn[data-failed] {
  border-color: #FF785A;
}

.copy-tip {
  position: absolute;
  inset-block-end: calc(100% + 8px);
  inset-inline-end: 0;
  padding: 5px 10px;
  background: #FFFFFF;
  color: var(--ink-dark);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  opacity: 0;
}

.copy-btn[data-copied]+.copy-tip,
.copy-btn[data-failed]+.copy-tip {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .copy-tip {
    transition: opacity 0.18s ease;
  }
}

/* ==========================================================================
   Secciones generales y tipografía
   ========================================================================== */
.section {
  padding-block: clamp(56px, 7vw, 96px);
}

.section-light {
  background-color: var(--bg-light);
  color: var(--ink-dark);
}

.section-sand {
  background-color: var(--bg-sand);
  color: var(--ink-dark);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--ink-light);
}

.section-head {
  max-width: 68ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head h2,
.coverage-copy h2,
.process-head h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 600;
}

.section-intro {
  margin-top: 12px;
  color: var(--ink-dark-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Servicios (lista editorial + soporte visual)
   ========================================================================== */
#servicios {
  overflow-x: clip;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.services-list {
  border-top: 1px solid var(--border-light);
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-block: 24px;
  padding-inline-start: 16px;
  border-bottom: 1px solid var(--border-light);
}

.service-item::before {
  content: "";
  position: absolute;
  inset-block: 24px;
  inset-inline-start: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
}

.service-item:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-text-light);
  line-height: 1;
  padding-top: 4px;
}

.service-item:hover .service-num {
  color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .service-item::before {
    transition: transform 0.24s var(--ease-industrial), opacity 0.2s ease;
  }

  .service-num {
    transition: color 0.18s ease, translate 0.24s var(--ease-industrial);
  }

  .service-item:hover .service-num {
    translate: 3px 0;
  }
}

.service-body h3 {
  font-size: 1.65rem;
  color: var(--ink-dark);
}

.service-body p {
  margin-top: 8px;
  color: var(--ink-dark-muted);
}

.services-media-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.media-frame {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-frame:hover {
  border-color: #B8AFA3;
  box-shadow: 0 12px 26px rgba(20, 20, 20, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
  .media-frame img {
    transition: transform 0.45s var(--ease-industrial);
  }

  .media-frame:hover img {
    transform: scale(1.03);
  }
}

.media-frame figcaption {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--ink-dark-muted);
  border-top: 1px solid var(--border-light);
}

@media (min-width: 680px) and (max-width: 959px) {
  .services-media-stack {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .services-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
  }

  .service-item {
    grid-template-columns: 56px 1fr;
    padding-block: 28px;
  }
}

/* ==========================================================================
   Proceso (Cómo cotizar)
   ========================================================================== */
.process-band {
  overflow-x: clip;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-head {
  margin-bottom: 28px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.step-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.step-card:hover {
  border-color: #C4BBB0;
  border-top-color: var(--accent);
  box-shadow: 0 12px 24px rgba(20, 20, 20, 0.07);
}

@media (prefers-reduced-motion: no-preference) {
  .step-card:hover {
    translate: 0 -3px;
  }
}

.step-index {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-text-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--ink-dark-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   Equipos (3 fichas fotográficas idénticas en jerarquía y proporción)
   ========================================================================== */
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.fleet-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.fleet-card:hover {
  border-color: #B8AFA3;
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.09);
}

.fleet-media {
  background: var(--bg-dark);
  overflow: hidden;
}

.fleet-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fleet-body {
  padding: 20px 22px 22px;
  border-top: 1px solid var(--border-light);
}

.fleet-body h3 {
  font-size: 1.85rem;
  color: var(--ink-dark);
}

.fleet-card:hover .fleet-body h3 {
  color: var(--accent-text-light);
}

@media (prefers-reduced-motion: no-preference) {
  .fleet-card:hover {
    translate: 0 -4px;
  }

  .fleet-media img {
    transition: transform 0.45s var(--ease-industrial);
  }

  .fleet-card:hover .fleet-media img {
    transform: scale(1.035);
  }

  .fleet-body h3 {
    transition: color 0.18s ease;
  }
}

.fleet-body p {
  margin-top: 6px;
  color: var(--ink-dark-muted);
  font-size: 0.95rem;
}

.fleet-cta {
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .fleet-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ==========================================================================
   Cobertura y mapa SVG
   ========================================================================== */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.coverage-lead {
  margin-top: 12px;
  color: var(--ink-dark-muted);
  font-size: 1.05rem;
}

.zone-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px 14px;
}

.zone-list li {
  display: flex;
}

.zone-chip {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-dark);
  text-align: left;
  cursor: pointer;
}

.zone-chip:hover,
.zone-chip.is-active {
  border-color: var(--accent);
  background: #FFF7F3;
  color: var(--ink-dark);
}

.zone-chip.is-active {
  box-shadow: 0 6px 16px rgba(255, 77, 7, 0.14);
}

.zone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.zone-chip:hover .zone-dot,
.zone-chip.is-active .zone-dot {
  box-shadow: 0 0 0 4px rgba(255, 77, 7, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .zone-dot {
    transition: scale 0.22s var(--ease-industrial), box-shadow 0.22s ease;
  }

  .zone-chip:hover .zone-dot,
  .zone-chip.is-active .zone-dot {
    scale: 1.25;
  }
}

.coverage-cta {
  margin-top: 26px;
  display: flex;
  justify-content: flex-start;
}

.coverage-map-card {
  margin: 0;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
  box-shadow: 0 12px 32px rgba(20, 20, 20, 0.12);
}

.coverage-svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-node {
  cursor: pointer;
}

.map-halo,
.map-ring,
.map-dot {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .map-node {
    transition: opacity 0.24s ease;
  }

  .map-halo,
  .map-ring,
  .map-dot {
    transition:
      scale 0.28s var(--ease-industrial),
      opacity 0.24s ease,
      fill-opacity 0.24s ease;
  }

  .map-label {
    transition: fill 0.2s ease;
  }
}

.coverage-svg[data-active-zone] .map-node:not(.is-active) {
  opacity: 0.4;
}

.coverage-svg .map-node.is-active {
  opacity: 1;
}

.coverage-svg .map-node.is-active .map-halo {
  fill-opacity: 0.34;
}

.coverage-svg .map-node.is-active .map-ring {
  opacity: 0.7;
}

.coverage-svg .map-node.is-active .map-dot {
  stroke: #FFFFFF;
  stroke-width: 2;
}

.coverage-svg .map-node.is-active .map-label {
  fill: #FFFFFF;
}

@media (prefers-reduced-motion: no-preference) {
  .coverage-svg .map-node.is-active .map-halo {
    scale: 1.55;
  }

  .coverage-svg .map-node.is-active .map-ring {
    scale: 1.85;
  }

  .coverage-svg .map-node.is-active .map-dot {
    scale: 1.25;
  }
}

@media (min-width: 960px) {
  .coverage-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
  }
}

/* ==========================================================================
   Preguntas frecuentes (<details> / <summary> accesible + animación moderna)
   ========================================================================== */
.faq-container {
  max-width: 880px;
}

.faq-list {
  border-top: 1px solid var(--border-light);
}

.faq-list details {
  border-bottom: 1px solid var(--border-light);
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 6px;
  font-family: var(--font-body);
  font-size: 1.075rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-dark);
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

/* Marcador CSS junto al texto (nunca alejado en el borde opuesto) */
.faq-list summary::before {
  content: "";
  inline-size: 1.15em;
  block-size: 1.15em;
  flex-shrink: 0;
  background-color: var(--accent-text-light);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.faq-list details[open]>summary::before {
  rotate: 0deg;
}

.faq-list summary:hover {
  color: var(--accent-text-light);
}

.faq-answer {
  padding: 0 6px 22px 34px;
  color: var(--ink-dark-muted);
  max-width: 66ch;
}

.faq-list details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-list details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-list summary::before {
    transition: rotate 0.2s ease;
  }

  .faq-list details::details-content {
    transition: block-size 0.28s ease-in-out, content-visibility 0.28s ease-in-out, display 0.28s ease-in-out;
    transition-behavior: allow-discrete;
  }
}

/* ==========================================================================
   Cierre, contacto y mini-cotizador WhatsApp
   ========================================================================== */
.contact-section {
  border-top: 4px solid var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.contact-lead {
  margin-top: 14px;
  color: var(--ink-light-muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.contact-actions {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.contact-email {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--ink-light-muted);
}

.contact-email a {
  color: var(--ink-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.hp-field {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.quote-card {
  padding: clamp(22px, 3vw, 30px);
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
}

.quote-card h3 {
  font-size: 1.7rem;
  color: #FFFFFF;
}

.quote-sub {
  color: var(--ink-light-muted);
  font-size: 0.9rem;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 520px) {
  .form-split {
    grid-template-columns: 1fr 1fr;
  }
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-light);
}

.field-hint {
  font-size: 0.78rem;
  color: var(--ink-light-muted);
}

.form-row select,
.form-row input {
  width: 100%;
  min-block-size: 44px;
  padding: 9px 12px;
  background-color: var(--bg-dark);
  border: 1px solid #45403B;
  border-radius: var(--radius);
  color: var(--ink-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-row select:hover,
.form-row input:hover {
  border-color: #787169;
}

.quote-preview-box {
  padding: 12px 14px;
  background: #101010;
  border: 1px dashed #3A3632;
  border-radius: var(--radius);
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.quote-card:focus-within .quote-preview-box {
  border-color: #6B4434;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes quote-flash {
    0% {
      border-color: var(--accent);
      background-color: #1D1512;
    }

    100% {
      border-color: #3A3632;
      background-color: #101010;
    }
  }

  .quote-preview-box.is-updated {
    animation: quote-flash 0.55s var(--ease-industrial);
  }
}

.quote-preview-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.quote-preview-text {
  font-size: 0.875rem;
  color: var(--ink-light-muted);
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
  }
}

/* ==========================================================================
   Pie de página y barra móvil fija
   ========================================================================== */
.site-footer {
  background: #0E0E0E;
  color: var(--ink-light-muted);
  border-top: 1px solid var(--border-dark);
  padding-block: 32px calc(32px + 74px + env(safe-area-inset-bottom));
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.footer-wordmark {
  display: block;
  height: 21px;
  width: auto;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--ink-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--ink-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.9375rem;
}

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

.footer-bottom {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-legal {
  flex: 1 1 320px;
  font-size: 0.8rem;
  color: #9E9890;
  max-width: 72ch;
}

.footer-credit {
  font-size: 0.72rem;
  color: #9E9890;
  margin-inline-start: auto;
  text-align: right;
}

.footer-credit a {
  color: var(--ink-light-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.mobile-cta-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 20, 20, 0.98);
  border-top: 1px solid var(--border-dark);
}

.mobile-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 48px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.mobile-cta-call {
  background: var(--bg-dark-2);
  border: 1px solid #4A4540;
  color: var(--ink-light);
}

.mobile-cta-wa {
  background: var(--accent);
  color: var(--ink-dark);
}

@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none;
  }

  .site-footer {
    padding-block: 36px;
  }
}

/* ==========================================================================
   Página legal (Aviso de privacidad)
   ========================================================================== */
.legal-container {
  max-width: 78ch;
}

.legal-h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
}

.legal-updated {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-dark-muted);
}

.legal-prose {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.legal-prose h2 {
  margin-top: 12px;
  font-size: 1.65rem;
}

.legal-prose ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: var(--ink-dark-muted);
}

.legal-prose p {
  color: var(--ink-dark-muted);
}

.legal-prose a {
  color: var(--accent-text-light);
  font-weight: 600;
}

/* ==========================================================================
   Entradas sutiles al hacer scroll (solo debajo del primer pliegue)
   ========================================================================== */
.reveal {
  opacity: 1;
  translate: 0 0;
}

@media screen and (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0.01;
        translate: 0 18px;
      }

      to {
        opacity: 1;
        translate: 0 0;
      }
    }

    @keyframes reveal-from-left {
      from {
        opacity: 0.01;
        translate: -56px 0;
      }

      to {
        opacity: 1;
        translate: 0 0;
      }
    }

    @keyframes reveal-from-right {
      from {
        opacity: 0.01;
        translate: 56px 0;
      }

      to {
        opacity: 1;
        translate: 0 0;
      }
    }

    @keyframes reveal-from-up {
      from {
        opacity: 0.01;
        translate: 0 40px;
      }

      to {
        opacity: 1;
        translate: 0 0;
      }
    }

    .reveal {
      animation: reveal-up auto cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }

    .reveal[data-reveal-delay="1"] {
      animation-range: entry 8% entry 75%;
    }

    .reveal[data-reveal-delay="2"] {
      animation-range: entry 16% entry 85%;
    }

    @media (min-width: 960px) {
      .reveal[data-reveal-dir="left"] {
        animation-name: reveal-from-left;
        animation-range: entry 0% cover 28%;
      }

      .reveal[data-reveal-dir="right"] {
        animation-name: reveal-from-right;
        animation-range: entry 0% cover 28%;
      }

      .reveal[data-reveal-dir="up"] {
        animation-name: reveal-from-up;
        animation-range: entry 0% cover 28%;
      }

      .reveal[data-reveal-dir][data-reveal-delay="1"] {
        animation-range: entry 4% cover 32%;
      }

      .reveal[data-reveal-dir][data-reveal-delay="2"] {
        animation-range: entry 8% cover 36%;
      }
    }
  }

  .reveal[data-reveal="pending"] {
    opacity: 0;
    translate: 0 18px;
  }

  @media (min-width: 960px) {
    .reveal[data-reveal="pending"][data-reveal-dir="left"] {
      translate: -56px 0;
    }

    .reveal[data-reveal="pending"][data-reveal-dir="right"] {
      translate: 56px 0;
    }

    .reveal[data-reveal="pending"][data-reveal-dir="up"] {
      translate: 0 40px;
    }
  }

  .reveal[data-reveal="visible"] {
    opacity: 1;
    translate: 0 0;
    transition: opacity 0.5s var(--ease-industrial), translate 0.5s var(--ease-industrial);
  }

  .reveal[data-reveal="visible"][data-reveal-delay="1"] {
    transition-delay: 75ms;
  }

  .reveal[data-reveal="visible"][data-reveal-delay="2"] {
    transition-delay: 150ms;
  }
}