/* === Self-Hosted Variable Typography (Zero External Render-Blocking Roundtrips) === */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/cerrajeria-milan/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/cerrajeria-milan/assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  /* ==========================================================================
     MASTER BRAND COLOR TOKENS (Active Theme: Cerrajería Milán Blue)
     To adapt the entire site to a different client brand color in the future
     (green, orange, red, etc.), update ONLY the semantic tokens below.
     ========================================================================== */
  --color-primary: #144a8a;
  --color-primary-strong: #0e3869;
  --color-primary-soft: #d8e8fa;
  --color-accent: #185caa;
  --color-focus: #236bc1;

  /* RGB channels for derived translucent borders, tints, and header surfaces */
  --color-primary-rgb: 20, 74, 138;
  --color-accent-rgb: 24, 92, 170;
  --color-background-rgb: 238, 245, 252;
  --color-text-rgb: 12, 32, 56;

  /* Surfaces & Backgrounds */
  --color-background: #eef5fc;
  --color-background-alt: #e4effb;
  --color-surface: #ffffff;
  --color-surface-subtle: #f6fafe;

  /* Typography Ink */
  --color-text: #0c2038;
  --color-muted: #3c546e;
  --color-subtle: #556c84;
  --color-text-inverse: #ffffff;

  /* Derived Hairline Borders, Overlays & Interactive Tints */
  --color-border: rgba(var(--color-primary-rgb), 0.16);
  --color-border-strong: rgba(var(--color-primary-rgb), 0.28);
  --color-hover-subtle: rgba(var(--color-primary-rgb), 0.045);
  --color-dot: rgba(var(--color-primary-rgb), 0.24);
  --color-focus-ring: rgba(var(--color-accent-rgb), 0.16);
  --color-band-tint: rgba(var(--color-primary-rgb), 0.042);
  --color-header-bg: rgba(var(--color-background-rgb), 0.94);
  --color-shadow-menu: rgba(var(--color-text-rgb), 0.12);

  /* Semantic Status & Cartography */
  --status-error: #b42318;
  --status-error-bg: #fef3f2;
  --star-gold: #d97706;
  --map-covered: var(--color-primary);
  --map-covered-hover: var(--color-accent);
  --map-neutral: #cee0f2;
  --map-neutral-hover: #c1d7ee;

  /* Component Aliases (Mapped strictly to Master Brand Tokens) */
  --brand: var(--color-primary);
  --brand-hover: var(--color-primary-strong);
  --brand-accent: var(--color-accent);
  --brand-focus: var(--color-focus);
  --bg-canvas: var(--color-background);
  --bg-band: var(--color-background-alt);
  --bg-paper: var(--color-surface);
  --bg-input: var(--color-surface-subtle);
  --bg-tint: var(--color-primary-soft);
  --ink: var(--color-text);
  --ink-muted: var(--color-muted);
  --ink-subtle: var(--color-subtle);
  --ink-inverse: var(--color-text-inverse);
  --rule: var(--color-border);
  --rule-strong: var(--color-border-strong);
  --radius-sm: 4px;
  --radius-md: 6px;

  /* Type, Pattern & Grid System */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --brand-pattern: url('/cerrajeria-milan/assets/brand/patron-cerrajeria.webp');
  --brand-pattern-size: 520px 520px;
  --container-max: 76rem;
  --gutter: clamp(1.15rem, 4.2vw, 3rem);
  --section-py: clamp(3.75rem, 6.5vw, 5.75rem);

  /* Compatibility Aliases for milan-forms.css */
  --text: var(--color-text);
  --muted: var(--color-muted);
  --line: var(--color-border);
  --steel: var(--color-background-alt);
  --snow: var(--color-surface-subtle);
  --blue: var(--color-accent);
  --blue-deep: var(--color-primary);
  --deep: var(--color-text);
  --focus: var(--color-focus);
  --font: var(--font-sans);
}

/* === Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg-canvas);
  background-image: var(--brand-pattern);
  background-repeat: repeat;
  background-size: var(--brand-pattern-size);
  background-position: center top;
  font: 400 1rem / 1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body,
h1,
h2,
h3,
p,
figure,
ul,
dl,
blockquote {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

picture {
  display: block;
  width: 100%;
  height: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--brand-focus);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.6rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

section[id] {
  scroll-margin-top: 5.25rem;
}

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--container-max));
  margin-inline: auto;
}

.block {
  padding-block: var(--section-py);
  border-top: 1px solid var(--rule);
  background-color: transparent;
}

.block--band {
  background-color: var(--color-band-tint);
}

.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.skip:focus {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 60;
  background: var(--bg-paper);
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-weight: 700;
}

/* === Actions & Links === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  gap: 0.55rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  text-align: center;
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.btn.primary {
  background: var(--brand);
  color: var(--ink-inverse);
}

.btn.primary:hover {
  background: var(--brand-hover);
}

.btn.primary:active {
  transform: translateY(1px);
}

.btn.secondary {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn.secondary:hover {
  background: var(--bg-tint);
}

.btn.secondary:active {
  transform: translateY(1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1.5px;
  touch-action: manipulation;
  transition: color 0.16s ease;
}

.text-link:hover {
  color: var(--brand-hover);
  text-decoration-thickness: 2px;
}

/* === 1. Minimal Editorial Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--color-header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(9.5rem, 13vw, 11.5rem);
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.8vw, 2.5rem);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: color 0.16s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--brand);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.menu-toggle:hover {
  background: var(--bg-tint);
  border-color: var(--brand);
}

/* === 2. Symmetric Editorial Hero === */
.hero {
  background-color: transparent;
  padding-block: clamp(2.75rem, 5.5vw, 5rem) clamp(3.25rem, 6vw, 5.25rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2.25rem, 5vw, 4.75rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  width: min(100%, 34rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-brand-logo {
  margin: 0 auto;
  width: min(100%, clamp(17.5rem, 32vw, 28rem));
  line-height: 0;
}

.hero-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.hero-role {
  margin-top: clamp(0.9rem, 1.6vw, 1.25rem);
  font-size: clamp(1.25rem, 2.05vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-muted);
}

.hero-availability {
  margin-top: clamp(0.4rem, 0.9vw, 0.65rem);
  font-size: clamp(3.5rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
}

.hero-lead {
  margin-top: clamp(1.5rem, 2.8vw, 2.15rem);
  max-width: 28.5rem;
  margin-inline: auto;
  color: var(--ink-muted);
  font-size: clamp(1.03125rem, 1.3vw, 1.125rem);
  line-height: 1.62;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 1.75rem;
  width: min(100%, 26.5rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.hero-actions .btn {
  min-height: 3.2rem;
  padding-inline: 1.15rem;
  width: 100%;
}

.hero-trust {
  width: min(100%, 26.5rem);
  margin-inline: auto;
  margin-top: clamp(2rem, 3.8vw, 2.85rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0;
  align-items: center;
  text-align: center;
}

.hero-trust-item {
  padding-inline: 0.65rem;
}

.hero-trust-item + .hero-trust-item {
  border-left: 1px solid var(--rule);
}

.hero-trust-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.hero-visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-frame {
  width: min(100%, clamp(16.5rem, 29vw, 24.5rem));
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* === 3. Servicios: Architectural Editorial Index === */
.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.75rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.services-sub {
  color: var(--ink-muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 500;
}

.service-index {
  border-top: 1px solid var(--rule-strong);
}

.service-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 0.95fr) minmax(0, 1.25fr) auto;
  gap: 1rem clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: clamp(1.65rem, 3.2vw, 2.35rem);
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.2s ease;
}

.service-num {
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand-accent);
  letter-spacing: 0.04em;
}

.service-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.25vw, 1.95rem);
  line-height: 1.15;
}

.service-detail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.service-detail p {
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.58;
  max-width: 26rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: var(--brand);
  font-size: 0.9375rem;
  font-weight: 700;
  border-bottom: 1.5px solid var(--brand);
  padding-bottom: 0.15rem;
  transition: gap 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.service-cta:hover {
  gap: 0.7rem;
  color: var(--brand-hover);
  border-color: var(--brand-hover);
}

.service-cta svg {
  width: 1rem;
  height: 1rem;
}

.service-photo {
  width: clamp(7.25rem, 11vw, 9.5rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  justify-self: end;
}

.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.service-row:hover .service-photo img {
  transform: scale(1.03);
}

/* === 4. Cobertura: Real CDMX Vector Map as Protagonist === */
.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.coverage-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.coverage-legend {
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.65rem;
}

.map-key {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.map-key--muted {
  font-weight: 500;
  color: var(--ink-muted);
}

.map-swatch {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 2px;
  background: var(--map-covered);
  flex: 0 0 auto;
}

.map-swatch--neutral {
  background: var(--map-neutral);
  border: 1px solid var(--rule);
}

.coverage-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.cdmx-map {
  display: block;
  width: 100%;
  max-width: 34rem;
  height: auto;
  overflow: visible;
}

.cdmx-map path {
  stroke: var(--bg-canvas);
  stroke-width: 1.25;
  stroke-linejoin: round;
  fill-rule: evenodd;
  transition: fill 0.18s ease;
}

.cdmx-map .uncovered {
  fill: var(--map-neutral);
}

.cdmx-map .uncovered:hover {
  fill: var(--map-neutral-hover);
}

.cdmx-map .covered {
  fill: var(--map-covered);
  cursor: pointer;
}

.cdmx-map .covered:hover,
.cdmx-map .covered[data-active="true"] {
  fill: var(--map-covered-hover);
}

.cdmx-map .map-city-tag {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  fill: var(--ink-subtle);
  text-transform: uppercase;
}

.cdmx-map .map-leader {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.78;
}

.cdmx-map .map-dot {
  fill: var(--bg-canvas);
  stroke: var(--brand);
  stroke-width: 1.5;
}

.cdmx-map .map-label {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  fill: var(--ink);
  transition: fill 0.16s ease;
}

.cdmx-map .map-label[data-active="true"] {
  fill: var(--brand);
}

/* === 9. Preguntas frecuentes (Last Content Section) === */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 6.5rem;
}

.question-list {
  border-top: 1px solid var(--rule-strong);
}

.question-list details {
  border-bottom: 1px solid var(--rule);
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.question-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.25rem;
  min-height: 3.5rem;
  font-size: 1.03125rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.4;
  transition: color 0.16s ease;
}

.question-list summary:hover {
  color: var(--brand);
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand);
  flex: 0 0 auto;
}

.faq-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.22s ease;
}

.question-list details[open] .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2.5rem 1.35rem 0;
}

.faq-answer p {
  color: var(--ink-muted);
  font-size: 0.96875rem;
  line-height: 1.62;
  max-width: 44rem;
}

/* === 5. Cotización: Clean Architectural Workspace === */
.quote-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem 2.5rem;
  margin-bottom: clamp(1.75rem, 3.2vw, 2.5rem);
}

.quote-subtitle {
  margin-top: 0.4rem;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: -0.015em;
}

.quote-brief {
  color: var(--ink-muted);
  font-size: 0.96875rem;
  max-width: 24rem;
}

/* === 6. Contacto: Aligned 2x2 Architectural Ledger === */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-ledger {
  border-top: 1px solid var(--rule-strong);
}

.contact-primary-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
  align-items: stretch;
}

.contact-primary-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.45rem;
  padding: clamp(1.3rem, 2.4vw, 1.75rem) 1.5rem clamp(1.3rem, 2.4vw, 1.75rem) 0;
  min-width: 0;
  transition: background-color 0.16s ease;
}

.contact-primary-item:hover {
  background: var(--color-hover-subtle);
}

.contact-primary-item:hover .contact-primary-value {
  color: var(--brand-hover);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 2px;
}

.contact-primary-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.55rem;
  border-left: 1px solid var(--rule);
  padding: clamp(1.3rem, 2.4vw, 1.75rem) 0 clamp(1.3rem, 2.4vw, 1.75rem) 1.5rem;
  min-width: 0;
}

.contact-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.contact-primary-value {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  line-height: 1.12;
  white-space: nowrap;
}

.contact-primary-value svg {
  width: 1.3rem;
  height: 1.3rem;
}

.contact-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}

.contact-secondary-grid li {
  min-width: 0;
}

.contact-secondary-grid li + li {
  border-left: 1px solid var(--rule);
}

.contact-secondary-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.5rem;
  padding: 1.25rem 1.5rem 1.25rem 0;
  transition: background-color 0.16s ease;
}

.contact-secondary-grid li:last-child a {
  padding: 1.25rem 0 1.25rem 1.5rem;
}

.contact-secondary-grid a:hover {
  background: var(--color-hover-subtle);
}

.contact-secondary-grid strong {
  display: block;
  font-size: clamp(0.95rem, 1.1vw, 1.03125rem);
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  line-height: 1.32;
}

.contact-secondary-grid a:hover strong {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.08fr) minmax(0, 1.28fr);
  border-bottom: 1px solid var(--rule);
}

.contact-grid li {
  min-width: 0;
}

.contact-grid li + li {
  border-left: 1px solid var(--rule);
}

.contact-entry {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.5rem;
  padding: 1.25rem clamp(1rem, 1.6vw, 1.35rem);
}

.contact-grid li:first-child .contact-entry {
  padding-left: 0;
}

.contact-grid li:last-child .contact-entry {
  padding-right: 0;
}

.contact-entry strong {
  display: block;
  font-size: clamp(0.95rem, 1.1vw, 1.03125rem);
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  line-height: 1.32;
}

.contact-entry--link {
  transition: background-color 0.16s ease;
}

.contact-entry--link:hover {
  background: var(--color-hover-subtle);
}

.contact-entry--link:hover strong {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* === 10. Métodos de pago: Compact Horizontal Strip === */
.payment-strip {
  padding-block: clamp(2.15rem, 3.8vw, 3.1rem);
  border-top: 1px solid var(--rule);
  background-color: transparent;
}

.payment-label {
  line-height: 1.3;
}

.payment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
}

.payment-row h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  flex: 0 0 auto;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.85rem;
}

.payment-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.96875rem;
  font-weight: 600;
  color: var(--ink);
}

.payment-mark-chip {
  display: grid;
  place-items: center;
  min-height: 2.25rem;
  min-width: 3.9rem;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.22rem 0.32rem;
  flex: 0 0 auto;
}

.payment-mark-chip img {
  width: 3.15rem;
  height: 1.6rem;
  object-fit: contain;
}

.payment-item--divider {
  padding-left: 1.85rem;
  border-left: 1px solid var(--rule);
}

/* === 7. Experiencia de clientes / Reseñas de Google === */
.reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  margin-bottom: clamp(1.85rem, 3.4vw, 2.75rem);
}

.google-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.google-g-icon {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
}

.google-identity-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.google-identity-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.google-identity-sub {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.reviews-rating-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.reviews-rating-score {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.reviews-rating-stars {
  color: var(--star-gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.reviews-rating-count {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Carousel */
.reviews-carousel {
  min-width: 0;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.5rem) / 3);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-slide {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.45rem;
}

.review-slide-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.review-author img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule);
  flex: 0 0 auto;
}

.review-avatar-fallback {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.review-identity {
  min-width: 0;
}

.review-name {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

a.review-name:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.review-date {
  color: var(--ink-subtle);
  font-size: 0.8125rem;
  margin-top: 0.1rem;
}

.review-g-mini {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.review-stars {
  color: var(--star-gold);
  margin-top: 0.9rem;
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.review-text {
  flex: 1;
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.62;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.review-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
}

.review-original-link {
  font-size: 0.84375rem;
}

.reviews-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  margin-top: 1.35rem;
}

.reviews-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.reviews-nav-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
}

.reviews-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 0.35rem;
}

.reviews-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--color-dot);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.reviews-dot[aria-current="true"] {
  width: 1.45rem;
  background: var(--brand);
}

.reviews-dot:hover {
  background: var(--brand-accent);
}

.reviews-position {
  color: var(--ink-subtle);
  font-size: 0.84375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding-inline: 0.25rem;
}

.reviews-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.84375rem;
  font-weight: 600;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.reviews-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--bg-tint);
}

.reviews-attribution {
  color: var(--ink-subtle);
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* Editorial Unconnected Fallback State */
.reviews-fallback {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.reviews-fallback-copy p {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.62;
  max-width: 38rem;
}

.reviews-fallback-note {
  margin-top: 0.45rem;
  color: var(--ink-subtle);
  font-size: 0.84375rem;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.reviews-actions--below {
  margin-top: 1.5rem;
}

/* === 8. Síguenos en nuestras redes sociales === */
.social-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem 2rem;
  margin-bottom: clamp(1.75rem, 3.2vw, 2.5rem);
}

.social-lead {
  color: var(--ink-muted);
  font-size: 0.98rem;
  max-width: 28rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.social-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 5.15rem;
  padding: 1rem 1.15rem;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  min-width: 0;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.social-banner--pending {
  cursor: default;
}

.social-banner--active {
  border-color: var(--rule-strong);
}

.social-banner--active:hover {
  border-color: var(--brand);
  background: var(--bg-input);
}

.social-banner--active:active {
  transform: translateY(1px);
}

.social-icon {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.social-body {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
  min-width: 0;
}

.social-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.social-meta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-subtle);
  line-height: 1.3;
}

.social-meta--action {
  color: var(--brand);
  font-weight: 600;
}

.social-banner--active:hover .social-meta--action {
  color: var(--brand-hover);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.social-arrow {
  margin-left: auto;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--brand);
  flex: 0 0 auto;
  transition: transform 0.16s ease;
}

.social-banner--active:hover .social-arrow {
  transform: translate(2px, -2px);
}

/* === 11. Restrained Editorial Footer === */
.site-footer {
  border-top: 1px solid var(--rule);
  background-color: var(--color-band-tint);
  color: var(--ink-muted);
}

.site-footer .wrap {
  padding-block: clamp(2rem, 3.8vw, 3rem) clamp(1.4rem, 2.5vw, 2rem);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer-top .brand {
  width: 9.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.75rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9125rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.16s ease;
}

.footer-nav a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.84375rem;
  color: var(--ink-subtle);
}

.footer-bottom .text-link {
  min-height: 44px;
  font-size: 0.84375rem;
}

/* === Responsive Breakpoints === */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.25rem;
  }

  .service-row {
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    grid-template-areas:
      "num title photo"
      "num detail photo";
    row-gap: 0.55rem;
    align-items: start;
  }

  .service-num {
    grid-area: num;
    padding-top: 0.35rem;
  }

  .service-title {
    grid-area: title;
  }

  .service-detail {
    grid-area: detail;
  }

  .service-photo {
    grid-area: photo;
    align-self: center;
  }

  .coverage-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-heading {
    position: static;
  }

  .coverage-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
  }

  .coverage-legend {
    width: auto;
    padding-top: 0;
    border-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.4rem;
  }

  .quote-header {
    grid-template-columns: 1fr;
  }

  .reviews-track {
    grid-auto-columns: calc((100% - 1.25rem) / 2);
  }

  .reviews-fallback {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 4.35rem;
  }

  .brand {
    width: 9rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    align-items: stretch;
    position: absolute;
    inset: 100% 0 auto;
    background: var(--bg-canvas);
    border-bottom: 1px solid var(--rule-strong);
    box-shadow: 0 14px 30px var(--color-shadow-menu);
    padding: 0.5rem var(--gutter) 0.9rem;
    gap: 0;
  }

  .site-nav[data-open] {
    display: flex;
    flex-direction: column;
  }

  .site-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--rule);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-frame {
    width: min(100%, 16rem);
  }

  .services-head {
    grid-template-columns: 1fr;
  }

  .payment-item--divider {
    padding-left: 0;
    border-left: 0;
  }

  .payment-methods {
    gap: 0.9rem 1.5rem;
  }
}

@media (max-width: 680px) {
  :root {
    --brand-pattern-size: 380px 380px;
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "num photo"
      "title photo"
      "detail detail";
    gap: 0.25rem 1.15rem;
    align-items: center;
    padding-block: 1.5rem;
  }

  .service-photo {
    width: 5.5rem;
    justify-self: end;
    align-self: center;
  }

  .service-num {
    padding-top: 0;
    align-self: end;
  }

  .service-title {
    align-self: start;
  }

  .service-detail {
    margin-top: 0.45rem;
  }

  .contact-grid,
  .contact-primary-band,
  .contact-secondary-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid li + li {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .contact-grid .contact-entry,
  .contact-grid li:first-child .contact-entry,
  .contact-grid li:last-child .contact-entry {
    padding: 1rem 0;
    min-height: 4.5rem;
  }

  .contact-primary-item {
    padding: 1.25rem 0 1rem;
  }

  .contact-primary-action {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding: 1.15rem 0 1.35rem;
  }

  .contact-secondary-grid li + li {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .contact-secondary-grid a,
  .contact-secondary-grid li:last-child a {
    padding: 1rem 0;
    min-height: 4.5rem;
  }
}

@media (max-width: 600px) {
  .reviews-track {
    grid-auto-columns: 100%;
  }

  .reviews-actions {
    width: 100%;
  }

  .reviews-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 520px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 1rem;
  }

  .hero {
    padding-block: 1.85rem 2.6rem;
  }

  .hero-lead {
    margin-top: 1.15rem;
  }

  .hero-actions {
    margin-top: 1.35rem;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 3.15rem;
  }

  .hero-trust {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .hero-trust-item {
    padding-inline: 0.35rem;
  }

  .hero-trust-item strong {
    font-size: 0.875rem;
  }

  .hero-frame {
    width: min(100%, 14.5rem);
  }

  .contact-primary-action .btn {
    width: 100%;
    min-height: 3.1rem;
    white-space: normal;
  }

  .coverage-sidebar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .payment-methods {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .payment-item {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.65rem;
  }

  .payment-methods .card-marks {
    gap: 0.35rem;
    flex-wrap: nowrap;
  }

  .payment-methods .card-marks li,
  .payment-mark-chip {
    min-width: 3.4rem;
    min-height: 2.1rem;
    padding: 0.18rem 0.26rem;
  }

  .payment-methods .card-marks img,
  .payment-mark-chip img {
    width: 2.75rem;
    height: 1.42rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
