/* ============================================================
   MARSHGATE PLUMBING & HEATING  --  styles.css
   ------------------------------------------------------------
   Design system + layout. ASCII-only (CSS unicode escapes in
   content:"" values). All --variables and --modifiers keep
   both dashes.
   ============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  /* Brand colour: engineer's navy */
  --navy-900: #07162b;
  --navy-800: #0b1e3c;
  --navy-700: #122c52;
  --navy-600: #1b3d6b;
  --navy-500: #2c5184;

  /* Brand accent: copper (pipework) */
  --copper-700: #8f4516;
  --copper-600: #a8551f;
  --copper: #c2682b;
  --copper-300: #e3975c;

  /* High-vis amber -- RESERVED for phone + primary CTA only */
  --amber: #f5b301;
  --amber-bright: #ffc627;
  --amber-600: #d99c00;

  /* Neutrals (warm) */
  --canvas: #f6f3ec;
  --canvas-2: #efe9dd;
  --paper: #ffffff;
  --ink: #0e1a2e;
  --ink-soft: #46546c;
  --ink-faint: #7e8a9e;
  --line: #e3ddce;
  --line-strong: #d2c9b3;

  /* Semantic */
  --success: #2f7d52;

  /* Typography */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 30, 60, .06), 0 2px 6px rgba(11, 30, 60, .05);
  --shadow-md: 0 6px 18px rgba(11, 30, 60, .08), 0 14px 40px rgba(11, 30, 60, .07);
  --shadow-lg: 0 18px 50px rgba(7, 22, 43, .18), 0 4px 14px rgba(7, 22, 43, .10);
  --shadow-amber: 0 8px 24px rgba(217, 156, 0, .35);

  /* Layout */
  --shell: 1200px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur: .6s;

  color-scheme: light;
}

/* ------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--navy-800);
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--amber-bright); color: var(--navy-900); }

/* Accessible focus ring */
:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .2s var(--ease-soft);
}
.skip-link:focus { top: 16px; }

/* Layout container */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

/* ------------------------------------------------------------
   3. TYPOGRAPHY HELPERS
   ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper-600);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--copper-300); }
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(194, 104, 43, .18);
}
.eyebrow--light .eyebrow__dot { box-shadow: 0 0 0 4px rgba(194, 104, 43, .25); }

.section__head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-size: clamp(1.9rem, 1.3rem + 3vw, 3.2rem);
  letter-spacing: -.03em;
}
.section__title--light { color: #fff; }
.section__lede {
  margin-top: 1rem;
  font-size: clamp(1.02rem, .98rem + .25vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
}
.section__head--center .section__lede { margin-inline: auto; }
.section__lede--light { color: rgba(255, 255, 255, .78); }

.hl {
  position: relative;
  color: var(--copper);
  white-space: nowrap;
}
.section__title--light .hl { color: var(--copper-300); }

/* Arrow used inside links/buttons */
.arrow {
  display: inline-block;
  transition: transform .35s var(--ease);
  font-weight: 700;
}
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }

.section { padding-block: clamp(3.5rem, 7vw, 7rem); }

/* ------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--copper);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 24px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease-soft);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primary = high-vis amber (the money CTA). Navy ink for contrast. */
.btn--primary {
  --btn-bg: var(--amber);
  --btn-fg: var(--navy-900);
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  box-shadow: var(--shadow-amber);
  font-weight: 700;
}
.btn--primary:hover { background: linear-gradient(180deg, #ffd04d, var(--amber-bright)); }

.btn--block { width: 100%; }
.btn--sm { padding: 12px 18px; font-size: .92rem; }

/* Call button: navy with amber number stack */
.btn--call {
  background: var(--navy-800);
  color: #fff;
  gap: 14px;
  padding: 14px 22px 14px 16px;
}
.btn--call:hover { background: var(--navy-700); }
.btn--call svg { color: var(--amber); flex: none; }
.btn--call--inline { box-shadow: var(--shadow-md); }
.btn__label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.btn__label-top { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); font-weight: 500; }
.btn__label-num { font-family: var(--font-mono); font-weight: 600; font-size: 1.18rem; color: var(--amber-bright); letter-spacing: .01em; }

/* Ghost / light-on-dark */
.btn--ghost-light {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(4px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255,255,255,.45); }

/* ------------------------------------------------------------
   5. HEADER
   ------------------------------------------------------------ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height .35s var(--ease-soft), background .35s var(--ease-soft),
              box-shadow .35s var(--ease-soft), border-color .35s var(--ease-soft);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  height: 64px;
  background: rgba(246, 243, 236, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(11,30,60,.06), 0 8px 30px rgba(7,22,43,.06);
  border-bottom-color: var(--line);
}
.header__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; transition: color .3s; }
.header.is-scrolled .brand { color: var(--navy-800); }
.brand__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--copper), var(--copper-700));
  color: #fff;
  box-shadow: 0 6px 16px rgba(143,69,22,.35);
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.brand__sub { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 3px; }

/* Nav */
.nav { display: none; gap: 2rem; margin-left: auto; }
.nav a {
  position: relative;
  font-weight: 500;
  font-size: .96rem;
  color: rgba(255,255,255,.85);
  padding: 6px 0;
  transition: color .25s;
}
.header.is-scrolled .nav a { color: var(--ink-soft); }
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--copper);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: #fff; }
.header.is-scrolled .nav a:hover { color: var(--navy-800); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.header.is-scrolled .header__actions { margin-left: 0; }
.nav + .header__actions { margin-left: 0; }

/* Phone pill (high-vis amber) */
.phonepill {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 13px;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: var(--navy-900);
  font-weight: 700;
  box-shadow: var(--shadow-amber);
  transition: transform .25s var(--ease), background .25s;
}
.phonepill:hover { transform: translateY(-2px); background: var(--amber-bright); }
.phonepill__icon { color: var(--navy-800); flex: none; }
.phonepill__num { font-family: var(--font-mono); font-size: 1rem; letter-spacing: .01em; }

/* Compact tap-to-call icon button -- mobile header only */
.phoneicon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy-900);
  box-shadow: var(--shadow-amber);
  transition: transform .25s var(--ease), background .25s;
}
.phoneicon:hover { transform: translateY(-2px); background: var(--amber-bright); }

/* Mobile nav toggle */
/* Mobile nav panel (shown when .is-open) */
@media (max-width: 899px) {
  .nav {
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h);
    z-index: 99;
    display: block;
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: .5rem clamp(1.1rem, 4vw, 2rem) 1.5rem;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path .4s var(--ease), opacity .3s var(--ease);
  }
  .header.is-scrolled .nav { top: 64px; }
  .nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav a {
    display: block;
    color: var(--ink);
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav a:hover { color: var(--copper-600); }
  /* Surface the primary CTA inside the mobile panel as a full-width button */
  .nav a[href="#quote"] {
    margin-top: .75rem;
    padding: 1rem;
    text-align: center;
    border-radius: var(--r-pill);
    background: linear-gradient(180deg, var(--amber-bright), var(--amber));
    color: var(--navy-900);
    font-weight: 700;
    border-bottom: 0;
    box-shadow: var(--shadow-amber);
  }
}

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 10px; }
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.header.is-scrolled .nav-toggle span { background: var(--navy-800); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-h) + 1rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--navy-900); }
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,22,43,.95) 0%, rgba(7,22,43,.82) 42%, rgba(7,22,43,.45) 100%),
    linear-gradient(0deg, rgba(7,22,43,.7), rgba(7,22,43,0) 40%);
}
/* Engineering grid overlay */
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 25% 35%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 90% at 25% 35%, #000 30%, transparent 80%);
}

.hero__content { position: relative; max-width: 720px; }
.hero__title {
  font-size: clamp(2.5rem, 1.4rem + 5.6vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
  margin: .2em 0 .35em;
  display: flex;
  flex-direction: column;
}
.hero__title span { display: block; }
.hero__title--accent { color: var(--copper-300); }

.hero__lede {
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem);
  max-width: 56ch;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: center; }

.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__signals li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  font-weight: 500;
}
.hero__signals svg { color: var(--copper-300); flex: none; }

/* Floating rating badge */
.hero__badge {
  position: absolute;
  right: clamp(1.1rem, 4vw, 3.5rem);
  bottom: clamp(5.5rem, 12vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
  text-align: center;
}
.hero__badge-stars { display: flex; gap: 2px; color: var(--amber); margin-bottom: 4px; }
.hero__badge-score { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--navy-800); }
.hero__badge-score span { font-size: 1rem; color: var(--ink-faint); font-weight: 600; }
.hero__badge-meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

/* ------------------------------------------------------------
   7. STATS
   ------------------------------------------------------------ */
.stats {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}
.stat__num::after { content: attr(data-suffix); color: var(--copper); }
.stat__label {
  display: block;
  margin-top: .5rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   8. SERVICES
   ------------------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(194,104,43,.12), rgba(194,104,43,.04));
  color: var(--copper-600);
  margin-bottom: 1.25rem;
  transition: color .35s, background .35s;
}
.card:hover .card__icon { color: var(--copper); }
.card__title { font-size: 1.32rem; margin-bottom: .55rem; }
.card__text { color: var(--ink-soft); font-size: .98rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 1.25rem;
  font-weight: 600; font-size: .95rem;
  color: var(--copper-600);
}
.card__link:hover { color: var(--copper-700); }

/* ------------------------------------------------------------
   9. WHY US
   ------------------------------------------------------------ */
.why { background: var(--canvas-2); }
.why__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }

.why__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.why__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.why__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,22,43,.55));
}
.why__media-card {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
}
.why__media-card-num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--copper); }
.why__media-card-txt { font-size: .92rem; font-weight: 500; color: var(--navy-800); line-height: 1.3; }

.why__list { display: grid; gap: .5rem; margin-top: 1.75rem; }
.why__item {
  display: flex; gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.why__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; flex: none;
  border-radius: 12px;
  background: var(--paper);
  color: var(--copper-600);
  box-shadow: var(--shadow-sm);
}
.why__item-title { font-size: 1.12rem; margin-bottom: .3rem; }
.why__item p { color: var(--ink-soft); font-size: .96rem; }
.why__cta { margin-top: 2rem; }

/* ------------------------------------------------------------
   10. CERTIFICATIONS BAND
   ------------------------------------------------------------ */
.certs {
  background: var(--navy-900);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.certs::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.certs .shell { position: relative; }
.certs__title {
  text-align: center;
  color: rgba(255,255,255,.7);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(.8rem, .7rem + .4vw, .95rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.certs__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
}
.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-width: 140px;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.cert:hover { background: rgba(255,255,255,.08); border-color: rgba(194,104,43,.4); transform: translateY(-3px); }
.cert__k { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; }
.cert__v { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-300); }

/* ------------------------------------------------------------
   11. AREAS
   ------------------------------------------------------------ */
.areas { background: var(--paper); }
.areas__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: .65rem; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: .65rem 1.1rem;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: .96rem;
  color: var(--navy-800);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.chip:hover { border-color: var(--copper); background: #fff; transform: translateY(-2px); }
.chip__pin { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); flex: none; }

/* ------------------------------------------------------------
   12. REVIEWS
   ------------------------------------------------------------ */
.reviews { background: var(--canvas); }
.reviews__avg {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--copper);
  font-size: 1.2em;
}
.reviews__grid { display: grid; gap: 1.25rem; }
.review {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.review::before {
  content: "\201C";
  position: absolute;
  top: .25rem; right: 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--canvas-2);
  pointer-events: none;
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review__stars { display: flex; gap: 2px; color: var(--amber); }
.review__text { font-size: 1.02rem; line-height: 1.6; color: var(--ink); margin: 0; flex: 1; }
.review__meta { display: flex; align-items: center; gap: .85rem; padding-top: .25rem; border-top: 1px solid var(--line); margin-top: auto; }
.review__avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: var(--navy-700); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.review__avatar--2 { background: var(--copper-600); }
.review__avatar--3 { background: var(--navy-500); }
.review__meta strong { display: block; font-size: .98rem; }
.review__loc { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }

/* ------------------------------------------------------------
   13. QUOTE / CONTACT
   ------------------------------------------------------------ */
.quote {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(194,104,43,.16), transparent 55%),
    var(--navy-800);
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
}
.quote .shell { position: relative; }
.quote__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }

.quote__contact { display: grid; gap: 1.5rem; margin-top: 2.25rem; }
.quote__contact-k {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--copper-300); margin-bottom: .25rem;
}
.quote__contact-v {
  font-family: var(--font-mono);
  font-size: 1.3rem; font-weight: 500;
  color: #fff;
  transition: color .25s;
}
a.quote__contact-v:hover { color: var(--amber-bright); }
.quote__contact-v--text { font-size: 1.02rem; line-height: 1.5; color: rgba(255,255,255,.85); }

.quote__formwrap { background: var(--paper); border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-lg); }
.quote__form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .5rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy-800); }
.field__opt { color: var(--ink-faint); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 13px 15px;
  background: var(--canvas);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--copper);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(194,104,43,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field--row { grid-template-columns: 1fr; gap: 1.1rem; }
.field--row > div { display: grid; gap: .5rem; }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select__chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }

.quote__form-note { min-height: 1.2em; font-size: .92rem; font-weight: 600; }
.quote__form-note.ok { color: var(--success); }
.quote__form-note.err { color: #c0392b; }
.quote__fineprint { font-size: .8rem; color: var(--ink-faint); text-align: center; margin-top: .25rem; }

/* ------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------ */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-top: clamp(3rem, 6vw, 5rem); }
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand .brand { color: #fff; margin-bottom: 1rem; }
.footer__tagline { max-width: 38ch; font-size: .95rem; margin-bottom: 1.25rem; }
.footer__addr { font-style: normal; font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer__h { font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-300); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a { font-size: .95rem; color: rgba(255,255,255,.72); transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__contact-list { display: grid; gap: .85rem; margin-bottom: 1.5rem; }
.footer__contact-list li { display: flex; align-items: center; gap: .65rem; font-size: .95rem; }
.footer__contact-list svg { color: var(--copper-300); flex: none; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center;
  padding-block: 1.75rem;
  font-size: .82rem; color: rgba(255,255,255,.45);
}
.footer__credits { font-family: var(--font-mono); letter-spacing: .04em; }

/* ------------------------------------------------------------
   15. MOBILE STICKY BAR + BACK TO TOP
   ------------------------------------------------------------ */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 10px clamp(12px, 4vw, 16px) calc(10px + env(safe-area-inset-bottom));
  background: rgba(246,243,236,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(7,22,43,.08);
  transform: translateY(120%);
  transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 16px;
  border-radius: var(--r-pill);
  transition: transform .2s var(--ease);
}
.mobile-bar__btn:active { transform: scale(.97); }
.mobile-bar__btn--call { background: var(--navy-800); color: #fff; flex: 0 0 auto; }
.mobile-bar__btn--call svg { color: var(--amber); }
.mobile-bar__btn--quote { flex: 1; background: var(--amber); color: var(--navy-900); }

.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 80;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px) scale(.9);
  transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--navy-700); }
.to-top svg { color: var(--amber); }

/* ------------------------------------------------------------
   16. SCROLL REVEALS
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   17. RESPONSIVE  --  tablet & up
   ------------------------------------------------------------ */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .field--row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .quote__contact { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .phonepill { display: inline-flex; }
  .phoneicon { display: none; }
  .header .btn--primary { display: inline-flex; }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }

  .why__grid { grid-template-columns: 1fr 1.1fr; }
  .why__media { position: sticky; top: calc(var(--header-h) + 1rem); }

  .areas__grid { grid-template-columns: 1fr 1fr; }
  .quote__grid { grid-template-columns: 1fr 1fr; }

  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
}

/* Hide desktop-only header actions on mobile (shown via mobile-bar instead),
   but keep nav toggle. Phone CTA reappears in mobile-bar. */
@media (max-width: 899px) {
  .header .btn--primary { display: none; }
  body { padding-bottom: 76px; } /* room for mobile-bar */
}

/* ------------------------------------------------------------
   18. REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__img { transform: none !important; }
}

/* ------------------------------------------------------------
   19. PRINT (clean trust signal on paper too)
   ------------------------------------------------------------ */
@media print {
  .header, .mobile-bar, .to-top, .hero__media, .quote__form { display: none; }
  body { background: #fff; color: #000; }
}
