/* Layout: a gallery wall. Plain plaster ground, ink type, painter's-tape blue for marks and actions.
   One measured illustration in the hero; everything else stays quiet. */
:root {
  --wall: #f8f8f6;
  --panel: #ffffff;
  --ink: #1d2126;
  --muted: #5b636d;
  --line: #dfe1e3;
  --tape: #2f6fb3;
  --tape-ink: #ffffff;
  --tape-soft: #e6eef7;
  --pencil: #8a8f96;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 4.2vw, 2.75rem);
  --radius: 6px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wall: #15181b; --panel: #1d2126; --ink: #eceef0; --muted: #a3abb4;
    --line: #2e343a; --tape: #6aa6e6; --tape-ink: #0e1a27; --tape-soft: #1f2d3c; --pencil: #7d848c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --wall: #15181b; --panel: #1d2126; --ink: #eceef0; --muted: #a3abb4;
  --line: #2e343a; --tape: #6aa6e6; --tape-ink: #0e1a27; --tape-soft: #1f2d3c; --pencil: #7d848c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tape); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: var(--step-2); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; max-width: 65ch; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.label {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--wall); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 14px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.2rem;
  color: var(--ink); text-decoration: none;
}
.brand svg { flex: none; }
.header-call { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-call span { color: var(--tape); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: 700 var(--step-0)/1 var(--body); text-decoration: none;
  border: 2px solid var(--tape);
}
.btn-primary { background: var(--tape); color: var(--tape-ink); }
.btn-secondary { background: transparent; color: var(--tape); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary:hover { background: var(--tape-soft); }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px; align-items: center; padding-block: 56px 48px;
}
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero-copy .lede { font-size: var(--step-1); color: var(--muted); }
.hero-art { min-width: 0; }
.hero-art svg { width: 100%; height: auto; max-width: 420px; margin-left: auto; display: block; }
.hero-art text { font-family: var(--mono); }

/* Sections */
section.band { padding-block: 48px; border-top: 1px solid var(--line); }
section.band .wrap { display: grid; gap: 24px; }
.section-head { display: grid; gap: 8px; }

.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0;
  border-top: 1px solid var(--line);
}
.services li {
  display: grid; gap: 4px; align-content: start; padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}
.services li strong { font-family: var(--display); font-size: 1.05rem; }
.services li span { color: var(--muted); font-size: var(--step--1); }
.note { color: var(--muted); font-size: var(--step--1); }

.price {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.price-figure { display: grid; gap: 2px; }
.price-figure .amount {
  font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-copy { display: grid; gap: 10px; min-width: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: step; }
.steps li { display: grid; gap: 8px; align-content: start; counter-increment: step; }
.steps li::before {
  content: counter(step);
  font-family: var(--mono); font-size: var(--step--1); color: var(--tape);
  border: 1.5px solid var(--tape); border-radius: 50%;
  width: 30px; height: 30px; display: grid; place-items: center;
}

.cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.city {
  display: grid; gap: 6px; padding: 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.city:hover { border-color: var(--tape); }
.city .go { color: var(--tape); font-weight: 700; }

/* Why points */
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.points li {
  display: grid; gap: 8px; align-content: start; padding: 22px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 3px solid var(--tape);
}
.points p { color: var(--muted); }

/* Service area */
.area { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.map { width: 100%; max-width: 100%; min-height: 300px; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }

.area .city { align-content: center; }

/* City page */
.installer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.installer:has(.photo) { grid-template-columns: 220px minmax(0, 1fr); }
.photo {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); overflow: hidden;
  background: var(--tape-soft); display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: var(--step--1); padding: 16px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); font-size: var(--step--1);
}

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.faq details p { margin-top: 8px; color: var(--muted); }

.cta { background: var(--panel); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: var(--step--1); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 36px; }
  .hero-art svg { max-width: 320px; margin: 0 auto; }
  .price { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .area { grid-template-columns: minmax(0, 1fr); }
  .installer, .installer:has(.photo) { grid-template-columns: minmax(0, 1fr); }
  .installer .photo { max-width: 240px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: filter 0.15s, background-color 0.15s; }
}
