/* ════════════════════════════════════════════════════════════
   ACSP — shared styles (editorial trade aesthetic)
   ════════════════════════════════════════════════════════════ */

/* ── Layout primitives ───────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.skip-nav {
  position: absolute; top: -40px; left: 8px; padding: 8px 14px;
  background: var(--navy-900); color: #fff; border-radius: 8px;
  font-size: 14px; z-index: 1000;
}
.skip-nav:focus { top: 8px; }

/* Fade-in-on-scroll */
[data-animate] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px; border-radius: 999px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(238,108,26,.6), inset 0 -2px 0 rgba(0,0,0,.12);
}
.btn-primary:hover {
  background: var(--accent-hover); transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(238,108,26,.7), inset 0 -2px 0 rgba(0,0,0,.12);
}
.btn-ghost {
  background: transparent; color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-white {
  background: #fff; color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

/* ── Eyebrow label ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em;
  color: var(--navy-700); text-transform: uppercase;
  padding: 8px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
}
.eyebrow .bar { display: inline-block; width: 18px; height: 2px; background: var(--accent); }

.lbl {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em;
  color: var(--navy-600); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.lbl::before { content: ''; width: 24px; height: 1.5px; background: var(--accent); }

/* ── Top utility bar ─────────────────────────────────────── */
.topbar {
  background: var(--navy-900); color: #c8d4e8;
  font-size: 13px; letter-spacing: .01em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px; gap: 20px;
}
.topbar .left { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar .item { display: inline-flex; align-items: center; gap: 8px; }
.topbar .item svg { width: 14px; height: 14px; opacity: .8; }
.topbar .pulse { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5fd67a; box-shadow: 0 0 0 0 rgba(95,214,122,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(95,214,122,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(95,214,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,214,122,0); }
}
.topbar .right { display: flex; gap: 18px; align-items: center; }
.topbar .right a { color: #fff; font-weight: 600; white-space: nowrap; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  color: #fff;
  border-bottom: 1px solid #0a1f3d;
}
.nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; pointer-events: none;
  background: linear-gradient(90deg,
    var(--accent) 0%, var(--accent) 28%,
    var(--blue-500) 28%, var(--blue-500) 100%);
  opacity: .9;
}
.nav .wrap {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 28px; height: 112px;
  position: relative;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img {
  height: 104px; width: auto;
  object-fit: contain; object-position: left center;
}

.nav-links {
  display: flex; gap: 2px; align-items: center;
  justify-self: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; padding: 5px;
}
.nav-links a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: #fff; transform: scale(.85); opacity: 0;
  transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .2s; z-index: -1;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a:hover::before { transform: scale(1); opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px; color: #fff;
  padding: 10px 4px; white-space: nowrap;
}
.nav-phone .ring {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(79,160,238,.15); display: grid; place-items: center;
  color: var(--blue-400); position: relative;
}
.nav-phone .ring::after {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  border: 1.5px solid var(--accent); opacity: .5;
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.4); opacity: 0; }
}
.nav-phone .ring svg { width: 15px; height: 15px; }
.nav-phone .pn { line-height: 1; }
.nav-phone .pn small {
  display: block; font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: #7fb3f5; font-weight: 400; margin-bottom: 3px;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 13px 20px; border-radius: 999px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 8px 18px -8px rgba(238,108,26,.55), inset 0 -2px 0 rgba(0,0,0,.1);
  letter-spacing: -.005em;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 12px 22px -8px rgba(238,108,26,.65), inset 0 -2px 0 rgba(0,0,0,.1);
}
.nav-cta svg { width: 15px; height: 15px; }

.burger {
  display: none; place-items: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.burger svg { width: 20px; height: 20px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,26,51,.96);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  padding: 20px 28px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 36px;
}
.mobile-nav-top .brand img { height: 56px; min-width: 0; }
.mobile-nav-close {
  width: 44px; height: 44px; color: #fff;
  display: grid; place-items: center; border-radius: 10px;
  background: rgba(255,255,255,.08);
}
.mobile-nav-close svg { width: 20px; height: 20px; }
.mobile-nav-links {
  display: flex; flex-direction: column; gap: 4px;
  flex: 1; overflow-y: auto;
}
.mobile-nav-links a {
  font-family: var(--f-serif); font-size: 32px; line-height: 1.1;
  color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav-links a:last-child { border-bottom: 0; }
.mobile-nav-footer { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center;
}
h1.display {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.02; letter-spacing: -.015em;
  margin: 22px 0 18px; color: var(--navy-900);
  text-wrap: balance;
}
h1.display em { font-style: italic; color: var(--navy-600); }
.hero p.lede {
  font-size: 18px; line-height: 1.55; color: var(--ink-2);
  max-width: 48ch; margin: 0 0 30px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.trust-row {
  margin-top: 36px; display: flex; gap: 32px; flex-wrap: wrap; align-items: center;
  padding-top: 24px; border-top: 1px dashed var(--line);
}
.trust { display: flex; flex-direction: column; gap: 2px; }
.trust .n {
  font-family: var(--f-serif); font-size: 32px; line-height: 1; color: var(--navy-900);
}
.trust .l {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
}

/* Hero art */
.hero-art { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); }
.hero-art .main {
  position: absolute; inset: 0; border-radius: var(--r-lg);
  overflow: hidden; background: #0a1930; box-shadow: var(--shadow-lg);
}
.hero-art .main img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}
.hero-art .main::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,26,51,0) 40%, rgba(8,26,51,.6) 100%);
}
.hero-badge {
  position: absolute; top: 24px; left: -28px;
  background: #fff; padding: 14px 18px;
  border-radius: 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; z-index: 2;
}
.hero-badge .icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--blue-50); display: grid; place-items: center;
  color: var(--navy-700);
}
.hero-badge .t {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.hero-badge .v { font-weight: 700; font-size: 15px; color: var(--navy-900); line-height: 1.1; }
.hero-card {
  position: absolute; bottom: 24px; right: -24px;
  background: var(--navy-900); color: #fff;
  padding: 20px 22px; border-radius: 16px;
  box-shadow: var(--shadow-lg); z-index: 2; min-width: 260px;
}
.hero-card .tag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  color: #7fb3f5; text-transform: uppercase; margin-bottom: 8px;
}
.hero-card .q {
  font-family: var(--f-serif); font-style: italic; font-size: 20px;
  line-height: 1.3; color: #fff; margin-bottom: 14px;
}
.hero-card .author {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #9fb3d1;
}
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #f59d4a, #ee6c1a);
  display: grid; place-items: center;
  font-weight: 700; font-size: 12px; color: #fff;
}

/* ── Marquee ─────────────────────────────────────────────── */
.marquee {
  background: var(--navy-900); color: #fff;
  padding: 22px 0; overflow: hidden; border-top: 1px solid #0a1f3d;
}
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: marq 36s linear infinite;
  font-family: var(--f-serif); font-size: 32px; letter-spacing: -.01em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .dotm {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Section frame ───────────────────────────────────────── */
section { padding: 96px 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: end; margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(34px, 4vw, 58px); line-height: 1.02;
  letter-spacing: -.01em; margin: 12px 0 0; color: var(--navy-900);
  text-wrap: balance;
}
.section-head h2 em { font-style: italic; color: var(--navy-600); }
.section-head .sub {
  font-size: 17px; color: var(--ink-2); line-height: 1.6; max-width: 50ch;
}

/* ── Services grid (home) ────────────────────────────────── */
.services {
  background: #fff;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.svc {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 28px; position: relative;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  min-height: 260px;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-600); }
.svc .num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--muted); text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.svc .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy-900); color: #fff;
  display: grid; place-items: center; margin-top: 8px;
}
.svc .ic svg { width: 24px; height: 24px; }
.svc h3 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: 26px; line-height: 1.05; color: var(--navy-900); margin: 6px 0 0;
}
.svc p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.svc .more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy-700); padding-top: 8px;
}
.svc .more svg { width: 14px; height: 14px; transition: transform .15s; }
.svc:hover .more svg { transform: translateX(4px); }

.svc.wide { grid-column: span 6; }
.svc.reg  { grid-column: span 3; }
.svc.feat {
  grid-column: span 6; background: var(--navy-900); color: #fff;
  border-color: var(--navy-900);
  background-image: linear-gradient(160deg, #0f2747 0%, #081a33 70%), url('/img/water-splash.jpg');
  background-size: cover; background-position: center;
  background-blend-mode: multiply;
}
.svc.feat h3 { color: #fff; }
.svc.feat p  { color: #b8c9e3; }
.svc.feat .num { color: #7fb3f5; }
.svc.feat .ic { background: var(--accent); }
.svc.feat .more { color: var(--accent-2); }
.svc.feat:hover { border-color: var(--accent); }

/* ── Why us ──────────────────────────────────────────────── */
.why { padding: 110px 0; }
.why-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center;
}
.why-img {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); background: #0a1930;
}
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-img .stamp {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(8,26,51,.9); color: #fff;
  padding: 14px 18px; border-radius: 12px;
  backdrop-filter: blur(6px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase;
  display: flex; flex-direction: column; gap: 4px;
}
.why-img .stamp strong {
  font-family: var(--f-serif); font-size: 22px; color: #fff;
  letter-spacing: 0; text-transform: none; font-weight: 400;
}
.why h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(36px, 4.2vw, 62px); line-height: 1; letter-spacing: -.01em;
  color: var(--navy-900); margin: 18px 0 24px;
}
.why h2 em { font-style: italic; color: var(--navy-600); }
.why .p { font-size: 17px; color: var(--ink-2); margin: 0 0 28px; max-width: 52ch; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value {
  padding: 20px; background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r-md); display: flex; flex-direction: column; gap: 10px;
}
.value .vic {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--blue-50); color: var(--navy-700);
  display: grid; place-items: center;
}
.value .vic svg { width: 18px; height: 18px; }
.value h4 {
  font-family: var(--f-sans); font-weight: 700; font-size: 15px;
  color: var(--navy-900); margin: 0;
}
.value p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ── Process ─────────────────────────────────────────────── */
.process {
  background: var(--navy-900); color: #fff;
  border-top: 1px solid var(--navy-800);
}
.process .section-head h2 { color: #fff; }
.process .section-head h2 em { color: #7fb3f5; }
.process .section-head .lbl { color: #7fb3f5; }
.process .section-head .lbl::before { background: var(--accent); }
.process .section-head .sub { color: #b8c9e3; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #1a2d4e; }
.step { padding: 36px 26px 36px 0; border-right: 1px solid #1a2d4e; position: relative; }
.step:last-child { border-right: 0; }
.step:nth-child(n+2) { padding-left: 26px; }
.step .sn {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .15em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 24px;
}
.step h3 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: 30px; line-height: 1.05; color: #fff; margin: 24px 0 12px;
}
.step p { color: #b8c9e3; font-size: 14.5px; margin: 0 0 28px; }
.step .sicon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #163463; color: #fff; display: grid; place-items: center;
}
.step .sicon svg { width: 22px; height: 22px; }

/* ── Service area ────────────────────────────────────────── */
.area { background: var(--paper-2); }
.area-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.area-grid--no-map {
  grid-template-columns: 1fr;
  max-width: 960px;
  align-items: start;
}
.area-grid--no-map .town-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 32px;
}
@media (max-width: 800px) {
  .area-grid--no-map .town-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .area-grid--no-map .town-list { grid-template-columns: 1fr; }
}
.area h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(34px,4vw,56px); line-height: 1; letter-spacing: -.01em;
  color: var(--navy-900); margin: 14px 0 20px;
}
.area h2 em { font-style: italic; color: var(--navy-600); }
.area .p {
  font-size: 17px; color: var(--ink-2); margin: 0 0 8px; max-width: 50ch;
}
.map-card {
  background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-md);
  position: relative; aspect-ratio: 3/4; overflow: hidden;
}
.map-card svg.map { width: 100%; height: 100%; display: block; }
.map-legend {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .18em; color: var(--muted); text-transform: uppercase;
  background: rgba(255,255,255,.9); padding: 6px 10px;
  border-radius: 6px; backdrop-filter: blur(4px);
}
.map-scale {
  position: absolute; bottom: 18px; right: 20px;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.map-scale .bar {
  width: 40px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--navy-700) 0 8px, #fff 8px 16px);
  border: 1px solid var(--navy-700);
}
.town-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin-top: 28px;
}
.town {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.town .tn { color: var(--navy-900); font-weight: 500; }
.town .tm { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.town.active .tm { color: var(--accent); }

/* ── Testimonials ────────────────────────────────────────── */
.testi { background: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper);
  display: flex; flex-direction: column; gap: 18px; position: relative;
}
.testi-card.accent { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.testi-card .stars { color: var(--accent); display: flex; gap: 2px; }
.testi-card .stars svg { width: 16px; height: 16px; }
.testi-card .q {
  font-family: var(--f-serif); font-size: 22px; line-height: 1.3;
  color: var(--navy-900); margin: 0; flex: 1;
}
.testi-card.accent .q { color: #fff; }
.testi-card .who {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.testi-card.accent .who { border-color: #1a2d4e; }
.testi-card .who .n { font-weight: 600; font-size: 14px; color: var(--navy-900); }
.testi-card.accent .who .n { color: #fff; }
.testi-card .who .l {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
}
.testi-card.accent .who .l { color: #7fb3f5; }

/* ── CTA ─────────────────────────────────────────────────── */
.cta { padding: 0; margin-top: 80px; }
.cta-inner {
  position: relative; margin: 0 28px;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: 80px 64px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background: url('/img/pipe-work.jpg') center/cover;
  opacity: .18; mix-blend-mode: luminosity;
}
.cta-inner > * { position: relative; min-width: 0; }
.cta h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(38px, 4.6vw, 66px); line-height: .98; letter-spacing: -.01em;
  margin: 16px 0 18px; color: #fff;
}
.cta h2 em { font-style: italic; color: var(--blue-400); }
.cta .lbl { color: #7fb3f5; }
.cta .lbl::before { background: var(--accent); }
.cta p { color: #b8c9e3; font-size: 17px; max-width: 44ch; margin: 0 0 28px; }

/* ── Contact card (form) ─────────────────────────────────── */
.contact-card {
  background: #fff; color: var(--ink); padding: 28px;
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
}
.contact-card h4 {
  font-family: var(--f-serif); font-weight: 400; font-size: 26px;
  margin: 0 0 4px; color: var(--navy-900);
}
.contact-card .sub2 { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--paper); transition: border-color .15s, background .15s;
  font-family: var(--f-sans);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600); background: #fff;
}
.field.full { grid-column: span 2; }
.submit-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; gap: 14px; flex-wrap: wrap;
}
.submit-row .note {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em;
  color: var(--muted); text-transform: uppercase;
}
.form-success {
  display: none; padding: 16px; background: #e9f7ed; border-radius: 10px;
  color: #1a6a33; font-size: 14px; margin-top: 10px;
}
.form-success.show { display: block; }
.form-error {
  display: none; padding: 14px; background: #fdecec; border-radius: 10px;
  color: #a33; font-size: 14px; margin-top: 10px;
}
.form-error.show { display: block; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ── Pre-footer band ─────────────────────────────────────── */
.prefooter {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.prefooter::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(8,26,51,.05) 100%);
  pointer-events: none;
}
.prefooter-inner { position: relative; }
.prefooter .line {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--navy-700); text-transform: uppercase;
}
.prefooter .line::before, .prefooter .line::after {
  content: ''; width: 36px; height: 1px; background: var(--accent);
}
.prefooter h2 {
  font-family: var(--f-serif); font-weight: 400; font-style: italic;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.015em;
  color: var(--navy-900); max-width: 22ch; margin: 0 auto 20px;
  text-wrap: balance;
}
.prefooter .stamp {
  display: inline-flex; gap: 20px; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em;
  color: var(--muted); text-transform: uppercase;
  padding-top: 10px;
}
.prefooter .stamp span { display: inline-flex; align-items: center; gap: 8px; }
.prefooter .stamp .dot-sm {
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--navy-900); color: #9fb3d1;
  padding: 80px 0 28px; border-top: 1px solid #0a1f3d;
  position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; inset: 0;
  background: url('/img/pipe-work.jpg') center/cover;
  opacity: .06; mix-blend-mode: luminosity;
  pointer-events: none;
}
footer::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    var(--accent) 0%, var(--accent) 22%,
    var(--navy-700) 22%, var(--navy-700) 100%);
}
footer .wrap { position: relative; }
.foot-lead {
  padding-bottom: 56px;
  margin-bottom: 48px;
  border-bottom: 1px solid #1a2d4e;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end;
}
.foot-lead h3 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(32px, 3.8vw, 52px); line-height: 1;
  letter-spacing: -.01em; color: #fff; margin: 0;
}
.foot-lead h3 em { font-style: italic; color: #7fb3f5; }
.foot-lead .foot-mono {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em;
  color: #7fb3f5; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.foot-lead .foot-mono::before {
  content: ''; width: 24px; height: 1.5px; background: var(--accent);
}
.foot-lead .foot-meta {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13.5px; color: #9fb3d1; line-height: 1.6;
  padding-bottom: 6px;
}
.foot-lead .foot-meta strong { color: #fff; font-weight: 600; }

.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid #1a2d4e;
}
footer h5 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: #7fb3f5; text-transform: uppercase; margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
footer h5::before {
  content: ''; width: 20px; height: 1.5px; background: var(--accent);
}
footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
footer ul li, footer ul a { font-size: 14.5px; color: #c8d4e8; }
footer ul a:hover { color: #fff; }
footer .brand-f img { height: 64px; margin-bottom: 18px; filter: brightness(0) invert(1); }
footer .brand-f p { font-size: 14.5px; color: #9fb3d1; max-width: 32ch; line-height: 1.6; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: #6b7d9b;
  flex-wrap: wrap; gap: 16px;
}
.foot-bottom a { color: inherit; }
.foot-bottom a:hover { color: #fff; }

/* ── Floating emergency CTA ──────────────────────────────── */
.floater {
  position: fixed; bottom: 20px; left: 20px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 14px 20px; border-radius: 999px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 14px 30px -8px rgba(238,108,26,.6);
  transition: transform .15s, background .15s;
}
.floater:hover { background: var(--accent-hover); transform: translateY(-2px); }
.floater svg { width: 18px; height: 18px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-phone small { display: none; }
  .burger { display: grid; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 520px; margin: 0 auto; aspect-ratio: 4/4; }
  .section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .why-grid, .area-grid, .cta-inner { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(6, 1fr); }
  .svc.wide, .svc.feat { grid-column: span 6; }
  .svc.reg { grid-column: span 3; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid #1a2d4e; }
  .step:nth-child(odd) { border-right: 1px solid #1a2d4e; }
  .testi-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-lead { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .cta-inner { padding: 48px 32px; }
  .cta-inner h2 { text-align: left; }
  .prefooter { padding: 48px 0; }
}
@media (max-width: 900px) {
  .nav .wrap { height: 84px; gap: 16px; }
  .brand img { height: 60px; max-width: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav .wrap { height: 72px; gap: 12px; }
  .brand img { height: 52px; }
  .nav-phone { display: none; }
  .nav-cta { padding: 11px 16px; font-size: 13px; }
  .topbar .left .item:nth-child(3) { display: none; }
  .topbar .right .item { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero-art { display: none; }
  .trust-row { gap: 20px 24px; }
  .trust .n { font-size: 26px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc.wide, .svc.feat, .svc.reg { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; padding: 32px 0 !important; }
  .values { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 32px 20px; margin: 0 12px; gap: 24px; }
  .cta-inner h2 { font-size: clamp(30px, 7vw, 40px); }
  .contact-card { padding: 20px; }
  .contact-row { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .submit-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .submit-row .btn-primary { justify-content: center; }
  section { padding: 72px 0; }
  .town-list { grid-template-columns: 1fr; }
  .marquee { padding: 16px 0; }
  .marquee-track { font-size: 22px; gap: 36px; animation-duration: 18s; }
  .marquee-track span { gap: 36px; }
  .floater {
    font-size: 13px; padding: 11px 14px;
    bottom: 16px; left: 16px;
  }
  .mobile-nav-links a { font-size: 26px; }
  .map-card { aspect-ratio: 1 / 1.1; }
  .prefooter { padding: 40px 0; }
  .prefooter .stamp { flex-direction: column; gap: 10px; }
  .prefooter .stamp .dot-sm { display: none; }
  footer { padding: 56px 0 24px; }
}
