/* AN Irrigation Co. — sleek dark-green/bronze brand palette (2026-08-14 redesign).
   Deep near-black green #03110D, dark forest green #16302B, bronze accent #A38560.
   White and black are used sparingly (card surfaces + button text) rather than as
   dominant backgrounds. Montserrat headings + Inter body. */

:root {
  /* Client palette (2026-08-14): deep near-black #03110D, dark forest green #16302B,
     bronze #A38560. Goal: sleeker, less white — bronze is the single accent color
     (replaces the old two-tone green/champagne accent), white/black are supporting
     neutrals used only where legibility requires them. */
  --navy: #16302b;      /* dark forest green — headings, dark sections, hero base */
  --navy-2: #03110d;    /* deep near-black green — dark-section gradient depth */
  --orange: #a38560;    /* bronze — accent text/icons on light */
  --orange-2: #826a4d;  /* bronze hover (darkened) */
  --gold: #a38560;      /* bronze — button fills + dark-section accents */
  --brown: #03110d;     /* deep near-black green — borders / deep ink */
  --onyx: #000000;      /* black — button text, deepest ink, used sparingly */
  --sky: #cdba9f;       /* light bronze tint — kickers/badges/focus on dark */
  --ink: #0d1712;       /* near-black green body text */
  --muted: #6a5f4f;     /* warm bronze-gray */
  --line: #ded6c8;      /* warm bronze-tinted border */
  --tint: #ece6da;      /* warm stone — light section background (minimizes white) */
  --white: #f5f1e8;     /* warm ivory — cards/surfaces (minimizes pure white) */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(3, 17, 13, 0.16);
  --shadow-sm: 0 4px 14px rgba(3, 17, 13, 0.1);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.65; background: var(--tint); font-size: 16.5px; }
img, svg, iframe { max-width: 100%; }
a { color: var(--navy-2); }

h1, h2, h3, .btn, .logo { font-family: var(--font-head); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.18; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; margin-bottom: 0.6em; }
h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 840px; }
.section { padding: 78px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); }
.section-dark h2, .section-dark p { color: var(--white); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 14px; z-index: 99; }

.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 10px;
}
.section-dark .kicker { color: var(--sky); }

/* icons */
.ic { width: 22px; height: 22px; flex: 0 0 auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-cta { background: var(--navy); color: var(--white); }
.btn-cta:hover { background: var(--navy-2); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.hero .btn-ghost, .page-head .btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: var(--white); }
.btn-light { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--navy);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-in { display: flex; align-items: center; gap: 26px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.logo b { color: var(--orange); font-weight: 800; }
.logo-ic { width: 30px; height: 30px; color: var(--orange); }
.logo-light { color: var(--white); }
.logo-img { height: 34px; width: auto; display: block; }
.f-brand .logo-img { height: 40px; }
/* dark footer: flip the black mark to white */
.logo-img-light { filter: brightness(0) invert(1); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav a { display: block; padding: 10px 13px; text-decoration: none; font-weight: 600; font-size: 0.94rem; color: var(--white); border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: rgba(255, 255, 255, 0.1); color: var(--sky); }
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: 0.7em; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; display: none !important; flex-direction: column; gap: 0;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex !important; }
/* Touch devices can't hover — JS sets data-open on tap to reveal the submenu. */
.has-sub[data-open="true"] .sub { display: flex !important; }
/* dropdown panel stays on a light surface regardless of header color, so its links stay dark */
.sub a { padding: 9px 12px; font-weight: 500; color: var(--navy); }
.sub a:hover { background: var(--tint); color: var(--orange-2); }

.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--white); text-decoration: none; font-size: 0.95rem; }
.header-phone .ic { color: var(--sky); }
.header-cta { background: var(--orange); }
.header-cta:hover { background: var(--orange-2); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform 0.22s ease, opacity 0.22s ease; }
/* Morph hamburger → X while the menu is open */
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- hero ---------------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(176, 160, 135, 0.30), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 62%, var(--brown) 100%);
  padding: 84px 0 92px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-copy h1 { color: var(--white); margin: 6px 0 18px; }
.hero-sub { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); max-width: 56ch; }
.page-head .hero-sub, .page-head h1 { color: inherit; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; }
.badge-row li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.badge-row .ic { width: 17px; height: 17px; color: var(--sky); }
.badge-dark li { color: var(--navy); }
.badge-dark .ic { color: var(--orange); }

/* estimate form card (Bluebird 5-field card) */
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 28px 26px; border-top: 5px solid var(--orange);
}
.form-kicker { font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.form-title { font-size: 1.45rem; margin: 4px 0 16px; }
/* Social-proof rating strip (additive, 2026-07-24): renders only when data.js gbpRating +
   gbpReviewCount carry REAL public Google figures — inert while the GBP is not public. */
.form-rating { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; margin: -8px 0 14px; }
.form-rating .form-stars { color: #f5b301; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.form-rating b { font-weight: 700; }
.form-card label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.form-card .form-optional { font-weight: 400; text-transform: none; letter-spacing: normal; }
.form-card input, .form-card textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 13px; font: inherit;
  border: 1.5px solid var(--line); border-radius: 9px; background: var(--white);
}
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------------- page head (interior heroes) ---------------- */
.page-head {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(176, 160, 135, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  padding: 72px 0;
}
.page-head h1 { color: var(--white); margin: 6px 0 14px; }
.page-head .hero-sub { color: rgba(255, 255, 255, 0.85); }

/* thank-you: call-now urgency block */
.ty-callnow {
  max-width: 460px; margin: 22px 0 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(176, 160, 135, 0.35);
  border-radius: var(--radius, 14px);
  padding: 20px 22px;
}
.ty-callnow-copy { color: #fff; font-weight: 600; font-size: 1.05rem; margin: 0 0 14px; }
.ty-call-btn { font-size: 1.15rem; padding: 16px 26px; box-shadow: 0 6px 20px rgba(22, 48, 43, 0.45); }
.ty-call-btn .ic { width: 22px; height: 22px; margin-right: 10px; vertical-align: -4px; }
.ty-call-btn:hover { box-shadow: 0 8px 26px rgba(22, 48, 43, 0.55); }
@media (max-width: 720px) { .ty-callnow { max-width: 100%; } }

/* breadcrumbs */
.crumbs { font-size: 0.85rem; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); }

/* ---------------- cards ---------------- */
.card-grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.svc-card, .benefit-card, .offer-card, .team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }
.svc-card .ic, .benefit-card .ic { width: 40px; height: 40px; color: var(--orange); margin-bottom: 14px; }
.svc-card h3, .benefit-card h3 { margin-bottom: 8px; }
.svc-card p, .benefit-card p, .offer-card p { font-size: 0.92rem; color: var(--muted); }
.link-more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.88rem; color: var(--orange-2); }

.offer-card { border-top: 5px solid var(--orange); text-align: left; display: flex; flex-direction: column; gap: 12px; }
.offer-card .btn { align-self: flex-start; margin-top: auto; }

.team-card { text-align: center; }
.team-photo { margin: 0 auto 14px; }

/* ---------------- why / two-col ---------------- */
.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.why-list { list-style: none; display: grid; gap: 20px; margin-top: 22px; }
.why-list li { display: flex; gap: 14px; }
.why-list .ic { color: var(--orange); margin-top: 4px; }
.why-list p { color: var(--muted); font-size: 0.94rem; }

.check-list { list-style: none; display: grid; gap: 12px; margin: 18px 0; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; }
.check-list .ic { color: var(--orange); margin-top: 3px; width: 19px; height: 19px; }
.inline-cta { margin-top: 18px; font-weight: 600; }
.inline-cta a { color: var(--orange-2); }

/* ---------------- photo & widget placeholders ---------------- */
.photo-ph, .map-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    repeating-linear-gradient(45deg, rgba(176, 160, 135, 0.14) 0 14px, rgba(176, 160, 135, 0.24) 14px 28px),
    linear-gradient(160deg, #eaf5fa, #d8ecf5);
  border: 2px dashed rgba(3, 17, 13, 0.25); border-radius: var(--radius);
  color: var(--navy-2); font-weight: 700; font-family: var(--font-head); text-align: center;
  min-height: 300px; padding: 24px;
}
.photo-ph small, .map-ph small { font-family: var(--font-body); font-weight: 500; color: var(--muted); }
.ph-ic { width: 42px; height: 42px; opacity: 0.55; }
.map-ph { min-height: 260px; }
.why-photo { min-height: 360px; }
.team-photo { min-height: 190px; width: 100%; }

.widget-ph {
  background: rgba(255, 255, 255, 0.07); border: 2px dashed rgba(176, 160, 135, 0.5);
  border-radius: var(--radius); padding: 38px 30px; text-align: center;
}
.section:not(.section-dark) .widget-ph { background: var(--white); border-color: rgba(3, 17, 13, 0.2); box-shadow: var(--shadow-sm); }
.section:not(.section-dark) .widget-ph p { color: var(--ink); }
.section:not(.section-dark) .widget-ph .muted, .widget-ph .muted { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.stars { display: inline-flex; gap: 4px; margin-bottom: 12px; }
.stars .ic { color: #f5b301; fill: #f5b301; width: 26px; height: 26px; }

/* ---------------- reviews / areas ---------------- */
.reviews .widget-ph { max-width: 760px; margin: 10px auto 0; }
.areas-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: stretch; margin-top: 10px; }
.area-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-content: start; }
.area-card {
  display: flex; align-items: center; gap: 10px; padding: 15px 17px; background: var(--white);
  border: 1px solid var(--line); border-radius: 11px; text-decoration: none; font-weight: 700;
  color: var(--navy); box-shadow: var(--shadow-sm);
}
.area-card:hover { border-color: var(--sky); color: var(--orange-2); }
.area-card .ic { color: var(--orange); }
.area-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }

/* ---------------- process steps ---------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; margin-top: 12px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step-no { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--sky); margin-bottom: 8px; }
.steps h3 { margin-bottom: 7px; }
.steps p { font-size: 0.92rem; color: var(--muted); }

/* ---------------- FAQ ---------------- */
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-head);
  font-weight: 700; color: var(--navy); position: relative; padding-right: 46px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--orange); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); }

/* ---------------- contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 20px; margin: 20px 0 26px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .ic { color: var(--orange); margin-top: 4px; }
.contact-list a { font-weight: 700; color: var(--navy); }
.contact-list p { color: var(--muted); font-size: 0.95rem; }

/* ---------------- CTA band ---------------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); padding: 54px 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { opacity: 0.92; margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn-cta { background: var(--orange); }
.cta-band .btn-cta:hover { background: var(--orange-2); }

/* ---------------- footer ---------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.8); padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.1fr; gap: 36px; padding-bottom: 46px; }
.f-col h2 { font-size: 0.95rem; color: var(--sky); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.f-col ul { list-style: none; display: grid; gap: 8px; }
.f-col a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.93rem; }
.f-col a:hover { color: var(--sky); }
.f-brand p { font-size: 0.93rem; margin-top: 12px; }
.nap { line-height: 1.8; }
.license { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 22px; font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }

/* mobile sticky call bar */
.mobile-call {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700;
  padding: 15px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 24px rgba(3, 17, 13, 0.35);
}

/* ---------------- responsive ---------------- */
@media (max-width: 1020px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .header-phone { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .why-grid, .contact-grid, .areas-grid { grid-template-columns: 1fr; gap: 36px; }
  .cols-3 { grid-template-columns: 1fr; }
  /* Explicit height (not bottom:0) so the panel fills the screen even though the
     header's backdrop-filter makes it the containing block for this fixed element. */
  .nav {
    position: fixed; top: 76px; left: 0; right: 0;
    height: calc(100vh - 76px); height: calc(100dvh - 76px);
    background: var(--white); padding: 18px 22px 32px;
    display: none; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  /* mobile nav panel is a light surface even though the header bar is dark */
  .nav a { color: var(--navy); }
  .nav a:hover { background: var(--tint); color: var(--orange-2); }
  body.nav-open .nav { display: block; }
  body.nav-open { overflow: hidden; }
  .nav ul { flex-direction: column; }
  .sub { position: static; display: flex !important; box-shadow: none; border: 0; padding-left: 16px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .mobile-call { display: flex; }
  .site-footer { padding-bottom: 76px; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
}
@media (max-width: 560px) {
  .cols-4, .footer-grid, .steps, .area-cards { grid-template-columns: 1fr; }
}

/* ---- Team / "The Crew" (Bluebird-style) ---- */
.section.team { text-align: center; }
.section.team .section-sub { color: var(--muted); max-width: 620px; margin: 6px auto 22px; }
.team-card { text-align: center; }
.team-card .team-photo { width: 100%; min-height: 200px; margin: 0 auto 12px; border-radius: var(--radius, 12px); object-fit: cover; display: block; }
.team-card h3 { margin: 0 0 2px; font-size: 1.05rem; }
.team-card .muted { color: var(--muted); font-size: .92rem; }

/* ---- Service-page price band (real onboarding prices) ---- */
.price-band {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 22px 0 4px; padding: 20px 26px;
  background: var(--tint); border: 1px solid var(--line);
  border-left: 5px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.price-band .price-label { display: block; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.price-band .price-amount { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.05; }
.price-band .price-note { flex: 1 1 240px; margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 640px){ .price-band { flex-direction: column; align-items: flex-start; } }

/* Zone-based winterization price chart */
.zone-chart-sec { background: var(--tint); }
.zone-chart-intro { max-width: 60ch; margin-bottom: 22px; }
.zone-chart { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.zone-chart th, .zone-chart td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 1rem; }
.zone-chart thead th { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); font-family: var(--font-head); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.zone-chart tbody tr:last-child td { border-bottom: 0; font-weight: 700; }
.zone-chart td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.zone-chart tbody tr:nth-child(even) { background: var(--tint); }
.zone-chart-cta { margin-top: 24px; }

/* 24/7 availability strip (homepage, below hero) */
.avail-strip { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 18px 0; border-top: 3px solid var(--gold); }
.avail-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.avail-ic { width: 42px; height: 42px; color: var(--gold); flex: 0 0 auto; }
.avail-copy { display: flex; flex-direction: column; gap: 2px; }
.avail-copy strong { font-family: var(--font-head); font-size: 1.18rem; letter-spacing: .02em; color: var(--white); }
.avail-copy span { font-size: .93rem; color: rgba(255, 255, 255, 0.85); max-width: 56ch; }
.avail-strip .btn { margin-left: auto; }
@media (max-width: 720px){ .avail-in { justify-content: center; text-align: center; } .avail-copy { align-items: center; } .avail-strip .btn { margin-left: 0; } }

/* ---- Home assurance strip (Bluebird-style insured + warranty) ---- */
.assurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.assurance-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); }
.assurance-card .ic { color: var(--orange); margin-bottom: 8px; }
.assurance-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.assurance-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
@media (max-width: 900px){ .assurance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .assurance-grid { grid-template-columns: 1fr; } }

/* ---- Real client photos ---- */
.real-photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.real-photo.why-photo { min-height: 360px; }
.real-photo.team-photo { min-height: 190px; }
@media (max-width: 720px){ .real-photo.why-photo { min-height: 240px; } }

/* ---- Hero readability on background photos ---- */
.hero-bg .kicker { color: var(--sky); }               /* was dark green -> light aqua on photo */
.hero-bg .hero-sub { color: #fff; }                    /* full white for contrast over the image */
.hero-bg h1 { text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* ---- Gallery (real client job photos) ---- */
.gallery-sec .gallery-intro { color: var(--muted); max-width: 72ch; margin: 6px 0 22px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; } /* height:auto lets aspect-ratio beat the height attr on portrait photos */
.gallery-item figcaption { padding: 10px 14px 12px; font-size: .88rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px){ .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .gallery-grid { grid-template-columns: 1fr; } }

/* ---- AI/GEO layer (2026-07-16): answer-first, byline, pull-quote, comparison, proof strip ---- */
.answer-block { background: var(--white); border-left: 4px solid var(--orange); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px 24px; margin-top: 22px; }
.answer-block p { margin: 0; font-size: 1.04rem; font-weight: 500; }
.answer-facts { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line, rgba(0,0,0,.09)); display: grid; gap: 7px; }
.answer-facts li { font-size: .96rem; font-weight: 400; color: var(--muted); }
.answer-facts strong { color: var(--navy); font-weight: 600; margin-right: 4px; }
.access-list li a { font-weight: 600; }
.access-list strong { color: var(--navy); }
.eeat-byline { font-size: .88rem; color: var(--muted); margin: 12px 0 0; padding-bottom: 4px; }
.eeat-byline .byline-updated { white-space: nowrap; font-weight: 600; color: var(--orange); }
.quote-sec { padding-top: 0; }
.pull-quote { margin: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border-left: 4px solid var(--navy); padding: 26px 30px; }
.pull-quote p { margin: 0 0 10px; font-size: 1.12rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); line-height: 1.5; }
.pull-quote cite { font-style: normal; font-size: .9rem; color: var(--muted); }
.compare-sec .table-scroll { overflow-x: auto; }
.compare-table { min-width: 560px; }
.compare-table tbody th[scope="row"] { font-weight: 600; color: var(--navy); background: inherit; width: 30%; }
.compare-table td:last-child { font-weight: inherit; color: inherit; white-space: normal; }
.compare-table tbody tr:last-child td { font-weight: inherit; }
.proof-strip { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
@media (max-width: 700px){ .proof-strip { grid-template-columns: 1fr; } }

/* ---- Visual-rhythm pass on town longform (WC 124, 2026-07-16): figures, fact card, town map ---- */
.longform-figure { margin: 26px 0; max-width: 620px; }
.fact-card { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px 28px; margin: 26px 0; }
.fact-card h3 { margin: 0 0 14px; font-size: 1.12rem; color: var(--navy); }
.fact-card .check-list { margin: 0 0 14px; gap: 9px; }
.fact-card .check-list li { font-weight: 400; }
.fact-card .check-list strong { color: var(--navy); }
.fact-card-note { margin: 0; font-size: .88rem; color: var(--muted); }
.town-map { width: 100%; min-height: 300px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-top: 22px; display: block; }

/* ---- Within-block tail rhythm (WC 124 pass 2, 2026-07-17): lifted pull-quotes break >3 paragraph runs ---- */
.pull-callout { margin: 26px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--orange); font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; line-height: 1.5; color: var(--navy); font-style: normal; }
.longform-rule { border: 0; border-top: 1px solid var(--line); max-width: 90px; margin: 28px 0; }
@media (max-width: 560px){ .pull-callout { font-size: 1.06rem; padding-left: 16px; } }
.longform-cta { display: flex; gap: 14px; align-items: center; margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 22px; }
.longform-cta .ic { flex: 0 0 auto; width: 26px; height: 26px; color: var(--orange); }
.longform-cta p { margin: 0; font-weight: 600; }
.longform-cta a { color: var(--orange-2); }

/* ---- Full-bleed photo band: proof anchor that breaks the tint/white section monotony (CE static-scroll port, 2026-07-17) ---- */
.photo-band {
  background-size: cover; background-position: center; background-attachment: fixed;
  color: var(--white); padding: 96px 0; text-align: center;
}
.photo-band-in { max-width: 840px; }
.photo-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.photo-band p { color: rgba(255, 255, 255, 0.9); max-width: 60ch; margin: 14px auto 28px; font-size: 1.05rem; }
.band-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 48px; margin: 0 auto 30px; }
.band-stat { display: flex; flex-direction: column; align-items: center; }
.band-stat b { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--white); }
.band-stat span { font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.72); margin-top: 7px; text-transform: uppercase; }
.photo-band .btn-light { background: var(--white); color: var(--navy); }
.photo-band .btn-light:hover { background: var(--tint); }
@media (max-width: 860px) {
  .photo-band { padding: 64px 0; background-attachment: scroll; }
  .band-stat b { font-size: 1.55rem; }
  .band-stats { gap: 16px 30px; }
}

/* ---- Real-number "at a glance" stat strip (design overhaul 2026-07-18) ---- */
.stat-strip { background: var(--tint); padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-cell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px 18px; text-align: center; }
.stat-cell b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--orange); letter-spacing: -0.5px; }
.stat-cell span { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) { .stat-strip-in { grid-template-columns: repeat(2, 1fr); gap: 14px; } .stat-strip { padding: 34px 0; } }
@media (max-width: 400px) { .stat-strip-in { grid-template-columns: 1fr; } }

/* ---- Editorial longform: alternating photo + text feature rows (design overhaul 2026-07-18) ---- */
.longform-editorial .wrap { max-width: 1120px; }
.lf-row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: start; margin-bottom: 58px; }
.lf-row:last-of-type { margin-bottom: 36px; }
.lf-text { min-width: 0; max-width: 62ch; }
.lf-text h2 { margin-bottom: 0.55em; }
.lf-figure { margin: 0; align-self: start; position: sticky; top: 92px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.lf-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.lf-figure figcaption { padding: 11px 16px 13px; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
/* Flip the photo to the left on odd rows (source order stays text-first for SEO). */
.lf-photo-left .lf-text { order: 2; }
.lf-photo-left .lf-figure { order: 1; }
.lf-photo-left .lf-text { margin-left: auto; }
.longform-editorial .longform-cta { max-width: 900px; }
@media (max-width: 860px) {
  .lf-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 42px; }
  .lf-text { max-width: none; }
  .lf-figure { position: static; }
  .lf-photo-left .lf-text, .lf-photo-left .lf-figure { order: 0; }
  .lf-photo-left .lf-text { margin-left: 0; }
}
