/* LegoMan — layout: navy bands alternate with white/mist sections; one orange accent for every "book it" action;
   a tape-measure tick rule marks each section label. */
:root {
  --ink: #13234A;          /* navy: text, bands, footer */
  --ink-2: #1C3166;
  --accent: #F07D2B;       /* warm orange: buttons, stars, map area */
  --accent-hover: #F59A52;
  --on-accent: #13234A;
  --accent-text: #B5530F;  /* orange that reads on white */
  --bg: #FFFFFF;
  --surface: #F2F4F8;      /* mist with a navy bias */
  --surface-2: #E4E9F2;
  --line: #D5DBE7;
  --text: #13234A;
  --muted: #4A5878;
  --band: #13234A;
  --band-2: #1D3263;
  --on-band: #FFFFFF;
  --on-band-muted: #C3CCE0;
  --shadow: 0 1px 2px rgba(19, 35, 74, .06), 0 8px 24px rgba(19, 35, 74, .08);
  --map-water: #CFE0F1;
  --map-land: #F7F7F4;
  --map-road: #C3CAD8;
  --map-road-major: #8F9AB2;
  --map-city: #13234A;
  --map-city-other: #A8B1C4;
  --map-zone-fill: 0.24;
  --logo-light: block;
  --logo-dark: none;

  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.2vw, 3rem);
  --step-5: clamp(2.5rem, 1.7rem + 3.4vw, 4rem);
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #0B1430; --ink-2: #16254A;
    --accent: #F28A3E; --accent-hover: #F7A262; --on-accent: #0F1A36; --accent-text: #F6A566;
    --bg: #0E1731; --surface: #152241; --surface-2: #1C2B50; --line: #2A3A62;
    --text: #E9EDF6; --muted: #A9B4CC;
    --band: #172650; --band-2: #1F3162; --on-band: #FFFFFF; --on-band-muted: #BAC5DD;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.35);
    --map-water: #08111F; --map-land: #233154; --map-zone-fill: 0.2; --map-road: #34446C; --map-road-major: #5A6B98;
    --map-city: #C9D5F2; --map-city-other: #4D5D85;
    --logo-light: none; --logo-dark: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #0B1430; --ink-2: #16254A;
  --accent: #F28A3E; --accent-hover: #F7A262; --on-accent: #0F1A36; --accent-text: #F6A566;
  --bg: #0E1731; --surface: #152241; --surface-2: #1C2B50; --line: #2A3A62;
  --text: #E9EDF6; --muted: #A9B4CC;
  --band: #172650; --band-2: #1F3162; --on-band: #FFFFFF; --on-band-muted: #BAC5DD;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.35);
  --map-water: #08111F; --map-land: #233154; --map-zone-fill: 0.2; --map-road: #34446C; --map-road-major: #5A6B98;
  --map-city: #C9D5F2; --map-city-other: #4D5D85;
  --logo-light: none; --logo-dark: block;
  color-scheme: dark;
}

:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; color: inherit; }
h1 { font-size: var(--step-5); font-weight: 700; }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem); }
h2 { font-size: var(--step-4); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tint { background: var(--surface); }
.section--band { background: var(--band); color: var(--on-band); }
.section--band .lede, .section--band .muted { color: var(--on-band-muted); }
.section--band a:not(.btn) { color: var(--on-band); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; min-width: 0; }

/* eyebrow with a tape-measure tick rule */
.eyebrow { display: inline-flex; flex-direction: column; gap: 8px; font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.section--band .eyebrow, .hero .eyebrow { color: var(--accent); }
.eyebrow::after {
  content: ""; display: block; width: 112px; height: 9px;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 56px) bottom left / 112px 9px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 14px) bottom left / 112px 6px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 7px) bottom left / 112px 3px no-repeat;
  opacity: .9;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 700; line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--ghost { border-color: currentColor; color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); }
.section--band .btn--ghost, .hero .btn--ghost { color: var(--on-band); }
.section--band .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--band-2); color: var(--on-band); }
.btn--navy { background: var(--ink); color: #fff; }
.btn--navy:hover { background: var(--ink-2); color: #fff; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: var(--step--1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px 28px; padding-block: 10px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.brand .logo-light { display: var(--logo-light); }
.brand .logo-dark { display: var(--logo-dark); }
.nav { display: flex; gap: 4px 22px; margin-left: auto; font-weight: 600; font-size: 1rem; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-header .btn { white-space: nowrap; }
.nav a:hover { color: var(--accent-text); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone svg { width: 18px; height: 18px; }
.lang-link { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-decoration: none; }
.lang-link:hover { border-color: var(--accent); color: var(--accent-text); }
.lang-note { background: var(--surface); border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.lang-note .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding-block: 10px; }
.lang-note p { margin: 0; max-width: none; }
.lang-note__en { font-weight: 700; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1200px) {
  .header-phone span { display: none; }
  .site-header .wrap { gap: 16px 20px; }
  .nav { gap: 4px 16px; }
}
@media (max-width: 1360px) {
  html[lang="es"] .header-phone span { display: none; }
}
@media (max-width: 1024px) {
  .menu-btn { display: inline-flex; order: 2; margin-left: 10px; }
  .lang-link { order: 1; margin-left: auto; height: 48px; min-width: 48px; }
  .nav, .header-actions { display: none; }
  .site-header.is-open .wrap { flex-wrap: wrap; }
  .site-header.is-open .nav { display: flex; flex-direction: column; width: 100%; order: 3; margin: 0; padding: 8px 0 4px; gap: 0; font-size: 1.125rem; }
  .site-header.is-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.is-open .header-actions { display: flex; width: 100%; order: 4; padding-bottom: 12px; flex-wrap: wrap; }
  .site-header.is-open .header-phone span { display: inline; }
  .brand img { height: 40px; }
}

/* ---------- hero ---------- */
.hero { background: var(--band); color: var(--on-band); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.hero h1 { color: #fff; }
.hero .lede { color: var(--on-band-muted); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-photo { position: relative; margin: 0; min-width: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 30%; border-radius: 22px; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--bg); color: var(--text); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: var(--step--1); box-shadow: var(--shadow); }
.hero--page .wrap { grid-template-columns: minmax(0, 1fr); padding-block: clamp(40px, 5vw, 72px); gap: 18px; }
.hero--page h1 { font-size: var(--step-4); max-width: 22ch; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .hero-photo img { aspect-ratio: 4 / 3; } }

.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 1rem; color: var(--on-band); }
.proof-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.proof-item svg { width: 18px; height: 18px; flex: none; }
.proof-logos { display: inline-flex; gap: 6px; }
.proof-logos span { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.proof-logos img { width: 16px; height: 16px; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.stars .dim { opacity: .35; }

/* ---------- platform rating cards ---------- */
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.platform {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg);
  color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.platform:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.platform-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.platform-logo { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.platform-logo img { width: 26px; height: 26px; }
.platform-name { font-weight: 700; font-size: 1.05rem; min-width: 0; }
.platform-score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.platform-score b { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.platform-score .stars svg { width: 19px; height: 19px; }
.platform-count { font-size: var(--step--1); color: var(--muted); }
.platform-count::after { content: " ↗"; color: var(--accent-text); font-weight: 700; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s; }
a.svc:hover { border-color: var(--accent); color: var(--text); }
.svc-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--text); }
.svc-icon svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.2rem; }
.svc p { font-size: 1rem; color: var(--muted); }

.svc-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 48px; padding-block: 40px; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 90px; }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail .stack { min-width: 0; }
.svc-detail ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.svc-detail li { display: flex; gap: 10px; font-size: 1rem; }
.svc-detail li::before { content: ""; width: 8px; height: 8px; margin-top: .55em; border-radius: 2px; background: var(--accent); flex: none; }
.svc-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.svc-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 820px) { .svc-detail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .svc-detail ul { grid-template-columns: minmax(0, 1fr); } }

.callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.callout .stack { min-width: 0; gap: 8px; }
@media (max-width: 700px) { .callout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- before / after ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: minmax(0, 1fr); } }
.ba-card { display: flex; flex-direction: column; gap: 12px; margin: 0; min-width: 0; }
.ba-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-weight: 700; }
.ba-card figcaption span { font-weight: 500; color: var(--muted); }
.section--band .ba-card figcaption span { color: var(--on-band-muted); }
.ba { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); max-width: 100%; touch-action: pan-y; user-select: none; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba .ba-before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ba .ba-knob { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: #13234A; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); pointer-events: none; }
.ba .ba-knob svg { width: 26px; height: 26px; }
.ba .ba-tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; pointer-events: none; }
.ba .ba-tag--before { left: 14px; background: #13234A; color: #fff; }
.ba .ba-tag--after { right: 14px; background: #F07D2B; color: #13234A; }
.ba input[type="range"] { position: absolute; top: 0; left: 0; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba input[type="range"]:focus-visible + .ba-knob { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- gallery ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 600 .95rem/1 var(--font-body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip span { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: #C3CCE0; }
.chip img { width: 16px; height: 16px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.tile { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.tile button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: .9rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(10, 18, 40, .78)); pointer-events: none; }
.tile figcaption small { display: block; font-weight: 500; opacity: .85; font-size: .78rem; }

.lightbox { width: min(1100px, 100vw - 24px); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 16px; background: #0B1226; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(6, 11, 26, .82); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; }
.lightbox img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: #0B1226; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-weight: 600; flex-wrap: wrap; }
.lightbox .lb-controls { display: flex; gap: 8px; }
.lightbox .lb-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lightbox .lb-btn:hover { background: rgba(255,255,255,.12); }
.lightbox .lb-btn svg { width: 20px; height: 20px; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .reviews { grid-template-columns: minmax(0, 1fr); } }
.review { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.section--tint .review { background: var(--bg); }
.review blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; font-weight: 500; }
.review blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--accent); margin-bottom: 6px; }
.review-job { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.review figcaption { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .95rem; padding-top: 12px; border-top: 1px solid var(--line); }
.review figcaption img { width: 20px; height: 20px; flex: none; }
.review figcaption a { color: var(--muted); text-decoration: none; margin-left: auto; font-size: .85rem; white-space: nowrap; }
.review figcaption a:hover { color: var(--accent-text); text-decoration: underline; }
.review figcaption b { font-weight: 700; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { display: flex; flex-direction: column; gap: 10px; counter-increment: step; padding-top: 20px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--accent); }
.section--band .steps li { border-top-color: var(--band-2); }

/* ---------- split blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.photo-frame img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.facts div { padding: 16px; border-radius: var(--radius-sm); background: var(--surface); }
.section--tint .facts div { background: var(--bg); }
.facts dt { font-size: .85rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .values { grid-template-columns: minmax(0, 1fr); } }
.value { padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.value p { color: var(--muted); font-size: 1rem; }
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; padding: 28px; border-radius: 20px; background: var(--band); color: var(--on-band); }
.guarantee svg { width: 48px; height: 48px; color: var(--accent); }
.guarantee p { color: var(--on-band-muted); }

/* ---------- map ---------- */
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: stretch; }
.map-layout--compact { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .map-layout { grid-template-columns: minmax(0, 1fr); } }
.map-box { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--map-water); min-height: 420px; }
.map { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: var(--map-water); font-family: var(--font-body); }
.map-box--tall { min-height: min(720px, 80vh); }
.map-box--home { min-height: 640px; }
@media (max-width: 600px) { .map-box--home { min-height: 560px; } .map-box--tall { min-height: 540px; } }
.map-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 10px 4px 0; font-size: .88rem; color: var(--muted); }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.map-legend span { display: flex; align-items: center; gap: 8px; }
.map-legend i { width: 16px; height: 12px; border-radius: 3px; display: inline-block; }
.map-legend .lg-zone { background: rgba(240, 125, 43, .35); background: color-mix(in srgb, var(--accent) 35%, transparent); border: 2px solid var(--accent-text); }
.map-legend .lg-city { border: 1.5px solid var(--map-city-other); }
.map-legend .lg-hwy { height: 4px; background: var(--map-road-major); border-radius: 2px; }
.map-col { display: flex; flex-direction: column; min-width: 0; }
.area-panel { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.area-panel label { font-weight: 700; }
.area-panel input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 500 1rem var(--font-body); }
.area-result { font-size: .95rem; min-height: 1.5em; }
.area-result.ok { color: var(--text); font-weight: 600; }
.city-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-height: 440px; overflow: auto; border-top: 1px solid var(--line); }
.city-list li { border-bottom: 1px solid var(--line); }
.city-list button { width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 4px; border: 0; background: none; color: var(--text); font: 600 1rem var(--font-body); cursor: pointer; text-align: left; }
.city-list button:hover { color: var(--accent-text); }
.city-list button span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chips button { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 600 .9rem var(--font-body); cursor: pointer; }
.city-chips button:hover { border-color: var(--accent); }

/* Leaflet labels: one font and size for every zone; nearby cities we don't serve are lighter */
.map-label { white-space: nowrap; text-align: center; font-family: var(--font-body); font-weight: 700; font-size: 12.5px; line-height: 1.12; color: var(--map-city); text-shadow: 0 0 3px var(--map-land), 0 0 3px var(--map-land), 0 0 6px var(--map-land); pointer-events: none; transform: translate(-50%, -50%); width: max-content; }
.map-label.is-other { color: var(--map-city-other); font-weight: 600; }
.map-label.is-callout { transform: translate(6px, -50%); }
.map-label { position: relative; }
.map-label.is-sm { font-size: 11px; }
.map-label.is-left { text-align: left; }
.map-label.is-xs { font-size: 10px; }
.map.is-narrow .map-label { font-size: 11.5px; }
.map.is-narrow .map-label.is-sm { font-size: 10.5px; }
.map.is-narrow .map-label.is-xs { font-size: 9.5px; }
.map-label-anchor { background: none; border: 0; }
.road-pill { white-space: nowrap; transform: translate(-50%, -50%); width: max-content; font: 700 11px/1 var(--font-body); padding: 3px 6px; border-radius: 5px; background: var(--bg); color: var(--muted); border: 1px solid var(--map-road-major); pointer-events: none; }
.leaflet-container { background: var(--map-water); font-family: var(--font-body); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--bg); color: var(--text); box-shadow: var(--shadow); }
.leaflet-popup-content { margin: 14px 16px; font-size: .95rem; line-height: 1.45; }
.leaflet-popup-content b { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 2px; }
.leaflet-popup-content .pop-ok { color: var(--accent-text); font-weight: 700; }
.leaflet-popup-content .pop-inc { display: block; color: var(--muted); font-size: .85rem; }
.leaflet-popup-content a { font-weight: 700; }
.leaflet-bar a, .leaflet-bar a:hover { background: var(--bg); color: var(--text); border-bottom-color: var(--line); width: 36px; height: 36px; line-height: 36px; }
.leaflet-control-attribution { background: rgba(255, 255, 255, .85) !important; background: color-mix(in srgb, var(--bg) 85%, transparent) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.map-btn { display: block; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 8px; background: var(--bg); color: var(--text); font: 700 .82rem var(--font-body); cursor: pointer; box-shadow: 0 1px 5px rgba(0,0,0,.25); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.contact-card .ci { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.contact-card .cv { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.contact-card .cv a { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy-btn { min-height: 32px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 .8rem var(--font-body); cursor: pointer; }
.copy-btn:hover { color: var(--text); border-color: var(--text); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); padding: 20px; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: .95rem; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 500 1rem var(--font-body); }
.field textarea { min-height: 130px; resize: vertical; }
.field input[type="file"] { padding: 10px; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--accent); font-weight: 600; }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--accent); color: #13234A; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 5vw, 64px); }
.cta-band h2 { color: #13234A; font-size: var(--step-4); max-width: 18ch; }
.cta-band p { color: #13234A; font-weight: 500; }
.cta-band .stack { gap: 10px; min-width: 0; }
.cta-band .btn--ghost { color: #13234A; border-color: #13234A; }
.cta-band .btn--ghost:hover { background: rgba(19, 35, 74, .08); color: #13234A; }
.site-footer { background: var(--ink); color: #C3CCE0; }
.site-footer .wrap { padding-block: 56px 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-cols { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)) 1.25fr; gap: 28px; }
@media (max-width: 1060px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; font-size: 1rem; }
.footer-cols h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.site-footer a { color: #C3CCE0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .f-strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.footer-logo { height: 54px; width: auto; align-self: flex-start; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid #24365F; font-size: .9rem; }
.footer-platforms { display: flex; gap: 8px; }
.footer-platforms a { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.footer-platforms img { width: 18px; height: 18px; }

/* ---------- floating action button ---------- */
.fab {
  position: fixed; z-index: 70;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  transition: opacity .2s, transform .2s;
}
.fab.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.fab a { box-shadow: 0 10px 28px rgba(10, 18, 40, .32); }
.fab .btn--primary { min-height: 58px; padding: 14px 26px; font-size: 1.05rem; }
.fab .btn--navy { min-height: 46px; padding: 8px 18px; font-size: .95rem; border: 2px solid #fff; }
@media (max-width: 520px) {
  .fab { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .fab .btn--primary { min-height: 54px; padding: 12px 20px; }
}

/* ---------- FAQ, city and service pages ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--accent-text); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 68ch; }
.prose p { font-size: 1.1rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; font-weight: 600; }
.section--tint .tag-list li { background: var(--bg); }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.link-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); color: var(--text); font-weight: 700; text-decoration: none; }
.link-grid a::after { content: "→"; color: var(--accent-text); }
.link-grid a:hover { border-color: var(--accent); color: var(--text); }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photo-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 560px) { .photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photo-row img:nth-child(3) { display: none; } }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before { content: ""; width: 8px; height: 8px; margin-top: .6em; border-radius: 2px; background: var(--accent); flex: none; }
@media (max-width: 520px) { .check-list { grid-template-columns: minmax(0, 1fr); } }

/* Featured project: before/after video + build steps */
.project { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 32px; align-items: start; }
.project-video { margin: 0; }
.project-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #0B1226; box-shadow: var(--shadow); }
.project-video figcaption { margin-top: 10px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.project-sub { font-size: var(--step-1, 1.2rem); margin: 0; }
.project-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.project-steps li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.project-steps button { position: relative; display: block; padding: 0; margin-bottom: 6px; border: 0; background: var(--surface-2); border-radius: var(--radius-sm, 10px); overflow: hidden; cursor: zoom-in; }
.project-steps img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s ease; }
.project-steps button:hover img, .project-steps button:focus-visible img { transform: scale(1.04); }
.project-steps .step-n { position: absolute; left: 10px; top: 10px; min-width: 28px; height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .85rem/1 var(--font-body); }
.project-steps b { font-family: var(--font-display); font-size: 1.05rem; }
.project-steps .step-cap { color: var(--muted); font-size: .92rem; line-height: 1.35; }
@media (max-width: 900px) {
  .project { grid-template-columns: minmax(0, 1fr); }
  .project-video { width: 100%; max-width: 340px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .project-steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .project-steps li { scroll-snap-align: start; }
}
.project-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .project-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
}

/* Accent wall section */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--accent-text); }
.style-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .style-grid { gap: 12px; } }
.style-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.style-card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.style-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.style-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.style-body b { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.2; }
.style-body span { color: var(--muted); font-size: .95rem; line-height: 1.4; }
@media (max-width: 520px) { .style-body { padding: 10px 12px 14px; } .style-body span { display: none; } .style-body b { font-size: .98rem; } }
.idea-list { display: grid; gap: 32px; }
.idea { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 36px; align-items: center; scroll-margin-top: 90px; }
.photo-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .idea { grid-template-columns: minmax(0, 1fr); } }
.values--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .values--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values--3 { grid-template-columns: minmax(0, 1fr); } }
.sub-links { font-weight: 600; line-height: 1.8; }
#fireplace { scroll-margin-top: 90px; }

/* Home: small jobs and big projects */
.range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .range { grid-template-columns: minmax(0, 1fr); } }
.range-card { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.range-card img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; display: block; background: var(--surface-2); }
.range-card .stack { padding: 24px; gap: 10px; }
.range-card .check-list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.range-card--big { border-color: var(--accent); }
.range-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--surface); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
@media (max-width: 520px) { .range-card { grid-template-columns: minmax(0, 1fr); } .range-card img { aspect-ratio: 16 / 10; height: auto; } }
.range-note { text-align: center; }

/* Contact: how quotes work (everything goes through the booking page) */
.quote-panel { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 90px; }
.quote-steps { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 12px; font-size: 1.05rem; }
.quote-steps li::marker { color: var(--accent-text); font-weight: 700; }
.quote-note { padding: 14px 16px; border-radius: 12px; background: var(--bg); border-left: 4px solid var(--accent); }
@media (max-width: 520px) { .quote-panel { padding: 20px; } }
