/* ==========================================================================
   Domestic Utilities Service — design system
   Palette taken from the brand: the real logo's charcoal/steel greys and the
   #F2D701 accent already used across the live site.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts --- */
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora.woff2") format("woff2-variations"),
       url("/assets/fonts/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2-variations"),
       url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens --- */
:root {
  /* brand colour (matches the yellow already used on the live site) */
  --brand: #f2d701;          /* accent on dark surfaces  (13.0:1 on --ink) */
  --brand-600: #d9c000;      /* hover / borders — non-text use */
  --brand-700: #7f7000;      /* accent text on white     (4.98:1) */
  --brand-soft: rgba(242, 215, 1, 0.12);
  --on-brand: #12161a;

  /* ink scale (derived from the logo's charcoal band #545454) */
  --ink: #0e1116;
  --ink-2: #151a20;
  --ink-3: #1d242c;
  --ink-4: #2a323b;

  /* light surfaces */
  --paper: #ffffff;
  --mist: #f5f7f9;
  --mist-2: #eef1f4;

  /* text */
  --text: #1c2228;
  --muted: #5c666f;          /* 5.86:1 on white */
  --muted-2: #67707a;        /* 5.03:1 on white — small meta text */
  --on-dark: #ffffff;
  --on-dark-muted: #a9b2ba;

  --line: #e2e6ea;
  --line-dark: rgba(255, 255, 255, 0.12);
  --steel: #b4b4b4;

  /* type */
  --display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* radii */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* shadow */
  --sh-1: 0 1px 2px rgba(14, 17, 22, 0.05), 0 2px 8px rgba(14, 17, 22, 0.04);
  --sh-2: 0 4px 12px rgba(14, 17, 22, 0.07), 0 14px 34px rgba(14, 17, 22, 0.07);
  --sh-3: 0 18px 48px rgba(14, 17, 22, 0.14);
  --sh-brand: 0 10px 26px rgba(217, 192, 0, 0.32);

  --wrap: 1200px;
  --gap: clamp(1rem, 2.4vw, 1.75rem);
  --sec-y: clamp(2.25rem, 4.5vw, 4.25rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --head-h: 74px;
}

/* ---------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* keep in-page anchor targets clear of the sticky header */
[id] { scroll-margin-top: calc(var(--head-h) + 28px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 1.02rem + 0.42vw, 1.34rem); }
h4 { font-size: 1.06rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* No colour here on purpose: <strong> appears inside dark hero/footer panels
   where inheriting the body ink colour would render invisible text. */
strong { font-weight: 650; }
::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.75rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.05rem, 4vw, 2rem); }
.ico { display: inline-block; flex: none; vertical-align: middle; }
.ico-xs { width: 14px; height: 14px; }
.ico-sm { width: 16px; height: 16px; }

/* -------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.945rem; font-weight: 600; letter-spacing: 0.005em;
  padding: 0.72rem 1.25rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-ghost { color: rgba(255, 255, 255, 0.88); padding-inline: 0.7rem; }
.btn-ghost:hover { color: var(--brand); }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------- topbar --- */
.topbar {
  background: var(--ink); color: #c4ccd3; font-size: 0.845rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 40px; flex-wrap: wrap;
}
.topbar-note { margin: 0; display: flex; align-items: center; gap: 0.45rem; }
.topbar-links { display: flex; align-items: center; gap: 1.25rem; }
.topbar-links a, .topbar-links .topbar-hours {
  display: inline-flex; align-items: center; gap: 0.4rem; color: #c4ccd3;
}
.topbar-links a { transition: color 0.15s; }
.topbar-links a:hover { color: var(--brand); }

/* --------------------------------------------------------------- header --- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  /* Dark chrome so the top bar, header and dark hero read as one block. */
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-head.is-stuck { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34); }
.head-in { display: flex; align-items: center; gap: 1.25rem; min-height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex: none; color: #fff; }
.brand-mark { display: inline-flex; line-height: 0; filter: drop-shadow(0 4px 10px rgba(242, 215, 1, 0.22)); }
.brand-mark svg { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong {
  font-family: var(--display); font-size: 0.96rem; font-weight: 700;
  letter-spacing: 0.005em; color: #fff;
}
.brand-text em {
  font-style: normal; font-size: 0.7rem; letter-spacing: 0.17em;
  text-transform: uppercase; color: #b6bfc7; font-weight: 500; margin-top: 0.15rem;
}

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 0.15rem; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.6rem 0.7rem; border-radius: var(--r-sm);
  font-size: 0.925rem; font-weight: 550; color: rgba(255, 255, 255, 0.86);
  transition: color 0.15s, background 0.15s;
}
.nav-item > a:hover { color: var(--brand); background: rgba(255, 255, 255, 0.07); }
.nav-item.is-active > a { color: #fff; font-weight: 680; }
.nav-item.is-active > a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.1rem;
  height: 2.5px; background: var(--brand); border-radius: 3px;
}
.nav-item { position: relative; }
.nav-item > a { position: relative; }
.nav-item > a .ico { transition: transform 0.2s var(--ease); opacity: 0.55; }
.nav-item.has-sub:hover > a .ico { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 268px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-2); padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 20;
}
.nav-item.has-sub:hover .submenu,
.nav-item.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu ul { display: grid; gap: 1px; }
.submenu a {
  display: block; padding: 0.5rem 0.7rem; border-radius: var(--r-sm);
  font-size: 0.9rem; color: var(--text); transition: background 0.14s, color 0.14s;
}
.submenu a:hover { background: var(--mist); color: var(--ink); }
.submenu-all {
  display: flex; align-items: center; gap: 0.4rem; margin-top: 0.35rem;
  padding: 0.6rem 0.7rem; border-top: 1px solid var(--line);
  font-size: 0.87rem; font-weight: 650; color: var(--brand-700);
}
.submenu-all .ico { transition: transform 0.18s var(--ease); }
.submenu-all:hover .ico { transform: translateX(3px); }

.head-cta { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.head-tel span { font-variant-numeric: tabular-nums; }
.burger {
  display: none; background: none; border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-sm); padding: 0.45rem; color: #fff; cursor: pointer;
}
.burger:hover { border-color: #fff; }

/* ----------------------------------------------------------------- hero --- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -4;
  background-image: url('/assets/img/hero-bg.jpg');
  background-size: cover; background-position: center 45%;
  opacity: 0.48;
  filter: saturate(1.2) contrast(1.08);
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(90deg, rgba(14, 17, 22, 0.90) 0%, rgba(14, 17, 22, 0.68) 48%, rgba(14, 17, 22, 0.35) 100%),
              linear-gradient(180deg, rgba(14, 17, 22, 0.25) 0%, rgba(14, 17, 22, 0.85) 100%);
  pointer-events: none;
}
.hero-grid, .page-hero .hero-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 78%);
}
.hero-glow, .page-hero .hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -260px; top: -420px;
  background: radial-gradient(circle, rgba(242, 215, 1, 0.11), rgba(242, 215, 1, 0) 62%);
  filter: blur(28px);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--brand); }
.hero-lead { font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.16rem); color: var(--on-dark-muted); max-width: 54ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.755rem; font-weight: 650; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand-700);
  margin: 0 0 0.9rem;
}
.hero .eyebrow, .page-hero .eyebrow { color: var(--brand); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
}
.hero-trust li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--on-dark-muted); }
.hero-trust .ico { color: var(--brand); margin-top: 0.22rem; }
.hero-trust strong { display: block; color: #fff; font-weight: 620; font-size: 0.92rem; }

/* hero card */
.hero-card {
  background-color: rgba(10, 13, 17, 0.62);
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-xl);
  padding: clamp(1.4rem, 3vw, 2rem); backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}
.hero-card h2 { color: #fff; font-size: 1.16rem; margin-bottom: 0.35rem; }
.hero-card > p { color: #bcc5cd; font-size: 0.89rem; margin-bottom: 1.25rem; }
.hero-card-list { display: grid; gap: 0.1rem; margin-bottom: 1.4rem; }
.hero-card-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.62rem 0.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.9rem; color: #eef1f4; font-weight: 500;
  transition: color 0.15s, padding-left 0.18s var(--ease);
}
.hero-card-list a:hover { color: var(--brand); padding-left: 0.4rem; }
.hero-card-list .ico { color: rgba(255, 255, 255, 0.55); }
.hero-card-list a:hover .ico { color: var(--brand); }

/* ----------------------------------------------------------- page hero --- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(2.5rem, 5vw, 4.25rem) 0 clamp(2.25rem, 4.5vw, 3.75rem); isolation: isolate; }
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero-lead { color: var(--on-dark-muted); font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1rem); max-width: 62ch; }
.page-hero-in { position: relative; z-index: 1; }

.page-hero.has-hero-bg .page-hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background-size: cover; background-position: center 40%;
  opacity: 0.42; filter: saturate(1.2) contrast(1.08);
}
.page-hero.has-hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(14, 17, 22, 0.90) 0%, rgba(14, 17, 22, 0.72) 55%, rgba(14, 17, 22, 0.45) 100%),
              linear-gradient(180deg, rgba(14, 17, 22, 0.25) 0%, rgba(14, 17, 22, 0.88) 100%);
  pointer-events: none;
}

/* The breadcrumb sits in a full-width dark bar so the header and hero
   read as one continuous dark surface with zero white side gaps. */
.crumbs-bar {
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
}
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: 0.855rem; color: var(--on-dark-muted);
  padding-top: 0.85rem; padding-bottom: 0.85rem;
}
.crumbs a { color: rgba(255, 255, 255, 0.78); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: rgba(255, 255, 255, 0.28); }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* -------------------------------------------------------------- sections --- */
.sec { padding: var(--sec-y) 0; }
.sec-tint { background: var(--mist); }
.sec-dark { background: var(--ink); color: var(--on-dark-muted); }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-head { max-width: 68ch; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head .sec-lead, .sec-lead { color: var(--muted); font-size: 1.03rem; margin: 0; }
.sec-head h2 { margin-bottom: 0.7rem; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.sec-head-row .sec-head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }

/* -------------------------------------------------------- service cards --- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease), border-color 0.26s var(--ease);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(14, 17, 22, 0.04);
}
.svc-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3.5px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
  z-index: 3;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(14, 17, 22, 0.12); border-color: rgba(242, 215, 1, 0.45); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-card-head {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--ink); overflow: hidden;
}
.svc-card-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s var(--ease);
}
.svc-card:hover .svc-card-img { transform: scale(1.07); }
.svc-card-head-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.08) 0%, rgba(14, 17, 22, 0.48) 100%);
  pointer-events: none;
  transition: background 0.3s var(--ease);
}
.svc-card:hover .svc-card-head-overlay {
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.02) 0%, rgba(14, 17, 22, 0.32) 100%);
}
.svc-card-head .svc-ico {
  position: absolute; bottom: 12px; left: 16px; z-index: 2; margin-bottom: 0;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: var(--on-brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease);
}
.svc-card:hover .svc-card-head .svc-ico { transform: scale(1.08); }

.svc-card-body {
  display: flex; flex-direction: column; flex: 1;
  padding: 1.25rem 1.4rem 1.4rem; gap: 0.55rem;
}
.svc-card-body h3 { margin: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.svc-card-body h3 a { color: var(--ink); transition: color 0.16s; }
.svc-card-body h3 a::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
}
.svc-card:hover .svc-card-body h3 a { color: var(--brand-700); }
.svc-card-body p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.5; flex: 1; }
.svc-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 650; color: var(--ink);
  margin-top: 0.4rem; transition: color 0.15s, gap 0.2s var(--ease);
}
.svc-more .ico { transition: transform 0.2s var(--ease); }
.svc-card:hover .svc-more { color: var(--brand-700); gap: 0.55rem; }
.svc-card:hover .svc-more .ico { transform: translateX(4px); }

/* ------------------------------------------------------------- metrics --- */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.metric { background: #fff; padding: clamp(1.2rem, 2.4vw, 1.7rem); }
.metric .ico { color: var(--brand-700); margin-bottom: 0.7rem; }
.metric h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.metric p { font-size: 0.885rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- steps --- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.3rem, 2.6vw, 1.8rem); }
.step-n {
  display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 700;
  color: var(--brand-700); margin-bottom: 0.6rem; letter-spacing: -0.03em;
}
.step h3 { font-size: 1.04rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- ticks --- */
.ticks { display: grid; gap: 0.6rem; }
.ticks li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.945rem; color: var(--text); }
.ticks .ico { color: var(--brand-700); margin-top: 0.28rem; }
/* Any tick list sitting on a dark surface must switch to the light palette. */
.hero .ticks li,
.page-hero .ticks li,
.sec-dark .ticks li,
.panel-dark .ticks li,
.cta-band .ticks li,
.site-foot .ticks li { color: var(--on-dark-muted); }
.hero .ticks .ico,
.page-hero .ticks .ico,
.sec-dark .ticks .ico,
.panel-dark .ticks .ico,
.cta-band .ticks .ico,
.site-foot .ticks .ico { color: var(--brand); }
.ticks-2col { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------------------------------------------------------- two-column --- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: var(--sh-1); }
.panel-dark { background: var(--ink-2); border-color: var(--line-dark); color: var(--on-dark-muted); }
.panel-dark h3, .panel-dark h2 { color: #fff; }
.panel-dark strong, .panel-dark span, .panel-dark p { color: inherit; }
.panel-dark a:not(.btn) { color: var(--brand); }
.panel-dark a:not(.btn):hover { color: #fff; }
.panel-tint { background: var(--mist); }

/* ---------------------------------------------------------------- jobs --- */
.jobs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.job { background: #fff; padding: clamp(1.15rem, 2.4vw, 1.55rem); transition: background 0.2s; }
.job:hover { background: var(--mist); }
.job h3 { font-size: 1.02rem; margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.55rem; }
.job h3 .ico { color: var(--brand-700); }
.job p { font-size: 0.91rem; color: var(--muted); margin: 0; }

/* ----------------------------------------------------------------- faq --- */
.faq-list { display: grid; gap: 0.7rem; max-width: 900px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item[open] { border-color: #d8dde2; box-shadow: var(--sh-1); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { color: var(--muted-2); transition: transform 0.25s var(--ease); flex: none; }
.faq-item[open] summary .ico { transform: rotate(180deg); color: var(--brand-700); }
.faq-body { padding: 0 1.25rem 1.2rem; border-top: 1px solid var(--line); }
.faq-body p { padding-top: 1rem; margin: 0; color: var(--muted); font-size: 0.945rem; }

/* --------------------------------------------------------------- forms --- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.845rem; font-weight: 620; color: var(--ink); }
.field label .req { color: #b3261e; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 0.95rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 0.72rem 0.85rem; width: 100%; transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field input:invalid:not(:placeholder-shown) { border-color: #d93025; }
.field-hint { font-size: 0.8rem; color: var(--muted-2); }
.form-note { font-size: 0.815rem; color: var(--muted-2); margin-top: 0.9rem; }
.form-status { margin-top: 1rem; font-size: 0.9rem; font-weight: 600; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #b3261e; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.855rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--brand-600); flex: none; }

/* ----------------------------------------------------------- cta band --- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(242, 215, 1, 0.22), transparent 52%);
}
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-in p { color: var(--on-dark-muted); max-width: 58ch; margin: 0; font-size: 0.97rem; }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ------------------------------------------------------------- pricing --- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: var(--gap); align-items: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 2.8vw, 1.9rem); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.price-card.feature { border-color: var(--brand-600); box-shadow: var(--sh-2); }
.price-tag { display: inline-flex; align-items: baseline; gap: 0.35rem; margin: 0.4rem 0 0.9rem; }
.price-tag .amt { font-family: var(--display); font-size: 2.1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.price-tag .per { font-size: 0.85rem; color: var(--muted); }
.badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; background: var(--brand); color: var(--on-brand); border-radius: var(--r-pill); padding: 0.24rem 0.6rem; }
.badge-muted { background: var(--mist-2); color: var(--muted); }
.price-card h3 { font-size: 1.12rem; margin: 0.6rem 0 0.2rem; }
.price-card > p { font-size: 0.9rem; color: var(--muted); }
.price-card .ticks { margin: 1.1rem 0 1.4rem; }

/* -------------------------------------------------------------- notice --- */
.notice { display: flex; gap: 0.85rem; align-items: flex-start; background: #fff9df; border: 1px solid #f0df94; border-left: 4px solid var(--brand-600); border-radius: var(--r); padding: 1rem 1.15rem; font-size: 0.9rem; color: #5b4d05; }
.notice .ico { color: var(--brand-700); margin-top: 0.15rem; }
.notice strong { color: #3f3500; display: block; margin-bottom: 0.2rem; }
.notice p { margin: 0; }

/* --------------------------------------------------------------- lists --- */
.prose { max-width: 72ch; }
.svc-lead-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(14, 17, 22, 0.08);
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.svc-lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; }
.prose ul, .prose ol { display: grid; gap: 0.5rem; margin: 0 0 1.2em; }
.prose ul li { display: flex; gap: 0.6rem; }
.prose ul li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.62em; border-radius: 50%; background: var(--brand); }
.prose ol { counter-reset: o; }
.prose ol li { display: flex; gap: 0.6rem; }
.prose ol li::before { counter-increment: o; content: counter(o) "."; font-weight: 700; color: var(--brand-700); }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { margin: 0 0 1.2em; padding: 0.4rem 0 0.4rem 1.2rem; border-left: 3px solid var(--brand); color: var(--muted); font-style: italic; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.855rem; color: var(--muted-2); margin-bottom: 1.4rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* ------------------------------------------------------------ card grids --- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: var(--gap); }
.post-card { display: flex; flex-direction: column; gap: 0.65rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.2rem, 2.4vw, 1.6rem); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.post-card h3 { font-size: 1.08rem; margin: 0; }
.post-card p { font-size: 0.91rem; color: var(--muted); margin: 0; flex: 1; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-700); }
.post-meta { font-size: 0.815rem; color: var(--muted-2); display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* person / project placeholders */
.ph-card { background: #fff; border: 1px dashed #c9d0d7; border-radius: var(--r-lg); padding: 1.3rem; text-align: center; }
.ph-avatar { width: 74px; height: 74px; border-radius: 50%; background: var(--mist-2); display: grid; place-items: center; margin: 0 auto 0.9rem; color: var(--muted-2); }
.ph-card h3 { font-size: 1rem; margin: 0 0 0.2rem; color: var(--muted); }
.ph-card p { font-size: 0.86rem; color: var(--muted-2); margin: 0; }
.ph-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--mist-2); color: var(--muted); border-radius: var(--r-pill); padding: 0.2rem 0.55rem; margin-bottom: 0.6rem; }

/* -------------------------------------------------------------- sidebar --- */
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 3.25rem); align-items: start; }
.side-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; }
.side-card h3 { font-size: 1rem; margin-bottom: 0.8rem; }
.side-note { font-size: 0.8rem; color: var(--muted); margin: 0.9rem 0 0; }
.side-list { display: grid; gap: 0.2rem; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.55rem 0.7rem; border-radius: var(--r-sm); font-size: 0.9rem; color: var(--text); transition: background 0.15s, color 0.15s; }
.side-list a:hover, .side-list a.is-active { background: #fff; color: var(--ink); font-weight: 600; }
.side-sticky { position: sticky; top: calc(var(--head-h) + 16px); display: grid; gap: 1rem; }

/* --------------------------------------------------------------- footer --- */
.site-foot { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(2.75rem, 5vw, 4rem); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr); gap: clamp(1.75rem, 3.5vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.site-foot .brand-mark svg { width: 40px; height: 40px; }
.foot-brand .brand-text strong { color: #fff; }
.foot-brand .brand-text em { color: var(--on-dark-muted); }
.foot-brand > p { font-size: 0.9rem; margin: 1.1rem 0 1.4rem; max-width: 42ch; }
.foot-contact { display: grid; gap: 0.6rem; }
.foot-contact li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; }
.foot-contact .ico { color: var(--brand); margin-top: 0.22rem; }
.foot-contact a:hover { color: var(--brand); }
.foot-col h2 { font-family: var(--display); font-size: 0.79rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.foot-col ul { display: grid; gap: 0.5rem; }
.foot-col a { font-size: 0.895rem; transition: color 0.15s; }
.foot-col a:hover { color: var(--brand); }
.acc-list li { font-size: 0.865rem; display: flex; align-items: flex-start; gap: 0.55rem; }
.acc-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-top: 0.5rem; }
.foot-note { font-size: 0.78rem; color: var(--on-dark-muted); margin: 0.9rem 0 0; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.4rem 0; border-top: 1px solid var(--line-dark); }
.foot-bottom p { font-size: 0.8rem; margin: 0; color: var(--on-dark-muted); }
.foot-bottom ul { display: flex; gap: 1.25rem; font-size: 0.8rem; }
.foot-bottom a:hover { color: var(--brand); }

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

/* ---------------------------------------------------------- reveal anim --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ================================================================ layout === */
@media (max-width: 1240px) {
  .head-tel { display: none; }
}
@media (max-width: 1100px) {
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  :root { --head-h: 66px; }
  .nav { display: none; }
  .burger { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .head-tel { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .split, .split-wide { grid-template-columns: 1fr; }
  .layout-side { grid-template-columns: 1fr; }
  .side-sticky { position: static; }

  /* mobile drawer: absolutely positioned against the sticky header so it sits
     directly beneath it whether or not the page is scrolled, and scrolls
     internally rather than overflowing the viewport. */
  .nav.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100dvh - var(--head-h));
    background: #fff; color: var(--ink); margin: 0;
    padding: 1.1rem clamp(1.05rem, 4vw, 2rem) 2rem;
    overflow-y: auto; overscroll-behavior: contain; z-index: 99;
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.3);
    animation: drawer 0.26s var(--ease);
  }
  @keyframes drawer { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-item > a { padding: 0.95rem 0.15rem; font-size: 1.02rem; width: 100%; min-height: 52px;
    justify-content: space-between; color: var(--ink); }
  .nav-item > a:hover { color: var(--brand-700); background: transparent; }
  .nav-item.is-active > a::after { display: none; }
  .nav-item.is-active > a { color: var(--brand-700); }
  .submenu {
    position: static; left: auto; translate: none; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 0.6rem 0.3rem; min-width: 0; width: auto; display: none;
  }
  /* drawer rows are thumb targets, not text links */
  .submenu a { min-height: 44px; display: flex; align-items: center; padding: 0.7rem; }
  .submenu-all { min-height: 44px; }
  .nav-item.has-sub.is-expanded .submenu { display: block; }
  .nav-item.has-sub > a .ico { transform: rotate(0); }
  .nav-item.has-sub.is-expanded > a .ico { transform: rotate(180deg); }
  .submenu-all { border-top: 0; padding-left: 0.7rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
    width: 100%; max-width: 100vw; box-sizing: border-box;
    padding-bottom: calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 0.55rem clamp(1.05rem, 4vw, 2rem) calc(0.55rem + env(safe-area-inset-bottom));
  }
  .mobile-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    min-height: 48px; padding: 0.72rem 0.6rem;
    border-radius: var(--r-pill); font-size: 0.925rem; font-weight: 650;
  }
  .mb-call { border: 1.5px solid var(--line); color: var(--ink); }
  .mb-quote { background: var(--brand); color: var(--on-brand); }
  body { padding-bottom: 4.5rem; }
}
@media (max-width: 760px) {
  /* The sticky mobile action bar already carries both CTAs, so the header
     button is dropped before it can crowd (or overflow) the row. */
  .head-cta .btn-primary { display: none; }
  .head-in { gap: 0.75rem; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .topbar-note, .topbar-hours { display: none; }
  .topbar-in { justify-content: center; }
  /* the fixed action bar is ~70px plus the iOS safe area */
  body { padding-bottom: 6rem; }
  .field textarea { resize: none; }
  .brand-text strong { font-size: 0.9rem; }
  .brand-text em { font-size: 0.58rem; letter-spacing: 0.18em; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 1rem 1.5rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .brand-mark svg { width: 38px; height: 38px; }
  .brand-text strong { font-size: 0.82rem; }
  .cta-actions .btn, .hero-actions .btn { width: 100%; }
}

@media print {
  .site-head, .topbar, .mobile-bar, .cta-band, .site-foot { display: none; }
  body { font-size: 12pt; }
}
