/* =========================================================
   KOPKO Polishing — landing page
   Steel Plate brand (quick 261019-brand): a white top bar, a dark brushed-steel
   hero carrying the riveted logo plate, light warm-white and concrete sections
   with steel borders and brushed-steel accents. Industrial black, graphite,
   steel grey, concrete and warm white; orange is reserved for actions and
   highlights. Display type is Russo One (close to the plate's wordmark).
   ========================================================= */

:root {
  /* Brand palette: Industrial Plate */
  --brand-orange: #F36B16;
  --industrial-black: #15191C;
  --graphite: #282E32;
  --steel-grey: #828B91;
  --concrete: #E8E9E7;
  --warm-white: #F7F7F4;

  --ink: var(--industrial-black);
  --ink-2: var(--graphite);
  --ink-3: #343B40;
  --line-dark: rgba(255, 255, 255, 0.1);

  --paper: var(--warm-white);
  --paper-2: var(--concrete);
  --line: var(--concrete);
  /* Steel: card and field borders on light surfaces, and the brushed-steel accents. */
  --line-steel: #CDD2D5;
  --steel-light: #E4E7E9;
  --steel-sheen: linear-gradient(90deg, #8A9399 0%, #E4E7E9 30%, #A9B0B5 52%, #F1F3F4 74%, #828B91 100%);
  /* Brushed graphite for the hero, CTA band and dark cards. Its lightest point (#1E2327 under
     the 1.8% stripe and 3% sheen = #292D31) stays at graphite, so orange text keeps 4.5:1. */
  --brushed-dark:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, rgba(0, 0, 0, 0.05) 1px 2px, transparent 2px 3px),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.03) 48%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #1E2327 0%, #1A1F23 55%, var(--industrial-black) 100%);
  /* A rivet head: a light top-left highlight on a steel dome with a dark rim. */
  --rivet: radial-gradient(circle at 40% 35%, #F4F6F7 0, #AAB2B8 1.5px, #5D666C 4px, #262C30 5.5px, transparent 6px);

  /* Darker steel for small text on light (6.2:1 on warm white); Steel Grey itself stays for icons and dividers. */
  --heading: var(--industrial-black);
  --text: var(--graphite);
  --text-muted: #565E64;
  --text-on-dark: var(--concrete);
  --text-on-dark-muted: #A9B0B5;

  /* Orange fills carry industrial-black text; rust is the orange-family text colour on light backgrounds. */
  --accent: var(--brand-orange);
  --accent-hover: #E05F10;
  --accent-strong: #A8440A;
  --on-accent: var(--industrial-black);
  --accent-text: var(--accent-strong);
  --focus: var(--accent-strong);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(21, 25, 28, 0.35);

  /* Russo One ships one weight (400); display text never asks for a bolder one. */
  --font-display: "Russo One", "Arial Black", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
}

/* Dark surfaces: headings follow the container colour, links, kickers and focus rings turn orange. */
:is(.hero, .page-hero, .cta-band, .site-footer, .mobile-bar,
    .quote-dialog, .review-card, .service-card-cta, .lightbox) {
  --heading: currentColor;
  --accent-text: var(--accent);
  --focus: var(--accent);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--accent-text); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  color: var(--heading);
}
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 2px solid transparent;
  font: 700 0.95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 -2px 0 rgba(21, 25, 28, 0.18); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn-outline { color: var(--ink); border-color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--on-accent); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.45); background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Header ---------- */
/* White top bar (as in the brand mockup) with a brushed-steel rule underneath. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-steel);
  box-shadow: 0 6px 18px -14px rgba(21, 25, 28, 0.6);
  color: var(--text);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--steel-sheen); opacity: 0.85; pointer-events: none;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }

.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a {
  color: var(--text); text-decoration: none;
  font-size: 0.92rem; font-weight: 600;
  transition: color .2s;
}
.main-nav a:hover { color: var(--accent-text); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem;
}
.header-phone svg { width: 18px; height: 18px; fill: var(--accent-strong); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 10px;
  background: #fff; border: 1px solid var(--line-steel); border-radius: 6px;
  cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
/* Home hero: dark brushed steel with the logo plate up front, rivets in the corners. */
.hero-plate { background: var(--brushed-dark); min-height: 0; text-align: center; }
.hero-plate::before {
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  background:
    var(--rivet) left 8px top 8px / 12px 12px no-repeat,
    var(--rivet) right 8px top 8px / 12px 12px no-repeat,
    var(--rivet) left 8px bottom 8px / 12px 12px no-repeat,
    var(--rivet) right 8px bottom 8px / 12px 12px no-repeat;
}
.hero-plate::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--steel-sheen); pointer-events: none;
}
.hero-plate .hero-content { padding: 56px 0 64px; display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: min(680px, 100%); height: auto; margin: 0 auto 28px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
}
.hero-plate h1 { margin-inline: auto; max-width: 980px; }
.hero-plate .lead { margin-inline: auto; }
.hero-plate .hero-actions { justify-content: center; }
.hero-plate .hero-note { margin-inline: auto; }
.hero-plate .eyebrow { flex-direction: column; gap: 10px; }
/* Home hero logo intro (D-20, quick 261022-vhero, 261022-fhero): the poster of the final frame, and
   while it plays the video js/kopko-hero-video.js lays over it. The stage is the full viewport width
   (concrete edge to edge, the lockup centred) and its height comes from CSS alone, so nothing shifts.
   Landscape: a wide band, at least 360px, 42vw, at most 720px and the viewport under the header; the
   16:9 media is cover-cropped top and bottom. Portrait (the same (orientation: portrait) query as the
   <picture> source and the script): 120vw, at most 80% of the viewport, the 9:16 media cover-cropped.
   The lockup sits in the media's title-safe centre, so neither crop ever cuts it. */
.kp-hero { position: relative; background: #2b2825; }
.kp-stage {
  position: relative; width: 100%; overflow: hidden; background: #2b2825;
  height: clamp(360px, 42vw, min(720px, calc(100vh - var(--header-h, 72px))));
}
@supports (height: 100svh) {
  .kp-stage { height: clamp(360px, 42vw, min(720px, calc(100svh - var(--header-h, 72px)))); }
}
@media (orientation: portrait) {
  .kp-stage { height: min(120vw, 80vh); }
  @supports (height: 100svh) {
    .kp-stage { height: min(120vw, 80svh); }
  }
}
.kp-stage picture { display: contents; }
.kp-poster, .kp-video {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center;
}
.kp-video { pointer-events: none; transition: opacity 0.3s ease; }
.kp-video.is-done { opacity: 0; }
/* Replay (shown by the script): a 44px round button in the bottom-right corner. Mouse users see it
   on hover or keyboard focus; touch screens always show it. */
.kp-replay {
  position: absolute; right: 16px; bottom: 16px; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%;
  background: rgba(21, 25, 28, 0.72); color: var(--concrete); cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.7);
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.kp-replay[hidden] { display: none; }
.kp-replay svg { width: 22px; height: 22px; fill: currentColor; }
.kp-replay:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.kp-replay:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .kp-replay { opacity: 0; }
  .kp-hero:hover .kp-replay, .kp-replay:focus-visible { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .kp-video:not(.is-forced) { display: none; }
  .kp-video, .kp-replay { transition: none; }
}
/* Home hero copy under the logo intro stage (D-20): the real h1 and CTAs, centred on brushed
   graphite. The stage above has a fixed aspect ratio, so this block never moves. */
.hero-intro-copy { display: block; min-height: 0; background: var(--brushed-dark); text-align: center; }
.hero-intro-copy .container {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 32px 0 48px;
}
.hero-intro-copy :is(.eyebrow, h1, .lead, .hero-actions, .hero-note) { margin: 0; }
.hero-intro-copy .eyebrow { flex-direction: column; gap: 8px; }
.hero-intro-copy .hero-actions { align-self: stretch; justify-content: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(21,25,28,0.92) 0%, rgba(21,25,28,0.7) 45%, rgba(21,25,28,0.25) 100%),
    linear-gradient(0deg, rgba(21,25,28,0.85) 0%, rgba(21,25,28,0) 40%);
}
.hero-content { position: relative; padding: 96px 0 72px; }
/* Light steel text with an orange rule in front: orange as small text would need a darker
   backdrop than the brushed sheen guarantees. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--accent); flex-shrink: 0; }
.hero h1 { font-size: clamp(1.85rem, 4.4vw, 3.4rem); font-weight: 400; margin-bottom: 18px; max-width: 900px; }
.shine {
  background: linear-gradient(100deg, #ffffff 0%, #c4c9cc 40%, #ffffff 55%, #9aa2a7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 560px; font-size: 1.125rem; color: #d6d8d5; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }

.hero-badges {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 14px;
}
.hero-badges li {
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(21,25,28,0.55);
  backdrop-filter: blur(6px);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.hero-badges strong { display: block; font: 400 1.3rem/1.1 var(--font-display); text-transform: uppercase; }
.hero-badges span { font-size: 0.85rem; color: var(--text-on-dark-muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding-top: 24px; }
.section-light { background: var(--paper); }
/* Light concrete (a seamless tile cut from the brand mockup's wall, every pixel between #E2E3E1
   and #F4F5F3), with a steel rule on top and bottom. Rust and muted text keep 4.5:1 on its
   darkest speck. */
.section-concrete {
  background: var(--concrete) url("/img/concrete-tile.webp") repeat;
  background-size: 256px 256px;
  border-block: 1px solid var(--line-steel);
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:not(.kicker) { color: var(--text-muted); font-size: 1.05rem; }
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 10px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--accent); flex-shrink: 0; }
.muted { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line-steel);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 22px 24px 26px; }
.service-body p { color: var(--text-muted); font-size: 0.95rem; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.9rem; font-weight: 500; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.service-card-cta {
  background: var(--brushed-dark);
  border-color: transparent;
  color: #fff;
  justify-content: center;
}
.service-card-cta .service-body { padding: 36px 30px; }
.service-card-cta p { color: var(--text-on-dark-muted); }
.cta-icon { width: 44px; height: 44px; fill: var(--accent); margin-bottom: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ba { margin: 0; }
.ba-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-3);
  user-select: none;
}
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; margin-left: -1.5px;
  background: #fff;
  pointer-events: none;
}
.ba-handle::after {
  content: "‹ ›";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  font: 700 1.1rem/1 var(--font-body); letter-spacing: 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
}
.ba-tag {
  position: absolute; top: 14px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(21,25,28,0.75); color: #fff;
  pointer-events: none;
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; background: var(--accent); color: var(--on-accent); }
.ba-frame { border: 1px solid var(--line-steel); box-shadow: var(--shadow); }
.ba figcaption { margin-top: 14px; color: var(--text-muted); }
.ba figcaption strong { color: var(--ink); }

/* ---------- Process ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line-steel);
  border-top: 4px solid var(--steel-grey);
  border-radius: var(--radius-sm);
}
.steps li::after {
  content: "";
  position: absolute; top: 46px; right: -21px;
  width: 22px; height: 2px; background: var(--line-steel);
}
.steps li:last-child::after { display: none; }
.step-num {
  display: block;
  font: 400 2.4rem/1 var(--font-display);
  color: var(--accent);
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* ---------- Why us / split ---------- */
.section-split {
  background: var(--concrete) url("/img/concrete-tile.webp") repeat;
  background-size: 256px 256px;
  border-block: 1px solid var(--line-steel);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-steel);
  box-shadow: var(--shadow);
}
blockquote {
  margin: 0 0 24px;
  padding: 4px 0 4px 18px;
  border-left: 4px solid var(--accent);
  font: 400 1.15rem/1.4 var(--font-display);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.why-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.why-list li { color: var(--text-muted); padding-left: 28px; position: relative; }
.why-list li::before {
  content: ""; position: absolute; left: 0; top: 0.4em;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(243,107,22,0.2);
}
.why-list strong { color: var(--text); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.g-item {
  padding: 0; border: 1px solid var(--line-steel); cursor: zoom-in;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-3);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.g-item:hover img { transform: scale(1.05); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.gallery-more { margin-top: 28px; color: var(--text-muted); }
.gallery-more a { color: var(--accent-text); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(1200px, 94vw); max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(21,25,28,0.92); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius-sm); margin: 0 auto; }
.lightbox-caption { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox-close {
  position: absolute; top: -46px; right: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; border: 0;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- Reviews + area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.review-card {
  position: relative;
  background: var(--brushed-dark); color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
}
.review-card p { color: var(--text-on-dark-muted); }
.thumb { width: 52px; height: 52px; fill: var(--accent); margin: 0 auto 14px; }
.review-big { font: 400 2.2rem/1 var(--font-display); text-transform: uppercase; color: #fff !important; margin-bottom: 12px; }
.review-card .btn-outline { color: #fff; border-color: var(--accent); }
.review-card .btn-outline:hover { color: var(--on-accent); }

.chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 16px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line-steel);
  font-weight: 600; font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line-steel);
  border-radius: var(--radius-sm);
  padding: 0 22px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--steel-grey);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-muted); padding-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-info > p { color: var(--text); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg {
  flex-shrink: 0;
  width: 44px; height: 44px; padding: 11px;
  border-radius: 12px; background: var(--ink); fill: var(--accent);
}
.contact-list span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; word-break: break-word; }
.contact-list a:hover { color: var(--accent-text); text-decoration: underline; }

.lead-form {
  background: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px;
  display: grid; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label {
  display: grid; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-on-dark-muted);
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--steel-grey);
  background: var(--ink-2);
  color: #fff;
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(243,107,22,0.35);
}
.lead-form .invalid { border-color: #e2685f; }
.lead-form input[type="file"] { padding: 10px; font-size: 0.9rem; color: var(--text-on-dark-muted); }
.lead-form input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px;
  border: 0; border-radius: 6px;
  background: var(--ink-3); color: #fff; font-weight: 600; cursor: pointer;
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.95rem; }
.form-status.ok { color: #6fd39b; }
.form-status.err { color: #ff8f86; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: 52px 0 28px;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--steel-sheen); pointer-events: none;
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand span { font-size: 0.85rem; }
.footer-nav, .footer-contact { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--text-on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }
.copyright a { text-decoration: underline; }
.copyright a:hover { color: var(--accent); }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .header-phone { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { height: 40px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line-steel);
    box-shadow: 0 16px 24px -18px rgba(21, 25, 28, 0.6);
    padding: 8px 16px 20px;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .main-nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line-steel); color: var(--ink); }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .header-cta { margin-left: auto; }

  .section { padding: 72px 0; }
  .hero { min-height: auto; }
  .hero-content { padding: 72px 0 56px; }
  .hero-plate .hero-content { padding: 36px 0 44px; }
  .hero-logo { margin-bottom: 22px; }
  .hero-badges { grid-template-columns: 1fr; max-width: 360px; }

  .ba-grid,
  .split,
  .area-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split-media img { aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    padding: 15px 8px; text-align: center;
    color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem;
    border-right: 1px solid var(--line-dark);
    display: flex; align-items: center; justify-content: center; gap: 6px;
  }
  .mobile-bar svg { width: 18px; height: 18px; fill: currentColor; }
  .mobile-bar a.mobile-bar-primary { background: var(--accent); color: var(--on-accent); border-right: 0 !important; }
  body { padding-bottom: 56px; }
}

@media (max-width: 600px) {
  .hero-intro-copy .container { padding: 24px 0 32px; }
  .hero-plate::before { inset: 8px; }
  .header-cta .btn { display: none; }
  .services-grid,
  .steps,
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .lead-form { padding: 22px 18px; }
  .review-card { padding: 32px 22px; }
  .gallery { grid-auto-rows: 140px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Multi-page additions (service + area pages, quote dialog)
   ========================================================= */

/* ---------- OWNER placeholders: must stand out until confirmed ---------- */
.owner-todo {
  display: inline;
  background: #ffe14d;
  color: #1a1a1a;
  border: 2px dashed #c62828;
  border-radius: 4px;
  padding: 0 0.3em;
  font: 700 0.9em/1.5 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.owner-todo a { color: #1a1a1a; }

/* ---------- Nav state ---------- */
.main-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- Hero extras ---------- */
.hero-note { color: #d6d8d5; font-size: 0.95rem; margin: 0; max-width: 640px; }
.hero-note strong { color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
  background: var(--ink); color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--steel-sheen); pointer-events: none;
}
.page-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-content { padding: 72px 0 48px; }
.page-hero h1 { font-size: clamp(1.8rem, 4.4vw, 3.1rem); font-weight: 400; margin-bottom: 14px; max-width: 860px; }
.page-hero .lead { margin-bottom: 24px; }

.breadcrumbs { font-size: 0.85rem; margin-bottom: 14px; color: var(--text-on-dark-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.breadcrumbs a { color: var(--text-on-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */
/* Brushed light-steel band under the hero. */
.trust-strip {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.35) 0 1px, rgba(0, 0, 0, 0.025) 1px 2px, transparent 2px 3px),
    linear-gradient(180deg, #F1F3F4 0%, var(--steel-light) 55%, #DDE1E3 100%);
  border-bottom: 1px solid var(--line-steel);
  color: var(--ink);
}
.trust-list {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center;
  font-size: 0.92rem; font-weight: 600;
}
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list svg { width: 18px; height: 18px; fill: var(--accent-strong); flex-shrink: 0; }

/* ---------- Generic content ---------- */
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 1.05rem; }
.prose ul { padding-left: 1.2em; }
/* Legal pages: /privacy/ and /sms-terms/ (UI-SPEC L3) */
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.5rem; margin: 48px 0 16px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.photo-stack { display: grid; gap: 14px; }
.photo-stack img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.service-card a.card-link { color: inherit; text-decoration: none; }
.service-card a.card-link::after { content: ""; position: absolute; inset: 0; }
.service-card { position: relative; }
.more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--accent-text); }

.link-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.link-cards a {
  display: block; height: 100%; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line-steel); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .2s;
}
.link-cards a:hover { border-color: var(--accent); transform: translateY(-2px); }
.link-cards strong { display: block; font: 400 1.1rem/1.2 var(--font-display); text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.link-cards span { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- Pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line-steel); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-weight: 600; width: 46%; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table small { display: block; color: var(--text-muted); font-weight: 400; }
.price-notes { margin-top: 18px; color: var(--text-muted); }

/* ---------- Job facts (town pages) ---------- */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0 0 24px; }
.facts dt { font-weight: 700; color: var(--text); }
.facts dd { margin: 0; color: var(--text-muted); }

/* ---------- Reviews placeholder ---------- */
.review-card .owner-todo { display: inline-block; margin: 6px 0 18px; }

/* ---------- Counties ---------- */
.county-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.county {
  background: #fff; border: 1px solid var(--line-steel); border-radius: var(--radius);
  padding: 20px 22px;
}
.county h3 { font-size: 1.15rem; margin-bottom: 10px; }
.county ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.county li a { font-weight: 600; }
.county .tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-text); margin-left: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--brushed-dark); color: #fff; padding: 64px 0;
}
.cta-band::before,
.cta-band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 4px;
  background: var(--steel-sheen); pointer-events: none;
}
.cta-band::before { top: 0; }
.cta-band::after { bottom: 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--text-on-dark-muted); margin: 0; max-width: 560px; }
.cta-band .hero-actions { margin: 0; }

/* ---------- Quote dialog ---------- */
.quote-dialog {
  width: min(620px, 100% - 24px); max-height: calc(100% - 24px);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 0; background: var(--ink); color: var(--text-on-dark);
  overflow: auto;
}
.quote-dialog::backdrop { background: rgba(21, 25, 28, 0.85); }
.quote-inner { position: relative; padding: 28px 28px 24px; }
.quote-inner h2 { font-size: clamp(1.5rem, 4.4vw, 2rem); margin-bottom: 6px; }
.quote-sub { color: var(--text-on-dark-muted); margin-bottom: 18px; }
.quote-close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; border: 0;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.quote-dialog .lead-form { padding: 0; background: transparent; border: 0; }
.lead-form .optional { font-weight: 400; color: var(--text-on-dark-muted); }
.form-fine { font-size: 0.8rem; color: var(--text-on-dark-muted); margin: 0; }
.form-fine a { color: var(--accent-text); }
/* SMS consent checkbox (D-31, UI-SPEC L2). `.lead-form` prefix overrides the generic
   `.lead-form label` / `.lead-form input` rules for this one row. */
.lead-form .consent-check {
  display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start;
  min-height: 44px; font-size: 0.875rem; font-weight: 400; color: var(--text-on-dark); cursor: pointer;
}
.lead-form .consent-check input { width: 20px; height: 20px; margin: 0; padding: 0; accent-color: var(--accent); }
/* The generic .lead-form input:focus rule swaps the outline for a box-shadow, which Safari and some
   other engines do not draw on a native checkbox; keep a real outline on the consent box
   (kopkocrm REVIEW-FIX D-IN-13). */
.lead-form .consent-check input:focus { box-shadow: none; }
.lead-form .consent-check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: none; }
.consent-fine { margin: -8px 0 0 28px; font-size: 0.875rem; line-height: 1.5; color: var(--text-on-dark-muted); }
.consent-fine a { color: var(--accent-text); }
/* hidden must win over the display rules above: the SMS opt-in (D-10) and the form after a send. */
.lead-form[hidden], .lead-form [hidden] { display: none !important; }
/* Quote photos (LITE-03, D-07, UI-SPEC L3): built by js/main.js with createElement only. */
.photo-picker { display: grid; gap: 8px; justify-items: start; }
.photo-label { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--text-on-dark-muted); }
.photo-add { min-height: 44px; }
.photo-add svg { width: 16px; height: 16px; fill: currentColor; }
.photo-add:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.photo-hint, .photo-count, .photo-fallback { margin: 0; font-size: 0.875rem; color: var(--text-on-dark-muted); }
.photo-count:empty, .photo-error:empty { display: none; }
.photo-fallback a { color: var(--accent-text); }
.photo-error { margin: 0; font-size: 0.875rem; color: #ff8f86; }
.photo-error-line { display: block; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, 96px); gap: 8px; width: 100%; }
.photo-grid:empty { display: none; }
.photo-tile {
  position: relative; width: 96px; height: 96px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: var(--ink-2);
}
.photo-tile img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.photo-tile.is-loading::after {
  content: "\2026"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; color: var(--text-on-dark-muted);
}
.photo-remove {
  position: absolute; top: 4px; right: 4px;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.photo-remove::before { content: ""; position: absolute; inset: -6px; }
.turnstile-slot { min-height: 68px; }
.quote-result { padding: 8px 0 4px; }
.quote-result p { font-size: 1.05rem; }
.quote-result .cta-actions { margin-top: 14px; }
.quote-result.ok h3 { color: #6fd39b; }
.quote-result.err h3 { color: #ff8f86; }
.noscript-note { background: #ffe14d; color: #1a1a1a; padding: 10px 16px; text-align: center; font-weight: 600; }

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { min-height: 320px; }
  .page-hero .hero-content { padding: 56px 0 36px; }
  .cta-band { padding: 48px 0; }
}
@media (max-width: 600px) {
  .trust-list { gap: 10px 18px; font-size: 0.86rem; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .price-table th, .price-table td { display: block; width: auto; padding: 12px 16px; }
  .price-table th { border-bottom: 0; padding-bottom: 0; }
  .quote-inner { padding: 22px 18px 18px; }
  .cta-band .hero-actions .btn { flex: 1 1 100%; }
}
