/* ============================================================
   Ocala Real Estate — Authority Pages
   Mobile-first stylesheet · Premium "Stripe meets Compass" design
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --navy:        #0B2D5E;
  --navy-mid:    #1557a0;
  --navy-light:  #e8f2fc;
  --coral:       #E05C1A;
  --coral-dark:  #B8420E;
  --coral-light: #FEF0E8;
  --gold:        #D4A843;
  --gold-light:  #FDF6E3;
  --green:       #1B8348;
  --green-light: #E8F5EE;
  --teal:        #0D7A8A;
  --teal-light:  #E0F4F6;
  --text:        #0F172A;
  --text-muted:  #64748B;
  --border:      #E2E8F0;
  --bg:          #F8F9FC;
  --white:       #FFFFFF;

  /* Legacy aliases so old pages still compile */
  --blue:        #1557a0;
  --blue-dark:   #0B2D5E;
  --blue-mid:    #1557a0;
  --blue-light:  #e8f2fc;
  --orange:      #E05C1A;
  --orange-dark: #B8420E;
  --orange-light:#FEF0E8;
  --bg-light:    #F8F9FC;
  --bg-warm:     #FDF6E3;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.15), 0 8px 24px rgba(0,0,0,.08);

  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --max-w:       1200px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display:'Playfair Display', Georgia, serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a  { color: var(--navy-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

/* ── Skip nav ─────────────────────────────────────────────── */
.skip-nav {
  position: absolute; top: -100px; left: 1rem;
  background: var(--navy); color: var(--white);
  padding: .5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; z-index: 9999;
  transition: top .15s;
}
.skip-nav:focus { top: 1rem; }

/* ── Global Nav ───────────────────────────────────────────── */
.site-nav {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: .75rem 1rem;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 20px rgba(0,0,0,.05);
}
.site-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-nav__brand-wrap {
  display: flex; align-items: center; gap: .625rem;
}
.site-nav__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 2px solid var(--coral);
  flex-shrink: 0;
}
.site-nav__brand {
  font-weight: 700; font-size: 1rem;
  color: var(--navy);
  line-height: 1.2;
}
.site-nav__brand span {
  display: block; font-size: .75rem; font-weight: 500;
  color: var(--text-muted);
}
.site-nav__phone {
  display: inline-flex; align-items: center; gap: .375rem;
  font-weight: 700; color: var(--white);
  background: var(--coral);
  padding: .5rem .875rem;
  border-radius: 999px;
  font-size: .875rem; white-space: nowrap;
  transition: background .15s, transform .1s;
}
.site-nav__phone:hover {
  background: var(--coral-dark); text-decoration: none;
  color: var(--white); transform: translateY(-1px);
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}
.section {
  padding: 3rem 1rem;
}
.section--tight { padding: 2rem 1rem; }
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section__inner--narrow {
  max-width: 700px;
  margin: 0 auto;
}
.section--alt { background: var(--bg); }
.section--warm { background: var(--gold-light); }
.section--blue { background: var(--navy); color: var(--white); }

/* ── Breadcrumbs ──────────────────────────────────────────── */
.breadcrumbs {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: .5rem 1rem;
  font-size: .8125rem;
  color: var(--text-muted);
}
.breadcrumbs ol {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: .25rem;
  max-width: var(--max-w); margin: 0 auto;
  align-items: center;
}
.breadcrumbs li { display: flex; align-items: center; gap: .25rem; }
.breadcrumbs li + li::before { content: "›"; color: var(--border); }
.breadcrumbs a { color: var(--navy-mid); }
.breadcrumbs [aria-current="page"] { color: var(--text-muted); }

/* ── Hero (guide pages) ───────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, #061829 0%, #0B2D5E 50%, #1557a0 100%);
  color: var(--white);
  padding: 3rem 1rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  padding-bottom: 3rem;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.hero__subheadline {
  font-size: 1.0625rem;
  opacity: .9;
  margin-bottom: 1rem;
  max-width: 680px;
  font-weight: 500;
}
.hero__intro {
  font-size: .9375rem;
  opacity: .8;
  max-width: 740px;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: .75rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.625rem;
  border-radius: 999px;
  font-weight: 700; font-size: .9375rem;
  cursor: pointer; border: 2px solid transparent;
  text-decoration: none; transition: all .18s;
  white-space: nowrap; letter-spacing: .01em;
  font-family: var(--font);
}
.btn--primary {
  background: linear-gradient(135deg, #E05C1A, #B8420E);
  color: #fff;
  border-color: #E05C1A;
  box-shadow: 0 4px 16px rgba(224,92,26,.4);
  letter-spacing: .01em;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #c95016, #9e3508);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,92,26,.45);
  text-decoration: none; color: #fff;
}
.btn--outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12); text-decoration: none; color: var(--white);
  transform: translateY(-2px);
}
.btn--blue {
  background: var(--navy-mid); color: var(--white);
  border-color: var(--navy-mid);
}
.btn--blue:hover {
  background: var(--navy); border-color: var(--navy);
  text-decoration: none; color: var(--white);
  transform: translateY(-2px);
}
.btn--full { width: 100%; border-radius: var(--radius-sm); }
.btn--sm { padding: .5rem 1.125rem; font-size: .875rem; }
.btn--lg { padding: .875rem 2rem; font-size: 1rem; }

/* ── Stat Bar ─────────────────────────────────────────────── */
.stat-bar {
  background: #040e1a;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 1rem;
}
.stat-bar__list {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-bar__item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  color: var(--white);
  padding: .875rem .75rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.08);
}
.stat-bar__value {
  font-size: 1.75rem; font-weight: 800;
  line-height: 1; letter-spacing: -.04em;
  color: #D4A843;
}
.stat-bar__label {
  font-size: .68rem; opacity: .75;
  text-transform: uppercase; letter-spacing: .08em;
  margin-top: .35rem;
}
.stat-bar__source {
  font-size: .65rem; opacity: .55;
  margin-top: .2rem; font-style: italic;
}

/* ── Section Headings ─────────────────────────────────────── */
h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: .625rem;
}

/* ── Section Label Pill ───────────────────────────────────── */
.section-label {
  display: inline-block;
  background: var(--coral-light);
  color: var(--coral-dark);
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .75rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}

/* ── Local Context ────────────────────────────────────────── */
.local-context p { margin-bottom: 1rem; color: var(--text); }
.local-context p:last-child { margin-bottom: 0; }

.callout {
  border-left: 4px solid var(--navy-mid);
  background: var(--navy-light);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
  font-size: .9375rem;
}
.callout--tip {
  border-color: var(--teal);
  background: var(--teal-light);
}
.callout--tip strong { color: var(--teal); }

/* ── Comparison Table ─────────────────────────────────────── */
.table-scroll-hint {
  font-size: .8125rem; color: var(--text-muted);
  margin-bottom: .5rem; text-align: right;
}
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  box-shadow: var(--shadow-sm);
}
.comparison-table {
  width: 100%; min-width: 580px;
  border-collapse: collapse;
  font-size: .875rem;
}
.comparison-table thead {
  background: linear-gradient(90deg, #061829 0%, #1557a0 100%);
  color: var(--white);
}
.comparison-table thead th {
  padding: .875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.comparison-table tbody tr { border-bottom: 1px solid var(--border); transition: background .12s; }
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--bg); }
.comparison-table tbody tr:hover { background: var(--navy-light); }
.comparison-table td, .comparison-table th[scope="row"] {
  padding: .875rem 1rem;
  vertical-align: middle;
}
.comparison-table th[scope="row"] {
  font-weight: 600; text-align: left;
  white-space: nowrap;
  background: var(--white);
  position: sticky; left: 0;
  border-right: 1px solid var(--border);
}
.comparison-table tbody tr:nth-child(even) th[scope="row"] { background: var(--bg); }
.comparison-table tbody tr:hover th[scope="row"] { background: var(--navy-light); }
.row--featured { background: var(--navy-light) !important; }
.row--featured th[scope="row"] { background: var(--navy-light) !important; }
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: var(--white);
  font-size: .6875rem; font-weight: 700;
  padding: .125rem .4rem;
  border-radius: 3px; margin-left: .4rem;
  vertical-align: middle; text-transform: uppercase;
  letter-spacing: .04em;
}
.table-link {
  color: var(--navy-mid); font-weight: 600; font-size: .8125rem;
  white-space: nowrap;
}
.table-note {
  font-size: .8125rem; color: var(--text-muted);
  font-style: italic; margin-top: .5rem;
}

/* ── Community Cards (guide pages) ───────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: .5rem;
}
.community-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  background: var(--white);
}
.community-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.community-card__accent {
  height: 6px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--gold) 100%);
}
.community-card__body {
  padding: 1.375rem;
}
.community-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--navy); margin-bottom: .5rem;
}
.community-card__summary {
  font-size: .9375rem; color: var(--text);
  margin-bottom: 1rem; line-height: 1.65;
}
.community-card__features {
  list-style: none; padding: 0;
  margin-bottom: 1rem;
}
.community-card__features li {
  padding: .3rem 0 .3rem 1.5rem;
  position: relative; font-size: .9rem;
  border-bottom: 1px solid var(--bg);
}
.community-card__features li:last-child { border-bottom: none; }
.community-card__features li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800;
  top: .4rem;
}
.community-card__meta {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: .875rem 1rem;
  margin-bottom: 1rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
}
.community-card__meta-item dt {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted);
  font-weight: 700;
}
.community-card__meta-item dd {
  font-size: .9375rem; font-weight: 600; color: var(--text);
}

/* ── CTA Blocks ───────────────────────────────────────────── */
.cta-banner {
  background: var(--navy-light);
  border: 1.5px solid var(--navy-mid);
  border-radius: var(--radius);
  padding: 1.375rem 1.5rem;
  display: flex; flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.cta-banner__text {
  font-size: 1rem; color: var(--text); font-weight: 500;
}
.cta-banner__btns {
  display: flex; flex-wrap: wrap; gap: .625rem; align-items: center;
}
.section--cta-main {
  background: linear-gradient(145deg, #061829 0%, #1557a0 100%);
  color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.section--cta-main::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.section--cta-main h2 {
  color: var(--white);
  font-family: var(--font-display);
}
.cta-main__subtext {
  color: rgba(255,255,255,.85); margin-bottom: 1.5rem;
  font-size: 1rem;
}
.cta-main__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
}

/* ── Lead Form ────────────────────────────────────────────── */
.lead-form-section {
  background: var(--bg);
  border-top: 4px solid var(--coral);
}
.form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
}
.form-box__headline {
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 700;
  color: var(--navy); margin-bottom: .5rem;
}
.form-box__subtext {
  font-size: .9375rem; color: var(--text-muted); margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.125rem; }
.form-label {
  display: block; font-weight: 600;
  font-size: .875rem; margin-bottom: .4rem; color: var(--text);
}
.form-label .required-mark { color: #c62828; margin-left: .15rem; }
.form-control {
  display: block; width: 100%;
  padding: .6875rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem; font-family: var(--font);
  color: var(--text); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(21,87,160,.14);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  padding-right: 2.5rem;
}
textarea.form-control { resize: vertical; min-height: 80px; }
.form-submit { margin-top: 1.375rem; }
.form-privacy {
  font-size: .8125rem; color: var(--text-muted);
  margin-top: .625rem; text-align: center; line-height: 1.45;
}
.form-control--error { border-color: #c62828 !important; }
.field-error { display: block; color: #c62828; font-size: .8125rem; margin-top: .25rem; }

/* ── Form intent accents ──────────────────────────────────── */
.form-box--va .form-box__headline { color: var(--green); }
.form-box--va { border-top: 4px solid var(--green); }
.form-box--ftb .form-box__headline { color: var(--teal); }
.form-box--ftb { border-top: 4px solid var(--teal); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { margin-top: .5rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1rem .25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  font-family: var(--font); font-size: .9375rem;
  font-weight: 600; color: var(--text);
  text-align: left; line-height: 1.4;
  transition: color .15s;
}
.faq-question:hover { color: var(--navy-mid); }
.faq-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--coral-light);
  color: var(--coral-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700;
  transition: transform .2s, background .15s;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--coral); color: var(--white);
}
.faq-answer {
  padding: 0 .25rem 1rem;
  font-size: .9375rem; color: var(--text-muted);
  line-height: 1.75;
}

/* ── Related Pages ────────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-top: .75rem;
}
.related-link {
  display: flex; align-items: center;
  padding: .875rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text); font-weight: 500;
  font-size: .9375rem;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  text-decoration: none;
}
.related-link:hover {
  border-color: var(--coral);
  box-shadow: 0 3px 12px rgba(224,92,26,.15);
  text-decoration: none; color: var(--navy);
  transform: translateX(3px);
}
.related-link--parent {
  background: var(--navy-light); border-color: var(--navy-mid);
  color: var(--navy-mid); font-weight: 600;
}
.related-link__arrow { margin-left: auto; opacity: .45; }

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-top: 2px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1rem;
  box-shadow: var(--shadow-sm);
}
.trust-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; text-align: center;
}
.trust-bar__photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 3px solid var(--coral);
  box-shadow: 0 4px 16px rgba(224,92,26,.25);
  flex-shrink: 0;
}
.trust-bar__info { flex: 1; }
.trust-bar__name { font-weight: 800; color: var(--text); font-size: 1.0625rem; }
.trust-bar__title { font-size: .875rem; color: var(--coral-dark); font-weight: 600; margin-top: .1rem; }
.trust-bar__license { font-size: .8rem; color: var(--text-muted); margin-top: .1rem; }
.trust-bar__contact {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center;
}
.trust-bar__contact a {
  display: inline-flex; align-items: center; gap: .375rem;
  color: var(--navy-mid); font-weight: 600; font-size: .9375rem;
  padding: .4rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  transition: border-color .15s, background .15s;
}
.trust-bar__contact a:hover {
  border-color: var(--navy-mid); background: var(--navy-light);
  text-decoration: none;
}

/* ── Page Freshness ───────────────────────────────────────── */
.page-freshness {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: .625rem 1rem;
  text-align: center;
  font-size: .8125rem; color: var(--text-muted);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #060f1e; color: rgba(255,255,255,.65);
  padding: 2.5rem 1rem;
  font-size: .875rem;
}
.site-footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.site-footer a { color: rgba(255,255,255,.65); }
.site-footer a:hover { color: var(--white); }
.site-footer__brand {
  font-size: 1rem; font-weight: 700; color: var(--white);
  margin-bottom: .375rem;
}
.site-footer__social { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.site-footer__social a {
  padding: .3rem .75rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .8125rem;
  transition: border-color .15s, background .15s;
}
.site-footer__social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.site-footer__disclaimer { font-size: .8125rem; opacity: .6; line-height: 1.6; }

/* ── Sticky Mobile CTA Bar ────────────────────────────────── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--navy);
  padding: .875rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; z-index: 200;
  transform: translateY(100%);
  transition: transform .25s ease;
  box-shadow: 0 -2px 20px rgba(0,0,0,.3);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__text { color: var(--white); font-size: .9rem; font-weight: 500; }
.sticky-cta .btn { flex-shrink: 0; }

/* ── Gradient Text ────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #D4A843, #E05C1A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Homepage Hero ────────────────────────────────────────── */
.hp-hero {
  background: linear-gradient(145deg, #061829 0%, #0B2D5E 45%, #1557a0 75%, #1a6cc0 100%);
  color: #fff;
  padding: 5rem 1rem 0;
  position: relative;
  overflow: hidden;
}
.hp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 40m-20 0a20 20 0 1 0 40 0a20 20 0 1 0-40 0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hp-hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hp-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  padding-bottom: 4rem;
}
.hp-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(212,168,67,.15);
  border: 1px solid rgba(212,168,67,.3);
  color: var(--gold);
  font-size: .8125rem; font-weight: 700;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.hp-hero__h1 {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.hp-hero__sub {
  font-size: 1.0625rem; opacity: .88;
  max-width: 600px; line-height: 1.7;
  margin-bottom: 2rem; font-weight: 400;
}
.hp-hero__ctas {
  display: flex; flex-wrap: wrap;
  gap: .875rem; margin-bottom: 2.5rem;
}
.hp-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem; margin-top: 2.5rem;
}
.hp-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1rem; text-align: center;
  backdrop-filter: blur(4px);
}
.hp-stat__val {
  display: block; font-size: 2rem; font-weight: 800;
  color: var(--gold); line-height: 1; letter-spacing: -.04em;
}
.hp-stat__label {
  display: block; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .08em;
  opacity: .75; margin-top: .35rem;
}

/* ── Filter Bar ───────────────────────────────────────────── */
.filter-bar {
  background: #fff;
  border-bottom: 2px solid var(--border);
  padding: 0 1rem;
  position: sticky; top: 64px; z-index: 50;
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; gap: 0;
}
.filter-tab {
  padding: 1rem 1.25rem;
  font-size: .875rem; font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  cursor: pointer; transition: all .15s;
  flex-shrink: 0;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--font);
}
.filter-tab:hover { color: var(--navy); }
.filter-tab.active { color: var(--coral); border-bottom-color: var(--coral); }
.filter-tab:focus { outline: 2px solid var(--coral); outline-offset: -2px; }

/* ── Card hidden/visible for filter ──────────────────────── */
.cc-card.hidden { display: none; }

/* ── Community Card v2 grid (homepage) ───────────────────── */
.cc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ── Community Card v2 ────────────────────────────────────── */
.cc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.cc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.cc-card__header {
  height: 120px; display: flex;
  align-items: flex-end; padding: 1rem;
  position: relative; overflow: hidden;
}
.cc-card__header--gold {
  background: linear-gradient(135deg, #8B4513 0%, #D4A843 60%, #E05C1A 100%);
}
.cc-card__header--navy {
  background: linear-gradient(135deg, #0B2D5E 0%, #1557a0 60%, #1e83c9 100%);
}
.cc-card__header--green {
  background: linear-gradient(135deg, #1B8348 0%, #0D7A8A 100%);
}
.cc-card__header--teal {
  background: linear-gradient(135deg, #0D7A8A 0%, #1557a0 100%);
}
.cc-card__header--purple {
  background: linear-gradient(135deg, #5B21B6 0%, #1557a0 100%);
}
.cc-card__price-badge {
  background: rgba(255,255,255,.95);
  color: #0B2D5E;
  font-weight: 800; font-size: .8rem;
  padding: .25rem .75rem;
  border-radius: 999px;
}
.cc-card__body {
  padding: 1.25rem; flex: 1;
}
.cc-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: .375rem;
}
.cc-card__desc {
  font-size: .875rem; color: var(--text-muted);
  line-height: 1.65; margin-bottom: .875rem;
}
.cc-card__chips {
  display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem;
}
.cc-chip {
  font-size: .72rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 999px;
  background: var(--bg); color: var(--text-muted);
  border: 1px solid var(--border);
}
.cc-card__footer {
  padding: .875rem 1.25rem 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .625rem;
  border-top: 1px solid var(--border);
}
.cc-card__footer--single {
  grid-template-columns: 1fr;
}
.btn--browse {
  background: var(--coral); color: #fff;
  border: 2px solid var(--coral);
  font-size: .82rem; padding: .55rem .875rem;
  border-radius: var(--radius-sm); font-weight: 700;
  text-decoration: none; display: flex;
  align-items: center; justify-content: center;
  gap: .375rem; transition: all .2s;
  cursor: pointer; font-family: var(--font);
}
.btn--browse:hover {
  background: var(--coral-dark); border-color: var(--coral-dark);
  color: #fff; text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224,92,26,.35);
}
.btn--guide-link {
  background: var(--navy-light); color: var(--navy);
  border: 1.5px solid var(--navy-light);
  font-size: .82rem; padding: .55rem .875rem;
  border-radius: var(--radius-sm); font-weight: 600;
  text-decoration: none; display: flex;
  align-items: center; justify-content: center;
  transition: all .2s; font-family: var(--font);
}
.btn--guide-link:hover {
  background: var(--navy); color: #fff; text-decoration: none;
}

/* ── Need Cards ───────────────────────────────────────────── */
.need-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.need-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  gap: .75rem; transition: all .2s;
  cursor: default;
}
.need-card:hover {
  border-color: var(--coral);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.need-card__icon { font-size: 2rem; line-height: 1; }
.need-card__label { font-weight: 700; font-size: 1rem; color: var(--text); }
.need-card__sub {
  font-size: .875rem; color: var(--text-muted);
  line-height: 1.6; flex: 1;
}
.need-card__btns {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .25rem;
}
.need-card__btns .nb {
  display: inline-flex; align-items: center;
  font-size: .8rem; font-weight: 700;
  padding: .45rem 1rem; border-radius: 999px;
  background: var(--coral); color: #fff;
  text-decoration: none; transition: background .15s;
}
.need-card__btns .nb:hover {
  background: var(--coral-dark); color: #fff; text-decoration: none;
}
.need-card__btns .ng {
  display: inline-flex; align-items: center;
  font-size: .8rem; font-weight: 600;
  padding: .45rem 1rem; border-radius: 999px;
  background: var(--navy-light); color: var(--navy);
  text-decoration: none; transition: all .15s;
}
.need-card__btns .ng:hover {
  background: var(--navy); color: #fff; text-decoration: none;
}

/* Legacy need-card aliases (old homepage) */
.need-card__cta { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; }
.need-card__cta a {
  font-size: .8rem; font-weight: 700;
  padding: .4rem .875rem; border-radius: 999px;
  text-decoration: none; transition: all .15s;
}
.need-card__cta .nb { background: var(--coral); color: #fff; }
.need-card__cta .nb:hover { background: var(--coral-dark); color: #fff; text-decoration: none; }
.need-card__cta .ng { background: var(--navy-light); color: var(--navy); }
.need-card__cta .ng:hover { background: var(--navy); color: #fff; text-decoration: none; }

/* ── Guides List ──────────────────────────────────────────── */
.guides-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .625rem;
}
.guide-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .875rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text); font-weight: 500; font-size: .9rem;
  text-decoration: none; transition: all .2s;
}
.guide-link:hover {
  border-color: var(--coral);
  background: var(--coral-light);
  color: var(--navy);
  transform: translateX(3px);
  text-decoration: none;
}
.guide-link__arrow {
  margin-left: auto; color: var(--text-muted); font-size: .85rem;
}

/* ── Section Headers (sh) ─────────────────────────────────── */
.sh { margin-bottom: 2rem; }
.sh__pill {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .3rem 1rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .75rem;
}
.sh__pill--orange { background: var(--coral-light); color: var(--coral-dark); }
.sh__pill--blue   { background: var(--navy-light);  color: var(--navy); }
.sh__pill--green  { background: var(--green-light); color: var(--green); }
.sh h2 {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800;
  color: var(--text); margin-bottom: .5rem; line-height: 1.2;
}
.sh p { color: var(--text-muted); font-size: 1rem; max-width: 620px; }

/* ── About Strip (dark) ───────────────────────────────────── */
.about-strip {
  background: var(--navy);
  padding: 3.5rem 1rem;
  color: #fff;
}
.about-strip__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; align-items: center;
}
.about-photo-wrap {
  position: relative; width: fit-content; margin: 0 auto;
}
.about-photo {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(212,168,67,.15);
}
.about-badge {
  position: absolute; bottom: -4px; right: -8px;
  background: var(--coral); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .2rem .6rem; border-radius: 999px; white-space: nowrap;
}
.about-text__name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: .25rem;
}
.about-text__title {
  font-size: .875rem; color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}
.about-text p {
  font-size: .9375rem; color: rgba(255,255,255,.8);
  line-height: 1.75; max-width: 640px; margin-bottom: 1.25rem;
}
.about-text__btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Legacy about-strip aliases */
.about-strip__photo {
  width: 90px; height: 90px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 3px solid var(--coral); flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(224,92,26,.25);
}
.about-strip__name {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: .25rem;
}
.about-strip__title { font-size: .875rem; opacity: .8; margin-bottom: .625rem; }
.about-strip p { font-size: .9375rem; opacity: .85; max-width: 620px; line-height: 1.7; }

/* ── PDF Download Button ──────────────────────────────────── */
.btn--pdf {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.25rem;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; border-radius: 999px;
  font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  font-family: var(--font);
}
.btn--pdf:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
  color: #fff; text-decoration: none;
}
.btn--pdf.loading { opacity: .6; pointer-events: none; }

/* ── Lead Form Upgrade (lf-section) ──────────────────────── */
.lf-section {
  background: var(--bg);
  padding: 4rem 1rem;
  border-top: 4px solid var(--coral);
}
.lf-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem 2rem;
  max-width: 720px; margin: 0 auto;
  border: 1px solid var(--border);
}
.lf-card__h {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800;
  color: var(--navy); margin-bottom: .375rem;
}
.lf-card__sub {
  font-size: .9375rem; color: var(--text-muted); margin-bottom: 2rem;
}
.lf-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem; margin-bottom: 1rem;
}
.lf-field label {
  display: block; font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-muted); margin-bottom: .4rem;
}
.lf-field input, .lf-field select {
  display: block; width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9375rem; font-family: var(--font);
  color: var(--text); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.lf-field input:focus, .lf-field select:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 4px rgba(21,87,160,.1);
}
.lf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.lf-submit .btn { width: 100%; border-radius: var(--radius-sm); font-size: 1.0625rem; padding: 1rem; }
.lf-privacy {
  font-size: .8125rem; color: var(--text-muted);
  text-align: center; margin-top: .75rem;
}

/* Legacy lf aliases */
.lf-wrap { background: var(--bg); padding: 3rem 1rem; border-top: 4px solid var(--coral); }
.lf-wrap .lf-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2rem 1.75rem; }
.lf-wrap .lf-card h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); margin-bottom: .375rem; }
.lf-wrap .lf-card .sub { font-size: .9375rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.lf-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
.lf-submit { margin-top: 1.25rem; }
.lf-submit .btn { width: 100%; border-radius: var(--radius-sm); font-size: 1rem; padding: .875rem; }

/* ── Quick Nav ────────────────────────────────────────────── */
.quick-nav {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; gap: .375rem; padding: .75rem 1rem;
}
.quick-nav a {
  display: inline-flex; align-items: center;
  padding: .45rem 1.125rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 600;
  color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.15);
  transition: all .15s; text-decoration: none; flex-shrink: 0;
}
.quick-nav a:hover, .quick-nav a:focus {
  background: var(--coral); border-color: var(--coral);
  color: #fff; text-decoration: none;
}

/* ── Animated counter ─────────────────────────────────────── */
.count-up { display: inline-block; }

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── Legacy homepage card classes ────────────────────────── */
.c-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.c-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.c-card__top { height: 6px; background: linear-gradient(90deg, var(--coral), var(--gold)); }
.c-card__top--blue { background: linear-gradient(90deg, var(--navy-mid), var(--navy)); }
.c-card__top--green { background: linear-gradient(90deg, var(--green), var(--teal)); }
.c-card__body { padding: 1.375rem; flex: 1; }
.c-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: .25rem; line-height: 1.2;
}
.c-card__price {
  display: inline-block;
  background: var(--green-light); color: var(--green);
  font-size: .75rem; font-weight: 700;
  padding: .15rem .625rem; border-radius: 999px; margin-bottom: .625rem;
}
.c-card__desc { font-size: .9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .875rem; }
.c-card__chips { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: 1rem; }
.c-chip { font-size: .75rem; font-weight: 600; padding: .2rem .625rem; border-radius: 999px; background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.c-card__actions {
  padding: 1rem 1.375rem;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: .625rem;
}
.c-card__actions .btn { font-size: .82rem; padding: .55rem .75rem; border-radius: var(--radius-sm); text-align: center; }
.c-card__actions .btn--browse { background: var(--coral); color: #fff; border-color: var(--coral); }
.c-card__actions .btn--browse:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; text-decoration: none; }
.c-card__actions .btn--guide { background: var(--navy-light); color: var(--navy); border: 1.5px solid var(--navy-light); }
.c-card__actions .btn--guide:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }
.c-card__actions--single { grid-template-columns: 1fr; }

/* Legacy sec-header aliases */
.sec-header { margin-bottom: 1.75rem; }
.sec-header__pill {
  display: inline-block; padding: .25rem .875rem;
  border-radius: 999px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .625rem;
}
.pill--orange { background: var(--coral-light); color: var(--coral-dark); }
.pill--blue   { background: var(--navy-light);  color: var(--navy); }
.pill--green  { background: var(--green-light); color: var(--green); }
.sec-header h2 { margin-bottom: .5rem; }
.sec-header p  { color: var(--text-muted); font-size: .9375rem; max-width: 680px; }

/* ── Responsive — Tablet ──────────────────────────────────── */
@media (min-width: 560px) {
  .lf-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
  .stat-bar__list { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar__inner { flex-direction: row; text-align: left; align-items: center; }
  .trust-bar__contact { justify-content: flex-start; }
  .cta-banner { flex-direction: row; align-items: center; }
  .cc-grid { grid-template-columns: 1fr 1fr; }
  .need-grid { grid-template-columns: 1fr 1fr; }
  .guides-list { grid-template-columns: 1fr 1fr; }
  .hp-hero__stats { grid-template-columns: repeat(4, 1fr); }
  .lf-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .about-strip__inner { grid-template-columns: auto 1fr; gap: 3rem; }
  .about-photo-wrap { margin: 0; }
}

/* ── Responsive — Desktop ─────────────────────────────────── */
@media (min-width: 1024px) {
  .hero { padding: 4.5rem 1rem 0; }
  .hero__headline { font-size: 2.75rem; }
  .hero__subheadline { font-size: 1.25rem; }
  h2 { font-size: 2rem; }
  .sh h2 { font-size: 2.25rem; }
  .section { padding: 4.5rem 1rem; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .cc-grid { grid-template-columns: repeat(3, 1fr); }
  .need-grid { grid-template-columns: repeat(3, 1fr); }
  .guides-list { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }
  .hp-hero__h1 { font-size: 3.75rem; }
}

/* ── Floating Call Button ─────────────────────────────────── */
.float-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, #1B8348, #0D7A8A);
  color: #fff;
  padding: .75rem 1.25rem .75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(27,131,72,.45), 0 2px 8px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
  animation: float-pulse 3s ease-in-out infinite;
}
.float-call:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 28px rgba(27,131,72,.55);
  color: #fff;
  text-decoration: none;
}
.float-call__icon { font-size: 1.1rem; }
.float-call__label { white-space: nowrap; }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(27,131,72,.45), 0 0 0 0 rgba(27,131,72,.4); }
  50%       { box-shadow: 0 4px 20px rgba(27,131,72,.45), 0 0 0 10px rgba(27,131,72,.0); }
}
@media (min-width: 1024px) {
  .float-call { bottom: 2rem; right: 2rem; }
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials { background: var(--navy, #0B2D5E); padding: 4rem 1rem; }
.testimonials__inner { max-width: var(--max-w); margin: 0 auto; }
.testimonials .sh h2 { color: #fff; }
.testimonials .sh p { color: rgba(255,255,255,.7); }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 640px)  { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .testi-grid { grid-template-columns: repeat(4, 1fr); } }
.testi-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg, 20px);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.testi-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}
.testi-card__stars { color: #D4A843; font-size: 1rem; letter-spacing: .05em; margin-bottom: .75rem; }
.testi-card__quote {
  font-size: .9125rem;
  color: rgba(255,255,255,.88);
  line-height: 1.75;
  margin-bottom: 1.125rem;
  font-style: italic;
}
.testi-card__quote::before { content: '\201C'; }
.testi-card__quote::after  { content: '\201D'; }
.testi-card__author { font-size: .8125rem; font-weight: 700; color: #D4A843; }
.testi-card__detail { font-size: .775rem; color: rgba(255,255,255,.5); margin-top: .15rem; }

/* ── Fred Chatbot ─────────────────────────────────────────── */

/* Launcher button — fixed bottom-right */
#fred-launcher {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, #0B2D5E 0%, #1557a0 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .7rem 1.2rem .7rem .85rem;
  font-size: .9rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(11,45,94,.45);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
#fred-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(11,45,94,.55);
}
#fred-launcher .fl-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  flex-shrink: 0;
}
#fred-launcher .fl-icon { font-size: 1.15rem; line-height: 1; }
#fred-launcher .fl-text { line-height: 1.1; }
#fred-launcher .fl-text span { display: block; font-size: .68rem; font-weight: 500; opacity: .8; }

/* Corner widget — anchored bottom-right above launcher, hidden by default */
#fred-overlay {
  position: fixed;
  bottom: 5.25rem;
  right: 1.5rem;
  z-index: 9999;
  width: 360px;
  max-width: calc(100vw - 2rem);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
}
#fred-overlay.fred-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* Chat window */
#fred-window {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  height: 510px;
  max-height: calc(100vh - 6.5rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(11,45,94,.28);
  border: 1px solid rgba(11,45,94,.12);
}

/* Header */
#fred-window .fw-header {
  background: linear-gradient(135deg, #0B2D5E 0%, #1557a0 100%);
  padding: .875rem 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
#fred-window .fw-avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3);
}
#fred-window .fw-info { flex: 1; }
#fred-window .fw-name { color: #fff; font-weight: 700; font-size: .9375rem; }
#fred-window .fw-status {
  color: rgba(255,255,255,.75); font-size: .7rem;
  display: flex; align-items: center; gap: .3rem; margin-top: .1rem;
}
#fred-window .fw-status-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; }
#fred-window .fw-close {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
#fred-window .fw-close:hover { background: rgba(255,255,255,.3); }

/* Messages */
#fred-window .fw-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  scroll-behavior: smooth;
}
#fred-window .fw-msg {
  max-width: 87%;
  padding: .55rem .85rem;
  border-radius: 15px;
  font-size: .875rem;
  line-height: 1.55;
  word-wrap: break-word;
}
#fred-window .fw-msg--bot {
  background: #f1f5f9;
  color: #1e293b;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}
#fred-window .fw-msg--bot a { color: #1557a0; font-weight: 600; }
#fred-window .fw-msg--bot strong { color: #0B2D5E; }
#fred-window .fw-msg--user {
  background: linear-gradient(135deg, #0B2D5E, #1557a0);
  color: #fff;
  border-bottom-right-radius: 3px;
  align-self: flex-end;
}
#fred-window .fw-typing {
  display: flex; gap: 4px; align-items: center;
  padding: .55rem .85rem;
  background: #f1f5f9;
  border-radius: 15px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}
#fred-window .fw-typing span {
  width: 7px; height: 7px;
  background: #94a3b8; border-radius: 50%;
  animation: fw-bounce 1.2s ease-in-out infinite;
}
#fred-window .fw-typing span:nth-child(2) { animation-delay: .2s; }
#fred-window .fw-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes fw-bounce {
  0%,60%,100% { transform: translateY(0); }
  30%          { transform: translateY(-6px); }
}

/* Quick replies */
#fred-window .fw-replies {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .5rem 1rem;
  flex-shrink: 0;
}
#fred-window .fw-qr {
  background: #fff;
  border: 1.5px solid #0B2D5E;
  color: #0B2D5E;
  border-radius: 999px;
  padding: .325rem .8rem;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: background .15s, color .15s;
}
#fred-window .fw-qr:hover { background: #0B2D5E; color: #fff; }

/* Input bar */
#fred-window .fw-input-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}
#fred-window .fw-input {
  flex: 1;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  padding: .45rem .875rem;
  font-size: .875rem;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color .2s;
}
#fred-window .fw-input:focus { border-color: #0B2D5E; }
#fred-window .fw-send {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #0B2D5E, #1557a0);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  transition: transform .15s;
}
#fred-window .fw-send:hover { transform: scale(1.1); }
#fred-window .fw-powered {
  text-align: center;
  font-size: .65rem;
  color: #94a3b8;
  padding: .15rem 0 .45rem;
}

/* Guide download card */
.fw-guide-card {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #f8faff;
  border: 1.5px solid #dbeafe;
  border-radius: 10px;
  padding: .625rem .875rem;
  text-decoration: none;
  cursor: pointer;
  margin-top: .375rem;
  transition: background .15s;
}
.fw-guide-card:hover { background: #dbeafe; }
.fw-guide-card--inline { align-self: flex-start; }
.fw-guide-icon { font-size: 1.3rem; flex-shrink: 0; }
.fw-guide-info { flex: 1; min-width: 0; }
.fw-guide-name {
  display: block;
  font-size: .825rem;
  font-weight: 700;
  color: #0B2D5E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fw-guide-sub { display: block; font-size: .7rem; color: #64748b; }
.fw-guide-dl { font-size: .75rem; font-weight: 700; color: #1557a0; white-space: nowrap; flex-shrink: 0; }
.fw-guide-list-msg {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  align-self: flex-start;
  max-width: 97%;
  padding: 0;
  background: transparent;
}

/* Lead capture card */
.fw-capture-msg {
  background: #f8faff;
  border: 1.5px solid #dbeafe;
  border-radius: 15px;
  padding: 1rem;
  align-self: flex-start;
  max-width: 97%;
}
.fw-cap-header { font-weight: 800; color: #0B2D5E; font-size: .9rem; margin-bottom: .3rem; }
.fw-cap-sub { font-size: .8rem; color: #475569; margin-bottom: .75rem; line-height: 1.45; }
.fw-cap-fields { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .625rem; }
.fw-cap-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: .45rem .75rem;
  font-size: .85rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .2s;
}
.fw-cap-input:focus { border-color: #1557a0; }
.fw-cap-btn {
  width: 100%;
  background: linear-gradient(135deg, #0B2D5E, #1557a0);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .55rem;
  font-size: .875rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}
.fw-cap-btn:disabled { opacity: .55; cursor: not-allowed; }
.fw-cap-error { color: #ef4444; font-size: .78rem; margin-top: .35rem; }
.fw-cap-success { color: #166534; font-size: .875rem; font-weight: 600; }

@media (max-width: 480px) {
  #fred-overlay { right: .75rem; width: calc(100vw - 1.5rem); }
  #fred-launcher { right: .75rem; bottom: 1rem; }
}

/* ── Mobile Sticky CTA Bar ────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #fff;
  border-top: 2px solid var(--navy);
  box-shadow: 0 -2px 12px rgba(0,0,0,.15);
  padding: .625rem 1rem;
  gap: .625rem;
}
.mobile-cta-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem .5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.mobile-cta-bar__btn--call {
  background: var(--green);
  color: #fff;
}
.mobile-cta-bar__btn--chat {
  background: var(--navy);
  color: #fff;
}
@media (max-width: 767px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .site-nav, .sticky-cta, .lead-form-section, .lf-section, .lf-wrap,
  .float-call, .quick-nav, .filter-bar, .about-strip, .mobile-cta-bar,
  .testimonials, .guides-list-section { display: none; }
  body { font-size: 12pt; color: #000; padding-bottom: 0; }
  .hero, .hp-hero { background: #0B2D5E !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cc-card, .community-card { break-inside: avoid; }
  a[href]::after { content: none; }
}

/* ── Global Site Nav Bar (gnav) ──────────────────────────── */
.gnav {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: sticky;
  top: 0;
  z-index: 800;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gnav::-webkit-scrollbar { display: none; }
.gnav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: max-content;
}
.gnav__list a {
  display: block;
  padding: .55rem 1rem;
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.gnav__list a:hover,
.gnav__list a[aria-current="page"] {
  color: var(--gold);
  background: rgba(255,255,255,.06);
}
.gnav__list li + li { border-left: 1px solid rgba(255,255,255,.08); }
@media (max-width: 767px) {
  .gnav__list a { padding: .5rem .75rem; font-size: .72rem; }
}
