/* =====================================================================
   Blue Line Plumbing - style.css
   Visual system: "Clean & Trustworthy" - bright, crisp, blue & white.
   Orange (--urgent) is reserved EXCLUSIVELY for Call Now / 24-7 CTAs.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:        #FFFFFF;
  --bg-2:      #F4F7FB;
  --primary:   #0E4F94;
  --mid:       #1E73C4;
  --urgent:    #FF6B35;
  --urgent-dk: #E85420;
  --text:      #152538;
  --text-dim:  #5A6B7E;
  --line:      #E3EAF2;
  --white:     #FFFFFF;

  --primary-grad: linear-gradient(135deg, #1E73C4 0%, #0E4F94 100%);
  --urgent-grad:  linear-gradient(135deg, #FF7A45 0%, #FF6B35 100%);

  --shadow-sm: 0 2px 8px rgba(14, 79, 148, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 79, 148, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 79, 148, 0.16);
  --shadow-urgent: 0 8px 24px rgba(255, 107, 53, 0.35);

  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1200px;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: var(--mid); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }

:focus-visible {
  outline: 3px solid var(--mid);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

.section__head { max-width: 980px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); text-wrap: balance; }
.section__head .eyebrow { margin-bottom: 12px; }
.section__head p { text-wrap: pretty; }
.section__head p { margin-top: 16px; color: var(--text-dim); font-size: clamp(1.02rem, 1.6vw, 1.18rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--urgent {
  background: var(--urgent-grad);
  color: #fff;
  box-shadow: var(--shadow-urgent);
}
.btn--urgent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,107,53,.45); }

.btn--primary {
  background: var(--primary-grad);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { color: var(--primary); background: #fff; border-color: #fff; }

.btn--lg { padding: 18px 34px; font-size: 1.06rem; }

.btn__pulse::before {
  content: "";
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 48px);
  max-width: 1320px;
  margin: 0 auto;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -.02em;
  color: #fff;
  transition: color .3s var(--ease);
}
.site-header.is-scrolled .brand-logo { color: var(--primary); }
.brand-logo__mark {
  width: 34px; height: 34px; flex: none;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: rgba(255,255,255,.92);
}
.site-header.is-scrolled .nav__links a { color: var(--text); }
.nav__links a:hover { color: var(--urgent); }
.site-header.is-scrolled .nav__links a:hover { color: var(--mid); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__actions .btn { padding: 12px 20px; font-size: .94rem; }

.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__media { position: absolute; inset: 0; z-index: 1; }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,28,54,.62) 0%, rgba(8,28,54,.20) 35%, rgba(8,28,54,.12) 60%, rgba(8,28,54,.55) 100%),
    linear-gradient(90deg, rgba(8,28,54,.55) 0%, rgba(8,28,54,0) 55%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.hero__content { max-width: 720px; color: #fff; }
.hero .eyebrow { color: #8FCBFF; }
.hero__headline {
  color: #fff;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  margin: 18px 0 0;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__sub {
  color: rgba(255,255,255,.92);
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  margin: 22px 0 0;
  max-width: 600px;
  text-shadow: 0 1px 16px rgba(0,0,0,.3);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.85);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll-hint span { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(6px); } }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- 2. Emergency strip ---------- */
.emergency {
  background: var(--urgent-grad);
  color: #fff;
}
.emergency__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: clamp(26px, 4vw, 40px);
  padding-bottom: clamp(26px, 4vw, 40px);
  flex-wrap: wrap;
}
.emergency__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.emergency__kicker .icon { width: 1.05em; height: 1.05em; }
.emergency__line { margin-top: 6px; color: rgba(255,255,255,.92); font-size: 1.05rem; }
.emergency__call {
  background: #fff;
  color: var(--urgent-dk);
  padding: 16px 26px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  font-size: 1.05rem;
}
.emergency__call:hover { color: var(--urgent-dk); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.24); }
.emergency__call .icon { color: var(--urgent); width: 1.4em; height: 1.4em; }
.emergency__call span span { display: block; text-align: left; }
.emergency__call-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.emergency__call-num { font-size: 1.18rem; line-height: 1.1; }
.emergency__call.btn__pulse::before { background: var(--urgent); box-shadow: 0 0 0 0 rgba(255,107,53,.6); }

/* ---------- 3. Services: Mosaic ---------- */
.services { background: var(--bg); position: relative; overflow-x: clip; }
/* Depth: drafting grids fading out from the bottom-left and top-right corners. */
.services::before, .services::after {
  content: ""; position: absolute; width: min(520px, 60vw); height: 420px;
  pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
}
.services::after {
  left: 0; bottom: 0;
  -webkit-mask: radial-gradient(circle at 0 100%, #000, transparent 70%);
          mask: radial-gradient(circle at 0 100%, #000, transparent 70%);
}
.services::before {
  right: 0; top: 0; background-position: right top;
  -webkit-mask: radial-gradient(circle at 100% 0, #000, transparent 70%);
          mask: radial-gradient(circle at 100% 0, #000, transparent 70%);
}
.services .container { position: relative; z-index: 1; }
/* Three columns, nine cells: the emergency card spans 2 x 2, two cards
   stack beside it, three close the spread. One card style throughout. */
.mz {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.mz__tile {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(14,79,148,.06), 0 10px 26px -18px rgba(14,79,148,.28);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mz__tile:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(14,79,148,.15); }
.mz__ph { overflow: hidden; background: var(--bg-2); }
.mz__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mz__tile:hover .mz__ph img { transform: scale(1.05); }
.mz__tile--tile .mz__ph { aspect-ratio: 3 / 2; flex: none; }
.mz__tile--feat { grid-column: span 2; grid-row: span 2; }
.mz__tile--feat .mz__ph { flex: 1 1 auto; min-height: 260px; position: relative; }
.mz__tile--feat .mz__ph img { position: absolute; inset: 0; object-position: 50% 45%; }
.mz__body { position: relative; flex: 1 0 auto; padding: 36px 22px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.mz__badge {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--primary);
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(14,79,148,.14);
}
.mz__badge .icon { width: 23px; height: 23px; }
.mz__body h3 { font-size: 1.14rem; line-height: 1.25; }
.mz__body p { margin: 8px auto 0; color: var(--text-dim); font-size: .95rem; line-height: 1.55; max-width: 34ch; text-wrap: pretty; }
.mz__rule { display: block; width: 32px; height: 2px; margin: auto auto 0; padding-top: 0; background: var(--mid); transform: scaleX(.4); transition: transform .35s var(--ease); }
.mz__body p { margin-bottom: 14px; }
.mz__tile:hover .mz__rule { transform: scaleX(1); }
.mz__tile--feat .mz__body { flex: none; padding: 40px 32px 30px; }
.mz__tile--feat h3 { font-size: 1.6rem; }
.mz__tile--feat p { font-size: 1.05rem; max-width: 44ch; }
.mz__tile--feat .mz__badge { width: 56px; height: 56px; top: -28px; background: var(--urgent); border-color: var(--urgent); color: #fff; box-shadow: var(--shadow-urgent); }
.mz__tile--feat .mz__badge .icon { width: 27px; height: 27px; }
.mz__flag {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2;
  background: var(--urgent); color: #fff; white-space: nowrap;
  font: 800 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 40px; box-shadow: var(--shadow-urgent);
}

/* ---------- 4. Why Blue Line ---------- */
.why { background: var(--bg-2); position: relative; overflow-x: clip; }
.why::before, .why::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  width: min(460px, 55vw); height: 360px;
  background-image: linear-gradient(rgba(30,115,196,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(30,115,196,.16) 1px, transparent 1px);
  background-size: 22px 22px;
}
.why::before { right: 0; top: 0; -webkit-mask: radial-gradient(circle at 100% 0, #000, transparent 70%); mask: radial-gradient(circle at 100% 0, #000, transparent 70%); }
.why::after  { left: 0; bottom: 0; -webkit-mask: radial-gradient(circle at 0 100%, #000, transparent 70%); mask: radial-gradient(circle at 0 100%, #000, transparent 70%); }
.why .container { position: relative; z-index: 1; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  position: relative; text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
/* Drafting corner ticks, like registration marks on a plan sheet. */
.why-card__corner { position: absolute; width: 18px; height: 18px; border-color: var(--mid); border-style: solid; opacity: .55; }
.why-card__corner--tl { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; border-top-left-radius: 4px; }
.why-card__corner--br { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 4px; }
.why-card__icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 20px;
  background: radial-gradient(circle, #fff 55%, #E8F1FB 56%);
  box-shadow: inset 0 0 0 1px #D4E6F8, 0 0 0 6px rgba(30,115,196,.06);
  color: var(--primary);
}
.why-card__icon .icon { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.14rem; margin-bottom: 8px; text-wrap: balance; }
.why-card p { color: var(--text-dim); font-size: .98rem; text-wrap: pretty; }

/* ---------- 5. Process ---------- */
.process { background: var(--bg); position: relative; overflow: clip; }
.process .container { position: relative; z-index: 1; }
.deco-pipes { position: absolute; width: min(340px, 40vw); height: auto; color: var(--mid); opacity: .16; pointer-events: none; z-index: 0;
  /* The run fades out at its open end instead of stopping dead. Masks sit in
     the element's own space, so for the mirrored top-right run the local
     right edge is the one on screen left. */
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 92%);
          mask-image: linear-gradient(90deg, #000 30%, transparent 92%); }
.deco-pipes--tr { top: 24px; right: 0; transform: scaleX(-1); }
.deco-pipes--bl { bottom: 0; left: 0; width: min(280px, 30vw); transform: translateY(38%); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process__grid::before {
  content: "";
  position: absolute;
  top: 34px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 14px, transparent 14px 26px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step__num {
  width: 68px; height: 68px; margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: #fff; background: var(--primary-grad);
  box-shadow: 0 10px 24px rgba(14,79,148,.28);
  border: 4px solid var(--bg);
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: .98rem; text-wrap: pretty; }

/* ---------- 6. Service area: coverage map ---------- */
.area { background: var(--bg-2); }
.area__layout {
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: stretch;
}
/* The map carries no height of its own: it stretches to the list column and
   the drawing scales to fit, with the drafting grid filling any margin, so
   the two sides always end on the same line. */
.amap {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 14px; box-shadow: var(--shadow-md);
  min-height: 520px; margin: 0;
}
.amap .amap__svg { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.amap::after { /* a second sheet under the first, for depth */
  content: ""; position: absolute; inset: 0; border-radius: 20px; z-index: -1;
  background: #fff; border: 1px solid var(--line);
  transform: rotate(-2.2deg) translate(-8px, 10px); box-shadow: var(--shadow-sm);
}
.amap__svg { display: block; width: 100%; height: auto; border-radius: 12px; overflow: hidden; }
.amap__ring { fill: none; stroke: var(--mid); stroke-width: 1; stroke-dasharray: 3 6; opacity: .35; }
.amap__road { fill: none; stroke: #9DB8D4; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.amap__road-label { font: 700 11px var(--font-head); fill: #7F97B0; letter-spacing: .08em; }
.amap__north path { fill: var(--primary); opacity: .75; }
.amap__north text { font: 800 11px var(--font-head); fill: var(--primary); opacity: .75; }
.amap__dot { fill: #fff; stroke: var(--mid); stroke-width: 2.4; transition: r .2s var(--ease), fill .2s var(--ease); }
.amap__town text { font: 600 13.5px var(--font-body); fill: var(--text); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.amap__town--hub .amap__dot { fill: var(--primary); stroke: #fff; stroke-width: 2.5; }
.amap__town--hub text { font: 800 15px var(--font-head); fill: var(--primary); }
.amap__pulse { fill: none; stroke: var(--mid); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: amap-pulse 2.6s var(--ease) infinite; }
@keyframes amap-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.6); opacity: 0; } }
.amap__town.is-hot .amap__dot { fill: var(--mid); r: 7; }
.amap__town.is-hot text { fill: var(--primary); }

.area__side { display: flex; flex-direction: column; }
.area__groups { display: grid; grid-template-columns: 1fr; gap: 26px; margin-bottom: 30px; }
.area-group__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.area-group__label {
  font: 800 .78rem/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--mid); padding-bottom: 12px; border-bottom: 2px solid var(--primary);
}
.area-group__list { list-style: none; }
.area-group__list li {
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--text);
  padding: 13px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; cursor: default;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.area-group__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--mid); flex: none; }
.area-group__list li.is-hub::before { background: var(--primary); border-color: var(--primary); }
.area-group__list li:hover { color: var(--primary); padding-left: 4px; }
.area__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.area__note { color: var(--text-dim); font-size: 1rem; flex: 1 1 320px; text-wrap: pretty; }
.area__call { display: inline-flex; align-items: center; gap: 8px; font: 800 1.1rem var(--font-head); color: var(--primary); white-space: nowrap; }
.area__call .icon { color: var(--urgent); }

/* ---------- CTA band ---------- */
.cta-band {
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: clamp(70px, 10vw, 130px) 0;
}
.cta-band__inner { max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.2rem); text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.cta-band p { color: rgba(255,255,255,.94); font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin-top: 16px; }
.cta-band__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- 7. Gallery: editorial plates ---------- */
.gallery { background: var(--bg); position: relative; overflow-x: clip; }
/* Texture: a drafting grid across the section, strongest behind the plates. */
.gallery::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(30,115,196,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(30,115,196,.09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 60%, #000 20%, transparent 80%);
          mask: radial-gradient(ellipse 70% 60% at 50% 60%, #000 20%, transparent 80%);
}
.gallery .container { position: relative; z-index: 1; }
.container--wide { max-width: 1360px; }
.gx { --g: clamp(10px, 1.3vw, 18px); display: grid; gap: var(--g); }
/* Big plate width = two small plates + 1.5 gaps, so with every plate at 3:2
   the big one is exactly two small plates plus one gap tall. */
.gx__block { position: relative; display: grid; gap: var(--g); }
.gx__block--lead   { grid-template-columns: calc((100% - 2.5 * var(--g)) / 3 * 2 + 1.5 * var(--g)) minmax(0, 1fr); }
.gx__block--mirror { grid-template-columns: minmax(0, 1fr) calc((100% - 2.5 * var(--g)) / 3 * 2 + 1.5 * var(--g)); }
.gx__block--lead .gx__tile--big   { grid-column: 1; grid-row: 1 / 3; }
.gx__block--mirror .gx__tile--big { grid-column: 2; grid-row: 1 / 3; }
.gx__block--mirror .gx__tile:not(.gx__tile--big) { grid-column: 1; }
.gx__block--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Depth: an offset drafting frame peeking out behind the two big plates. */
.gx__block--lead::before, .gx__block--mirror::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 34%; height: 58%; border: 1.5px solid var(--mid); border-radius: 22px; opacity: .35;
}
.gx__block--lead::before   { left: calc(var(--g) * -1); top: calc(var(--g) * -1); }
.gx__block--mirror::before { right: calc(var(--g) * -1); bottom: calc(var(--g) * -1); }

.gx__tile {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; background: var(--bg-2);
  box-shadow: 0 2px 6px rgba(14,79,148,.08), 0 18px 40px -12px rgba(14,79,148,.28);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  font: inherit; color: inherit; text-align: left;
}
.gx__tile--big { aspect-ratio: auto; height: 100%; }
.gx__tile::after { /* hairline photo mount */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.gx__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gx__tile:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(14,79,148,.08), 0 26px 50px -14px rgba(14,79,148,.38); }
.gx__tile:hover img { transform: scale(1.045); }
.gx__tile:focus-visible { outline: 3px solid var(--mid); outline-offset: 4px; }
.gx__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; gap: 4px;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, rgba(8,28,54,0), rgba(8,28,54,.78));
  color: #fff;
}
.gx__tag { font: 800 .68rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #8FCBFF; }
.gx__title { font: 800 1rem/1.2 var(--font-head); }
.gx__tile--big .gx__cap { padding: 80px 26px 22px; }
.gx__tile--big .gx__title { font-size: 1.35rem; }
.gx__zoom {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.9); color: var(--primary);
  opacity: 0; transform: scale(.85); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.gx__zoom .icon { width: 20px; height: 20px; }
.gx__tile:hover .gx__zoom, .gx__tile:focus-visible .gx__zoom { opacity: 1; transform: none; }

/* Lightbox */
html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: clamp(16px, 4vw, 56px); border: 0; background: transparent;
  display: none; place-items: center;
}
.lb[open] { display: grid; }
.lb::backdrop { background: rgba(6,20,40,.9); backdrop-filter: blur(6px); }
.lb__frame { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; gap: 14px; }
.lb__img { width: auto; max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); object-fit: contain; }
.lb__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: #fff; }
.lb__meta > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.lb__tag { font: 800 .7rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #8FCBFF; }
.lb__title { font: 800 1.2rem/1.2 var(--font-head); }
.lb__count { font: 600 .9rem var(--font-head); color: rgba(255,255,255,.7); white-space: nowrap; }
.lb__btn {
  position: fixed; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lb__btn:hover { background: #fff; color: var(--primary); }
.lb__btn:focus-visible { outline: 3px solid #8FCBFF; outline-offset: 3px; }
.lb__btn .icon { width: 22px; height: 22px; }
.lb__close { top: 18px; right: 18px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 18px; }
.lb__next { right: 18px; }

/* ---------- 8. Testimonials ---------- */
.testimonials { background: var(--bg-2); position: relative; overflow-x: clip; }
/* Depth: dot matrix in two corners. */
.testimonials::before, .testimonials::after {
  content: ""; position: absolute; width: 220px; height: 180px; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(30,115,196,.32) 1.4px, transparent 1.6px);
  background-size: 16px 16px;
}
.testimonials::before { top: 36px; right: clamp(12px, 4vw, 64px); -webkit-mask: linear-gradient(225deg, #000 20%, transparent 85%); mask: linear-gradient(225deg, #000 20%, transparent 85%); }
.testimonials::after { bottom: 36px; left: clamp(12px, 4vw, 64px); -webkit-mask: linear-gradient(45deg, #000 20%, transparent 85%); mask: linear-gradient(45deg, #000 20%, transparent 85%); }
.testimonials .container { position: relative; z-index: 1; }
.tst__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tst-card {
  text-align: center; align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}
.tst-card__top { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tst-card__g { width: 24px; height: 24px; }
.tst-card__stars { display: flex; gap: 3px; color: #F5A623; }
.tst-card__stars .icon { width: 18px; height: 18px; }
.tst-card__quote { font-size: 1.06rem; line-height: 1.65; color: var(--text); }
.tst-card__quote { text-wrap: pretty; }
.tst-card__by { display: flex; flex-direction: column; align-items: center; margin-top: auto; }
.tst-card__name { font-family: var(--font-head); font-weight: 700; color: var(--primary); }
.tst-card__meta { font-size: .9rem; color: var(--text-dim); }

/* ---------- 9. Contact ---------- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--primary); /* fallback while the photo loads */
}
/* Full-bleed photo behind the form */
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.contact__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(14,79,148,.80) 0%, rgba(14,79,148,.62) 48%, rgba(30,115,196,.34) 100%);
}
.contact__grid {
  position: relative;
  z-index: 2;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: stretch;
}
.contact__aside { display: flex; flex-direction: column; }
/* Fills the lower left beside the form: three assurances on a glass strip,
   pinned to the bottom so it lines up with the foot of the form card. */
.contact__assure {
  list-style: none; margin-top: auto; padding: 8px 22px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.contact__assure li {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
}
.contact__assure li + li { border-top: 1px solid rgba(255,255,255,.2); }
.contact__assure-icon {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.95); color: var(--primary);
}
.contact__assure-icon .icon { width: 20px; height: 20px; }
/* Scrim is lighter here than on the CTA band, so the aside copy carries a little more weight of its own */
.contact__aside h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-shadow: 0 2px 20px rgba(9,32,62,.45); }
.contact__sub { color: #fff; margin: 16px 0 26px; font-size: 1.08rem; text-shadow: 0 1px 12px rgba(9,32,62,.4); }
.contact__call { width: 100%; }
.contact__hours span { white-space: nowrap; }
.contact__hours { margin: 18px 0 28px; color: rgba(255,255,255,.9); font-size: .94rem; text-shadow: 0 1px 10px rgba(9,32,62,.45); }

/* Glass card: translucent, blurred backdrop, hairline border. */
.contact-form {
  background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.42);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 24px 60px rgba(9,32,62,.3), inset 0 1px 0 rgba(255,255,255,.4);
  padding: clamp(24px, 4vw, 36px);
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: #fff; text-shadow: 0 1px 8px rgba(9,32,62,.35); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: rgba(255,255,255,.94);
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--mid); box-shadow: 0 0 0 4px rgba(30,115,196,.14);
}
.form-submit { margin-top: 6px; width: 100%; box-shadow: 0 12px 28px rgba(9,32,62,.35); }

.form-success {
  background: var(--white);
  border: 1px solid #cfe6d6;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(9,32,62,.28);
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.form-success .icon--success { width: 60px; height: 60px; color: #1FA463; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--text-dim); max-width: 420px; }

/* ---------- 10. Footer ---------- */
.site-footer {
  background: #0B2240;
  color: rgba(255,255,255,.78);
  padding: clamp(54px, 7vw, 84px) 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__logo { color: #fff; margin-bottom: 16px; }
.footer__blurb { color: rgba(255,255,255,.66); max-width: 360px; font-size: .98rem; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer__nav, .footer__nap { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer__nav a, .footer__nap a { color: rgba(255,255,255,.74); font-size: .96rem; }
.footer__nav a:hover, .footer__nap a:hover { color: #fff; }
.footer__nap { color: rgba(255,255,255,.74); font-size: .96rem; }
.footer__hours { color: rgba(255,255,255,.5); font-size: .88rem; margin-top: 4px; white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 20px; }
.footer__fiction { color: rgba(255,255,255,.55); font-size: .82rem; white-space: nowrap; }
/* Summit Oak credit signature */
.footer__copy { color: rgba(255,255,255,.55); font-size: .82rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.footer__copy .soak-mark {
  display: inline-block; width: 20px; height: 20px; flex: none;
  background-color: #5FA8EE;
  -webkit-mask: url(../assets/images/summitoak-mark.png) center / contain no-repeat;
          mask: url(../assets/images/summitoak-mark.png) center / contain no-repeat;
  opacity: .9; transition: opacity .2s ease;
}
.footer__copy:hover .soak-mark { opacity: 1; }
.footer__copy:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 760px) {
  .footer__bottom { flex-direction: column; justify-content: center; text-align: center; }
  .footer__fiction { white-space: normal; }
}

/* ---------- Reveal utility ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn__pulse::before, .hero__scroll-hint span, .amap__pulse { animation: none; }
  .amap__pulse { display: none; }
  .mz__tile, .gx__tile, .mz__ph img, .gx__tile img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mz__tile--feat { grid-row: auto; }
  .mz__tile--feat .mz__ph { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  /* Five cards under the lead: the last one spans the row, photo beside body. */
  .mz__tile:last-child { grid-column: 1 / -1; flex-direction: row; }
  .mz__tile:last-child .mz__ph { width: 50%; aspect-ratio: auto; position: relative; }
  .mz__tile:last-child .mz__ph img { position: absolute; inset: 0; }
  .mz__tile:last-child .mz__body { flex: 1 1 50%; justify-content: center; padding: 30px 28px; }
  .mz__tile:last-child .mz__badge { position: static; transform: none; margin: 0 auto 12px; }
}
@media (max-width: 1024px) {
  .gx__tile:not(.gx__tile--big) .gx__title { font-size: .86rem; }
  .gx__tile:not(.gx__tile--big) .gx__cap { padding: 36px 12px 12px; }
  .area__layout { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .area-group__list { column-gap: 20px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process__grid::before { display: none; }
  .tst__grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  /* Stacked: copy sits on top of the card, so tint top-down instead of left-right */
  .contact__bg { object-position: 68% center; }
  .contact__scrim {
    background: linear-gradient(165deg, rgba(14,79,148,.82) 0%, rgba(14,79,148,.66) 50%, rgba(30,115,196,.42) 100%);
  }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions .btn--book { display: none; }
  .emergency__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .emergency__call { width: 100%; }
  .area__layout { grid-template-columns: 1fr; }
  .amap { max-width: 440px; width: 100%; margin: 0 auto 8px; min-height: 0; }
  .amap .amap__svg { position: static; width: 100%; height: auto; aspect-ratio: 400 / 655; }
  .area__groups { margin-bottom: 0; }
  .area__foot { margin-top: 30px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 92vh; height: 92vh; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mz { grid-template-columns: 1fr; }
  .mz__tile--feat { grid-column: auto; }
  .mz__tile:last-child { flex-direction: column; }
  .mz__tile:last-child .mz__ph { width: auto; aspect-ratio: 3 / 2; }
  .mz__tile:last-child .mz__body { padding: 36px 22px 24px; }
  .mz__tile:last-child .mz__badge { position: absolute; transform: translateX(-50%); margin: 0; }
  .mz__tile--feat h3 { font-size: 1.35rem; }
  .gx__block--lead, .gx__block--mirror { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx__block--lead .gx__tile--big, .gx__block--mirror .gx__tile--big { grid-column: 1 / -1; grid-row: 1; height: auto; aspect-ratio: 3 / 2; }
  .gx__block--mirror .gx__tile:not(.gx__tile--big) { grid-column: auto; grid-row: 2; }
  .gx__tile .gx__cap { padding: 32px 12px 10px; }
  .gx__tile:not(.gx__tile--big) .gx__title { display: none; }
  .gx__tile:not(.gx__tile--big) .gx__tag { font-size: .6rem; }
  .gx__block--lead::before, .gx__block--mirror::before { display: none; }
  .lb__nav { top: auto; bottom: 18px; transform: none; }
  .lb__prev { left: calc(50% - 62px); }
  .lb__next { right: calc(50% - 62px); }
  .lb__img { max-height: calc(100dvh - 230px); }
  .footer__top { grid-template-columns: 1fr; }
  .emergency__call span span { display: inline; }
  .cta-band__cta .btn { flex: 1 1 auto; }
}

/* Mobile reframe: pull the showerhead toward center (it was cropped hard right). */
@media (max-width: 768px) {
  .hero__video { object-position: 68% 50%; }
}

/* Mobile: two-column footer top (nav beside contact) to cut height. */
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
