/* Big Easy Fences: homepage redesign
   Colors sampled directly from "Redesign To Follow.png" (cream #f5f3f0, navy #0b2d47, gold #bf974a).
   The live-site logo keeps its own colors (blue #2589DB / yellow #F6BF4F).
   Round 5: section designs follow the client's annotated screenshots (services tabs, centred Why Choose,
   circle process, compare band, dark FAQ, angled CTA, 5-column footer). */

:root {
  --navy-950: #021e33;   /* footer */
  --navy-900: #04263f;   /* buttons */
  --navy-800: #0b2d47;   /* bands, cards */
  --navy-700: #123c5c;
  --heading: #10263f;
  --gold-500: #bf974a;
  --gold-600: #a8823a;
  --gold-300: #e2c88f;
  --cream-50: #f5f3f0;   /* page */
  --cream-100: #f0efe9;  /* alt sections */
  --cream-150: #f1eee5;  /* offer band */
  --ink-900: #1f2b38;
  --ink-700: #404b57;
  --ink-500: #5c6570;   /* 5.3:1 on the cream page (AA) */
  --line: #dedad0;

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;

  --radius: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(4, 38, 63, .10);
  --shadow-md: 0 8px 24px rgba(4, 38, 63, .14);
  --shadow-lg: 0 24px 60px rgba(4, 38, 63, .22);
  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  /* no overflow on body: html's overflow-x: clip handles it without breaking the sticky header */
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; color: var(--heading); line-height: 1.18; margin: 0; }
h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 84px; padding-bottom: 84px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

/* Two-tone focus ring: navy on light surfaces, white on dark ones; readable on gold buttons too */
:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.hero :focus-visible, .reviews :focus-visible, .site-footer :focus-visible, .faq-sec :focus-visible,
.areas-card__list :focus-visible, .mobile-cta .btn--navy:focus-visible, .to-top:focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--navy-950); }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-700); margin-bottom: 8px; }
.eyebrow--gold { color: #80612a; } /* darker gold so small label text passes AA (sample gold was 2.45:1) */
.section-title { font-size: clamp(1.7rem, 2.8vw, 2.25rem); }
.section-sub { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-700); margin-top: 8px; }
.lead { margin-top: 18px; max-width: 48ch; }
.center { text-align: center; margin-top: 28px; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto; }
.center-head p { margin-top: 12px; color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 24px; border-radius: var(--radius); border: 2px solid transparent;
  font: 700 .9rem/1 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold-500); color: var(--navy-950); /* navy text: 6.2:1 on the sample gold (white was 2.7:1) */ box-shadow: 0 2px 0 rgba(0, 0, 0, .06); }
.btn--gold:hover { background: #caa258; color: var(--navy-950); box-shadow: 0 6px 18px rgba(191, 151, 74, .35); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
/* Outlined buttons: solid 2px white border so the edge reads clearly (client feedback) */
.btn--navy-outline { background: var(--navy-900); color: #fff; border-color: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.btn--navy-outline:hover { background: var(--navy-700); }
/* White buttons: strong navy border so they don't disappear on light backgrounds (client feedback) */
.btn--white { background: #fff; color: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 2px 8px rgba(4, 38, 63, .12); }
.btn--white:hover { background: var(--navy-900); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .84rem; }
.btn--pill { border-radius: 999px; padding: 0 30px; }

/* ---------- Header (sticky) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(245, 243, 240, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(8px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(4, 38, 63, .12); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 66px; width: auto; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.primary-nav a, .primary-nav button.nav-toggle-sub {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--radius);
  font: 600 .88rem/1 var(--font-sans); color: var(--ink-700); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.primary-nav a:hover, .primary-nav button.nav-toggle-sub:hover { color: var(--navy-900); }
.primary-nav a[aria-current="page"] { color: var(--navy-900); box-shadow: inset 0 -2px 0 var(--navy-900); border-radius: 0; }
.has-sub { position: relative; }
.has-sub > button svg { width: 12px; height: 12px; transition: transform .2s; }
.has-sub.open > button svg { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-menu--mega { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 460px; left: 50%; margin-left: -230px; padding: 14px; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* hover bridge */
.has-sub:hover .sub-menu, .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 8px 12px; font-size: .86rem; }
.sub-menu a:hover { background: var(--cream-100); }
.primary-nav .sub-group__title { font-weight: 800; color: var(--navy-900); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid var(--gold-500); border-radius: 0; margin-bottom: 4px; }
.header-cta { display: flex; align-items: center; gap: 22px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy-900); text-decoration: none; font-size: 1rem; }
.header-phone svg { width: 18px; height: 18px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 2px solid var(--navy-900); border-radius: var(--radius); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; color: var(--navy-900); }
.mobile-nav-cta { display: none; }

/* ---------- Hero video + estimate form ---------- */
.hero:fullscreen { height: 100vh; max-height: none; }
.hero { position: relative; height: min(86vh, 760px); min-height: 640px; overflow: hidden; background: var(--navy-950); color: #fff; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; } /* per-shot framing is baked into the 2.13:1 video file */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 20, 34, .8) 0%, rgba(2, 20, 34, .62) 34%, rgba(2, 20, 34, .25) 62%, rgba(2, 20, 34, .35) 100%),
    linear-gradient(0deg, rgba(2, 20, 34, .55) 0%, rgba(2, 20, 34, 0) 20%);
}
.hero__inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr minmax(340px, 400px); gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 76px; }
.hero__content { display: flex; flex-direction: column; justify-content: center; }
.hero__content .eyebrow { color: rgba(255, 255, 255, .92); letter-spacing: .14em; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.3rem); max-width: 17ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.hero__lead { margin-top: 18px; max-width: 42ch; font-size: 1.02rem; color: rgba(255, 255, 255, .94); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

.hero__watch { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; align-self: flex-start; background: none; border: 0; padding: 4px 8px 4px 0; color: #fff; cursor: pointer; font: 700 .9rem/1.3 var(--font-sans); }
.hero__watch-ring { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: rgba(2, 20, 34, .38); display: grid; place-items: center; transition: transform .2s, background-color .2s; }
.hero__watch:hover .hero__watch-ring { transform: scale(1.06); background: rgba(191, 151, 74, .6); }
.hero__watch svg { width: 18px; height: 18px; margin-left: 3px; }
.hero__watch small { font-weight: 400; opacity: .9; }

.hero-form { align-self: center; display: flex; flex-direction: column; max-height: 100%; background: #fff; color: var(--ink-900); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border-top: 4px solid var(--gold-500); }
.hero-form__head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--navy-800); }
.hero-form__head svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; }
.hero-form__head h2 { color: #fff; font-family: var(--font-sans); font-weight: 800; font-size: 1.05rem; }
/* The LeadConnector form is ~1,000 px tall; on desktop it scrolls inside the card so the hero keeps its height */
.hero-form__body { flex: 1; min-height: 0; height: 520px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: #fff; }
.hero-form__body iframe { display: block; width: 100%; min-height: 1003px; border: 0; }

.video-bar {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px;
  padding: 12px 24px; color: #fff; font-size: .82rem; font-variant-numeric: tabular-nums;
}
.video-bar button { background: none; border: 0; color: #fff; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius); flex: none; }
.video-bar button:hover { background: rgba(255, 255, 255, .14); }
.video-bar svg { width: 18px; height: 18px; }
.video-time { flex: none; min-width: 78px; }
.video-progress { flex: 1; position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; }
.video-progress__track { position: absolute; left: 0; right: 0; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.video-progress__fill { position: absolute; left: 0; height: 3px; border-radius: 2px; background: #fff; width: 0; }
.video-progress__thumb { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; left: 0; transform: translateX(-50%); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.video-progress input[type="range"] { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; margin: 0; }
.video-progress:focus-within { outline: 3px solid #fff; outline-offset: 4px; border-radius: 4px; }
.speed-wrap { position: relative; }
.speed-menu { position: absolute; right: 0; bottom: calc(100% + 8px); background: rgba(2, 20, 34, .92); border-radius: var(--radius); padding: 6px; min-width: 120px; }
.speed-menu[hidden] { display: none; }
.speed-menu p { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; padding: 4px 8px; }
.video-bar .speed-menu button { width: 100%; height: 32px; display: flex; justify-content: space-between; padding: 0 8px; font: 600 .82rem/1 var(--font-sans); }
.speed-menu button[aria-checked="true"]::after { content: "✓"; color: var(--gold-500); }
.icon-pause, .is-playing .icon-play { display: none; }
.is-playing .icon-pause { display: block; }
.icon-unmuted, .is-unmuted .icon-muted { display: none; }
.is-unmuted .icon-unmuted { display: block; }

/* ---------- Trust bar ---------- */
.trust { background: var(--cream-50); }
.trust__list { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 12px; padding-bottom: 12px; }
.trust__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 10px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__badge { height: 58px; display: flex; align-items: center; justify-content: center; }
.trust__badge svg { height: 58px; width: auto; }
.trust__badge svg.stars-badge { height: 30px; }
.trust__item strong { font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--heading); }
.trust__item span { display: block; font-size: .8rem; color: var(--ink-500); margin-top: 2px; }

/* ---------- Services (residential / commercial tabs) ---------- */
.services-sec { background: var(--cream-100); border-top: 1px solid rgba(0, 0, 0, .03); }
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.services__head .section-title { max-width: 20ch; }
.services__tabs { display: inline-flex; flex: none; padding: 5px; gap: 4px; background: #fff; border: 2px solid var(--navy-900); border-radius: 999px; }
.services__tabs[hidden] { display: none; }
.services__tabs button { min-height: 42px; padding: 0 24px; border: 0; border-radius: 999px; background: none; font: 800 .88rem/1 var(--font-sans); color: var(--navy-900); cursor: pointer; transition: background-color .2s, color .2s; }
.services__tabs button[aria-selected="true"] { background: var(--navy-900); color: #fff; }
.services__tabs button:not([aria-selected="true"]):hover { background: var(--cream-100); }
.services__panel + .services__panel { margin-top: 40px; }
.has-tabs .services__panel + .services__panel { margin-top: 0; }
.services__panel[hidden] { display: none; }
.services__panel-title { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 16px; }
.has-tabs .services__panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.services__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); text-decoration: none; color: #fff; box-shadow: var(--shadow-sm); background: var(--navy-800); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 20, 34, .92) 0%, rgba(2, 20, 34, .5) 32%, rgba(2, 20, 34, 0) 58%); }
.service-card span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: .92rem; }
.service-card span svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.service-card:hover img { transform: scale(1.06); }
.service-card:hover span svg { transform: translateX(3px); }
.services__more { text-align: center; margin-top: 28px; }

/* ---------- Why choose (centred image) ---------- */
.why-sec { position: relative; overflow: hidden; background: #fff; }
.why-sec__mark { position: absolute; left: 50%; top: 50%; width: 720px; height: 720px; transform: translate(-50%, -50%); color: var(--navy-800); opacity: .035; pointer-events: none; }
.why-sec .container { position: relative; }
.why-sec .section-title em { font-style: italic; font-weight: 500; color: var(--gold-600); }
.why-grid { display: grid; grid-template-columns: 1fr minmax(280px, 380px) 1fr; gap: 56px; align-items: center; margin-top: 48px; }
.why-col { display: grid; gap: 40px; }
.why-feature { text-align: center; }
.why-feature__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cream-100); color: var(--gold-600); margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(191, 151, 74, .35); }
.why-feature__icon svg { width: 32px; height: 32px; }
.why-feature h3 { color: var(--heading); font-size: 1.05rem; }
.why-feature p { font-size: .9rem; color: var(--ink-500); margin-top: 6px; }
.why-figure { position: relative; margin: 0 22px 22px 0; }
.why-figure::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--gold-300); border-radius: var(--radius-lg); }
.why-figure img { position: relative; width: 100%; height: auto; aspect-ratio: 9 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.why-sec .center { margin-top: 48px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.about__text .lead { max-width: 52ch; }
.about__text .btn { margin-top: 26px; }
.about__media { display: grid; grid-template-columns: 1.75fr 1fr; min-height: 300px; overflow: hidden; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__panel { background: var(--navy-800); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 16px; }
.about__panel p { font-family: var(--font-script); font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.2; white-space: nowrap; }
.about__panel svg { width: 34px; height: 34px; color: #fff; }

/* ---------- How it works (overlapping circles) ---------- */
.process-sec { background: #fff; padding-top: 72px; }
.title-lines { display: flex; align-items: center; gap: 24px; }
.title-lines::before, .title-lines::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.title-lines span { flex: none; }
.process-sec .center-head { max-width: none; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 44px; counter-reset: step; }
.process__step { position: relative; min-width: 0; }
.process__circle {
  position: relative; display: grid; place-items: center; width: 116%; margin-left: -8%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%), var(--c);
  mix-blend-mode: multiply; opacity: .94; color: #fff;
}
.process__circle svg { width: 30%; height: 30%; filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, .12)); }
.process { padding: 0 3%; }
.process__text { padding: 22px 14px 0 18px; }
.process__num { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
.process__text h3 { font-family: var(--font-serif); font-weight: 600; color: var(--heading); font-size: 1.05rem; }
.process__text p { font-size: .88rem; color: var(--ink-500); margin-top: 6px; }
.process-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }

/* ---------- Reviews + service areas ---------- */
.reviews { background: var(--navy-800); color: #fff; padding-top: 64px; padding-bottom: 64px; }
.reviews .section-title, .reviews .eyebrow { color: #fff; }
.reviews .section-sub { color: rgba(255, 255, 255, .85); }
.reviews__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.reviews__col + .reviews__col { border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 56px; }
.areas-title { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.rating { display: flex; align-items: center; gap: 16px; margin-top: 18px; font-size: .84rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.stars { display: inline-flex; gap: 4px; color: #f2b632; }
.stars svg { width: 20px; height: 20px; }
.rating a { color: #fff; text-decoration: none; }
.rating a:hover { text-decoration: underline; }
.slider { margin-top: 26px; padding: 28px 30px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(191, 151, 74, .35); border-radius: var(--radius-lg); }
.slide { display: none; }
.slide.is-active { display: block; animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slide.is-active { animation: none; } }
.slide blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; line-height: 1.75; color: #fff; }
.slide cite { display: block; margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--gold-500); width: 90px; white-space: nowrap; font-style: normal; font-size: .9rem; color: rgba(255, 255, 255, .9); }
.slider__controls { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.slider__controls button.arrow { width: 36px; height: 36px; border-radius: var(--radius); border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.slider__controls button.arrow:hover { background: rgba(255, 255, 255, .18); }
.slider__controls svg { width: 15px; height: 15px; }
.dots { display: flex; gap: 0; }
.dots button { min-width: 34px; height: 34px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: background-color .2s; }
.dots button[aria-current="true"]::before { background: var(--gold-500); }

.areas-card { display: grid; grid-template-columns: 1fr 1.05fr; margin-top: 22px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); background: var(--navy-950); border: 1px solid rgba(191, 151, 74, .45); }
.map-box { position: relative; min-height: 340px; background: #dfe8e3; overflow: hidden; }
/* iframe oversized by 70px each side so Google's map controls fall outside the box (panel is decorative, not interactive) */
.map-box iframe { position: absolute; top: -110px; left: -110px; width: calc(100% + 220px); height: calc(100% + 220px); border: 0; filter: saturate(.7) sepia(.12) brightness(1.03); pointer-events: none; }
.map-box::after { /* gold service-radius circle, as in the sample */
  content: ""; position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(214, 170, 80, .28); border: 2px solid rgba(191, 151, 74, .8); pointer-events: none;
}
.map-box .btn { position: absolute; left: 0; bottom: 0; z-index: 1; border-radius: 0 var(--radius) 0 0; }
.areas-card__list { color: #fff; padding: 22px 26px 24px; }
.areas-card__list h3 { color: #fff; font-family: var(--font-serif); font-size: 1rem; margin-bottom: 8px; }
.areas-card__list h3.sub { font-family: var(--font-sans); font-weight: 600; font-size: .92rem; color: rgba(255, 255, 255, .8); margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); }
.areas-card__list li a { display: flex; align-items: center; gap: 8px; padding: 2px 0; font-size: .86rem; color: rgba(255, 255, 255, .9); text-decoration: none; }
.areas-card__list li a:hover { color: var(--gold-500); }
.areas-card__list li svg { width: 13px; height: 13px; flex: none; color: var(--gold-500); }

/* ---------- Featured work ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1.95 / 1; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ---------- Offer ---------- */
.offer { background: var(--cream-150); }
.offer__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; }
.offer__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3.15 / 1; margin: 0 0 0 -24px; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer__body p { margin-top: 12px; max-width: 44ch; }
.offer__body .btn { margin-top: 22px; }

/* ---------- Compare (centred, colourful band + fence silhouette) ---------- */
.compare-sec { padding-bottom: 72px; background: var(--cream-50); }
.compare-band {
  position: relative; padding: 64px 0 150px; color: #fff; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='120' viewBox='0 0 60 120'%3E%3Cpath d='M6 120V22L15 8l9 14v98zM36 120V22l9-14 9 14v98z' fill='%23ffffff' fill-opacity='.07'/%3E%3Crect y='46' width='60' height='7' fill='%23ffffff' fill-opacity='.07'/%3E%3Crect y='92' width='60' height='7' fill='%23ffffff' fill-opacity='.07'/%3E%3C/svg%3E") left bottom / 60px 120px repeat-x,
    radial-gradient(ellipse at 80% 0%, rgba(191, 151, 74, .45), rgba(191, 151, 74, 0) 55%),
    linear-gradient(135deg, #0b2d47 0%, #165079 55%, #1f6a8f 100%);
}
.compare-band .eyebrow { color: var(--gold-300); }
.compare-band .section-title { color: #fff; }
.compare-band p { color: rgba(255, 255, 255, .88); }
.compare-band__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); margin-bottom: 14px; }
.compare-band__icon svg { width: 28px; height: 28px; color: #fff; }
.compare-card { position: relative; max-width: 880px; margin: -110px auto 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow-x: auto; border-top: 5px solid var(--gold-500); }
.compare-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
.compare-table thead th { padding: 20px 18px; font-family: var(--font-sans); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-900); text-align: center; border-bottom: 2px solid var(--line); vertical-align: bottom; }
.compare-table thead th:first-child { text-align: left; }
.compare-table th.col-us { color: var(--navy-900); }
.top-tag { display: block; width: max-content; margin: 0 auto 8px; padding: 4px 10px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: .66rem; letter-spacing: .1em; }
.compare-table tbody th { text-align: left; font-weight: 600; color: var(--ink-900); padding: 13px 18px; }
.compare-table td { text-align: center; padding: 10px 18px; }
.compare-table tbody tr + tr > * { border-top: 1px solid #eeebe4; }
.compare-table tbody tr:hover > * { background: #faf8f3; }
.compare-table .col-us { background: rgba(191, 151, 74, .1); width: 26%; }
.compare-table tbody tr:hover > .col-us { background: rgba(191, 151, 74, .16); }
.compare-table td:last-child { width: 22%; }
.yes, .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.yes { background: var(--gold-500); color: #fff; box-shadow: 0 3px 8px rgba(191, 151, 74, .4); }
.no { background: #eceef0; color: #8a929a; }
.yes svg, .no svg { width: 16px; height: 16px; }
.compare-sec .center { margin-top: 32px; }

/* ---------- FAQ (dark, two-column cards) ---------- */
.faq-sec { position: relative; padding-top: 80px; padding-bottom: 84px; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(191, 151, 74, .18), rgba(191, 151, 74, 0) 55%), linear-gradient(180deg, #04263f 0%, #021a2c 100%); }
.faq-sec__mark { width: 34px; height: 34px; color: var(--gold-500); margin: 0 auto 14px; display: block; }
.faq-sec .section-title { color: #fff; font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin: 40px auto 0; align-items: start; }
.faq-col { display: grid; gap: 18px; }
.faq-item { background: rgba(255, 255, 255, .04); border: 1px solid rgba(191, 151, 74, .28); border-radius: 12px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.faq-item:hover { border-color: rgba(191, 151, 74, .6); }
.faq-item.is-open { border-color: var(--gold-500); background: linear-gradient(180deg, rgba(191, 151, 74, .16), rgba(191, 151, 74, .05)); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.faq-item h3 { margin: 0; }
.faq-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px;
  background: none; border: 0; cursor: pointer; text-align: left; font: 700 .96rem/1.4 var(--font-sans); color: #fff; border-radius: 12px;
}
.faq-item button svg { width: 20px; height: 20px; flex: none; transition: transform .2s; color: var(--gold-500); }
.faq-item button[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 22px 20px; font-size: .9rem; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.faq-answer a { color: var(--gold-300); }
.faq-answer[hidden] { display: none; }
.faq-sec .center { margin-top: 40px; }

/* ---------- CTA (angled card on blue panel) ---------- */
.cta-sec { padding: 84px 0 96px; background: var(--cream-50); }
.cta-panel {
  position: relative; border-radius: 18px; padding: 90px 40px 0; overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.5px) 0 0 / 18px 18px,
    radial-gradient(ellipse at 30% 0%, #2a7bbf 0%, rgba(42, 123, 191, 0) 60%),
    linear-gradient(180deg, #0f4c80 0%, #0b2d47 70%, #021e33 100%);
}
.cta-card {
  position: relative; z-index: 1; background: #fff; padding: 70px 46% 54px 56px; border-radius: 0 28px 0 0;
  clip-path: polygon(0 0, 100% 13%, 100% 100%, 0 100%); margin-left: 20px;
  border-top-left-radius: 28px;
}
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #eef6ea; color: #2f6a24; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.cta-card h2 { margin-top: 16px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--heading); }
.cta-card p { margin-top: 14px; max-width: 40ch; color: var(--ink-500); font-size: 1.02rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta-media { position: absolute; z-index: 2; right: 8%; bottom: 0; width: min(32%, 330px); }
.cta-media img { width: 100%; height: auto; aspect-ratio: 7 / 9; object-fit: cover; border: 8px solid #0b1520; border-bottom: 0; border-radius: 32px 32px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .35); }
.cta-badge { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.cta-badge svg { width: 30px; height: 30px; }
.cta-badge--1 { left: -96px; top: 6%; color: var(--navy-800); }
.cta-badge--2 { right: -78px; top: -4%; color: var(--gold-600); }
.cta-badge--3 { right: -92px; top: 36%; color: #f2b632; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .8); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr .8fr 1.05fr .9fr 1.45fr; gap: 32px; padding-top: 64px; padding-bottom: 44px; }
.footer-brand img { height: 92px; width: auto; }
.footer-brand p { margin-top: 20px; line-height: 1.7; }
.license-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; background: rgba(255, 255, 255, .05); color: #fff; font-weight: 700; font-size: .84rem; line-height: 1.5; white-space: nowrap; }
.license-badge svg { width: 22px; height: 22px; color: var(--gold-500); flex: none; }
.site-footer h2 { position: relative; font-family: var(--font-sans); font-size: 1.08rem; font-weight: 800; color: #fff; margin-bottom: 26px; padding-bottom: 12px; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--gold-500); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links svg { width: 12px; height: 12px; flex: none; color: var(--gold-500); transition: transform .2s; }
.footer-links a:hover svg { transform: translateX(3px); }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.contact-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: rgba(255, 255, 255, .07); }
.contact-icon svg { width: 16px; height: 16px; color: var(--gold-500); }
.contact-list li > a, .contact-list li > span:last-child { padding-top: 7px; line-height: 1.5; overflow-wrap: anywhere; }
.footer-map { position: relative; margin-top: 8px; height: 150px; border-radius: 12px; overflow: hidden; background: #dfe8e3; }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.social { display: flex; gap: 12px; margin-top: 24px; }
.social a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--gold-500); color: var(--navy-950); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 20px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; color: rgba(255, 255, 255, .75); }
.footer-bottom nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-bottom nav span { opacity: .5; }

/* ---------- Back to top (bottom-left so it never sits under the live chat bubble/greeting on the right) ---------- */
.to-top {
  position: fixed; z-index: 95; left: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 10px;
  display: grid; place-items: center; border: 2px solid #fff; background: var(--navy-900); color: #fff; cursor: pointer;
  box-shadow: 0 8px 20px rgba(4, 38, 63, .3); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); color: var(--navy-950); }
.to-top svg { width: 22px; height: 22px; }

.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .primary-nav a, .primary-nav button.nav-toggle-sub { padding: 10px 8px; }
  .services__grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 32px; align-items: start; }
  .footer-brand img { grid-row: span 3; }
  .footer-brand p { margin-top: 0; }
  .cta-card { padding-right: 44%; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  /* backdrop-filter would make the header the containing block for the fixed off-canvas nav */
  .site-header { backdrop-filter: none; background: var(--cream-50); }
  .brand img { height: 54px; }
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: var(--cream-50); padding: 16px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
  .primary-nav.open { transform: none; visibility: visible; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav > ul > li > a, .primary-nav button.nav-toggle-sub { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1rem; }
  .primary-nav button.nav-toggle-sub { font-weight: 800; color: var(--navy-900); }
  .primary-nav a[aria-current="page"] { box-shadow: none; color: var(--gold-600); }
  /* Services menu on mobile: always rendered in the flow, opened by default when the menu opens */
  .sub-menu, .sub-menu--mega { position: static; width: auto; margin: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 14px; display: none; background: transparent; }
  .sub-menu::before { display: none; }
  .has-sub:hover .sub-menu { display: none; }
  .has-sub.open .sub-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .sub-menu a { padding: 9px 10px; font-size: .94rem; }
  .mobile-nav-cta { display: grid; gap: 12px; margin-top: 24px; }

  .hero { height: auto; min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; padding-bottom: 96px; }
  .hero-form { width: 100%; max-width: 560px; }
  .hero-form__body { height: auto; overflow: visible; }

  .services__head { flex-direction: column; align-items: flex-start; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-figure { grid-column: 1 / -1; grid-row: 1; max-width: 420px; justify-self: center; width: 100%; }
  .about, .reviews__grid, .offer__inner { grid-template-columns: 1fr; gap: 40px; }
  .reviews__col + .reviews__col { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 40px; }
  .process { grid-template-columns: 1fr; gap: 18px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .process__step { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; }
  .process { padding: 0; }
  .process__circle { width: 96px; margin: 0; }
  .process__text { padding: 0; }
  .offer__media { margin: 0; aspect-ratio: 2.4 / 1; }
  .trust__list { grid-template-columns: repeat(3, 1fr); }
  .trust__item:nth-child(4) { border-left: 0; }
  .trust__item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 0; }
  .cta-card { margin: 0; padding: 48px 32px; clip-path: none; border-radius: 0; }
  .cta-media { position: relative; right: auto; width: 62%; max-width: 300px; margin: 40px auto 0; }
  .cta-badge--1 { left: -80px; }
  .cta-badge--2 { right: -70px; }
  .cta-badge--3 { right: -76px; }
}

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  /* Phone: video on top so the running dog stays visible, headline, buttons and form on navy below */
  .hero { background: var(--navy-800); }
  .hero__video { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; object-position: 55% 50%; }
  .hero::after { bottom: auto; height: calc(100vw * .625); background: linear-gradient(0deg, rgba(2, 20, 34, .6) 0%, rgba(2, 20, 34, 0) 32%); }
  .video-bar { top: calc(100vw * .625 - 54px); bottom: auto; }
  .hero__inner { padding-top: 26px; padding-bottom: 34px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-left: 0 !important; border-top: 1px solid var(--line); }
  .trust__item:nth-child(-n+2) { border-top: 0; }
  .trust__item:nth-child(odd):not(:last-child) { border-right: 1px solid var(--line); }
  .trust__item:last-child { grid-column: 1 / -1; }
  .services__tabs { width: 100%; }
  .services__tabs button { flex: 1; padding: 0 10px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-card span { font-size: .84rem; left: 10px; right: 10px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-col { gap: 28px; }
  .title-lines::before, .title-lines::after { display: none; }
  .title-lines { justify-content: center; }
  .title-lines span { flex: 1 1 auto; }
  .process__step { grid-template-columns: 72px 1fr; gap: 16px; }
  .process__circle { width: 72px; }
  .process-cta .btn { flex: 1 1 100%; }
  .about__media { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 16 / 10; }
  .areas-card { grid-template-columns: 1fr; }
  .map-box { min-height: 260px; }
  .slider { padding: 22px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .compare-band { padding: 52px 0 130px; }
  .compare-table { font-size: .84rem; min-width: 0; }
  .compare-table thead th, .compare-table tbody th, .compare-table td { padding-left: 10px; padding-right: 10px; }
  .faq-item button { padding: 16px 18px; }
  .faq-item .faq-answer { padding: 0 18px 18px; }
  .cta-sec { padding: 56px 0 64px; }
  .cta-card { padding: 36px 22px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .cta-badge { width: 48px; height: 48px; }
  .cta-badge svg { width: 22px; height: 22px; }
  .cta-badge--1 { left: -56px; }
  .cta-badge--2 { right: -50px; }
  .cta-badge--3 { right: -56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { display: block; }
  .footer-brand p { margin-top: 18px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .video-time { min-width: 0; }
  .video-bar { gap: 6px; padding: 10px 12px; }
  body { padding-bottom: 64px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 243, 240, .97); border-top: 1px solid var(--line); }
  .mobile-cta .btn { min-height: 44px; padding: 0 10px; }
  .to-top { left: 16px; bottom: 80px; width: 44px; height: 44px; }
}

/* =====================================================================
   INNER PAGES (round 6)
   Built only from homepage pieces: hero gradient, eyebrow + serif titles, gold-framed images,
   why-feature icons, service cards, trust bar, process circles, reviews/areas, dark FAQ, angled CTA.
   ===================================================================== */
.primary-nav .has-sub.is-current > button.nav-toggle-sub { color: var(--navy-900); box-shadow: inset 0 -2px 0 var(--navy-900); border-radius: 0; }
.section--alt { background: var(--cream-100); }
.section--white { background: #fff; }
.section-head { margin-bottom: 36px; }
.section-head .lead { max-width: 60ch; }
.center-head .lead { margin-left: auto; margin-right: auto; }

/* ---------- Page hero (homepage hero overlay on a still photo) ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; border-bottom: 4px solid var(--gold-500);
  background-color: var(--navy-950); background-position: 50% 50%; background-size: cover; background-repeat: no-repeat; } /* photo set inline per page */
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 20, 34, .9) 0%, rgba(2, 20, 34, .74) 38%, rgba(2, 20, 34, .4) 70%, rgba(2, 20, 34, .5) 100%),
    linear-gradient(0deg, rgba(2, 20, 34, .55) 0%, rgba(2, 20, 34, 0) 30%);
}
.page-hero__inner { position: relative; z-index: 2; padding-top: 52px; padding-bottom: 76px; }
.page-hero--form .page-hero__inner { display: grid; grid-template-columns: 1fr minmax(340px, 400px); gap: 48px; align-items: center; padding-bottom: 56px; }
.page-hero .eyebrow { color: var(--gold-300); letter-spacing: .14em; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.3rem); max-width: 18ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.page-hero__lead { margin-top: 16px; max-width: 54ch; font-size: 1.04rem; color: rgba(255, 255, 255, .94); }
.page-hero__lead:empty { display: none; }
.page-hero--post h1 { max-width: 28ch; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
/* form_embed.js writes an inline height on the form box, so cap it with max-height (desktop only; phones show it in full) */
.page-hero .hero-form, .estimate .hero-form { max-height: none; }
.page-hero .hero-form__body { flex: none; height: 500px; max-height: 500px; }
.page-hero :focus-visible, .band-fence :focus-visible, .side-card--navy :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--navy-950); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: .86rem; font-weight: 700; color: rgba(255, 255, 255, .9); }
.post-meta span { display: inline-flex; align-items: center; gap: 8px; }
.post-meta svg { width: 16px; height: 16px; color: var(--gold-500); }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 22px; font-size: .82rem; font-weight: 700; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); transform: rotate(45deg); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-300); text-decoration: underline; }

/* ---------- Split: copy beside a gold-framed photo (same frame as the Why Choose image) ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.split--flip > .split__media { order: -1; }
.split__media { position: relative; margin: 0 22px 22px 0; }
.split__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--gold-300); border-radius: var(--radius-lg); }
.split__media img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.map-frame { min-height: 380px; }
.map-frame iframe { position: relative; display: block; width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #dfe8e3; }
.center-copy { margin-top: 36px; text-align: center; }
.inner .section:not(.section--alt):not(.section--white):not(.band-fence):not(.why-sec):not(.process-sec):not(.services-sec) + .cta-sec { padding-top: 8px; } /* same cream as the CTA: no double gap */
.more-from { margin-top: 44px; max-width: 560px; }
.more-from h2, .more-from h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 14px; }
.faq-answer p + p { margin-top: 10px; }

/* ---------- Long-form copy ---------- */
.prose { color: var(--ink-700); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.prose > * + h2 { margin-top: 44px; }
.prose > .eyebrow + h2 { margin-top: 0; }
.prose h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--heading); }
.prose > * + h3 { margin-top: 30px; }
.prose a { color: var(--navy-900); font-weight: 700; text-decoration-color: var(--gold-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-600); }
.prose--narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 21px; height: 21px; border-radius: 50%;
  background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23021e33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") 50% 55% / 12px no-repeat;
}
.check-list--cols { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.callout { padding: 16px 20px; border-left: 4px solid var(--gold-500); border-radius: 0 var(--radius) var(--radius) 0; background: var(--cream-100); color: var(--ink-900); }
.callout strong { color: var(--navy-900); }

/* ---------- Feature cards (why-feature icon inside a card) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold-500); border-radius: 12px; padding: 30px 26px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card .why-feature__icon { margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.18rem; color: var(--heading); }
.feature-card p { margin-top: 10px; font-size: .94rem; color: var(--ink-500); }
.feature-card p + p { margin-top: 10px; }
.feature-card .check-list { margin-top: 14px; font-size: .92rem; }
.feature-card--lg { padding: 36px 34px; }
.feature-card--lg p { font-size: 1rem; color: var(--ink-700); }
.section--alt .feature-card .why-feature__icon, .feature-card .why-feature__icon { background: var(--cream-100); }

/* Navy band with the compare-section fence silhouette */
.band-fence {
  position: relative; color: #fff; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='120' viewBox='0 0 60 120'%3E%3Cpath d='M6 120V22L15 8l9 14v98zM36 120V22l9-14 9 14v98z' fill='%23ffffff' fill-opacity='.06'/%3E%3Crect y='46' width='60' height='7' fill='%23ffffff' fill-opacity='.06'/%3E%3Crect y='92' width='60' height='7' fill='%23ffffff' fill-opacity='.06'/%3E%3C/svg%3E") left bottom / 60px 120px repeat-x,
    radial-gradient(ellipse at 80% 0%, rgba(191, 151, 74, .4), rgba(191, 151, 74, 0) 55%),
    linear-gradient(135deg, #0b2d47 0%, #165079 55%, #1f6a8f 100%);
}
.band-fence .section-title, .band-fence h3 { color: #fff; }
.band-fence .eyebrow { color: var(--gold-300); }
.band-fence .center-head p, .band-fence .lead { color: rgba(255, 255, 255, .88); }
.band-fence .feature-card { background: rgba(2, 20, 34, .35); border-color: rgba(191, 151, 74, .4); border-top-color: var(--gold-500); box-shadow: none; backdrop-filter: blur(2px); }
.band-fence .feature-card p { color: rgba(255, 255, 255, .85); }
.band-fence .feature-card .why-feature__icon { background: rgba(255, 255, 255, .08); color: var(--gold-300); }

/* ---------- Estimate block (contact details + live form) ---------- */
.estimate-sec { background: var(--cream-100); }
.estimate { display: grid; grid-template-columns: 1fr minmax(340px, 430px); gap: 64px; align-items: start; }
.estimate .hero-form { position: sticky; top: calc(var(--header-h) + 20px); max-height: none; }
.estimate .hero-form__body { flex: none; height: 620px; max-height: 620px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.contact-card .contact-icon { background: var(--navy-800); }
.contact-card strong { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 2px; }
.contact-card a, .contact-card span { color: var(--heading); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; line-height: 1.45; }
.contact-card a:hover { color: var(--gold-600); text-decoration: underline; }
.license-badge--light { background: #fff; border-color: var(--line); color: var(--heading); box-shadow: var(--shadow-sm); }
.license-badge--light svg { color: var(--gold-600); }

/* ---------- Service grid variants ---------- */
.services__grid--4 { grid-template-columns: repeat(4, 1fr); }
.services__grid--6 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.center-subtitle { text-align: center; font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; color: var(--heading); margin: 8px auto 28px; max-width: 46ch; }
.feature-card--cta { display: flex; flex-direction: column; text-decoration: none; background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.feature-card--cta h3 { color: #fff; }
.feature-card--cta p { color: rgba(255, 255, 255, .85); }
.feature-card--cta .why-feature__icon { background: rgba(255, 255, 255, .08); color: var(--gold-300); }
.feature-card--cta .read-more { color: var(--gold-300); }
.feature-card--cta:focus-visible { outline-color: var(--navy-900); }
.service-card--cta { background: linear-gradient(135deg, #0b2d47 0%, #165079 60%, #1f6a8f 100%); }
.service-card--cta::after { background: radial-gradient(ellipse at 80% 0%, rgba(191, 151, 74, .4), rgba(191, 151, 74, 0) 60%); }
.service-card .service-card__cta { top: 0; bottom: 40px; flex-direction: column; justify-content: center; gap: 6px; text-align: center; font: 600 1.15rem/1.3 var(--font-serif); }
.service-card .service-card__cta svg { width: 38px; height: 38px; color: var(--gold-300); transform: none; }
.service-card .service-card__cta small { font: 600 .82rem/1.3 var(--font-sans); color: rgba(255, 255, 255, .85); }

/* ---------- Guide links ---------- */
.link-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.link-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; border: 2px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--heading); font-weight: 700; line-height: 1.4; transition: border-color .2s, transform .2s, box-shadow .2s; }
.link-card:hover { border-color: var(--gold-500); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.link-card__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--cream-100); color: var(--gold-600); box-shadow: inset 0 0 0 1px rgba(191, 151, 74, .35); }
.link-card__icon svg { width: 22px; height: 22px; }
.link-card > svg { width: 18px; height: 18px; flex: none; margin-left: auto; color: var(--navy-900); transition: transform .2s; }
.link-card:hover > svg { transform: translateX(3px); }

/* ---------- Stats strip (trust-bar layout with numbers) ---------- */
.trust__item .stat-num { display: flex; align-items: center; height: 58px; font-family: var(--font-serif); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--gold-600); }
.trust__list--4 { grid-template-columns: repeat(4, 1fr); }
.city-card.city-card--cta { text-decoration: none; background: var(--navy-800); border-color: var(--navy-800); }
.city-card.city-card--cta .city-card__body > p { color: rgba(255, 255, 255, .88); }
.city-card.city-card--cta .city-card__head { background: var(--navy-950); }
.city-card--cta:focus-visible { outline-color: var(--navy-900); }

/* ---------- Service areas: city cards ---------- */
.region + .region { margin-top: 56px; }
.region__title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 22px; }
.region__title svg { width: 22px; height: 22px; color: var(--gold-600); }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.city-grid--4 { grid-template-columns: repeat(4, 1fr); }
.city-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.city-card__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: var(--navy-800); border-bottom: 3px solid var(--gold-500); }
.city-card__head svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; }
.city-card__head h3 { color: #fff; font-family: var(--font-serif); font-size: 1.15rem; }
.city-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.city-card__body > p { font-size: .9rem; color: var(--ink-500); }
.city-card__label { margin-top: 14px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.city-card ul { display: grid; gap: 4px; margin-top: 6px; }
.city-card li a { display: flex; align-items: center; gap: 8px; padding: 2px 0; font-size: .88rem; font-weight: 600; color: var(--ink-900); text-decoration: none; }
.city-card li a:hover { color: var(--gold-600); text-decoration: underline; }
.city-card li svg { width: 12px; height: 12px; flex: none; color: var(--gold-600); }
.city-card__foot { margin-top: auto; padding-top: 18px; }
.hq { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-800); color: #fff; border: 1px solid rgba(191, 151, 74, .45); }
.hq__text { padding: 44px 44px 40px; }
.hq__text .section-title { color: #fff; }
.hq__text .eyebrow { color: var(--gold-300); }
.hq__text p { margin-top: 14px; color: rgba(255, 255, 255, .88); }
.hq__text .btn { margin-top: 24px; }
.hq .map-box { min-height: 360px; }
.hq__map { min-height: 360px; background: #dfe8e3; }
.hq__map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Gallery: filter pills + grid + lightbox ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 28px auto 0; padding: 5px; background: #fff; border: 2px solid var(--navy-900); border-radius: 999px; }
.filter-bar[hidden] { display: none; }
.filter-bar button { min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: none; font: 800 .86rem/1 var(--font-sans); color: var(--navy-900); cursor: pointer; transition: background-color .2s, color .2s; }
.filter-bar button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.filter-bar button:not([aria-pressed="true"]):hover { background: var(--cream-100); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.photo-grid figure { margin: 0; }
.photo-grid figure[hidden] { display: none; }
.photo-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--navy-800); box-shadow: var(--shadow-sm); }
.photo-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 20, 34, .85) 0%, rgba(2, 20, 34, 0) 45%); }
.photo-btn span { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff; font: 700 .92rem/1.3 var(--font-sans); text-align: left; }
.photo-btn span svg { width: 20px; height: 20px; flex: none; color: var(--gold-300); }
.photo-btn:hover img { transform: scale(1.05); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(2, 20, 34, .88); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { width: auto; max-width: min(1100px, 94vw); max-height: 78vh; margin: 0 auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--navy-800); }
.lightbox figcaption { margin-top: 12px; color: #fff; font-weight: 700; }
.lightbox__bar { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.lightbox__bar button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 2px solid #fff; background: var(--navy-900); color: #fff; cursor: pointer; }
.lightbox__bar button:hover { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.lightbox__bar svg { width: 18px; height: 18px; }
.lightbox :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--navy-950); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-date { position: absolute; left: 14px; top: 14px; display: grid; justify-items: center; min-width: 54px; padding: 7px 8px 6px; border-radius: 8px; background: var(--navy-800); border-bottom: 3px solid var(--gold-500); color: #fff; line-height: 1; text-align: center; }
.post-date strong { font-family: var(--font-serif); font-size: 1.35rem; }
.post-date span { margin-top: 3px; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card__by { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.post-card h2, .post-card h3 { margin-top: 8px; font-family: var(--font-serif); font-weight: 600; font-size: 1.14rem; line-height: 1.3; color: var(--heading); }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.post-card p { margin-top: 10px; font-size: .9rem; color: var(--ink-500); }
.read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 800; font-size: .86rem; color: var(--navy-900); }
.read-more svg { width: 16px; height: 16px; transition: transform .2s; }
.post-card:hover .read-more svg { transform: translateX(3px); }
.post-card a:focus-visible { outline: none; box-shadow: none; }
.post-card:focus-within { outline: 3px solid var(--navy-900); outline-offset: 3px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 320px; }
.post-card--featured .post-card__body { padding: 36px 40px; justify-content: center; }
.post-card--featured h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.post-card--featured p { font-size: 1rem; }
.post-card--featured .read-more { margin-top: 18px; }
.pagination svg { width: 14px; height: 14px; margin-left: 6px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius); border: 2px solid var(--navy-900); background: #fff; color: var(--navy-900); font-weight: 800; text-decoration: none; }
.pagination a:hover { background: var(--cream-100); }
.pagination [aria-current="page"] { background: var(--navy-900); color: #fff; }
.pagination .gap { border-color: transparent; background: none; }
.topic-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.topic-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--heading); font-weight: 700; font-size: .86rem; text-decoration: none; transition: border-color .2s; }
.topic-chips a:hover { border-color: var(--gold-500); }
.topic-chips small { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--cream-100); font-size: .74rem; font-weight: 800; color: var(--ink-700); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 44px 52px 48px; box-shadow: var(--shadow-sm); }
.article__cover { margin: 0 0 32px; }
.article__cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.article .prose > p:first-of-type { font-size: 1.08rem; color: var(--ink-900); }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm); }
.side-card h2 { position: relative; font-family: var(--font-sans); font-size: 1.04rem; font-weight: 800; margin-bottom: 18px; padding-bottom: 10px; }
.side-card h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--gold-500); }
.side-card--navy { background: var(--navy-800); border-color: rgba(191, 151, 74, .45); color: rgba(255, 255, 255, .88); border-top: 4px solid var(--gold-500); }
.side-card--navy h2 { color: #fff; }
.side-card--navy p { font-size: .92rem; }
.side-card--navy .btn { width: 100%; margin-top: 12px; }
.side-card--navy .btn:first-of-type { margin-top: 18px; }
.recent-list { display: grid; gap: 14px; }
.recent-list a { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: center; text-decoration: none; }
.recent-list img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; }
.recent-list strong { display: block; font-size: .88rem; line-height: 1.35; color: var(--heading); }
.recent-list a:hover strong { color: var(--gold-600); text-decoration: underline; }
.recent-list small { display: block; margin-top: 3px; font-size: .76rem; color: var(--ink-500); }
.topic-list li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-900); text-decoration: none; }
.topic-list li:last-child a { border-bottom: 0; }
.topic-list li a:hover { color: var(--gold-600); }
.topic-list small { display: grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--cream-100); font-size: .74rem; font-weight: 800; color: var(--ink-700); }

/* ---------- Thank you ---------- */
.thanks-card { max-width: 760px; margin: 0 auto; padding: 48px 44px; text-align: center; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold-500); border-radius: 14px; box-shadow: var(--shadow-md); }
.thanks-card__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); box-shadow: 0 8px 22px rgba(191, 151, 74, .4); margin-bottom: 18px; }
.thanks-card__icon svg { width: 38px; height: 38px; }
.thanks-card p { margin: 14px auto 0; max-width: 54ch; color: var(--ink-500); }
.thanks-card .cta-actions { justify-content: center; }

@media (max-width: 1100px) {
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .city-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
  .article { padding: 36px 34px 40px; }
}

@media (max-width: 980px) {
  .page-hero--form .page-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero .hero-form { width: 100%; max-width: 560px; }
  .page-hero .hero-form__body, .estimate .hero-form__body { height: auto; max-height: none; overflow: visible; }
  .services__grid--4, .services__grid--6 { grid-template-columns: repeat(2, 1fr); }
  .trust__list--4 { grid-template-columns: repeat(2, 1fr); }
  .trust__list--4 .trust__item { border-left: 0; border-top: 0; }
  .trust__list--4 .trust__item:nth-child(even) { border-left: 1px solid var(--line); }
  .trust__list--4 .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split--flip > .split__media { order: 0; }
  .split__media { max-width: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .estimate { grid-template-columns: 1fr; gap: 40px; }
  .estimate .hero-form { position: static; width: 100%; max-width: 560px; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .hq { grid-template-columns: 1fr; }
  .photo-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .sidebar > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .page-hero__inner { padding-top: 32px; padding-bottom: 48px; }
  .trust__list--4 .trust__item:last-child { grid-column: auto; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card__media { min-height: 0; aspect-ratio: 16 / 10; }
  .post-card--featured .post-card__body { padding: 20px 22px 22px; }
  .page-hero--form .page-hero__inner { padding-bottom: 36px; }
  .page-hero .hero__actions .btn { flex: 1 1 100%; }
  .split__media { margin-right: 14px; margin-bottom: 14px; }
  .split__media::before { inset: 14px -14px -14px 14px; }
  .split__actions .btn { flex: 1 1 100%; }
  .feature-grid, .feature-grid--2, .feature-grid--4, .link-cards, .city-grid, .city-grid--4, .post-grid, .contact-cards, .check-list--cols { grid-template-columns: 1fr; }
  .feature-card, .feature-card--lg { padding: 26px 22px; }
  .hq__text { padding: 32px 22px; }
  .hq .map-box { min-height: 260px; }
  .photo-grid { gap: 10px; }
  .photo-btn span { left: 10px; right: 10px; bottom: 10px; font-size: .82rem; }
  .filter-bar { border-radius: 18px; }
  .filter-bar button { padding: 0 14px; }
  .article { padding: 26px 18px 30px; border-radius: 10px; }
  .sidebar { grid-template-columns: 1fr; }
  .thanks-card { padding: 36px 22px; }
  .license-badge { white-space: normal; }
}

.compare-card--tips { padding: clamp(20px, 4vw, 38px); }
.compare-card--tips ul { margin: 0; padding-inline-start: 1.25em; }
.compare-card--tips li + li { margin-top: .75em; }
#featured-blog-topics-title { margin-top: 20px; }
.blog-featured-topics { list-style: none; margin-bottom: 0; padding-inline-start: 0; }

