/* =================================================================
   Waste Cost Solutions - theme styles (wcs.css)
   Generated from the approved static prototype. Collision-prone class
   names (.nav .nav-link .lead .breadcrumb .fb-size-2xl/3xl .btn-site)
   are renamed to .wcs-* so they don't clash with Bootstrap / the theme.
   Loaded after the theme style.css; defines WCS brand tokens globally.
   Reveal animation is driven by the theme GSAP controller.
   ================================================================= */

/* =================================================================
   Waste Cost Solutions — Homepage prototype
   Built in the Tiny Flamingo theme's language (brand tokens, fb-size-*,
   Bootstrap 5 utilities). Display sizes are anchored to the Figma 1920
   frame and scale fluidly via clamp(). See docs/guides/ai-build-contract.md.
   ================================================================= */

/* ---- Brand tokens (map to theme --agency-* / --surface-* / --text-*) ---- */
:root {
  --agency-primary: #14632f;       /* forest green — buttons, links, accents */
  --agency-primary-deep: #0e4b23;  /* deep green — testimonial */
  --agency-secondary: #6fa234;     /* olive — gradient mid */
  --agency-dark: #161614;          /* near-black — dark sections, headings */
  --agency-accent: #c8d92b;        /* lime — highlights */

  --surface-primary: #f4f2ec;      /* page background (warm cream) */
  --surface-white: #ffffff;        /* stats / nav */
  --surface-black: #121212;        /* compactor card / ed-grid */

  --text-primary: #161614;
  --text-secondary: #44443e;
  --text-muted: #6b6b62;
  --text-on-dark: #f5f5f0;

  --border-color: #ddd9cc;
  --border-color-dark: #2a2a26;

  --gutter: clamp(20px, 3.75vw, 72px);
  --maxw: 1920px;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p { margin: 0; }

/* ---- Container ---- */
.wcs-container { max-width: var(--maxw); margin-inline: auto; }
.wcs-px { padding-inline: var(--gutter); }

/* ---- Type scale (fb-size-* per build contract + display sizes from Figma) -- */
.fb-display    { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 0.92; letter-spacing: 0.006em; overflow-wrap: break-word; }
.fb-size-hero  { font-size: clamp(44px, 6.1vw, 117px); }   /* hero h1 117 */
.wcs-2xl   { font-size: clamp(40px, 6.25vw, 120px); }  /* section h2 120 */
.fb-size-quote { font-size: clamp(56px, 7.3vw, 140px); }   /* GET A FREE QUOTE 140 */
.wcs-3xl   { font-size: clamp(42px, 4.17vw, 80px); }   /* service title 80 */
.fb-size-tile  { font-size: clamp(22px, 1.85vw, 32px); }   /* industry tile 32 */
.fb-size-stat  { font-size: clamp(60px, 5vw, 96px); }      /* stat number 96 */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.eyebrow--accent { color: var(--agency-accent); }

.wcs-lead {
  font-size: clamp(17px, 1.1vw, 20px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ---- Texture: film grain overlay ---- */
.film-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  mix-blend-mode: multiply;
  opacity: 0.4;
  z-index: 1;
}

/* ---- Buttons ---- */
.wcs-btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 0; cursor: pointer;
  padding: 26px 48px;
  font-size: 24px; line-height: 1;
  min-height: 44px;
  transition: transform 0.25s cubic-bezier(.16,1,.3,1), background-color 0.25s ease, color 0.25s ease;
}
.wcs-btn .arrow { font-family: var(--font-body); font-weight: 700; }
.wcs-btn--primary { background: var(--agency-primary); color: #fff; }
.wcs-btn--primary:hover { background: var(--agency-primary-deep); transform: translateY(-2px); }
.wcs-btn--dark { background: var(--agency-dark); color: #fff; }
.wcs-btn--dark:hover { background: #000; transform: translateY(-2px); }
.wcs-btn--accent { background: var(--agency-accent); color: var(--agency-dark); }
.wcs-btn--accent:hover { background: #d6e84a; transform: translateY(-2px); }
.wcs-btn span { display: inline-block; }
.wcs-btn:hover .arrow { transform: translateX(4px); }

/* nav-scale button */
.wcs-btn--nav { padding: 0 48px; align-self: stretch; font-size: 18px; letter-spacing: 0.04em; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--agency-accent);
  outline-offset: 2px;
}

/* =====================  TOP RIBBON  ===================== */
.ribbon {
  background: var(--agency-dark); color: #fff;
  font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.ribbon .wcs-px {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 9px; flex-wrap: wrap; gap: 8px 24px;
}
.ribbon-badge { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; background: var(--agency-accent); flex: none; animation: dot-pulse 1.8s ease-in-out infinite; }
.ribbon-right { display: inline-flex; align-items: center; gap: 10px; }
.ribbon-right a { color: var(--agency-accent); text-decoration: none; }
.ribbon-right a:hover { text-decoration: underline; }
.ribbon-sep { opacity: 0.6; }

/* "online" status blink on the dispatch dot */
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

/* =====================  NAV  ===================== */
.wcs-nav {
  background: var(--surface-white);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border-color);
}
/* Full-bleed nav: logo flush left, Call Now flush right */
.nav-inner {
  display: flex; align-items: stretch; justify-content: space-between;
  width: 100%; min-height: 104px;
}
.nav-logo { display: flex; align-items: center; padding: 10px 0 10px clamp(16px, 2vw, 32px); }
.nav-logo img { height: 84px; width: auto; }
.nav-right { display: flex; align-items: stretch; }
.nav-links {
  display: flex; align-items: center; gap: 40px; padding-left: 24px;
}
.wcs-nav-link {
  font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 2px solid transparent; padding: 4px 0 6px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.wcs-nav-link:hover { border-color: var(--agency-primary); color: var(--agency-primary); }
.nav-toggle { display: none; }
.nav-call-mobile { display: none; }
.nav-acc { display: none; } /* mobile accordion chevrons only */

/* ---- Nav dropdowns ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > .wcs-nav-link { display: inline-flex; align-items: center; gap: 7px; }
.nav-caret { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(225deg) translateY(1px); }
.nav-submenu {
  position: absolute; top: 100%; left: -18px; min-width: 250px;
  background: #fff; border: 1px solid var(--border-color);
  box-shadow: 0 28px 56px -30px rgba(20,99,47,0.5);
  padding: 8px 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.nav-item:hover .nav-submenu, .nav-item:focus-within .nav-submenu { opacity: 1; visibility: visible; transform: none; }
.nav-submenu a {
  padding: 11px 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-primary); white-space: nowrap;
  border-left: 3px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nav-submenu a:hover { background: var(--surface-primary); color: var(--agency-primary); border-left-color: var(--agency-accent); }

/* ---- Mega menu (full-width grouped panel) ---- */
.nav-has-mega { position: static; }
.nav-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface-white);
  border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
  box-shadow: 0 26px 50px -28px rgba(22, 22, 20, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 60;
}
.nav-item:hover .nav-mega, .nav-item:focus-within .nav-mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
.nav-mega-inner {
  max-width: 1320px; margin: 0 auto; padding: 38px clamp(24px, 4vw, 56px);
  display: flex; gap: clamp(28px, 3vw, 52px); flex-wrap: wrap; align-items: flex-start;
}
.mega-col { flex: 1 1 0; min-width: 150px; }   /* even columns — 5-group megas (Garbage, Facilities) fit one row */
.mega-col--wide { flex: 1 1 340px; }
.mega-col-head {
  display: block; font-family: var(--font-display); text-transform: uppercase;
  font-size: 15px; letter-spacing: 0.04em; color: var(--agency-primary);
  padding-bottom: 11px; margin-bottom: 12px; border-bottom: 2px solid var(--agency-accent);
}
.mega-col-head:hover { color: var(--agency-primary-deep); }
.mega-links { display: flex; flex-direction: column; gap: 1px; }
.mega-links--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1px clamp(20px, 2vw, 36px); }
.mega-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-secondary); padding: 6px 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.mega-links a:hover { color: var(--agency-primary); transform: translateX(3px); }

/* Anchored service rows clear the sticky nav */
.ct-row { scroll-margin-top: 120px; }

/* =====================  HERO  ===================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--surface-primary);
  padding: clamp(56px, 5vw, 92px) var(--gutter);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/wcs/home-hero-top.webp") top center/cover no-repeat;
  mix-blend-mode: normal; opacity: 1;
}
/* The hero-top image already has the lime/green glows baked in. */
.hero-glow-1, .hero-glow-2 {
  display: none;
}
.hero-glow-1 { width: 756px; height: 756px; right: -176px; top: -286px; background: rgba(20,99,47,0.15); }
.hero-glow-2 { width: 600px; height: 600px; left: -50px; bottom: -260px; background: rgba(200,217,43,0.28); }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 44px; }
.hero h1 { color: var(--text-primary); max-width: 1776px; letter-spacing: 0.0077em; }
.hero h1 .accent { color: var(--agency-primary); }
.hero-lead { max-width: 560px; }
.hero-lead p { margin: 0; line-height: 1.5; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* dump-truck band */
.hero-photo { display: block; width: 100%; height: clamp(280px, 36.8vw, 706px); object-fit: cover; }

/* =====================  STATS  ===================== */
.stats {
  background: var(--surface-white);
  border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 76px var(--gutter) 60px;
  border-right: 1px solid var(--border-color);
}
.stat:last-child { border-right: 0; }
.stat-num { color: var(--agency-primary); line-height: 1; display: flex; align-items: flex-start; gap: 4px; }
.stat-num sup { font-size: 0.5em; line-height: 1; margin-top: 0.1em; }
.stat-label {
  margin-top: 22px; font-weight: 700; font-size: 17px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
}

/* =====================  SERVICES  ===================== */
.services-intro { background: var(--surface-primary); padding: 110px var(--gutter) 72px; }
.services-intro .eyebrow { margin-bottom: 20px; display: block; }
.services-intro h2 { color: var(--text-primary); }

.svc-row {
  position: relative; cursor: pointer;
  display: grid;
  grid-template-columns: 320px minmax(0, 1.35fr) minmax(0, 1fr) 64px;
  gap: 64px; align-items: center;
  padding: 72px var(--gutter);
  transition: background-color 0.3s ease;
}
.svc-img-wrap { overflow: hidden; display: block; width: 100%; height: 200px; }
.svc-img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.55s cubic-bezier(.16,1,.3,1); }
.svc-row:hover .svc-img { transform: scale(1.06); }
.svc-row h3 { line-height: 0.92; }
/* Nudge the title text on hover via an inner span — NOT the <h3>, because a
   transform on the link's ancestor becomes the containing block for the
   stretched .svc-title-link::after and collapses the whole-row click target. */
.svc-title-nudge { display: inline-block; transition: transform 0.3s cubic-bezier(.16,1,.3,1); }
.svc-row:hover .svc-title-nudge { transform: translateX(6px); }
.svc-row .svc-copy { font-weight: 500; font-size: 18px; line-height: 1.5; max-width: 475px; }
.svc-arrow {
  justify-self: end; color: inherit; line-height: 1;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1);
  pointer-events: none;   /* decorative — let clicks pass through to the row link */
}
.svc-arrow svg { width: 64px; max-width: 100%; height: auto; display: block; }
.svc-row:hover .svc-arrow { transform: translateX(12px); }
/* Heading is the real link; its ::after stretches over the whole row so the
   entire row (image, title, copy, arrow) is clickable. */
.svc-title-link { color: inherit; text-decoration: none; }
.svc-title-link::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.svc-row:focus-within { outline: 3px solid var(--agency-accent); outline-offset: -3px; }

.svc-row--lime  { background: var(--agency-accent); color: var(--text-primary); }
.svc-row--lime:hover  { background: #cfe038; }
.svc-row--green { background: var(--agency-primary); color: #fff; }
.svc-row--green:hover { background: #155f30; }
.svc-row--green .svc-copy { color: rgba(255,255,255,0.82); }
.svc-row--cream { background: var(--surface-primary); color: var(--text-primary); border-top: 1px solid var(--border-color); }
.svc-row--cream:hover { background: #efece3; }
.svc-row--black { background: var(--surface-black); color: #fff; }
.svc-row--black:hover { background: #1c1c1c; }
.svc-row--black .svc-img-wrap { width: 246px; justify-self: center; }
.svc-link-inline { position: relative; z-index: 1; color: var(--agency-accent); border-bottom: 1px solid var(--agency-accent); white-space: nowrap; }
.svc-link-inline:hover { color: #fff; border-color: #fff; }

/* =====================  ED SERVICES SPLIT  ===================== */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-black); }
.split-panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 96px); gap: 24px;
  min-height: clamp(420px, 41.6vw, 799px);
}
.split-panel h3 { line-height: 0.9; }
.split-panel p { font-weight: 600; font-size: 18px; line-height: 1.62; }
.split-panel--green { background: var(--agency-primary); }
.split-panel--green h3 { color: var(--text-on-dark); }
.split-panel--green h3 .accent { color: var(--agency-accent); }
.split-panel--green p { color: rgba(245,245,240,0.9); }
.split-panel--cream { background: var(--surface-primary); }
.split-panel--cream h3 { color: var(--surface-black); }
.split-panel--cream h3 .accent { color: var(--agency-primary); }
.split-panel--cream p { color: rgba(18,18,18,0.8); }
.split-img { width: 100%; height: 100%; min-height: clamp(420px, 41.6vw, 799px); object-fit: cover; }
.split-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase;
}
.split-link.accent { color: var(--agency-accent); }
.split-link.green { color: var(--agency-primary); }
.split-link svg { transition: transform 0.25s cubic-bezier(.16,1,.3,1); }
.split-link:hover svg { transform: translateX(6px); }
/* (row-2 image divider border removed) */

/* =====================  INDUSTRIES  ===================== */
.industries {
  background: var(--surface-white); border-top: 1px solid var(--border-color);
  padding: 111px var(--gutter) 120px;
}
.industries .eyebrow { display: block; margin-bottom: 20px; }
.industries h2 { color: var(--text-primary); }
.industries h2 .accent { color: var(--agency-primary); }
.industries .wcs-lead { margin: 20px 0 44px; max-width: 640px; }
.ind-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border-color); border-top: 1px solid var(--border-color);
}
.ind-tile {
  display: flex; align-items: center; justify-content: space-between;
  height: 114px; padding: 0 40px;
  border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ind-tile span { font-family: var(--font-display); text-transform: uppercase; }
.ind-tile svg { flex: none; transition: transform 0.2s ease; }
.ind-tile:hover { background: var(--agency-primary); color: #fff; }
.ind-tile:hover svg { transform: translateX(5px); }
.ind-tile:hover svg path { stroke: #fff; }

/* =====================  NEWS CARDS (sharp, industries-flavored)  ===================== */
.wcs-news-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface-white);
  border: 1px solid var(--border-color);
  color: var(--text-primary); text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.wcs-news-card:hover {
  border-color: var(--agency-primary); transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(20, 99, 47, 0.45);
}
.wcs-news-card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-primary); }
.wcs-news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.wcs-news-card:hover .wcs-news-card-img img { transform: scale(1.04); }
.wcs-news-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.wcs-news-card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 24px; }
.wcs-news-card-body .post-card-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0; font-size: 1.3rem; line-height: 1.12; margin: 0 0 0.6rem; }
.wcs-news-card-body .post-card-excerpt { margin-bottom: 1.25rem; }
.wcs-news-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-color); }
.wcs-news-card-foot svg { flex: none; color: var(--agency-primary); transition: transform 0.2s ease; }
.wcs-news-card:hover .wcs-news-card-foot svg { transform: translateX(5px); }

/* =====================  CITIES  ===================== */
.cities { background: var(--agency-dark); padding: 110px var(--gutter) 120px; color: #fff; }
.cities .eyebrow { display: block; margin-bottom: 20px; }
.cities h2 { color: #fff; }
.cities h2 .accent { color: var(--agency-accent); }
.cities-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 56px;
  margin-top: 44px;
}
.city {
  padding: 14px 0 15px; border-bottom: 1px solid var(--border-color-dark);
  font-weight: 600; font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.city:hover { color: var(--agency-accent); padding-left: 8px; }
.city--more { color: var(--agency-accent); }

/* =====================  TESTIMONIAL  ===================== */
.testimonial { background: var(--surface-primary); padding: 120px var(--gutter); }
.testimonial .stars { color: var(--agency-primary); font-size: 18px; letter-spacing: 0.2em; margin-bottom: 23px; }
.testimonial blockquote {
  margin: 0; font-family: var(--font-display); text-transform: uppercase;
  color: var(--agency-primary-deep); font-size: clamp(30px, 3.33vw, 64px); line-height: 1.05;
  max-width: 1640px;
}
.testimonial figcaption {
  margin-top: 24px; font-weight: 700; font-size: 17px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-secondary);
}
.testimonial-bars { display: flex; gap: 9px; margin-top: 60px; flex-wrap: wrap; }
.testimonial-bars span { width: 101px; height: 5px; background: rgba(0,0,0,0.2); }
.testimonial-bars span:first-child { background: #000; }
/* Rotator: slides stacked in one grid cell so height = tallest quote (no jump) */
.testimonial--white { background: var(--surface-white); }
.wcs-testimonials { display: grid; }
.tst-slide {
  grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.5s ease;
}
.tst-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.tst-bar {
  width: 101px; max-width: 22vw; height: 5px; background: rgba(0,0,0,0.2);
  border: 0; padding: 0; cursor: pointer; transition: background-color 0.25s ease;
}
.tst-bar.is-active { background: #000; }
.tst-bar:focus-visible { outline: 3px solid var(--agency-primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .tst-slide { transition: none; } }

/* =====================  QUOTE FORM  ===================== */
.quote {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(133deg, #0e4b23 14%, #14632f 44%, #6fa42c 75%, #c8d92b 92%);
  padding: clamp(64px, 6vw, 109px) var(--gutter) clamp(80px, 8vw, 130px);
}
.quote-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/wcs/quote-bg.webp") center/cover no-repeat;
  mix-blend-mode: soft-light; opacity: 0.7;
}
.quote-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 96px); align-items: start;
}
.quote h2 { color: #fff; }
.quote-lead { font-weight: 600; font-size: 18px; line-height: 1.5; max-width: 393px; margin: 28px 0; }
.quote-badge {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid rgba(255,255,255,0.45); padding: 11px 19px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
}
.quote-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 43px; }
.field { display: flex; flex-direction: column; }
.field label {
  font-weight: 700; font-size: 16px; letter-spacing: 0.15em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.field input, .field select {
  background: transparent; border: 2.7px solid #fff; color: #fff;
  padding: 24px; font-family: var(--font-body); font-weight: 700; font-size: 21px;
  text-transform: uppercase; width: 100%;
}
.field input::placeholder { color: rgba(255,255,255,0.65); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 24px center; }
.field select option { color: #161614; }
.btn-submit {
  background: var(--agency-dark); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 32px; padding: 32px; width: 100%; margin-top: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-submit:hover { background: #000; transform: translateY(-2px); }

/* =====================  FOOTER  ===================== */
.footer { position: relative; overflow: hidden; background: #000; color: #fff; }
.footer-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.15;
  background: url("../img/wcs/home-hero.webp") right center/cover no-repeat;
}
.footer-fade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, #000 29%, rgba(0,0,0,0) 71%);
}
.footer-inner { position: relative; z-index: 2; padding: 134px var(--gutter) 40px; }
.footer-emergency { max-width: 933px; }
.footer-emergency h2 { color: #fff; line-height: 1.02; }
.footer-emergency h2 .accent { color: var(--agency-accent); }
.footer-sub {
  margin-top: 22px; font-weight: 700; font-size: 17px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
}
.footer-phone {
  display: inline-flex; margin-top: 36px; padding: 14px 22px;
  background: linear-gradient(to right, #6fa234, #c8d92b);
  color: var(--agency-dark); font-family: var(--font-display);
  font-size: clamp(34px, 2.7vw, 52px); line-height: 1;
  transition: transform 0.2s ease;
}
.footer-phone:hover { transform: translateY(-2px); }

.footer-mid {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 32px; margin-top: 120px; padding-top: 40px;
}
.footer-logos { display: flex; align-items: center; gap: 100px; flex-wrap: wrap; }
.footer-logos img { width: auto; }
.footer-logos .logo-wcs { height: 96px; }
.footer-logos .logo-bbb { height: 83px; }
.footer-logos .logo-swana { height: 82px; }
.footer-nav { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-nav a {
  font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  border-bottom: 2px solid transparent; padding-bottom: 6px; padding-top: 4px;
  transition: border-color 0.2s ease;
}
.footer-nav a:hover { border-color: var(--agency-accent); }
.footer-nav .wcs-btn--accent { font-size: 18px; padding: 26px 48px; border-bottom: 0; color: var(--agency-dark); }

.footer-bottom {
  display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
  gap: 20px; margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom a, .footer-bottom span {
  font-size: 13px; color: rgba(255,255,255,0.45);
}
.footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.45); display: inline-flex; }
.footer-social a:hover { color: var(--agency-accent); }

/* =====================  SUBPAGE: PAGE HERO  ===================== */
.fb-size-pagehero { font-size: clamp(48px, 8.85vw, 170px); }  /* subpage h1 170 */
.fb-size-ct { font-size: clamp(40px, 4.6vw, 88px); }          /* compactor row h2 88 */

.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--agency-primary);
  padding: clamp(72px, 6vw, 110px) var(--gutter) clamp(64px, 5vw, 90px);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.page-hero-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 40px;
}
.wcs-breadcrumb {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
}
.wcs-breadcrumb a, .wcs-breadcrumb span { color: rgba(255,255,255,0.7); }
.wcs-breadcrumb a:hover { color: #fff; }
.wcs-breadcrumb .sep { color: var(--agency-accent); }
.wcs-breadcrumb [aria-current] { color: rgba(255,255,255,0.7); }
.page-hero h1 { color: #fff; letter-spacing: 0.005em; }
.page-hero-sub { font-weight: 500; font-size: clamp(17px, 1.1vw, 20px); line-height: 1.5; color: rgba(255,255,255,0.9); max-width: 600px; }
.page-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; }

/* =====================  SUBPAGE: COMPACTOR TYPE ROWS  ===================== */
.ct-row { background: var(--surface-white); }
.ct-grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(32px, 5vw, 120px);
  min-height: clamp(440px, 31vw, 596px);
  padding: 64px var(--gutter);
}
.ct-img { overflow: hidden; height: clamp(280px, 21.9vw, 420px); justify-self: center; width: 100%; max-width: 640px; }
.ct-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.ct-row:hover .ct-img img { transform: scale(1.05); }
.ct-text { max-width: 848px; }
.ct-text h2 { line-height: 0.92; color: var(--text-primary); }
.ct-text p { font-weight: 500; font-size: 18px; line-height: 1.55; color: var(--text-primary); margin: 18px 0 24px; max-width: 781px; }
.ct-row--img-left .ct-img { order: -1; }   /* image on the left, text on the right */

.ct-row--green { background: var(--agency-primary); }
.ct-row--green .ct-text h2 { color: #fff; }
.ct-row--green .ct-text p { color: rgba(255,255,255,0.82); }
.ct-row--dark { background: var(--agency-dark); }
.ct-row--dark .ct-text h2 { color: #fff; }
.ct-row--dark .ct-text p { color: rgba(255,255,255,0.82); }
.ct-row--lime { background: var(--agency-accent); }
.ct-row--lime .ct-text h2,
.ct-row--lime .ct-text p { color: var(--text-primary); }

/* =====================  MOTION (GSAP reveal placeholders)  ===================== */
/* Theme's GSAP controller animates these; in the prototype a lightweight
   IntersectionObserver (main.js) adds .is-visible. Default = visible so the
   page is never blank without JS or under prefers-reduced-motion. */
.gsap-reveal-up, .gsap-scroll-up { will-change: transform, opacity; }
.js .gsap-scroll-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1); }
.js .gsap-scroll-up.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .gsap-scroll-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =====================  RESPONSIVE  ===================== */
@media (max-width: 1100px) {
  .svc-row { grid-template-columns: 280px 1fr; grid-template-areas: "img title" "img copy" "img arrow"; gap: 16px 48px; }
  .svc-img-wrap { grid-area: img; height: 100%; align-self: stretch; }
  .svc-row h3 { grid-area: title; }
  .svc-row .svc-copy { grid-area: copy; }
  .svc-row .svc-arrow { grid-area: arrow; justify-self: start; }
  .svc-row:hover h3 { transform: none; }
  .svc-row--black .svc-img-wrap { width: 100%; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--agency-dark); color: #fff; border: 0; width: 64px; align-self: stretch; cursor: pointer;
  }
  .nav-toggle svg { width: 26px; height: 26px; }
  .nav-toggle-close { display: none; }
  .wcs-nav.open .nav-toggle-menu { display: none; }
  .wcs-nav.open .nav-toggle-close { display: block; }
  /* Mobile tap-to-call, sits left of the menu toggle */
  .nav-call-mobile {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: stretch; padding: 0 20px;
    background: var(--agency-primary); color: #fff; text-decoration: none;
    font-family: var(--font-display); text-transform: uppercase;
    font-size: 16px; letter-spacing: 0.04em;
  }
  .nav-call-mobile svg { width: 20px; height: 20px; }
  .nav-call-mobile:hover { background: var(--agency-primary-deep); }
  .wcs-nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--border-color); z-index: 60;
    max-height: calc(100vh - 138px); overflow-y: auto;
  }
  .wcs-nav.open .nav-links .wcs-btn--nav { align-self: flex-start; padding: 14px 32px; margin-top: 8px; min-height: 44px; display: inline-flex; align-items: center; }
  /* ---- Mobile accordion: everything collapsed until its chevron is tapped ---- */
  .nav-caret { display: none; }
  .wcs-nav.open .nav-links { gap: 0; }
  .wcs-nav.open .nav-item { width: 100%; flex-direction: column; align-items: stretch; position: relative; border-bottom: 1px solid var(--border-color); }
  .wcs-nav.open .wcs-nav-link { display: block; width: 100%; padding: 15px 56px 15px 0; border-bottom: 0; }

  /* Chevron toggle button — overlays the right edge of each row, sits above the link */
  .nav-acc {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 0; right: 0; width: 56px; height: 52px;
    background: transparent; border: 0; cursor: pointer; color: var(--text-primary); z-index: 3;
  }
  .nav-acc-chevron {
    width: 9px; height: 9px; border-right: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.25s ease;
  }
  .nav-acc[aria-expanded="true"] .nav-acc-chevron { transform: rotate(-135deg) translate(-1px, -1px); }

  /* Top-level panels collapsed by default, revealed when the item is open */
  .wcs-nav.open .nav-mega, .wcs-nav.open .nav-submenu { display: none; }
  .wcs-nav.open .nav-item.is-open > .nav-mega,
  .wcs-nav.open .nav-item.is-open > .nav-submenu { display: block; }

  .wcs-nav.open .nav-submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; min-width: 0; padding: 0 0 10px 14px;
  }
  .wcs-nav.open .nav-submenu a { padding: 9px 0; border-left: 0; }

  .nav-has-mega { position: relative; }
  .wcs-nav.open .nav-mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; width: 100%; transition: none;
  }
  .wcs-nav.open .nav-mega-inner { display: block; padding: 0; max-width: none; }
  .wcs-nav.open .mega-col { min-width: 0; margin: 0; position: relative; border-top: 1px solid var(--border-color); }
  .wcs-nav.open .mega-col-head { display: block; font-size: 13px; padding: 12px 50px 12px 14px; margin: 0; border-bottom: 0; }
  .nav-acc--sub { height: 45px; width: 50px; }

  /* Group links collapsed until the group's chevron is tapped */
  .wcs-nav.open .mega-links { display: none; }
  .wcs-nav.open .mega-col.is-open > .mega-links { display: flex; flex-direction: column; padding: 0 0 10px 26px; }
  .wcs-nav.open .mega-links--2col { grid-template-columns: 1fr; }
  .wcs-nav.open .mega-links a { padding: 8px 0; }

  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border-color); }
  .stat:last-child { border-bottom: 0; }

  .split { grid-template-columns: 1fr; }
  .split-row-1 .split-img { order: -1; }
  .split-img, .split-panel { min-height: auto; }
  .split-img { height: clamp(260px, 60vw, 460px); }
  .split-row-2 .split-img { border: 0; }

  .ind-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }

  .ct-grid { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding-top: 56px; padding-bottom: 56px; }
  .ct-row--img-left .ct-img { order: 0; }
  .ct-img { order: -1; max-width: none; }

  .quote-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 24px; }

  .footer-inner { padding-top: 80px; }
  .footer-mid { margin-top: 72px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .svc-row { grid-template-columns: 1fr; grid-template-areas: "img" "title" "copy" "arrow"; gap: 20px; }
  .svc-img-wrap { height: 200px; }
  .svc-row--black .svc-img-wrap { width: 100%; }
  .cities-grid { grid-template-columns: 1fr; }
  .hero-actions .wcs-btn { width: 100%; justify-content: center; }
  .testimonial-bars span { width: 60px; }

  /* Compact ribbon — drop the long email + separator so the bar fits 390px */
  .ribbon .wcs-px { gap: 4px 14px; font-size: 11px; }
  .ribbon-right a[href^="mailto"], .ribbon-sep { display: none; }

  /* Mobile display type — scale down so monumental headings never clip */
  .fb-size-hero  { font-size: clamp(30px, 8vw, 44px); }
  .wcs-2xl   { font-size: clamp(28px, 7.8vw, 44px); }
  .fb-size-quote { font-size: clamp(38px, 11vw, 56px); }
  .wcs-3xl   { font-size: clamp(34px, 9.2vw, 44px); }
  .fb-size-stat  { font-size: clamp(48px, 14vw, 72px); }
  .fb-size-pagehero { font-size: clamp(40px, 13vw, 72px); }
  .fb-size-ct    { font-size: clamp(34px, 9.5vw, 56px); }
  .footer-emergency h2 { font-size: clamp(32px, 9vw, 46px) !important; }
  .wcs-btn { padding: 20px 32px; font-size: 20px; }
  .btn-submit { font-size: 26px; padding: 26px; }
  .field input, .field select { padding: 18px; font-size: 18px; }
}

/* =====================  FLAMINGO FORM SKIN (quote section)  ===================== */
.quote .ff-form { display: flex; flex-direction: column; gap: 24px; }
/* Hidden inputs are flex items — without this the column `gap` stacks phantom
   space above the first visible field. Drop them from flex flow. */
.quote .ff-form > input[type="hidden"] { display: none; }
.quote .ff-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 43px; }
.quote .ff-field { display: flex; flex-direction: column; }
.quote .ff-field-full { grid-column: 1 / -1; }
.quote .ff-label {
  font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: 0.15em;
  text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.quote .ff-required { color: var(--agency-accent); }
.quote .ff-input {
  background: transparent; border: 2.7px solid #fff; color: #fff; width: 100%;
  padding: 24px; font-family: var(--font-body); font-weight: 700; font-size: 21px;
  text-transform: uppercase; border-radius: 0;
}
.quote .ff-input::placeholder { color: rgba(255,255,255,0.65); }
.quote select.ff-input {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 24px center;
}
.quote select.ff-input option { color: #161614; }
.quote .ff-submit-wrap { width: 100%; }
.quote .ff-submit {
  background: var(--agency-dark) !important; color: #fff !important; border: 0 !important;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 21px; padding: 20px 28px; width: 100%; border-radius: 0; cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.quote .ff-submit:hover { background: #000 !important; transform: translateY(-2px); }
.quote .ff-error { color: var(--agency-accent); font-size: 13px; font-weight: 600; margin-top: 6px; }
.quote .ff-message { color: #fff; font-weight: 600; font-size: 18px; }
@media (max-width: 900px) {
  .quote .ff-fields { grid-template-columns: 1fr; }
}

/* Form fields fill their grid cell (override plugin flex widths so Full Name /
   Phone render at proper half width, not a quarter). */
.quote .ff-field, .quote .ff-field-half { width: 100%; }

/* =====================  SUBPAGES (hub pages)  ===================== */
.page-hero--solid { background: var(--agency-primary); }
.page-hero--solid .page-hero-sub { color: rgba(255,255,255,0.9); }

.subpage-section { padding: clamp(64px, 7vw, 110px) var(--gutter); background: var(--surface-primary); }
.subpage-section--white { background: var(--surface-white); }
.subpage-section--dark { background: var(--agency-dark); color: #fff; }
/* Subpage content headings are much smaller than homepage section headers
   (the global .wcs-2xl tops out at 120px — too large for body content). */
.subpage-section .fb-display.wcs-2xl { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04; }
.subpage-inner { max-width: var(--maxw); margin-inline: auto; }
.subpage-intro { max-width: 920px; margin-bottom: clamp(40px, 4vw, 64px); }
/* Text-only content rows (no image): narrower reading measure, centered container (text stays left-aligned) */
.subpage-intro--centered { max-width: 820px; margin-inline: auto; }
/* Content-section lists: '•' bullets → styled list; short-label runs → chip grid */
.ct-bullets { list-style: none; padding: 0; margin: 1.2em 0 0; display: flex; flex-direction: column; gap: 12px; }
.ct-bullets li { position: relative; padding-left: 28px; line-height: 1.6; font-weight: 500; color: var(--text-secondary); }
.ct-bullets li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 9px; height: 9px; border-radius: 2px; background: var(--agency-accent); }
.subpage-section--dark .ct-bullets li { color: rgba(255,255,255,0.82); }
.ct-chips { list-style: none; padding: 0; margin: 1.3em 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ct-chips li { position: relative; padding: 13px 16px 13px 38px; background: #fff; border: 1px solid var(--border-color); border-left: 3px solid var(--agency-accent); border-radius: 10px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.ct-chips li::before { content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--agency-primary); }
.subpage-section--white .ct-chips li { background: var(--surface-primary); }
.subpage-section--dark .ct-chips li { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); color: #fff; }
.subpage-section--dark .ct-chips li::before { background: var(--agency-accent); }
/* Numbered process/steps */
.ct-steps { list-style: none; counter-reset: ct-step; padding: 0; margin: 1.5em 0 0; display: flex; flex-direction: column; gap: 18px; }
.ct-steps li { counter-increment: ct-step; position: relative; padding-left: 66px; min-height: 46px; display: flex; align-items: center; line-height: 1.55; color: var(--text-secondary); font-weight: 500; }
.ct-steps li::before { content: counter(ct-step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--agency-primary); color: #fff; font-family: var(--font-display, 'Anton'), sans-serif; font-size: 21px; line-height: 1; display: grid; place-items: center; }
.ct-steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 46px; height: calc(100% - 46px + 18px); width: 2px; background: var(--agency-accent); opacity: 0.55; }
.subpage-section--dark .ct-steps li { color: rgba(255,255,255,0.82); }
.subpage-intro .eyebrow { display: block; margin-bottom: 18px; }
.subpage-intro h2 { color: var(--text-primary); margin-bottom: 22px; }
.subpage-section--dark .subpage-intro h2 { color: #fff; }
.subpage-intro h2 .accent { color: var(--agency-primary); }
.subpage-section--dark .subpage-intro h2 .accent { color: var(--agency-accent); }
.subpage-intro p { font-weight: 500; font-size: clamp(17px, 1.15vw, 20px); line-height: 1.6; color: var(--text-secondary); }
.subpage-intro p + p { margin-top: 1.1em; }
.subpage-section--dark .subpage-intro p { color: rgba(255,255,255,0.82); }

/* Card grid (services / industries) */
.wcs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 32px); }
.wcs-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface-white); border: 1px solid var(--border-color);
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s ease;
}
.subpage-section--white .wcs-card { background: var(--surface-primary); }
.wcs-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20,99,47,0.45); }
.wcs-card-img { overflow: hidden; aspect-ratio: 3 / 2; background: var(--agency-dark); }
.wcs-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.wcs-card:hover .wcs-card-img img { transform: scale(1.06); }
.wcs-card-body { padding: clamp(24px, 2vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.wcs-card-body h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(22px, 1.7vw, 30px); line-height: 0.95; color: var(--text-primary); letter-spacing: 0.01em; }
.wcs-card-body p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); flex: 1; }
.wcs-card .split-link { margin-top: 4px; }
/* Clickable card variant (hub -> detail page) */
a.wcs-card--link { text-decoration: none; color: inherit; }
a.wcs-card--link:hover { border-color: var(--agency-primary); }
.wcs-card-link {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 4px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--agency-primary);
}
.wcs-card-link svg { transition: transform 0.2s ease; }
a.wcs-card--link:hover .wcs-card-link { color: var(--agency-primary-deep); }
a.wcs-card--link:hover .wcs-card-link svg { transform: translateX(4px); }
a.wcs-card--link:focus-visible { outline: 3px solid var(--agency-accent); outline-offset: 2px; }

/* Gallery grid */
.wcs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wcs-gallery a { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--agency-dark); }
.wcs-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.wcs-gallery a:hover img { transform: scale(1.07); }
/* Video block (gallery, etc.) */
.wcs-video { max-width: 920px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 34px 70px -34px rgba(20,99,47,0.55); background: var(--agency-dark); }
.wcs-video video { width: 100%; height: auto; display: block; }
/* Leadership grid */
.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.leadership-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface-primary); border: 1px solid var(--border-color); border-left: 3px solid var(--agency-accent); border-radius: 14px; transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s ease; }
.subpage-section--white .leadership-card { background: var(--surface-white, #fff); }
.leadership-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(20,99,47,0.5); }
.leadership-avatar { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--agency-primary); color: #fff; font-family: var(--font-display, 'Anton'), sans-serif; font-size: 19px; letter-spacing: 0.02em; line-height: 1; }
.leadership-meta { display: flex; flex-direction: column; min-width: 0; }
.leadership-name { font-weight: 700; font-size: 16px; color: var(--text-primary); line-height: 1.25; }
.leadership-title { font-size: 13px; color: var(--text-secondary); margin-top: 3px; line-height: 1.3; }
@media (max-width: 900px) { .leadership-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leadership-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 3.5vw, 56px); align-items: start; }
.contact-col { display: flex; flex-direction: column; }
.contact-col .subpage-intro { max-width: none; margin-bottom: clamp(28px, 3vw, 40px); }
.contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.contact-card { border-left: 3px solid var(--agency-accent); padding: 4px 0 4px 22px; }
.contact-card .label { font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 8px; }
.contact-card .value { font-size: clamp(16px, 1.25vw, 20px); font-weight: 600; color: var(--text-primary); line-height: 1.4; overflow-wrap: anywhere; }
.contact-card .value a { color: var(--agency-primary); }
.contact-card .value a:hover { text-decoration: underline; }

/* About value cards reuse .wcs-cards; about lead */
.about-lead p { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.6; color: var(--text-primary); max-width: 1000px; }

@media (max-width: 1000px) {
  .wcs-cards { grid-template-columns: repeat(2, 1fr); }
  .wcs-gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .contact-info { grid-template-columns: 1fr; }
  .wcs-cards { grid-template-columns: 1fr; }
  .wcs-gallery { grid-template-columns: 1fr 1fr; }
}

/* =====================  ABOUT PAGE  ===================== */
/* Two-column accordion block */
.about-accordions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.acc-col > h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); color: var(--text-primary); line-height: 0.95; margin-bottom: 8px; }
.acc-col > h3 .accent { color: var(--agency-primary); }
.wcs-accordion { display: flex; flex-direction: column; }
.wcs-accordion details { border-bottom: 1px solid var(--border-color); }
.wcs-accordion summary {
  list-style: none; cursor: pointer; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-body); font-weight: 700; font-size: clamp(15px, 1.1vw, 18px); letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--text-primary); transition: color 0.2s ease;
}
.wcs-accordion summary::-webkit-details-marker { display: none; }
.wcs-accordion summary:hover, .wcs-accordion details[open] summary { color: var(--agency-primary); }
.acc-icon { width: 18px; height: 18px; flex: none; position: relative; color: var(--agency-primary); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; }
.acc-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.acc-icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); transition: transform 0.25s ease, opacity 0.25s ease; }
.wcs-accordion details[open] .acc-icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.acc-body { padding: 0 32px 22px 0; color: var(--text-secondary); line-height: 1.6; font-size: 15.5px; }

/* Dedicated To Your Needs — 4x2 icon grid (on dark) */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 2.6vw, 48px) clamp(20px, 2.2vw, 40px); }
.icon-item { display: flex; flex-direction: column; gap: 14px; }
.icon-item .ico { width: 52px; height: 52px; color: var(--agency-accent); }
.icon-item .ico svg { width: 100%; height: 100%; display: block; }
.icon-item h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(18px, 1.35vw, 22px); line-height: 1; color: #fff; }
.icon-item p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.78); }
/* Icon grid on light backgrounds (cream / white): readable text + green icons */
.subpage-section:not(.subpage-section--dark) .icon-item .ico { color: var(--agency-primary); }
.subpage-section:not(.subpage-section--dark) .icon-item h3 { color: var(--text-primary); }
.subpage-section:not(.subpage-section--dark) .icon-item p { color: var(--text-secondary); }

/* Logo marquee */
.logo-marquee { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; align-items: center; gap: clamp(44px, 5vw, 84px); width: max-content; animation: wcs-marquee 42s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: clamp(38px, 3.6vw, 56px); width: auto; object-fit: contain; flex: none; filter: grayscale(1); opacity: 0.6; transition: filter 0.3s ease, opacity 0.3s ease; }
.logo-track img:hover { filter: none; opacity: 1; }
@keyframes wcs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Leadership */
.leadership-lead { font-size: clamp(18px, 1.45vw, 24px); line-height: 1.6; color: var(--text-primary); max-width: 900px; }
.leadership-lead strong { color: var(--agency-primary); }
.leader-team { list-style: none; padding: 0; margin: clamp(32px, 3vw, 48px) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px 28px; }
.leader-team li { border-left: 3px solid var(--agency-accent); padding-left: 14px; font-weight: 600; font-size: 16px; color: var(--text-primary); }

@media (max-width: 900px) {
  .about-accordions { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .icon-grid { grid-template-columns: 1fr 1fr; }
}

/* About — mission quote + leadership split */
.about-quote { border-left: 4px solid var(--agency-accent); padding: 6px 0 6px 28px; margin: clamp(30px, 3vw, 48px) 0 0; max-width: 900px; }
.about-quote p { font-size: clamp(20px, 1.7vw, 28px); line-height: 1.45; font-weight: 500; font-style: italic; color: var(--agency-primary-deep); }
.about-quote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.about-mission-cards { margin-top: clamp(40px, 4vw, 64px); }

.leadership-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.leadership-split .lead-photo { overflow: hidden; }
.leadership-split .lead-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
@media (max-width: 900px) { .leadership-split { grid-template-columns: 1fr; } }

/* About — Our Story two-column (text + CEO photo) */
.story-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.story-split .subpage-intro { max-width: none; margin-bottom: 0; }
.story-photo { overflow: hidden; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; display: block; }
@media (max-width: 900px) { .story-split { grid-template-columns: 1fr; } .story-photo img { aspect-ratio: 3 / 2; } }

/* Contact — square Google map (right column) */
.contact-map { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--border-color); background: var(--surface-primary); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1000px) { .contact-map { aspect-ratio: 4 / 3; } }

/* General inquiry form (contact page) — mirrors the "Get a Quote" form, inverted
   for a white background: dark square outlines (no radius), bold uppercase fields. */
.inquiry-wrap { max-width: 860px; }
.inquiry-form .ff-form { display: flex; flex-direction: column; gap: 28px; }
.inquiry-form .ff-form > input[type="hidden"] { display: none; }
.inquiry-form .ff-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 43px; }
.inquiry-form .ff-field-full { grid-column: 1 / -1; }
.inquiry-form .ff-field, .inquiry-form .ff-field-half { display: flex; flex-direction: column; width: 100%; }
.inquiry-form .ff-label {
  font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--agency-dark); margin-bottom: 16px;
}
.inquiry-form .ff-required { color: var(--agency-primary); }
.inquiry-form .ff-input {
  background: transparent; border: 2.7px solid var(--agency-dark); color: var(--agency-dark);
  width: 100%; padding: 24px; font-family: var(--font-body); font-weight: 700; font-size: 21px;
  text-transform: uppercase; border-radius: 0; box-shadow: none;
}
.inquiry-form textarea.ff-input { text-transform: none; min-height: 160px; line-height: 1.5; resize: vertical; }
.inquiry-form .ff-input::placeholder { color: rgba(22, 22, 20, 0.45); }
.inquiry-form .ff-input:focus { outline: none; border-color: var(--agency-primary); box-shadow: none; }
.inquiry-form select.ff-input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 56px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' stroke='%23161614' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 24px center;
}
.inquiry-form select.ff-input option { color: var(--agency-dark); }
.inquiry-form .ff-error { color: #c0392b; font-size: 13px; font-weight: 600; margin-top: 8px; }
.inquiry-form .ff-submit-wrap { margin-top: 4px; }
.inquiry-form .ff-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--agency-dark) !important; color: #fff !important; border: 0 !important;
  border-radius: 0 !important; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 22px; line-height: 1; padding: 22px 52px; width: auto;
  min-height: 0; cursor: pointer; box-shadow: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.inquiry-form .ff-submit:hover { background: #000 !important; transform: translateY(-2px); }
@media (max-width: 640px) {
  .inquiry-form .ff-fields { grid-template-columns: 1fr; }
  .inquiry-form .ff-input { padding: 18px; font-size: 18px; }
  .inquiry-form .ff-submit { width: 100%; }
}

/* Default brand-gradient hero background (pages without their own photo) —
   lighter, green-tinted left gradient instead of the heavy photo overlay. */
.page-hero--brandbg .page-hero-bg::after {
  background: linear-gradient(90deg, rgba(8,38,18,0.55) 0%, rgba(8,38,18,0.18) 58%, rgba(8,38,18,0) 100%);
}

/* Compactor product cutouts (transparent) — show whole unit, not cropped */
.ct-img--contain { padding: clamp(10px, 1.6vw, 26px); }
.ct-img--contain img { object-fit: contain; }
