/* /Components/GeorgiaHome.razor.rz.scp.css */
/* Scoped to GeorgiaHome only (Blazor CSS isolation). :root/html/body-level
   rules are merged onto .ga-root since isolation can't reach real root/body
   elements. */
.ga-root[b-jb879nqm85] {
    display: block;
    --navy: #0b1f3a;
    --navy-deep: #071527;
    --navy-soft: #16305a;
    --blue: #2f6fed;
    --blue-dark: #1d4ed8;
    --teal: #14b8a6;
    --teal-dark: #0f766e;
    --gold: #f2b84b;
    --gold-deep: #b76e00;
    --canvas: #f6f7fb;
    --cool-surface: #ffffff;
    --white: #ffffff;
    --ink: #16202c;
    --slate: #57657a;
    --border: #e3e7ee;
    --shadow-sm: 0 6px 16px rgba(16, 32, 58, .08);
    --shadow-md: 0 18px 40px rgba(16, 32, 58, .12);
    --shadow-lg: 0 28px 70px rgba(11, 31, 58, .22);
    --radius-lg: 20px;
    --radius-md: 14px;

    color-scheme: light;
    scroll-behavior: smooth;
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--canvas);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

.ga-root *[b-jb879nqm85] { box-sizing: border-box; }
.ga-root a[b-jb879nqm85] { color: inherit; }
.ga-root button[b-jb879nqm85], .ga-root input[b-jb879nqm85] { font: inherit; }

/* ---------- Header ---------- */
.ga-root .site-header[b-jb879nqm85] { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(16, 42, 67, .04); }
.ga-root .topbar[b-jb879nqm85] { display: flex; width: min(1280px, calc(100% - clamp(24px, 5vw, 64px))); min-height: 68px; margin: 0 auto; align-items: center; justify-content: space-between; gap: clamp(16px, 2.5vw, 28px); }
.ga-root .brand[b-jb879nqm85] { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.ga-root .brand-mark[b-jb879nqm85] {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50% 50% 50% 8px;
    color: white;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    flex: none;
}
.ga-root .brand-mark svg[b-jb879nqm85] { width: 20px; height: 20px; }
.ga-root .brand-copy[b-jb879nqm85] { display: grid; line-height: 1.05; }
.ga-root .ga-brand-name[b-jb879nqm85] { color: var(--navy); font-size: 1.0625rem; font-weight: 800; letter-spacing: -.02em; }
.ga-root .brand-endorsement[b-jb879nqm85] { margin-top: 3px; color: var(--slate); font-size: .6875rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.ga-root .main-nav[b-jb879nqm85] { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); margin-left: auto; }
.ga-root .main-nav a[b-jb879nqm85] { color: var(--navy); text-decoration: none; font-size: .875rem; font-weight: 700; }
.ga-root .main-nav a:hover[b-jb879nqm85] { color: var(--blue); }
.ga-root .header-cta[b-jb879nqm85] { padding: 9px 15px; border-radius: 10px; color: white !important; background: var(--blue); }
.ga-root .header-cta:hover[b-jb879nqm85] { background: var(--blue-dark); }

/* ---------- Shared section scaffolding ---------- */
.ga-root main[b-jb879nqm85] { display: block; }
.ga-root .section-heading[b-jb879nqm85] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; width: min(1280px, calc(100% - clamp(24px, 5vw, 64px))); margin: 0 auto 22px; }
.ga-root .section-heading h2[b-jb879nqm85] { margin: 6px 0 0; color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.ga-root .eyebrow[b-jb879nqm85] { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #7fe0d3; font-weight: 700; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; }
.ga-root .eyebrow[b-jb879nqm85]::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--gold); }
.ga-root .eyebrow-dark[b-jb879nqm85] { color: var(--teal-dark); }
.ga-root .eyebrow-dark[b-jb879nqm85]::before { background: var(--gold-deep); }
.ga-root .text-link[b-jb879nqm85] { color: var(--blue); font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ga-root .text-link:hover[b-jb879nqm85] { text-decoration: underline; text-underline-offset: 3px; }
.ga-root .sr-only[b-jb879nqm85] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.ga-root .ga-hero[b-jb879nqm85] {
    position: relative;
    overflow: clip;
    padding: clamp(48px, 9vw, 96px) 0 clamp(56px, 8vw, 88px);
    background: radial-gradient(120% 140% at 15% -10%, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.ga-root .hero-glow[b-jb879nqm85] {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 480px;
    background:
        radial-gradient(38% 60% at 20% 20%, rgba(20, 184, 166, .35), transparent 70%),
        radial-gradient(30% 55% at 85% 10%, rgba(242, 184, 75, .22), transparent 70%),
        radial-gradient(45% 70% at 60% 60%, rgba(47, 111, 237, .28), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}
.ga-root .hero-inner[b-jb879nqm85] {
    position: relative;
    z-index: 1;
    width: min(880px, calc(100% - clamp(24px, 5vw, 64px)));
    margin: 0 auto;
    text-align: center;
}
.ga-root .ga-hero h1[b-jb879nqm85] { margin: 14px 0 0; color: white; font-size: clamp(2.35rem, 5.4vw, 3.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.ga-root .ga-hero h1:focus[b-jb879nqm85], .ga-root .ga-hero h1:focus-visible[b-jb879nqm85] { outline: 0; }
.ga-root .ga-hero h1 span[b-jb879nqm85] { background: linear-gradient(90deg, #7fe0d3, #f2b84b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ga-root .lede[b-jb879nqm85] { max-width: 42rem; margin: 18px auto 32px; color: #d3dcea; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.65; text-wrap: pretty; }

.ga-root .search-wrap[b-jb879nqm85] { position: relative; max-width: 560px; margin: 0 auto; text-align: left; }
.ga-root .search-wrap svg[b-jb879nqm85] { position: absolute; left: 18px; top: 50%; width: 20px; transform: translateY(-50%); color: var(--slate); pointer-events: none; }
.ga-root #county-search[b-jb879nqm85] {
    width: 100%;
    min-height: 60px;
    padding: 0 50px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    outline: none;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow-lg);
    transition: box-shadow .18s, transform .18s;
    font-size: 1rem;
}
.ga-root #county-search:focus[b-jb879nqm85] { box-shadow: 0 0 0 4px rgba(47, 111, 237, .3), var(--shadow-lg); }
.ga-root #clear-search[b-jb879nqm85] {
    position: absolute;
    right: 8px;
    top: 8px;
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: var(--slate);
    background: transparent;
    cursor: pointer;
}
.ga-root #clear-search:hover[b-jb879nqm85] { color: var(--ink); background: var(--cool-surface); }
.ga-root .search-results[b-jb879nqm85] {
    position: absolute;
    z-index: 20;
    top: calc(100% + 10px);
    width: 100%;
    max-height: 300px;
    overflow: auto;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-lg);
}
.ga-root .search-result[b-jb879nqm85] {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: .9375rem;
    font-weight: 700;
    color: var(--ink);
}
.ga-root .search-result:hover[b-jb879nqm85], .ga-root .search-result:focus[b-jb879nqm85] { color: var(--blue-dark); background: #eef3ff; outline: none; }
.ga-root .search-result small[b-jb879nqm85] { color: var(--slate); font-weight: 600; }
.ga-root .empty-result[b-jb879nqm85] { padding: 16px 14px; color: var(--slate); }

.ga-root .quick-picks[b-jb879nqm85] { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 22px auto 0; max-width: 640px; }
.ga-root .quick-picks-label[b-jb879nqm85] { color: #a9b8cf; font-size: .8125rem; font-weight: 700; }
.ga-root .chip[b-jb879nqm85] {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #eaf1fb;
    background: rgba(255, 255, 255, .07);
    text-decoration: none;
    font-size: .8438rem;
    font-weight: 700;
    transition: background-color .15s, border-color .15s, transform .15s;
}
.ga-root .chip:hover[b-jb879nqm85] { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }

.ga-root .stat-row[b-jb879nqm85] { display: flex; justify-content: center; gap: clamp(10px, 3vw, 28px); margin-top: 40px; }
.ga-root .stat[b-jb879nqm85] { display: grid; justify-items: center; gap: 2px; }
.ga-root .stat strong[b-jb879nqm85] { color: white; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; }
.ga-root .stat span[b-jb879nqm85] { color: #a9b8cf; font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Map section ---------- */
.ga-root .map-section[b-jb879nqm85] { padding: clamp(40px, 6vw, 64px) 0 0; }
.ga-root .map-card[b-jb879nqm85] {
    position: relative;
    width: min(1280px, calc(100% - clamp(24px, 5vw, 64px)));
    margin: 0 auto;
    padding: clamp(12px, 1.6vw, 20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--cool-surface);
    box-shadow: var(--shadow-md);
}
.ga-root .map-head[b-jb879nqm85] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 14px; }
.ga-root .active-county[b-jb879nqm85] {
    display: flex;
    min-width: 190px;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--canvas);
}
.ga-root .active-county-icon[b-jb879nqm85] { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 9px; color: white; background: var(--teal-dark); }
.ga-root .active-county-icon svg[b-jb879nqm85] { width: 17px; height: 17px; }
.ga-root .active-county-copy[b-jb879nqm85] { display: grid; line-height: 1.25; }
.ga-root .active-county-copy small[b-jb879nqm85] { color: var(--slate); font-size: .75rem; font-weight: 600; }
.ga-root .active-county-copy strong[b-jb879nqm85] { color: var(--navy); font-size: .9375rem; font-weight: 700; }
.ga-root .zoom-controls[b-jb879nqm85] { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--canvas); }
.ga-root .zoom-controls button[b-jb879nqm85] {
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    color: var(--navy);
    background: transparent;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color .15s;
}
.ga-root .zoom-controls button#zoom-reset[b-jb879nqm85] { font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.ga-root .zoom-controls button:hover[b-jb879nqm85] { background: white; box-shadow: var(--shadow-sm); }

.ga-root .map-viewport[b-jb879nqm85] {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #eef3fb, #e6ecf6);
    touch-action: none;
    cursor: grab;
}
.ga-root .map-viewport.is-panning[b-jb879nqm85] { cursor: grabbing; }
.ga-root #georgia-map-svg[b-jb879nqm85] { display: block; width: 100%; height: auto; aspect-ratio: 900 / 860; }
.ga-root .map-hint[b-jb879nqm85] { position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 6px 12px; border-radius: 999px; color: var(--slate); background: rgba(255, 255, 255, .85); font-size: .75rem; font-weight: 600; pointer-events: none; }
.ga-root .county[b-jb879nqm85] {
    fill: #bcd3ea;
    stroke: #fff;
    stroke-width: 1.6;
    vector-effect: non-scaling-stroke;
    cursor: pointer;
    transition: fill .14s, filter .14s;
}
.ga-root .county-link:nth-of-type(3n) .county[b-jb879nqm85] { fill: #a9c6dd; }
.ga-root .county-link:nth-of-type(4n) .county[b-jb879nqm85] { fill: #cddced; }
.ga-root .county.is-featured[b-jb879nqm85] { fill: var(--gold); filter: drop-shadow(0 2px 3px rgba(148, 92, 0, .32)); }
.ga-root .county-link:hover .county[b-jb879nqm85], .ga-root .county-link:focus .county[b-jb879nqm85], .ga-root .county:focus[b-jb879nqm85] { fill: var(--teal-dark); filter: drop-shadow(0 5px 8px rgba(15, 118, 110, .32)); outline: none; }
.ga-root .county-link.is-match .county[b-jb879nqm85] { fill: var(--blue); filter: drop-shadow(0 5px 8px rgba(47, 111, 237, .3)); }
.ga-root .tooltip[b-jb879nqm85] {
    position: fixed;
    z-index: 50;
    display: none;
    min-width: 180px;
    padding: 11px 13px;
    border-radius: 12px;
    color: white;
    background: var(--navy);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
}
.ga-root .tooltip strong[b-jb879nqm85] { display: block; font-size: .9375rem; line-height: 1.35; }
.ga-root .tooltip span[b-jb879nqm85] { color: #d5e0e9; font-size: .8125rem; }

/* ---------- Directory ---------- */
.ga-root .directory-section[b-jb879nqm85] { padding: clamp(48px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.ga-root .directory-count[b-jb879nqm85] { color: var(--teal-dark); font-size: .875rem; font-weight: 700; white-space: nowrap; }
.ga-root .letter-jump[b-jb879nqm85] {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    width: min(1280px, calc(100% - clamp(24px, 5vw, 64px)));
    margin: 0 auto 26px;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.ga-root .letter-jump a[b-jb879nqm85] {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--navy);
    background: white;
    text-decoration: none;
    font-size: .8125rem;
    font-weight: 700;
}
.ga-root .letter-jump a:hover[b-jb879nqm85] { border-color: var(--blue); color: var(--blue-dark); }
.ga-root #county-directory-list[b-jb879nqm85] { width: min(1280px, calc(100% - clamp(24px, 5vw, 64px))); margin: 0 auto; }
.ga-root .directory-group[b-jb879nqm85] { margin-bottom: 26px; scroll-margin-top: 84px; }
.ga-root .directory-letter[b-jb879nqm85] { position: sticky; top: 68px; z-index: 3; margin: 0 0 10px; padding: 4px 0; color: var(--slate); background: linear-gradient(180deg, var(--canvas) 70%, transparent); font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ga-root .county-directory[b-jb879nqm85] { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.ga-root .county-directory-link[b-jb879nqm85] {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr auto;
    min-height: 52px;
    align-items: baseline;
    gap: 5px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--navy);
    background: white;
    text-decoration: none;
    transition: border-color .15s, color .15s, background-color .15s, transform .15s, box-shadow .15s;
}
.ga-root .county-directory-link > span:first-child[b-jb879nqm85] { overflow: hidden; font-size: .9375rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ga-root .county-directory-link small[b-jb879nqm85] { color: var(--slate); font-size: .75rem; font-weight: 600; }
.ga-root .directory-arrow[b-jb879nqm85] { color: var(--blue); font-size: 1rem; font-weight: 700; }
.ga-root .county-directory-link:hover[b-jb879nqm85], .ga-root .county-directory-link:focus[b-jb879nqm85], .ga-root .county-directory-link.is-match[b-jb879nqm85] { border-color: var(--blue); color: var(--blue-dark); background: #f3f7ff; outline: none; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ga-root .county-directory-link[hidden][b-jb879nqm85] { display: none; }
.ga-root .directory-group[hidden][b-jb879nqm85] { display: none; }

.ga-root .footnote[b-jb879nqm85] { width: min(1280px, calc(100% - clamp(24px, 5vw, 64px))); margin: 8px auto 40px; color: var(--slate); font-size: .8125rem; line-height: 1.5; text-align: center; }
.ga-root .footnote a[b-jb879nqm85] { text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .ga-root .section-heading[b-jb879nqm85] { grid-template-columns: 1fr; }
    .ga-root .directory-letter[b-jb879nqm85] { top: 60px; }
}
@media (max-width: 760px) {
    .ga-root .topbar[b-jb879nqm85] { min-height: 60px; }
    .ga-root .main-nav a:not(.header-cta)[b-jb879nqm85] { display: none; }
    .ga-root .header-cta[b-jb879nqm85] { min-height: 40px; padding: 8px 12px; font-size: .8125rem !important; }
    .ga-root .ga-hero[b-jb879nqm85] { padding: 40px 0 48px; }
    .ga-root .ga-hero h1[b-jb879nqm85] { font-size: clamp(2rem, 9vw, 2.75rem); }
    .ga-root .lede[b-jb879nqm85] { margin-bottom: 26px; }
    .ga-root #county-search[b-jb879nqm85] { min-height: 54px; }
    .ga-root .quick-picks[b-jb879nqm85] { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; margin-top: 18px; }
    .ga-root .stat-row[b-jb879nqm85] { gap: 14px; }
    .ga-root .map-card[b-jb879nqm85] { padding: 8px; }
    .ga-root .map-head[b-jb879nqm85] { justify-content: center; }
    .ga-root .active-county[b-jb879nqm85] { flex: 1 1 100%; justify-content: center; }
    .ga-root .zoom-controls[b-jb879nqm85] { flex: 1 1 100%; justify-content: center; }
    .ga-root .county-directory[b-jb879nqm85] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ga-root .directory-letter[b-jb879nqm85] { top: 0; }
}
@media (max-width: 430px) {
    .ga-root .topbar[b-jb879nqm85] { width: min(100% - 20px, 1280px); }
    .ga-root .hero-inner[b-jb879nqm85], .ga-root .section-heading[b-jb879nqm85], .ga-root .letter-jump[b-jb879nqm85], .ga-root #county-directory-list[b-jb879nqm85], .ga-root .map-card[b-jb879nqm85], .ga-root .footnote[b-jb879nqm85] { width: min(100% - 20px, 1280px); }
    .ga-root .brand-mark[b-jb879nqm85] { width: 34px; height: 34px; }
    .ga-root .ga-brand-name[b-jb879nqm85] { font-size: .9375rem; }
    .ga-root .brand-endorsement[b-jb879nqm85] { font-size: .5938rem; }
    .ga-root .county-directory[b-jb879nqm85] { grid-template-columns: 1fr; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .ga-root .hero-inner[b-jb879nqm85], .ga-root .map-card[b-jb879nqm85], .ga-root .section-heading[b-jb879nqm85], .ga-root #county-directory-list[b-jb879nqm85] {
        animation: ga-fade-up-b-jb879nqm85 .6s ease both;
    }
    .ga-root .map-section .map-card[b-jb879nqm85] { animation-delay: .05s; }
    .ga-root .directory-section .section-heading[b-jb879nqm85] { animation-delay: .05s; }
}
@keyframes ga-fade-up-b-jb879nqm85 {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .ga-root *[b-jb879nqm85], .ga-root *[b-jb879nqm85]::before, .ga-root *[b-jb879nqm85]::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
