/* ==========================================================================
   C&C Janitorial Services — wecleanathens.com
   All site styles. Colors come from the C&C logo.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --blue-950: #142650;
  --blue-900: #1c3470;
  --blue-800: #2b4e9c;   /* logo wordmark blue */
  --blue-600: #0e76bd;   /* square-logo edge blue */
  --blue-400: #22a9e1;   /* square-logo center blue */
  --sky-300: #8cc8f0;    /* sparkles */
  --ice-100: #eaf6fd;
  --ice-50: #f5fbff;
  --white: #fff;
  --ink: #1a2233;
  --muted: #4b5568;
  --line: #d8e9f6;
  --green: #2e8b57;
  --green-100: #e6f5ec;

  --grad: linear-gradient(160deg, #8cc8f0 0%, #22a9e1 40%, #0e76bd 70%, #2b4e9c 100%);
  --grad-deep: linear-gradient(150deg, #0e76bd 0%, #2b4e9c 55%, #1c3470 100%);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(28, 52, 112, .25);
  --shadow-lg: 0 24px 50px -18px rgba(28, 52, 112, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
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(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue-900); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 700; }
h2, .h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 700; }
h3, .h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--blue-900); color: #fff; padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.flip { transform: scaleX(-1); }
.hp { position: absolute; left: -9999px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 2.5rem); }
.section { padding: clamp(3.5rem, 2rem + 5vw, 6rem) 0; position: relative; }
.section--tint { background: var(--ice-50); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--split { max-width: none; display: grid; gap: 1rem 3rem; grid-template-columns: 1.1fr 1fr; align-items: end; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: .9rem;
}
.eyebrow .icon { width: 1.1em; height: 1.1em; color: var(--blue-400); }
.eyebrow--light { color: #d6efff; }
.eyebrow--light .icon { color: #fff; }
.eyebrow--green { color: var(--green); }
.eyebrow--green .icon { color: var(--green); }
.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3. Buttons ---------- */
.btn {
  --bg: var(--blue-800); --fg: #fff; --bd: var(--blue-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font-family: var(--font-head); font-weight: 600;
  font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(14, 118, 189, .6); }
.btn--primary { --bg: var(--blue-800); --bd: var(--blue-800); }
.btn--primary:hover { --bg: var(--blue-900); --bd: var(--blue-900); }
.btn--outline { --bg: transparent; --fg: var(--blue-800); --bd: var(--blue-800); }
.btn--outline:hover { --bg: var(--blue-800); --fg: #fff; }
.btn--ghost-light { --bg: rgba(255,255,255,.12); --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--sm { padding: .55rem 1rem; font-size: .92rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
/* little sparkle that pops on hover */
.btn--sparkle::after {
  content: ""; position: absolute; top: -7px; right: 10px; width: 14px; height: 14px;
  background: var(--sky-300);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transform: scale(0) rotate(-45deg); transition: transform .35s var(--ease);
}
.btn--sparkle:hover::after { transform: scale(1) rotate(0); }

/* ---------- 4. Top bar + header ---------- */
.topbar { background: var(--blue-900); color: #d9e9fb; font-size: .86rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: var(--sky-300); }
.topbar__note, .topbar__links { display: inline-flex; align-items: center; gap: 1.25rem; }
.topbar__note .icon { color: var(--sky-300); margin-right: .35rem; }
.topbar .icon { width: 1em; height: 1em; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, background .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.85); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 8px 24px -16px rgba(28,52,112,.45); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 68px; }
.brand img { height: 64px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 50px; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .25rem; padding: .55rem .8rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--blue-900);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__toggle[aria-expanded="true"] { background: var(--ice-100); color: var(--blue-800); }
.nav__chev { width: 1em; height: 1em; transition: transform .25s; }
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: .9rem; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; color: var(--blue-900); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--blue-600); }
.menu-btn { display: none; background: var(--ice-100); border: 0; border-radius: 12px; width: 46px; height: 46px; color: var(--blue-900); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .icon { width: 26px; height: 26px; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }
.nav__mobile-extra { display: none; }

/* mega menu */
.nav__item--mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; padding-top: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
  width: min(1200px, 100% - 2.5rem); margin-inline: auto; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 1.75rem;
  display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 2rem;
}
.mega__heading { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.mega ul { list-style: none; display: grid; gap: .15rem; }
.mega__col a { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mega__col a:hover, .mega__col a[aria-current="page"] { background: var(--ice-100); color: var(--blue-800); }
.mega__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ice-100); color: var(--blue-600); flex: none; transition: transform .25s var(--ease); }
.mega__col a:hover .mega__icon { transform: rotate(-8deg) scale(1.06); background: #fff; }
.mega__promo { background: var(--grad-deep); color: #e8f3fd; border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.mega__promo p { margin: 0; }
.mega__promo-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: #fff; }
.mega__promo .btn--primary { --bg: #fff; --fg: var(--blue-800); --bd: #fff; margin-top: .4rem; }
.mega__all { color: #fff; display: inline-flex; gap: .3rem; align-items: center; margin-top: auto; font-weight: 600; }
.mega__all:hover { color: var(--sky-300); }

/* ---------- 5. Breadcrumbs ---------- */
.breadcrumbs { padding-top: 1rem; font-size: .9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--sky-300); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-600); text-decoration: underline; }

/* ---------- 6. Sparkles (decorative) ---------- */
.sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.sparkles i {
  position: absolute; width: 18px; height: 18px; background: var(--sky-300); opacity: .8;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.sparkles i:nth-child(1) { top: 14%; left: 6%; }
.sparkles i:nth-child(2) { top: 72%; left: 3%; width: 12px; height: 12px; animation-delay: .8s; }
.sparkles i:nth-child(3) { top: 22%; left: 47%; width: 10px; height: 10px; animation-delay: 1.6s; }
.sparkles i:nth-child(4) { top: 8%; right: 9%; width: 24px; height: 24px; animation-delay: .4s; background: var(--blue-400); }
.sparkles i:nth-child(5) { bottom: 12%; right: 4%; width: 14px; height: 14px; animation-delay: 2.1s; }
.sparkles i:nth-child(6) { bottom: 26%; left: 42%; width: 12px; height: 12px; animation-delay: 1.2s; }
.sparkles i:nth-child(7) { top: 58%; right: 46%; width: 9px; height: 9px; animation-delay: 2.6s; }

/* ---------- 7. Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 1rem + 5vw, 5.5rem) 0 clamp(3rem, 1rem + 5vw, 6rem); }
.hero__bg { position: absolute; inset: 0; background: radial-gradient(80% 70% at 85% 30%, #d7eefc 0%, rgba(234,246,253,.6) 40%, #fff 75%); z-index: -1; }
.hero__bg::after { content: ""; position: absolute; right: -10%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(34,169,225,.18), transparent 65%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero__partner { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--blue-800); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-size: .92rem; }
.hero__partner .icon { color: var(--blue-400); }
.hero__media { position: relative; }
.hero__frame { border-radius: 28px 28px 28px 120px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__img { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; }
.hero__badge {
  position: absolute; display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 18px;
  padding: .85rem 1.1rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero__badge:first-of-type { left: -1.25rem; bottom: 1.5rem; }
.hero__badge-num { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--blue-800); }
.hero__badge-text { font-size: .9rem; line-height: 1.25; font-weight: 600; color: var(--muted); }
.hero__badge--green { right: -1rem; top: 1.25rem; left: auto; bottom: auto; color: var(--green); }
.hero__badge--green .icon { width: 30px; height: 30px; }

/* ---------- 8. Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem) 0 clamp(2.5rem, 1rem + 4vw, 4.5rem); background: linear-gradient(180deg, #fff 0%, var(--ice-50) 100%); }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); }
.page-hero__media { border-radius: 24px 24px 24px 90px; overflow: hidden; box-shadow: var(--shadow-lg); }
.page-hero__img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.trust-chips li { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--blue-900); background: #fff; border: 1px solid var(--line); padding: .35rem .8rem; border-radius: 999px; }
.trust-chips .icon { color: var(--blue-600); width: 1.05em; height: 1.05em; }
.page-hero--simple { padding-bottom: 2.5rem; }
.simple-page .lead { margin-inline: auto; }

/* ---------- 9. Stats band ---------- */
.stats { background: var(--grad-deep); color: #fff; position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 2rem 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(255,255,255,.2); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; }
.stat__label { display: block; margin-top: .4rem; color: #cfe6fb; font-weight: 600; font-size: .95rem; }

/* ---------- 10. Cards ---------- */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; gap: .2rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 2px 0 rgba(28,52,112,.03);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card h3 { margin: .7rem 0 .35rem; }
.card p { color: var(--muted); margin: 0; }
.card--link { color: inherit; text-decoration: none; }
.card--link:hover, .card--link:focus-visible { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfe0f6; }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--ice-100); color: var(--blue-600); transition: transform .35s var(--ease), background .35s, color .35s; }
.card__icon .icon { width: 28px; height: 28px; }
.card--link:hover .card__icon { transform: rotate(-8deg); background: var(--blue-800); color: #fff; }
.card__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--blue-600); font-size: .95rem; }
.card__more .icon { transition: transform .3s var(--ease); }
.card--link:hover .card__more .icon { transform: translateX(4px); }
.card--link::after {
  content: ""; position: absolute; top: 14px; right: 16px; width: 14px; height: 14px; background: var(--sky-300);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  transform: scale(0) rotate(-60deg); transition: transform .4s var(--ease);
}
.card--link:hover::after { transform: scale(1) rotate(0); }

/* industries */
.industry-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .9rem; }
.industry { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; color: var(--blue-900); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.industry:hover { color: var(--blue-800); transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bfe0f6; }
.industry__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; flex: none; }
.industry__arrow { margin-left: auto; color: var(--blue-400); transition: transform .3s var(--ease); }
.industry:hover .industry__arrow { transform: translateX(4px); }

/* why */
.why { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why__intro p { color: var(--muted); }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.pillar { background: var(--ice-50); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.pillar:nth-child(even) { transform: translateY(1.5rem); }
.pillar h3 { margin: .8rem 0 .3rem; }
.pillar p { color: var(--muted); margin: 0; font-size: .97rem; }
.pillar__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--blue-600); box-shadow: var(--shadow); }

/* green feature */
.green-feature { background: var(--green-100); padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0; }
.green-feature__inner { display: grid; grid-template-columns: 140px 1fr; gap: 2rem; align-items: center; max-width: 980px; }
.green-feature__seal { color: var(--green); width: 140px; }
.green-feature__seal svg { animation: spin 40s linear infinite; }
.green-feature h2 { color: #1f5e3b; }
.green-feature p:last-child { margin: 0; color: #2f4a3b; }

/* ---------- 11. Testimonials carousel ---------- */
.carousel { position: relative; max-width: 900px; margin-inline: auto; }
.carousel__track { display: grid; }
.carousel__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.carousel__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.no-js .carousel__track, .carousel--static .carousel__track { gap: 1.25rem; }
.no-js .carousel__slide, .carousel--static .carousel__slide { grid-area: auto; opacity: 1; visibility: visible; transform: none; }
.quote-card { margin: 0; background: #fff; border-radius: 22px; padding: clamp(1.75rem, 1rem + 3vw, 3rem); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.quote-card__mark { width: 52px; height: 52px; color: var(--sky-300); margin-bottom: .6rem; }
.quote-card blockquote { margin: 0 0 1.4rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink); }
.quote-card figcaption strong { display: block; font-family: var(--font-head); color: var(--blue-900); font-size: 1.1rem; }
.quote-card figcaption span { color: var(--muted); font-size: .95rem; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--blue-800); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.carousel__btn:hover { background: var(--blue-800); color: #fff; border-color: var(--blue-800); }
.carousel__dots { display: flex; gap: .45rem; }
.carousel__dots button { width: 11px; height: 11px; border-radius: 999px; border: 0; padding: 0; background: #c3dcef; cursor: pointer; transition: width .3s var(--ease), background .3s; }
.carousel__dots button[aria-current="true"] { width: 30px; background: var(--blue-600); }

/* ---------- 12. Service-area band + map ---------- */
.area-band__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.area-band__copy p { color: var(--muted); }
.town-cloud { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.25rem 0 1.75rem; }
.town-cloud li { padding: .3rem .75rem; border-radius: 999px; background: var(--ice-100); color: var(--blue-900); font-weight: 600; font-size: .9rem; transition: background .25s, color .25s, transform .25s var(--ease); }
.town-cloud li.is-hot { background: var(--blue-800); color: #fff; transform: translateY(-2px); }
.area-map { width: 100%; height: auto; overflow: hidden; border-radius: 24px; background: #f7fafd; }
.area-map__context path { fill: #f1f6fa; stroke: #d5e3ee; stroke-width: 1; }
.area-map__county path { fill: var(--ice-100); stroke: #fff; stroke-width: 2; transition: fill .45s var(--ease); }
.area-map__county { cursor: pointer; }
.area-map.is-lit .area-map__county path { fill: #bfe3f8; transition-delay: calc(var(--i) * 120ms); }
.area-map__county:nth-child(1) path { fill: var(--sky-300); }
.area-map.is-lit .area-map__county:nth-child(1) path { fill: var(--blue-400); }
.area-map__county:hover path, .area-map__county:focus-visible path, .area-map__county.is-hot path { fill: var(--blue-800) !important; transition-delay: 0s !important; }
.area-map__county:focus-visible { outline: none; }
.area-map__label { font-family: var(--font-head); font-size: 13px; font-weight: 600; fill: var(--blue-900); text-anchor: middle; pointer-events: none; transition: fill .3s; }
.area-map__county:hover .area-map__label, .area-map__county.is-hot .area-map__label, .area-map__county:focus-visible .area-map__label { fill: #fff; }
.area-map__towns { pointer-events: none; }
.area-map__town circle { fill: var(--blue-900); stroke: #fff; stroke-width: 1.5; }
.area-map__town text { font-size: 11px; font-weight: 700; fill: var(--blue-900); paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 3px; opacity: 0; transition: opacity .3s; }
.area-map__town.is-hot text, .area-map__town--home text { opacity: 1; }
.area-map__town--home circle { fill: var(--blue-600); }
.area-map__pulse { fill: none !important; stroke: var(--blue-600) !important; stroke-width: 2 !important; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }

/* ---------- 13. Quote band + form ---------- */
.quote-band { position: relative; overflow: hidden; background: var(--grad-deep); color: #e3f1fc; padding: clamp(3.5rem, 2rem + 5vw, 6rem) 0; }
.quote-band .sparkles i { background: rgba(140,200,240,.55); }
.quote-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.quote-band h2 { color: #fff; }
.quote-band__copy > p { color: #d3e8fa; }
.quote-band__phone { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: #fff; text-decoration: none; }
.quote-band__phone:hover { color: var(--sky-300); }
.quote-band__form { background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(1.4rem, 1rem + 2vw, 2.25rem); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.checks { list-style: none; display: grid; gap: .55rem; margin: 1.25rem 0; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .icon { color: var(--green); margin-top: .2em; width: 1.15em; height: 1.15em; }
.checks--light .icon { color: var(--sky-300); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--blue-900); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ice-50);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(34,169,225,.18); }
.field.has-error input, .field.has-error select { border-color: #c0392b; }
.field__error { color: #b42318; font-size: .85rem; font-weight: 600; margin-top: .3rem; }
.quote-form .btn { width: 100%; }
.form-status { margin: .9rem 0 0; font-weight: 700; }
.form-status.is-error { color: #b42318; }
.form-status.is-ok { color: var(--green); }
.form-note { font-size: .88rem; color: var(--muted); margin: .4rem 0 0; }

/* ---------- 14. Service page parts ---------- */
.intro-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--blue-400); }
.side-card { position: sticky; top: calc(var(--header-h) + 1.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.side-card__title { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--blue-900); margin-bottom: .3rem; }
.side-card__phone { display: flex; justify-content: center; align-items: center; gap: .45rem; margin-top: .9rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--blue-900); text-decoration: none; }
.included-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .75rem; }
.included-item { display: flex; gap: .7rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; font-weight: 600; color: var(--blue-900); }
.included-item .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-100); color: var(--green); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 16%; right: 16%; height: 3px; background: repeating-linear-gradient(90deg, var(--sky-300) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__num { position: relative; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; box-shadow: 0 0 0 8px #fff, var(--shadow); }
.step p { color: var(--muted); }
.faq { display: grid; gap: .75rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: #bfe0f6; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--blue-900); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--ice-100); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--blue-600); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__answer { padding: 0 1.3rem 1.1rem; color: var(--muted); }
.faq__answer p { margin: 0; }
.areas-strip { padding: 0 0 clamp(3rem, 2rem + 3vw, 4.5rem); }
.areas-strip__inner { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; background: var(--ice-50); border: 1px dashed #b9dcf3; border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); }
.areas-strip__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; }
.areas-strip__icon .icon { width: 28px; height: 28px; }
.areas-strip p { color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--blue-800); font-weight: 600; font-size: .88rem; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { background: var(--blue-800); color: #fff; border-color: var(--blue-800); }

/* before / after slider */
.ba { --pos: 50%; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; user-select: none; }
.ba__after, .ba__before { position: absolute; inset: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__img { width: 100%; height: 100%; object-fit: cover; }
.ba__label { position: absolute; top: 1rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(20,38,80,.8); color: #fff; font-weight: 700; font-size: .85rem; pointer-events: none; }
.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba__handle > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--blue-800); box-shadow: var(--shadow); }
.ba__handle .icon { width: 16px; height: 16px; }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--blue-400); outline-offset: 4px; }

/* ---------- 15. Footer ---------- */
.site-footer { position: relative; background: var(--blue-950); color: #c6d6ec; padding: 4rem 0 1.5rem; margin-top: 0; border-top: 4px solid transparent; border-image: var(--grad) 1; }
.site-footer a { color: #e3eefa; text-decoration: none; }
.site-footer a:hover { color: var(--sky-300); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.site-footer__brand img { width: 210px; height: auto; }
.site-footer__tagline { font-style: italic; color: var(--sky-300); margin: .8rem 0 1.2rem; }
.site-footer__heading { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; display: grid; gap: .4rem; }
.site-footer__quick { margin-top: 1rem; }
.nap { font-style: normal; line-height: 1.7; }
.nap strong { color: #fff; }
.social { display: flex !important; gap: .55rem !important; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .25s, transform .25s var(--ease); }
.social a:hover { background: var(--blue-600); transform: translateY(-3px); text-decoration: none; }
.site-footer__areas { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.75rem; }
.site-footer__areas p { margin-bottom: .4rem; }
.site-footer__towns { color: #8fa6c6; font-size: .92rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.5rem; padding-top: 1.25rem; font-size: .88rem; color: #8fa6c6; }
.site-footer__legal p { margin: 0; }
.mobile-cta { display: none; }

/* contact + about extras */
.contact-form h2 { margin-bottom: 1rem; }
.contact-list { list-style: none; display: grid; gap: .9rem; margin: 1rem 0 1.25rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .icon { color: var(--blue-600); margin-top: .2em; }
.contact-list a { color: var(--blue-900); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue-600); text-decoration: underline; }
.social--dark { list-style: none; }
.social--dark a { background: var(--ice-100); color: var(--blue-800); }
.social--dark a:hover { background: var(--blue-800); color: #fff; }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }
.team__card { text-align: center; align-items: center; }
.team__img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--ice-100); }
.team__card h3 { margin-top: 1rem; }

/* draft notice (remove "draft: true" from a page to hide it) */
.draft-note { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 0; padding: .55rem 1rem; background: #fff6db; color: #6b4e00; font-weight: 700; font-size: .9rem; }

/* simple pages */
.simple-page { padding: 2rem 0 5rem; text-align: center; }
.simple-page .btn-row { justify-content: center; }
.coming-soon { max-width: 640px; margin: 0 auto; background: var(--ice-50); border: 1px dashed #b9dcf3; border-radius: var(--radius); padding: 2rem; }

/* ---------- 16. Motion ---------- */
@keyframes twinkle { 0%, 100% { transform: scale(.3) rotate(0); opacity: .2; } 50% { transform: scale(1) rotate(45deg); opacity: .95; } }
@keyframes squeegee { 0% { transform: translateX(-120%) skewX(-18deg); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(320%) skewX(-18deg); opacity: 0; } }
@keyframes wipe { from { clip-path: polygon(0 0, 0 0, -20% 100%, 0 100%); } to { clip-path: polygon(0 0, 140% 0, 120% 100%, 0 100%); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  .sparkles i { animation: twinkle 3.2s ease-in-out infinite; }
  .squeegee { position: relative; }
  .squeegee::after {
    content: ""; position: absolute; top: -6%; bottom: -6%; left: 0; width: 35%; pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95) 50%, rgba(255,255,255,0));
    transform: translateX(-120%) skewX(-18deg); animation: squeegee 1.2s .35s var(--ease) forwards;
  }
  .wipe-in { animation: wipe 1.1s .15s var(--ease) both; }
  .float { animation: floaty 5s ease-in-out infinite; }
  .float--delay { animation-delay: -2.5s; }

  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .pillar.reveal.is-visible:nth-child(even) { transform: translateY(1.5rem); }

  /* sweep underline under headings */
  .sweep::after {
    content: ""; display: block; width: 120px; height: 12px; margin-top: .45rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M3 8 C 30 2, 70 2, 117 6' fill='none' stroke='%2322A9E1' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / contain;
    clip-path: inset(0 100% 0 0); transition: clip-path .9s .25s var(--ease);
  }
  .is-visible .sweep::after, .sweep.is-visible::after, .no-js .sweep::after { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .sweep::after {
    content: ""; display: block; width: 120px; height: 12px; margin-top: .45rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M3 8 C 30 2, 70 2, 117 6' fill='none' stroke='%2322A9E1' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / contain;
  }
  .green-feature__seal svg, .area-map__pulse { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
.section-head--center .sweep::after { margin-inline: auto; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-btn { display: inline-flex; }
  .site-header__actions .btn, .header-phone { display: none; }
  .site-header__actions { margin-left: auto; }
  .brand img { height: 54px; }
  .nav {
    position: fixed; inset: var(--nav-top, 110px) 0 0 0; background: #fff; padding: 1rem 1.25rem 2rem;
    overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
    margin: 0; z-index: 99;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__link { width: 100%; justify-content: space-between; padding: .9rem 1rem; font-size: 1.15rem; border-radius: 12px; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; display: none; }
  .mega.is-open { display: block; }
  .mega__inner { width: 100%; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: .5rem 0 1rem; gap: 1.25rem; }
  .mega__promo { display: none; }
  .nav__mobile-extra { display: grid; gap: .7rem; margin-top: 1.25rem; }
  .hero__grid, .page-hero__grid, .why, .area-band__grid, .quote-band__grid, .intro-grid, .section-head--split { grid-template-columns: 1fr; }
  .hero__media { max-width: 640px; margin-bottom: 1.5rem; }
  .side-card { position: static; }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { display: none; }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .card-grid--3, .card-grid--4, .why__grid, .field-row { grid-template-columns: 1fr; }
  .pillar:nth-child(even), .js .pillar.reveal.is-visible:nth-child(even) { transform: none; }
  .hero__badge:first-of-type { left: .5rem; bottom: -1.25rem; }
  .hero__badge--green { right: .5rem; top: -1rem; }
  .hero__badge { padding: .6rem .8rem; }
  .hero__badge-num { font-size: 1.6rem; }
  .green-feature__inner { grid-template-columns: 1fr; text-align: left; }
  .green-feature__seal { width: 90px; }
  .areas-strip__inner { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .topbar a[href^="mailto"] { display: none; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: var(--blue-950); box-shadow: 0 -8px 24px rgba(0,0,0,.18);
  }
  .mobile-cta .btn { padding: .75rem 1rem; }
  .mobile-cta .btn--primary { --bg: var(--blue-400); --bd: var(--blue-400); --fg: #0b1c3d; }
  body { padding-bottom: 72px; }
}

/* ==========================================================================
   18. Blog
   ========================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; overflow: hidden; }
.post-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; align-items: flex-start; }
.post-card__title { font-size: 1.15rem; margin: 0; }
.post-card__title a { color: var(--blue-900); text-decoration: none; }
.post-card__title a:hover { color: var(--blue-600); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card .cat-chip { position: relative; z-index: 1; }
.post-card__desc { color: var(--muted); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { margin: auto 0 0; padding-top: .4rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.post-card.is-hidden { display: none; }
.cat-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .75rem; border-radius: 999px; background: var(--ice-100); color: var(--blue-800); font-size: .8rem; font-weight: 700; text-decoration: none; letter-spacing: .01em; }
.cat-chip .icon { width: 1em; height: 1em; color: var(--blue-600); }
.cat-chip:hover { background: var(--blue-800); color: #fff; }
.cat-chip:hover .icon { color: #fff; }

.blog-tools { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.blog-search { position: relative; flex: 1 1 340px; max-width: 520px; }
.blog-search .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--blue-600); }
.blog-search input { width: 100%; font: inherit; padding: .85rem 1rem .85rem 2.8rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--ice-50); transition: border-color .2s, box-shadow .2s, background .2s; }
.blog-search input:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(34,169,225,.18); }
.blog-sort { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--blue-900); }
.blog-sort select { font: inherit; padding: .65rem 2.2rem .65rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--blue-900); }
.cat-filter { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.cat-filter__btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--blue-900); font-weight: 700; font-size: .92rem; text-decoration: none; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.cat-filter__btn span { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .35em; border-radius: 999px; background: var(--ice-100); color: var(--blue-800); font-size: .78rem; }
.cat-filter__btn:hover { border-color: var(--blue-600); color: var(--blue-800); transform: translateY(-2px); }
.cat-filter__btn[aria-pressed="true"] { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.cat-filter__btn[aria-pressed="true"] span { background: rgba(255,255,255,.2); color: #fff; }
.blog-count { color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 1.25rem; }
.blog-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.blog-more { text-align: center; margin-top: 2.5rem; }
.post-grid.is-filtering .post-card { animation: cardIn .45s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.cat-service { display: flex; gap: 1.1rem; align-items: center; background: var(--ice-50); border: 1px dashed #b9dcf3; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.cat-service__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; flex: none; }
.cat-service__title { font-family: var(--font-head); font-weight: 600; color: var(--blue-900); margin: 0 0 .2rem; font-size: 1.1rem; }
.cat-service p:last-child { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.cat-service a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; }

/* post page */
.post-hero { position: relative; overflow: hidden; padding: 1.5rem 0 0; background: linear-gradient(180deg, #fff 0%, var(--ice-50) 100%); }
.post-hero__inner { position: relative; z-index: 1; text-align: center; padding-bottom: 2rem; }
.post-hero__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin: 1rem auto .8rem; max-width: 22ch; }
.post-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; color: var(--muted); font-weight: 600; font-size: .95rem; margin: 0; }
.post-hero__media { position: relative; z-index: 1; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: -4rem; }
.post-hero__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { padding-top: 6rem; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; max-width: 1080px; }
.post-article { font-size: 1.08rem; max-width: 70ch; }
.post-article h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.post-article blockquote { margin: 1.5em 0; padding: 1rem 1.25rem; border-left: 4px solid var(--blue-400); background: var(--ice-50); border-radius: 0 12px 12px 0; }
.post-article img { border-radius: 14px; }
.post-side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.toc { background: var(--ice-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.toc__title { font-family: var(--font-head); font-weight: 600; color: var(--blue-900); margin-bottom: .5rem; }
.toc ol { list-style: none; display: grid; gap: .4rem; font-size: .93rem; }
.toc a { color: var(--muted); text-decoration: none; display: block; padding-left: .75rem; border-left: 2px solid var(--line); }
.toc a:hover, .toc a.is-active { color: var(--blue-800); border-color: var(--blue-400); }
.post-cta { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--grad-deep); color: #dcecfb; }
.post-cta a:not(.btn) { color: #fff; }
.post-cta p { margin-bottom: .75rem; }
.post-cta__title { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: .35rem !important; }
.post-cta__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.15); color: #fff; flex: none; }
.post-cta .btn--primary { --bg: #fff; --fg: var(--blue-800); --bd: #fff; }
.needs-text { background: #fff6db; color: #6b4e00; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: .98rem; }

/* ==========================================================================
   19. Service Areas page
   ========================================================================== */
.areas-hero .area-band__map { border-radius: 24px; box-shadow: var(--shadow-lg); }
.county-jump { margin-bottom: 2.5rem; text-align: center; }
.county-jump .chips { justify-content: center; }
.county-jump__title { font-family: var(--font-head); font-weight: 600; color: var(--blue-900); margin-bottom: .7rem; }
.county { scroll-margin-top: calc(var(--header-h) + 24px); padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 1.25rem; transition: box-shadow .3s, border-color .3s; }
.county:target { border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(34,169,225,.18), var(--shadow); }
.county__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.county__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; flex: none; }
.county__title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin: 0 0 .5rem; }
.county__home { display: inline-block; vertical-align: middle; margin-left: .35rem; padding: .15rem .6rem; border-radius: 999px; background: var(--green-100); color: var(--green); font-size: .75rem; font-family: var(--font-body); font-weight: 700; }
.county__towns { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.county__towns h3 { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-body); font-size: .98rem; font-weight: 700; color: var(--blue-800); margin: 0; }
.county__towns .icon { width: 1em; height: 1em; color: var(--blue-400); }
.county > p { color: var(--muted); }
.county__services-title { font-weight: 700; color: var(--blue-900) !important; margin-bottom: .5rem; font-size: .95rem; }
.owner-slot { background: #fff1b8; color: #6b4e00; padding: 0 .25rem; border-radius: 4px; font-weight: 700; }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog-tools { flex-direction: column; align-items: stretch; }
  .blog-search { max-width: none; flex-basis: auto; }
  .blog-sort select { flex: 1; }
  .cat-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; margin-inline: -1rem; padding-inline: 1rem; scrollbar-width: none; }
  .cat-filter__btn { white-space: nowrap; }
  .post-hero__media { margin-bottom: -2.5rem; border-radius: 16px; }
  .post-body { padding-top: 4rem; }
  .county { padding: 1.25rem; }
  .cat-service { flex-direction: column; align-items: flex-start; }
}
.blog-list, .page-hero--simple + .section { padding-top: clamp(2rem, 1rem + 2vw, 3rem); }
