
/* ==== about-gallery.css ==== */
/* Gallery page (/about-us/gallery/): section.gallery-hero, section.gallery-section, section.gallery-next.
   Ported verbatim from the reference stylesheet (index-BgNQBA9-.css). Manrope -> var(--font-heading).
   .gallery-hero is the widget root; .gallery-section / .gallery-next sit on the Elementor containers.
   .gallery-next overrides .section padding, so the 860px (75px) and 600px (62px) reference values are
   restated here (this file loads after wssa-global.css). */

.gallery-hero { background: var(--navy); align-items: end; min-height: 600px; display: flex; position: relative; overflow: hidden; }
.gallery-hero-media { position: absolute; inset: 0; }
.gallery-hero-media:after { content: ""; background: linear-gradient(90deg, #080a07f5, #080a07c7 48%, #080a0733); position: absolute; inset: 0; }
.gallery-hero-media img { object-fit: cover; width: 100%; height: 100%; }
.gallery-hero-copy { z-index: 1; color: #fff; padding-top: 100px; padding-bottom: 90px; position: relative; }
.gallery-hero-copy .hero-display-heading, .gallery-hero-copy p { max-width: 780px; }
.gallery-hero-copy p { color: #d3d9d0; font-size: 20px; }

.gallery-section { background: linear-gradient(#f7f8f5, #fff); }
.project-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 315px; gap: 16px; display: grid; }
.project-gallery-card { background: var(--navy); border-radius: 15px; min-width: 0; position: relative; overflow: hidden; box-shadow: 0 15px 38px #0d100b1a; }
.project-gallery-card.wide { grid-column: span 2; }
.project-gallery-card img { object-fit: cover; width: 100%; height: 100%; transition: all .4s; }
.project-gallery-card:hover img { transform: scale(1.045); }
.project-gallery-shade { background: linear-gradient(#05070400 34%, #050704e0); position: absolute; inset: 0; }
.project-gallery-copy { color: #fff; position: absolute; bottom: 22px; left: 24px; right: 24px; }
.project-gallery-copy small, .project-gallery-copy strong, .project-gallery-copy i { display: block; }
.project-gallery-copy small { color: #bcd1b7; letter-spacing: .09em; text-transform: uppercase; font-size: 11px; font-weight: 800; }
.project-gallery-copy strong { margin-top: 5px; font-family: var(--font-heading); font-size: 23px; }
.project-gallery-copy i { color: #e6eee3; opacity: .85; align-items: center; gap: 7px; margin-top: 9px; font-size: 13px; font-style: normal; font-weight: 800; display: flex; }

.gallery-next { background: var(--blue-dark); color: #fff; padding: 72px 0; }
.gallery-next-grid { grid-template-columns: 1fr auto; align-items: center; gap: 60px; display: grid; }
.gallery-next h2 { margin-bottom: 10px; font-size: clamp(32px, 4vw, 48px); }
.gallery-next p { color: #c5cdc2; max-width: 700px; margin: 0; font-size: 18px; }

@media (max-width: 860px) {
  .project-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 285px; }
  .project-gallery-card.wide { grid-column: span 1; }
  .gallery-next { padding: 75px 0; }
  .gallery-next-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .gallery-hero { min-height: 530px; }
  .gallery-hero-copy { padding-top: 75px; padding-bottom: 65px; }
  .gallery-hero-copy p { font-size: 17px; }
  .project-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .gallery-next { padding: 62px 0; }
}


/* ==== about-hero.css ==== */
/* About page (/about-us/): section.about-hero and section.about-story.
   Ported verbatim from the reference stylesheet (index-BgNQBA9-.css): .about-hero, .about-hero-grid,
   .about-hero-image, .about-story, .about-story-grid, .about-values, plus .text-link scoped to the story.
   Manrope -> var(--font-heading) per the brief. The Elementor containers carry .about-hero / .about-story;
   the widget roots are .about-hero-grid / .about-story-grid. */

.about-hero { background: radial-gradient(circle at 75% 18%, #2d67246b, transparent 28%), var(--navy); color: #fff; padding: 95px 0; overflow: hidden; }
.about-hero-grid { grid-template-columns: 1.1fr .8fr; align-items: center; gap: 75px; display: grid; }
.about-hero p { color: #d0d7cd; max-width: 700px; font-size: 20px; }
.about-hero-image { border: 1px solid #ffffff2e; border-radius: 18px; min-height: 480px; position: relative; overflow: hidden; box-shadow: 0 30px 75px #0000004d; }
.about-hero-image img { object-fit: cover; width: 100%; height: 100%; min-height: 480px; }
.about-hero-image:after { content: ""; background: linear-gradient(#0000 45%, #050704bf); position: absolute; inset: 0; }
.about-hero-image > span { z-index: 1; position: absolute; bottom: 24px; left: 26px; right: 26px; }
.about-hero-image strong, .about-hero-image small { display: block; }
.about-hero-image strong { font-family: var(--font-heading); font-size: 34px; }
.about-hero-image small { color: #d4dcd1; font-size: 13px; }

/* Cut-out portrait (owners photo, transparent background, 2026-10-10): show the whole figure standing on
   the bottom of a brand-green panel instead of cropping it to cover. The caption sits under the photo. */
.about-hero-image.is-cutout { background: radial-gradient(circle at 50% 30%, #2d6724, #1d4b16 45%, #143810 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.about-hero-image.is-cutout img { object-fit: contain; object-position: center bottom; width: 100%; height: auto; min-height: 0; max-height: 400px; margin: 34px auto 0; display: block; position: relative; }
.about-hero-image.is-cutout:after { background: linear-gradient(#0000 70%, #050704d9); }
.about-hero-image.is-cutout strong { font-size: 26px; line-height: 1.2; }
/* Portrait on white (owners photo v2, 2026-10-10): white card, photo full width from the top edge (no empty
   space above the heads), solid brand-green caption bar under it; the card sticks while the hero text
   scrolls on desktop. */
.about-hero-image.is-portrait { background: #fff; min-height: 0; display: flex; flex-direction: column; align-self: start; }
.about-hero-image.is-portrait img { object-fit: cover; object-position: center top; width: 100%; height: auto; min-height: 0; display: block; }
.about-hero-image.is-portrait:after { display: none; }
.about-hero-image.is-portrait > span { position: static; background: var(--green); padding: 18px 24px 20px; }
.about-hero-image.is-portrait strong { font-size: 24px; line-height: 1.2; color: #fff; }
.about-hero-image.is-portrait small { color: #dbe7d8; font-size: 14px; margin-top: 4px; }
/* overflow: hidden on .about-hero made it the sticky element's scroll container (card pushed 110px down and
   never stuck); clip keeps the same clipping without creating a scroll container. */
.about-hero:has(.is-portrait) { overflow: clip; }
@media (min-width: 861px) {
  .about-hero-grid:has(.is-portrait) { align-items: start; }
  .about-hero-image.is-portrait { position: sticky; top: 110px; }
}
@media (max-width: 860px) {
  /* Let the card take the photo's height so heads are never clipped on narrow screens. */
  .about-hero-image.is-cutout { min-height: 0; }
  .about-hero-image.is-cutout img { min-height: 0; margin-top: 24px; }
}

.about-story { background: linear-gradient(#f6f8f4, #fff); }
.about-story-grid { grid-template-columns: .8fr 1.2fr; align-items: start; gap: 80px; display: grid; }
.about-story-grid > div:first-child > p { font-size: 18px; }
.about-story .text-link { color: var(--blue); align-items: center; gap: 8px; font-weight: 800; display: inline-flex; }
.about-values { grid-template-columns: 1fr 1fr; gap: 15px; display: grid; }
.about-values article { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 12px 30px #0d100b0f; }
.about-values svg { width: 29px; height: 29px; color: var(--green); margin-bottom: 20px; }
.about-values h3 { font-size: 19px; }
.about-values p { margin: 0; font-size: 14px; }

@media (max-width: 1120px) {
  .about-hero-grid { gap: 40px; }
  .about-story-grid { gap: 45px; }
}
@media (max-width: 860px) {
  .about-hero-grid, .about-story-grid { grid-template-columns: 1fr; }
  .about-hero-image, .about-hero-image img { min-height: 390px; }
}
@media (max-width: 600px) {
  .about-hero { padding: 75px 0; }
  .about-hero p { font-size: 17px; }
  .about-hero-image, .about-hero-image img { min-height: 320px; }
  .about-values { grid-template-columns: 1fr; }
}


/* ==== about-team.css ==== */
/* Team page (/about-us/team/): section.team-hero, section.team-section, section.team-accountability.
   Ported verbatim from the reference stylesheet (index-BgNQBA9-.css). Manrope -> var(--font-heading).
   .check-list base rules come from css/home-07-difference.css (auto-enqueued on every page). */

.team-hero { color: #fff; background: radial-gradient(circle at 78% 25%, #2d67248c, transparent 34%), var(--navy); padding: 105px 0; }
.team-hero-grid { grid-template-columns: 1.25fr .55fr; align-items: end; gap: 75px; display: grid; }
.team-hero .hero-display-heading { max-width: 780px; }
.team-hero p { color: #d0d6cd; max-width: 720px; font-size: 20px; }
.team-hero-note { background: #ffffff12; border: 1px solid #ffffff29; border-radius: 15px; padding: 28px; }
.team-hero-note svg { color: #a9c8a2; width: 34px; height: 34px; margin-bottom: 18px; }
.team-hero-note strong, .team-hero-note span { display: block; }
.team-hero-note strong { font-family: var(--font-heading); font-size: 20px; }
.team-hero-note span { color: #bcc4b9; margin-top: 7px; font-size: 14px; }

.team-section { background: linear-gradient(#f6f8f4, #fff); }
.team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; display: grid; }
.team-card { border: 1px solid var(--line); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 30px #0d100b12; }
.team-card > div { aspect-ratio: .82; background: #e7ebe5; overflow: hidden; }
.team-card img { object-fit: cover; object-position: center top; width: 100%; height: 100%; transition: all .35s; }
.team-card:hover img { transform: scale(1.035); }
.team-card > span { color: var(--blue); letter-spacing: .07em; text-transform: uppercase; margin: 18px 18px 4px; font-size: 11px; font-weight: 800; display: block; }
.team-card h3 { margin: 0 18px 20px; font-size: 19px; }

.team-accountability { background: var(--blue-dark); color: #fff; }
.team-accountability-grid { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 80px; display: grid; }
.team-accountability-grid p { color: #c5ccc2; font-size: 18px; }
.team-accountability .check-list { margin-bottom: 0; }

@media (max-width: 1120px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .team-hero-grid, .team-accountability-grid { grid-template-columns: 1fr; gap: 35px; }
}
/* Owners photo in the hero (Jay 2026-10-11): white card + green name bar, matching the About page portrait. */
.team-hero-grid:has(.team-hero-side.has-photo) { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px; }
.team-hero-side.has-photo { display: grid; gap: 16px; }
.team-hero-photo { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.team-hero-photo img { display: block; width: 100%; height: auto; }
.team-hero-photo figcaption { background: var(--blue); color: #fff; padding: 12px 18px; text-align: center; }
.team-hero-photo figcaption strong { display: block; font-size: 17px; }
.team-hero-photo figcaption span { display: block; font-size: 13px; color: #d6e6d1; margin-top: 2px; }
.team-hero-side.has-photo .team-hero-note { padding: 18px 22px; }
.team-hero-side.has-photo .team-hero-note svg { width: 26px; height: 26px; margin-bottom: 10px; }
@media (max-width: 860px) {
  .team-hero-grid:has(.team-hero-side.has-photo) { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 600px) {
  .team-hero { padding: 75px 0; }
  .team-hero p { font-size: 17px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .team-card > span { margin: 14px 13px 3px; font-size: 10px; }
  .team-card h3 { margin: 0 13px 16px; font-size: 16px; }
}


/* ==== areas-content.css ==== */
/* City pages (/service-areas/<city>/): the .geo-page-context block inside section.detail-content.
   Ported verbatim from the reference stylesheet (index-BgNQBA9-.css). .content-grid and .benefit-grid
   come from css/detail-content.css (shared). Manrope -> var(--font-heading). */

.geo-page-context { border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 12px 12px 0; grid-template-columns: auto 1fr; gap: 16px; margin-top: 28px; padding: 22px; display: grid; }
.geo-page-context > svg { color: var(--blue); }
.geo-page-context strong { margin-bottom: 5px; font-family: var(--font-heading); font-size: 18px; display: block; }
.geo-page-context p { margin: 0 0 10px; font-size: 14px; }
.geo-page-context .text-link { color: var(--blue); align-items: center; gap: 8px; font-weight: 800; display: inline-flex; }

/* County pages (2026-10-08): links to our community pages inside the county. */
.geo-places { margin-top: 18px; }
.geo-places strong { display: block; margin-bottom: 10px; font-family: var(--font-heading); font-size: 16px; }
.geo-places ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.geo-places a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none;
  transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}
.geo-places a svg { color: var(--blue); transition: transform 220ms ease; }
.geo-places a:hover { border-color: #9bb294; background: var(--blue-soft); }
.geo-places a:hover svg { transform: translateX(3px); }
.geo-places a:focus-visible { outline: 3px solid #9bb294; outline-offset: 2px; }


/* ==== areas-directory.css ==== */
/* Service-area directory (/service-areas/): section.detail-hero.service-area-hero and
   section.section.geo-directory-section. Ported verbatim from the reference stylesheet
   (index-BgNQBA9-.css). The base .detail-hero / .detail-media rules are in css/detail-hero.css
   (shared, auto-enqueued); only the directory-specific rules live here. Manrope -> var(--font-heading). */

.service-area-hero { min-height: 620px; }
.service-area-hero-copy { z-index: 2; padding-top: 105px; padding-bottom: 105px; position: relative; }
.service-area-hero-copy .hero-display-heading { max-width: 920px; }
.service-area-hero-copy > p { color: #d9dfd6; max-width: 720px; font-size: 20px; }

.geo-directory-section { background: var(--light); }
.geo-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; display: grid; }
/* Counties group (2026-10-08) under the communities. */
.geo-directory-subhead { margin: 56px 0 22px; font-size: clamp(24px, 2.6vw, 32px); }
.geo-directory-card { background: #fff; border: 1px solid #ced8ca; border-radius: 14px; flex-direction: column; min-width: 0; padding: 25px; transition: all .2s; display: flex; }
.geo-directory-card:hover { box-shadow: var(--shadow); border-color: #9bb294; transform: translateY(-4px); }
.geo-card-heading { align-items: center; gap: 12px; margin-bottom: 16px; display: flex; }
.geo-card-heading > svg { width: 25px; height: 25px; color: var(--blue); flex: none; }
.geo-card-heading > span { flex-direction: column; min-width: 0; display: flex; }
.geo-card-heading small { color: var(--muted); letter-spacing: .07em; text-transform: uppercase; font-size: 11px; font-weight: 800; line-height: 1.35; }
.geo-card-heading strong { color: var(--ink); font-family: var(--font-heading); font-size: 20px; line-height: 1.25; }
.geo-directory-card p { flex: 1; margin-bottom: 18px; font-size: 14px; line-height: 1.55; }
.geo-directory-card .text-link { color: var(--blue); align-items: center; gap: 8px; font-weight: 800; display: inline-flex; font-size: 14px; }
.geo-directory-card { border-color: var(--line); }

@media (max-width: 860px) {
  .geo-directory-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .geo-directory-grid { grid-template-columns: 1fr; }
  .geo-directory-card { padding: 22px; }
  .service-area-hero { min-height: 650px; }
  .service-area-hero-copy { padding-top: 75px; padding-bottom: 75px; }
}


/* ==== blog.css ==== */
/* WSSA blog (2026-10-08): single post template (single.php) and the article grid (wssa_blog_grid,
   related posts). Brand tokens from wssa-global.css. Breakpoints follow the reference 1120/860/600. */

/* ---------- Hero ---------- */
.wssa-post-hero { color: #fff; background: radial-gradient(circle at 85% 0%, #1d4b16 0, transparent 55%), var(--navy); padding: 64px 0 112px; }
.wssa-post-crumbs { color: #b9c4b5; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font-size: 14px; font-weight: 700; display: flex; }
.wssa-post-crumbs a { color: #d8e6d4; }
.wssa-post-crumbs a:hover { color: #fff; text-decoration: underline; }
.wssa-post-hero .wssa-post-title { color: #fff; letter-spacing: -.035em; max-width: 900px; margin: 0 0 22px; font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1.12; }
.wssa-post-meta { color: #d9dfd6; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; font-size: 15px; display: flex; }
.wssa-post-meta-item { align-items: center; gap: 7px; display: inline-flex; }
.wssa-post-meta-item svg { width: 16px; height: 16px; }
.wssa-post-meta-sep { background: #6d7769; border-radius: 50%; width: 4px; height: 4px; }

/* ---------- Article column ---------- */
.wssa-post-wrap { width: min(920px, 100% - 40px); margin-inline: auto; padding-bottom: 90px; }
.wssa-post-figure { border-radius: var(--radius); box-shadow: var(--shadow); background: var(--light); aspect-ratio: 16 / 9; margin: -72px 0 48px; overflow: hidden; }
.wssa-post-figure img { object-fit: cover; width: 100%; height: 100%; display: block; }
.wssa-post--no-figure .wssa-post-hero { padding-bottom: 64px; }
.wssa-post-wrap > .wssa-post-body:first-child { padding-top: 56px; }

.wssa-post-body { color: var(--text); max-width: 720px; margin-inline: auto; font-size: 18px; line-height: 1.75; }
.wssa-post-body p, .wssa-post-body li { color: var(--text); }
.wssa-post-body p { margin: 0 0 1.25em; }
.wssa-post-body h2, .wssa-post-body h3, .wssa-post-body h4 { color: var(--ink); letter-spacing: -.02em; line-height: 1.25; }
.wssa-post-body h2 { margin: 1.8em 0 .6em; font-size: 30px; }
.wssa-post-body h3 { margin: 1.6em 0 .55em; font-size: 24px; }
.wssa-post-body h4 { margin: 1.4em 0 .5em; font-size: 20px; }
.wssa-post-body > :first-child { margin-top: 0; }
.wssa-post-body ul, .wssa-post-body ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.wssa-post-body li { margin-bottom: .5em; }
.wssa-post-body li::marker { color: var(--green); }
.wssa-post-body a { color: var(--green); text-underline-offset: 3px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; }
.wssa-post-body a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
.wssa-post-body blockquote { border-left: 4px solid var(--green); background: var(--pale); border-radius: 0 12px 12px 0; margin: 1.6em 0; padding: 18px 24px; }
.wssa-post-body img { max-width: 100%; height: auto; }
.wssa-post-body img.wssa-inline-icon { vertical-align: middle; margin: 0 4px; display: inline-block; }
.wssa-post-body figure { margin: 1.8em 0; }
.wssa-post-body .wssa-embed { background: var(--navy); border-radius: 14px; aspect-ratio: 16 / 9; overflow: hidden; }
.wssa-post-body .wssa-embed iframe { border: 0; width: 100%; height: 100%; display: block; }
.wssa-post-body strong { color: var(--ink); }

/* ---------- CTA panel ---------- */
.wssa-post-cta { color: #fff; border-radius: var(--radius); background: radial-gradient(circle at 100% 0%, #2d6724 0, transparent 60%), var(--green); max-width: 920px; margin: 64px auto 0; padding: 48px 52px; }
.wssa-post-cta .eyebrow { margin-bottom: 12px; }
.wssa-post-cta h2 { color: #fff; letter-spacing: -.035em; margin: 0 0 14px; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
.wssa-post-cta p { color: #dfe9dc; max-width: 620px; margin: 0; font-size: 17px; }
.wssa-post-cta-actions { flex-wrap: wrap; gap: 13px; margin-top: 28px; display: flex; }
.wssa-post-cta .wssa-post-cta-quote { color: var(--green-dark); background: #fff; box-shadow: 0 10px 24px #0000002e; }
.wssa-post-cta .wssa-post-cta-quote:hover { background: #eef3ec; }
.wssa-post-cta .btn svg { width: 18px; height: 18px; }

.wssa-post-back { max-width: 720px; margin: 36px auto 0; }
.wssa-post-back .text-link, .blog-card .text-link, .blog-empty .text-link { color: var(--blue); align-items: center; gap: 8px; font-weight: 800; display: inline-flex; }
.wssa-post-back svg { width: 16px; height: 16px; }

/* ---------- Related + listing grid ---------- */
.wssa-post-related { background: var(--light); }
.blog-section { background: var(--light); }
.blog-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; display: grid; }
.blog-card { border: 1px solid var(--line); background: #fff; border-radius: 15px; flex-direction: column; transition: all .2s; display: flex; position: relative; overflow: hidden; }
.blog-card:hover { box-shadow: var(--shadow); border-color: #9bb294; transform: translateY(-5px); }
.blog-card-media { background: var(--pale); aspect-ratio: 16 / 10; display: block; overflow: hidden; }
.blog-card-media img { object-fit: cover; width: 100%; height: 100%; transition: transform .4s; display: block; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { flex-direction: column; flex: 1; padding: 24px 26px 26px; display: flex; }
.blog-card-meta { color: var(--muted); margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.blog-card-title { letter-spacing: -.02em; margin: 0 0 10px; font-size: 21px; line-height: 1.25; }
.blog-card-title a { color: var(--ink); }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; }
.blog-card-excerpt { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.blog-card .text-link { margin-top: auto; font-size: 15px; }
.blog-card .text-link svg { width: 16px; height: 16px; }

.blog-pagination { margin-top: 44px; }
.blog-pagination ul { flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; display: flex; }
.blog-pagination a, .blog-pagination span { border: 1px solid var(--line); color: var(--ink); background: #fff; border-radius: 8px; justify-content: center; align-items: center; min-width: 44px; height: 44px; padding: 0 14px; font-weight: 800; display: inline-flex; }
.blog-pagination a:hover { border-color: var(--green); color: var(--green); }
.blog-pagination .is-current { background: var(--green); border-color: var(--green); color: #fff; }
.blog-empty { text-align: center; }
#articles { scroll-margin-top: calc(var(--header-h) + 16px); }

@media (max-width: 1120px) {
  .blog-grid { gap: 18px; }
  .blog-card-body { padding: 22px; }
}
@media (max-width: 860px) {
  .wssa-post-hero { padding: 48px 0 96px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .wssa-post-cta { padding: 40px 32px; }
}
@media (max-width: 600px) {
  .wssa-post-hero { padding: 36px 0 76px; }
  .wssa-post--no-figure .wssa-post-hero { padding-bottom: 44px; }
  .wssa-post-wrap > .wssa-post-body:first-child { padding-top: 36px; }
  .wssa-post-meta { gap: 6px 18px; font-size: 14px; }
  .wssa-post-meta-sep { display: none; }
  .wssa-post-wrap { width: calc(100% - 28px); padding-bottom: 62px; }
  .wssa-post-figure { border-radius: 14px; margin: -52px 0 34px; }
  .wssa-post-body { font-size: 17px; line-height: 1.7; }
  .wssa-post-body h2 { font-size: 26px; }
  .wssa-post-body h3 { font-size: 22px; }
  .wssa-post-body h4 { font-size: 19px; }
  .wssa-post-cta { border-radius: 14px; margin-top: 48px; padding: 32px 22px; }
  .wssa-post-cta-actions { display: grid; }
  .wssa-post-cta-actions .btn { width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-pagination a, .blog-pagination span { min-width: 40px; height: 40px; padding: 0 12px; }
}


/* ==== contact-map.css ==== */
/* Contact page map (Jay 2026-10-08): office card + Google Business Profile map. */
.contact-map-section { background: #f5f6f3; }
.contact-map { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 28px; align-items: stretch; }
.contact-map-card { background: #fff; border: 1px solid #dde2da; border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.contact-map-card h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); }
.contact-map-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-map-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: #181a16; font-size: 16px; line-height: 1.5; }
.contact-map-list svg { color: #1d4b16; margin-top: 2px; }
.contact-map-list a { color: #1d4b16; font-weight: 700; text-decoration: none; }
.contact-map-list a:hover { text-decoration: underline; }
.contact-map-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 10px; }
.contact-map-frame { border-radius: 18px; overflow: hidden; min-height: 420px; background: #dde3da; box-shadow: 0 18px 50px rgba(13,16,11,.13); }
.contact-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 860px) {
  .contact-map { grid-template-columns: 1fr; }
  .contact-map-card { padding: 26px 22px; }
  .contact-map-frame, .contact-map-frame iframe { min-height: 340px; }
}


/* ==== detail-content.css ==== */
/* Detail content section (section.section.detail-content on every inner detail page).
   Ported verbatim from the reference stylesheet (index-BgNQBA9-.css): .content-grid, .benefit-grid.
   .quote-form (non-compact card), .form-kicker and .form-trust are already in wssa-global.css. */

.content-grid { grid-template-columns: 1.2fr .8fr; align-items: start; gap: 70px; display: grid; }
.content-grid > div:first-child > p { font-size: 18px; }

.benefit-grid { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 35px; display: grid; }
.benefit-grid > div { background: var(--light); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.benefit-grid svg { color: var(--green-dark); margin-bottom: 12px; }
.benefit-grid h3 { font-size: 18px; margin-bottom: 10px; } /* reference base h3 margin is 10px; wssa-global.css h3 is 18px */
.benefit-grid p { margin-bottom: 0; font-size: 14px; }

@media (max-width: 860px) {
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .benefit-grid { grid-template-columns: 1fr; }
}


/* ==== detail-hero.css ==== */
/* Detail hero (every inner detail page).
   Ported verbatim from the reference stylesheet (index-BgNQBA9-.css): .detail-hero, .detail-media,
   .detail-hero-grid, .detail-proof, plus the shared .hero-seo-heading / .hero-display-heading /
   .hero-actions rules scoped to .detail-hero so this file does not depend on home-01-hero.css.
   Manrope -> var(--font-heading) (DM Sans) per the brief. The display heading color is set
   explicitly because the global h1-h6 rule is dark; the reference inherits white from .detail-hero. */

.detail-hero { color: #fff; background: var(--navy); align-items: center; min-height: 590px; display: flex; position: relative; overflow: hidden; }
.detail-media { position: absolute; inset: 0; }
.detail-media:after { content: ""; background: linear-gradient(90deg, #050804fa, #070b06d6 58%, #080c0766); position: absolute; inset: 0; left: 0; }
.detail-media img { object-fit: cover; width: 100%; height: 100%; display: block; }

.detail-hero-grid { grid-template-columns: 1fr .55fr; align-items: end; gap: 70px; padding-top: 90px; padding-bottom: 90px; display: grid; position: relative; }

.detail-hero .hero-seo-heading { letter-spacing: .12em; font-family: var(--font-body); line-height: 1.6; margin-top: 0; }
.detail-hero .hero-display-heading { color: #fff; max-width: 800px; margin-bottom: 24px; font-size: clamp(42px, 5vw, 72px); }
.detail-hero p { color: #d9dfd6; max-width: 720px; font-size: 20px; }
.detail-hero .hero-actions { flex-wrap: wrap; gap: 13px; margin-top: 31px; display: flex; }

.detail-proof { border-left: 1px solid #ffffff40; gap: 15px; padding-left: 35px; display: grid; }
.detail-proof span { align-items: center; gap: 11px; font-weight: 700; display: flex; }
.detail-proof svg { color: var(--green); flex-shrink: 0; }

/* show_form variant: the global quote form in the right column (same card as the modal) */
.detail-hero .quote-form { color: var(--ink); }
.detail-hero .quote-form p { color: var(--muted); max-width: none; font-size: 16px; }
.detail-hero .quote-form h2 { color: var(--ink); }

/* Hero form (Jay 2026-10-09): desktop (> 1024px) the form fills the right column and the proof points
   sit in the left column under the buttons; <= 1024px the form hides and the proof stays under the buttons. */
.detail-hero-side { display: grid; align-self: center; min-width: 0; }
.hero-form-desktop { padding: 24px 24px 20px; border-radius: 16px; }
.hero-form-desktop h2 { margin: 2px 0 14px; font-size: 24px; line-height: 1.2; }
.hero-proof-left { border-left: 0; padding-left: 0; margin-top: 30px; grid-template-columns: 1fr 1fr; gap: 12px 24px; max-width: 640px; }
.hero-proof-left span { font-size: 15px; align-items: flex-start; }
.hero-proof-left svg { width: 22px; height: 22px; margin-top: 1px; }
@media (min-width: 1025px) {
  .detail-hero-grid:has(.has-hero-form) { grid-template-columns: 1fr minmax(380px, 440px); gap: 56px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
}
@media (max-width: 1024px) {
  .detail-hero-side.has-hero-form { display: none; }
  .detail-hero-grid:has(.has-hero-form) { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-proof-left { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .detail-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .detail-proof { border-left: 0; grid-template-columns: 1fr 1fr; padding-left: 0; }
}

@media (max-width: 600px) {
  .detail-hero { min-height: 630px; }
  .detail-hero-grid { padding-top: 70px; padding-bottom: 70px; }
  .detail-hero .hero-display-heading { font-size: 41px; }
  .detail-hero .hero-actions { display: grid; }
  .detail-hero .hero-actions .btn { width: 100%; }
  .detail-proof { grid-template-columns: 1fr; }
}


/* ==== form-sms-consent.css ==== */
/* Quote form SMS consent checkbox (Jay 2026-10-09): optional, unticked by default. Small print styling;
   the field label is for submissions / the webhook only, the visible text is the acceptance text. */
.elementor-field-group-sms_consent > .elementor-field-label { display: none; }
.elementor-field-group-sms_consent .elementor-field-subgroup { display: block; }
.elementor-field-group-sms_consent .elementor-field-option { display: flex; align-items: flex-start; gap: 10px; }
.elementor-field-group-sms_consent input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #1d4b16; cursor: pointer; }
.elementor-field-group-sms_consent .elementor-field-option label { margin: 0; font-size: 12px; font-weight: 400; line-height: 1.5; color: #62675f; text-transform: none; letter-spacing: 0; cursor: pointer; }
.elementor-field-group-sms_consent .elementor-field-option label strong { color: #181a16; font-weight: 700; }
.elementor-field-group-sms_consent .elementor-field-option label a { color: #1d4b16; text-decoration: underline; text-underline-offset: 2px; }
/* On the dark final-CTA and modal panels the form card is white, so the same colours apply. */


/* ==== home-01-hero.css ==== */
/* Homepage section 01 - Hero.
   Ported verbatim from the reference stylesheet (index-BgNQBA9-.css): .hero, .hero-media,
   .hero-shade, .hero-grid, .hero-copy, .hero-seo-heading, .hero-display-heading, .hero-lead,
   .hero-actions, .hero-proof, .stars, .proof-rule, .hero-form-wrap.
   Manrope -> var(--font-heading) (DM Sans) per the brief. Headline color is set explicitly
   because the global h1-h6 rule is dark; the reference inherits white from .hero-copy. */

.hero { background: var(--navy); align-items: stretch; min-height: 680px; display: flex; position: relative; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { object-fit: cover; object-position: center; width: 100%; height: 100%; display: block; }
.hero-shade { background: linear-gradient(90deg, #050704fa 0%, #0a0e08ed 43%, #0b0f0994 72%, #0b0f0959 100%); }
.hero-grid { z-index: 2; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; padding-top: 70px; padding-bottom: 70px; display: grid; position: relative; }
.hero-copy { color: #fff; max-width: 700px; }

.hero-seo-heading { letter-spacing: .12em; font-family: var(--font-body); line-height: 1.6; margin-top: 0; }
.hero-display-heading { margin-bottom: 24px; font-size: clamp(42px, 5vw, 72px); }
.hero-copy .hero-display-heading { color: #fff; max-width: 760px; font-size: clamp(48px, 5.5vw, 76px); }
.hero-lead { color: #d9ddd6; max-width: 650px; font-size: 20px; line-height: 1.55; }

.hero-actions { flex-wrap: wrap; gap: 13px; margin-top: 31px; display: flex; }

.hero-proof { color: #fff; align-items: center; gap: 28px; margin-top: 38px; display: flex; }
.hero-proof > div { flex-direction: column; display: flex; }
.hero-proof strong { font-family: var(--font-heading); font-size: 18px; }
.hero-proof span { color: #c2c9bf; font-size: 14px; }
.hero-proof > div:last-child strong { font-size: 28px; line-height: 1.1; }
.hero .stars { color: #ffbf3f; letter-spacing: 2px; font-size: 18px; }
.proof-rule { background: #ffffff40; width: 1px; height: 52px; }

.hero-form-wrap { border-radius: var(--radius); background: #fffffff7; padding: 28px; box-shadow: 0 28px 80px #0000003b; }
.hero-form-wrap:before { content: "GET YOUR FREE HOME ASSESSMENT"; color: var(--navy); margin-bottom: 15px; font-family: var(--font-heading); font-size: 18px; font-weight: 800; display: block; }

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1.1fr .8fr; gap: 35px; }
}

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero-shade { background: linear-gradient(#060905f0, #070a06e8); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 60px; }
  .hero-copy { max-width: 760px; }
  .hero-form-wrap { display: none; }
}

@media (max-width: 600px) {
  .hero-display-heading { font-size: 41px; }
  .hero-grid { padding-top: 56px; padding-bottom: 55px; }
  .hero-copy .hero-display-heading { font-size: 43px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { gap: 16px; }
  .hero-proof span { font-size: 12px; }
}


/* ==== home-02-trust-bar.css ==== */
/* Homepage section 02 - Trust bar.
   Ported verbatim from the reference stylesheet (index-BgNQBA9-.css): .trust-bar, .trust-grid, .trust-item.
   Manrope -> var(--font-heading) per the brief. */

/* The Elementor container is a flex column by default. As a flex item the trust bar is sized
   from a provisional width where items wrap, reserving 55px of empty space at 375px. A plain
   block container lays it out once at its real width, like the reference. (Specificity 0,2,0
   beats Elementor's .e-con { display: var(--display) }.) */
.e-con.home-trust-bar-wrap { display: block; }
.trust-bar { border-bottom: 1px solid var(--line); background: #fff; padding: 24px 0; box-shadow: 0 8px 28px #0d100b0d; }
.trust-grid { grid-template-columns: repeat(4, 1fr); display: grid; }
.trust-item { border-right: 1px solid var(--line); align-items: center; gap: 13px; padding: 5px 24px; display: flex; }
.trust-item:last-child { border-right: 0; }
.trust-item > svg { color: var(--green-dark); flex: none; width: 28px; height: 28px; }
.trust-item span { flex-direction: column; line-height: 1.3; display: flex; }
.trust-item strong { font-family: var(--font-heading); font-size: 14px; }
.trust-item small { color: var(--muted); font-size: 12px; }

/* Hover tint per cell (Jay 2026-10-08, Morpheus8 pattern): each item fills the bar's height so the
   whole cell tints. Same resting size as before (24px bar padding + 5px item padding = 29px). */
@media (min-width: 861px) {
  .trust-bar { padding: 0; }
  .trust-item { padding: 29px 24px; transition: background-color 220ms cubic-bezier(.2,.65,.3,1); }
  .trust-item > svg { transition: transform 220ms cubic-bezier(.2,.65,.3,1); }
  .trust-item:hover { background: #eef3ec; }
  .trust-item:hover > svg { transform: scale(1.08); }
}
@media (min-width: 861px) and (prefers-reduced-motion: reduce) {
  .trust-item, .trust-item > svg { transition: none; }
  .trust-item:hover > svg { transform: none; }
}

@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .trust-item:nth-child(2) { border-right: 0; }
}

@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 7px 3px 14px; }
  .trust-item:last-child { border-bottom: 0; }
}


/* ==== home-03-review-snapshot.css ==== */
/* Homepage section 03 - Review snapshot.
   Ported verbatim from the reference stylesheet (index-BgNQBA9-.css): .review-snapshot,
   .review-snapshot-inner, .review-score, .stars, .text-link (both scoped to the section).
   Manrope -> var(--font-heading) per the brief. */

.review-snapshot { background: var(--blue-soft); border-top: 1px solid #d5dfd2; border-bottom: 1px solid #d5dfd2; padding: 22px 0; }
.review-snapshot-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; display: grid; }
.review-score { align-items: center; gap: 14px; display: flex; }
.review-snapshot .stars { color: #ffbf3f; letter-spacing: 2px; font-size: 18px; }
.review-score .stars { white-space: nowrap; }
.review-score span { flex-direction: column; line-height: 1.3; display: flex; }
.review-score strong { color: var(--navy); font-family: var(--font-heading); }
.review-score small { color: var(--muted); }
.review-snapshot p { color: #4f574c; border-left: 1px solid #c7d4c3; margin: 0; padding-left: 30px; font-size: 14px; }
.review-snapshot .text-link { color: var(--blue); align-items: center; gap: 8px; font-weight: 800; display: inline-flex; white-space: nowrap; }

@media (max-width: 860px) {
  .review-snapshot-inner { grid-template-columns: 1fr auto; }
  .review-snapshot p { border-top: 1px solid #c7d4c3; border-left: 0; grid-area: 2 / 1 / auto / -1; padding: 14px 0 0; }
}

@media (max-width: 600px) {
  .review-snapshot-inner { grid-template-columns: 1fr; gap: 16px; }
  .review-snapshot p { grid-area: auto; }
  .review-snapshot .text-link { justify-self: start; }
}


/* ==== home-04-window-explorer.css ==== */
/* Homepage section 04 - Window Explorer (#window-styles)
   Ported verbatim from window-source-sa-cro-2026-html-site/assets/index-BgNQBA9-.css.
   Section heading base rules are scoped here because wssa-global.css has none. */

.explorer-section { background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%); }

.explorer-section .section-heading { margin-bottom: 48px; }
.explorer-section .section-heading.split { grid-template-columns: 1.2fr .75fr; align-items: end; gap: 80px; display: grid; }
.explorer-section .section-heading.split h2 { margin-bottom: 0; }
.explorer-section .section-heading.split > p { margin: 0 0 6px; font-size: 18px; }
.explorer-section .window-heading { margin-bottom: 34px; }

.explorer-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; display: grid; }

.explorer-visual { min-height: 570px; box-shadow: var(--shadow); border-radius: 18px; position: relative; overflow: hidden; }
.explorer-visual > img { object-fit: cover; width: 100%; height: 570px; display: block; }
.explorer-visual > img[hidden] { display: none; }

.visual-badge { background: #fffffff0; border-radius: 11px; align-items: center; gap: 11px; padding: 15px 18px; display: flex; position: absolute; bottom: 25px; left: 25px; box-shadow: 0 12px 30px #00000024; }
.visual-badge svg { color: var(--green-dark); }
.visual-badge span { flex-direction: column; line-height: 1.35; display: flex; }
.visual-badge small { color: var(--muted); font-size: 12px; }

.explorer-copy > p { font-size: 18px; }
.explorer-copy > h2 { margin: 8px 0 15px; }

.window-feature-list { gap: 10px; margin: 24px 0; padding: 0; list-style: none; display: grid; }
.window-feature-list li { color: var(--ink); align-items: center; gap: 9px; font-weight: 700; display: flex; }
.window-feature-list svg { width: 18px; height: 18px; color: var(--green); }

.finish-block { border-top: 1px solid var(--line); margin: 25px 0; padding-top: 21px; }
/* Two rows: 5 swatches on the first row, 4 on the second, each row spanning the full width evenly
   (20-column grid; first five span 4 columns, the rest span 5). */
.finish-swatches { grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 12px 6px; margin: 12px 0 10px; display: grid; }
.finish-swatches > span { color: var(--ink); grid-column: span 5; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; flex-direction: column; justify-content: flex-start; align-items: center; gap: 7px; padding: 8px 2px; font-size: 14px; font-weight: 700; line-height: 1.35; text-align: center; display: flex; }
.finish-swatches > span:nth-child(-n+5) { grid-column: span 4; }
.finish-swatches i { border: 1px solid #0000002e; border-radius: 50%; width: 24px; height: 24px; flex-shrink: 0; box-shadow: inset 0 0 0 2px #ffffff73; }
.finish-block > small { color: var(--muted); font-size: 11px; line-height: 1.45; display: block; }

.style-result { background: var(--blue-soft); border-radius: 13px; align-items: center; padding: 20px; display: flex; }
.style-result h3 { margin-bottom: 4px; }
.style-result p { margin: 0; }
.circle-link { color: #fff; background: var(--navy); border-radius: 50%; flex: none; place-items: center; width: 46px; height: 46px; margin-left: auto; display: grid; }

.window-visual-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; display: grid; }
.window-visual-card { min-width: 0; color: var(--ink); text-align: left; cursor: pointer; background: #fff; border: 2px solid #0000; border-radius: 13px; padding: 0; transition: all .2s; overflow: hidden; box-shadow: 0 8px 25px #0d100b12; font: inherit; }
.window-visual-card:hover { border-color: #9bb294; transform: translateY(-3px); box-shadow: 0 14px 32px #0d100b1f; }
.window-visual-card.active { border-color: var(--green); box-shadow: 0 0 0 3px #1d4b161f, 0 14px 32px #0d100b1f; }
.window-thumb { background: #e8ece6; height: 145px; display: block; overflow: hidden; }
.window-thumb img { object-fit: cover; width: 100%; height: 100%; transition: all .35s; }
.window-visual-card:hover .window-thumb img { transform: scale(1.04); }
.window-visual-card > span:last-child { padding: 15px 16px 17px; display: block; }
.window-visual-card strong { margin-bottom: 3px; font-size: 16px; font-weight: 800; display: block; }
.window-visual-card small { min-height: 38px; color: var(--muted); font-size: 12px; line-height: 1.45; display: block; }

.window-gallery-cta { justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; display: flex; }
.window-gallery-cta > span { color: var(--muted); align-items: center; gap: 8px; font-size: 14px; font-weight: 700; display: flex; }
.window-gallery-cta > span svg { color: var(--green); }

@media (max-width: 860px) {
  .explorer-section .section-heading.split { grid-template-columns: 1fr; gap: 20px; }
  .explorer-grid { grid-template-columns: 1fr; gap: 40px; }
  .window-visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .explorer-visual { min-height: 400px; }
  .explorer-visual > img { height: 400px; }
  .window-visual-grid { gap: 10px; }
  .finish-swatches { gap: 12px 6px; }
  .finish-swatches > span { padding: 8px 2px; gap: 7px; font-size: 14px; }
  .window-thumb { height: 120px; }
  .window-visual-card > span:last-child { padding: 13px; }
  .window-visual-card small { min-height: 0; }
  .window-gallery-cta { flex-direction: column; align-items: stretch; }
  .window-gallery-cta .btn { width: 100%; }
}

/* Link mode (Jay 2026-10-09): cards are plain links to the product pages on /replacement-windows/
   and /replacement-doors/; no preview panel. Four cards (doors) sit four across. */
.is-links .window-visual-grid { margin-top: 8px; }
a.window-visual-card { display: block; text-decoration: none; color: var(--ink); }
a.window-visual-card:focus-visible { outline: 3px solid #9bb294; outline-offset: 3px; }
.is-links .window-visual-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .is-links .window-visual-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .is-links .window-visual-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }


/* ==== home-05-needs-selector.css ==== */
/* Homepage section 05 - Needs Selector (.needs-section)
   Ported verbatim from window-source-sa-cro-2026-html-site/assets/index-BgNQBA9-.css.
   Section heading base rules are scoped here because wssa-global.css has none. */

.needs-section { background: linear-gradient(#f6f8f4, #fff); }

.needs-section .section-heading { margin-bottom: 48px; }
.needs-section .section-heading.centered { text-align: center; max-width: 780px; margin-inline: auto; }
.needs-section .section-heading.centered p { max-width: 640px; margin: 0 auto; font-size: 18px; }

.needs-tabs { grid-template-columns: repeat(5, 1fr); gap: 11px; display: grid; }
.needs-tabs button { border: 1px solid var(--line); min-height: 100px; color: var(--muted); cursor: pointer; background: #fff; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 8px; font-weight: 800; transition: all .2s; display: flex; font-family: inherit; font-size: inherit; line-height: inherit; }
.needs-tabs button svg { color: var(--blue); }
.needs-tabs button:hover, .needs-tabs button.active { border-color: var(--green); color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 25px #0d100b14; }
.needs-tabs button.active { background: var(--blue-soft); }

.needs-result { border-radius: var(--radius); background: var(--blue-soft); grid-template-columns: auto 1fr auto; align-items: center; gap: 21px; margin-top: 20px; padding: 27px 30px; display: grid; }
.needs-result[hidden] { display: none; }
.result-icon { background: var(--navy); color: #fff; border-radius: 50%; place-items: center; width: 64px; height: 64px; display: grid; }
.result-icon svg { width: 30px; height: 30px; }
.needs-result h3 { margin: 5px 0; }
.needs-result p { margin: 0; }

@media (max-width: 860px) {
  .needs-tabs { grid-template-columns: repeat(3, 1fr); }
  .needs-result { grid-template-columns: auto 1fr; }
  .needs-result .btn { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .needs-tabs { grid-template-columns: 1fr 1fr; }
  .needs-tabs button { min-height: 88px; }
  .needs-result { text-align: center; grid-template-columns: 1fr; }
  .result-icon { margin: 0 auto; }
}


/* ==== home-06-services.css ==== */
/* Homepage section 06: Services image card grid.
   Ported from window-source-sa-cro-2026-html-site/assets/index-BgNQBA9-.css (.services-section, .service-*, .section-heading). */

.section-heading { margin-bottom: 48px; }
.section-heading.split { grid-template-columns: 1.2fr .75fr; align-items: end; gap: 80px; display: grid; }
.section-heading.split h2 { margin-bottom: 0; }
.section-heading.split > p { margin: 0 0 6px; font-size: 18px; }

.services-section { padding-top: 80px; }
.service-grid { grid-template-rows: repeat(2, 250px); grid-template-columns: repeat(4, 1fr); gap: 16px; display: grid; }
.service-card { color: #fff; border-radius: 15px; position: relative; overflow: hidden; }
.service-card.featured { grid-area: span 2 / span 2; }
.service-card img, .service-overlay { object-fit: cover; width: 100%; height: 100%; transition: all .4s; position: absolute; inset: 0; }
.service-overlay { background: linear-gradient(#04070314, #050804eb); }
.service-card:hover img { transform: scale(1.05); }
.service-content { z-index: 2; align-items: flex-end; gap: 13px; display: flex; position: absolute; inset: auto 20px 20px; }
.service-content > svg:first-child { color: #9fbe98; flex: none; width: 26px; height: 26px; margin-bottom: 5px; }
.service-content > svg:last-child { margin-left: auto; transition: all .2s; }
.service-card:hover .service-content > svg:last-child { transform: translate(5px); }
.service-content h3 { margin-bottom: 4px; font-size: 20px; }
.service-content p { color: #dce1d9; margin: 0; font-size: 14px; line-height: 1.4; }
.service-card.featured .service-content { inset: auto 32px 30px; }
.service-card.featured .service-content h3 { font-size: 30px; }
.service-card.featured .service-content p { font-size: 16px; }

@media (max-width: 860px) {
  .services-section { padding-top: 75px; }
  .section-heading.split { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-rows: 350px repeat(2, 240px); grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-area: auto / span 2; }
}

@media (max-width: 600px) {
  .services-section { padding-top: 62px; }
  .service-grid { grid-template-rows: repeat(5, 250px); grid-template-columns: 1fr; display: grid; }
  .service-card.featured { grid-column: auto; }
  .service-card.featured .service-content { inset: auto 20px 20px; }
  .service-card.featured .service-content h3 { font-size: 22px; }
}


/* ==== home-07-difference.css ==== */
/* Homepage section 07: The Window Source difference (dark) + comparison card.
   Ported from window-source-sa-cro-2026-html-site/assets/index-BgNQBA9-.css (.difference-*, .check-list, .compare-*). */

.difference-section { background: var(--blue-dark); color: #fff; position: relative; overflow: clip; }
.difference-section:before { content: ""; border: 110px solid #1d4b1633; border-radius: 50%; width: 700px; height: 700px; position: absolute; top: -300px; right: -340px; left: auto; }
.difference-grid { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; display: grid; position: relative; }
.difference-copy p { color: #cbd0c8; font-size: 18px; }
.check-list { gap: 11px; margin: 26px 0 32px; padding: 0; list-style: none; display: grid; }
.check-list li { align-items: center; gap: 10px; font-weight: 700; display: flex; }
.check-list svg { color: var(--green); }
.compare-card { color: var(--ink); border-radius: var(--radius); background: #fff; padding: 12px 20px 20px; box-shadow: 0 24px 80px #0003; }
.compare-head, .compare-row { grid-template-columns: .75fr 1.2fr 1fr; align-items: center; gap: 16px; display: grid; }
.compare-head { border-bottom: 1px solid var(--line); color: var(--muted); padding: 18px 15px; font-size: 13px; font-weight: 800; }
.compare-head strong { color: var(--blue); font-size: 15px; }
.compare-row { border-bottom: 1px solid var(--line); padding: 16px 15px; font-size: 14px; }
.compare-row:last-child { border-bottom: 0; }
.compare-row b { font-size: 13px; }
.compare-row span { color: var(--muted); line-height: 1.35; }
.compare-row span:nth-child(2) { color: var(--ink); align-items: flex-start; gap: 7px; font-weight: 700; display: flex; }
.compare-row svg { color: var(--green-dark); flex: none; margin-top: 2px; }

@media (max-width: 1120px) {
  .difference-grid { gap: 35px; }
  .compare-row, .compare-head { grid-template-columns: .7fr 1fr .8fr; }
}

@media (max-width: 860px) {
  .difference-grid { grid-template-columns: 1fr; }
  .compare-card { overflow-x: auto; }
  .compare-head, .compare-row { min-width: 650px; }
}

@media (max-width: 600px) {
  .compare-card { border-radius: 12px; margin-inline: -14px; }
}


/* ==== home-08-reviews.css ==== */
/* Homepage 08 Reviews (#reviews). Ported verbatim from the reference stylesheet
   (window-source-sa-cro-2026-html-site/assets/index-BgNQBA9-.css); Manrope swapped
   for var(--font-heading) per the brief. The .stars base rule (not in the global
   sheet) is scoped to .reviews-section. */

.reviews-section { background: #fff; }
.reviews-section .stars { color: #ffbf3f; letter-spacing: 2px; font-size: 18px; }

.review-header { justify-content: space-between; align-items: end; margin-bottom: 42px; display: flex; }
.review-header h2 { margin-bottom: 0; }
.rating-lockup { text-align: right; }
.rating-lockup > span { font-weight: 800; }
.rating-lockup small { color: var(--muted); display: block; }

.reviews-layout { grid-template-columns: 1.35fr .65fr; gap: 22px; display: grid; }
.review-feature { border-radius: var(--radius); color: #fff; background: var(--navy); min-height: 420px; padding: 42px; position: relative; }
.review-feature > svg { color: #ffffff17; width: 60px; height: 60px; position: absolute; top: 30px; right: 35px; }
.review-feature blockquote { letter-spacing: -.02em; margin: 25px 0 30px; font-family: var(--font-heading); font-size: 28px; line-height: 1.45; }
.review-person { align-items: center; gap: 12px; display: flex; }
/* a11y: reference initials were #11130f on #1d4b16 (1.84:1, fails WCAG AA); white is 10.14:1. */
.review-person > div { background: var(--green); width: 46px; height: 46px; color: #fff; border-radius: 50%; place-items: center; font-weight: 800; display: grid; }
.review-person span { flex-direction: column; display: flex; }
.review-person small { color: #c1c8be; }
.review-controls { align-items: center; gap: 11px; display: flex; position: absolute; bottom: 35px; right: 35px; }
.review-controls button { color: #fff; cursor: pointer; background: 0 0; border: 1px solid #ffffff4d; border-radius: 50%; width: 40px; height: 40px; }
.review-controls span { color: #c1c8be; font-size: 13px; }

.review-side { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.review-side > img { object-fit: cover; width: 100%; height: 220px; }
.review-side-copy { align-items: center; gap: 12px; padding: 20px; display: flex; }
.review-side-copy > svg { color: var(--green-dark); }
.review-side-copy span { flex-direction: column; line-height: 1.35; display: flex; }
.review-side-copy small { color: var(--muted); font-size: 12px; }
.review-side .btn { width: calc(100% - 40px); margin: 0 20px 20px; }

/* Server-rendered slides: only the active one is visible (hidden attribute). */
.review-slide[hidden] { display: none; }

@media (max-width: 860px) {
  .reviews-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .review-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .rating-lockup { text-align: left; }
  .review-feature { padding: 30px 25px 100px; }
  .review-feature blockquote { font-size: 21px; }
  .review-controls { bottom: 28px; left: 25px; right: auto; }
}


/* ==== home-09-process.css ==== */
/* Homepage 09 Process (#process). Ported verbatim from the reference stylesheet
   (window-source-sa-cro-2026-html-site/assets/index-BgNQBA9-.css); Manrope swapped
   for var(--font-heading) per the brief. Base rules the global sheet does not carry
   (h3 margin, .section-heading) are scoped to .process-section. */

.process-section { background: var(--light); }
.process-section h3 { margin-bottom: 10px; }

.process-section .section-heading { margin-bottom: 48px; }
.process-section .section-heading.centered { text-align: center; max-width: 780px; margin-inline: auto; }
.process-section .section-heading.centered p { max-width: 640px; margin: 0 auto; font-size: 18px; }

.process-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; display: grid; }
.process-step { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 28px 25px; position: relative; }
.process-step:not(:last-child):after { content: ""; border-top: 2px dotted #a9bdc7; width: 21px; position: absolute; top: 53px; right: -21px; }
/* a11y: reference #e1ebee on white is 1.21:1 (fails WCAG AA even for large text). #8a9987 is the
   lightest brand green-grey that reaches 3:1. Lighthouse does not exempt aria-hidden text. */
.step-number { color: #8a9987; font: 800 26px/1 var(--font-heading); position: absolute; top: 14px; right: 20px; }
.step-icon { color: #fff; background: var(--blue); border-radius: 12px; place-items: center; width: 55px; height: 55px; margin-bottom: 24px; display: grid; }
.process-step p { margin-bottom: 0; font-size: 14px; }

@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2):after { display: none; }
}

@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step:after { display: none; }
}


/* ==== home-10-planner.css ==== */
/* Homepage section 10 - Project Planner. Ported verbatim from the reference stylesheet. */
.planner-section { background: var(--navy); color: #fff; }
.planner-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; display: grid; }
.planner-grid > div:first-child > p { color: #c8cec5; font-size: 19px; }
.planner-note { color: #dde1da; align-items: center; gap: 11px; margin-top: 30px; display: flex; }
.planner-note svg { color: var(--green); }
.planner-card { color: var(--ink); border-radius: var(--radius); background: #fff; padding: 30px; box-shadow: 0 25px 80px #0003; }
.range-label { justify-content: space-between; align-items: center; font-weight: 800; display: flex; }
.range-label strong { color: #fff; background: var(--blue); border-radius: 50%; place-items: center; width: 50px; height: 50px; font-size: 20px; display: grid; }
.range { width: 100%; accent-color: var(--green-dark); margin: 25px 0 2px; }
.range-ends { color: var(--muted); justify-content: space-between; font-size: 13px; display: flex; }
.planner-card .input-title { margin: 24px 0 10px; font-weight: 800; display: block; }
.priority-buttons { grid-template-columns: repeat(4, 1fr); gap: 7px; display: grid; }
.priority-buttons button { border: 1px solid var(--line); min-height: 46px; color: var(--muted); cursor: pointer; background: #fff; border-radius: 8px; font-size: 13px; font-weight: 700; }
.priority-buttons button.active { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.planner-result { background: var(--light); border-radius: 10px; margin: 20px 0; padding: 17px; }
.planner-result span { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 800; display: block; }
.planner-result strong { color: var(--navy); font-size: 20px; display: block; }
.planner-result p { margin: 2px 0 0; font-size: 14px; }
.planner-card > small { text-align: center; color: var(--muted); margin-top: 10px; font-size: 12px; display: block; }

@media (max-width: 860px) {
  .planner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .priority-buttons { grid-template-columns: 1fr 1fr; }
}


/* ==== home-11-partners-social.css ==== */
/* Homepage section 11 - Partners + Social. Ported verbatim from the reference stylesheet.
 * .section-heading rules are not in wssa-global.css, so they are included here scoped to .social-section. */

/* Partner logos */
.partner-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 75px 0; }
.partner-heading { text-align: center; max-width: 760px; margin: 0 auto 35px; }
.partner-heading h2 { margin: 7px 0 12px; font-size: clamp(31px, 3vw, 42px); }
.partner-heading p { margin: 0; }
.partner-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; display: grid; }
.partner-logo { border: 1px solid var(--line); background: var(--light); border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 10px; min-width: 0; min-height: 120px; padding: 18px; display: flex; }
.partner-logo img { object-fit: contain; mix-blend-mode: multiply; width: 100%; height: 52px; }
.partner-logo span { color: var(--muted); text-align: center; font-size: 11px; font-weight: 800; }
/* Placeholder for a logo whose file is missing from the import (ENERGY STAR). Flagged on purpose. */
.partner-logo.is-missing { border-style: dashed; }
.partner-logo.is-missing .partner-logo-missing { width: 100%; height: 52px; display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .04em; }

/* Social channels */
.social-section { background: var(--navy); color: #fff; }
.social-section .section-heading { margin-bottom: 48px; }
.social-section .section-heading.split { grid-template-columns: 1.2fr .75fr; align-items: end; gap: 80px; display: grid; }
.social-section .section-heading.split h2 { margin-bottom: 0; }
.social-section .section-heading.split > p { margin: 0 0 6px; font-size: 18px; }
.social-section .section-heading p { color: #c7cdc4; }
/* a11y: reference eyebrow was #1d4b16 on #11130f (1.84:1, fails WCAG AA). #a9c3a3 is the design's
   own dark-panel eyebrow colour (mega menu) at 9.81:1. */
.social-section .eyebrow { color: #a9c3a3; }
.social-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; display: grid; }
.social-post { background: #171a15; border: 1px solid #ffffff1f; border-radius: 15px; transition: all .2s; overflow: hidden; }
.social-post:hover { border-color: #afcca880; transform: translateY(-5px); box-shadow: 0 20px 55px #00000040; }
.social-post-image { height: 245px; position: relative; overflow: hidden; }
.social-post-image img { object-fit: cover; width: 100%; height: 100%; transition: all .35s; }
.social-post:hover img { transform: scale(1.04); }
.social-post-image > span { background: #090a08db; border-radius: 7px; align-items: center; gap: 7px; padding: 8px 10px; font-size: 12px; font-weight: 800; display: flex; position: absolute; top: 14px; left: 14px; }
.social-post-image svg { color: #b9d3b3; width: 16px; height: 16px; }
.social-post-copy { padding: 22px; }
.social-post-copy h3 { color: #fff; font-size: 20px; margin: 0 0 10px; }
.social-post-copy p { color: #bcc3b9; font-size: 14px; }
.social-post-copy strong { color: #b9d3b3; align-items: center; gap: 7px; font-size: 13px; display: flex; }

@media (max-width: 1120px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .social-section .section-heading.split { grid-template-columns: 1fr; gap: 20px; }
  .social-feed-grid { grid-template-columns: 1fr; }
  .social-post { grid-template-columns: .8fr 1.2fr; display: grid; }
  .social-post-image { height: auto; min-height: 220px; }
}
@media (max-width: 600px) {
  .partner-section { padding: 58px 0; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .partner-logo { min-height: 105px; padding: 14px; }
  .social-post { display: block; }
  .social-post-image { height: 220px; min-height: 0; }
}


/* ==== home-12-local-resources.css ==== */
/* Homepage section 12 - Local + Resources. Ported from the reference stylesheet
   (window-source-sa-cro-2026-html-site/assets/index-BgNQBA9-.css). Manrope replaced by DM Sans. */

/* Shared rules the reference defines globally; scoped here because wssa-global.css lacks them. */
.local-section .text-link,
.resource-section .text-link { color: var(--blue); align-items: center; gap: 8px; font-weight: 800; display: inline-flex; }
.resource-section .section-heading { margin-bottom: 48px; }
.resource-section .section-heading.split { grid-template-columns: 1.2fr .75fr; align-items: end; gap: 80px; display: grid; }
.resource-section .section-heading.split h2 { margin-bottom: 0; }
.resource-section .section-heading.split > p { margin: 0 0 6px; font-size: 18px; }

/* -- Local -- */
.local-section { background: var(--blue-soft); }
.local-intro-grid { grid-template-columns: .72fr 1.28fr; align-items: center; gap: 70px; display: grid; }
.map-card { min-height: 420px; color: var(--navy); text-align: center; border-radius: var(--radius); background: radial-gradient(circle, #e3ede0, #edf1eb); border: 1px solid #ced8ca; flex-direction: column; justify-content: center; align-items: center; display: flex; position: relative; overflow: hidden; }
.map-card > svg { width: 48px; height: 48px; color: var(--blue); z-index: 2; margin-bottom: 14px; }
.map-card strong, .map-card small { z-index: 2; }
.map-rings span { border: 1px solid #1d4b1633; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.map-rings span:first-child { width: 130px; height: 130px; }
.map-rings span:nth-child(2) { width: 250px; height: 250px; }
.map-rings span:nth-child(3) { width: 390px; height: 390px; }

/* Lazy Google Map (js/home-12-map.js). Hidden until the iframe has loaded, then fades in over
   the decorative placeholder; the address chip sits on top with a directions link. */
.map-card .map-embed { position: absolute; inset: 0; z-index: 3; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.map-card .map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Fixed view (no pan/zoom) so the 100-mile radius overlay stays true to the map underneath.
   Full interactive map is one click away via the chip's directions link and Google's own link. */
.map-card.is-map-ready .map-embed { opacity: 1; pointer-events: none; }
.map-card .map-radius { position: absolute; left: 50%; top: 50%; z-index: 3; width: 197px; height: 197px; transform: translate(-50%, -50%); border: 2px solid var(--blue); border-radius: 50%; background: rgba(29, 75, 22, .1); pointer-events: none; opacity: 0; transition: opacity .4s ease; }
.map-card.is-map-ready .map-radius { opacity: 1; }
.map-card .map-radius span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.map-card .map-chip { position: absolute; left: 14px; right: 14px; bottom: 40px; z-index: 4; display: none; align-items: center; gap: 10px; padding: 10px 14px; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 22px #0d100b1f; }
.map-card.is-map-ready .map-chip { display: flex; }
.map-card .map-chip > svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin: 0; }
.map-card .map-chip span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.map-card .map-chip strong { font-size: 14px; }
.map-card .map-chip small { font-size: 12px; color: var(--muted); }
.map-card .map-chip em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 800; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.map-card .map-chip em svg { transition: transform 220ms cubic-bezier(.2,.65,.3,1); }
@media (hover: hover) { .map-card .map-chip:hover em svg { transform: translateX(4px); } }
@media (max-width: 600px) { .map-card .map-chip em { display: none; } }
.local-intro-grid > div:last-child > p { font-size: 18px; }
.geo-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 50px; display: grid; }
.geo-preview-card { background: #fff; border: 1px solid #ced8ca; border-radius: 14px; flex-direction: column; min-width: 0; padding: 25px; transition: all .2s; display: flex; }
.geo-preview-card:hover { box-shadow: var(--shadow); border-color: #9bb294; transform: translateY(-4px); }
.geo-card-heading { align-items: center; gap: 12px; margin-bottom: 16px; display: flex; }
.geo-card-heading > svg { width: 25px; height: 25px; color: var(--blue); flex: none; }
.geo-card-heading > span { flex-direction: column; min-width: 0; display: flex; }
.geo-card-heading small { color: var(--muted); letter-spacing: .07em; text-transform: uppercase; font-size: 11px; font-weight: 800; line-height: 1.35; }
.geo-card-heading strong { color: var(--ink); font-size: 20px; line-height: 1.25; }
.geo-preview-card p { flex: 1; margin-bottom: 18px; font-size: 14px; line-height: 1.55; }
.geo-preview-card .text-link { font-size: 14px; }

/* -- Resources -- */
.resource-section { background: #fff; }
.resource-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; display: grid; }
.resource-card { border: 1px solid var(--line); border-radius: 15px; padding: 30px; transition: all .2s; }
.resource-card:hover { box-shadow: var(--shadow); border-color: #9bb294; transform: translateY(-5px); }
.resource-card > svg { width: 33px; height: 33px; color: var(--green-dark); margin-bottom: 25px; }
.resource-card .mini-label { margin-bottom: 8px; }
.resource-card h3 { margin-bottom: 10px; }
.resource-card p { font-size: 14px; }

@media (max-width: 860px) {
  .resource-section .section-heading.split { grid-template-columns: 1fr; gap: 20px; }
  .local-intro-grid { grid-template-columns: 1fr; }
  .geo-preview-grid { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .geo-preview-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .geo-preview-card { padding: 22px; }
}


/* ==== home-13-faq.css ==== */
/* Homepage section 13 - FAQ. Ported from the reference stylesheet
   (window-source-sa-cro-2026-html-site/assets/index-BgNQBA9-.css). Manrope replaced by DM Sans.
   The outer Elementor container carries .section.faq-section; the widget root is .faq-grid. */
.faq-section { background: var(--light); }
.faq-grid { grid-template-columns: .7fr 1.3fr; align-items: start; gap: 85px; display: grid; }
.faq-grid > div:first-child > p { font-size: 18px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { text-align: left; width: 100%; color: var(--ink); cursor: pointer; background: 0 0; border: 0; justify-content: space-between; gap: 20px; padding: 20px 0; font-family: var(--font-body); line-height: 1.6; font-size: 17px; font-weight: 800; display: flex; }
.faq-item button span:last-child { color: var(--blue); font-size: 25px; font-weight: 500; }
.faq-item p { margin: 0; padding: 0 30px 20px 0; }
.faq-item p[hidden] { display: none; }

@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
}


/* ==== home-14-final-cta.css ==== */
/* Homepage section 14 - Final CTA (#free-estimate). Ported from the reference stylesheet
   (window-source-sa-cro-2026-html-site/assets/index-BgNQBA9-.css).
   The outer Elementor container carries .final-cta; the widget root is .final-grid. */
.final-cta { color: #fff; background: linear-gradient(135deg, #173f12 0%, #1d4b16 55%, #143610 100%); padding: 96px 0; position: relative; overflow: clip; }
.final-cta:before { content: ""; border: 90px solid #ffffff09; border-radius: 50%; width: 560px; height: 560px; position: absolute; top: -300px; right: -240px; }
.final-grid { grid-template-columns: 1fr .95fr; align-items: center; gap: 70px; display: grid; position: relative; }
.final-grid > div:first-child { padding-right: 15px; }
.final-grid > div:first-child > p { color: #dce4d9; max-width: 600px; font-size: 18px; }
.final-points { flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; display: flex; }
.final-points span { align-items: center; gap: 7px; font-weight: 700; display: flex; }
.final-points svg { color: #b4ceb0; }
.final-form-card { color: var(--ink); background: #fff; border: 1px solid #ffffffb3; border-radius: 20px; padding: 36px; box-shadow: 0 28px 70px #00000040; }
.final-form-card .form-kicker { margin-bottom: 8px; }
.final-form-card h3 { margin: 0 0 8px; font-size: 28px; }
.final-form-card > p { max-width: 500px; margin-bottom: 24px; font-size: 14px; line-height: 1.55; }
.final-form-card .quote-form { box-shadow: none; background: 0 0; }
/* Reference: .final-form-card .field-grid gap 12px 14px and every label margin-bottom 15px,
   mapped onto the Elementor field groups (padding = half the column gap, see wssa-global.css). */
/* Selector depth matches the form template's own generated rules (four classes) so these win
   without !important. Grid rows: 27px = 12px row gap + 15px label margin; the last grid row
   (phone, email at two columns) and the select keep the plain 15px. */
.final-cta .final-grid .final-form-card .wssa-form-wrap .elementor-form-fields-wrapper { margin: 0 -7px; }
.final-cta .final-grid .final-form-card .wssa-form-wrap .elementor-field-group { padding: 0 7px; margin-bottom: 27px; }
.final-cta .final-grid .final-form-card .wssa-form-wrap .elementor-field-group-phone,
.final-cta .final-grid .final-form-card .wssa-form-wrap .elementor-field-group-email,
.final-cta .final-grid .final-form-card .wssa-form-wrap .elementor-field-group:not(.elementor-col-50) { margin-bottom: 15px; }
.final-cta .final-grid .final-form-card .wssa-form-wrap .elementor-field-group.elementor-field-type-submit { margin-top: 0; margin-bottom: 0; }
.final-cta .final-grid .final-form-card .wssa-form-wrap .elementor-button { min-height: 48px; }
.final-cta .final-grid .final-form-card .wssa-form-wrap .elementor-field-textual { background: #fafbf9; }
.final-form-card .form-trust { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 14px; }

@media (max-width: 860px) {
  .final-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .final-form-card { padding: 25px 20px; }
  /* One-column field grid: every grid row but the last keeps the 12px gap. */
  .final-cta .final-grid .final-form-card .wssa-form-wrap .elementor-field-group-phone { margin-bottom: 27px; }
}


/* ==== legal.css ==== */
/* Legal pages (privacy, terms, accessibility): one readable column in the site type system.
   Section spacing follows the site rhythm: 100px, 75px under 860px, 62px under 600px. */
.legal-section { background: #fff; padding: 100px 0; }
.legal-wrap { max-width: 760px; }
.legal-head { padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid #dde2da; }
.legal-head h1.eyebrow { margin: 0 0 14px; }
.legal-head h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.035em; margin: 0 0 14px; color: #181a16; }
.legal-meta { margin: 0; color: #62675f; font-size: 15px; }

.legal-body { color: #181a16; font-size: 17px; line-height: 1.75; }
.legal-body > :first-child { margin-top: 0; }
.legal-body p { margin: 0 0 18px; }
.legal-body h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; margin: 44px 0 14px; color: #181a16; }
.legal-body h3 { font-size: 19px; line-height: 1.3; margin: 28px 0 10px; color: #181a16; }
.legal-body ul { margin: 0 0 20px; padding: 0; list-style: none; }
.legal-body li { position: relative; padding-left: 26px; margin: 0 0 10px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: #1d4b16; }
.legal-body strong { font-weight: 700; }
.legal-body a { color: #1d4b16; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 220ms ease, text-decoration-thickness 220ms ease; }
.legal-body a:hover, .legal-body a:focus-visible { color: #143810; text-decoration-thickness: 2px; }
.legal-body address { font-style: normal; margin: 0 0 18px; padding: 22px 24px; background: #f5f6f3; border: 1px solid #dde2da; border-radius: 18px; line-height: 1.8; }

@media (max-width: 860px) { .legal-section { padding: 75px 0; } }
@media (max-width: 600px) {
  .legal-section { padding: 62px 0; }
  .legal-head { margin-bottom: 30px; padding-bottom: 26px; }
  .legal-body { font-size: 16px; }
  .legal-body h2 { font-size: 22px; margin-top: 36px; }
}


/* ==== product-gallery.css ==== */
/* Product gallery (Jay 2026-10-08): the product page's main image becomes a slider (main photo,
   operation gif, live gallery photos) with arrows, a counter and a thumbnail row. Slides share the
   .product-primary frame; only the active one is shown. */
.product-gallery > .pg-slide[hidden] { display: none; }
/* Fixed frame (Jay 2026-10-08: the gif must not grow the image area). The first photo stays in flow
   and sets the frame size (kept invisible when another slide shows); every other slide is laid over
   it at exactly that size, photos cropped to fill, the gif scaled to fit. */
.product-gallery > .pg-slide:first-child[hidden] { display: block; visibility: hidden; }
.product-gallery > .pg-slide:not(:first-child) { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
.product-gallery > .pg-slide.pg-gif { object-fit: contain; background: #fff; }
.product-gallery .pg-nav {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px;
  margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: #ffffffeb; color: #181a16;
  box-shadow: 0 6px 18px rgba(13,16,11,.18); cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}
.product-gallery .pg-prev { left: 14px; }
.product-gallery .pg-next { right: 14px; }
.product-gallery .pg-nav svg { width: 20px; height: 20px; }
.product-gallery .pg-nav:hover { background: #1d4b16; color: #fff; transform: scale(1.06); }
.product-gallery .pg-nav:focus-visible { outline: 3px solid #9bb294; outline-offset: 2px; }
.product-gallery .pg-count {
  position: absolute; top: 14px; right: 14px; z-index: 2; padding: 5px 10px; border-radius: 999px;
  background: #090a08b3; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}

/* Equal columns that fill the row; scrolls sideways only when there are too many to fit. */
.pg-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(72px, 1fr); gap: 10px;
  overflow-x: auto; margin-top: 4px; padding: 4px; scrollbar-width: thin;
}
.pg-thumb {
  position: relative; width: 100%; min-width: 0; height: auto; aspect-ratio: 7 / 5; padding: 0; border: 2px solid transparent;
  border-radius: 10px; overflow: hidden; background: #dde3da; cursor: pointer; opacity: .72;
  transition: opacity 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.pg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-thumb:hover { opacity: 1; transform: translateY(-2px); }
.pg-thumb.is-active { opacity: 1; border-color: #1d4b16; }
.pg-thumb:focus-visible { outline: 3px solid #9bb294; outline-offset: 2px; }
/* Animated demo thumbnail: centred play badge on a light scrim so the white gif frame reads as video. */
.pg-thumb-badge {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(9,10,8,.28); color: #fff;
}
.pg-thumb-badge svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: #1d4b16; box-sizing: border-box; }

@media (max-width: 600px) {
  .product-gallery .pg-nav { width: 38px; height: 38px; margin-top: -19px; }
  .pg-thumbs { grid-auto-columns: minmax(52px, 1fr); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-gallery .pg-nav, .pg-thumb { transition: none; }
}


/* ==== product-showcase.css ==== */
/* Window product pages - section.window-style-showcase (reference CSS ported verbatim).
   Loaded after wssa-global.css. Manrope headings are intentionally DM Sans (inherit). */
.window-style-showcase { background: linear-gradient(#f5f7f3 0%, #fff 100%); }
.window-style-heading { margin-bottom: 34px; }
.window-style-showcase .text-link { color: var(--blue); align-items: center; gap: 8px; font-weight: 800; display: inline-flex; }
.window-product-layout { grid-template-columns: 1.1fr .9fr; align-items: stretch; gap: 42px; display: grid; }
.window-product-media { gap: 13px; min-width: 0; display: grid; }
.product-primary { border-radius: var(--radius); min-height: 510px; box-shadow: var(--shadow); background: #dde3da; position: relative; overflow: hidden; }
.product-primary > img, .product-primary > video { object-fit: cover; width: 100%; height: 100%; min-height: 510px; }
.product-primary.product-cutout { background: #151614; }
.product-primary.product-cutout > img, .product-primary.product-cutout > video { object-fit: contain; }
.product-primary.product-cutout > img.pg-photo { object-fit: cover; } /* installed-look photo as slide 1 (2026-10-11) */
.product-caption { color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: #090a08e0; border-radius: 10px; justify-content: space-between; align-items: center; gap: 15px; padding: 13px 15px; display: flex; position: absolute; bottom: 18px; left: 18px; right: 18px; }
.product-caption strong { font-size: 15px; }
.product-caption span { color: #c4ccc1; font-size: 12px; }
.product-lifestyle { border-radius: 13px; height: 185px; position: relative; overflow: hidden; }
.product-lifestyle img { object-fit: cover; width: 100%; height: 100%; }
.product-lifestyle span { color: var(--ink); background: #ffffffeb; border-radius: 6px; padding: 7px 10px; font-size: 12px; font-weight: 800; position: absolute; bottom: 13px; right: 13px; }
.window-product-copy { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 36px; box-shadow: 0 16px 45px #0d100b14; }
.window-product-copy h3 { margin: 7px 0 13px; font-size: 31px; }
.window-product-copy > p { font-size: 17px; }
.product-feature-list { gap: 12px; margin: 27px 0; padding: 0; list-style: none; display: grid; }
.product-feature-list li { color: var(--ink); align-items: flex-start; gap: 10px; font-weight: 700; display: flex; }
.product-feature-list svg { width: 19px; height: 19px; color: var(--green-dark); flex: none; margin-top: 3px; }
.best-for { border-left: 4px solid var(--green); background: var(--blue-soft); border-radius: 0 10px 10px 0; margin: 0 0 27px; padding: 18px; }
.best-for span { color: var(--blue); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; font-size: 12px; font-weight: 800; display: block; }
.best-for p { color: var(--ink); margin: 0; font-size: 14px; }
.style-alternatives { border-top: 1px solid var(--line); margin-top: 54px; padding-top: 35px; }
.style-alternatives-head { justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; display: flex; }
.style-alternatives-head h3 { margin: 5px 0 0; font-size: 25px; }
.style-alternatives-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; display: grid; }
.style-alternative-card { border: 1px solid var(--line); background: #fff; border-radius: 12px; min-width: 0; transition: all .2s; overflow: hidden; color: inherit; text-decoration: none; }
.style-alternative-card:hover { border-color: #9bb294; transform: translateY(-4px); box-shadow: 0 13px 32px #0d100b1a; }
.style-alternative-card > span { background: #e5e9e2; height: 145px; display: block; overflow: hidden; }
.style-alternative-card img { object-fit: cover; width: 100%; height: 100%; transition: all .35s; }
.style-alternative-card:hover img { transform: scale(1.04); }
.style-alternative-card strong, .style-alternative-card small { margin-inline: 16px; display: block; }
.style-alternative-card strong { margin-top: 14px; }
.style-alternative-card small { min-height: 50px; color: var(--muted); margin-top: 3px; margin-bottom: 16px; font-size: 12px; line-height: 1.4; }

@media (max-width: 860px) {
  .window-product-layout { grid-template-columns: 1fr; }
  .style-alternatives-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .product-primary, .product-primary > img, .product-primary > video { min-height: 410px; }
  .product-caption { flex-direction: column; align-items: flex-start; gap: 2px; }
  .window-product-copy { padding: 26px 22px; }
  .window-product-copy h3 { font-size: 27px; }
  .style-alternatives-head { flex-direction: column; align-items: flex-start; }
  .style-alternatives-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .style-alternative-card > span { height: 120px; }
  .style-alternative-card strong, .style-alternative-card small { margin-inline: 12px; }
  .style-alternative-card small { min-height: 0; }
}
/* Door pages have three sibling styles: three even columns instead of an empty fourth slot. */
.style-alternatives-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .style-alternatives-grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
}


/* ==== product-spec-live.css ==== */
/* Product specs with live content (Jay 2026-10-08): short labels stay compact; an info button
   reveals the full original sentence. Grids & Sizes card, interior / exterior colour rows. */
/* Layout (Jay 2026-10-08): spec groups in one balanced row; Grids & Sizes full width beneath with
   sizes (two columns of lines) beside the pattern chips. Lighter checks / info icons for contrast. */
.spec-grid.spec-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec-grid.spec-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Four groups (entry and storm doors) sit 2 x 2 rather than leaving an orphan card. */
.spec-grid.spec-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec-grid-live .spec-card-grids { grid-column: 1 / -1; }
.spec-grids-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px 40px; align-items: start; }
.spec-grids-col .spec-sub { margin-top: 0; }
.spec-grids-col ul:not(.spec-chips):not(.spec-patterns) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.spec-grid-live .spec-card li > svg { color: #8fbf86; }
/* Review fixes: the generic .spec-card li svg rule painted the info glyph dark green (near invisible). */
.spec-grid-live .spec-card .spec-info svg { color: inherit; width: 16px; height: 16px; margin: 0; }
.spec-grid-live .spec-card .spec-info { width: 26px; height: 26px; margin: -4px 0 -4px 4px; color: #c5dcc0; }
/* Patterns column sizes to its one row of chips; the sizes list takes the rest so its lines never wrap. */
.spec-grids-body { grid-template-columns: minmax(0, 1fr) auto; }
.spec-grids-col ul:not(.spec-chips):not(.spec-patterns) li { white-space: nowrap; }
@media (min-width: 861px) { .spec-card ul.spec-chips { flex-wrap: nowrap; } }
.spec-card ul.spec-chips { gap: 7px; }
.spec-card ul.spec-chips li { padding: 5px 11px; font-size: 12.5px; }
.finish-row .finish-spec-swatches i { border-color: rgba(0,0,0,.28); }
.spec-grid-live .spec-card li { position: relative; }
.spec-item { display: inline; }
.spec-info {
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin: -2px 0 0 6px; padding: 0;
  vertical-align: middle; border: 0; border-radius: 50%; background: transparent; color: #a9c8a2; cursor: help;
  transition: color 220ms ease, background-color 220ms ease;
}
.spec-info svg { width: 15px; height: 15px; }
.spec-info:hover, .spec-info:focus-visible, .spec-info[aria-expanded="true"] { color: #fff; background: #ffffff1f; }
.spec-info:focus-visible { outline: 2px solid #9bb294; outline-offset: 1px; }
/* Half the row width (Jay 2026-10-08): 260px, placed over its info button by product-spec-tips.js
   (--tip-left / --tip-arrow), clamped inside the card row. */
.spec-tip {
  position: absolute; left: var(--tip-left, 0px); width: min(260px, 100%); bottom: calc(100% + 8px); z-index: 5;
  padding: 12px 14px; border-radius: 10px; background: #fff; color: #181a16;
  font-size: 13.5px; font-weight: 500; line-height: 1.5; box-shadow: 0 14px 34px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.spec-tip::after {
  content: ""; position: absolute; top: 100%; left: var(--tip-arrow, 22px); border: 7px solid transparent; border-top-color: #fff;
}
.spec-nowrap { white-space: nowrap; }
.spec-nowrap .spec-tip { white-space: normal; }
.spec-item:hover .spec-tip,.spec-info:focus-visible + .spec-tip, .spec-info[aria-expanded="true"] + .spec-tip {
  opacity: 1; visibility: visible; transform: none;
}

.spec-sub { margin: 4px 0 10px; color: #a9c8a2; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.spec-card-grids ul + .spec-sub { margin-top: 20px; }
.spec-card ul.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-card ul.spec-chips li {
  display: inline-flex; padding: 6px 12px; border: 1px solid #ffffff2e; border-radius: 999px;
  color: #fff; font-size: 13px; font-weight: 600;
}

/* Grid patterns as pictures (Jay 2026-10-08): a tile per pattern with a window diagram and its name. */
.spec-card ul.spec-patterns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.spec-card ul.spec-patterns li.spec-pattern {
  display: grid; justify-items: center; align-content: start; gap: 9px; width: 92px; margin: 0; padding: 14px 6px 11px;
  border: 1px solid #ffffff2e; border-radius: 12px; background: #ffffff08;
  color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.25; text-align: center;
}
.spec-card ul.spec-patterns .spec-pattern-svg { width: 40px; height: 54px; margin: 0; color: #a9c8a2; }
@media (min-width: 861px) { .spec-card ul.spec-patterns { flex-wrap: nowrap; } }
@media (max-width: 600px) {
  .spec-card ul.spec-patterns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .spec-card ul.spec-patterns li.spec-pattern { width: auto; padding: 12px 4px 10px; font-size: 11.5px; }
}

/* Colour section (Jay 2026-10-08, garden: "too much white space on the left, not balanced").
   Heading runs across the top; each live colour group is its own card underneath (2 groups side by
   side, 3 across, 4 as 2 x 2). Inside a card every swatch is a dot above its name, in balanced
   columns: 7 = 4+3 (Jay), 8 = 4+4, 9 = 5+4, 6 = 3+3, 5 = 3+2. The !important on grid-column clears
   the 60-column span rules from zz-swatches.css, which load later and are more specific. */
.finish-spec.finish-spec-live { grid-template-columns: 1fr; align-items: start; gap: 22px; }
.finish-spec-live > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); column-gap: 48px; align-items: end; }
.finish-spec-live > div:first-child > .mini-label,
.finish-spec-live > div:first-child > h3 { grid-column: 1; }
.finish-spec-live > div:first-child h3 { margin-bottom: 0; }
.finish-spec-live > div:first-child > p { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
@media (max-width: 860px) {
  .finish-spec-live > div:first-child { grid-template-columns: minmax(0, 1fr); }
  .finish-spec-live > div:first-child > p { grid-column: 1; grid-row: auto; margin-top: 8px; }
}
.finish-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.finish-rows.finish-rows-1 { grid-template-columns: minmax(0, 560px); }
.finish-rows.finish-rows-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.finish-row { display: grid; align-content: start; gap: 14px; padding: 18px 18px 20px; border-radius: 12px; background: #f5f6f3; border: 1px solid #e6e9e3; }
.finish-row-label { color: #1d4b16; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.finish-row .finish-spec-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; }
.finish-row .finish-spec-swatches:has(> span:first-child:nth-last-child(9)),
.finish-row .finish-spec-swatches:has(> span:first-child:nth-last-child(10)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.finish-row .finish-spec-swatches:has(> span:first-child:nth-last-child(5)),
.finish-row .finish-spec-swatches:has(> span:first-child:nth-last-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.finish-row .finish-spec-swatches > span {
  grid-column: auto !important; flex-direction: column; justify-content: flex-start; align-items: center; gap: 7px;
  min-width: 0; text-align: center; font-size: 12px; line-height: 1.25; overflow-wrap: anywhere;
}
.finish-row .finish-spec-swatches i { width: 28px; height: 28px; flex: none; }
@media (max-width: 1024px) {
  .finish-rows.finish-rows-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .finish-rows, .finish-rows.finish-rows-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .finish-row { padding: 16px 12px 18px; }
  .finish-row .finish-spec-swatches { gap: 14px 4px; }
  .finish-row .finish-spec-swatches > span { font-size: 11px; }
}

@media (max-width: 1024px) {
  .spec-grid.spec-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid.spec-cols-3 > .spec-card:nth-child(3):not(.spec-card-grids) { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .spec-grid.spec-cols-2, .spec-grid.spec-cols-3, .spec-grid.spec-cols-4 { grid-template-columns: 1fr; }
  .spec-grid.spec-cols-3 > .spec-card:nth-child(3):not(.spec-card-grids) { grid-column: auto; }
  .spec-grids-body { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .spec-grids-col ul:not(.spec-chips):not(.spec-patterns) { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .spec-tip, .spec-info { transition: none; }
}


/* ==== product-specs.css ==== */
/* Window product pages - section.product-specs#specifications (reference CSS ported verbatim).
   Loaded after wssa-global.css. */
.product-specs { background: var(--navy); color: #fff; }
.product-specs .section-heading p { color: #c6cdc3; }
/* Lighthouse 2026-10-08: the brand-green eyebrow on the navy section was 1.84:1; light green passes AA. */
.product-specs .section-heading .eyebrow { color: #a9c8a2; }
.spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; display: grid; }
.spec-card { background: #ffffff0e; border: 1px solid #ffffff21; border-radius: 14px; padding: 28px; }
.spec-card-head { align-items: center; gap: 12px; margin-bottom: 20px; display: flex; }
.spec-card-head svg { color: #a9c8a2; width: 25px; height: 25px; }
.spec-card h3 { color: #fff; margin: 0; font-size: 20px; }
.spec-card ul { gap: 11px; margin: 0; padding: 0; list-style: none; display: grid; }
.spec-card li { color: #d5dbd2; align-items: flex-start; gap: 9px; font-size: 14px; display: flex; }
.spec-card li svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }
.finish-spec { color: var(--ink); background: #fff; border-radius: 14px; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 55px; margin-top: 22px; padding: 28px; display: grid; }
.finish-spec h3 { margin: 5px 0 8px; font-size: 23px; }
.finish-spec p { margin: 0; font-size: 13px; }
.finish-spec-swatches { flex-wrap: wrap; gap: 9px 13px; display: flex; }
.finish-spec-swatches span { color: var(--ink); align-items: center; gap: 7px; font-size: 12px; font-weight: 700; display: flex; }
.finish-spec-swatches i { border: 1px solid #0003; border-radius: 50%; width: 22px; height: 22px; box-shadow: inset 0 0 0 2px #ffffff8c; }
.spec-disclaimer { color: #aeb6ab; margin: 16px 0 0; font-size: 12px; }

@media (max-width: 860px) {
  .spec-grid { grid-template-columns: 1fr; }
  .finish-spec { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .spec-card, .finish-spec { padding: 23px 20px; }
}


/* ==== project-photos.css ==== */
/* Project photos (Jay 2026-10-08): real project gallery on /about-us/gallery/ with filters + lightbox. */
.project-photos-section { background: #f5f6f3; }
.pp-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.pp-filters[hidden] { display: none; }
.pp-filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid #dde2da;
  border-radius: 999px; background: #fff; color: #181a16; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}
.pp-filter span { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 999px; background: #eef3ec; color: #1d4b16; font-size: 12px; }
.pp-filter:hover { border-color: #9bb294; }
.pp-filter[aria-pressed="true"] { border-color: #1d4b16; background: #1d4b16; color: #fff; }
.pp-filter[aria-pressed="true"] span { background: #ffffff26; color: #fff; }
.pp-filter:focus-visible, .pp-open:focus-visible { outline: 3px solid #9bb294; outline-offset: 2px; }

.pp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pp-item[hidden] { display: none; }
.pp-open {
  display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 12px; overflow: hidden;
  background: #dde3da; cursor: zoom-in; box-shadow: 0 6px 18px rgba(13,16,11,.08);
  transition: transform 220ms cubic-bezier(.2,.65,.3,1), box-shadow 220ms ease;
}
.pp-open img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.pp-open:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(13,16,11,.16); }
.pp-open:hover img { transform: scale(1.04); }

html.pp-locked { overflow: hidden; }
.pp-lightbox {
  width: min(1200px, calc(100vw - 32px)); max-width: none; height: min(92vh, 960px); max-height: none; margin: auto; padding: 0;
  border: 0; background: transparent; overflow: visible;
}
.pp-lightbox::backdrop { background: rgba(9,10,8,.88); }
.pp-stage { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 12px; height: 100%; margin: 0; }
.pp-big { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; background: #111; }
.pp-stage figcaption { color: #e9ede7; font-size: 14px; text-align: center; }
.pp-count { margin-left: 8px; color: #9bb294; font-weight: 700; }
.pp-nav, .pp-close {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: #ffffffeb; color: #181a16; cursor: pointer; transition: background-color 220ms ease, color 220ms ease;
}
.pp-nav { top: 50%; margin-top: -24px; }
.pp-prev { left: -8px; }
.pp-next { right: -8px; }
.pp-close { top: -8px; right: -8px; }
.pp-nav:hover, .pp-close:hover { background: #1d4b16; color: #fff; }
.pp-nav:focus-visible, .pp-close:focus-visible { outline: 3px solid #9bb294; outline-offset: 2px; }

@media (max-width: 1024px) { .pp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .pp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pp-filter { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .pp-prev { left: 4px; } .pp-next { right: 4px; } .pp-close { top: 4px; right: 4px; }
  .pp-nav, .pp-close { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .pp-open, .pp-open img, .pp-filter { transition: none; } .pp-open:hover, .pp-open:hover img { transform: none; } }


/* ==== testimonials.css ==== */
/* /testimonials/ (2026-10-08): Google reviews grid (wssa_testimonials). Site tokens only; the
   .stars look matches home-08-reviews.css. Section padding comes from the global .section rules. */

.testimonials-section { background: var(--light); }
.tm .stars { color: #ffbf3f; letter-spacing: 2px; font-size: 18px; line-height: 1; }
.tm .stars .off { color: #d5d9d2; }

.tm-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.tm-intro { max-width: 680px; }
.tm-intro h2 { margin-bottom: 12px; }
.tm-intro p { margin: 0; }

.tm-score { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.tm-score-num { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.tm-score-body p { margin: 6px 0 4px; color: var(--text); font-weight: 700; font-size: 15px; }
.tm-score-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.tm-score-links a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.tm-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tm-filters button { cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; min-height: 44px; padding: 8px 18px; }
.tm-filters button span { color: var(--muted); font-weight: 500; }
.tm-filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tm-filters button[aria-pressed="true"] span { color: #dce8d8; }
.tm-filters button:focus-visible, .tm-toggle:focus-visible, .tm-score-links a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Masonry (Jay 2026-10-08): CSS columns, cards at their natural height, no gaps under short reviews. */
.tm-grid { display: block; column-count: 3; column-gap: 20px; }
.tm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 20px; width: 100%; box-sizing: border-box; }
.tm-card[hidden] { display: none; }
.tm-person { display: flex; align-items: center; gap: 12px; }
.tm-initials { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: 15px; }
.tm-person > span:last-child { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.tm-person strong { color: var(--navy); overflow-wrap: anywhere; }
.tm-person small { color: var(--muted); font-size: 13px; }

.tm-text { color: var(--text); overflow-wrap: anywhere; }
.tm-text p { color: var(--text); margin: 0 0 10px; font-size: 15.5px; line-height: 1.6; }
.tm-text p:last-child { margin-bottom: 0; }
.tm-text.is-clamped:not(.is-open) { max-height: calc(1.6em * 8); overflow: hidden; position: relative; }
.tm-text.is-clamped:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(#fff0, #fff); }
.tm-text.is-fit::after { display: none; }
.tm-toggle[hidden] { display: none; }
.tm-toggle { align-self: flex-start; cursor: pointer; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.tm-source { color: var(--muted); font-size: 12.5px; margin-top: auto; }

.tm-pager { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }
.tm-pager p { margin: 0; color: var(--muted); font-size: 15px; }
.tm-pager .btn[hidden] { display: none; }

@media (max-width: 1120px) {
  .tm-grid { column-count: 2; }
}

@media (max-width: 860px) {
  .tm-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .tm-grid { column-count: 1; }
  .tm-score { width: 100%; padding: 18px; gap: 14px; }
  .tm-score-num { font-size: 44px; }
  .tm-card { padding: 20px; }
}


/* ==== zz-cro-a11y.css ==== */
/* Conversion and accessibility fixes from the 2026-10-09 site review (docs/audit/site-review-2026-10-09.md). */

/* The GHL chat must not sit over the open quote pop-up or the mobile drawer. */
body.wssa-locked chat-widget { display: none !important; }

/* Thank-you page: the visitor has just sent a request, so no second "Free Quote" prompt and no chat
   greeting; the mobile bar keeps only Call. */
body.wssa-thank-you .header-quote,
body.wssa-thank-you .mobile-cta [data-wssa-open="quote"],
body.wssa-thank-you .wssa-float-cta,
body.wssa-thank-you chat-widget { display: none !important; }
body.wssa-thank-you .mobile-cta { grid-template-columns: 1fr !important; }

/* Desktop menus: Escape closes an open dropdown even while focus stays on its trigger (main.js adds
   .kb-closed until focus or the pointer leaves the item). */
.nav-item.kb-closed .menu-dropdown,
.nav-item.kb-closed .mega-dropdown { opacity: 0 !important; visibility: hidden !important; }

/* The compare table scrolls sideways on phones and is now keyboard-focusable: show where focus is. */
.compare-card:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }


/* ==== zz-floating-actions.css ==== */
/* Floating actions: back to top (bottom left, progress ring) + Get Free Estimate (bottom right).
   Copied from omgkitchenbath.com (.back-to-top / .float-cta, see docs/omg-floating-buttons.md),
   recolored to WSSA green. Markup is inserted by js/zz-floating-actions.js.
   Shown past 400px of scroll, 0.3s opacity fade. Lifted to 79px within 200px of the page end.
   z-index 70: above content and the sticky header (50), below the mobile CTA bar (80),
   drawer (90) and quote modal (100). */
.wssa-float {
  position: fixed;
  bottom: 24px;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s, transform .3s, background-color .3s, bottom .3s, visibility 0s linear .3s;
}
.wssa-float.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .3s, transform .3s, background-color .3s, bottom .3s, visibility 0s;
}
.wssa-float.is-near-bottom { bottom: 79px; }
body.wssa-locked .wssa-float { opacity: 0; visibility: hidden; pointer-events: none; transition: none; }

.wssa-float:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #1d4b16; }

/* Back to top: 44px circle, chevron-up 16px, scroll progress ring r19 stroke 3 */
.wssa-back-to-top {
  left: 24px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #1d4b16;
  background: #1d4b16;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
  cursor: pointer;
}
.wssa-back-to-top:hover { background: #143810; transform: translateY(-3px); }
.wssa-back-to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wssa-back-to-top__arrow { position: relative; z-index: 1; transform: translateY(-1px); }

/* Get Free Estimate: text button, 14px 22px, 12px 800 uppercase, 1px tracking */
.wssa-float-cta {
  right: 85px; /* Jay 2026-10-09 (was 24px) */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 22px;
  border: 1px solid #1d4b16;
  border-radius: 8px;
  background: #1d4b16;
  color: #fff;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.wssa-float-cta:hover { background: #143810; transform: translateY(-2px); }

/* Mobile: the fixed Call / Free Quote bar (64px, max-width 600px) replaces the estimate button,
   as OMG hides .float-cta where its own bar appears. Back to top sits 10px above the bar. */
@media (max-width: 600px) {
  .wssa-float-cta { display: none; }
  .wssa-back-to-top { left: 16px; bottom: 74px; }
  .wssa-back-to-top.is-near-bottom { bottom: 169px; }
}

@media (prefers-reduced-motion: reduce) {
  .wssa-float, .wssa-float.is-visible { transition: none; }
  .wssa-back-to-top:hover, .wssa-float-cta:hover { transform: none; }
}


/* ==== zz-footer-extras.css ==== */
/* ==========================================================================
   zz-footer-extras.css - footer additions (Jay 2026-10-08), markup in widgets/class-wssa-footer.php
   1. h4.footer-subhead (Doors under Windows, Service Areas under Services) + .footer-view-all
   2. .footer-proof strip: three proof cards + quote-modal button, INSIDE the content container
   3. "Built by Red Flame Media" credit in the legal row
   Hover values follow the Austin spec in zz-interactions.css (220ms, cubic-bezier(.2,.65,.3,1)).
   The footer link underline grow already applies to every new column link and the credit link.
   ========================================================================== */

/* -- 1. Column sub-headings (same look as the column h3, spaced off the list above) -- */
.footer .footer-top .footer-subhead {
  color: #fff; font-size: 16px; font-weight: 700; line-height: 1.12; letter-spacing: -0.035em;
  margin: 18px 0 9px;
}
/* Block (not flex) so a wrapped label keeps the arrow right after its last word on narrow columns. */
.footer .footer-top > div:not(:first-child) a.footer-view-all { display: block; margin-top: 4px; color: #d8e6d4; font-weight: 700; }
.footer a.footer-view-all .nowrap { white-space: nowrap; }
.footer .footer-top > div:not(:first-child) a.footer-view-all svg {
  display: inline-block; vertical-align: -2px; margin: 0 0 0 6px;
  width: 14px; height: 14px; color: currentColor;
  transition: transform var(--interaction-speed, 220ms) var(--interaction-ease, ease);
}
@media (hover: hover) {
  .footer .footer-top > div:not(:first-child) a.footer-view-all:hover svg { transform: translateX(4px); }
}
.footer .footer-top > div:not(:first-child) a.footer-view-all:focus-visible svg { transform: translateX(4px); }

/* -- 1b. Service areas row (Austin footer pattern, Jay 2026-10-08): heading + wrapping underlined
      city links, full content width, divider above; the proof strip's divider closes it. -- */
.footer .footer-areas { display: block; padding: 34px 0 30px; border-top: 1px solid #ffffff1a; }
.footer .footer-areas h3 { margin: 0 0 16px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: #fff; text-transform: none; }
.footer .footer-areas-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
/* Counties row (2026-10-08) sits right under the communities row: no second divider. */
.footer .footer-areas.footer-counties { border-top: 0; padding-top: 0; }
.footer .footer-areas-links a {
  display: inline; margin: 0; padding: 0; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.6;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: color var(--interaction-speed, 220ms) var(--interaction-ease, ease), text-decoration-color var(--interaction-speed, 220ms);
}
.footer .footer-areas-links a::after { content: none; }
.footer .footer-areas-links a:hover, .footer .footer-areas-links a:focus-visible { color: #b9d3b3; text-decoration-color: #b9d3b3; }
@media (max-width: 767px) {
  .footer .footer-areas { padding: 28px 0 24px; }
  .footer .footer-areas h3 { font-size: 18px; }
  .footer .footer-areas-links { gap: 8px 18px; }
}

/* -- 2. Social proof strip. The row is the .container, so its width is the content container. -- */
.footer-proof {
  display: flex; justify-content: center; align-items: center;
  padding: 26px 0; border-top: 1px solid #ffffff1a;
}
/* Cards centred (Jay 2026-10-08); the far-right CTA is the floating estimate button (zz-floating-actions). */
.footer-proof-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; min-width: 0; }
.footer .proof-card {
  display: flex; align-items: center; gap: 14px; min-width: 210px; padding: 14px 20px;
  background: #ffffff08; border: 1px solid #ffffff1a; border-radius: 12px; color: #fff;
  transition: transform var(--interaction-speed, 220ms) var(--interaction-ease, ease), border-color var(--interaction-speed, 220ms), background-color var(--interaction-speed, 220ms), box-shadow var(--interaction-speed, 220ms);
}
.proof-card-icon { display: grid; place-items: center; flex: none; width: 24px; height: 24px; }
.proof-card-icon svg { display: block; width: 24px; height: 24px; }
.proof-card--facebook .proof-card-icon { color: #1877f2; }
.proof-card--youtube .proof-card-icon { color: #ff0000; }
.proof-card-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.proof-card-stars { color: #ffbf3f; letter-spacing: 2px; font-size: 12px; line-height: 1; margin-bottom: 4px; }
.proof-card-text strong { font-size: 15px; font-weight: 700; color: #fff; }
.proof-card-text small { font-size: 12.5px; color: #aeb5ab; }
.footer-proof .footer-proof-cta { justify-self: end; white-space: nowrap; }
@media (hover: hover) {
  .footer .proof-card:hover { transform: translateY(-3px); border-color: #ffffff38; background: #ffffff0f; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
}
.footer .proof-card:focus-visible { border-color: #b9d3b3; }

/* Tablet (Elementor 1024): cards share one full row, button below them. */
@media (max-width: 1024px) {
  .footer-proof { grid-template-columns: 1fr; gap: 16px; }
  .footer-proof-cards .proof-card { flex: 1 1 0; }
  .footer-proof .footer-proof-cta { justify-self: start; }
}
/* Mobile (Elementor 767): cards stack full width, button full width. */
@media (max-width: 767px) {
  .footer-proof-cards { flex-direction: column; width: 100%; }
  .footer-proof-cards .proof-card { flex: none; width: 100%; min-width: 0; }
  .footer-proof .footer-proof-cta { justify-self: stretch; width: 100%; white-space: normal; }
}

/* -- 3. Legal row credit -- */
.footer-bottom > div { align-items: center; }
.footer-sep { opacity: .5; }
.footer-credit { white-space: nowrap; }
@media (max-width: 600px) {
  .footer-sep { display: none; }
  .footer-credit { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .footer .proof-card, .footer a.footer-view-all svg { transform: none !important; }
}


/* ==== zz-interactions.css ==== */
/* ==========================================================================
   zz-interactions.css - site-wide hover / focus feedback (loads LAST)
   Spec: docs/window-source-austin-hover-effects-handover.md (Window Source of Austin).
   Selector mapping to the San Antonio markup: docs/hover-patterns.md.

   Values: 220ms, cubic-bezier(.2,.65,.3,1); footer underline 260ms; image/icon 300ms;
   card lift 3px, small surface lift 2px; arrow nudge 4px; highlight #9bb294;
   footer underline + social highlight #b9d3b3; hover surface var(--blue-soft) (#eef3ec).

   Nothing here changes a resting state except the review arrows, which are now
   centred grid circles (40px, 20px block SVGs) as the spec requires.
   Selectors that do not exist on San Antonio (.style-picker, .county-links,
   .county-context-grid, .contact-card, .back-to-top, .breadcrumbs a, .product-lifestyle img,
   .finish-swatch-row) are kept so the rules apply if that markup ever appears.
   ========================================================================== */

:root { --interaction-speed: 220ms; --interaction-ease: cubic-bezier(.2,.65,.3,1); }

/* -- Transitions (invisible at rest) -- */
:is(.btn, .text-link, .circle-link, .priority-buttons button, .style-picker button,
 .review-controls button, .socials a, .back-to-top, .menu-button, .mobile-head button,
 .header-phone, .brand, .mobile-links a, .breadcrumbs a) {
  transition: transform var(--interaction-speed) var(--interaction-ease), background-color var(--interaction-speed), color var(--interaction-speed), border-color var(--interaction-speed), box-shadow var(--interaction-speed);
}
:is(.btn, .text-link, .circle-link, .top-offer a) .lucide-arrow-right,
.review-controls svg { transition: transform var(--interaction-speed) var(--interaction-ease); }
:is(.partner-logo, .process-step, .review-feature, .review-side, .trust-item,
 .needs-result, .style-result, .spec-card, .benefit-grid > div, .about-values article,
 .contact-card, .county-context-grid article, .geo-page-context, .service-card, .team-card,
 .project-gallery-card, .planner-result, .best-for) {
  transition: transform var(--interaction-speed) var(--interaction-ease), box-shadow var(--interaction-speed), border-color var(--interaction-speed), background-color var(--interaction-speed);
}
:is(.partner-logo img, .step-icon, .review-side > img, .product-primary img,
 .product-lifestyle img, .explorer-visual > img, .trust-item > svg) {
  transition: transform 300ms var(--interaction-ease);
}
.faq-item { transition: background-color var(--interaction-speed), border-color var(--interaction-speed); }
.compare-row { transition: background-color var(--interaction-speed), box-shadow var(--interaction-speed); }
.faq-item button { transition: color var(--interaction-speed); }
.faq-item button > span { transition: transform var(--interaction-speed); }

/* -- Footer expanding underline. Base, hover and focus share ONE fully scoped selector so the
      hover rule can never lose the specificity fight with the base scaleX(0). -- */
.footer :is(.footer-top > div:not(:first-child) a, .county-links a, .footer-bottom a) {
  position: relative; width: fit-content; max-width: 100%; align-self: flex-start;
  transition: color var(--interaction-speed), transform var(--interaction-speed);
}
.footer :is(.footer-top > div:not(:first-child) a, .county-links a, .footer-bottom a)::after {
  content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px;
  background: #b9d3b3; transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--interaction-ease);
}
.footer :is(.footer-top > div:not(:first-child) a, .county-links a, .footer-bottom a):focus-visible::after { transform: scaleX(1); }

/* -- Testimonial: white quote text, centred circle arrows -- */
.review-feature :is(.review-summary, blockquote) { color: #fff; }
.review-controls button {
  width: 40px; height: 40px; padding: 0; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer;
}
.review-controls button svg { display: block; width: 20px; height: 20px; }

/* -- Focus parity -- */
:is(.btn, .text-link, .circle-link, .top-offer a):focus-visible .lucide-arrow-right { transform: translateX(4px); }
.faq-item:focus-within { background: var(--blue-soft); border-color: #9bb294; }
.style-result:focus-within { box-shadow: 0 8px 22px rgba(13,16,11,.1); }

@media (hover: hover) {
  :is(.partner-logo, .process-step, .review-feature, .review-side, .spec-card,
   .benefit-grid > div, .about-values article, .contact-card, .county-context-grid article,
   .service-card, .team-card, .project-gallery-card):hover {
    transform: translateY(-3px); border-color: #9bb294; box-shadow: 0 12px 30px rgba(13,16,11,.1);
  }
  /* SA city context block has a 4px green left accent: lift and shadow only, keep the accent colour. */
  .geo-page-context:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(13,16,11,.1); }
  :is(.trust-item, .needs-result, .style-result, .planner-result, .best-for):hover {
    transform: translateY(-2px); box-shadow: 0 8px 22px rgba(13,16,11,.08);
  }
  .partner-logo:hover img { transform: scale(1.035); }
  .process-step:hover .step-icon, .trust-item:hover > svg { transform: translateY(-2px) scale(1.04); }
  .review-side:hover > img, .product-primary:hover img, .product-lifestyle:hover img,
  .explorer-visual:hover > img { transform: scale(1.025); }
  .faq-item:hover { background: var(--blue-soft); border-color: #9bb294; }
  .compare-row:hover { background: var(--blue-soft); box-shadow: inset 3px 0 0 #9bb294; }
  .faq-item:hover button { color: var(--blue); }
  .faq-item:hover button > span:first-child { transform: translateX(4px); }
  :is(.priority-buttons, .style-picker) button:hover {
    transform: translateY(-2px); background: var(--blue-soft); border-color: var(--blue); color: var(--blue);
    box-shadow: 0 5px 12px rgba(13,16,11,.08);
  }
  .style-picker button.active:hover { background: var(--blue-dark); color: #fff; }
  /* Finish labels: lift + tint. SA spec swatches have no padding, so the tint is padded with a same-colour spread (no layout change). */
  .finish-swatches > span:hover, .finish-swatch-row > span:hover { transform: translateY(-2px); background: var(--blue-soft); }
  .finish-spec-swatches > span:hover { transform: translateY(-2px); background: var(--blue-soft); box-shadow: 0 0 0 4px var(--blue-soft); border-radius: 8px; }
  :is(.btn, .text-link, .circle-link, .top-offer a):hover .lucide-arrow-right { transform: translateX(4px); }
  .text-link:hover { color: var(--blue-dark); }
  .circle-link:hover, .review-controls button:hover { transform: translateY(-2px); background: var(--green); border-color: #b9d3b3; box-shadow: 0 5px 14px rgba(13,16,11,.15); }
  .review-controls button:first-child:hover svg { transform: translateX(-2px); }
  .review-controls button:last-child:hover svg { transform: translateX(2px); }
  .socials a:hover { transform: translateY(-2px); background: #b9d3b3; color: var(--blue-dark); }
  .footer :is(.footer-top > div:not(:first-child) a, .county-links a, .footer-bottom a):hover { color: #fff; transform: translateY(-1px); }
  .footer :is(.footer-top > div:not(:first-child) a, .county-links a, .footer-bottom a):hover::after { transform: scaleX(1); }
  :is(.header-phone, .brand, .mobile-links a, .breadcrumbs a):hover { transform: translateY(-1px); }
  :is(.back-to-top, .menu-button, .mobile-head button):hover { transform: translateY(-2px); background: var(--blue); color: #fff; }
  .btn-outline:hover { background: var(--blue-soft); border-color: var(--blue); }
  .btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
  .btn:disabled:hover { transform: none; }
}

/* -- Reduced motion: stop movement on the listed components, keep colour feedback and the
      scaleX footer underline. Never a global transform reset (dropdowns and underlines rely on transform). -- */
@media (prefers-reduced-motion: reduce) {
  :is(.btn, .text-link, .circle-link, .priority-buttons button, .style-picker button,
   .review-controls button, .socials a, .top-socials a, .back-to-top, .menu-button,
   .header-phone, .brand, .partner-logo, .process-step, .review-feature, .review-side,
   .trust-item, .needs-result, .style-result, .spec-card, .benefit-grid > div,
   .about-values article, .contact-card, .county-context-grid article, .geo-page-context, .service-card,
   .team-card, .project-gallery-card, .planner-result, .best-for, .needs-tabs button,
   .finish-swatches > span, .finish-swatch-row > span, .finish-spec-swatches > span, .window-visual-card,
   .style-alternative-card, .social-post, .geo-preview-card, .geo-directory-card,
   .resource-card), .footer a, main img, .partner-logo img, .step-icon,
   .trust-item > svg, .faq-item button > span, .lucide-arrow-right, .review-controls svg {
    transform: none !important;
  }
}


/* ==== zz-perf.css ==== */
/* Mobile performance notes (2026-10-10). Tried content-visibility: auto on off-screen page sections: homepage
   Lighthouse median unchanged (82 -> 82, LCP 4.7 -> 4.2 s) while the page height jumped as sections rendered
   (homepage mobile 21898 px estimated as 16388 px), so it was reverted. Kept here as a record; no rules. */


/* ==== zz-ready.css ==== */
/* No transitions until the page has loaded (js/zz-ready.js adds html.wssa-ready), so the async full CSS
   replacing the critical CSS does not animate every link and card once during load (2026-10-11). */
html:not(.wssa-ready) *, html:not(.wssa-ready) *::before, html:not(.wssa-ready) *::after { transition: none !important; }


/* ==== zz-sticky.css ==== */
/* Sticky sidebar, site-wide (Jay 2026-10-08): in every two-column content section the shorter
   column stays in view while the taller one scrolls, then releases at the end of the section.
   Both columns are sticky; only the shorter one can move, because sticky is bounded by the
   column's own grid cell and a column as tall as its row has no room. Columns align to the top
   of the row (Jay 2026-10-08, final CTA), so the shorter one starts level with the taller one and
   rides down beside it. Desktop only: below 860px the columns stack. Offset = 86px header + 24px. */
@media (min-width: 861px) {
  .content-grid > *,
  .faq-grid > *,
  .about-story-grid > *,
  .difference-grid > *,
  .planner-grid > *,
  .final-grid > *,
  .explorer-grid > *,
  .local-intro-grid > *,
  .window-product-layout > *,
  .team-accountability-grid > * {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}


/* ==== zz-swatches.css ==== */
/* Colour swatch rows, site-wide (Jay 2026-10-08): first row of five, the remainder spread evenly
   across the second row, each row using the full width. Works for any swatch count (products
   carry different numbers of finishes) via a 60-column grid and quantity queries:
   row 1 = 5 items x 12 columns; row 2 = k items x 60/k columns (k = 1..5).
   The homepage explorer (.finish-swatches) already follows this pattern (home-04 CSS). */
.finish-spec-swatches { display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 12px 0; }
.finish-spec-swatches > span { grid-column: span 12; justify-content: center; min-width: 0; }

/* Five or fewer: a single row, spread evenly. */
.finish-spec-swatches > span:first-child:nth-last-child(1),
.finish-spec-swatches > span:first-child:nth-last-child(1) ~ span { grid-column: span 60; }
.finish-spec-swatches > span:first-child:nth-last-child(2),
.finish-spec-swatches > span:first-child:nth-last-child(2) ~ span { grid-column: span 30; }
.finish-spec-swatches > span:first-child:nth-last-child(3),
.finish-spec-swatches > span:first-child:nth-last-child(3) ~ span { grid-column: span 20; }
.finish-spec-swatches > span:first-child:nth-last-child(4),
.finish-spec-swatches > span:first-child:nth-last-child(4) ~ span { grid-column: span 15; }

/* Six to ten: the second row holds n - 5 items, spread evenly. */
.finish-spec-swatches > span:first-child:nth-last-child(6) ~ span:nth-child(n+6) { grid-column: span 60; }
.finish-spec-swatches > span:first-child:nth-last-child(7) ~ span:nth-child(n+6) { grid-column: span 30; }
.finish-spec-swatches > span:first-child:nth-last-child(8) ~ span:nth-child(n+6) { grid-column: span 20; }
.finish-spec-swatches > span:first-child:nth-last-child(9) ~ span:nth-child(n+6) { grid-column: span 15; }
/* 10 items: both rows of five, span 12 (the default). */

/* Narrow screens: stack the dot above its label so five fit across. */
@media (max-width: 600px) {
  .finish-spec-swatches > span { flex-direction: column; text-align: center; gap: 6px; line-height: 1.25; font-size: 11px; overflow-wrap: anywhere; }
  .finish-spec-swatches { gap: 12px 4px; }
}


/* ==== zz-topbar.css ==== */
/* Top bar, new layout (Jay 2026-10-10). Rules verbatim from docs/new-home/layout (styles.css + new-rules.css),
   plus the sticky-header offset for the taller mobile bar. Markup: widgets/class-wssa-header.php. */
.new-offer-bar { background: #090b08; height: 38px; }
.new-offer-bar .offer-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 38px; width: min(1360px, calc(100% - 40px)); padding: 0; gap: 22px; }
.new-local, .new-finance-link { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; line-height: 1.3; }
.new-local { color: #fff; }
.new-local svg { color: #91b875; flex-shrink: 0; }
.new-offer { color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; }
.new-finance-link { color: #9ac879; justify-self: end; }
@media (max-width: 1100px) {
  .new-offer-bar .offer-inner { gap: 14px; }
  .new-local, .new-offer, .new-finance-link { font-size: 12px; }
}
@media (max-width: 860px) {
  .new-offer-bar { height: auto; }
  /* row gap 2px (layout: 4px) so the 16px pin icon still gives a 50px bar, matching the sticky offset */
  .new-offer-bar .offer-inner { grid-template-columns: 1fr auto; min-height: 50px; gap: 2px 10px; padding: 8px 0; }
  .new-local { grid-column: 1; font-size: 11px; }
  .new-offer { grid-column: 1; text-align: left; font-size: 12px; }
  .new-finance-link { grid-column: 2; grid-row: 1 / 3; font-size: 12px; }
  /* The bar is 50px tall here: scroll it away and keep the nav pinned (wssa-global.css used 38/44px). */
  body .elementor-location-header, body.admin-bar .elementor-location-header { top: -50px; }
}
@media (max-width: 600px) {
  .new-offer-bar, .new-offer-bar .offer-inner { min-height: 50px; }
}


/* ==== zz-yt-facade.css ==== */
/* YouTube click-to-play facade in blog posts (inc/blog-content-filters.php, js/zz-yt-facade.js). */
.wssa-yt { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 24px 0; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; }
.wssa-yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wssa-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wssa-yt-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.wssa-yt-play svg { width: 68px; height: 48px; opacity: .9; transition: opacity .2s ease, transform .2s ease; }
.wssa-yt:hover .wssa-yt-play svg, .wssa-yt-play:focus-visible svg { opacity: 1; transform: scale(1.06); }
.wssa-yt-play:focus-visible { outline: 3px solid #9fc497; outline-offset: -3px; }

