/* =========================================================
 * DESIGN TOKENS: Georgia Therapist CPA
 * =========================================================
 * Fonts and palette carried over from the original microsite:
 * "Teal, Sage & Gold" (teal primary, sage secondary, gold accent,
 * warm cream neutrals). Heading font Nunito, body font Nunito Sans.
 * Re-theme here; the THEME LAYER at the end of this file applies the
 * microsite's section designs to the baselayout components.
 * ========================================================= */

/* Fonts are self-hosted in static/fonts. */
@font-face {
	font-family: "Nunito";
	src: url("/fonts/nunito-latin-700-normal.woff2") format("woff2");
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Nunito Sans";
	src: url("/fonts/nunito-sans-latin-400-normal.woff2") format("woff2");
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Nunito Sans";
	src: url("/fonts/nunito-sans-latin-600-normal.woff2") format("woff2");
	font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Nunito Sans";
	src: url("/fonts/nunito-sans-latin-700-normal.woff2") format("woff2");
	font-weight: 700; font-style: normal; font-display: swap;
}

:root {
	/* ---- Color (microsite palette) ---- */
	--color-primary: #2f6f73;             /* muted teal: buttons, accents (cream text on it 5.8:1) */
	--color-primary-hover: #245a5e;       /* hover state of primary */
	--color-primary-light: #4f8f92;       /* lighter teal accent */
	--color-on-primary: #fffdf8;          /* text on teal buttons */
	--color-background: #fffdf8;          /* warm cream-white page background */
	--color-surface: #f3efe6;             /* alternate section / card background (sand) */
	--color-text: #1f3335;                /* deep teal-black, 13:1 on background */
	--color-muted: #566766;               /* secondary text (5.9:1) */
	--color-dark: #1f4547;                /* dark teal bands: services, footer, hero start */
	--color-dark-2: #2a5a5d;              /* middle stop of the hero gradient */
	--color-light: #fffdf8;               /* text on dark surfaces */
	--color-on-dark-muted: #dbe8e6;       /* soft text on dark bands */
	--color-border: #d6d0c2;              /* warm sand border */
	--color-input-border: #9db0ae;        /* form field outlines (easy to see) */
	--color-link: #2f6f73;                /* links on light backgrounds */
	--color-eyebrow: #2f6f73;             /* small uppercase labels */
	--color-focus: #2f6f73;               /* keyboard focus ring */
	--color-secondary: #8fae9a;           /* sage: accent bars under headings */
	--color-tint: #e9efe6;                /* pale sage tint for chips */
	--color-sand-deep: #e4dccb;           /* deeper sand for borders */
	--color-accent: #d4a24c;              /* warm gold: primary calls to action */
	--color-accent-hover: #c08f38;
	--color-on-accent: #1f3335;           /* dark text on gold (5.7:1); white on gold fails */
	--color-success: #15803d;
	--color-error: #b91c1c;

	/* ---- Typography ---- */
	--font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-heading: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-size-base: 1rem;
	--font-size-small: 0.875rem;
	--font-size-lead: 1.15rem;
	--font-size-h3: 1.25rem;
	--font-size-h2: clamp(1.6rem, 2.6vw, 2rem);
	--font-size-h1: clamp(2rem, 3.6vw, 2.75rem);
	--font-size-display: clamp(2.1rem, 4vw, 3.25rem);
	--body-line-height: 1.6;
	--heading-line-height: 1.2;
	--heading-weight: 700;
	--heading-letter-spacing: -0.01em;
	--label-letter-spacing: 0.08em;

	/* ---- Layout ---- */
	--container-width: 1200px;
	--content-width: 750px;            /* long-form reading column */
	--text-width-narrow: 62ch;
	--section-spacing: 4rem;           /* a little denser than baselayout, like the microsite */
	--section-spacing-mobile: 2.75rem;
	--gutter: 1rem;
	--gutter-wide: 2rem;

	/* ---- Spacing scale ---- */
	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2rem;
	--space-5: 2.5rem;
	--space-6: 3rem;
	--space-8: 4rem;

	/* ---- Shape ---- */
	--radius: 6px;                     /* buttons, inputs */
	--radius-card: 8px;                /* cards and panels (microsite --radius) */
	--image-radius: 8px;
	/* rgba of --color-dark (31, 69, 71). Update if --color-dark changes. */
	--shadow-card: 0 1px 2px rgb(31 69 71 / 8%), 0 6px 18px rgb(31 69 71 / 8%);

	/* ---- Section bands (microsite "Denser" theme) ---- */
	--band-hero: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 55%, var(--color-primary) 100%);
	--band-cta: linear-gradient(90deg, var(--color-primary) 0%, var(--color-dark) 100%);

	/* ---- Hero (hero-background variant, unused by default) ---- */
	--hero-overlay-color: #fffdf8;
	--hero-overlay-opacity: 0.72;
}

/* =========================================================
 * BASE STYLESHEET
 * =========================================================
 * Contains: reset, typography, layout helpers, buttons,
 * forms, header, footer, interior page chrome, and shared
 * section pieces.
 *
 * Section-specific styles live in components/*.css.
 *
 * HOW THIS FILE IS THEMED
 * Almost every color, font, size and spacing value below is a
 * CSS custom property, written var(--something). Those are NOT
 * defined in this file; they come from a separate theme/variables
 * file. To change the look of the site (colors, fonts, spacing),
 * edit the variable values there. Edit this file only when you want
 * to change structure or behavior.
 *
 * Variables used here (for reference):
 *   Colors:  --color-text, --color-background, --color-link,
 *            --color-primary, --color-primary-hover,
 *            --color-on-primary, --color-surface, --color-dark,
 *            --color-light, --color-muted, --color-on-dark-muted,
 *            --color-eyebrow, --color-border, --color-focus
 *   Type:    --font-body, --font-heading, --font-size-base,
 *            --font-size-h1/h2/h3, --font-size-small,
 *            --font-size-lead, --body-line-height,
 *            --heading-weight, --heading-line-height,
 *            --heading-letter-spacing, --label-letter-spacing
 *   Spacing: --space-1 ... --space-8, --gutter, --gutter-wide,
 *            --section-spacing, --section-spacing-mobile
 *   Widths:  --container-width, --content-width, --text-width-narrow
 *   Shape:   --radius, --image-radius
 * ========================================================= */


/* =========================================================
 * 1. RESET & GLOBAL DEFAULTS
 * ========================================================= */

/* Make width/height include padding and borders everywhere.
 * This makes sizing far more predictable. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Smooth scrolling for in-page anchor links (#section).
 * scroll-padding-top leaves room so the target isn't hidden
 * under a sticky header. Increase it if your header is taller. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* Respect users who have asked their OS to reduce motion. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* The body is a vertical flex column so the footer stays at the
 * bottom of the screen on short pages (see `main` below). */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--body-line-height);
  color: var(--color-text);
  background: var(--color-background);
}

/* `flex: 1` makes main grow to fill spare space, pushing the footer down. */
main {
  flex: 1;
}


/* =========================================================
 * 2. TYPOGRAPHY
 * ========================================================= */

/* Shared heading styles. Font, weight, spacing come from variables. */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
}

/* Only h1-h3 get their own sizes; h4-h6 inherit the base size. */
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
  margin-top: 0;
}

a {
  color: var(--color-link);
}

a:hover {
  color: var(--color-primary-hover);
}

/* Images never overflow their container and scale proportionally.
 * `display: block` removes the small gap browsers leave under inline images. */
img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* =========================================================
 * 3. ACCESSIBILITY HELPERS
 * ========================================================= */

/* Visible keyboard-focus ring. Only shows for keyboard users,
 * not mouse clicks. Color is --color-focus. */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

/* Hides content visually but keeps it available to screen readers.
 * Use class="visually-hidden" for labels you don't want to show.
 * The skip link uses the same technique until it receives focus. */
.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* "Skip to content" link: appears in the top-left corner when a
 * keyboard user tabs to it, letting them bypass the navigation. */
.skip-link:focus {
  position: fixed;
  top: var(--space-1);
  left: var(--space-1);
  z-index: 2000;
  padding: var(--space-1) var(--space-2);
  background: var(--color-light);
  color: var(--color-text);
}


/* =========================================================
 * 4. LAYOUT PRIMITIVES
 * ========================================================= */

/* .container centers content and caps its width.
 * Side padding (gutter) is bigger on wider screens. */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--gutter-wide);
  }
}

/* ---------- Sections ----------
 * Every shortcode section renders as <section class="section ...">.
 * Vertical padding is smaller on mobile, larger from 768px up. */
.section {
  padding-block: var(--section-spacing-mobile);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--section-spacing);
  }
}

/* Section background variants (add as an extra class). */
.section--surface {
  background: var(--color-surface);
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-light);
}

/* Inside a dark section, headings and (non-button) links go light. */
.section--dark h2,
.section--dark h3 {
  color: var(--color-light);
}

.section--dark a:not(.button) {
  color: var(--color-light);
}

/* Compact variant with less vertical padding. */
.section--tight {
  padding-block: var(--space-6);
}

/* ---------- Section headers (title + intro paragraph) ---------- */
.section-header {
  max-width: 46rem;
  margin: 0 0 var(--space-6);
}

/* Centered variant: add alongside .section-header. */
.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header h2 {
  margin-bottom: var(--space-1);
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.section--dark .section-header p {
  color: var(--color-on-dark-muted);
}

/* ---------- Eyebrow ----------
 * Small uppercase label shown above a heading. */
.eyebrow {
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-small);
  font-weight: 600;
  letter-spacing: var(--label-letter-spacing);
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.section--dark .eyebrow {
  color: var(--color-primary);
}


/* =========================================================
 * 5. PAGE BODY & PROSE (rendered Markdown)
 * ========================================================= */

/* Loose Markdown written directly in a page body stays in a
 * readable, narrower column. <section> elements from shortcodes
 * are excluded, so they stay full width.
 * The :first-child / :last-child rules add space above and below
 * the page's content. */
.page-body > :not(section):not(.section) {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-body > :not(section):not(.section):first-child {
  margin-top: var(--section-spacing-mobile);
}

.page-body > :not(section):not(.section):last-child {
  margin-bottom: var(--section-spacing-mobile);
}

@media (min-width: 768px) {
  .page-body > :not(section):not(.section) {
    padding-inline: var(--gutter-wide);
  }

  .page-body > :not(section):not(.section):first-child {
    margin-top: var(--section-spacing);
  }

  .page-body > :not(section):not(.section):last-child {
    margin-bottom: var(--section-spacing);
  }
}

/* .prose styles rendered Markdown text: used by the prose
 * shortcode and the text side of split sections. */
.prose h2 {
  margin-top: var(--space-6);
}

/* Don't add top space to the very first element. */
.prose > :first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: var(--space-3);
}

.prose ul,
.prose ol {
  padding-left: var(--space-3);
}

.prose li {
  margin-bottom: var(--space-1);
}

/* Links in prose are underlined; the underline disappears on hover. */
.prose a {
  text-decoration: underline;
}

.prose a:hover {
  text-decoration: none;
}

/* Same typography touches for loose Markdown directly in .page-body.
 * Lists get extra left padding to line up with the content column. */
.page-body > h2 {
  margin-top: var(--space-6);
}

.page-body > ul:not(.section),
.page-body > ol:not(.section) {
  padding-left: calc(var(--gutter) + var(--space-3));
}

@media (min-width: 768px) {
  .page-body > ul:not(.section),
  .page-body > ol:not(.section) {
    padding-left: calc(var(--gutter-wide) + var(--space-3));
  }
}


/* =========================================================
 * 6. BUTTONS
 * ========================================================= */

/* Default (filled) button. Colors come from --color-primary and
 * --color-on-primary (the text color on top of the primary color). */
.button {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--color-primary-hover);
  color: var(--color-on-primary);
}

/* Outline variant (add alongside .button): transparent background,
 * border and text take on the surrounding text color. */
.button--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.button--outline:hover {
  background: rgb(127 127 127 / 12%); /* subtle gray tint, works on light or dark */
  color: inherit;
}


/* =========================================================
 * 7. FORMS
 * =========================================================
 * Shared field styling. Layout variants (columns, etc.) live in
 * components/lead-form.css. */

/* Each label + input pair is stacked vertically. */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-2);
}

.form-field label {
  font-weight: 600;
  font-size: var(--font-size-small);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  color: var(--color-text);
  font: inherit;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.85;
}

/* Message box: tall by default, can only be resized vertically. */
.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

/* On focus, swap the default outline for a colored border. */
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline-offset: 0;
  border-color: var(--color-focus);
}

/* Spam trap: bots fill this hidden field, humans never see it.
 * Don't remove it if your form handler checks for it. */
.honeypot {
  display: none;
}


/* =========================================================
 * 8. SITE HEADER & NAVIGATION
 * ========================================================= */

.site-header {
  padding-block: var(--space-2);
  background: var(--color-dark);
  color: var(--color-light);
}

/* Logo on the left, navigation/menu button on the right. */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.site-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Brand = logo image + site name. */
.site-header .brand,
.site-header .brand a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-light);
  text-decoration: none;
  font-weight: 600;
}

/* Logo size (header and mobile menu). Change 34px to resize. */
.site-header .brand img,
.mobile-navigation-brand img {
  width: 34px;
  height: 34px;
}

.site-header .brand a:hover span {
  color: var(--color-primary);
}

.site-header .navigation {
  display: flex;
  align-items: center;
}

/* Mobile first: desktop nav and header button are hidden until
 * the 1000px breakpoint (see the media query below). */
.site-header .desktop-navigation {
  display: none;
}

.site-header .header-cta {
  display: none;
  margin-left: var(--space-2);
}

/* ---------- Mobile menu button (the "hamburger") ----------
 * Three stacked lines built from <span> elements. */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;  /* 44px is the recommended minimum touch-target size */
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-light);
}

/* ---------- Mobile navigation overlay ----------
 * Full-screen menu, hidden until JavaScript adds .is-open. */
.mobile-navigation {
  position: fixed;
  inset: 0;           /* shorthand for top/right/bottom/left: 0 */
  z-index: 1000;
  display: none;
  overflow-y: auto;
  background: var(--color-dark);
  color: var(--color-light);
}

.mobile-navigation.is-open {
  display: block;
}

.mobile-navigation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2);
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.mobile-navigation-header > span {
  font-weight: 600;
  color: var(--color-on-dark-muted);
}

.mobile-navigation-brand {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-light);
  text-decoration: none;
  font-weight: 600;
}

/* Close button: an "X" drawn by rotating two bars +/-45 degrees. */
.menu-close {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  top: 21px;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--color-light);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu-link-buttons {
  display: flex;
  flex-direction: column;
  padding: var(--space-3) var(--space-2) 0;
}

/* Large, tappable menu links with divider lines. */
.mobile-navigation nav a {
  display: block;
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
  color: var(--color-light);
  text-decoration: none;
  font-size: var(--font-size-h3);
  font-weight: 600;
  text-align: center;
}

.mobile-navigation nav a:hover {
  color: var(--color-primary);
}

/* Call-to-action button at the bottom of the mobile menu. */
.mobile-nav-menu-cta {
  display: block;
  width: fit-content;
  margin: var(--space-4) auto;
  font-size: 1.15rem;
}

/* ---------- Desktop navigation (1000px and wider) ----------
 * Shows the horizontal menu and CTA, hides the hamburger and the
 * mobile overlay. To switch to the desktop layout at a different
 * screen width, change 1000px here. */
@media (min-width: 1000px) {
  .site-header .desktop-navigation {
    display: block;
  }

  .site-header .desktop-navigation ul {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  .site-header .desktop-navigation a {
    display: block;
    padding-block: var(--space-1);
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.95rem;
  }

  .site-header .desktop-navigation a:hover {
    color: var(--color-primary);
  }

  .site-header .header-cta {
    display: inline-block;
  }

  .menu-toggle {
    display: none;
  }

  /* !important is needed to beat the .is-open rule above. */
  .mobile-navigation {
    display: none !important;
  }
}


/* =========================================================
 * 9. SITE FOOTER
 * ========================================================= */

.site-footer {
  margin-top: 0;
  padding-block: var(--space-6) var(--space-4);
  background: var(--color-dark);
  color: var(--color-light);
  text-align: center;
}

/* Footer links sit in a centered, wrapping row. */
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1) var(--space-3); /* row gap, column gap */
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--color-on-dark-muted);
  text-decoration: none;
  font-size: var(--font-size-small);
}

.site-footer a:hover {
  color: var(--color-primary);
}

.site-footer .footer-site-name {
  color: var(--color-light);
  font-size: 1rem;
  font-weight: 600;
}

.site-footer p {
  margin: var(--space-3) 0 0;
  color: var(--color-on-dark-muted);
  font-size: var(--font-size-small);
}

.site-footer .footer-credit {
  margin-top: var(--space-1);
  font-size: 0.75rem;
  opacity: 0.8;
}


/* =========================================================
 * 10. INTERIOR PAGE CHROME
 * =========================================================
 * Title banner and content wrapper for non-home pages. */

/* Banner at the top of interior pages (holds the h1 and lead text). */
.page-header {
  padding-block: var(--space-6) var(--space-5);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .page-header {
    padding-block: var(--space-8) var(--space-6);
  }
}

.page-header h1 {
  margin-bottom: 0;
}

/* Optional intro sentence under the page title. */
.page-header__lead {
  max-width: var(--text-width-narrow);
  margin: var(--space-2) 0 0;
  color: var(--color-muted);
  font-size: var(--font-size-lead);
}

/* Wrapper around the main page content. */
.page-content-section {
  padding-block: var(--section-spacing-mobile);
}

@media (min-width: 768px) {
  .page-content-section {
    padding-block: var(--section-spacing);
  }
}

.page-content {
  max-width: var(--content-width);
  margin-inline: auto;
}

/* Spacing for paragraphs and lists when the content is NOT
 * wrapped in .prose (which has its own spacing rules). */
.page-content:not(.prose) > p,
.page-content:not(.prose) > ul {
  margin-bottom: var(--space-3);
}


/* =========================================================
 * 11. MISC UTILITIES
 * ========================================================= */

/* Rounded, clipped frame for images. Radius comes from --image-radius. */
.image-frame {
  overflow: hidden;
  border-radius: var(--image-radius);
}

/* BENEFITS shortcode */
.benefits__grid { display: grid; gap: var(--space-3); }
@media (min-width: 768px) {
	.benefits__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.benefits__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.benefit { padding: var(--space-4) var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-top: 3px solid var(--color-primary); border-radius: 0 0 var(--radius-card) var(--radius-card); }
.benefit h3 { margin-bottom: var(--space-1); }
.benefit p { margin: 0; color: var(--color-muted); }
.section--surface .benefit { background: var(--color-background); }
.section--dark .benefit { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 15%); border-top-color: var(--color-primary); }
.section--dark .benefit p { color: var(--color-on-dark-muted); }

/* CARDS: card-grid partial (service-cards, showcase, section listings) */
.card-grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: var(--radius-card); transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card__image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-surface); }
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex: 1; flex-direction: column; padding: var(--space-3); }
.card__meta { margin: 0 0 var(--space-1); font-size: var(--font-size-small); font-weight: 600; letter-spacing: var(--label-letter-spacing); text-transform: uppercase; color: var(--color-eyebrow); }
.card__title { margin-bottom: var(--space-1); font-size: var(--font-size-h3); }
.card__title a { color: var(--color-text); text-decoration: none; }
.card__title a:hover { color: var(--color-primary-hover); }
.card__body p { color: var(--color-muted); }
.card__link { margin-top: auto; font-weight: 600; text-decoration: none; }
.card__link:hover { text-decoration: underline; }
.section--surface .card { background: var(--color-background); }

/* CONTACT INFO shortcode */
.contact-info__grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .contact-info__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .contact-info__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.contact-info__item { padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.contact-info__item h3 { margin-bottom: var(--space-1); font-size: var(--font-size-small); letter-spacing: var(--label-letter-spacing); text-transform: uppercase; color: var(--color-eyebrow); }
.contact-info__item p { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-info__note { margin: var(--space-3) 0 0; color: var(--color-muted); }
.section--surface .contact-info__item { background: var(--color-background); }

/* FAQ shortcode: native <details> accordion */
.faq__inner { max-width: var(--content-width); margin-inline: auto; }
.faq__items { border-top: 1px solid var(--color-border); }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item summary {
	position: relative; padding: var(--space-2) 2.5rem var(--space-2) 0;
	cursor: pointer; list-style: none; font-weight: 600; line-height: var(--heading-line-height);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 0.55rem; color: var(--color-primary-hover); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__answer { padding: 0 0 var(--space-2); color: var(--color-muted); }
.faq__answer > :first-child { margin-top: 0; }
.faq__answer > :last-child { margin-bottom: 0; }
.section--dark .faq__items, .section--dark .faq__item { border-color: rgb(255 255 255 / 15%); }
.section--dark .faq__answer { color: var(--color-on-dark-muted); }

/* FAQ HUB shortcode: grouped FAQ page (reuses the .faq__* accordion above) */
.faq-hub__jump { padding-bottom: 0; }
.faq-hub__nav { display: flex; flex-wrap: wrap; gap: var(--space-1); max-width: var(--content-width); margin: 0 auto; padding: 0; list-style: none; }
.faq-hub__nav a { display: inline-block; padding: 0.4rem 0.9rem; background: var(--color-background); border: 1px solid var(--color-border); border-radius: 999px; font-size: var(--font-size-small); font-weight: 600; text-decoration: none; }
.faq-hub__nav a:hover { border-color: var(--color-primary); }
.faq-hub__group .section-header { margin-bottom: var(--space-3); }
.faq-hub__more { margin: var(--space-3) 0 0; font-weight: 600; }

/* FEATURE LIST shortcode */
.feature-list__items { display: grid; gap: var(--space-2) var(--space-5); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) {
	.feature-list__items--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature-list__items--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.feature-list__items li { position: relative; display: flex; flex-direction: column; padding: 0 0 var(--space-2) 2rem; border-bottom: 1px solid var(--color-border); }
.feature-list__items li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--color-primary); color: var(--color-on-primary); font-size: 0.8rem; font-weight: 700; }
.feature-list__items span { color: var(--color-muted); }
.section--dark .feature-list__items li { border-color: rgb(255 255 255 / 15%); }
.section--dark .feature-list__items span { color: var(--color-on-dark-muted); }

/* FINAL CTA band */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 40rem; margin-inline: auto; }
.final-cta__text { max-width: var(--text-width-narrow); margin: 0 auto var(--space-3); color: var(--color-on-dark-muted); font-size: var(--font-size-lead); }
.final-cta.section--surface .final-cta__text { color: var(--color-muted); }
.final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin: 0; }
.final-cta .button { padding: 0.9rem 2rem; font-size: 1.1rem; }

/* =========================================================
 * HERO (all variants)
 * =========================================================
 * Shared foundation (.hero, .hero__*) first, then one block
 * per variant. Every variant selector starts with .hero--<name>
 * so a variant cannot leak into another component.
 *
 *   hero-split       -> .hero--split
 *   hero-background  -> .hero--background
 *   hero-centered    -> .hero--centered
 *   hero-mockups     -> .hero--mockups
 *
 * To add a variant: create layouts/_shortcodes/hero-<name>.html
 * (copy the closest one) and add a .hero--<name> block here.
 * ========================================================= */

.hero { padding-block: var(--space-6); background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) { .hero { padding-block: 5.5rem; } }
.hero__grid { display: grid; gap: var(--space-4); align-items: center; }
.hero h1 { font-size: var(--font-size-display); line-height: 1.1; margin-bottom: var(--space-3); }
.hero__sub { max-width: var(--text-width-narrow); margin-bottom: var(--space-4); font-size: var(--font-size-lead); color: var(--color-muted); }
.hero__actions { margin: 0; }
.hero__visual img { width: 100%; border-radius: var(--image-radius); }
.hero__note { margin: 0; font-size: var(--font-size-small); color: var(--color-muted); }
.hero__form .lead-form-wrap { max-width: none; }

/* ---------- split: copy | image, form underneath ---------- */
@media (min-width: 900px) {
	.hero--split .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-6) var(--space-8); }
	.hero--split .hero__form, .hero--split .hero__note { grid-column: 1 / -1; }
}
.hero--split .hero__visual { position: relative; }
.hero--split .hero__badge { position: absolute; right: var(--space-2); bottom: var(--space-2); width: 110px; border-radius: 0; }

/* ---------- background: photo + wash, copy | form panel ---------- */
.hero--background {
	position: relative; isolation: isolate;
	background-color: var(--color-surface);
	background-size: cover; background-position: center;
}
.hero--background::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--hero-overlay-color); opacity: var(--hero-overlay-opacity);
}
@media (min-width: 900px) {
	.hero--background { padding-block: 6rem; }
	.hero--background .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-8); }
}
.hero--background .hero__sub { color: var(--color-text); }
.hero__checks { display: grid; gap: var(--space-1); margin: 0; padding: 0; list-style: none; font-weight: 600; }
.hero__checks li { position: relative; padding-left: 1.6rem; }
.hero__checks li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary-hover); font-weight: 700; }
.hero__panel { padding: var(--space-4); background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.hero__panel .hero__note { margin-top: var(--space-2); }

/* ---------- centered: copy, inline form, note, facts strip ---------- */
.hero--centered .hero__content { max-width: 52rem; margin-inline: auto; text-align: center; }
.hero--centered h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
.hero--centered .hero__sub { margin-inline: auto; }
.hero--centered .hero__form { max-width: 40rem; margin: var(--space-2) auto var(--space-2); }
.hero--centered .hero__note { text-align: center; }
.hero__facts {
	display: grid; gap: var(--space-3); margin: var(--space-6) 0 0; padding: var(--space-4) 0 0;
	border-top: 1px solid var(--color-border); list-style: none; text-align: center;
	color: var(--color-eyebrow); font-weight: 600;
}
@media (min-width: 768px) { .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- mockups: copy + form | desktop & mobile screenshots ---------- */
@media (min-width: 900px) {
	.hero--mockups .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
}
.hero--mockups h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.hero--mockups .hero__form { margin-bottom: var(--space-2); }
.hero__mockups { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: end; gap: var(--space-1); }
.hero__mockups--single { grid-template-columns: minmax(0, 1fr); }
.hero__mockups img { width: 100%; height: auto; object-fit: contain; border-radius: 0; }

/* =========================================================
 * LEAD FORM (presentation only; submission lives in lead-form.js)
 * =========================================================
 * Variants (set with form.variant or the shortcode's variant=):
 *   full        stacked fields with visible labels (contact pages)
 *   compact     stacked, labels hidden, tighter (service pages, hero panels)
 *   horizontal  one row: fields + button side by side (heroes)
 * ========================================================= */

.lead-form-wrap { width: 100%; }
.lead-form { width: 100%; }
.lead-form__heading { margin-bottom: var(--space-1); }
.lead-form__intro { color: var(--color-muted); }
.lead-form__privacy { margin: var(--space-2) 0 0; font-size: var(--font-size-small); color: var(--color-muted); }
.form-submit-button .button { width: 100%; }

/* ---------- compact + horizontal: placeholders replace visible labels ---------- */
.lead-form--compact .form-field > label,
.lead-form--horizontal .form-field > label {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.lead-form--compact .form-field { margin-bottom: var(--space-1); }

/* ---------- horizontal ---------- */
.lead-form--horizontal .form-fields { display: flex; flex-direction: column; gap: var(--space-1); }
.lead-form--horizontal .form-field { flex: 1; margin-bottom: 0; }
.lead-form--horizontal textarea { min-height: 0; height: 100%; }
@media (min-width: 768px) {
	.lead-form--horizontal .form-fields { flex-direction: row; align-items: stretch; }
	.lead-form--horizontal .form-submit-button { display: flex; }
	.lead-form--horizontal .form-submit-button .button { width: auto; white-space: nowrap; padding-inline: var(--space-3); }
}

/* ---------- submission feedback (written by lead-form.js) ---------- */
.form-message {
	margin-bottom: var(--space-3); padding: var(--space-2) var(--space-3);
	border-radius: var(--radius); font-weight: 600;
	background: var(--color-success); color: var(--color-light);
}
.form-message--error { background: var(--color-error); }
.form-message--success { background: var(--color-success); }

/* ---------- dedicated form section (lead-form-section shortcode) ---------- */
.lead-form-section__grid { display: grid; gap: var(--space-5); }
.lead-form-section__intro { color: var(--color-muted); font-size: 1.1rem; }
.lead-form-section__form { padding: var(--space-4); background: var(--color-background); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.lead-form-section--stack .lead-form-section__grid { max-width: 42rem; margin-inline: auto; }
.lead-form-section--stack .lead-form-section__copy { text-align: center; }
.lead-form-section.section--dark .lead-form-section__intro { color: var(--color-on-dark-muted); }
.lead-form-section.section--dark .lead-form__privacy, .lead-form-section.section--dark .lead-form__intro { color: var(--color-muted); }
@media (min-width: 900px) {
	.lead-form-section--split .lead-form-section__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
}

/* PROCESS STEPS shortcode */
.process__steps { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .process__steps { grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); gap: var(--space-3); } }
.process__step { display: flex; flex-direction: column; padding: var(--space-3); background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.process__number { margin-bottom: var(--space-2); font-size: var(--font-size-small); font-weight: 600; letter-spacing: var(--label-letter-spacing); text-transform: uppercase; color: var(--color-primary-hover); }
.process__step h3 { margin-bottom: var(--space-1); }
.process__step p { margin: 0; color: var(--color-muted); }
.section--surface .process__step { background: var(--color-background); }

/* PROSE shortcode + page-level helpers */
.prose-section__inner--narrow { max-width: var(--content-width); margin-inline: auto; }
.page-image { margin-block: var(--space-5) 0; }
.page-image img { width: 100%; max-width: 900px; margin-inline: auto; border-radius: var(--image-radius); }
.resource-meta { margin-bottom: var(--space-2); color: var(--color-muted); font-size: var(--font-size-small); }

/* RELATED CONTENT (related-content partial, related shortcode, related-sections) */
.related-sections { padding-block: 0 var(--space-6); }
.related-sections:has(.related-content) { padding-block: var(--space-6); background: var(--color-surface); border-top: 1px solid var(--color-border); }
.related-content + .related-content { margin-top: var(--space-5); }
.related-content h2 { margin-bottom: var(--space-2); font-size: var(--font-size-h3); }
.related-content-list { display: grid; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .related-content-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related-content-list li { display: flex; flex-direction: column; padding: var(--space-2) var(--space-3); background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius); }
.related-content-list a { font-weight: 600; }
.related-content-list__desc { color: var(--color-muted); font-size: var(--font-size-small); }
.related-shortcode { padding-block: var(--space-5); }

/* SERVICE AREA shortcode */
.service-area__locations { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.service-area__locations li { padding: 0.4rem 1rem; background: var(--color-background); border: 1px solid var(--color-border); border-radius: 999px; font-weight: 600; font-size: var(--font-size-small); }
.section--dark .service-area__locations li { background: transparent; border-color: rgb(255 255 255 / 30%); }

/* SPLIT SECTION shortcode */
.split-section__grid { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 900px) {
	.split-section__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
	.split-section--reverse .split-section__media { order: -1; }
}
.split-section__media img { width: 100%; border-radius: var(--image-radius); object-fit: cover; }
.split-section__media--landscape img { aspect-ratio: 3 / 2; }
.split-section__media--portrait img { aspect-ratio: 4 / 5; max-width: 26rem; margin-inline: auto; }
.split-section__media--square img { aspect-ratio: 1; max-width: 28rem; margin-inline: auto; }
.split-section__text h2 { margin-bottom: var(--space-2); }

/* TESTIMONIALS shortcode */
.testimonials__grid { display: grid; gap: var(--space-3); }
@media (min-width: 768px) {
	.testimonials__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.testimonials__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.testimonial { margin: 0; padding: var(--space-4); background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.testimonial blockquote { margin: 0 0 var(--space-3); font-size: 1.1rem; }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { display: flex; flex-direction: column; font-size: var(--font-size-small); }
.testimonial figcaption span { color: var(--color-muted); }

/* TRUST STRIP shortcode */
.trust-strip { border-block: 1px solid var(--color-border); }
.trust-strip__heading { margin: 0 0 var(--space-2); text-align: center; font-size: var(--font-size-small); font-weight: 600; letter-spacing: var(--label-letter-spacing); text-transform: uppercase; color: var(--color-eyebrow); }
.trust-strip__items { display: grid; gap: var(--space-2) var(--space-4); margin: 0; padding: 0; list-style: none; text-align: center; }
@media (min-width: 640px) { .trust-strip__items { grid-auto-flow: column; grid-auto-columns: 1fr; } }
.trust-strip__items li { display: flex; flex-direction: column; gap: 0.15rem; }
.trust-strip__items span { color: var(--color-muted); font-size: var(--font-size-small); }
.trust-strip.section--dark .trust-strip__items span { color: var(--color-on-dark-muted); }

/* =====================================================================
 * THEME LAYER: Georgia Therapist CPA (microsite "Denser" design)
 * =====================================================================
 * Everything below only overrides look and feel, carrying the microsite's
 * section designs over to the baselayout components:
 *   header      cream bar with a teal gradient strip on top
 *   hero        dark teal gradient band, white form card, trust pills
 *   headings    short sage bar under section h2s
 *   benefits    white "objection" cards with a teal top border
 *   faq         bordered rows with a teal left border
 *   services    dark band with a tabbed service selector
 *   process     numbered teal circles
 *   area        sage location chips
 *   final cta   teal gradient band with a gold pill button
 *   footer      dark teal
 * Delete this block to fall back to the plain baselayout look.
 * ===================================================================== */

body { font-size: 0.97rem; }

/* ---------- Header: cream with a gradient strip ---------- */
.site-header {
	background: var(--color-background);
	color: var(--color-text);
	border-top: 4px solid var(--color-primary);
	border-image: linear-gradient(90deg, var(--color-primary), var(--color-dark)) 1;
	border-bottom: 1px solid var(--color-sand-deep);
	padding-block: 0.75rem;
}
.site-header .brand,
.site-header .brand a { color: var(--color-dark); font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.01em; }
.site-header .brand img { width: 40px; height: 40px; }
.site-header .brand a:hover span { color: var(--color-primary); }
.menu-toggle span { background: var(--color-dark); }
@media (min-width: 1000px) {
	.site-header .desktop-navigation a { color: var(--color-text); font-weight: 600; }
	.site-header .desktop-navigation a:hover,
	.site-header .desktop-navigation a[aria-current="page"] { color: var(--color-primary); }
}
.header-cta,
.mobile-nav-menu-cta {
	background: var(--color-accent);
	color: var(--color-on-accent);
	font-weight: 700;
}
.header-cta:hover,
.mobile-nav-menu-cta:hover { background: var(--color-accent-hover); color: var(--color-on-accent); }
.mobile-navigation-brand { font-family: var(--font-heading); }

/* ---------- Section headings: short sage accent bar ---------- */
.section-header h2::after,
.split-section__text h2::after,
.prose-section h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	margin-top: 0.6rem;
	border-radius: 2px;
	background: var(--color-secondary);
}
.section-header--center h2::after { margin-inline: auto; }
.section--dark .section-header h2::after { background: var(--color-surface); }
.section-header { margin-bottom: var(--space-4); }

/* ---------- Buttons: gold for the main calls to action ---------- */
.button--accent,
.form-submit,
.final-cta .button:not(.button--outline) {
	background: var(--color-accent);
	color: var(--color-on-accent);
	font-weight: 700;
}
.button--accent:hover,
.form-submit:hover,
.final-cta .button:not(.button--outline):hover { background: var(--color-accent-hover); color: var(--color-on-accent); }
.form-submit:disabled { opacity: .7; cursor: wait; }

/* ---------- Form fields: easier-to-see outlines ---------- */
.form-field input,
.form-field textarea { background: #fff; border-color: var(--color-input-border); }
.form-field input:focus-visible,
.form-field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-primary); }
.lead-form--compact .form-field textarea { min-height: 5.5rem; }

/* ---------- HERO GRADIENT shortcode (.hero--gradient) ---------- */
.hero--gradient {
	background: var(--band-hero);
	border-bottom: 0;
	color: #fff;
	padding-block: var(--space-6);
}
@media (min-width: 900px) {
	.hero--gradient { padding-block: 4.5rem; }
	.hero--gradient .hero__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: var(--space-5) var(--space-6);
		align-items: start;
	}
	.hero--gradient .hero__trust { grid-column: 1 / -1; }
}
.hero--gradient .eyebrow {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: var(--color-surface);
	color: var(--color-dark);
	font-size: 0.78rem;
}
.hero--gradient h1 { color: #fff; margin-bottom: var(--space-2); }
.hero--gradient .hero__sub { color: var(--color-on-dark-muted); font-size: 1.08rem; max-width: 58ch; margin-bottom: var(--space-3); }
.hero--gradient .hero__visual {
	max-width: 420px;
	border-radius: var(--radius-card);
	overflow: hidden;
	box-shadow: 0 8px 24px rgb(0 0 0 / 30%);
}
.hero--gradient .hero__visual img { border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; }
.hero--gradient .hero__actions .button { background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; }
.hero--gradient .hero__panel {
	color: var(--color-text);
	background: var(--color-background);
	border: 0;
	border-top: 5px solid var(--color-surface);
	border-radius: var(--radius-card);
	padding: var(--space-3);
	box-shadow: 0 12px 32px rgb(0 0 0 / 35%);
}
.hero--gradient .lead-form__heading { font-size: 1.4rem; margin-bottom: 0.4rem; }
.hero--gradient .lead-form__intro { margin-bottom: var(--space-2); font-size: 0.92rem; }
.hero--gradient .lead-form__privacy { font-size: 0.8rem; }
.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hero__trust li {
	padding: 0.35rem 0.9rem 0.35rem 0.7rem;
	border: 1px solid rgb(255 255 255 / 28%);
	border-radius: 999px;
	background: rgb(255 255 255 / 8%);
	font-size: 0.88rem;
	font-weight: 600;
}
.hero__trust li::before { content: "\2713"; margin-right: 0.5rem; color: var(--color-surface); }

/* ---------- Interior page title band: same gradient as the hero ---------- */
.page-header { background: var(--band-hero); border-bottom: 0; color: #fff; }
.page-header h1 { color: #fff; max-width: 30ch; }
.page-header__lead { color: var(--color-on-dark-muted); }

/* ---------- BENEFITS -> microsite objection cards ---------- */
.benefits { background: var(--color-surface); }
.benefit {
	background: #fff;
	border: 0;
	border-top: 4px solid var(--color-primary);
	border-radius: var(--radius-card);
	padding: var(--space-3);
	box-shadow: var(--shadow-card);
}
.benefit h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--color-primary); }
.benefit p { color: var(--color-text); }
.section--surface .benefit { background: #fff; }

/* ---------- FAQ -> compact bordered rows ---------- */
.faq__items { border-top: 0; display: grid; gap: 0.5rem; }
.faq__item {
	border: 1px solid var(--color-sand-deep);
	border-left: 4px solid var(--color-primary);
	border-radius: var(--radius);
	background: #fff;
}
.faq__item summary { padding: 0.8rem 2.5rem 0.8rem 1rem; color: var(--color-text); }
.faq__item summary::after { right: 1rem; top: 0.6rem; color: var(--color-primary); font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; }
.faq__item[open] { background: var(--color-surface); box-shadow: var(--shadow-card); }
.faq__answer { padding: 0 1rem 1rem; color: var(--color-text); }
.faq__answer p { margin-bottom: 0.6rem; }
.faq__item summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.section--surface .faq__item { background: #fff; }
.section--surface .faq__item[open] { background: var(--color-background); }

/* ---------- SERVICES TABS shortcode (microsite services band) ---------- */
.services-tabs { background: var(--color-dark); color: #fff; }
.services-tabs h2 { color: #fff; }
.services-tabs .section-header h2::after { background: var(--color-surface); }
.services-tabs .section-header p { color: var(--color-on-dark-muted); }
.services-tabs .eyebrow { color: var(--color-secondary); }
.services-tabs__layout { display: grid; gap: var(--space-2); align-items: start; }
.services-tabs__list { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; }
.services-tabs__button {
	flex: 0 0 auto;
	min-width: 9rem;
	padding: 0.85rem 1rem;
	text-align: left;
	font: inherit;
	font-weight: 600;
	color: #fff;
	background: rgb(255 255 255 / 7%);
	border: 1px solid rgb(255 255 255 / 22%);
	border-radius: var(--radius);
	cursor: pointer;
	transition: background .15s, color .15s;
}
.services-tabs__button:hover { background: rgb(255 255 255 / 14%); }
.services-tabs__button[aria-pressed="true"] {
	color: var(--color-dark);
	background: var(--color-surface);
	border-color: var(--color-surface);
	font-weight: 700;
}
.services-tabs__button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.services-tabs__panels {
	min-width: 0;
	padding: var(--space-3);
	color: var(--color-text);
	background: var(--color-background);
	border-top: 5px solid var(--color-primary-light);
	border-radius: var(--radius-card);
	box-shadow: 0 10px 28px rgb(0 0 0 / 30%);
}
.services-tabs__panel[hidden] { display: none; }
.services-tabs__panel h3 { color: var(--color-primary); }
.services-tabs__panel .prose p:last-child { margin-bottom: 0; }
.services-tabs__link { margin: var(--space-2) 0 0; font-weight: 700; }
.services-tabs__link a { color: var(--color-primary); }
.services-tabs__image { width: 100%; margin-top: var(--space-3); border-radius: var(--radius); }
@media (min-width: 768px) {
	.services-tabs__layout { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0; }
	.services-tabs__list { flex-direction: column; overflow: visible; padding-right: var(--space-3); }
	.services-tabs__button { width: 100%; }
	.services-tabs__panels { border-top: 0; border-left: 5px solid var(--color-primary-light); }
}

/* ---------- PROCESS -> numbered teal circles ---------- */
.process__steps { counter-reset: step; }
.process__step {
	position: relative;
	counter-increment: step;
	padding: var(--space-3) var(--space-3) var(--space-3) 4rem;
	background: #fff;
	border: 0;
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
}
.process__step::before {
	content: counter(step);
	position: absolute;
	left: var(--space-3);
	top: var(--space-3);
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
}
/* "Step 1" label stays for screen readers; the circle shows the number. */
.process__number {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.process__step h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.section--surface .process__step { background: #fff; }

/* ---------- SERVICE AREA -> sage chips ---------- */
.service-area__locations li {
	padding: 0.45rem 1rem;
	background: var(--color-tint);
	color: var(--color-primary);
	border: 1px solid var(--color-border);
	font-size: 0.95rem;
}

/* ---------- FEATURE LIST + CARDS: teal accents ---------- */
.card { border-top: 4px solid var(--color-primary); background: #fff; }
.card__title a:hover { color: var(--color-primary); }
.card__link { color: var(--color-primary); }

/* ---------- FINAL CTA: gradient band + gold pill ---------- */
.final-cta.section--dark { background: var(--band-cta); }
.final-cta { padding-block: var(--space-6); }
.final-cta .button:not(.button--outline) {
	font-family: var(--font-heading);
	font-size: 1.35rem;
	padding: 0.6rem 1.8rem;
	border-radius: 999px;
}
.final-cta .button:not(.button--outline)::after { content: " \2192"; }
.final-cta .button--outline { border-radius: 999px; }

/* ---------- Lead form section ---------- */
.lead-form-section__form { border-top: 5px solid var(--color-primary); }

/* ---------- Trust strip ---------- */
.trust-strip strong { color: var(--color-primary); font-family: var(--font-heading); }

/* ---------- Article (resources) typography ---------- */
.page-body--article > h2 { margin-top: var(--space-5); }
.page-body--article > h3 { margin-top: var(--space-4); }
.page-body--article table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: var(--space-3);
	font-size: 0.95rem;
}
.page-body--article th,
.page-body--article td { padding: 0.6rem 0.75rem; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.page-body--article th { background: var(--color-surface); font-weight: 700; }
.page-body--article blockquote {
	margin: 0 auto var(--space-3);
	padding: var(--space-2) var(--space-3);
	border-left: 4px solid var(--color-secondary);
	background: var(--color-surface);
	border-radius: 0 var(--radius) var(--radius) 0;
}
.page-body--article blockquote p:last-child { margin-bottom: 0; }
.page-body > p, .page-body > ul, .page-body > ol { margin-bottom: var(--space-3); }

/* ---------- Footer: dark teal ---------- */
.site-footer { background: var(--color-dark); color: var(--color-on-dark-muted); }
.site-footer a { color: var(--color-on-dark-muted); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-site-name { color: #fff; font-family: var(--font-heading); }
.site-footer .footer-disclosure { max-width: 70ch; margin-inline: auto; font-size: 0.8rem; opacity: 0.85; }

/* ---------- Small screens ---------- */
@media (max-width: 700px) {
	.hero--gradient h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
	.hero--gradient .hero__visual { display: none; }   /* form first on phones */
	.final-cta .button:not(.button--outline) { font-size: 1.15rem; }
}
/* ===== END THEME LAYER ===== */
