/* =====================================================================
   Purdy's Refrigeration Ltd. — shared styles (loaded on every page)
   Brand tokens sampled from the client logo. Change colors/fonts HERE,
   not scattered through rules.
   ===================================================================== */

:root {
  /* brand palette (from logo) */
  --blue:        #054199;   /* primary — nav, headings, primary buttons */
  --blue-deep:   #043377;   /* darker blue for gradients / hovers        */
  --blue-tint:   #E8EEF7;   /* pale blue wash                            */
  --red:         #E92A32;   /* accent — emergency CTA, hover/active      */
  --red-deep:    #C71F27;   /* darker red for hover                      */
  --ink:         #1C2F2B;   /* wordmark dark — headings & body           */
  --white:       #FFFFFF;
  --band:        #F4F6F9;   /* section banding                           */
  --muted:       #6B7684;   /* secondary text                            */
  --line:        #E2E6EC;   /* hairline borders                          */

  /* type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* structure */
  --wrap: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 8px rgba(28,47,43,.06);
  --shadow:    0 12px 34px rgba(5,65,153,.10);
  --shadow-lg: 0 26px 60px rgba(5,65,153,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.14; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

/* accessible focus — visible on every interactive element */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.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;
}

/* ---------- shared eyebrow / section head ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 .7rem;
  display: inline-block;
}
.eyebrow.on-blue { color: #9DC0F2; }
.section { padding: 84px 0; }
.section.band { background: var(--band); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.rule { width: 58px; height: 4px; background: var(--red); border-radius: 3px; margin: 14px auto 0; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .rule { margin-left: 0; }

/* ---------- buttons ---------- */
.btn {
  --_bg: var(--blue);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  letter-spacing: .02em; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--_bg); color: #fff; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-red   { --_bg: var(--red); }
.btn-red:hover   { background: var(--red-deep); }
.btn-blue:hover  { background: var(--blue-deep); }
.btn-outline {
  background: transparent; color: var(--blue); border-color: var(--blue);
  box-shadow: none;
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.6);
  box-shadow: none;
}
.btn-ghost-white:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }

/* uppercase letter-spaced label used inside some buttons */
.btn .kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; opacity: .82; font-weight: 700; }

/* =====================================================================
   TOP BAR
   ===================================================================== */
.topbar {
  background: var(--ink); color: #cfd6dc;
  font-size: .84rem; letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 12px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-right { display: flex; align-items: center; gap: 12px; }
.topbar .dot { color: var(--red); font-size: .6rem; }
.topbar .tb-hide { color: #aeb6bd; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), padding .25s var(--ease);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; transition: padding .25s var(--ease); }
.nav.scrolled { box-shadow: 0 8px 26px rgba(5,65,153,.10); }
.nav.scrolled .wrap { padding-top: 8px; padding-bottom: 8px; }

/* logo lockup (graceful degrade: text shows if image is missing) */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-img { height: 66px; width: auto; transition: height .25s var(--ease); }
.nav.scrolled .logo-img { height: 54px; }
.logo-fallback { display: flex; flex-direction: column; line-height: 1; }
.logo-fallback .lf-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; font-family: var(--serif);
  font-style: italic; font-weight: 700; font-size: 1.35rem;
  border: 3px solid var(--red); flex: none;
}
.logo-word { display: flex; flex-direction: column; line-height: 1.02; }
.logo-word .lw-name { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: 1.32rem; color: var(--blue); }
.logo-word .lw-sub  { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); font-weight: 700; }

/* only one of img / fallback is visible; JS/onerror handles the swap */
.logo .logo-fallback { display: none; }
.logo.no-img .logo-img { display: none; }
.logo.no-img .logo-fallback { display: flex; }

/* menu */
.menu { display: flex; align-items: center; gap: 4px; }
.lnk {
  font-family: var(--sans); font-weight: 600; font-size: .97rem; color: var(--ink);
  padding: 10px 14px; border-radius: 8px; position: relative;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.lnk:hover { color: var(--blue); background: var(--blue-tint); }
.lnk.active { color: var(--blue); }
.lnk.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--red); border-radius: 2px;
}
/* in-menu call button is mobile-only (shown inside the off-canvas menu) */
.m-call { display: none; }
.m-call svg { width: 18px; height: 18px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700; font-size: .97rem;
  padding: 12px 20px; border-radius: 999px;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  box-shadow: 0 6px 16px rgba(233,42,50,.28);
}
.nav-call:hover { background: var(--red-deep); transform: translateY(-2px); color: #fff; }
.nav-call svg { width: 17px; height: 17px; }

/* hamburger */
.burger { display: none; width: 46px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(4,40,100,.94) 0%, rgba(5,65,153,.90) 46%, rgba(5,65,153,.72) 100%),
    radial-gradient(1200px 500px at 80% -10%, rgba(233,42,50,.35), transparent 60%),
    #043377;
}
.hero::after {
  /* faint frost / coil pattern hint */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 104px; max-width: 900px; }
.hero .eyebrow { color: #9DC0F2; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); color: #fff; letter-spacing: -.01em; margin-bottom: .35em; }
.hero h1 .accent { color: #fff; position: relative; white-space: nowrap; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--red); border-radius: 3px; }
.hero .lead { font-size: clamp(1.08rem, 2vw, 1.32rem); color: #dbe6f6; max-width: 640px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 2.4rem; color: #cbd8ee; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: #7FE0A8; flex: none; }

/* =====================================================================
   EMERGENCY STRIP
   ===================================================================== */
.emergency {
  background: var(--red);
  color: #fff;
  position: relative; z-index: 3;
}
.emergency .wrap {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 26px; padding: 20px 22px; text-align: center;
}
.emergency .em-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .92rem; }
.emergency .em-label svg { width: 22px; height: 22px; }
.emergency .em-sub { color: #ffe0e1; font-size: .95rem; }
.emergency a.em-phone {
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: .01em; display: inline-flex; align-items: center; gap: 10px;
}
.emergency a.em-phone:hover { text-decoration: underline; }
.pulse { position: relative; display: inline-flex; }
.pulse::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* =====================================================================
   SERVICES GRID
   ===================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 28px; position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico { width: 58px; height: 58px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-tint); color: var(--blue); margin-bottom: 18px; }
.svc-ico svg { width: 30px; height: 30px; }
.svc-card h3 { font-size: 1.32rem; margin-bottom: .4rem; }
.svc-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.svc-card .svc-tag {
  position: absolute; top: 20px; right: 20px;
  background: var(--red); color: #fff; font-family: var(--sans); font-weight: 700;
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
/* the namesake card — feature it */
.svc-card.feature { border-color: transparent; box-shadow: var(--shadow); background: linear-gradient(160deg, #fff, var(--blue-tint)); }
.svc-card.feature::before { transform: scaleX(1); background: var(--red); }
.svc-card.feature .svc-ico { background: var(--blue); color: #fff; }

/* =====================================================================
   WHY US
   ===================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-item { text-align: center; }
.why-ico { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--blue-tint); color: var(--blue); box-shadow: var(--shadow-sm); }
.why-ico svg { width: 32px; height: 32px; }
.why-item h3 { font-size: 1.16rem; margin-bottom: .35rem; }
.why-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.stat { text-align: center; padding: 22px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat .num { font-family: var(--serif); font-weight: 700; font-size: 2.4rem; color: var(--blue); line-height: 1; }
.stat .lab { color: var(--muted); font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

/* =====================================================================
   SERVICE AREAS TEASER
   ===================================================================== */
.areas { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 24px 0 28px; }
.area-list li { list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.area-list li svg { width: 17px; height: 17px; color: var(--red); flex: none; }
.area-map {
  border-radius: var(--radius); overflow: hidden; min-height: 340px; position: relative;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; box-shadow: var(--shadow);
}
.area-map::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), transparent 42%),
                    radial-gradient(circle at 75% 65%, rgba(233,42,50,.35), transparent 45%);
}
.area-map .am-pin { position: relative; z-index: 2; }
.area-map .am-pin svg { width: 46px; height: 46px; margin-bottom: 10px; opacity: .95; }
.area-map h3 { color: #fff; font-size: 1.5rem; margin-bottom: .3rem; }
.area-map p { color: #cbd8ee; margin: 0; font-size: .95rem; }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.review .stars { color: #F5A623; letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.review blockquote { margin: 0 0 20px; font-size: 1.04rem; color: var(--ink); line-height: 1.6; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; flex: none; }
.review .who .nm { display: block; font-weight: 700; font-size: .96rem; }
.review .who .loc { display: block; color: var(--muted); font-size: .84rem; }

/* real Facebook rating badge + single featured recommendation */
.reviews-badge { display: flex; align-items: center; justify-content: center; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 34px; font-size: 1.05rem; }
.reviews-badge .stars { color: #F5A623; letter-spacing: 2px; font-size: 1.25rem; }
.reviews-badge strong { color: var(--ink); font-weight: 800; }
.reviews-badge .rb-sub { color: var(--muted); }
.reviews-badge a { font-weight: 700; }
.review.featured { max-width: 760px; margin: 0 auto; text-align: center; align-items: center; padding: 38px 34px; }
.review.featured blockquote { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.6; }
.review.featured .who { justify-content: center; }
.reviews-more { text-align: center; margin-top: 32px; }

/* =====================================================================
   FINAL CTA + FORM
   ===================================================================== */
.cta-band { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 90% 120%, rgba(233,42,50,.30), transparent 60%); }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.cta-copy .eyebrow { color: #9DC0F2; }
.cta-copy h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.cta-copy p { color: #dbe6f6; font-size: 1.06rem; max-width: 460px; }
.cta-phone { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; }
.cta-phone svg { width: 26px; height: 26px; color: #fff; }
.cta-phone a { color: #fff; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-phone a:hover { text-decoration: underline; }
.cta-phone .cp-lab { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #9DC0F2; font-weight: 700; }

/* form card */
.form-card { background: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.form-card .fc-sub { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfcfe; transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5,65,153,.14); outline: none; background: #fff;
}
.field textarea { min-height: 108px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .82rem; color: var(--muted); margin: 6px 0 0; text-align: center; }
.form-status { display: none; margin-top: 14px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .94rem; font-weight: 600; }
.form-status.ok  { display: block; background: #E7F6EC; color: #1B7A3D; border: 1px solid #B6E4C4; }
.form-status.err { display: block; background: #FDECEC; color: var(--red-deep); border: 1px solid #F5C2C4; }
.form-card .btn { width: 100%; justify-content: center; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ink); color: #b9c1c0; font-size: .94rem; }
.footer .wrap { padding: 64px 22px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.footer a { color: #b9c1c0; }
.footer a:hover { color: #fff; }
.footer ul li { list-style: none; margin-bottom: 10px; }
/* real logo is a circular mark on a white ground — on the dark footer,
   sit it in a white rounded chip so the white bg reads as intentional */
.footer .f-brand .logo-img { background: #fff; border-radius: 14px; padding: 7px; box-shadow: var(--shadow-sm); }
.footer .f-brand .logo-word .lw-name { color: #fff; }
.footer .f-brand .logo-word .lw-sub { color: #8b9694; }
.footer .f-brand .logo-fallback .lf-mark { background: #fff; color: var(--blue); }
.footer .f-about { margin: 18px 0 0; color: #9aa4a3; max-width: 320px; }
.footer .f-phone { font-family: var(--serif); font-size: 1.5rem; color: #fff; font-weight: 700; display: inline-block; margin-bottom: 6px; }
.footer .f-phone:hover { color: #fff; text-decoration: underline; }
.footer .f-hours span { display: block; }
.footer .f-hours .em { color: var(--red); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8b9694; font-size: .84rem; }
.footer-bottom a { color: #8b9694; }

/* =====================================================================
   MOBILE STICKY CALL BAR
   ===================================================================== */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    box-shadow: 0 -6px 22px rgba(0,0,0,.16);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-weight: 700; color: #fff; font-size: 1rem; }
  .callbar svg { width: 18px; height: 18px; }
  .callbar .cb-call { background: var(--red); }
  .callbar .cb-quote { background: var(--blue); }
  body { padding-bottom: 56px; } /* room for the bar */
}

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1000px) {
  .svc-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .areas, .cta-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  html { scroll-padding-top: 74px; }

  /* backdrop-filter DISABLED on mobile: it makes the sticky header a
     containing block that would trap the fixed off-canvas menu. */
  .nav { backdrop-filter: none; background: #fff; }

  .topbar .tb-hide, .topbar .wrap > span { display: none; }
  .topbar .wrap { justify-content: center; }

  .burger { display: block; }
  .nav-call { display: none; } /* the mobile call bar covers this */

  /* off-canvas menu */
  .menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 340px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 84px 20px 30px; transform: translateX(100%);
    transition: transform .3s var(--ease); box-shadow: -18px 0 46px rgba(0,0,0,.18);
    overflow-y: auto;
  }
  .menu.open { transform: none; }
  .lnk { padding: 15px 14px; border-radius: 10px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .lnk.active::after { display: none; }
  .lnk.active { background: var(--blue-tint); }
  .menu .m-call {
    margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--red); color: #fff; font-weight: 700; padding: 15px; border-radius: 999px;
    border-bottom: 0;
  }

  .svc-grid, .reviews, .why-grid, .stats, .area-list, .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .field-row { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .footer-bottom { flex-direction: column; }
}

/* body scroll lock when off-canvas menu open */
body.menu-open { overflow: hidden; }

/* =====================================================================
   INNER-PAGE COMPONENTS (services / service-areas / about / contact)
   Shared so every sub-page matches the homepage. Use these classes;
   add only small page-specific tweaks in a per-page <style> block.
   ===================================================================== */

/* compact page banner (sub-page hero) */
.page-hero {
  position: relative; color: #fff; overflow: hidden; text-align: center;
  background:
    linear-gradient(120deg, rgba(4,40,100,.95) 0%, rgba(5,65,153,.90) 55%, rgba(5,65,153,.78) 100%),
    radial-gradient(900px 400px at 82% -20%, rgba(233,42,50,.34), transparent 60%),
    #043377;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5;
}
.page-hero .wrap { position: relative; z-index: 2; padding: 74px 22px 66px; }
.page-hero .eyebrow { color: #9DC0F2; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.4rem); margin-bottom: .25em; }
.page-hero p { color: #dbe6f6; font-size: clamp(1.02rem, 2vw, 1.18rem); max-width: 640px; margin: 0 auto; }
.page-hero .rule { background: var(--red); margin-top: 16px; }

/* breadcrumb */
.breadcrumb { font-size: .84rem; color: #9DC0F2; margin-bottom: 14px; letter-spacing: .02em; }
.breadcrumb a { color: #cbd8ee; font-weight: 600; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }

/* generic two-column split (image/text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split.wider-left { grid-template-columns: 1.15fr .85fr; }
.split.wider-right { grid-template-columns: .85fr 1.15fr; }

/* checkmark feature list */
.check-list { display: grid; gap: 12px; margin: 20px 0; }
.check-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list li svg { width: 22px; height: 22px; color: #fff; background: var(--blue); border-radius: 50%; padding: 4px; flex: none; margin-top: 2px; }
.check-list li strong { display: block; }
.check-list li span { color: var(--muted); font-size: .95rem; }

/* media placeholder panel (until real photos land) */
.media-panel {
  border-radius: var(--radius); overflow: hidden; min-height: 360px; position: relative;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px; box-shadow: var(--shadow);
}
.media-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 28%, rgba(255,255,255,.14), transparent 42%),
                    radial-gradient(circle at 74% 70%, rgba(233,42,50,.32), transparent 46%);
}
.media-panel svg { width: 54px; height: 54px; position: relative; z-index: 2; opacity: .95; margin-bottom: 12px; }
.media-panel span { position: relative; z-index: 2; color: #cbd8ee; font-size: .9rem; }

/* detailed service block (services.html) */
.svc-detail { scroll-margin-top: 100px; }
.svc-detail + .svc-detail { margin-top: 30px; }
.svc-detail-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.svc-detail-card.feature { border-color: transparent; box-shadow: var(--shadow); background: linear-gradient(160deg, #fff, var(--blue-tint)); }
.svc-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.svc-detail-head .svc-ico { margin-bottom: 0; }
.svc-detail-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }

/* area cards (service-areas.html) */
.area-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.area-card .ac-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.area-card .ac-ico svg { width: 24px; height: 24px; }
.area-card h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.area-card p { color: var(--muted); font-size: .93rem; margin: 0 0 12px; }
.area-card .ac-towns { display: flex; flex-wrap: wrap; gap: 6px; }
.area-card .ac-towns span { font-size: .78rem; background: var(--band); color: var(--ink); padding: 4px 10px; border-radius: 999px; font-weight: 600; }

/* value / step cards (about) */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.value-card .svc-ico { width: 52px; height: 52px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.value-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* contact info tiles (contact) */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-tile { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-tile:last-child { border-bottom: 0; }
.info-tile .it-ico { width: 50px; height: 50px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.info-tile .it-ico svg { width: 24px; height: 24px; }
.info-tile h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.info-tile p, .info-tile a { color: var(--muted); margin: 0; font-size: .98rem; }
.info-tile a { color: var(--blue); font-weight: 600; }
.info-tile a:hover { text-decoration: underline; }
.info-tile .big { font-family: var(--serif); font-size: 1.4rem; color: var(--blue); font-weight: 700; }

@media (max-width: 1000px) {
  .split, .split.wider-left, .split.wider-right, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .area-cards, .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .area-cards, .value-grid { grid-template-columns: 1fr; }
  .svc-detail-card { padding: 26px 22px; }
  .svc-detail-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-hero .wrap { padding: 54px 22px 48px; }
}
