/* ==========================================================================
   GHP South LTD — main stylesheet
   Colours and fonts are defined as variables below so the brand can be
   adjusted in one place once a logo / colour scheme is confirmed.
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --brand: #008fe6;      /* logo blue */
  --blue: #0074c4;       /* slightly deeper for readable text & buttons */
  --blue-light: #e6f3fc;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --text: #1f2937;
  --muted: #5b6575;
  --border: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 14px 40px rgba(11, 37, 69, 0.14);
  --container: 1180px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-decoration: none !important;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--navy-2); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cfd9e8;
  font-size: 0.875rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar-items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 20px;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.logo-mark { width: 50px; height: auto; flex-shrink: 0; }
.logo-text { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.22rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.logo-text small { display: block; font-size: 0.66rem; font-weight: 600; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 5px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 6px;
  color: var(--navy); font-weight: 600; font-size: 0.97rem;
  text-decoration: none;
}
.main-nav a:hover { background: var(--blue-light); }
.main-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-light); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { gap: .28em; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-cta .btn { padding: 9px 14px; font-size: .88rem; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 20px; }
  .main-nav a { padding: 14px 12px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav li:last-child a { border-bottom: 0; }
  .topbar-items .hide-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(110deg, rgba(7,26,51,.97) 0%, rgba(11,37,69,.92) 50%, rgba(5,20,40,.85) 100%),
    var(--hero-image, linear-gradient(135deg, #0b2545, #050f1f));
  background-size: cover; background-position: center;
  color: #fff;
  padding: 80px 0 88px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
/* The glowing logo: the dark background is blended away (screen) and the
   edges faded out (mask) so it sits naturally on the hero. */
.hero-logo {
  width: 100%; height: auto; max-width: 540px; margin-left: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { display: none; }
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: 1.15rem; color: #d6e2f1; max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #e6eef8; }
.hero-badges svg { width: 20px; height: 20px; color: #4ade80; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.hero .eyebrow { color: #fdba74; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; padding: 64px 0 60px;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #cfd9e8; max-width: 60ch; font-size: 1.08rem; margin: 0; }
.breadcrumb { font-size: .875rem; color: #9fb3cc; margin-bottom: 14px; }
.breadcrumb a { color: #cfd9e8; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .link-arrow { margin-top: 16px; display: inline-flex; }

.icon-box {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--blue-light); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon-box svg { width: 28px; height: 28px; }

.link-arrow { font-weight: 700; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Image placeholders ----------
   Replace any <div class="img-placeholder"> with <img src="images/..." alt="...">
   once real photos are available. */
.img-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(0,116,196,.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #dbe7f5, #c7d8ee);
  border-radius: var(--radius);
  display: grid; place-items: center; text-align: center;
  color: #5677a0; font-weight: 600; font-size: .9rem;
  aspect-ratio: 4 / 3;
  padding: 16px;
}
.img-placeholder svg { width: 38px; height: 38px; margin: 0 auto 8px; opacity: .7; display: block; }
.img-placeholder.tall { aspect-ratio: 4 / 5; }
.img-placeholder.wide { aspect-ratio: 16 / 9; }
.img-rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
/* Real photos placed where a placeholder was: same shape as the placeholder, cropped to fit */
.photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo.tall { aspect-ratio: 4 / 5; }

/* ---------- Trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-strip .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 32px; height: 32px; color: var(--blue); flex-shrink: 0; }
.trust-item strong { display: block; color: var(--navy); font-family: var(--font-head); }
.trust-item span { font-size: .88rem; color: var(--muted); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230074c4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-label { color: var(--muted); font-weight: 600; margin-top: 8px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; } }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-family: var(--font-head);
  margin-bottom: 16px;
}
.step p { color: var(--muted); }

/* ---------- Reviews ---------- */
.review {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; height: 100%;
}
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 12px; }
.review blockquote { margin: 0 0 20px; color: var(--text); flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); color: var(--blue);
  display: grid; place-items: center; font-weight: 800;
}
.review-author strong { display: block; color: var(--navy); }
.review-author span { font-size: .875rem; color: var(--muted); }

.rating-summary {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 40px;
}
.rating-big { font-family: var(--font-head); font-size: 3.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.review-platforms { display: flex; gap: 12px; flex-wrap: wrap; margin-left: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: #fff; padding: 64px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { color: #d6e2f1; margin: 0; font-size: 1.08rem; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Service detail rows ---------- */
.service-row { padding: 64px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.service-row:last-of-type { border-bottom: 0; }
.service-row:nth-child(even) .split > :first-child { order: 2; }
@media (max-width: 900px) { .service-row:nth-child(even) .split > :first-child { order: 0; } }

.service-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.service-jump a {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  color: var(--navy); font-weight: 600; font-size: .92rem;
}
.service-jump a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative;
  font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blue); font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: #fff;
  font-weight: 600; color: var(--navy); cursor: pointer; font-family: inherit; font-size: .94rem;
}
.filter-btn:hover { border-color: var(--blue); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { margin: 0; cursor: pointer; }
.gallery-item.hidden { display: none; }
.gallery-item > img, .gallery-item > .img-placeholder { transition: transform .25s, box-shadow .25s; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--radius); }
.gallery-item:hover > img, .gallery-item:hover > .img-placeholder { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery-item figcaption { padding: 12px 2px 0; }
.gallery-item figcaption strong { display: block; color: var(--navy); }
.gallery-item figcaption span { font-size: .875rem; color: var(--muted); }

.lightbox {
  position: fixed; inset: 0; background: rgba(5, 15, 30, .92); z-index: 500;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 1000px; width: 100%; color: #fff; text-align: center; }
.lightbox-inner img { max-height: 78vh; max-width: 100%; width: auto; height: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox-inner .img-placeholder { max-height: 75vh; margin: 0 auto; width: 100%; }
.lightbox-caption { margin-top: 14px; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form-card { padding: 24px 20px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .94rem; }
.form-group label .req { color: var(--accent-dark); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid #cdd6e2; border-radius: 8px;
  font: inherit; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,116,196,.15); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.form-check input { margin-top: 4px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 8px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #ecfdf3; color: #166534; }
.form-status.err { background: #fef2f2; color: #991b1b; }

.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.info-card .icon-box { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.info-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { font-weight: 700; }
.info-card.emergency { background: #fff7ed; border-color: #fed7aa; }
.info-card.emergency .icon-box { background: #ffedd5; color: var(--accent-dark); }

.hours { width: 100%; border-collapse: collapse; font-size: .94rem; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--navy); }

.areas-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas-list li { background: #fff; border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; font-weight: 600; color: var(--navy); font-size: .94rem; }

.map-placeholder, .map-embed { aspect-ratio: 16 / 7; }
.map-embed { display: block; width: 100%; height: auto; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-alt); }
@media (max-width: 640px) { .map-placeholder, .map-embed { aspect-ratio: 4 / 3; } }

/* ---------- Accreditation logos ---------- */
.logo-row { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; align-items: center; }
.accred { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 200px; }
.accred-logo { display: block; border-radius: 50%; transition: transform .2s; }
.accred-logo:hover { transform: scale(1.04); }
.accred-logo img { width: 110px; height: 110px; mix-blend-mode: multiply; }
.accred-links { display: flex; gap: 14px; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.logo-slot {
  width: 160px; height: 80px; border: 2px dashed #c3d0e0; border-radius: 10px;
  display: grid; place-items: center; color: #8597ad; font-size: .82rem; font-weight: 600; text-align: center; padding: 8px;
}

/* ---------- Prose (privacy page) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: #374151; }

/* ---------- Footer ---------- */
.site-footer { background: #071a33; color: #a9b8cc; padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cfd9e8; }
.site-footer a:hover { color: #fff; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text small { color: #8ea2bb; }
.footer-about { margin-top: 18px; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7f93ac;
}

/* ---------- Mobile call bar ---------- */
.mobile-callbar { display: none; }
@media (max-width: 760px) {
  .mobile-callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  }
  .mobile-callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px;
    font-weight: 700; color: #fff; text-decoration: none;
  }
  .mobile-callbar svg { width: 18px; height: 18px; }
  .mobile-callbar .call { background: var(--accent); }
  .mobile-callbar .quote { background: var(--navy); }
  body { padding-bottom: 54px; }
}

/* ---------- Services dropdown ---------- */
.main-nav li { position: relative; }
.has-dropdown { display: flex; align-items: center; }
.dropdown-toggle {
  background: none; border: 0; padding: 6px 4px; margin-left: -10px; cursor: pointer;
  color: var(--navy); display: grid; place-items: center; border-radius: 6px;
}
.dropdown-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.main-nav ul.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 270px; display: none; z-index: 50;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 8px;
}
.has-dropdown:hover > ul.dropdown,
.has-dropdown:focus-within > ul.dropdown,
.has-dropdown.open > ul.dropdown { display: block; }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
.main-nav .dropdown a { padding: 10px 12px; font-size: .94rem; }
.main-nav a.is-active { color: var(--blue); background: var(--blue-light); }

/* Desktop: Services link and its arrow highlight together as one tab */
@media (min-width: 981px) {
  .has-dropdown { border-radius: 6px; }
  .has-dropdown > .nav-link { padding-right: 10px; }
  .has-dropdown > .dropdown-toggle { margin-left: 0; padding: 6px 12px 6px 0; }
  .has-dropdown > .nav-link:hover,
  .has-dropdown > .nav-link.is-active { background: none; }
  .has-dropdown:hover,
  .has-dropdown:has(> .nav-link.is-active) { background: var(--blue-light); }
  .has-dropdown:has(> .nav-link.is-active) > .dropdown-toggle { color: var(--blue); }
}

@media (max-width: 980px) {
  .has-dropdown { flex-wrap: wrap; }
  .has-dropdown > .nav-link { flex: 1; }
  .dropdown-toggle { padding: 12px; margin: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav ul.dropdown { position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .has-dropdown:hover > ul.dropdown,
  .has-dropdown:focus-within > ul.dropdown { display: none; }
  .has-dropdown.open > ul.dropdown { display: block; }
}
@media (max-width: 480px) {
  .site-header .container { gap: 10px; }
  .logo { gap: 8px; }
  .logo-mark { width: 40px; }
  .logo-text { font-size: 1.02rem; }
  .logo-text small { font-size: .58rem; letter-spacing: .1em; }
  .hide-xs { display: none; }
  .nav-toggle { padding: 4px; }
}

/* ---------- Hero extras ---------- */
.hero-strap { font-weight: 700; color: #7cc4f5; margin: 0 0 16px; font-size: 1.02rem; }
.hero-phones { margin: 0; color: #cfd9e8; }
.hero-phones a { color: #fff; font-weight: 700; }
.hero .hero-actions { margin: 28px 0 18px; }
.hero .hero-badges { margin-top: 26px; }

/* ---------- Problem cards ---------- */
.problem-card { display: flex; flex-direction: column; }
.problem-card p { flex: 1; }
.problem-card .btn { margin-top: 20px; align-self: flex-start; padding: 10px 18px; font-size: .92rem; }

/* ---------- Dark feature section ---------- */
.section-dark { background: linear-gradient(120deg, #071a33, var(--navy-2)); color: #cfd9e8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #fdba74; }
.section-dark .checklist li { color: #e6eef8; }
.section-dark .checklist li::before { background-color: rgba(255,255,255,.12); }
.note-light { font-size: .94rem; color: #9fb3cc; border-left: 3px solid var(--accent); padding-left: 14px; }

/* ---------- Service page layout ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 52px; align-items: start; }
.content h2 { margin-top: 1.7em; }
.content > h2:first-child, .content > .eyebrow + h2 { margin-top: 0; }
.content p, .content li { color: #374151; }
.content .lead-text { font-size: 1.12rem; color: var(--text); }
.sidebar-card {
  position: sticky; top: 100px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.sidebar-card h3 { margin-bottom: 8px; }
.sidebar-card .btn { width: 100%; margin: 14px 0 18px; }
.sidebar-phones { list-style: none; padding: 0; margin: 0 0 20px; }
.sidebar-phones li { margin-bottom: 6px; }
.sidebar-phones a { font-weight: 700; font-size: 1.08rem; }
.sidebar-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 6px; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--navy); }
.sidebar-links li:last-child a { border-bottom: 0; }
.sidebar-links a[aria-current] { color: var(--blue); }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.photo-row img, .photo-row .img-placeholder { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.callout { background: var(--blue-light); border-left: 4px solid var(--blue); padding: 18px 22px; border-radius: 8px; margin: 26px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { background: #fff7ed; border-left-color: var(--accent); }
.callout strong { color: var(--navy); }
@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr; gap: 36px; }
  .sidebar-card { position: static; }
}
@media (max-width: 560px) { .photo-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Form radio groups ---------- */
fieldset.form-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset.form-group legend { font-weight: 600; color: var(--navy); margin-bottom: 8px; font-size: .94rem; padding: 0; }
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-group label { display: flex; align-items: center; gap: 7px; font-weight: 500; cursor: pointer; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card h3 { margin-bottom: 4px; }
.team-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; object-fit: cover;
  background: linear-gradient(135deg, var(--brand), var(--navy));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em;
}
.team-role { color: var(--blue); font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.team-lead { max-width: 400px; margin: 0 auto 24px; }
.team-pair { max-width: 824px; margin: 0 auto; }
.team-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.team-row > * { flex: 0 0 calc((100% - 48px) / 3); }
@media (max-width: 980px) { .team-row > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .team-row > * { flex-basis: 100%; } }
.team-card.small { padding: 26px 18px; }
.team-card.small .team-avatar { width: 68px; height: 68px; font-size: 1.2rem; margin-bottom: 14px; }
.team-card.small .team-role { margin-bottom: 0; }

/* ---------- About: story quote ---------- */
.story-quote {
  margin: 0; padding: 44px 40px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(135deg, var(--navy), #071a33); color: #cfd9e8; box-shadow: var(--shadow-lg);
}
.story-letters { font-family: var(--font-head); font-weight: 800; font-size: 4.2rem; line-height: 1; color: #fff; letter-spacing: .06em; }
.story-meaning { color: #7cc4f5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; margin: 10px 0 26px; }
.story-quote blockquote { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.story-quote blockquote strong { color: #fdba74; }

/* ---------- Numbered process list (service pages) ---------- */
.photo.natural { aspect-ratio: auto; }
.process-list { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.process-list li { counter-increment: step; position: relative; padding-left: 42px; min-height: 30px; }
.process-list li::before {
  content: counter(step); position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: .82rem; font-family: var(--font-head);
}
@media (max-width: 640px) { .process-list { grid-template-columns: 1fr; } }

/* ---------- Reviews (quotes without star ratings) ---------- */
.quote-mark { font-family: Georgia, serif; font-size: 3.6rem; line-height: .7; color: var(--brand); height: 30px; margin-bottom: 8px; }
.review.featured { grid-column: 1 / -1; padding: 36px 40px; }
.review.featured blockquote { font-size: 1.12rem; line-height: 1.75; }
.review blockquote strong { color: var(--navy); }
@media (max-width: 640px) { .review.featured { padding: 28px; } }

/* Text badge for accreditations without a logo file (e.g. WaterSafe) */
.accred-text {
  width: 110px; height: 110px; border-radius: 50%; border: 4px solid var(--brand); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--navy); line-height: 1.1;
  text-decoration: none !important;
}
.accred-text span { font-size: .72rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ---------- Full-width photo banner (About: Who We Are) ---------- */
/* Photo fills the section and fades from the page background on the left to clear on the right */
.photo-banner { position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.photo-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.photo-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, var(--bg) 0%, rgba(255,255,255,.92) 35%, rgba(255,255,255,.55) 60%, rgba(255,255,255,0) 85%);
}
.photo-banner .container { position: relative; z-index: 2; width: 100%; }
.photo-banner-text { max-width: 560px; }
@media (max-width: 900px) {
  .photo-banner { display: block; min-height: 0; padding-top: 0; }
  .photo-banner-img { position: relative; height: 300px; }
  .photo-banner::before { bottom: auto; height: 300px; background: linear-gradient(to right, rgba(255,255,255,.85) 0%, rgba(255,255,255,.4) 40%, rgba(255,255,255,0) 75%); }
  .photo-banner .container { margin-top: 36px; }
  .photo-banner-text { max-width: none; }
}
