/* =============================================================================
   clay-theme.css — Shared design system for Your IT & Tech Mates Tools
   Clay-inspired: warm cream canvas, named swatch palette, playful interactions
   Version: 1.0 | April 2026
   ============================================================================= */

/* ── 0. Google Fonts ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,900;1,700;1,900&family=Barlow:wght@400;500;600&display=swap');

/* ── 1. CSS Variables — Clay Design Tokens ───────────────────────────────── */
:root {
  /* Canvas & Surface */
  --clay-bg:          #faf9f7;   /* warm cream — the identity */
  --clay-bg-alt:      #f3f0eb;   /* slightly deeper cream for alternating sections */
  --clay-surface:     #ffffff;   /* card / component surface */
  --clay-surface-soft:#f8f6f2;   /* subtle tinted surface */

  /* Text */
  --clay-text:        #1a1a18;   /* near-black for body */
  --clay-heading:     #000000;   /* Clay Black for headings */
  --clay-muted:       #55534e;   /* warm charcoal for secondary text */
  --clay-faint:       #9f9b93;   /* warm silver for captions/labels */

  /* Named Swatch Palette */
  --matcha-300:       #84e7a5;
  --matcha-600:       #078a52;
  --matcha-800:       #02492a;
  --slushie-500:      #3bd3fd;
  --slushie-800:      #0089ad;
  --lemon-400:        #f8cc65;
  --lemon-500:        #fbbd41;
  --lemon-700:        #d08a11;
  --lemon-800:        #9d6a09;
  --ube-300:          #c1b0ff;
  --ube-800:          #43089f;
  --ube-900:          #32037d;
  --pomegranate-400:  #fc7981;
  --blueberry-800:    #01418d;
  --dragonfruit:      #e8187a;

  /* Semantic roles (mapped from swatches) */
  --clay-accent:      var(--matcha-600);  /* primary interactive accent */
  --clay-accent-dim:  rgba(7,138,82,.10);
  --clay-accent-glow: rgba(7,138,82,.22);
  --clay-link:        var(--matcha-600);

  /* Borders */
  --clay-border:      #dad4c8;   /* warm oat — primary border */
  --clay-border-light:#eee9df;   /* lighter oat for subtle dividers */
  --clay-border-dark: #525a69;   /* for dark sections */

  /* Status colours */
  --clay-green:       #16a34a;
  --clay-red:         #ef4444;
  --clay-amber:       #f59e0b;

  /* Shadows */
  --clay-shadow:      rgba(0,0,0,0.10) 0px 1px 1px,
                      rgba(0,0,0,0.04) 0px -1px 1px inset,
                      rgba(0,0,0,0.05) 0px -0.5px 1px;
  --clay-shadow-md:   0 4px 16px rgba(0,0,0,0.08),
                      rgba(0,0,0,0.04) 0px -1px 1px inset;
  --clay-shadow-lg:   0 12px 32px rgba(0,0,0,0.10),
                      rgba(0,0,0,0.04) 0px -1px 1px inset;

  /* Radius scale */
  --r-sm:   4px;     /* inputs, ghost buttons */
  --r-md:   8px;     /* small cards, tags */
  --r-lg:   12px;    /* standard cards */
  --r-xl:   24px;    /* feature cards */
  --r-2xl:  40px;    /* sections, footer */
  --r-pill: 1584px;  /* pill buttons */

  /* Typography */
  --fh: 'Barlow Condensed', sans-serif;
  --fb: 'Barlow', sans-serif;
  --font-feat-heading: "ss01","ss03","ss10","ss11","ss12";
  --font-feat-body:    "ss03","ss10","ss11","ss12";
}

/* ── 2. Base Reset & Body ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--clay-bg);
  color: var(--clay-text);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: var(--font-feat-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--clay-link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

strong {
  color: var(--clay-heading);
}

p {
  margin-bottom: 12px;
  color: var(--clay-text);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 3. Keyframes ─────────────────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes clay-hover-in {
  0%   { transform: rotateZ(0deg) translateY(0); }
  100% { transform: rotateZ(-8deg) translateY(-4px); }
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 4. Navigation ────────────────────────────────────────────────────────── */
.site-header {
  background: var(--clay-heading);
  border-bottom: 1px solid rgba(251,189,65,.18);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.h-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 16px;
}

.logo {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--clay-surface);
  text-decoration: none;
  letter-spacing: .04em;
  white-space: nowrap;
  font-feature-settings: var(--font-feat-heading);
}
.logo span { color: var(--lemon-500); }

.h-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.h-nav a {
  font-size: .82rem;
  color: var(--clay-faint);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 5px;
  transition: color .18s, background .18s;
}
.h-nav a:hover {
  color: var(--lemon-500);
  background: rgba(251,189,65,.12);
  text-decoration: none;
}

.h-ctas {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.h-ctas a {
  font-family: var(--fh);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .05em;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all .22s;
  white-space: nowrap;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-feature-settings: var(--font-feat-heading);
}

.btn-call {
  background: var(--lemon-500);
  color: var(--clay-heading) !important;
  box-shadow: 0 8px 20px rgba(251,189,65,.30);
  border: 1px solid transparent;
}
.btn-call:hover {
  background: var(--lemon-400);
  transform: rotateZ(-3deg) translateY(-2px);
  box-shadow: var(--clay-heading) -5px 5px;
}

.btn-wa {
  background: var(--matcha-600);
  color: #fff !important;
  border: 1px solid transparent;
}
.btn-wa:hover {
  background: var(--matcha-800);
  transform: rotateZ(-3deg) translateY(-2px);
  box-shadow: var(--clay-heading) -5px 5px;
}

@media (max-width: 780px) {
  .h-nav { display: none; }
  .logo  { font-size: 1.05rem; }
  .h-ctas a { padding: 10px 14px; font-size: .84rem; min-height: 44px; }
}

/* ── 5. Breadcrumb ────────────────────────────────────────────────────────── */
.bc {
  background: var(--clay-bg-alt);
  border-bottom: 1px solid var(--clay-border);
  padding: 10px 0;
  font-size: .8rem;
  color: var(--clay-muted);
}
.bc a { color: var(--clay-muted); }
.bc a:hover { color: var(--clay-accent); text-decoration: none; }

/* ── 6. Urgency banner ────────────────────────────────────────────────────── */
.urg {
  background: linear-gradient(90deg,
    rgba(251,189,65,.12), rgba(251,189,65,.06), rgba(251,189,65,.12));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  border-top:    1px solid rgba(251,189,65,.25);
  border-bottom: 1px solid rgba(251,189,65,.25);
  padding: 11px 0;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--lemon-700);
  letter-spacing: .03em;
  font-feature-settings: var(--font-feat-body);
}

/* ── 7. Hero Section ──────────────────────────────────────────────────────── */
.hero {
  border-bottom: 1px solid var(--clay-border-light);
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
  background: var(--clay-bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 100% 50%,
    rgba(7,138,82,.06), transparent 70%),
    radial-gradient(ellipse 30% 40% at 0% 100%,
    rgba(251,189,65,.05), transparent 60%);
  pointer-events: none;
}

/* Single-column hero — no right image column */
.hero-grid {
  display: block;
  max-width: 860px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(7,138,82,.08);
  border: 1px solid rgba(7,138,82,.22);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--matcha-600);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--fh);
  font-feature-settings: var(--font-feat-heading);
}

.hero-h1 {
  font-family: var(--fh);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--clay-heading);
  line-height: 1.06;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  font-feature-settings: var(--font-feat-heading);
}
.hero-h1 em { font-style: italic; color: var(--matcha-600); }

.hero-intro {
  font-size: 1.06rem;
  color: var(--clay-muted);
  max-width: 560px;
  margin-bottom: 22px;
  line-height: 1.75;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.pill {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-md);
  padding: 6px 13px;
  font-size: .81rem;
  font-weight: 500;
  color: var(--clay-text);
}
.pill strong { color: var(--matcha-600); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  align-items: center;
}

/* Merge hero-ctas and hero-secondary-cta into one visual row */
.hero-secondary-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
}

/* On desktop, collapse both rows into a single flex row */
@media (min-width: 600px) {
  .hero-ctas {
    flex-wrap: nowrap;
  }
  .hero-secondary-cta {
    flex-wrap: nowrap;
  }
}

@media (max-width: 599px) {
  .hero-secondary-cta { flex-direction: column; align-items: stretch; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
}

/* Hero image col hidden - single column layout */
.hero-img-col { display: none; }
.hero-img { display: none; }

.micro-cta {
  margin-top: 10px;
  font-size: .88rem;
  color: var(--clay-faint);
}
.micro-cta a {
  color: var(--clay-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 8. Buttons ───────────────────────────────────────────────────────────── */

/* Shared base */
.btn-hero,
.btn-primary,
.btn-secondary,
.btn-book,
.btn-refer {
  position: relative;
  font-family: var(--fh);
  font-feature-settings: var(--font-feat-heading);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .2s ease;
}

.btn-hero,
.btn-primary {
  background: var(--matcha-600);
  color: #fff !important;
  padding: 14px 26px;
  font-size: 1rem;
  min-height: 50px;
  box-shadow: 0 8px 20px var(--clay-accent-glow),
              inset 0 1px 0 rgba(255,255,255,.15);
  border-color: var(--matcha-800);
}
.btn-hero { font-size: 1.08rem; padding: 16px 30px; min-height: 54px; }

.btn-hero:hover,
.btn-primary:hover {
  background: var(--matcha-800);
  transform: rotateZ(-4deg) translateY(-3px);
  box-shadow: var(--clay-heading) -6px 6px;
  text-decoration: none !important;
}

.btn-secondary {
  background: var(--clay-surface);
  color: var(--clay-heading) !important;
  padding: 14px 24px;
  font-size: 1rem;
  min-height: 50px;
  border-color: var(--clay-border);
  box-shadow: var(--clay-shadow);
}
.btn-secondary:hover {
  background: var(--lemon-400);
  color: var(--clay-heading) !important;
  border-color: var(--lemon-700);
  transform: rotateZ(-4deg) translateY(-3px);
  box-shadow: var(--clay-heading) -6px 6px;
  text-decoration: none !important;
}

.btn-book {
  background: var(--clay-heading);
  color: #ffffff !important;
  padding: 14px 24px;
  font-size: .98rem;
  min-height: 50px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18),
              inset 0 1px 0 rgba(255,255,255,.08);
  border-color: #333;
}
.btn-book:hover {
  background: #222;
  color: #ffffff !important;
  transform: rotateZ(-4deg) translateY(-3px);
  box-shadow: var(--matcha-600) -6px 6px;
  text-decoration: none !important;
}

.btn-refer {
  background: var(--lemon-500);
  color: var(--clay-heading) !important;
  padding: 14px 24px;
  font-size: .98rem;
  min-height: 50px;
  border-color: var(--lemon-700);
  box-shadow: 0 12px 28px rgba(251,189,65,.28),
              inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-refer:hover {
  background: var(--lemon-400);
  transform: rotateZ(-4deg) translateY(-3px);
  box-shadow: var(--clay-heading) -6px 6px;
  text-decoration: none !important;
}

.btn-hero:active,
.btn-primary:active,
.btn-secondary:active,
.btn-book:active,
.btn-refer:active {
  transform: translateY(-1px);
}

/* ── 9. Trust Bar ─────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--clay-surface);
  border-top:    1px solid var(--clay-border-light);
  border-bottom: 1px solid var(--clay-border-light);
  padding: 18px 0;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ti-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(7,138,82,.08);
  border: 1px solid var(--clay-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ti-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--matcha-600);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ti-text { display: flex; flex-direction: column; }
.ti-label {
  font-family: var(--fh);
  font-weight: 700;
  font-size: .9rem;
  color: var(--clay-heading);
  line-height: 1;
  font-feature-settings: var(--font-feat-heading);
}
.ti-sub { font-size: .72rem; color: var(--clay-faint); }

/* ── 10. Sections ─────────────────────────────────────────────────────────── */
.section {
  padding: 48px 0;
  background: var(--clay-bg);
  color: var(--clay-text);
}
.section-alt {
  padding: 48px 0;
  background: var(--clay-surface);
  color: var(--clay-text);
  border-top:    1px solid var(--clay-border-light);
  border-bottom: 1px solid var(--clay-border-light);
}

/* Collapse margin when same-bg sections stack */
.section + .section,
.section-alt + .section-alt {
  padding-top: 0;
}

/* Colourful swatch sections */
.section-matcha {
  padding: 48px 0;
  background: var(--matcha-800);
  color: var(--matcha-300);
}
.section-lemon {
  padding: 48px 0;
  background: var(--lemon-400);
  color: var(--clay-heading);
}
.section-ube {
  padding: 48px 0;
  background: var(--ube-800);
  color: var(--ube-300);
}
.section-slushie {
  padding: 48px 0;
  background: var(--slushie-800);
  color: var(--slushie-500);
}

.section-header { margin-bottom: 32px; }

.s-label {
  font-family: var(--fh);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--matcha-600);
  margin-bottom: 8px;
  font-feature-settings: var(--font-feat-heading);
}
.s-title {
  font-family: var(--fh);
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 900;
  color: var(--clay-heading);
  letter-spacing: -0.5px;
  line-height: 1.12;
  margin-bottom: 12px;
  font-feature-settings: var(--font-feat-heading);
}
.s-body {
  font-size: .95rem;
  color: var(--clay-muted);
  line-height: 1.75;
}

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--matcha-600);
  margin-bottom: 10px;
  font-family: var(--fh);
  font-feature-settings: var(--font-feat-heading);
}

/* ── 11. Cards ────────────────────────────────────────────────────────────── */
.glass,
.glass-card {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-xl);
  box-shadow: var(--clay-shadow);
}
.glass-card {
  padding: 24px 22px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%,
    rgba(7,138,82,.06) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--clay-heading) -5px 5px;
  border-color: var(--matcha-600);
}
.glass-card:hover::after {
  opacity: 1;
  animation: shimmer 1.4s linear infinite;
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Service cards */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .services-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-bento { grid-template-columns: 1fr; } }

.service-card {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-xl);
  padding: 22px 20px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  box-shadow: var(--clay-shadow);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--clay-heading) -5px 5px;
  border-color: var(--matcha-600);
}

.sc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(7,138,82,.08);
  border: 1px solid var(--clay-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.sc-icon svg {
  width: 20px; height: 20px;
  stroke: var(--matcha-600); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3 {
  font-family: var(--fh);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--clay-heading);
  margin-bottom: 8px;
  font-feature-settings: var(--font-feat-heading);
}
.service-card p { font-size: .88rem; color: var(--clay-muted); line-height: 1.6; margin-bottom: 10px; }
.sc-link { font-size: .78rem; color: var(--clay-accent); font-weight: 600; }

/* ── 12. FAQ Accordion ────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--clay-border);
  border-radius: var(--r-lg);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--clay-surface);
  transition: border-color .2s;
}
.faq-item.open,
.faq-item:hover {
  border-color: var(--matcha-600);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--fb);
  font-size: .95rem;
  font-weight: 600;
  color: var(--clay-heading);
  text-align: left;
}
.faq-chevron {
  width: 18px; height: 18px;
  stroke: var(--matcha-600); fill: none;
  stroke-width: 2;
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner {
  padding: 0 20px 16px;
  font-size: .9rem;
  color: var(--clay-muted);
  line-height: 1.7;
}

/* ── 13. Tags, Suburbs, Hub Strip ─────────────────────────────────────────── */
.suburbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.suburb-tag {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: .8rem;
  color: var(--clay-muted);
  text-decoration: none;
  transition: all .2s;
}
.suburb-tag:hover {
  color: var(--matcha-600);
  border-color: var(--matcha-600);
  text-decoration: none;
}
.suburb-tag.primary {
  color: var(--matcha-600);
  border-color: rgba(7,138,82,.3);
}

.hub-strip {
  background: rgba(7,138,82,.06);
  border: 1px solid rgba(7,138,82,.18);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.hub-strip-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--matcha-600);
  flex-shrink: 0;
  font-family: var(--fh);
  font-feature-settings: var(--font-feat-heading);
}
.hub-strip a {
  font-size: .85rem;
  color: var(--clay-heading);
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-md);
  padding: 5px 12px;
  transition: all .2s;
  text-decoration: none;
}
.hub-strip a:hover {
  border-color: var(--matcha-600);
  color: var(--matcha-600);
  text-decoration: none;
}

/* ── 14. Cross-link Cards ─────────────────────────────────────────────────── */
.cross-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.cross-link-card {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  text-decoration: none;
  display: block;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  box-shadow: var(--clay-shadow);
}
.cross-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--clay-heading) -4px 4px;
  border-color: var(--matcha-600);
  text-decoration: none;
}
.cl-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--clay-faint); margin-bottom: 5px; }
.cl-title { font-family: var(--fh); font-weight: 900; font-size: 1rem; color: var(--clay-heading); margin-bottom: 4px; font-feature-settings: var(--font-feat-heading); }
.cl-desc  { font-size: .78rem; color: var(--clay-muted); }

/* ── 15. Price Table ──────────────────────────────────────────────────────── */
.price-table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.price-table th {
  background: rgba(7,138,82,.08);
  color: var(--matcha-600);
  font-family: var(--fh);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--clay-border);
  font-feature-settings: var(--font-feat-heading);
}
.price-table td { padding: 10px 14px; border-bottom: 1px solid var(--clay-border-light); font-size: .88rem; color: var(--clay-text); }
.price-table tr:hover td { background: rgba(7,138,82,.04); }

/* ── 16. Final CTA ────────────────────────────────────────────────────────── */
.final-cta {
  background: var(--clay-heading);
  border: 1px dashed var(--clay-border-dark);
  border-radius: var(--r-2xl);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%,
    rgba(7,138,82,.08), transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  font-family: var(--fh);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--clay-surface);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  font-feature-settings: var(--font-feat-heading);
}
.final-cta p { color: var(--clay-faint); max-width: 520px; margin: 0 auto 20px; }
.final-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 28px; }

/* Trust bar INSIDE final-cta — override white background */
.final-cta .trust-bar {
  background: transparent;
  border: none;
  padding: 12px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.nap-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--clay-faint) !important;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: .82rem;
  margin-top: 16px;
}
.nap-block strong { color: var(--clay-surface) !important; }

@media (max-width: 640px) { .final-cta { padding: 36px 20px; } }

/* CTA button grid inside final-cta */
.cta-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 760px;
  margin: 20px auto 0;
  align-items: center;
  justify-content: center;
}
.cta-button-grid a {
  min-width: 0;
  min-height: 54px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 22px;
  box-sizing: border-box;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.cta-button-grid a:hover {
  transform: rotateZ(-3deg) translateY(-2px);
}
@media (max-width: 599px) {
  .cta-button-grid { flex-direction: column; align-items: stretch; }
  .cta-button-grid a { width: 100%; }
}

/* Trust pills in final-cta */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85) !important;
  font-size: .80rem;
}
.support-local-message {
  font-size: .92rem;
  color: var(--clay-faint) !important;
  margin: 12px auto 0;
  letter-spacing: .01em;
}
.support-local-message strong { color: var(--clay-surface) !important; }
.local-proof {
  font-size: .84rem;
  color: var(--clay-faint);
  margin: 8px auto 0;
  text-align: center;
}

/* ── 17. Content blocks (diagnostic / SEO) ────────────────────────────────── */
.direct-answer {
  background: rgba(7,138,82,.07);
  border: 1px solid rgba(7,138,82,.22);
  border-left: 4px solid var(--matcha-600);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin: 28px 0;
}
.direct-answer .da-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--matcha-600);
  margin-bottom: 8px;
  font-family: var(--fh);
}
.direct-answer p { font-size: .97rem; color: var(--clay-text); line-height: 1.75; margin: 0; }

.decision-block {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  margin: 32px 0;
  box-shadow: var(--clay-shadow);
}
.decision-block h3 {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--clay-heading);
  margin-bottom: 18px;
  font-feature-settings: var(--font-feat-heading);
}
.decision-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--clay-border-light);
}
.decision-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.di-label { font-family: var(--fh); font-weight: 900; font-size: .95rem; color: var(--matcha-600); flex-shrink: 0; min-width: 120px; font-feature-settings: var(--font-feat-heading); }
.di-body  { font-size: .9rem; color: var(--clay-text); line-height: 1.65; }

.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.cause-card {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  box-shadow: var(--clay-shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cause-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--clay-heading) -4px 4px;
  border-color: var(--matcha-600);
}
.cause-card h4 {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1rem;
  color: var(--clay-heading);
  margin-bottom: 6px;
  font-feature-settings: var(--font-feat-heading);
}
.cause-card p { font-size: .85rem; color: var(--clay-muted); line-height: 1.6; margin: 0; }

.next-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 640px) { .next-steps-grid { grid-template-columns: 1fr; } }

.ns-card { border-radius: var(--r-lg); padding: 20px 18px; }
.ns-card.minor   { background: rgba(22,163,74,.06);  border: 1px solid rgba(22,163,74,.2); }
.ns-card.serious { background: rgba(239,68,68,.06);  border: 1px solid rgba(239,68,68,.2); }
.ns-card h4 { font-family: var(--fh); font-weight: 900; font-size: 1rem; margin-bottom: 12px; font-feature-settings: var(--font-feat-heading); }
.ns-card.minor h4   { color: #16a34a; }
.ns-card.serious h4 { color: #ef4444; }
.ns-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ns-card ul li { font-size: .87rem; color: var(--clay-text); padding-left: 18px; position: relative; line-height: 1.5; }
.ns-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--clay-faint); }

.mid-cta-bar {
  background: rgba(7,138,82,.06);
  border: 1px solid rgba(7,138,82,.18);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 40px 0;
}
.mid-cta-bar p { color: var(--clay-heading); font-size: .95rem; margin: 0; }

.scenario-block {
  background: rgba(7,138,82,.05);
  border: 1px solid rgba(7,138,82,.18);
  border-left: 4px solid var(--matcha-600);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin: 24px 0;
}
.scenario-block .sb-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--matcha-600); margin-bottom: 8px; font-family: var(--fh); }
.scenario-block p { font-size: .9rem; color: var(--clay-text); line-height: 1.75; margin: 0; }

.decision-pills { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.dp-item { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); font-size: .88rem; line-height: 1.6; }
.dp-item.hw    { background: rgba(239,68,68,.07);  border: 1px solid rgba(239,68,68,.2); }
.dp-item.sw    { background: rgba(22,163,74,.07);  border: 1px solid rgba(22,163,74,.2); }
.dp-item.urg   { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25); }
.dp-item.worth { background: rgba(7,138,82,.07);   border: 1px solid rgba(7,138,82,.2); }
.dp-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

.cat-who, .cat-chooser, .cat-escalate {
  border-radius: var(--r-xl);
  padding: 24px 22px;
  margin-bottom: 24px;
}
.cat-who {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
}
.cat-who h3 { font-family: var(--fh); font-weight: 900; font-size: 1.1rem; color: var(--clay-heading); margin-bottom: 10px; font-feature-settings: var(--font-feat-heading); }
.cat-who p  { font-size: .9rem; color: var(--clay-text); line-height: 1.7; margin: 0; }

.cat-chooser {
  background: rgba(7,138,82,.05);
  border: 1px solid rgba(7,138,82,.15);
}
.cat-chooser h3 { font-family: var(--fh); font-weight: 900; font-size: 1.05rem; color: var(--matcha-600); margin-bottom: 10px; font-feature-settings: var(--font-feat-heading); }
.cat-chooser p  { font-size: .88rem; color: var(--clay-text); line-height: 1.7; margin: 0; }

.cat-escalate {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.18);
}
.cat-escalate h3 { font-family: var(--fh); font-weight: 900; font-size: 1.05rem; color: #ef4444; margin-bottom: 10px; font-feature-settings: var(--font-feat-heading); }
.cat-escalate p  { font-size: .88rem; color: var(--clay-text); line-height: 1.7; margin: 0; }

.trust-inline { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--matcha-600); font-weight: 600; margin: 4px 0; }
.trust-inline::before { content: '✓'; font-weight: 900; }

.local-identity {
  background: rgba(7,138,82,.05);
  border: 1px solid rgba(7,138,82,.14);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin: 20px 0;
  font-size: .9rem;
  color: var(--clay-text);
  line-height: 1.75;
}
.local-identity .li-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--matcha-600); margin-bottom: 8px; font-family: var(--fh); }

.pro-repair-box {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-xl);
  padding: 24px 22px;
  margin: 28px 0;
  box-shadow: var(--clay-shadow);
}
.pro-repair-box h3 { font-family: var(--fh); font-weight: 900; font-size: 1.15rem; color: var(--clay-heading); margin-bottom: 16px; font-feature-settings: var(--font-feat-heading); }
.pr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .pr-row { grid-template-columns: 1fr; } }
.pr-col { border-radius: var(--r-md); padding: 14px 16px; }
.pr-col.diy { background: rgba(22,163,74,.07);  border: 1px solid rgba(22,163,74,.2); }
.pr-col.pro { background: rgba(239,68,68,.07);  border: 1px solid rgba(239,68,68,.2); }
.pr-col h4  { font-family: var(--fh); font-weight: 900; font-size: .92rem; margin-bottom: 8px; font-feature-settings: var(--font-feat-heading); }
.pr-col.diy h4 { color: #16a34a; }
.pr-col.pro h4 { color: #ef4444; }
.pr-col p { font-size: .84rem; color: var(--clay-text); line-height: 1.6; margin: 0; }

.ignore-box {
  background: rgba(7,138,82,.06);
  border: 1px solid rgba(7,138,82,.2);
  border-left: 4px solid var(--matcha-600);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin: 16px 0;
  font-size: .86rem;
  color: var(--clay-text);
  line-height: 1.65;
}
.ignore-box strong { color: var(--matcha-600); }

.strong-cta-bar {
  background: rgba(7,138,82,.06);
  border: 1px solid rgba(7,138,82,.2);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.strong-cta-bar p { font-size: .92rem; color: var(--clay-heading); margin: 0; font-weight: 500; }

.answer-block {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-left: 4px solid var(--matcha-800);
  border-radius: var(--r-xl);
  padding: 14px 16px;
  margin: 16px 0 10px;
  box-shadow: var(--clay-shadow);
}
.answer-block strong { display: block; color: var(--clay-heading); margin-bottom: 6px; font-family: var(--fh); font-size: 1.02rem; letter-spacing: .01em; font-feature-settings: var(--font-feat-heading); }

.llm-block {
  background: var(--clay-bg-alt);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-top: 40px;
}
.llm-block h3 { font-family: var(--fh); font-weight: 700; font-size: .9rem; color: var(--matcha-600); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; font-feature-settings: var(--font-feat-heading); }
.llm-block p  { font-size: .88rem; color: var(--clay-text); line-height: 1.7; margin-bottom: 8px; }

/* ── 18. Referral Section ─────────────────────────────────────────────────── */
.refer-section {
  background: var(--clay-bg-alt);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-2xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
/* Fix: glass-card text inside refer-section must be dark, not white */
.refer-section .glass-card,
.refer-section .glass-card p,
.refer-section .glass-card strong,
.refer-section .glass-card div {
  color: var(--clay-text) !important;
}
.refer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .refer-grid { grid-template-columns: 1fr; }
  .refer-section { padding: 24px 18px; }
}

.refer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fh);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--lemon-700);
  margin-bottom: 12px;
  font-feature-settings: var(--font-feat-heading);
}
.refer-section h2 {
  font-family: var(--fh);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--clay-heading);
  margin-bottom: 16px;
  font-feature-settings: var(--font-feat-heading);
}
.refer-section h2 em { font-style: italic; color: var(--lemon-700); }

.refer-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.refer-step  { display: flex; gap: 14px; align-items: flex-start; }
.rs-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lemon-500);
  color: var(--clay-heading);
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-feature-settings: var(--font-feat-heading);
}

.refer-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--clay-border);
  box-shadow: var(--clay-shadow-md);
}
.refer-img { width: 100%; height: 220px; object-fit: cover; display: block; }

/* ── 19. Process Steps ────────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 700px) { .process-steps { grid-template-columns: 1fr; } }

.process-step {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: transform .28s, box-shadow .28s, border-color .28s;
  box-shadow: var(--clay-shadow);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--clay-heading) -5px 5px;
  border-color: var(--matcha-600);
}
.ps-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--matcha-600);
  color: #fff;
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px var(--clay-accent-glow);
  font-feature-settings: var(--font-feat-heading);
}
.process-step h3 { font-family: var(--fh); font-weight: 900; font-size: 1.15rem; color: var(--clay-heading); margin-bottom: 8px; font-feature-settings: var(--font-feat-heading); }
.process-step p  { font-size: .88rem; color: var(--clay-muted); line-height: 1.65; }

/* ── 20. Footer ───────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--clay-border);
  background: var(--clay-bg-alt);
  padding: 32px 24px;
  text-align: center;
  font-size: .8rem;
  color: var(--clay-muted);
}
footer a { color: var(--clay-muted); }
footer a:hover { color: var(--clay-accent); }
footer p { margin-bottom: 8px; }

/* ── 21. Sticky Mobile Bar ────────────────────────────────────────────────── */
.sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  border-top: 1px solid var(--clay-border);
  background: var(--clay-heading);
}
@media (max-width: 639px) { .sticky-mobile { display: flex; } }
.sticky-mobile a {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  font-family: var(--fh);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  font-feature-settings: var(--font-feat-heading);
}

/* ── 22. Interactive Tool Buttons (JS-rendered) ───────────────────────────── */
/* These are rendered inline via JS, but we provide a CSS class to override */
.tool-option-btn {
  background: var(--clay-surface);
  border: 1px solid var(--clay-border);
  color: var(--clay-text);
  padding: 13px 16px;
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: left;
  font-size: .92rem;
  transition: all .18s;
  width: 100%;
  font-family: var(--fb);
}
.tool-option-btn:hover {
  border-color: var(--matcha-600);
  background: rgba(7,138,82,.06);
  transform: translateX(4px);
}

/* ── 23. Utility helpers ──────────────────────────────────────────────────── */
.text-accent { color: var(--matcha-600); }
.text-muted  { color: var(--clay-muted); }
.text-faint  { color: var(--clay-faint); }
.badge-green {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(7,138,82,.08);
  border: 1px solid rgba(7,138,82,.2);
  color: var(--matcha-600);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--fh);
  font-feature-settings: var(--font-feat-heading);
}
.badge-lemon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(251,189,65,.12);
  border: 1px solid rgba(251,189,65,.3);
  color: var(--lemon-700);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--fh);
  font-feature-settings: var(--font-feat-heading);
}

/* ── 24. Accessibility ────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--matcha-600);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ── 25. Global contrast fixes ────────────────────────────────────────────── */

/* seo-proof-block sits on white bg — ensure text is dark */
.seo-proof-block p { color: var(--clay-text) !important; }
.seo-proof-block p em { color: var(--clay-muted) !important; }

/* Any glass-card on a light bg: force dark text */
.section .glass-card p,
.section-alt .glass-card p,
.section .glass-card strong { color: var(--clay-text) !important; }

/* Inline style overrides that set var(--heading-on-dark) on light bg */
[style*="color:var(--heading-on-dark)"] { color: var(--clay-heading) !important; }

/* Reduce excessive margin on answer-block / direct-answer in hero */
.hero .answer-block { margin: 12px 0; }
.hero .direct-answer { margin: 12px 0; }

/* Tighten hero bottom spacing */
.hero .hero-intro:last-of-type { margin-bottom: 16px; }
.hero .hero-h1 { margin-bottom: 12px; }

/* Section-to-section gap: override any margin stacking */
section + section { margin-top: 0; }

/* Compact trust-bar standalone (outside final-cta) */
.trust-bar {
  padding: 14px 0;
}
.trust-bar-inner {
  gap: 10px 20px;
}

/* Reduce refer-section outer section padding */
.section > .wrap > .refer-section,
.section-alt > .wrap > .refer-section {
  margin-top: 0;
}


/* second pass conversion polish */
.sbc-pricing{background:#eef2ff;color:#0f172a;border:1px solid rgba(15,23,42,.12)}
.hero-secondary-cta .btn-refer{background:#eef2ff;color:#0f172a;border:1px solid rgba(15,23,42,.12)}
.hero-secondary-cta .btn-refer:hover,.sbc-pricing:hover{filter:brightness(.98)}
.hero-intro{max-width:68ch}
.answer-block{border-left:4px solid #2563eb}
