/* =====================================================================
   Vighnesh Health Care - design system

   The :root block below is the entire brand. Forking this site for another
   local-business client should mean swapping these tokens and the logo,
   and touching nothing else in this file.
   ===================================================================== */

/* Fonts ---------------------------------------------------------------
   Self-hosted, latin subset, woff2. Both are variable fonts with the wght
   axis clipped to 400-600 - the only range this site uses - which is where
   the saving over the Google Fonts build comes from.

   One file per family covers every weight in that range, so the 500 used by
   .nav__link, the area links and .contact-line__value costs nothing extra.
   Do not swap these for static instances without also shipping a 500.

   Fraunces keeps its opsz axis variable on purpose: it is set at sizes from
   ~17px (.brand__name) up to ~76px (h1), and font-optical-sizing defaults to
   auto, so pinning opsz would visibly change the headings.
   --------------------------------------------------------------------- */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/fraunces-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand ------------------------------------------------------------ */
  --teal-900: #0B3B37;
  --teal-800: #0B5A54;
  --teal-700: #0F766E;   /* primary */
  --teal-600: #14958B;
  --teal-500: #21B0A4;
  --teal-100: #D3F1EC;
  --teal-50:  #ECFDF9;

  --coral-700: #C9432F;
  --coral-600: #E1543F;
  --coral-500: #F97362;  /* call to action */
  --coral-100: #FFE2DC;
  --coral-50:  #FFF1EE;

  /* Neutrals - warmed, never pure grey ------------------------------- */
  --ink-900: #1C1917;
  --ink-700: #44403C;
  --ink-500: #6B635C;
  --ink-300: #A8A29E;
  --sand-300: #E0D7C9;
  --sand-200: #EDE6DB;
  --sand-100: #F7F2EA;
  --cream:    #FFFBF5;
  --white:    #FFFFFF;

  /* Semantic --------------------------------------------------------- */
  --bg:            var(--cream);
  --bg-raised:     var(--white);
  --bg-sunken:     var(--sand-100);
  --text:          var(--ink-900);
  --text-muted:    var(--ink-500);
  --border:        var(--sand-300);
  --accent:        var(--teal-700);
  --accent-strong: var(--teal-800);
  --action:        var(--coral-500);
  --action-strong: var(--coral-600);

  /* Type ------------------------------------------------------------- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.80rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.10rem);
  --step-1:  clamp(1.19rem, 1.10rem + 0.42vw, 1.44rem);
  --step-2:  clamp(1.41rem, 1.25rem + 0.78vw, 1.94rem);
  --step-3:  clamp(1.69rem, 1.42rem + 1.32vw, 2.62rem);
  --step-4:  clamp(2.00rem, 1.58rem + 2.10vw, 3.53rem);
  --step-5:  clamp(2.38rem, 1.72rem + 3.28vw, 4.768rem);

  /* Space ------------------------------------------------------------ */
  --space-2xs: 0.375rem;
  --space-xs:  0.625rem;
  --space-s:   1rem;
  --space-m:   1.5rem;
  --space-l:   2.25rem;
  --space-xl:  3.5rem;
  --space-2xl: clamp(4rem, 8vw, 7rem);

  --radius-s:  10px;
  --radius-m:  16px;
  --radius-l:  22px;
  --radius-pill: 999px;

  /* Teal-tinted rather than black, so shadows read warm on cream ----- */
  --shadow-s: 0 1px 2px rgba(11, 59, 55, 0.05), 0 2px 6px rgba(11, 59, 55, 0.05);
  --shadow-m: 0 2px 4px rgba(11, 59, 55, 0.05), 0 8px 22px rgba(11, 59, 55, 0.08);
  --shadow-l: 0 4px 10px rgba(11, 59, 55, 0.07), 0 20px 48px rgba(11, 59, 55, 0.12);

  --wrap: 1200px;
  --wrap-narrow: 760px;
  --header-h: 76px;

  /* There is no dark theme here - the palette is fixed. Declaring the
     scheme stops the browser dark-rendering the things CSS cannot reach:
     select popups, scrollbars, autofill and date pickers, which would
     otherwise appear as dark slabs on a cream page. */
  color-scheme: light;
}

/* =====================================================================
   Base
   ===================================================================== */

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

html {
  scroll-behavior: smooth;
  /* Anchored sections must not hide behind the sticky header. */
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0 0 var(--space-s);
  /* No font-variation-settings here. Fraunces does publish SOFT and WONK
     axes, but neither Google Fonts nor our subset ships them - only opsz
     and wght - so setting them was silently doing nothing. To actually get
     the softer cut, Fraunces has to be re-subset from the upstream source
     with those axes retained. */
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-s); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 2px; }
img, picture { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* Inline SVGs carry a viewBox but no width/height, so without a default
   they render at whatever the container allows. Component rules override. */
svg { width: 20px; height: 20px; flex: none; display: block; }
.btn svg { width: 18px; height: 18px; }
.header__phone svg { width: 17px; height: 17px; }

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

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

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  background: var(--teal-800); color: #fff; padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--radius-s) var(--radius-s); z-index: 200;
  font-weight: 600; font-size: var(--step--1); text-decoration: none;
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* =====================================================================
   Layout
   ===================================================================== */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 560px) { .wrap { width: min(100% - 2rem, var(--wrap)); } }

.section { padding-block: var(--space-2xl); }
.section--sunken { background: var(--bg-sunken); }
.section--teal { background: var(--teal-900); color: var(--sand-100); }
.section--teal h2 { color: #fff; }

.section-head { max-width: 660px; margin-bottom: var(--space-xl); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--space-xs);
}
.eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: var(--coral-500); border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }
.section--teal .eyebrow { color: var(--teal-500); }

.lede { font-size: var(--step-1); color: var(--text-muted); line-height: 1.5; }
.section--teal .lede { color: var(--teal-100); }

.grid { display: grid; gap: var(--space-m); }
/* Mins are set so the intended column count survives a 1024px laptop once
   the scrollbar has taken its cut - at 300px the three-column grid dropped
   to two on any viewport under about 1005px. */
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }

/* =====================================================================
   Buttons
   ===================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--step-0); font-weight: 600;
  line-height: 1; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--action); color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 98, 0.35);
}
.btn--primary:hover { background: var(--action-strong); box-shadow: 0 8px 22px rgba(249, 115, 98, 0.42); }

.btn--secondary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-s); }
.btn--secondary:hover { background: var(--teal-800); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.btn--outline { background: transparent; color: var(--accent-strong); border-color: var(--teal-700); }
.btn--outline:hover { background: var(--teal-50); }

.btn--lg { padding: 1.1rem 2.1rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

/* =====================================================================
   Header
   ===================================================================== */

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.header.is-stuck { border-bottom-color: var(--sand-300); box-shadow: var(--shadow-s); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-m); min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: inherit; }

/* The real mark, background keyed out by tools/build-logo.php. Its interior
   is white by design, which reads correctly on both the cream header and the
   dark teal footer - so one file serves both and no tinted tile is needed. */
/* The <picture> wrapper is the flex child, so it carries flex: none - without
   it the mark gets squeezed when the nav is tight. */
.brand picture { flex: none; display: block; line-height: 0; }
.brand__mark { height: 46px; width: auto; }
@media (max-width: 560px) { .brand__mark { height: 40px; } }

/* A flex column rather than two inline spans split by <br>. With a <br>
   the gap is whatever the two mismatched line-heights happen to produce -
   it measured 13px, which read as loose and misaligned against the logo.
   This sets the spacing explicitly instead. */
.brand__text { display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.brand__name {
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600;
  line-height: 1.2; letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.72rem; color: var(--text-muted);
  letter-spacing: 0.04em; line-height: 1.25; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: var(--space-m); }
.nav__list { display: flex; gap: var(--space-m); }
.nav__link {
  color: var(--ink-700); text-decoration: none; font-weight: 500;
  font-size: 0.95rem; padding: 0.4rem 0; position: relative;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--coral-500); border-radius: 2px;
  transition: right 0.22s ease;
}
.nav__link:hover { color: var(--accent-strong); }
.nav__link:hover::after { right: 0; }

.header__phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--accent-strong); font-weight: 600;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--sand-300); border-radius: 12px;
  background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink-900);
  border-radius: 2px; position: relative; transition: background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink-900); border-radius: 2px; transition: transform 0.22s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column;
    align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--sand-300);
    box-shadow: var(--shadow-m); padding: var(--space-s) 1.25rem var(--space-m);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 0.85rem 0; border-bottom: 1px solid var(--sand-200); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .header__phone { padding-top: var(--space-s); font-size: 1.05rem; }
}

/* =====================================================================
   Hero slider
   ===================================================================== */

.hero {
  position: relative;
  /* Height is reserved up front so the slider can never shift layout. */
  min-height: clamp(540px, 76vh, 780px);
  display: grid;
  background: var(--teal-900);
  overflow: hidden;
}

.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

/* Media and scrim are taken out of flow so only the text block drives the
   slide's height. The <img> width/height attributes describe the 16:9 crop,
   but phones load the 3:4 source - left in flow, that mismatched intrinsic
   ratio decides the layout and the photo stops short of the hero's bottom. */
.hero__media, .hero__scrim { position: absolute; inset: 0; }

.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* object-position is written inline per slide from the build manifest
     focal point, so faces survive the crop at every viewport. */
}

/* Two scrims: one from the left to carry the text, one from the bottom
   so the slider controls stay legible over a bright photograph. */
.hero__scrim {
  background:
    linear-gradient(100deg,
      rgba(11, 59, 55, 0.93) 0%,
      rgba(11, 59, 55, 0.80) 32%,
      rgba(11, 59, 55, 0.42) 58%,
      rgba(11, 59, 55, 0.10) 80%),
    linear-gradient(to top, rgba(11, 59, 55, 0.55) 0%, rgba(11, 59, 55, 0) 38%);
}

.hero__body {
  position: relative; width: 100%;
  padding-block: calc(var(--space-2xl) + 1rem);
}

.hero__text { max-width: 620px; color: #fff; }
.hero__eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  color: #fff; border-radius: var(--radius-pill);
  padding: 0.4rem 1rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: var(--space-s);
}
.hero__headline {
  font-size: var(--step-5); color: #fff;
  margin-bottom: var(--space-s); text-wrap: balance;
}
.hero__lede {
  font-size: var(--step-1); color: rgba(255, 255, 255, 0.9);
  line-height: 1.5; margin-bottom: var(--space-m);
  max-width: 30ch;
}

/* Text animates in only on the slide that is showing. */
.hero__slide.is-active .hero__eyebrow,
.hero__slide.is-active .hero__headline,
.hero__slide.is-active .hero__lede,
.hero__slide.is-active .hero__actions { animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.hero__slide.is-active .hero__headline { animation-delay: 0.06s; }
.hero__slide.is-active .hero__lede     { animation-delay: 0.12s; }
.hero__slide.is-active .hero__actions  { animation-delay: 0.18s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: clamp(1.25rem, 3vw, 2.25rem);
  z-index: 3;
}
.hero__controls-inner { display: flex; align-items: center; gap: var(--space-s); flex-wrap: wrap; }

.hero__dots { display: flex; gap: 0.55rem; }
.hero__dot {
  width: 34px; height: 4px; padding: 0; border: 0; cursor: pointer;
  border-radius: 2px; background: rgba(255, 255, 255, 0.35);
  position: relative; overflow: hidden;
  transition: background 0.2s;
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.55); }
.hero__dot[aria-current="true"] { background: rgba(255, 255, 255, 0.35); }
.hero__dot-fill {
  position: absolute; inset: 0; width: 0; background: #fff; border-radius: 2px;
}
.hero__dot[aria-current="true"] .hero__dot-fill { width: 100%; transition: width var(--slide-duration, 6s) linear; }

.hero__arrows { display: flex; gap: 0.5rem; margin-left: auto; }
.hero__arrow {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(6px);
  transition: background 0.18s ease;
}
.hero__arrow:hover { background: rgba(255, 255, 255, 0.26); }
.hero__arrow svg { width: 18px; height: 18px; }

@media (max-width: 700px) {
  /* Kept near the 3:4 of the portrait crop. At 88vh the hero was 714px on a
     375px screen - a 0.52 ratio - so object-fit had to zoom 1.4x and threw
     most of the photograph off the sides. It also pushed every other
     section below the fold. */
  .hero { min-height: clamp(500px, 70vh, 600px); }
  .hero__scrim {
    background:
      linear-gradient(to top,
        rgba(11, 59, 55, 0.92) 0%,
        rgba(11, 59, 55, 0.70) 30%,
        rgba(11, 59, 55, 0.28) 62%,
        rgba(11, 59, 55, 0.06) 88%);
  }
  .hero__slide { align-items: flex-end; }
  .hero__body { padding-bottom: calc(var(--space-2xl) + 2.5rem); }
  .hero__lede { max-width: none; }
  .hero__arrows { display: none; }
}

/* =====================================================================
   Trust bar
   ===================================================================== */

.trustbar { background: var(--teal-800); color: #fff; padding-block: var(--space-l); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-s);
  text-align: center;
}
.trustbar__value {
  font-family: var(--font-display); font-size: var(--step-3);
  font-weight: 600; line-height: 1; color: #fff;
}
.trustbar__label {
  font-size: var(--step--1); color: var(--teal-100);
  letter-spacing: 0.03em; margin-top: 0.35rem;
}
@media (max-width: 620px) {
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-m); }
}

/* =====================================================================
   Cards
   ===================================================================== */

.card {
  background: var(--bg-raised);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-l);
  padding: var(--space-m);
  box-shadow: var(--shadow-s);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: var(--teal-100);
}

.card__icon {
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--teal-50); color: var(--teal-700);
  display: grid; place-items: center; margin-bottom: var(--space-s);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--text-muted); font-size: 0.96rem; }

.card__more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: var(--space-s); font-weight: 600; font-size: 0.92rem;
  color: var(--accent-strong); text-decoration: none;
}
.card__more svg { width: 15px; height: 15px; transition: transform 0.18s ease; }
.card--link:hover .card__more svg { transform: translateX(3px); }

/* =====================================================================
   Process
   ===================================================================== */

.process { display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: step; }
.process__item { position: relative; padding-top: var(--space-s); }
.process__num {
  font-family: var(--font-display); font-size: var(--step-3);
  font-weight: 600; color: var(--teal-100); line-height: 1;
  margin-bottom: var(--space-xs);
}
.process__item h3 { font-size: var(--step-1); }
.process__item p { color: var(--text-muted); font-size: 0.96rem; }

/* =====================================================================
   Verification checklist
   ===================================================================== */

/* Eight checks, so the min is set to reach four columns on a desktop and
   land an even 4 + 4. At 260px it capped out at three and left a ragged
   3 + 3 + 2 with a hole in the bottom right. */
.verify { display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.verify__item {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-m); padding: 1rem 1.1rem;
}
.verify__tick {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: var(--teal-600); color: #fff; display: grid; place-items: center;
}
.verify__tick svg { width: 14px; height: 14px; }
.verify__item h3 { font-size: 1rem; margin-bottom: 0.15rem; color: #fff; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.verify__item p { font-size: 0.87rem; color: var(--teal-100); margin: 0; line-height: 1.45; }

/* =====================================================================
   Areas
   ===================================================================== */

.areas { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.area-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1px solid var(--sand-300);
  border-radius: var(--radius-pill); padding: 0.7rem 1.3rem;
  text-decoration: none; color: var(--ink-900); font-weight: 500;
  transition: all 0.18s ease;
}
.area-chip:hover { border-color: var(--teal-700); background: var(--teal-50); transform: translateY(-2px); }
.area-chip svg { width: 15px; height: 15px; color: var(--coral-500); }
.area-chip__note {
  font-size: 0.72rem; background: var(--teal-100); color: var(--teal-800);
  padding: 0.15rem 0.5rem; border-radius: var(--radius-pill); font-weight: 600;
}
.area-chip--plain { border-style: dashed; color: var(--text-muted); cursor: default; }
.area-chip--plain:hover { transform: none; border-color: var(--sand-300); background: var(--white); }

/* =====================================================================
   Testimonials
   ===================================================================== */

.quote-card { display: flex; flex-direction: column; height: 100%; }
.quote-card__stars { display: flex; gap: 2px; color: #F5A524; margin-bottom: var(--space-xs); }
.quote-card__stars svg { width: 17px; height: 17px; }
.quote-card blockquote {
  margin: 0 0 var(--space-m); font-family: var(--font-display);
  font-size: var(--step-1); line-height: 1.42; color: var(--ink-900);
  font-weight: 400; flex: 1;
}
.quote-card__who { display: flex; align-items: center; gap: 0.75rem; }
.quote-card__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--teal-100); color: var(--teal-800);
  display: grid; place-items: center; font-weight: 600; font-size: 0.9rem;
}
.quote-card__name { font-weight: 600; font-size: 0.95rem; line-height: 1.2; }
.quote-card__loc { font-size: 0.82rem; color: var(--text-muted); }

/* =====================================================================
   Enquiry form
   ===================================================================== */

.enquiry { display: grid; gap: var(--space-xl); grid-template-columns: 1fr 1.15fr; align-items: start; }
@media (max-width: 900px) { .enquiry { grid-template-columns: 1fr; } }

.enquiry__aside .card { padding: var(--space-m); }
.contact-line { display: flex; gap: 0.85rem; align-items: flex-start; padding-block: 0.9rem; border-bottom: 1px solid var(--sand-200); }
.contact-line:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-line__icon {
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center;
}
.contact-line__icon svg { width: 19px; height: 19px; }
.contact-line__label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; }
.contact-line__value { font-weight: 500; line-height: 1.4; }

/* Addresses flow rather than being hard-broken with <br>.
   The stored lines are ~45 characters and the columns they sit in are
   narrower than that, so a forced break just wrapped again - three
   intended lines rendered as five ragged ones. Letting it wrap naturally
   is tidy at every width. */
address {
  font-style: normal;
  text-wrap: pretty;
  max-width: 30ch;
}
.contact-line__value a { color: var(--ink-900); text-decoration: none; }
.contact-line__value a:hover { color: var(--accent-strong); }

.form { background: var(--bg-raised); border: 1px solid var(--sand-200); border-radius: var(--radius-l); padding: clamp(1.35rem, 3vw, 2.25rem); box-shadow: var(--shadow-m); }
.form__grid { display: grid; gap: var(--space-s); grid-template-columns: 1fr 1fr; }
.form__field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } }

.form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--ink-700); }
.form label .req { color: var(--coral-600); }

.form input, .form select, .form textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--sand-300); border-radius: var(--radius-s);
  background: var(--cream); color: var(--ink-900);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.4;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--teal-600); background: var(--white);
  box-shadow: 0 0 0 4px var(--teal-50);
}
.form input::placeholder, .form textarea::placeholder { color: var(--ink-300); }

/* Chrome paints its own background on autofilled fields, which lands as a
   pale blue block in the middle of the form. The inset shadow is the only
   way to override it. */
.form input:-webkit-autofill,
.form input:-webkit-autofill:hover,
.form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40px var(--cream) inset;
  -webkit-text-fill-color: var(--ink-900);
}

.form__hint { font-size: 0.82rem; color: var(--text-muted); margin-top: var(--space-s); text-align: center; }

.form__error { display: block; font-size: 0.82rem; color: var(--coral-700); margin-top: 0.3rem; min-height: 0; }
.form input.is-invalid, .form select.is-invalid, .form textarea.is-invalid {
  border-color: var(--coral-600);
  box-shadow: 0 0 0 4px var(--coral-50);
}

.form__status {
  margin: 0 0 var(--space-s); padding: 0.85rem 1.1rem;
  border-radius: var(--radius-s); font-size: 0.94rem; font-weight: 500;
}
.form__status--pending { background: var(--sand-100); color: var(--ink-700); border: 1px solid var(--sand-300); }
.form__status--success { background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-600); }
.form__status--error   { background: var(--coral-50); color: var(--coral-700); border: 1px solid var(--coral-600); }

/* The honeypot. Off-screen rather than display:none - some bots skip
   hidden inputs but happily fill anything positioned away. */
.form__trap {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* =====================================================================
   Emergency band
   ===================================================================== */

.emergency { background: var(--coral-500); color: #fff; padding-block: var(--space-xl); }
.emergency__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); flex-wrap: wrap; }
.emergency h2 { color: #fff; font-size: var(--step-3); margin-bottom: 0.3rem; }
.emergency p { color: rgba(255, 255, 255, 0.92); margin: 0; }
.emergency .btn--primary { background: #fff; color: var(--coral-700); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); }
.emergency .btn--primary:hover { background: var(--coral-50); }

/* =====================================================================
   Footer
   ===================================================================== */

.footer { background: var(--teal-900); color: var(--teal-100); padding-block: var(--space-xl) var(--space-m); }
.footer__grid { display: grid; gap: var(--space-l); grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: var(--space-s); }
.footer a { color: var(--teal-100); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer li { margin-bottom: 0.55rem; font-size: 0.94rem; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: var(--teal-500); }

.footer__bottom {
  margin-top: var(--space-l); padding-top: var(--space-s);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; gap: var(--space-s);
  flex-wrap: wrap; font-size: 0.85rem; color: var(--teal-500);
}

/* =====================================================================
   Mobile call bar - the single most important element on a phone.
   ===================================================================== */

.callbar {
  position: fixed; inset: auto 0 0; z-index: 90;
  display: none; gap: 1px; background: var(--sand-300);
  box-shadow: 0 -4px 18px rgba(11, 59, 55, 0.14);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 0.5rem; text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.callbar__call { background: var(--coral-500); color: #fff; }
.callbar__wa { background: #25D366; color: #fff; }
.callbar svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .callbar { display: flex; }
  body { padding-bottom: 58px; }
}

/* =====================================================================
   Interior page header
   ===================================================================== */

.page-hero {
  background: var(--teal-900); color: var(--teal-100);
  padding-block: calc(var(--space-xl) + 1rem) var(--space-xl);
}
.page-hero h1 { color: #fff; max-width: 18ch; text-wrap: balance; }
.page-hero__lede { font-size: var(--step-1); color: var(--teal-100); max-width: 52ch; line-height: 1.5; }

.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: var(--space-s); font-size: 0.85rem; }
.breadcrumb a { color: var(--teal-500); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { color: var(--teal-500); }
.breadcrumb [aria-current] { color: var(--teal-100); }

/* =====================================================================
   Prose + facts
   ===================================================================== */

.prose { max-width: 64ch; }
.prose p { margin-bottom: var(--space-s); color: var(--ink-700); }

.split { display: grid; gap: var(--space-xl); grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--space-l); } }

.fact-grid { display: grid; gap: var(--space-s); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.fact-card {
  background: var(--bg-raised); border: 1px solid var(--sand-200);
  border-radius: var(--radius-m); padding: var(--space-s) 1.15rem;
}
.fact-card__icon { color: var(--teal-700); margin-bottom: 0.6rem; }
.fact-card__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-muted); font-weight: 600; }
.fact-card__value { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; line-height: 1.15; margin-block: 0.15rem 0.3rem; }
.fact-card__note { font-size: 0.86rem; color: var(--text-muted); line-height: 1.45; }

.pillar { border-left: 3px solid var(--coral-500); border-radius: 0; padding-left: var(--space-s); }
.pillar h3 { margin-bottom: 0.3rem; }
.pillar p { color: var(--text-muted); font-size: 0.96rem; }

/* =====================================================================
   Comparison table
   ===================================================================== */

.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  min-width: 480px;
  background: var(--bg-raised);
  border: 1px solid var(--sand-200); border-radius: var(--radius-l);
  overflow: hidden;
}
.compare th, .compare td { padding: 0.95rem 1.15rem; text-align: left; border-bottom: 1px solid var(--sand-200); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted);
  background: var(--sand-100);
}
.compare thead th:nth-child(2) { color: var(--teal-800); }
.compare tbody th { font-weight: 500; font-size: 0.96rem; }
.compare td { text-align: center; width: 26%; }
.compare__yes, .compare__no {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
}
.compare__yes { background: var(--teal-50); color: var(--teal-700); }
.compare__no { background: var(--sand-100); color: var(--ink-300); }
.compare__yes svg, .compare__no svg { width: 15px; height: 15px; }
.compare tbody tr:nth-child(odd) td:nth-child(2) { background: rgba(15, 118, 110, 0.035); }
.compare tbody tr:nth-child(even) td:nth-child(2) { background: rgba(15, 118, 110, 0.055); }

/* =====================================================================
   Motion
   ===================================================================== */

/* Gated behind .js, which is set by an inline script in <head>. Without it
   the scroll-reveal never fires and every section below the fold would be
   permanently invisible - the content must not depend on the animation. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__slide { transition: none; }
  .hero__dot-fill { display: none; }
}
