/* Stirling Plumbers — vibrant royal blue */
:root {
  --blue-950: #1458a8;
  --blue-900: #1d74c8;
  --blue-800: #2589dc;
  --blue-700: #3a9ee8;
  --blue-600: #5ab0f0;
  --blue-500: #7dc4f7;
  --blue-400: #a3d8fb;
  /* Warm gold accent — tuned for vibrant blue field */
  --gold: #efbe4d;
  --gold-soft: #f6d97a;
  --copper: #d49a50;
  --white: #ffffff;
  --cream: #f3f8fe;
  --mist: #c8e4fa;
  --text: #0e2d52;
  --text-soft: #456a8f;
  --shadow: 0 20px 40px rgba(20, 88, 168, 0.24);
  --shadow-sm: 0 8px 20px rgba(20, 88, 168, 0.14);
  --divider: rgba(58, 158, 232, 0.18);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-hover: rgba(255, 255, 255, 0.95);
  --radius: 16px;
  --radius-lg: 24px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-logo: "Archivo Black", "Arial Black", sans-serif;
  --max: 1180px;
  --header-h: 80px;
  --nav-inline: 1320px;
  --blue-surface-gradient: linear-gradient(
    165deg,
    var(--blue-950) 0%,
    var(--blue-900) 38%,
    var(--blue-800) 100%
  );
  --blue-surface-gradient-soft: linear-gradient(
    155deg,
    #1a6fbd 0%,
    var(--blue-900) 42%,
    #2f95e4 100%
  );
  /* Hero aside panels (Google + accreditation) — same width, never wider than each other */
  --hero-aside-panel-w: 100%;
  --hero-panel-pad-y: 1.25rem;
  --hero-panel-pad-x: 1.35rem;
  /* Accreditation logos — uniform 12px transparent padding in source files */
  --accred-logo-max-h: 2.5rem;
  --accred-logo-gap: 0.65rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--blue-950);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--blue-800);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 899px) {
  body {
    padding-bottom: 4.25rem;
  }
}

/* Atmospheric backdrop (injected by main.js) */
.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.backdrop-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 75% at 50% -15%, rgba(125, 196, 247, 0.18), transparent 62%),
    var(--blue-surface-gradient);
}

/* Soft corner depth — large, low-contrast washes from the same blue family */
.backdrop-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 140% 95% at 0% 100%, rgba(20, 88, 168, 0.18), transparent 82%),
    radial-gradient(ellipse 125% 90% at 100% 0%, rgba(20, 88, 168, 0.14), transparent 80%),
    radial-gradient(ellipse 110% 80% at 100% 100%, rgba(29, 116, 200, 0.1), transparent 78%);
}

/* Home hero wordmark sits top-left — keep that area free of corner darkening */
.page-home .backdrop-vignette {
  -webkit-mask-image: radial-gradient(
    ellipse 52% 48% at 14% 20%,
    transparent 0%,
    transparent 58%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 52% 48% at 14% 20%,
    transparent 0%,
    transparent 58%,
    #000 100%
  );
}

/* Spot vignettes on self-contained blue panels (CTA bands) */
.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 130% 100% at 100% 0%, rgba(20, 88, 168, 0.16), transparent 82%),
    radial-gradient(ellipse 120% 95% at 0% 100%, rgba(20, 88, 168, 0.14), transparent 80%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Placeholder tone while photos decode — reduces empty flash */
.content-photo,
.content-photo-grid figure,
.photo-gallery-feature,
.photo-gallery-cell,
.contact-map-frame {
  background-color: #d9ebfa;
}

.content-photo img,
.content-photo-grid img,
.photo-gallery img {
  opacity: 0;
  transition: opacity 0.22s ease-out;
}

.content-photo img.img-ready,
.content-photo-grid img.img-ready,
.photo-gallery img.img-ready {
  opacity: 1;
}

/* Above-fold on About — preloaded; no fade-in flash */
.hero-google-g,
.hero-accreditation-logo,
.frank-photo,
img[src$=".svg"] {
  opacity: 1;
  transition: none;
}

a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-700);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--gold);
  color: var(--blue-900);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Top navigation — static, minimal; sits over shared backdrop (no bar/seam) */
.site-top {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  padding: 0.9rem 0 0.8rem;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.page-home .site-top {
  padding: 0.85rem 0 0.65rem;
}

.site-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  min-height: 2.5rem;
}

.site-top--home .site-top-inner {
  justify-content: flex-end;
}

.site-top:not(.site-top--home) .site-home-lockup {
  font-size: clamp(1.38rem, 3.8vw, 1.92rem);
}

.site-home-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--white);
  padding: 0.2rem 0;
}

.site-home-link:hover .site-home-name,
.site-home-link:focus-visible .site-home-name {
  color: var(--gold);
}

.site-home-lockup {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  font-family: var(--font-logo);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-home-name {
  text-shadow: none;
}

.site-home-reg {
  flex-shrink: 0;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.4em;
  font-weight: 800;
  line-height: 1;
  margin: -0.08em 0 0 0.05em;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.55rem;
  padding: 0.25rem 0;
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.top-nav a:hover {
  color: var(--white);
}

.top-nav a.is-active {
  color: var(--gold);
}

.top-nav-sep {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 400;
  user-select: none;
  pointer-events: none;
}

.guarantee-callout {
  margin: 1.35rem 0 0;
  padding: 1.15rem 1.35rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
  background: rgba(58, 158, 232, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.inner-wrap .guarantee-callout {
  margin-bottom: 1rem;
}

.inner-wrap .guarantee-callout + p {
  margin-top: 1.25rem;
}

.inner-wrap .guarantee-callout + p + .content-photo {
  margin-top: 1.75rem;
}

/* Home services section — callout is last before gallery */
.section-light:has(> .container > .guarantee-callout:last-child) {
  padding-bottom: 2.5rem;
}

.section-light:has(> .container > .guarantee-callout:last-child) + .section-light.section-continued {
  padding-top: 2.25rem;
}

.section-light:has(> .container > .guarantee-callout:last-child) + .section-light.section-continued > .container::before {
  height: 2.25rem;
  margin-bottom: 1.75rem;
}

.guarantee-callout strong {
  color: var(--blue-800);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--blue-900);
  box-shadow: none;
}

.btn-primary:hover {
  color: var(--blue-900);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-dark {
  background: var(--blue-700);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue-600);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--divider);
}

.btn-outline-dark:hover {
  background: var(--surface-hover);
  border-color: var(--blue-400);
  color: var(--blue-800);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

/* Main shell */
.site-main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  isolation: isolate;
}

.site-main.inner-wrap {
  display: flex;
  flex-direction: column;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Hero — transparent so fixed backdrop gradients run through header + hero */
.hero {
  position: relative;
  padding: 2.25rem 0 2.5rem;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: start;
  min-width: 0;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
    gap: 2.5rem 3rem;
    align-items: start;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-aside {
    grid-column: 2;
    grid-row: 1;
  }
}

.hero-copy {
  color: var(--white);
  min-width: 0;
  max-width: 100%;
  container-type: inline-size;
}

.hero-brand {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0 0.35rem;
  width: 100%;
  max-width: 100%;
}

.hero-brand-lockup {
  margin: 0 0 0.1rem;
  padding: 0.45rem 0 0.15rem;
  max-width: 100%;
  font-family: var(--font-logo);
  font-size: clamp(3rem, 14.5cqi, 6.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: var(--white);
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .hero-brand-lockup {
    font-size: clamp(2.85rem, 10.5cqi, 5.5rem);
  }
}

.hero-brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.hero-brand-line {
  display: block;
}

.hero-brand-reg {
  display: inline;
  font-family: var(--font-sans);
  font-size: 0.45em;
  font-weight: 800;
  line-height: 1;
  vertical-align: super;
  margin: -0.08em 0 0 0.06em;
  color: var(--white);
  letter-spacing: 0;
}

.hero-brand-tagline {
  margin: 0.1rem 0 1.35rem;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: none;
}

.hero .section-eyebrow.hero-eyebrow {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--mist);
  max-width: 36rem;
  margin: 0 0 0.85rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.hero-cta-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  max-width: 100%;
  min-width: 0;
}

.hero-cta-contact .btn {
  font-size: 1rem;
  padding: 0.8rem 1.4rem;
  box-sizing: border-box;
}

.hero-cta-phone {
  flex-shrink: 0;
}

.contact-email {
  display: inline-block;
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(234, 184, 74, 0.55);
  text-underline-offset: 0.18em;
  user-select: all;
  -webkit-user-select: all;
  cursor: pointer;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--gold-soft);
  text-decoration-color: var(--gold-soft);
}

.contact-email--cta {
  display: block;
  text-align: center;
  margin: 0 0 1rem;
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.contact-email--cta:hover,
.contact-email--cta:focus-visible {
  color: var(--gold-soft);
  text-decoration-color: var(--gold-soft);
}

.btn-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.hero-cta-reviews {
  justify-content: center;
  font-size: 0.9rem;
  padding: 0.7rem 1.15rem;
  box-sizing: border-box;
}

.hero-cta-reviews {
  width: 100%;
  margin: 0.65rem 0 0;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
}

.hero-trust-row .hero-trust {
  margin: 0;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--mist);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  flex: 1 1 16rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.hero-trust li:not(:last-child)::after {
  content: "·";
  margin: 0 0.65rem;
  color: var(--gold);
  font-weight: 800;
}

.hero-trust-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.hero-trust-detail {
  font-weight: 600;
  opacity: 0.85;
}

.hero-panel-surface {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  backdrop-filter: blur(8px);
}

.badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-aside {
    max-width: 19rem;
    justify-self: end;
  }
}

.hero-google-slot,
.hero-aside .hero-accreditation {
  width: var(--hero-aside-panel-w);
  max-width: 100%;
}

.hero-google-slot {
  margin: 0;
  container-type: inline-size;
}

.hero-google-summary {
  display: block;
  width: 100%;
  padding: var(--hero-panel-pad-y) var(--hero-panel-pad-x);
  text-align: center;
  text-decoration: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-google-summary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.hero-google-g {
  display: block;
  margin: 0 auto 0.65rem;
}

.hero-google-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.hero-google-score {
  margin: 0 0 0.35rem;
  font-size: clamp(2.25rem, 8cqi, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.hero-google-summary .google-rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.1rem;
  font-size: 1.15rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-google-count {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mist);
}

.hero-accreditation--trust {
  --accred-logo-max-h: 3.15rem;
  flex: 0 1 auto;
  margin: 0 0 0 auto;
  min-width: 0;
  max-width: min(100%, 28rem);
}

.hero-accreditation--trust .hero-accreditation-panel {
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.6rem;
  box-shadow: 0 4px 14px rgba(20, 88, 168, 0.14);
}

/* Flex row — even gaps and shared logo height (home trust pill + inner pages) */
.hero-accreditation--trust .hero-accreditation-logos,
.page-accreditation .hero-accreditation-logos--triple {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  max-width: 100%;
  gap: 0.65rem;
  grid-template-columns: unset;
}

.hero-accreditation--trust .hero-accreditation-cell,
.page-accreditation .hero-accreditation-cell {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.hero-accreditation--trust .hero-accreditation-logo,
.page-accreditation .hero-accreditation-logo {
  height: var(--accred-logo-max-h);
  max-height: none;
  width: auto;
  max-width: 5.5rem;
}

.hero-accreditation--trust .hero-accreditation-logo--gas-safe {
  max-width: 2.65rem;
}

.hero-accreditation--trust .hero-accreditation-logo--glow-worm {
  max-width: 6.25rem;
}

@media (min-width: 900px) {
  .hero-accreditation--trust {
    --accred-logo-max-h: 3.4rem;
  }
}

.hero-accreditation-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--accred-logo-gap);
  width: 100%;
}

.hero-aside .hero-accreditation-logos {
  width: 100%;
  max-width: 100%;
}

.hero-accreditation-logos--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-accreditation-logos--triple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--accred-logo-gap);
  width: 100%;
  max-width: 100%;
}

.hero-accreditation-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: calc(var(--accred-logo-max-h) + 0.35rem);
  padding: 0 0.12rem;
}

.hero-accreditation-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--accred-logo-max-h);
  margin: 0;
  object-fit: contain;
  object-position: center;
}

/* Reserve width before decode (stops wide logos popping in on refresh) */
.hero-accreditation-logo--gas-safe {
  aspect-ratio: 139 / 175;
}

.hero-accreditation-logo--worcester {
  aspect-ratio: 324 / 189;
}

.hero-accreditation-logo--worcester-alt {
  aspect-ratio: 334 / 128;
}

.hero-accreditation-logo--glow-worm {
  aspect-ratio: 400 / 114;
}

.hero-aside .hero-accreditation-logo {
  filter: none;
}

.page-accreditation {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0;
  --accred-logo-max-h: 3rem;
}

.page-accreditation .hero-accreditation-panel {
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding: 0.75rem 0.9rem;
}

.page-accreditation .hero-accreditation-logo {
  max-width: 6.5rem;
}

.page-accreditation .hero-accreditation-logo--glow-worm {
  max-width: 7.5rem;
}

@media (min-width: 640px) {
  .page-accreditation {
    --accred-logo-max-h: 3.25rem;
  }
}

@media (min-width: 900px) {
  .page-accreditation {
    --accred-logo-max-h: 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero-trust-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-accreditation--trust {
    margin-left: 0;
    align-self: flex-end;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-accreditation--trust .hero-accreditation-logos {
    min-width: 0;
    width: 100%;
  }
}

.hero-accreditation-panel {
  padding: var(--hero-panel-pad-y) var(--hero-panel-pad-x);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(20, 88, 168, 0.16);
}


.contact-block p {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.contact-block a {
  font-weight: 700;
  color: var(--blue-700);
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.phone-large {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -0.02em;
}

.phone-large a {
  color: inherit;
  text-decoration: none;
}

/* Sections on blue bg */
.section {
  padding: 4.5rem 0;
}

.section-light {
  position: relative;
  background-color: var(--cream);
  border-radius: 0;
  margin-top: 0;
  color: var(--text);
  padding: 4.5rem 0;
  overflow: hidden;
  contain: paint;
}

.section-light::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%231d74c8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='1.5' opacity='0.55' d='M0 100 H65 M135 100 H200 M100 0 V65 M100 135 V200'/%3E%3Cpath stroke-width='1.3' opacity='0.48' d='M100 100 H155 Q163 100 163 108 V155'/%3E%3Cpath stroke-width='1.25' opacity='0.44' d='M100 100 V155 Q100 163 92 163 H45'/%3E%3Cpath stroke-width='1.15' opacity='0.4' d='M65 100 V68 H42 M135 100 V132 H158'/%3E%3Cpath stroke-width='1.1' opacity='0.35' d='M28 36 H152 M40 164 H168'/%3E%3Ccircle cx='100' cy='100' r='3.5' stroke-width='1.1' opacity='0.42'/%3E%3Ccircle cx='65' cy='100' r='2.25' stroke-width='1' opacity='0.32'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.section-light > .container {
  position: relative;
  z-index: 1;
}

.section-light.section-continued {
  padding-top: 3.5rem;
  margin-top: 0;
  border-radius: 0;
  border-top: none;
}

/* Centred section break (home major sections + inner-page milestones) */
.section-break,
.section-light.section-continued > .container::before {
  content: "";
  display: block;
  width: min(100%, 40rem);
  height: 2.75rem;
  margin: 0 auto 2.5rem;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 2.5px, transparent 2.6px),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(37, 137, 220, 0.12) 10%,
      rgba(37, 137, 220, 0.26) 42%,
      rgba(239, 190, 77, 0.5) 50%,
      rgba(37, 137, 220, 0.26) 58%,
      rgba(37, 137, 220, 0.12) 90%,
      transparent 100%
    );
  background-size: auto, 100% 1px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.section-break {
  margin-top: 2.75rem;
  margin-bottom: 0;
}

.section-break--tight {
  margin-top: 2rem;
}

/* Home: cream flows from hero without a blue gap or rounded slab */
.site-main:not(.inner-wrap) > .section-light:first-of-type {
  margin-top: 0;
  border-radius: 0;
}

.section-light.section-tail {
  padding-bottom: 5rem;
}

.section-light.section-flush-top {
  padding-top: 2.5rem;
  margin-top: 0;
  border-radius: 0;
}

/* Inner pages: one cream sheet from hero to footer */
.inner-wrap > .section-light.section-flush-top {
  flex: 1 0 auto;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.inner-wrap > .section-light.section-flush-top:only-of-type {
  padding-bottom: 4.5rem;
}

.section-light h2,
.section-light h3 {
  color: var(--blue-900);
}

.section-header {
  text-align: left;
  max-width: 36rem;
  margin: 0 0 3rem;
  padding: 0;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--gold);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-soft);
  margin: 0;
}

.section-header-compact {
  margin-bottom: 2rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.5rem;
}

/* Cards grid — unified surface with hairline splits */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 640px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--surface);
  padding: 1.75rem 2rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.2s ease;
}

.card:hover {
  background: var(--surface-hover);
}

a.card-service {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-left: 3px solid transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

a.card-service:hover {
  background: var(--surface-hover);
  border-left-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(58, 158, 232, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-700);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}

.card a.stretched {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Frank feature */
.frank-section {
  display: grid;
  gap: 2.25rem;
  align-items: start;
  padding: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.content-panel .frank-section {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .frank-section {
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.frank-photo {
  width: 180px;
  height: 180px;
  background-color: #d9ebfa;
  border-radius: 50%;
  object-fit: cover;
  /* Group photo (4:3) — shift left so the left-hand colleague isn’t cropped out */
  object-position: 2% 35%;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  margin: 0 auto;
  display: block;
}

@media (min-width: 768px) {
  .frank-photo {
    width: 200px;
    height: 200px;
    margin: 0;
    object-position: 0% 33%;
  }
}

.frank-quote {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue-800);
  margin: 0 0 1rem;
  line-height: 1.5;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

/* Services list */
.services-columns {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .check-list.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--blue-600);
  transform: rotate(45deg);
}

.check-list li strong {
  color: var(--blue-800);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1px;
  background: var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .testimonial-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  position: relative;
  background: var(--surface);
  padding: 1.75rem 2rem 1.75rem 2.25rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.2s ease;
}

.testimonial-card:hover {
  background: var(--surface-hover);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.6;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--blue-700);
}

.testimonial-card .stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.testimonial-card .quote-open {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 0.75;
  color: var(--gold);
  opacity: 0.4;
  margin: -0.35rem 0 0.15rem;
  pointer-events: none;
  user-select: none;
}

.trust-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--surface);
}

.trust-row-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(58, 158, 232, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
}

.trust-row-icon svg {
  width: 22px;
  height: 22px;
}

.trust-row-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.trust-row-body strong {
  font-size: 1rem;
  color: var(--blue-800);
}

.section-gallery .container {
  overflow: hidden;
  min-width: 0;
}

.photo-gallery {
  display: grid;
  gap: 1px;
  background: var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  isolation: isolate;
}

.photo-gallery > * {
  min-width: 0;
  max-width: 100%;
}

.photo-gallery-feature {
  margin: 0;
  min-width: 0;
  background: var(--surface);
  line-height: 0;
  overflow: hidden;
}

.photo-gallery-feature img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1360 / 612;
}

.photo-gallery--work {
  grid-template-columns: repeat(6, 1fr);
}

.photo-gallery--work .photo-gallery-feature {
  grid-column: 1 / -1;
}

.photo-gallery-cell {
  margin: 0;
  min-width: 0;
  background: var(--surface);
  line-height: 0;
  overflow: hidden;
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.photo-gallery-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 720px) {
  .photo-gallery--work .photo-gallery-cell {
    grid-column: span 3;
  }
}

.content-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
}

.content-photo-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(20, 88, 168, 0.12);
  aspect-ratio: 4 / 5;
  max-height: 22rem;
}

.content-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

.content-panel > h2 {
  text-align: left;
  margin-bottom: 0.75rem;
  font-size: clamp(1.9rem, 3.9vw, 2.55rem);
}

.content-panel > h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--gold);
  border-radius: 2px;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 1rem 0 2.5rem;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
}

.page-hero .container {
  padding-bottom: 0.5rem;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.15;
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.page-hero p {
  color: var(--mist);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Content panel — sections in one flow */
.content-panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  border-bottom: none;
  box-shadow: none;
}

.inner-wrap .content-panel {
  margin-bottom: 2.75rem;
}

.inner-wrap .content-panel:has(+ .card-grid) {
  margin-bottom: 2rem;
}

.inner-wrap .content-panel.service-area {
  margin-bottom: 2rem;
}

.inner-wrap .content-panel > h2::after {
  display: none;
}

.content-panel + .card-grid {
  margin-top: 0;
}

.inner-wrap .content-photo {
  margin: 2.5rem 0;
}

.inner-wrap .card-grid {
  margin-bottom: 2.5rem;
}

.inner-wrap .content-photo-grid {
  margin: 2rem 0 2.5rem;
}

.content-panel p {
  color: var(--text-soft);
}

.content-panel a {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.content-panel a:hover {
  color: var(--blue-800);
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.content-panel ul {
  color: var(--text-soft);
}

.content-panel li {
  margin-bottom: 0.35rem;
}

.service-area h2 {
  margin-bottom: 0.75rem;
}

.service-area p {
  margin: 0;
  max-width: 42rem;
}

.content-photo {
  margin: 0 0 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(20, 88, 168, 0.12);
  max-height: 28rem;
}

.content-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 28rem;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

.service-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .service-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }
}

.service-links a {
  display: block;
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--blue-800);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service-links a:hover {
  border-color: var(--blue-500);
  background: var(--surface-hover);
}

.emergency-callout {
  margin: 0;
  padding: 1.15rem 1.35rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
  background: rgba(239, 190, 77, 0.14);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.content-panel .check-list + .emergency-callout,
.content-panel ul + .emergency-callout {
  margin-top: 1.25rem;
}

.emergency-callout strong {
  color: var(--text);
}

.emergency-callout a {
  color: var(--blue-800);
}

.page-cta {
  position: relative;
  margin: 0;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--blue-surface-gradient-soft);
  border-radius: var(--radius-lg);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  isolation: isolate;
}

.inner-wrap .section-light > .container > .page-cta:first-child {
  margin-bottom: 0;
}

.contact-channels {
  display: grid;
  gap: 1px;
  margin: 0 0 1rem;
  background: var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 720px) {
  .contact-channels {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border-left: 3px solid transparent;
}

.contact-channel:hover,
.contact-channel:focus-visible {
  background: var(--surface-hover);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-channel--featured {
  border-left-color: var(--gold);
  background: var(--surface);
}

.contact-channel--featured:hover,
.contact-channel--featured:focus-visible {
  background: var(--surface-hover);
}

.contact-channel-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: rgba(58, 158, 232, 0.14);
  color: var(--blue-700);
}

.contact-channel-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.contact-channel--featured .contact-channel-icon {
  background: rgba(239, 190, 77, 0.22);
  color: var(--blue-800);
}

.contact-channel-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contact-channel-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.contact-channel-value {
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-800);
  line-height: 1.15;
}

.contact-channel-value--email {
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  font-weight: 700;
  word-break: break-all;
}

.contact-channels-meta {
  margin: 0 0 2.75rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
  text-align: center;
}

.contact-channels-meta a {
  font-weight: 600;
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-channels-meta a:hover {
  color: var(--blue-800);
}

.inner-wrap .contact-facts {
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .inner-wrap .contact-facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-fact h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.contact-fact p a {
  font-weight: 600;
  color: var(--blue-700);
}

.contact-fact p a:hover {
  color: var(--blue-800);
}

.contact-location {
  margin-top: 0;
  margin-bottom: 2.75rem;
}

.content-panel a.btn {
  text-decoration: none;
  font-weight: 700;
}

.content-panel a.btn:hover,
.content-panel a.btn:focus-visible {
  text-decoration: none;
}

.content-panel a.btn-primary {
  color: var(--blue-900);
}

.content-panel a.btn-primary:hover,
.content-panel a.btn-primary:focus-visible {
  color: var(--blue-900);
}

.content-panel a.btn-dark {
  color: var(--white);
}

.content-panel a.btn-dark:hover,
.content-panel a.btn-dark:focus-visible {
  color: var(--white);
}

.content-panel a.btn-outline-dark {
  color: var(--blue-800);
  border-color: rgba(37, 137, 220, 0.35);
}

.content-panel a.btn-outline-dark:hover,
.content-panel a.btn-outline-dark:focus-visible {
  color: var(--blue-900);
}

.contact-location-grid {
  display: grid;
  gap: 1.75rem 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-location-grid {
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-location-grid {
    grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
    gap: 2rem 2.5rem;
  }
}

@media (max-width: 767px) {
  .contact-location-grid {
    gap: 1.5rem;
  }

  .contact-map-wrap {
    order: -1;
  }
}

.contact-address {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.contact-address strong {
  font-size: 1.05rem;
  color: var(--text);
}

.contact-location-note {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.contact-location-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.contact-location-actions .btn {
  flex: 0 1 auto;
  font-size: 0.82rem;
  padding: 0.5rem 0.95rem;
}

.contact-map-wrap {
  min-width: 0;
}

.contact-map {
  margin: 0;
}

.contact-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--mist);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-sm);
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
}

.page-cta-lead {
  margin: 0 0 1.15rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.page-cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.page-cta-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.page-cta-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.5;
}

.page-cta-meta a {
  color: var(--gold-soft);
  font-weight: 600;
}

.page-cta-meta a:hover {
  color: var(--gold);
}

.footer-area {
  margin: 0 0 0.55rem;
  font-size: clamp(0.82rem, 2vw, 0.92rem);
  line-height: 1.5;
  color: rgba(212, 232, 252, 0.85);
}


/* Google reviews promo */
.google-reviews-promo {
  margin-bottom: 1.5rem;
}

.section-light.section-continued > .container > .google-reviews-promo:first-child {
  margin-top: 0;
}

.google-reviews-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.google-rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  min-width: 4.5rem;
}

.google-rating-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue-700);
}

.google-rating-stars {
  display: flex;
  gap: 0.05rem;
  font-size: 0.85rem;
  line-height: 1;
}

.google-rating-stars .star {
  color: #dadce0;
}

.google-rating-stars .star-full {
  color: #f4b400;
}

.google-rating-stars .star-half {
  color: #f4b400;
  opacity: 0.55;
}

.google-rating-count {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate);
  text-align: center;
  white-space: nowrap;
}

.google-reviews-badge:hover {
  border-color: var(--blue-400);
  background: var(--surface-hover);
}

.google-reviews-badge-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
}

.google-reviews-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
  color: var(--slate);
}

.google-reviews-badge-text strong {
  font-size: 1rem;
  color: var(--blue-700);
}

.google-reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
}

.google-reviews-actions a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-600);
  text-decoration: none;
}

.google-reviews-actions a:hover {
  text-decoration: underline;
}

/* Reviews carousel (home) */
.reviews-carousel {
  max-width: 100%;
  margin: 0 auto;
}

.reviews-carousel-viewport {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: var(--cream);
  min-height: 12.5rem;
}

.reviews-carousel.is-loading .reviews-carousel-viewport {
  min-height: 14rem;
}

.reviews-carousel-viewport::before,
.reviews-carousel-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(5rem, 12vw);
  z-index: 2;
  pointer-events: none;
}

.reviews-carousel-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(243, 248, 254, 0.45) 30%, transparent 72%);
}

.reviews-carousel-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--cream) 0%, rgba(243, 248, 254, 0.45) 30%, transparent 72%);
}

.reviews-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  padding: 0.25rem 0;
  transition: transform 0.45s ease;
}

.reviews-carousel-slide {
  flex: 0 0 min(62%, 28rem);
  min-width: 0;
  display: flex;
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.reviews-carousel-slide.is-active {
  pointer-events: auto;
}

.reviews-carousel-slide .testimonial-card {
  flex: 1;
  width: 100%;
  min-height: 0;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  box-shadow: none;
  background: var(--surface);
}

.reviews-carousel-slide .testimonial-card blockquote {
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.65;
}

.reviews-carousel-slide .testimonial-card cite {
  margin-top: auto;
}

.reviews-carousel-footer {
  margin-top: 1rem;
  text-align: center;
}

.reviews-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--divider);
  border-radius: 50%;
  background: var(--surface);
  color: var(--blue-800);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.carousel-btn:hover {
  background: var(--surface-hover);
  border-color: var(--blue-500);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-all {
  margin: 0;
  font-size: 0.95rem;
}

.carousel-all a {
  font-weight: 700;
  color: var(--blue-700);
  text-decoration: none;
}

.carousel-all a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .reviews-carousel-slide {
    flex: 0 0 min(74%, 100%);
  }

  .reviews-carousel-viewport::before,
  .reviews-carousel-viewport::after {
    width: min(2.75rem, 10vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-carousel-track {
    transition: none;
  }

  .content-photo img,
  .content-photo-grid img,
  .photo-gallery img {
    opacity: 1;
    transition: none;
  }
}

.call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 88, 168, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
  box-shadow: 0 -8px 24px rgba(20, 88, 168, 0.32);
  transition: background 0.15s ease;
}

.call-bar:hover {
  background: rgba(29, 116, 200, 0.96);
  color: var(--gold-soft);
}

@media (max-width: 899px) {
  .call-bar {
    display: flex;
  }
}

/* Footer — sits flush under content */
.site-footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: transparent;
  color: var(--mist);
  padding: 1.15rem 0 1.25rem;
  margin-top: 0;
  border-top: none;
  overflow: hidden;
  isolation: isolate;
}

.hero > .container,
.page-hero > .container,
.page-cta > *,
.footer-compact {
  position: relative;
  z-index: 1;
}

.footer-compact {
  text-align: center;
}

.footer-primary {
  margin: 0 0 0.5rem;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.55;
}

.footer-primary a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.footer-primary a:hover {
  text-decoration: underline;
}

.footer-sep {
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-meta {
  margin: 0;
  font-size: clamp(0.8rem, 1.9vw, 0.88rem);
  color: rgba(212, 232, 252, 0.75);
  line-height: 1.5;
}

/* Testimonials page controls */
.testimonials-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.testimonials-count {
  font-weight: 700;
  color: var(--blue-700);
}

.search-input {
  flex: 1;
  min-width: 200px;
  max-width: 360px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: inherit;
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--surface-hover);
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}


.inner-wrap {
  padding-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile */
@media (max-width: 899px) {
  .hero {
    padding: 1.75rem 0 3.5rem;
  }

  .page-home .site-top {
    padding-bottom: 0.9rem;
  }

  .site-top:not(.site-top--home) .site-top-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .site-home-link {
    max-width: 100%;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .page-hero {
    padding-top: 1.25rem;
  }

  .hero-aside {
    align-items: center;
  }

  .hero-cta {
    width: 100%;
    max-width: none;
  }

  .hero-cta-contact {
    width: 100%;
    gap: 0.65rem 1rem;
  }

  .hero-cta-phone {
    justify-content: center;
  }

  .hero-cta-reviews {
    width: 100%;
    justify-content: center;
  }

  .section,
  .section-light {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-light.section-continued {
    padding-top: 2.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .card {
    padding: 1.5rem 1.35rem;
  }

  .testimonial-card {
    padding: 1.5rem 1.35rem 1.5rem 1.75rem;
  }

  .testimonials-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-brand-lockup {
    font-size: clamp(2.75rem, 14vw, 4.15rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}
