/* ============================================================================
   Clearout Crew — Section & Component Styles
   Consumes design-tokens.css (load AFTER it). Styles the reusable block
   patterns in /patterns and the seeded pages. Everything is token-driven so
   the whole site restyles from one place; no page-level restyling (Book VI).

   Load order: fonts → design-tokens → motion-depth → components → style.css.
   ========================================================================== */

/* --- Bridge our fonts into Kadence's own CSS variables -----------------------
   Kadence renders headers/nav/footers with --global-*-font-family. Point those
   at the brand families so Poppins/Inter apply everywhere Kadence draws, not
   only inside block content. Loaded after Kadence, so these win the cascade. */
:root {
  --global-heading-font-family:      var(--cc-font-heading);
  --global-body-font-family:         var(--cc-font-body);
  --global-primary-nav-font-family:  var(--cc-font-heading);
  --global-display-fallback-font:    var(--cc-font-heading);
  --global-fallback-font:            var(--cc-font-body);
}

/* Kadence sets fixed heading px in its base CSS; align the visible scale to our
   fluid tokens without fighting specificity elsewhere. */
body { font-family: var(--cc-font-body); }
h1, h2, h3, h4, h5, h6,
.wp-block-heading { font-family: var(--cc-font-heading); }

/* ============================================================================
   Section scaffolding
   ========================================================================== */

/* Vertical rhythm for full-width sections (patterns set horizontal padding). */
.cc-section,
.cc-section--alt,
.cc-section--dark {
  padding-top: var(--cc-space-64);
  padding-bottom: var(--cc-space-64);
}
@media (max-width: 767px) {
  .cc-section, .cc-section--alt, .cc-section--dark {
    padding-top: var(--cc-space-48);
    padding-bottom: var(--cc-space-48);
  }
}

/* Dark sections: invert text + heading colours. */
.cc-section--dark,
.cc-section--dark :is(h1, h2, h3, h4, p, li) { color: var(--cc-white); }
.cc-section--dark .cc-kicker { color: var(--cc-orange); }

/* Section header: eyebrow + heading + intro, centred, comfortable measure. */
.cc-kicker {
  color: var(--cc-orange-cta);
  font-family: var(--cc-font-heading);
  font-weight: 600;
  font-size: var(--cc-fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 var(--cc-space-8);
}
/* Kadence's .single-content typography (p → 32px bottom, headings → 1.5em top)
   outweighs the rule above, and because the eyebrow is inline-flex its margin
   never collapses with the heading below — the two stack into a ~110px void.
   Pin the eyebrow so it hugs whatever heading follows, everywhere it is used. */
.single-content .cc-kicker { margin-bottom: var(--cc-space-16); }
.single-content .cc-kicker + :is(h1, h2, h3, h4) { margin-top: 0; }
.cc-section__head { max-width: 52rem; margin-inline: auto; text-align: center; }
.cc-section__head .cc-lead {
  color: var(--cc-ink-muted);
  font-size: var(--cc-fs-h4);
  line-height: var(--cc-lh-body);
}
.cc-section--dark .cc-section__head .cc-lead { color: #E5E7EB; }

/* ============================================================================
   Reserved photo panel — SITEWIDE PRIMITIVE
   A branded placeholder that reserves space for real photography (hero, before/
   after, coverage). Reused via .cc-photo and .cc-media-placeholder so every page
   inherits the same "premium, awaiting photos" treatment. Token: --cc-photo-*.
   ========================================================================== */
.cc-photo {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: var(--cc-photo-ratio);
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow-lg);
  background: var(--cc-photo-surface);
  color: rgba(255, 255, 255, 0.55);
  overflow: hidden; isolation: isolate;
}
.cc-photo::after {                                   /* subtle diagonal texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 12px, transparent 12px 24px);
}
.cc-photo__icon svg { width: 52px; height: 52px; display: block; }
.cc-photo__label {
  position: absolute; left: var(--cc-space-16); bottom: var(--cc-space-16);
  display: inline-flex; align-items: center; gap: var(--cc-space-8);
  padding: 0.4rem 0.7rem; border-radius: var(--cc-radius-pill);
  background: rgba(17, 24, 39, 0.55); border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--cc-white); font-family: var(--cc-font-heading); font-weight: 600;
  font-size: var(--cc-fs-small); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
/* Real photo dropped into a reserved slot (M2). It fills the SAME box the
   placeholder held — same aspect-ratio, radius, shadow, overflow clip — and
   crops to cover, so wiring a photo in produces no layout change. The panel's
   aspect-ratio already reserves the box before the bytes arrive, and the <img>
   carries explicit width/height, so there is zero Cumulative Layout Shift. */
.cc-photo--img { margin: 0; padding: 0; }
.cc-photo--img picture { display: block; width: 100%; height: 100%; }
.cc-photo > img,
.cc-photo picture > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================================
   Hero — two-column composed layout (reference for any headline+visual block)
   ========================================================================== */
.cc-hero.cc-section {
  position: relative;
  background-color: var(--cc-white);
  background-image: var(--cc-hero-wash);
  padding-top: var(--cc-space-64);
  padding-bottom: calc(var(--cc-space-96) + var(--cc-space-16));   /* room for the trust card to float up */
  overflow: hidden;
}
.cc-hero__grid.wp-block-columns { gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.cc-hero__text { max-width: 40rem; }
.cc-hero__text h1 { text-wrap: balance; letter-spacing: -0.02em; }
.cc-hero__text .cc-lead { max-width: var(--cc-headline-measure); color: var(--cc-ink-muted); }
.cc-hero__text .wp-block-buttons { margin-top: var(--cc-space-24); }
.cc-hero__photo { width: 100%; }
/* Kadence tags every column is-vertically-aligned-center (align-self: center),
   which floats the photo panel down against the taller copy column. Top-align the
   columns so the panel's top edge meets the eyebrow. Shared with the page header. */
.cc-hero__grid > .wp-block-column.is-vertically-aligned-center,
.cc-page-header__grid > .wp-block-column.is-vertically-aligned-center { align-self: start; }
@media (max-width: 781px) {
  /* Kadence stacks columns; keep the panel a sensible height under the copy. */
  .cc-hero__media { margin-top: var(--cc-space-32); }
}

/* Reassurance check-chips — reusable trust line under any primary CTA row. */
.cc-reassurance {
  list-style: none; margin: var(--cc-space-24) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--cc-space-8) var(--cc-space-24);
  font-family: var(--cc-font-heading); font-weight: 500;
  font-size: var(--cc-fs-small); color: var(--cc-ink-muted);
}
.cc-reassurance li { display: inline-flex; align-items: center; gap: var(--cc-space-8); }
.cc-reassurance li::before {
  content: "\2713"; color: var(--cc-orange-cta); font-weight: 700;
}

/* ============================================================================
   Cards (service cards, trust items, audience cards, why-choose)
   Cards render as columns; .cc-card gives the raised surface (motion-depth.css).
   ========================================================================== */

/* Card grids wrap into a responsive grid instead of cramming every card into a
   single flex row (a row of 8 service cards is unreadable otherwise). auto-fit +
   min(100%,16rem) => ~4 across on desktop, fewer as the viewport narrows, 1 on
   phones, with no horizontal overflow. */
.cc-cards.wp-block-columns {
  display: grid;
  gap: var(--cc-space-24);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  align-items: stretch;
}
.cc-cards.wp-block-columns > .wp-block-column { margin: 0; flex-basis: auto; }

/* Balanced fixed-column grids (cc_bb_columns $cols). auto-fit leaves six cards
   as an orphaned 4 + 2; a fixed count keeps a tidy 3×2 that steps down cleanly:
   3-up ≥1024px, 2-up ≥640px, 1-up on phones. Same idea for 2- and 4-up. These
   follow the base rule so they win at equal specificity. */
.cc-cards--2.wp-block-columns,
.cc-cards--3.wp-block-columns,
.cc-cards--4.wp-block-columns { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .cc-cards--2.wp-block-columns,
  .cc-cards--3.wp-block-columns,
  .cc-cards--4.wp-block-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cc-cards--3.wp-block-columns { grid-template-columns: repeat(3, 1fr); }
  .cc-cards--4.wp-block-columns { grid-template-columns: repeat(4, 1fr); }
}

/* Centred variant — for card counts that don't divide evenly into the grid
   (5 or 7 cards). Rows flow centre-aligned (flex), so a short final row sits
   centred under the others instead of leaving an orphan gap. Steps down on the
   same breakpoints as the fixed grids.

   WordPress core's block-library CSS forces columns onto one row at desktop with
   `@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap!important}}`, and
   flex:1 on every column — cramming all 5/7 cards into one shrunken row (narrow
   cards break titles mid-word, e.g. "Communicati|on"). Because core uses
   !important, we override flex-wrap with our own !important at higher specificity
   (the always-present .is-layout-flex class); the column flex sizing below is not
   !important in core, so ordinary higher specificity wins there. Each card is
   pinned to its column width (flex-grow:0) so full rows fill edge-to-edge and a
   short final row sits centred beneath them. */
.cc-cards--center.wp-block-columns.is-layout-flex {
  display: flex;
  flex-wrap: wrap !important;
  justify-content: center;
}
.cc-cards--center.wp-block-columns.is-layout-flex > .wp-block-column { flex: 0 0 100%; }
@media (min-width: 640px) {
  .cc-cards--center.wp-block-columns.is-layout-flex > .wp-block-column { flex: 0 0 calc((100% - var(--cc-space-24)) / 2); }
}
@media (min-width: 1024px) {
  .cc-cards--3.cc-cards--center.wp-block-columns.is-layout-flex > .wp-block-column { flex: 0 0 calc((100% - 2 * var(--cc-space-24)) / 3); }
  .cc-cards--4.cc-cards--center.wp-block-columns.is-layout-flex > .wp-block-column { flex: 0 0 calc((100% - 3 * var(--cc-space-24)) / 4); }
}

.cc-card { height: 100%; padding: var(--cc-space-32); }
.cc-card > :first-child { margin-top: 0; }
.cc-card > :last-child { margin-bottom: 0; }
/* Cards that carry a "Learn more" CTA become a flex column so the link pins to
   the bottom — keeps CTAs on one baseline across a row even when titles wrap to
   different line counts. Scoped via :has() to CTA cards only, so text-only cards
   (values, why-choose) are untouched. */
.cc-card:has(> .cc-card__cta) { display: flex; flex-direction: column; }
.cc-card > .cc-card__cta { margin-top: auto; }
.cc-card .wp-block-heading { font-size: var(--cc-fs-h4); margin-bottom: var(--cc-space-8); }
.cc-card p { color: var(--cc-ink-muted); }
.cc-card a:not(.wp-block-button__link) {
  display: inline-block;
  margin-top: var(--cc-space-16);
  font-family: var(--cc-font-heading);
  font-weight: 600;
  color: var(--cc-orange-cta);
  text-decoration: none;
}
.cc-card a:not(.wp-block-button__link)::after { content: " \2192"; }
.cc-card a:not(.wp-block-button__link):hover { color: var(--cc-orange-cta-hover); text-decoration: underline; }

/* Orange icon chip atop a card — a rounded tinted tile holding one line icon.
   One system across the site (cc_icon / inc/icons.php): every glyph is a 24×24
   Lucide-style SVG that inherits this colour and sits at a consistent size. */
.cc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: var(--cc-space-16);
  border-radius: var(--cc-radius-md);
  background: var(--cc-orange-tint);
  color: var(--cc-orange-cta);
  font-size: 1.5rem; line-height: 1;
}
.cc-icon .cc-svg { width: 1.5rem; height: 1.5rem; display: block; }

/* Section-head icon chip (category heads, FAQ-group heads). Reuses .cc-icon; the
   centred head wrapper centres it via text-align, left heads keep it at the start. */
.cc-head__mark { margin-bottom: var(--cc-space-16); }

/* Card badge — a small optional pill flagging a card's kind, above the title.
   A generic primitive; no card carries a badge at present. */
.cc-badge {
  display: inline-block; margin-bottom: var(--cc-space-8);
  padding: 0.2rem 0.6rem; border-radius: var(--cc-radius-pill);
  background: var(--cc-orange-tint); color: var(--cc-orange-cta);
  border: 1px solid #FBD9C0;
  font-family: var(--cc-font-heading); font-weight: 600;
  font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.cc-badge--alt {
  background: var(--cc-surface-alt); color: var(--cc-ink-subtle);
  border-color: var(--cc-border);
}

/* Trust row: one cohesive card that floats up to overlap the hero (not four
   detached cards adrift in whitespace). The grid gap becomes hairline dividers.
   Reusable as .cc-trust anywhere a compact "reasons to trust us" strip is wanted. */
.cc-trust.cc-section { padding-top: 0; background: var(--cc-white); }
.cc-trust .cc-cards.wp-block-columns {
  margin-top: calc(-1 * var(--cc-space-64));   /* overlap the hero */
  position: relative; z-index: 5;
  max-width: var(--cc-container-max); margin-inline: auto;
  gap: 1px;                                     /* 1px gaps read as dividers over the border bg */
  background: var(--cc-border);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow-lg);
  overflow: hidden;
}
.cc-trust .cc-card {
  padding: var(--cc-space-24);
  background: var(--cc-surface);
  border: 0; border-radius: 0; box-shadow: none;
  display: grid; grid-template-columns: auto 1fr;
  column-gap: var(--cc-space-16); row-gap: 0; text-align: left;
}
.cc-trust .cc-icon { grid-row: 1 / span 2; margin: 0; width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }
.cc-trust .cc-icon .cc-svg { width: 1.25rem; height: 1.25rem; }
.cc-trust .cc-card .wp-block-heading { grid-column: 2; margin: 0 0 var(--cc-space-4); font-size: var(--cc-fs-body); }
.cc-trust .cc-card p { grid-column: 2; margin: 0; font-size: var(--cc-fs-small); }
.cc-trust .cc-card:hover { transform: none; box-shadow: none; }   /* it's one panel, not liftable tiles */

/* ============================================================================
   Process / How it works — numbered steps
   ========================================================================== */
.cc-process { counter-reset: cc-step; list-style: none; padding: 0; margin: 0; }
.cc-process > li {
  position: relative;
  padding-left: calc(2.5rem + var(--cc-space-16));
  margin-bottom: var(--cc-space-24);
}
.cc-process > li::before {
  counter-increment: cc-step;
  content: counter(cc-step);
  position: absolute; left: 0; top: 0;
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--cc-radius-pill);
  background: var(--cc-orange-cta); color: var(--cc-white);
  font-family: var(--cc-font-heading); font-weight: 700;
}
.cc-process > li > strong { display: block; font-family: var(--cc-font-heading); }
.cc-process--grid { display: grid; gap: var(--cc-space-24); }
@media (min-width: 768px) {
  .cc-process--grid { grid-template-columns: repeat(2, 1fr); }
  /* A trailing odd step (e.g. a 5-step process) spans the full width so the
     final "your property moves forward" step reads as a capstone, not an orphan. */
  .cc-process--grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ============================================================================
   Before / After
   ========================================================================== */
.cc-before-after figure { margin: 0; }
/* Both tiles in a pair must render at the same height regardless of the source
   photo's orientation, or a portrait-next-to-landscape pair leaves a ragged gap.
   Lock every real before/after image to one aspect ratio + cover-crop. 3/4 is the
   least-destructive choice here: most job photos are portrait phone shots (already
   ~3:4), so only the occasional landscape frame is center-cropped. */
.cc-before-after img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 4; object-fit: cover; object-position: center;
  border-radius: var(--cc-radius-lg); box-shadow: var(--cc-shadow-sm);
}
.cc-before-after figcaption {
  margin-top: var(--cc-space-8);
  font-family: var(--cc-font-heading); font-weight: 600;
  color: var(--cc-ink-muted); text-align: center;
}
/* Neutral placeholder tile until verified project media is supplied (GOV-001) —
   now the reserved premium panel (labelled, never a fabricated photo), shared
   with the hero via --cc-photo-surface so it upgrades before/after + coverage
   on every page at once. */
.cc-media-placeholder {
  position: relative;
  display: grid; align-content: end; justify-items: start;
  width: 100%; min-width: 0;            /* always fill the cell — never overflow it */
  aspect-ratio: 4 / 3; min-height: 200px; padding: var(--cc-space-16);
  border: 0; border-radius: var(--cc-radius-lg);
  background: var(--cc-photo-surface); box-shadow: var(--cc-shadow-md);
  overflow: hidden; isolation: isolate;
}
/* In the before/after pair grid the two tiles can get narrow; let aspect-ratio
   govern (drop the 200px floor) so a tile keeps 4/3 and never forces overflow. */
.cc-before-after .cc-media-placeholder { min-height: 0; }
.cc-media-placeholder span {
  display: inline-flex; align-items: center;
  padding: 0.4rem 0.7rem; border-radius: var(--cc-radius-pill);
  background: rgba(17, 24, 39, 0.55); border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--cc-white); font-family: var(--cc-font-heading); font-weight: 600;
  font-size: var(--cc-fs-small); line-height: 1.3;
}
/* Before/after pairs sit side by side; caption spans full width beneath. */
.cc-before-after.wp-block-group {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--cc-space-8);
}
.cc-before-after.wp-block-group > .cc-media-placeholder,
.cc-before-after.wp-block-group > figure { margin: 0; max-width: none; }   /* fill the cell (defeat constrained-layout cap) */
.cc-before-after.wp-block-group > p { grid-column: 1 / -1; max-width: none; margin: var(--cc-space-8) 0 0; }
.cc-before-after .cc-media-placeholder:first-of-type { filter: grayscale(0.4) brightness(0.85); }

/* Before/after "columns" are double-wide (each holds a full pair of tiles), so
   hold one pair per row until there's room for two side by side (≥960px). This
   overrides the generic cc-cards--2 breakpoint (2-up at ≥640) at higher
   specificity so pairs never cram their two tiles into a narrow track. */
.cc-ba-cols.cc-cards--2.wp-block-columns { grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .cc-ba-cols.cc-cards--2.wp-block-columns { grid-template-columns: repeat(2, 1fr); }
}

/* Illustrative case-study treatment: a framing note beneath the head, then per pair
   a chip row (category + "Typical project") above the tiles and a Situation/Work/
   Result list beneath. Every example reads as representative, never a real customer
   job (GOV-001 / No Fabrication Doctrine). Chip row + story span the full pair width. */
.cc-ba-note {
  max-width: 60ch; margin: var(--cc-space-8) auto 0;
  color: var(--cc-ink-muted); font-size: var(--cc-fs-small);
}
.cc-ba-chips {
  grid-column: 1 / -1; justify-self: start; margin-bottom: var(--cc-space-8);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--cc-space-8);
}
.cc-ba-tag,
.cc-ba-kind {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.7rem; border-radius: var(--cc-radius-pill);
  font-family: var(--cc-font-heading); font-weight: 600;
  font-size: var(--cc-fs-small); letter-spacing: 0.04em;
}
.cc-ba-tag { background: var(--cc-orange-tint); color: var(--cc-orange-cta); }
.cc-ba-kind { background: rgba(17, 24, 39, 0.06); color: var(--cc-charcoal); letter-spacing: 0.02em; }
.cc-ba-story {
  grid-column: 1 / -1; max-width: none;
  list-style: none; margin: var(--cc-space-16) 0 0; padding: 0;
  display: grid; gap: var(--cc-space-8);
}
.cc-ba-story li { color: var(--cc-ink-muted); font-size: var(--cc-fs-small); line-height: var(--cc-lh-body); }
.cc-ba-story strong { font-family: var(--cc-font-heading); color: var(--cc-charcoal); margin-right: 0.35rem; }

/* ============================================================================
   Project Guidance — situation → recommended-services finder. Illustration
   panels reuse the reserved .cc-photo panel so real images swap in later with
   no layout change (No Fabrication Doctrine / GOV-001).
   ============================================================================ */
.cc-insight {
  display: flex; gap: var(--cc-space-24); align-items: flex-start;
  max-width: 62rem; margin: var(--cc-space-32) auto 0;
  padding: var(--cc-space-24); border-radius: var(--cc-radius-lg);
  background: var(--cc-orange-tint); border: 1px solid var(--cc-border);
}
.cc-insight__mark { flex: 0 0 auto; width: 2.5rem; height: 2.5rem; color: var(--cc-orange-cta); }
.cc-insight__mark svg { width: 100%; height: 100%; }
.cc-insight__label {
  margin: 0 0 var(--cc-space-4); color: var(--cc-orange-cta);
  font-family: var(--cc-font-heading); font-weight: 700;
  font-size: var(--cc-fs-small); letter-spacing: 0.08em; text-transform: uppercase;
}
.cc-insight__head { margin: 0 0 var(--cc-space-8); font-family: var(--cc-font-heading); font-weight: 700; color: var(--cc-charcoal); font-size: var(--cc-fs-h4); line-height: 1.25; }
.cc-insight__text { margin: 0; color: var(--cc-ink); }

.cc-guide-cards {
  display: grid; grid-template-columns: 1fr; gap: var(--cc-space-24);
  margin-top: var(--cc-space-32);
}
@media (min-width: 640px)  { .cc-guide-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cc-guide-cards { grid-template-columns: repeat(4, 1fr); } }
.cc-guide-card { display: flex; flex-direction: column; gap: var(--cc-space-16); height: 100%; }
.cc-guide-card__head { display: flex; align-items: center; gap: var(--cc-space-8); }
.cc-guide-card__title { margin: 0; font-family: var(--cc-font-heading); font-weight: 700; font-size: var(--cc-fs-h4); line-height: 1.2; }
.cc-guide-card__photo { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
.cc-guide-card__cap { margin: 0; color: var(--cc-ink-muted); text-align: center; }
.cc-guide-card__svc {
  margin-top: auto; padding: var(--cc-space-16);
  border-radius: var(--cc-radius-md); background: var(--cc-orange-tint);
}
.cc-guide-card__svc-label {
  margin: 0 0 var(--cc-space-8); color: var(--cc-orange-cta);
  font-family: var(--cc-font-heading); font-weight: 700;
  font-size: var(--cc-fs-small); letter-spacing: 0.06em; text-transform: uppercase;
}
.cc-guide-card__svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--cc-space-8); }
.cc-guide-card__svc li { display: flex; align-items: center; gap: var(--cc-space-8); }
.cc-guide-check { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; color: var(--cc-orange-cta); }
.cc-guide-check svg { width: 100%; height: 100%; }
.cc-guide-card__svc a { color: var(--cc-charcoal); font-family: var(--cc-font-heading); font-weight: 600; text-decoration: none; }
.cc-guide-card__svc a:hover { color: var(--cc-orange-cta); text-decoration: underline; }

.cc-guide-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--cc-space-24);
  margin-top: var(--cc-space-32); padding: var(--cc-space-24);
  border-radius: var(--cc-radius-lg); background: var(--cc-orange-tint);
}
.cc-guide-cta__lead { display: flex; align-items: flex-start; gap: var(--cc-space-16); flex: 1 1 22rem; }
.cc-guide-cta__mark { flex: 0 0 auto; width: 2.75rem; height: 2.75rem; padding: 0.6rem; border-radius: 50%; background: var(--cc-orange-cta); color: var(--cc-white); display: inline-grid; place-items: center; }
.cc-guide-cta__mark svg { width: 100%; height: 100%; }
.cc-guide-cta__head { margin: 0 0 var(--cc-space-4); font-family: var(--cc-font-heading); font-weight: 700; font-size: var(--cc-fs-h4); }
.cc-guide-cta__text { margin: 0; color: var(--cc-ink); }
.cc-guide-cta__action { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cc-space-24); }
.cc-guide-cta__btn {
  display: inline-flex; align-items: center; gap: var(--cc-space-8);
  padding: 0.85rem 1.4rem; border-radius: var(--cc-radius-pill);
  background: var(--cc-orange-cta); color: var(--cc-white);
  font-family: var(--cc-font-heading); font-weight: 700; text-decoration: none;
}
.cc-guide-cta__btn::after { content: "→"; }
.cc-guide-cta__btn:hover { background: var(--cc-orange-cta-hover); }
.cc-guide-cta__phone { margin: 0; display: flex; flex-direction: column; }
.cc-guide-cta__phone a { color: var(--cc-charcoal); font-family: var(--cc-font-heading); font-weight: 700; font-size: var(--cc-fs-h4); text-decoration: none; }
.cc-guide-cta__phone span { color: var(--cc-ink); font-size: var(--cc-fs-small); }
.cc-guide-note { margin: var(--cc-space-16) 0 0; text-align: center; color: var(--cc-ink-muted); font-weight: 600; }

/* ============================================================================
   Reviews page — reputation summary, "Straight from Google" empty-state shells,
   and the dark Google banner. All honest empty states: the rating, stars, count,
   and review bodies are placeholders that fill only from a connected Google
   Business Profile — nothing is fabricated (GOV-001).
   ========================================================================== */
.cc-reviews-summary.wp-block-group {
  display: grid; gap: var(--cc-space-24); align-items: center;
  background: var(--cc-white); border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg); box-shadow: var(--cc-shadow-md);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.cc-reviews-summary.wp-block-group > * { margin: 0; }   /* defeat flow-layout margins under grid */
@media (min-width: 720px) { .cc-reviews-summary.wp-block-group { grid-template-columns: auto 1fr; } }
.cc-reviews-summary__body > :first-child { margin-top: 0; }
.cc-reviews-summary__body p { color: var(--cc-ink-muted); }
.cc-reviews-summary__body .wp-block-buttons { margin-top: var(--cc-space-24); }

.cc-gbadge {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-align: center; min-width: 180px; padding: 1.2rem 1.4rem;
  border-radius: var(--cc-radius-md); background: var(--cc-surface-alt);
  border: 1px solid var(--cc-border);
}
.cc-gbadge__g svg { width: 40px; height: 40px; display: block; }
.cc-gbadge__rating {
  font-family: var(--cc-font-heading); font-weight: 700; font-size: 2.2rem;
  color: var(--cc-ink-subtle); line-height: 1;
}
.cc-gbadge__stars { display: flex; gap: 3px; color: var(--cc-border-strong); }
.cc-gbadge__stars svg { width: 18px; height: 18px; }
.cc-gbadge__cnt { font-size: var(--cc-fs-small); color: var(--cc-ink-subtle); }
.cc-gbadge__pending {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--cc-font-heading); font-weight: 600; font-size: 0.72rem;
  color: var(--cc-orange-cta); background: var(--cc-orange-tint);
  border: 1px solid #FBD9C0; padding: 0.25rem 0.55rem; border-radius: var(--cc-radius-pill);
}
.cc-gbadge__pending svg { width: 12px; height: 12px; }
.cc-gbadge__verified {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: var(--cc-fs-small); color: var(--cc-ink-subtle); margin-top: 0.1rem;
}
.cc-gbadge__verified svg { width: 13px; height: 13px; color: #1A7F37; }

.cc-rev-grid {
  display: grid; gap: var(--cc-space-24); grid-template-columns: 1fr;
  margin-top: var(--cc-space-24);
}
@media (min-width: 680px) { .cc-rev-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cc-rev-grid { grid-template-columns: repeat(3, 1fr); } }
.cc-rev {
  background: var(--cc-white); border: 1px dashed var(--cc-border-strong);
  border-radius: var(--cc-radius-lg); padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.cc-rev__top { display: flex; align-items: center; gap: 0.7rem; }
.cc-rev__av {
  width: 40px; height: 40px; border-radius: 50%; background: var(--cc-surface-alt);
  border: 1px solid var(--cc-border); display: grid; place-items: center;
  color: var(--cc-ink-subtle); flex: 0 0 auto;
}
.cc-rev__av svg { width: 20px; height: 20px; }
/* Real Google reviewer photo (from the Places API) fills the avatar circle. */
.cc-rev__av--photo { padding: 0; overflow: hidden; background: transparent; border-color: var(--cc-border); }
.cc-rev__av--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.cc-rev__who { display: grid; gap: 5px; }
.cc-rev__bar { height: 9px; width: 90px; border-radius: 5px; background: var(--cc-surface-alt); }
.cc-rev__bar--s { width: 60px; height: 7px; }
.cc-rev__lines { display: grid; gap: 7px; }
.cc-rev__ln { height: 9px; border-radius: 5px; background: var(--cc-surface-alt); }
.cc-rev__ln:nth-child(2) { width: 92%; }
.cc-rev__ln:nth-child(3) { width: 78%; }
.cc-rev__slot {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--cc-font-heading); font-weight: 600; font-size: 0.74rem;
  color: var(--cc-ink-subtle);
}
.cc-rev__slot svg { width: 14px; height: 14px; color: var(--cc-orange-cta); }

/* Credibility badge bar (TRU-3) — renders only when the owner supplies verified
   badges. Centred, wrapping strip of icon+label pills. */
.cc-trustbar {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--cc-space-16); margin: 0 auto;
}
.cc-trustbadge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 1.1rem; border-radius: var(--cc-radius-pill);
  background: var(--cc-surface-alt); border: 1px solid var(--cc-border);
  font-family: var(--cc-font-heading); font-weight: 600; color: var(--cc-ink);
}
.cc-trustbadge .cc-icon { color: var(--cc-orange-cta); }
.cc-trustbadge .cc-icon svg { width: 20px; height: 20px; }
.cc-trustbadge__note { font-weight: 400; color: var(--cc-ink-muted); }

/* Real (populated) review cards — solid border replaces the dashed skeleton,
   with a real name, gold star rating, and text. Rendered by cc_bb_reviews_list()
   only when verified reviews exist. */
.cc-rev--real { border-style: solid; border-color: var(--cc-border); }
.cc-rev--real .cc-rev__av {
  font-family: var(--cc-font-heading); font-weight: 700; font-size: 1.05rem;
  color: var(--cc-orange-cta); background: var(--cc-orange-tint);
  border-color: #FBD9C0;
}
.cc-rev__name { font-family: var(--cc-font-heading); font-weight: 600; color: var(--cc-ink); }
.cc-rev__stars { display: inline-flex; gap: 2px; color: var(--cc-border-strong); }
.cc-rev__stars svg { width: 15px; height: 15px; }
.cc-rev__star--on { color: #E8A317; }
.cc-rev__text { margin: 0; color: var(--cc-ink-muted); }
.cc-rev__foot {
  margin-top: auto; display: flex; align-items: baseline;
  justify-content: space-between; gap: 0.6rem; flex-wrap: wrap;
}
.cc-rev__date { font-size: var(--cc-fs-small); color: var(--cc-ink-subtle); }

/* Live rating badge (real reviews). Gold stars distinguish it from the neutral
   empty-state badge; the numeric rating uses the heading face for weight. */
.cc-gbadge--live .cc-gbadge__rating { color: var(--cc-ink); }
.cc-gbadge__stars--on { color: #E8A317; }
.cc-gstar { display: inline-flex; }
.cc-gstar svg { width: 18px; height: 18px; }
.cc-gstar:not(.cc-gstar--on) { color: var(--cc-border-strong); }

.cc-note {
  margin-top: var(--cc-space-24); padding: var(--cc-space-16) var(--cc-space-24);
  font-size: var(--cc-fs-small); color: var(--cc-ink-muted);
  background: var(--cc-white); border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-md);
}

/* Dark Google banner — a contained dark card on a plain (white) section. */
.cc-gbanner.wp-block-group {
  display: grid; gap: var(--cc-space-24); align-items: center;
  background: var(--cc-charcoal); color: var(--cc-white);
  border-radius: var(--cc-radius-lg); box-shadow: var(--cc-shadow-md);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.cc-gbanner.wp-block-group > * { margin: 0; }
.cc-gbanner :is(h2, p) { color: var(--cc-white); }
@media (min-width: 820px) { .cc-gbanner.wp-block-group { grid-template-columns: 1fr auto; } }
.cc-gbanner__mark {
  width: 44px; height: 44px; border-radius: 50%; background: var(--cc-white);
  display: grid; place-items: center;
  margin: 0 auto var(--cc-space-16) 0;   /* left-aligned, above the heading */
}
.cc-gbanner__mark svg { width: 26px; height: 26px; }
.cc-gbanner__text > :first-child { margin-top: 0; }
.cc-gbanner__text p { color: #E5E7EB; margin-bottom: 0; }
.cc-gbanner .wp-block-buttons { margin-top: 0; }

/* ============================================================================
   Service areas — pill links / coverage
   ========================================================================== */
.cc-areas { display: flex; flex-wrap: wrap; gap: var(--cc-space-8); justify-content: center; }
.cc-areas .wp-block-button__link,
.cc-pill {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: var(--cc-radius-pill);
  background: var(--cc-surface); border: 1px solid var(--cc-border);
  color: var(--cc-ink); font-family: var(--cc-font-heading); font-weight: 600;
  font-size: var(--cc-fs-small); text-decoration: none;
  box-shadow: var(--cc-shadow-xs);
  transition: transform var(--cc-transition-fast) var(--cc-ease),
              border-color var(--cc-transition-fast) var(--cc-ease),
              color var(--cc-transition-fast) var(--cc-ease);
}
@media (hover: hover) {
  .cc-areas .wp-block-button__link:hover,
  .cc-pill:hover { transform: translateY(-2px); border-color: var(--cc-orange); color: var(--cc-orange-cta); }
}

/* Coverage map: two-column (list + embed) that stacks on mobile. */
.cc-coverage__map iframe,
.cc-coverage__map img { width: 100%; border: 0; border-radius: var(--cc-radius-lg); box-shadow: var(--cc-shadow-sm); }

/* ============================================================================
   Reviews
   ========================================================================== */
.cc-reviews .cc-card { text-align: left; }
.cc-reviews__stars { color: var(--cc-orange); letter-spacing: 0.1em; font-size: 1.1rem; }
.cc-reviews__source { color: var(--cc-ink-subtle); font-size: var(--cc-fs-small); }

/* ============================================================================
   FAQ — core/details accordion (accessible, no JS)
   ========================================================================== */
.cc-faq { max-width: 52rem; margin-inline: auto; }
/* FAQ sections stack (six of them on the FAQ page), so tighten each section's
   band ~25% for a calmer rhythm — they were reading like six full pages. */
.cc-section:has(.cc-faq) {
  padding-top: var(--cc-space-48);
  padding-bottom: var(--cc-space-48);
}
.cc-faq .wp-block-details {
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-md);
  background: var(--cc-surface);
  box-shadow: var(--cc-shadow-xs);
  margin-bottom: var(--cc-space-16);
  padding: 0;
}
.cc-faq .wp-block-details > summary {
  list-style: none; cursor: pointer;
  padding: var(--cc-space-24);
  font-family: var(--cc-font-heading); font-weight: 600; font-size: var(--cc-fs-h4);
  color: var(--cc-charcoal);
  display: flex; justify-content: space-between; align-items: center; gap: var(--cc-space-16);
}
.cc-faq .wp-block-details > summary::-webkit-details-marker { display: none; }
.cc-faq .wp-block-details > summary::after {
  content: "+"; font-size: 1.5rem; color: var(--cc-orange-cta); line-height: 1;
  transition: transform var(--cc-transition-base) var(--cc-ease);
}
.cc-faq .wp-block-details[open] > summary::after { content: "\2212"; }
.cc-faq .wp-block-details > :not(summary) {
  margin: 0 var(--cc-space-24) var(--cc-space-24);
  color: var(--cc-ink-muted); line-height: var(--cc-lh-body);
}

/* ============================================================================
   CTA banner / Final CTA
   ========================================================================== */
.cc-cta-banner { text-align: center; border-radius: var(--cc-radius-lg); }
.cc-cta-banner .wp-block-buttons { justify-content: center; }
.cc-cta-banner--tint { background: var(--cc-orange-tint); }

/* ============================================================================
   Pricing (generic pattern for future landing pages — CC pages are quote-only)
   ========================================================================== */
.cc-price { padding: var(--cc-space-32); text-align: center; }
.cc-price__amount { font-family: var(--cc-font-heading); font-weight: 700; font-size: var(--cc-fs-h1); color: var(--cc-charcoal); }
.cc-price__term { color: var(--cc-ink-subtle); font-size: var(--cc-fs-small); }
.cc-price--featured { border: 2px solid var(--cc-orange); }

/* ============================================================================
   Interior page header — SITEWIDE PRIMITIVE (mirrors the hero)
   The warm brand wash + reserved photo panel that the homepage hero establishes,
   rolled out to every interior page. Two variants share one builder
   (cc_bb_page_header): centred (hubs, Our Work, Reviews, FAQ, Contact, legal) and
   composed two-column (service, pillar, About, service-area pages).
   ========================================================================== */
.cc-phead.cc-section {
  position: relative;
  background-color: var(--cc-surface);
  background-image: var(--cc-hero-wash);
  overflow: hidden;
}
/* Compact centred header: roughly half the vertical band, for pages whose proof
   sits in the section immediately below (e.g. Google Reviews rating card). */
.cc-phead--compact.cc-section {
  padding-top: var(--cc-space-32);
  padding-bottom: var(--cc-space-32);
}
.cc-page-header { text-align: center; }
.cc-page-header .cc-breadcrumb {
  font-size: var(--cc-fs-small); color: var(--cc-ink-subtle); margin-bottom: var(--cc-space-8);
}
/* Underlined so breadcrumb links are distinguishable by more than colour (WCAG 1.4.1). */
.cc-page-header .cc-breadcrumb a { color: var(--cc-ink-muted); text-decoration: underline; text-underline-offset: 2px; }
.cc-page-header .cc-breadcrumb a:hover { color: var(--cc-orange-cta); }

/* Composed variant: breadcrumb over a two-column grid (copy | reserved photo).
   Mirrors the hero primitive (.cc-hero__*) so headers read consistently. */
.cc-page-header--composed { text-align: left; }
.cc-page-header--composed .cc-breadcrumb { margin-bottom: var(--cc-space-24); }
.cc-page-header__grid.wp-block-columns { gap: clamp(1.75rem, 4vw, 3.25rem); align-items: start; margin-top: 0; }
.cc-page-header__text { max-width: 40rem; }
.cc-page-header__text h1 { text-wrap: balance; letter-spacing: -0.02em; }
.cc-page-header__text .cc-lead { max-width: var(--cc-headline-measure); color: var(--cc-ink-muted); }
.cc-page-header__text .wp-block-buttons { margin-top: var(--cc-space-24); }
.cc-page-header__media { width: 100%; }
/* Service/pillar hero photo reads as a wide landscape crop, not the near-square
   portrait of the default panel ratio. A shorter image (a) finishes near the CTA
   row so it balances the copy column instead of running hundreds of pixels below
   it, and (b) gains bottom breathing room. object-position biases the cover crop
   upward so the dark foreground/floor is trimmed off the bottom, not the subject. */
.cc-page-header__photo { aspect-ratio: 16 / 10; }
.cc-page-header__photo > img,
.cc-page-header__photo picture > img { object-position: center 35%; }
/* Portrait modifier (About): the subject is a standing crew member, not a wide
   job site. A taller frame reveals the full figure — work gear and boots, not a
   mid-thigh crop — which is stronger trust evidence (GOV-010 Photo/Trust Rule).
   object-position keeps the head and boots in; only empty ceiling/floor is trimmed. */
.cc-page-header__photo--portrait { aspect-ratio: 4 / 5; }
.cc-page-header__photo--portrait > img,
.cc-page-header__photo--portrait picture > img { object-position: center 55%; }
/* A standing-figure portrait is naturally tall, so an even 50/50 split leaves a dead
   zone of whitespace beside its lower half. On desktop give the copy the wider column
   and the portrait a narrower, portrait-shaped one (narrower column = shorter photo =
   less gap), and vertically centre the copy so any remaining space reads as balance,
   not a bottom void. Scoped to the About header via :has(); service/area/reviews
   headers keep their landscape 50/50. Desktop-only so mobile stacking is untouched. */
@media (min-width: 782px) {
  .cc-page-header__grid:has(.cc-page-header__photo--portrait) > .wp-block-column.is-vertically-aligned-center { align-self: center; }
  .cc-page-header__grid:has(.cc-page-header__photo--portrait) > .cc-page-header__media { flex: 0 0 38%; }
}
@media (max-width: 781px) {
  .cc-page-header__media { margin-top: var(--cc-space-24); }
}
/* Reviews hero: the live Google rating card stands in for the service-hero photo,
   so give it real card presence and a comfortable size in the media column. The
   photo-frame decoration (premium.css .cc-page-header__media::before) is meant to
   sit behind a full photo, so suppress it here and lift the card above it. */
.cc-page-header__media:has(.cc-gbadge)::before { content: none; }
.cc-page-header__media .cc-gbadge {
  position: relative; z-index: 1;
  width: 100%; max-width: 22rem; margin-inline: auto;
  padding: clamp(1.6rem, 3vw, 2.4rem); gap: 0.55rem;
  background: var(--cc-white); border-color: var(--cc-border);
  box-shadow: var(--cc-shadow-md); border-radius: var(--cc-radius-lg);
}
.cc-page-header__media .cc-gbadge__g svg { width: 46px; height: 46px; }
.cc-page-header__media .cc-gbadge__rating { font-size: 3rem; }
.cc-page-header__media .cc-gbadge__stars svg { width: 22px; height: 22px; }

/* ============================================================================
   Informational footer (WEB-ADR-003) — a brand ANCHOR beside curated nav, on a
   deeper charcoal plane than the CTA above it. Not a sitemap: a designed IA.

   Separation from the final-CTA band: the footer wrap sits on #111827 (set in
   kadence-config), one shade deeper than the CTA's #1F2937, and the full-bleed
   hairline below marks the seam. Together with the generous top padding they
   read as two distinct planes instead of one continuous dark block.
   ========================================================================== */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.14); }

/* Kadence's widget link style underlines every footer link via
   `.inner-link-style-normal a:not(.button)` (specificity 0,2,1). Neutralize it
   once for the whole footer at 0,3,1 so our calm, underline-free links win
   without !important; each link type sets its own colour/hover below. */
.site-footer .cc-footer a:not(.wp-element-button) { text-decoration: none; }

/* Kadence's footer middle section defaults to centre alignment; the footer IA is
   left-aligned (brand anchor + columns), so pin it explicitly. */
.cc-footer { width: 100%; text-align: left; padding: clamp(3rem, 6vw, 4.5rem) 0 var(--cc-space-48); }

/* Brand promise line under the tagline — a quiet, punchy reinforcement. */
.cc-footer__promises {
  margin: 0.45rem 0 0; font-size: var(--cc-fs-small); color: #9CA3AF; letter-spacing: 0.01em;
}

/* --- Two-zone body: brand anchor (left) + curated nav (right) ------------- */
.cc-footer__main {
  display: grid; gap: var(--cc-space-48);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .cc-footer__main {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }
}

/* --- Brand anchor -------------------------------------------------------- */
.cc-footer__brand { max-width: 34rem; }
.cc-footer__wordmark {
  display: inline-block; font-family: var(--cc-font-heading);
  font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em;
  color: var(--cc-white); text-decoration: none; line-height: 1.1;
}
.cc-footer__wordmark::after {
  content: ""; display: block; width: 2.25rem; height: 3px; margin-top: 0.6rem;
  border-radius: var(--cc-radius-pill); background: var(--cc-orange);
}
.cc-footer__tagline {
  margin: var(--cc-space-16) 0 var(--cc-space-24);
  color: #9CA3AF; font-size: var(--cc-fs-small); line-height: var(--cc-lh-body);
}
.cc-footer__phone {
  display: inline-flex; align-items: center; gap: var(--cc-space-8);
  font-family: var(--cc-font-heading); font-weight: 600; font-size: 1.375rem;
  color: var(--cc-white); text-decoration: none;
  transition: color var(--cc-transition-fast) var(--cc-ease);
}
.cc-footer__phone .cc-svg { width: 20px; height: 20px; color: var(--cc-orange); flex: none; }
.cc-footer__phone:hover { color: var(--cc-orange); }
.cc-footer__contact {
  list-style: none; margin: var(--cc-space-16) 0 0; padding: 0;
  display: flex; flex-direction: column; gap: var(--cc-space-8);
}
.cc-footer__contact li { display: flex; align-items: center; gap: var(--cc-space-8); }
.cc-footer__contact .cc-svg { width: 16px; height: 16px; color: #9CA3AF; flex: none; }
.cc-footer__contact a {
  color: #E5E7EB; text-decoration: none; font-size: var(--cc-fs-small);
  transition: color var(--cc-transition-fast) var(--cc-ease);
}
.cc-footer__contact a:hover { color: var(--cc-orange); }
.cc-footer__meta {
  margin-top: var(--cc-space-24); padding-top: var(--cc-space-24);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex; flex-direction: column; gap: var(--cc-space-12, 0.75rem);
}
.cc-footer__meta-line {
  display: flex; align-items: flex-start; gap: var(--cc-space-8); margin: 0;
  color: #9CA3AF; font-size: var(--cc-fs-small); line-height: 1.5;
}
.cc-footer__meta-line .cc-svg { width: 16px; height: 16px; color: #9CA3AF; flex: none; margin-top: 0.15em; }

/* --- Curated nav columns ------------------------------------------------- */
.cc-footer__nav {
  display: grid; gap: var(--cc-space-32);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.cc-footer__title {
  font-family: var(--cc-font-heading); font-weight: 600; color: var(--cc-white);
  font-size: var(--cc-fs-small); text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 var(--cc-space-16);
}
.cc-footer__col ul { list-style: none; margin: 0; padding: 0; }
.cc-footer__col li { margin-bottom: var(--cc-space-12, 0.75rem); }
.cc-footer__col a {
  color: #E5E7EB; text-decoration: none; font-size: var(--cc-fs-small);
  transition: color var(--cc-transition-fast) var(--cc-ease);
}
.cc-footer__col a:hover { color: var(--cc-orange); }
.cc-footer__all {
  margin-top: var(--cc-space-16); padding-top: var(--cc-space-12, 0.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.cc-footer__all a {
  display: inline-flex; align-items: center; color: var(--cc-orange); font-weight: 500;
}
.cc-footer__arrow::after { content: "\2192"; margin-left: 0.4em; transition: transform var(--cc-transition-fast) var(--cc-ease); }
.cc-footer__all a:hover .cc-footer__arrow::after { transform: translateX(3px); }

/* --- Legal bar (separated foundation strip) ------------------------------ */
.cc-footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: var(--cc-space-24);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: var(--cc-space-16);
}
.cc-footer__legal { margin: 0; color: #9CA3AF; font-size: var(--cc-fs-small); }
.cc-footer__legal-nav {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--cc-space-8) var(--cc-space-16);
}
.cc-footer__legal-nav a {
  position: relative; color: #9CA3AF; text-decoration: none; font-size: var(--cc-fs-small);
  transition: color var(--cc-transition-fast) var(--cc-ease);
}
.cc-footer__legal-nav a:hover { color: var(--cc-orange); }
.cc-footer__legal-nav a + a::before {
  content: "\00B7"; position: absolute; left: calc(var(--cc-space-16) / -2);
  transform: translateX(-50%); color: rgba(255, 255, 255, 0.3);
}

/* Clear the fixed mobile action bar (.cc-sticky-bar, shown < 1024px) so the
   legal bar can scroll above it instead of hiding behind it. Reserve = bar
   height + breathing room; the bar is taller on narrow phones where the Text
   CTA wraps to two lines (~96px) than on tablets (~69px). env() adds the iOS
   home-indicator inset, matching the bar's own safe-area padding. */
@media (max-width: 1023.98px) {
  .cc-footer { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 479.98px) {
  .cc-footer { padding-bottom: calc(7rem + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================================
   Feature split — story beside a reserved visual (mirrors the hero geometry)
   ========================================================================== */
.cc-feature-split__grid.wp-block-columns { gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
.cc-feature-split__text { max-width: 40rem; }
.cc-feature-split__text > :first-child { margin-top: 0; }
.cc-feature-split__media { width: 100%; }
@media (max-width: 781px) {
  .cc-feature-split__media { margin-top: var(--cc-space-24); }
}

/* Icon checklist — a native, editable list with a tinted CSS check bullet (so the
   text stays owner-editable; the check is decoration, not content). */
.cc-checklist {
  list-style: none; margin: var(--cc-space-24) 0 0; padding: 0;
  display: grid; gap: var(--cc-space-16);
}
.cc-checklist li {
  position: relative; padding-left: calc(1.6rem + var(--cc-space-16));
  color: var(--cc-ink); line-height: var(--cc-lh-body);
}
.cc-checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 0.1em;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--cc-orange-tint); color: var(--cc-orange-cta);
  font-size: 0.85rem; font-weight: 700;
}
.cc-section--dark .cc-checklist li { color: var(--cc-white); }

/* Pricing-explainer highlighted note (minimum / starting point / "from $90"). */
.cc-pricenote {
  margin-top: var(--cc-space-24);
  padding: var(--cc-space-16) var(--cc-space-24);
  background: var(--cc-orange-tint);
  border: 1px solid var(--cc-border);
  border-left: 3px solid var(--cc-orange-cta);
  border-radius: var(--cc-radius-md);
  font-size: 0.95rem;
}

/* ============================================================================
   Utility
   ========================================================================== */
.cc-measure { max-width: var(--cc-content-measure); margin-inline: auto; }
.cc-mt-0 { margin-top: 0 !important; }

/* ============================================================================
   Desktop header click-to-call (audit H5) — a tappable phone beside the CTA.
   Desktop-only element; mobile keeps the sticky Call/Text bar.
   ========================================================================== */
.cc-header-call {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--cc-font-heading); font-weight: 600; font-size: 0.95rem;
  color: var(--cc-charcoal); text-decoration: none; white-space: nowrap;
  margin-inline-end: var(--cc-space-16);
  transition: color var(--cc-transition-fast) var(--cc-ease);
}
.cc-header-call svg { width: 18px; height: 18px; flex: 0 0 auto; }
.cc-header-call:hover { color: var(--cc-orange-cta); }
.cc-header-call:focus-visible {
  outline: none; box-shadow: var(--cc-shadow-focus);
  border-radius: var(--cc-radius-sm);
}

/* ============================================================================
   Full-bleed page flush — remove Kadence's boxed-content offset
   Every marketing page is a stack of edge-to-edge sections (.cc-hero / .cc-phead
   at the top, then .cc-section blocks) that each carry their own vertical rhythm.
   Kadence's boxed layout adds `.content-area { margin: 5rem 0 }` and
   `.entry-content-wrap { padding: 2rem }`, which on these pages only open a dead
   band under the sticky header and above the footer (see the empty strip above
   the hero wash). Pull the section stack flush. Scoped with :has() so any other
   layout (blog, archive, 404, search) keeps Kadence's default spacing.
   ========================================================================== */
.content-area:has(.cc-hero, .cc-phead) {
  margin-top: 0;
  margin-bottom: 0;
}
.content-area:has(.cc-hero, .cc-phead) .entry-content-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

/* ============================================================================
   Contact form — Fluent Forms, dressed in the design system
   The Contact page embeds a Fluent Forms form ([fluentform]) inside .cc-form.
   Out of the box it renders as an unstyled, full-content-width column of bare
   default controls. Constrain it to a comfortable measure, ground it in a card,
   and match inputs + submit to the brand tokens. WordPress layout rules use
   zero-specificity :where(), so these class selectors win without !important;
   only the submit background needs it (Fluent Forms sets an inline colour).
   ========================================================================== */

/* Card: constrain + lift the form off the page surface. */
.cc-form .frm-fluent-form {
  max-width: 44rem;
  margin: var(--cc-space-32) auto 0;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow-md);
}

/* Vertical rhythm between fields. */
.cc-form .frm-fluent-form .ff-el-group { margin-bottom: var(--cc-space-24); }
.cc-form .frm-fluent-form .ff-el-group:last-of-type { margin-bottom: 0; }

/* Labels: heading font, quiet weight, clear separation from the control. */
.cc-form .ff-el-input--label label {
  display: inline-block;
  margin-bottom: var(--cc-space-8);
  font-family: var(--cc-font-heading);
  font-weight: 600;
  font-size: var(--cc-fs-small);
  color: var(--cc-ink);
  line-height: 1.3;
}
/* Required marker in brand orange rather than raw red. */
.cc-form .ff-el-is-required.asterisk-right .ff-el-input--label label:after,
.cc-form .ff-el-input--label.asterisk-right label:after,
.cc-form .ff-el-is-asterisk { color: var(--cc-orange-cta); }

/* Controls: consistent height, hairline border, brand focus ring. */
.cc-form .ff-el-form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--cc-font-body);
  font-size: var(--cc-fs-body);
  line-height: 1.4;
  color: var(--cc-ink);
  background-color: var(--cc-white);
  border: 1px solid var(--cc-border-strong);
  border-radius: var(--cc-radius-sm);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--cc-transition-base) var(--cc-ease),
              box-shadow var(--cc-transition-base) var(--cc-ease);
}
.cc-form .ff-el-form-control::placeholder { color: var(--cc-ink-subtle); opacity: 1; }
.cc-form textarea.ff-el-form-control { min-height: 8rem; resize: vertical; }
.cc-form .ff-el-form-control:focus {
  outline: none;
  border-color: var(--cc-orange-cta);
  box-shadow: var(--cc-shadow-focus);
}

/* Native select: strip the OS chrome, add a brand chevron. */
.cc-form select.ff-el-form-control {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23636D7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
}

/* Submit: the primary CTA. !important defends against Fluent Forms' inline
   background colour set from the form's design settings. */
.cc-form .ff-btn.ff-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--cc-space-8);
  padding: 0.8rem 1.75rem;
  font-family: var(--cc-font-heading);
  font-weight: 600;
  font-size: var(--cc-fs-body);
  line-height: 1.2;
  color: var(--cc-white) !important;
  background: var(--cc-orange-cta) !important;
  border: 1px solid transparent;
  border-radius: var(--cc-radius-md);
  box-shadow: var(--cc-shadow-sm);
  cursor: pointer;
  transition: background-color var(--cc-transition-base) var(--cc-ease),
              transform var(--cc-transition-fast) var(--cc-ease),
              box-shadow var(--cc-transition-base) var(--cc-ease);
}
.cc-form .ff-btn.ff-btn-submit:hover {
  background: var(--cc-orange-cta-hover) !important;
  transform: translateY(-1px);
  box-shadow: var(--cc-shadow-md);
}
.cc-form .ff-btn.ff-btn-submit:focus-visible {
  outline: none;
  box-shadow: var(--cc-shadow-focus);
}
