/* =========================================================
   CO Tax Relief Now — Design System
   Palette derived from existing brand: teal + gold
   ========================================================= */

:root {
  /* Brand */
  --teal-900: #063e39;
  --teal-800: #0a5049;
  --teal-700: #0d6a60;
  --teal-600: #0f867a;
  --teal-500: #14a394;
  --teal-050: #e9f6f4;

  --gold-600: #c99a3a;
  --gold-500: #e0b451;
  --gold-400: #f0ce7e;
  --gold-100: #fbf1d8;

  /* Neutrals */
  --ink-900: #0e1a19;
  --ink-700: #33413f;
  --ink-500: #5c6a68;
  --ink-300: #9aa6a4;
  --line: #e4eae9;
  --surface: #ffffff;
  --surface-alt: #f6faf9;
  --surface-warm: #fbf9f4;

  /* System */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(9, 30, 28, .06), 0 1px 3px rgba(9, 30, 28, .05);
  --shadow-md: 0 10px 24px -12px rgba(9, 40, 37, .28);
  --shadow-lg: 0 30px 60px -24px rgba(6, 40, 37, .35);
  --maxw: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-body);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--surface);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-600); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.14;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 700;
}
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head);
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px; }

.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--alt { background: var(--surface-alt); }
.section--warm { background: var(--surface-warm); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--ink-500); font-size: 1.1rem; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .92em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--teal-800); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--gold { background: var(--gold-500); color: var(--teal-900); box-shadow: 0 10px 24px -12px rgba(201,154,58,.6); }
.btn--gold:hover { background: var(--gold-400); color: var(--teal-900); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal-600); color: var(--teal-700); background: #fff; }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.32); backdrop-filter: blur(4px); }
.btn--light:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -14px rgba(6,40,37,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; color: var(--ink-900); letter-spacing: -.02em; }
.brand:hover { color: var(--ink-900); }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-txt b { font-size: 1.06rem; }
.brand .brand-txt span { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--ink-700);
  padding: .5em .9em; border-radius: 8px;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-700); background: var(--teal-050); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--ink-900); }
.nav-phone:hover { color: var(--teal-700); }
.nav-phone .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-050); color: var(--teal-700); }
.nav-phone svg { width: 16px; height: 16px; }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink-900); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--teal-900), var(--teal-700) 62%, var(--teal-600)); color: #fff; }
.hero::after { /* subtle mountain silhouette */
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 160px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path fill='%23ffffff' fill-opacity='0.06' d='M0 160 L220 60 L360 120 L560 30 L760 120 L980 40 L1180 110 L1320 55 L1440 130 L1440 160 Z'/></svg>") no-repeat bottom/cover;
  pointer-events: none;
}
.hero-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(40px); opacity: .5; pointer-events: none; }
.hero-glow.g1 { background: radial-gradient(circle, rgba(240,206,126,.4), transparent 65%); top: -160px; right: -120px; }
.hero-glow.g2 { background: radial-gradient(circle, rgba(20,163,148,.5), transparent 65%); bottom: -240px; left: -160px; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(60px, 8vw, 104px) 0 clamp(90px, 10vw, 130px); }
.hero .eyebrow { color: var(--gold-400); }
.hero .eyebrow::before { background: var(--gold-400); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); margin-bottom: .35em; }
.hero h1 .hl { color: var(--gold-400); }
.hero-lead { font-size: 1.22rem; color: rgba(255,255,255,.9); max-width: 34ch; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: rgba(255,255,255,.75); max-width: 44ch; }
.hero-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold-400); }

/* Hero card / trust panel */
.hero-card {
  background: rgba(255,255,255,.97); color: var(--ink-700); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
}
.hero-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.hero-card .sub { color: var(--ink-500); font-size: .95rem; margin-bottom: 20px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust-list li { display: flex; gap: 13px; align-items: flex-start; }
.trust-list .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--teal-050); color: var(--teal-700); display: grid; place-items: center; }
.trust-list .tick svg { width: 15px; height: 15px; }
.trust-list b { color: var(--ink-900); font-family: var(--font-head); }
.trust-list span { font-size: .93rem; color: var(--ink-500); }
.hero-card .card-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.hero-card .card-foot .ph { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-100); color: var(--gold-600); }
.hero-card .card-foot .ph svg { width: 19px; height: 19px; }
.hero-card .card-foot small { display: block; color: var(--ink-500); font-size: .8rem; }
.hero-card .card-foot b { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink-900); }

/* ---------- Stat strip ---------- */
.stats { background: var(--teal-900); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 22px; }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--gold-400); }
.stat span { font-size: .9rem; color: rgba(255,255,255,.78); }

/* ---------- Value cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative; overflow: hidden;
}
.value-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal-600), var(--gold-500)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.value-card:hover::before { transform: scaleX(1); }
.value-card .ic-wrap { width: 56px; height: 56px; border-radius: 16px; background: var(--teal-050); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 20px; }
.value-card .ic-wrap svg { width: 27px; height: 27px; }
.value-card h3 { font-size: 1.28rem; }
.value-card p { color: var(--ink-500); font-size: .98rem; margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step .num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--teal-700); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 18px; }
.step h3 { font-size: 1.1rem; margin-bottom: .4em; }
.step p { font-size: .94rem; color: var(--ink-500); margin-bottom: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -13px; width: 26px; height: 2px; background: var(--line); z-index: 1; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 4/3.4; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.info-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-row .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-050); color: var(--teal-700); display: grid; place-items: center; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row small { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; color: var(--ink-300); font-family: var(--font-head); }
.info-row b, .info-row a { font-family: var(--font-head); font-size: 1.06rem; color: var(--ink-900); }
.info-row a:hover { color: var(--teal-700); }

/* ---------- Form section ---------- */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.form-copy .eyebrow { margin-bottom: 14px; }
.form-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.form-copy p { color: var(--ink-500); font-size: 1.06rem; }
.form-bullets { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.form-bullets li { display: flex; gap: 11px; align-items: flex-start; }
.form-bullets .tick { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.form-bullets .tick svg { width: 14px; height: 14px; }
.form-bullets b { color: var(--ink-900); font-family: var(--font-head); }
.call-box { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--teal-050); border: 1px solid #d6ecea; border-radius: var(--radius); }
.call-box .ph { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--teal-700); color: #fff; }
.call-box .ph svg { width: 20px; height: 20px; }
.call-box small { display: block; color: var(--ink-500); font-size: .84rem; }
.call-box a { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--ink-900); letter-spacing: -.01em; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 12px; }
.form-card .form-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 6px; }
.form-card .form-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(20,163,148,.16); }
.form-card .form-head span { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink-700); }
.form-embed { width: 100%; min-height: 1260px; border: none; border-radius: var(--radius); background: #fff; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--teal-800), var(--teal-600)); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-banner .hero-glow.g1 { top: -180px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); position: relative; }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 52ch; margin-inline: auto; position: relative; }
.cta-banner .hero-actions { justify-content: center; margin-top: 24px; margin-bottom: 0; position: relative; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--teal-900), var(--teal-700)); color: #fff; padding: clamp(60px, 8vw, 96px) 0 clamp(70px, 9vw, 104px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 120px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path fill='%23ffffff' fill-opacity='0.06' d='M0 160 L260 70 L440 120 L640 40 L860 120 L1080 50 L1440 130 L1440 160 Z'/></svg>") no-repeat bottom/cover; }
.page-hero .container { position: relative; z-index: 2; max-width: 760px; }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero .eyebrow::before { background: var(--gold-400); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.3rem); }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.18rem; margin-bottom: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 18px; font-family: var(--font-head); font-weight: 600; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-700); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose .updated { color: var(--ink-500); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand .brand-txt b { color: #fff; }
.footer-brand p { font-size: .95rem; max-width: 42ch; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .96rem; }
.footer-col a:hover { color: var(--gold-400); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: center; }
.footer-col .contact-line svg { width: 16px; height: 16px; color: var(--gold-400); flex: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.disclaimer { margin-top: 20px; font-size: .78rem; color: rgba(255,255,255,.42); max-width: 100%; line-height: 1.6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 520px; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .form-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-phone span { display: none; }
  .nav-toggle { display: grid; }
  .site-header.nav-open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px; gap: 4px; box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; gap: 18px; }
  .call-box { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* =========================================================
   ENHANCEMENTS (credibility, solutions, resources, FAQ,
   counties, bio, video, dropdown nav)
   ========================================================= */

/* ---------- Dropdown nav ---------- */
.nav-links li.has-menu { position: relative; }
.nav-links .menu-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; font: inherit; font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--ink-700); padding: .5em .9em; border-radius: 8px; }
.nav-links .menu-btn svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nav-links .has-menu:hover .menu-btn, .nav-links .has-menu:focus-within .menu-btn { color: var(--teal-700); background: var(--teal-050); }
.nav-links .has-menu:hover .menu-btn svg, .nav-links .has-menu:focus-within .menu-btn svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; list-style: none; margin: 0; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 70;
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 9px; font-size: .92rem; font-weight: 600; color: var(--ink-700); }
.dropdown a:hover { background: var(--teal-050); color: var(--teal-700); }
.dropdown a small { display: block; font-weight: 500; font-size: .78rem; color: var(--ink-300); margin-top: 1px; }

/* ---------- Credibility bar (on hero) ---------- */
.cred-bar { background: rgba(255,255,255,.08); border-top: 1px solid rgba(255,255,255,.12); }
.cred-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 22px 0 4px; }
.cred-item { display: flex; gap: 11px; align-items: flex-start; }
.cred-item .ci { flex: none; width: 34px; height: 34px; border-radius: 9px; background: rgba(240,206,126,.16); color: var(--gold-400); display: grid; place-items: center; }
.cred-item .ci svg { width: 18px; height: 18px; }
.cred-item b { display: block; font-family: var(--font-head); font-size: .95rem; color: #fff; line-height: 1.2; }
.cred-item span { font-size: .8rem; color: rgba(255,255,255,.72); }

/* Standalone credibility band (light) */
.cred-band { background: var(--surface-alt); border-block: 1px solid var(--line); }
.cred-band .cred-strip { padding: 30px 0; }
.cred-band .cred-item .ci { background: var(--teal-050); color: var(--teal-700); }
.cred-band .cred-item b { color: var(--ink-900); }
.cred-band .cred-item span { color: var(--ink-500); }

/* ---------- Solutions ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sol-card { display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sol-card .sic { flex: none; width: 48px; height: 48px; border-radius: 13px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.sol-card .sic svg { width: 23px; height: 23px; }
.sol-card h3 { font-size: 1.12rem; margin-bottom: .35em; }
.sol-card p { font-size: .94rem; color: var(--ink-500); margin: 0; }

/* ---------- Resources / article cards ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.res-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.res-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.res-card .res-top { padding: 26px 26px 0; }
.res-card .tag { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); background: var(--teal-050); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.res-card h3 { font-size: 1.18rem; margin-bottom: .4em; }
.res-card p { font-size: .93rem; color: var(--ink-500); }
.res-card .res-link { margin-top: auto; padding: 16px 26px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--teal-700); display: flex; align-items: center; gap: 7px; }
.res-card:hover .res-link svg { transform: translateX(3px); }
.res-card .res-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item[open] { border-color: #cfe6e3; box-shadow: var(--shadow-md); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--ink-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fic { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--teal-050); color: var(--teal-700); display: grid; place-items: center; transition: transform .25s var(--ease); }
.faq-item[open] summary .fic { transform: rotate(45deg); }
.faq-item summary .fic svg { width: 16px; height: 16px; }
.faq-body { padding: 0 24px 22px; color: var(--ink-700); }
.faq-body p { margin: 0; }

/* ---------- County grid ---------- */
.county-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.county-card { display: flex; align-items: center; gap: 13px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--ink-900); font-family: var(--font-head); font-weight: 700; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.county-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--teal-700); }
.county-card .mtn { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--teal-050); color: var(--teal-700); display: grid; place-items: center; }
.county-card .mtn svg { width: 21px; height: 21px; }
.county-card small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--ink-300); }

/* ---------- Bio (About) ---------- */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.bio .bio-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(155deg, var(--teal-700), var(--teal-500)); aspect-ratio: 3/3.4; display: grid; place-items: center; color: rgba(255,255,255,.9); text-align: center; padding: 20px; }
.bio .bio-photo .ph-ring { width: 92px; height: 92px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; margin-bottom: 14px; }
.bio .bio-photo .ph-ring svg { width: 44px; height: 44px; }
.bio .bio-photo small { display: block; font-size: .78rem; opacity: .8; margin-top: 6px; }
.bio h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.bio .role { font-family: var(--font-head); font-weight: 700; color: var(--teal-700); margin-bottom: 14px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge-row .badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--ink-700); background: var(--surface-alt); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.badge-row .badge svg { width: 15px; height: 15px; color: var(--teal-600); }

/* ---------- Video placeholder ---------- */
.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: linear-gradient(150deg, var(--teal-900), var(--teal-600)); display: grid; place-items: center; text-align: center; color: #fff; }
.video-wrap .play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.16); border: 2px solid rgba(255,255,255,.5); display: grid; place-items: center; margin: 0 auto 16px; transition: transform .2s var(--ease), background .2s; }
.video-wrap:hover .play { transform: scale(1.06); background: rgba(255,255,255,.26); }
.video-wrap .play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-wrap b { font-family: var(--font-head); font-size: 1.2rem; }
.video-wrap span { display: block; font-size: .9rem; color: rgba(255,255,255,.78); margin-top: 4px; }
.video-note { text-align: center; color: var(--ink-300); font-size: .85rem; margin-top: 12px; }

/* ---------- Article prose extras ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.article-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; }
.side-card h4 { font-size: 1.05rem; margin-bottom: 12px; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.side-card ul a { font-size: .9rem; color: var(--ink-700); font-weight: 500; }
.side-card ul a:hover { color: var(--teal-700); }
.side-card.cta-card { background: linear-gradient(155deg, var(--teal-800), var(--teal-600)); color: #fff; border: 0; }
.side-card.cta-card h4 { color: #fff; }
.side-card.cta-card p { font-size: .9rem; color: rgba(255,255,255,.85); }
.side-card.cta-card .btn { width: 100%; }
.callout { background: var(--teal-050); border: 1px solid #cfe6e3; border-left: 4px solid var(--teal-600); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.callout p { margin: 0; color: var(--ink-700); font-size: .96rem; }
.callout b { color: var(--teal-800); font-family: var(--font-head); }
.opt-num { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.opt-num:last-child { border-bottom: 0; }
.opt-num .on { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.opt-num h3 { margin: 4px 0 .4em; font-size: 1.2rem; }
.opt-num p { margin: 0; color: var(--ink-700); }

/* ---------- Responsive additions ---------- */
@media (max-width: 940px) {
  .cred-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .sol-grid { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr 1fr; }
  .county-grid { grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 1fr; gap: 28px; }
  .bio .bio-photo { max-width: 280px; }
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links .has-menu .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav-links .menu-btn { width: 100%; justify-content: space-between; }
  .res-grid { grid-template-columns: 1fr; }
  .county-grid { grid-template-columns: 1fr; }
  .article-side { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cred-strip { grid-template-columns: 1fr; gap: 14px; }
}

/* =========================================================
   NAV FIT FIXES — no wrapping; collapse earlier
   ========================================================= */
.nav { gap: 18px; flex-wrap: nowrap; }
.brand { flex: none; }
.brand .brand-txt b { white-space: nowrap; }
.nav-links { gap: 2px; flex: 0 1 auto; }
.nav-links a, .nav-links .menu-btn { white-space: nowrap; padding: .5em .72em; }
.nav-cta { flex: none; gap: 12px; }
.nav-phone, .nav-phone span { white-space: nowrap; }
.nav-cta .btn { white-space: nowrap; }

@media (max-width: 1060px) {
  .nav-links, .nav-phone span { display: none; }
  .nav-toggle { display: grid; }
  .site-header.nav-open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 12px; gap: 4px; box-shadow: var(--shadow-md); max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .site-header.nav-open .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .site-header.nav-open .nav-links .menu-btn { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 1rem; }
  .site-header.nav-open .nav-links .has-menu .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 14px; min-width: 0;
  }
}

/* Bio photo when a real image is present */
.bio .bio-photo.has-img { padding: 0; background: var(--teal-800); }
.bio .bio-photo.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

/* Constrain inline icons inside callouts (were rendering full-size) */
.callout p svg { width: 20px; height: 20px; flex: none; vertical-align: -4px; color: var(--teal-600); margin-right: 4px; }
