/* ============================================================
   Hope Health Network — Shared Design System
   ============================================================ */

/* --- Custom Properties --- */
:root {
    --navy: #1B2E4A;
    --navy-dark: #0D1E30;
    --sage: #3D7A6A;
    --sage-light: #569E8B;
    --sage-pale: #EAF3F0;
    --warm: #C9943E;
    --cream: #F9F9F6;
    --white: #FFFFFF;
    --text: #1C2B33;
    --text-secondary: #5D6E77;
    --text-light: #66757E;
    --border: #E4E8EA;
    --border-light: #F0F2F3;
    --text-muted: #5D6E77;
    --on-navy-muted: #B8C1CC;
    --on-navy-subtle: #8E9FB3;
    --focus-ring: #1B2E4A;
    --danger: #B42318;
    --accent-hma: #3D7A6A;
    --accent-hbm: #14A0A5;
    --accent-him: #6BADB0;
    --accent-ham: #4F7CAC;
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);

    /* Brand vars — overridden per-brand via inline style */
    --brand-primary: #14A0A5;
    --brand-navy: #1B2E4A;
    --brand-accent: #6BADB0;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

main p a,
main li a:not(.btn) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 200;
    padding: 12px 20px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

main:focus {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Layout --- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section--cream {
    background: var(--cream);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

/* --- Nav --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    transition: box-shadow var(--transition);
}

.nav--scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-bottom-color: transparent;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav__logo-img {
    height: 36px;
    width: auto;
}

.nav__wordmark-sub {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-light);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav__links li {
    flex-shrink: 0;
}

.nav__links a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    transition: color var(--transition);
}

.nav__links a:hover {
    color: var(--brand-primary-strong);
}

.nav__links a.nav__active {
    color: var(--brand-primary-strong);
    font-weight: 600;
}

.nav__cta {
    background: var(--brand-primary-strong);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all var(--transition);
}

.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
}

.nav__mobile span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--brand-primary-strong);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--white {
    background: var(--white);
    color: var(--navy);
}

.btn--dark {
    background: var(--navy);
    color: var(--white);
}

/* --- Hero --- */
.hero {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 88px 0 100px;
}

.hero--compact {
    padding: 56px 0 64px;
}

.hero--network {
    padding: 80px 0 96px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.03;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--warm);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warm);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero__logo-lockup {
    margin-bottom: 28px;
}

.hero__logo-lockup img {
    height: 52px;
    width: auto;
}

.hero__logo-sub {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--on-navy-muted);
    margin-top: 6px;
}

.hero__back {
    display: inline-block;
    font-size: 13px;
    color: var(--brand-accent);
    margin-bottom: 16px;
    transition: color var(--transition);
}

.hero__back:hover {
    color: var(--white);
}

.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 18px;
}

.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--warm);
}

.hero__sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Section Header --- */
.sh {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
}

.sh__label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-primary-strong);
    margin-bottom: 10px;
}

.sh h2,
.sh__title {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 12px;
}

.sh p {
    font-size: 16px;
    color: var(--text-secondary);
}

.sh.sh--light .sh__label { color: var(--on-navy-subtle); }
.sh.sh--light h2 { color: var(--white); }
.sh.sh--light p { color: var(--on-navy-muted); }

/* --- Card Grid --- */
.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.svc {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.svc:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.svc::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.svc:hover::after {
    transform: scaleX(1);
}

.svc h3 {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 10px;
}

.svc p {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.55;
}

.svc__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.svc__tag {
    font-size: 12px;
    color: var(--brand-primary-strong);
    background: var(--sage-pale);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 500;
}

.svc__link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-primary-strong);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.svc__link:hover {
    gap: 10px;
}

.svc__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-accent, var(--brand-primary));
}

/* Brand cards (HHN) */
.brand-card {
    --card-accent: var(--brand-primary);
}

.brand-card .svc__accent {
    transform: scaleX(1);
}

/* --- Community Cards --- */
.comm-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px 24px;
    transition: all var(--transition);
}

.comm-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.comm-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.comm-card p {
    font-size: 13px;
    color: var(--on-navy-muted);
    line-height: 1.5;
}

/* --- Trust Bar --- */
.trust {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 36px 0;
}

.trust .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust__item strong {
    color: var(--text);
}

/* --- Why Us / About --- */
.why-us {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.why-us__features {
    list-style: none;
}

.why-us__feature {
    margin-bottom: 20px;
}

.why-us__feature h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.why-us__feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.why-us__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.why-us__stat {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.why-us__stat-value {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--brand-primary-strong);
    margin-bottom: 4px;
}

.why-us__stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* --- Insurance --- */
.ins__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.ins__card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

.ins__group {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    margin: 0 0 14px;
}

.ins__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ins__list li {
    position: relative;
    padding: 8px 0 8px 30px;
    font-size: 15.5px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}

.ins__list li:last-child {
    border-bottom: 0;
}

.ins__list li::before {
    content: "\2713";
    position: absolute;
    left: 2px;
    top: 7px;
    font-weight: 700;
    color: var(--brand-primary-strong);
}

.ins__note {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin: 0 0 14px;
}

.ins__footnote {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 16px;
}

.ins__footnote {
    margin-top: 20px;
    font-size: 14px;
}

/* --- CTA Inset --- */
.cta-inset-wrap {
    padding: 0 0 72px;
}

.section--cream + .cta-inset-wrap,
.section + .cta-inset-wrap {
    padding-top: 0;
}

.cta-inset--inline {
    margin: 36px 0;
}

.blog-list__title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 20px;
}

.cta-inset {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: var(--sage-pale);
    border-left: 4px solid var(--brand-primary-strong);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

.cta-inset__title {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 4px;
}

.cta-inset__text {
    font-size: 15px;
    color: var(--text-secondary);
}

.cta-inset__button {
    flex-shrink: 0;
}

/* --- FAQ Accordion --- */
.faq__grid {
    max-width: 760px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.faq__item:first-child {
    border-top: 1px solid var(--border);
}

.faq__q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition);
}

.faq__q:hover {
    color: var(--brand-primary-strong);
}

.faq__q-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sage-pale);
    color: var(--brand-primary-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq__q-icon::before {
    content: '+';
}

.faq__item.open .faq__q-icon {
    transform: rotate(45deg);
}

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
}

.faq__item.open .faq__a {
    max-height: 200px;
    padding-top: 14px;
}

.faq__a p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq__a[hidden] {
    display: none;
}

.faq__heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

/* --- Location CTA --- */
.loc {
    background: var(--sage-pale);
    padding: 64px 0;
    text-align: center;
}

.loc h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 16px;
}

.loc p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.loc .btn-group {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

/* --- Location Map --- */
.loc-map {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    align-items: start;
}

.loc-map__frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
}

.loc-map__frame iframe {
    display: block;
    width: 100%;
    min-height: 380px;
    border: 0;
}

.loc-map__details {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.loc-map__address {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 10px;
}

.loc-map__line {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.loc-map__line a {
    color: var(--brand-primary-strong);
    font-weight: 600;
}

.loc-map__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 20px 0 10px;
}

.loc-map__directions {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .loc-map {
        grid-template-columns: 1fr;
    }
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-banner h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    max-width: 540px;
    margin: 0 auto;
}

.cta-banner .btn-group {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

/* --- Content + Sidebar --- */
.content-page {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.content-main h2 {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--navy);
    margin-top: 32px;
    margin-bottom: 12px;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.service-block {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 24px;
    border-left: 3px solid var(--brand-primary);
    margin: 20px 0;
}

.sidebar-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 5px 0;
}

/* --- Provider Grid --- */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.provider-card {
    text-align: center;
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.provider-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.provider-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto 12px;
}

.provider-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.provider-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- Blog Grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.blog-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card__body,
.blog-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

.blog-card__category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-primary-strong);
    margin-bottom: 10px;
}

.blog-card__title,
.blog-card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.3;
    margin: 0 0 12px;
}

.blog-card__title a,
.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover,
.blog-card h3 a:hover {
    color: var(--brand-primary-strong);
}

.blog-card__excerpt,
.blog-card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Blog Article --- */
.blog-article {
    max-width: 740px;
    margin: 0 auto;
}

.blog-article h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 16px;
}

.blog-article__meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.blog-article__content p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 16px;
}

.blog-article__content h2 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
    margin-top: 36px;
    margin-bottom: 14px;
}

.blog-cta {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 28px;
    border-left: 3px solid var(--brand-primary);
    margin: 24px 0;
}

.blog-cta--accent {
    background: var(--brand-primary-strong);
    color: var(--white);
    border-left: none;
}

.blog-cta--accent a { color: var(--white); }

.blog-cta--minimal {
    background: none;
    border: none;
    padding: 0;
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    color: var(--on-navy-muted);
    padding: 64px 0 28px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo-img {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

.footer__brand-text {
    font-size: 14px;
    max-width: 280px;
    line-height: 1.6;
}

.footer h2 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--on-navy-subtle);
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    color: var(--on-navy-muted);
    font-size: 14px;
    transition: color var(--transition);
}

.footer ul a:hover {
    color: var(--white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: var(--on-navy-muted);
}

.footer__bottom a {
    color: var(--on-navy-muted);
    transition: color var(--transition);
}

.footer__bottom a:hover {
    color: var(--white);
}

.footer__legal {
    display: flex;
    gap: 20px;
}

/* --- Provider Placeholder --- */
.provider-card__placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--border-light);
    margin: 0 auto 12px;
}

/* --- Provider Profile --- */
.provider-profile__header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

.provider-profile__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.provider-profile__info h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--navy);
}

.provider-profile__title {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.provider-profile__body h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    margin: 28px 0 12px;
}

.provider-profile__body h2:first-child {
    margin-top: 0;
}

.provider-profile__body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

/* --- Button Group --- */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Cookie Consent --- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 16px 24px;
}

.cookie-consent__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cookie-consent__inner p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-consent__actions {
    display: flex;
    gap: 8px;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
    .card-grid--cols-2,
    .card-grid--cols-3 {
        grid-template-columns: 1fr;
    }

    .content-page {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-us {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .nav__links {
        gap: 18px;
    }

    .nav__links a {
        font-size: 14px;
    }

    .nav__cta {
        padding: 10px 16px;
    }
}

@media (max-width: 1040px) {
    .nav__links {
        display: none;
    }

    .nav__links.nav__links--open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px 24px 24px;
        background: var(--white);
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav__mobile {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero--compact {
        padding: 40px 0 48px;
    }

    .section {
        padding: 64px 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .provider-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .provider-profile__header {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Blog */
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article h2 { font-family: 'Fraunces', Georgia, serif; font-size: 24px; font-weight: 500; color: var(--navy); margin: 32px 0 14px; }
.blog-article h3 { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 500; color: var(--navy); margin: 28px 0 12px; }
.blog-article p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.blog-article ul, .blog-article ol { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; padding-left: 24px; }
.blog-article blockquote { border-left: 3px solid var(--brand-primary); padding-left: 20px; margin: 24px 0; font-style: italic; color: var(--text-secondary); }
.blog-article img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 24px 0; }
.blog-sidebar { position: sticky; top: 24px; }
.blog-sidebar__section { margin-bottom: 32px; }
.blog-sidebar__heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); margin-bottom: 12px; }
.blog-sidebar__list { list-style: none; padding: 0; }
.blog-sidebar__list li { padding: 6px 0; }
.blog-sidebar__list a { font-size: 14px; color: var(--text-secondary); text-decoration: none; }
.blog-sidebar__list a:hover { color: var(--brand-primary-strong); }
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.blog-pagination a, .blog-pagination span { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 14px; text-decoration: none; }
.blog-pagination a { color: var(--text-secondary); border: 1px solid var(--border); }
.blog-pagination a:hover { background: var(--cream); }
.blog-pagination .active { background: var(--brand-primary-strong); color: white; border: 1px solid var(--brand-primary-strong); }

/* Blog Subscribe */
.blog-subscribe { background: var(--cream); border-radius: var(--radius-lg); padding: 32px; margin: 32px 0; text-align: center; }
.blog-subscribe__title { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.blog-subscribe__text { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.blog-subscribe__form { display: flex; gap: 8px; max-width: 500px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.blog-subscribe__input { padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; flex: 1; min-width: 180px; }
.blog-subscribe__success { color: var(--brand-primary-strong); font-weight: 600; font-size: 15px; padding: 12px 0; }
.blog-subscribe__error { color: #c53030; font-size: 14px; padding: 8px 0; }
.blog-subscribe__privacy { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* Social Links */
.footer__social { display: flex; gap: 16px; margin-top: 20px; }
.footer__social-link { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__social-link:hover { color: rgba(255,255,255,0.9); }

/* Share Links */
.share-links { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.share-links__label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.share-links__btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); color: var(--text-secondary); background: transparent; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.share-links__btn:hover { color: var(--brand-primary-strong); border-color: var(--brand-primary-strong); }
.share-links__copy { font-size: 12px; }

/* Author Card */
.author-card { display: flex; gap: 16px; padding: 24px; background: var(--cream); border-radius: 8px; margin: 32px 0; }
.author-card__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-card__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); }
.author-card__name { display: block; font-size: 16px; font-weight: 600; color: var(--navy); margin: 4px 0; }
.author-card__bio { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 4px 0 8px; }
.author-card__cta { font-size: 13px; font-weight: 600; color: var(--brand-primary-strong); text-decoration: none; }

/* Blog Hero Image */
.blog-hero { margin: 0 0 24px; }
.blog-hero__img { width: 100%; height: auto; border-radius: 8px; display: block; }
.blog-hero__caption { font-size: 13px; color: var(--text-secondary); margin-top: 8px; line-height: 1.5; }
.blog-hero__credit { font-style: italic; }

/* Service Line / Geography Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
.post-tags__tag { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 16px; text-decoration: none; transition: background 0.2s; }
.post-tags__tag--service { background: rgba(20,160,165,0.1); color: var(--brand-primary-strong); }
.post-tags__tag--service:hover { background: rgba(20,160,165,0.2); }
.post-tags__tag--geo { background: rgba(27,46,74,0.08); color: var(--navy); }
.post-tags__tag--geo:hover { background: rgba(27,46,74,0.15); }

/* Blog Teaser */
.blog-teaser { font-size: 18px; line-height: 1.7; color: var(--text); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

/* Blog Related */
.blog-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .blog-grid--3 { grid-template-columns: 1fr; } }

/* --- Location CTA --- */
.loc-cta {
    text-align: center;
}

.loc-cta__intro {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 28px;
}

.loc-cta__address {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 4px;
}

.loc-cta__line,
.loc-cta__hours {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.loc-cta__line a {
    color: var(--brand-primary-strong);
    font-weight: 600;
}

.loc-cta .loc-map {
    text-align: left;
}

.loc-cta__actions {
    margin-top: 28px;
}

.loc-cta__directions {
    color: var(--text);
    border-color: var(--border);
}

/* --- Legal pages --- */
.legal {
    max-width: 800px;
}

.legal p,
.legal li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    margin: 24px 0 10px;
}

.legal ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 12px;
}

/* --- Referral page --- */
.refer-methods,
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.practice-grid {
    grid-template-columns: repeat(2, 1fr);
}

.refer-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.legal .refer-card h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.legal .refer-card p {
    font-size: 14.5px;
    margin-bottom: 0;
}

.refer-card a {
    color: var(--brand-primary-strong);
    font-weight: 600;
}

.practice-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--navy);
    padding: 24px;
}

.practice-card--hma {
    border-top-color: var(--accent-hma);
}

.practice-card--hbm {
    border-top-color: var(--accent-hbm);
}

.practice-card--him {
    border-top-color: var(--accent-him);
}

.practice-card--ham {
    border-top-color: var(--accent-ham);
}

.practice-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.legal .practice-card ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

.legal .practice-card li {
    font-size: 13.5px;
    margin-bottom: 6px;
}

.sh--left {
    text-align: left;
    margin: 0 0 28px;
    max-width: none;
}

.form__fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 28px;
    min-width: 0;
}

.form__legend {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 16px;
}

.form__check {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.form__check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--brand-primary-strong);
}

.form__check .form__label {
    flex: 1;
    font-weight: 500;
}

.form__check .form__error {
    flex-basis: 100%;
}

@media (max-width: 900px) {
    .refer-methods,
    .practice-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Visually hidden --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Appointment Request --- */
.appt {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 48px;
    align-items: start;
}

.appt__aside {
    background: var(--sage-pale);
    border-left: 4px solid var(--brand-primary-strong);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.appt__aside h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 10px;
}

.appt__aside p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.appt__phone a {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-primary-strong);
}

/* --- Forms --- */
.form__intro,
.form__hint,
.form__legal {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form__intro {
    margin-bottom: 24px;
}

.form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form__field--full {
    grid-column: 1 / -1;
}

.form__label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.form__required {
    color: var(--danger);
}

.form__optional {
    font-weight: 400;
    color: var(--text-secondary);
}

.form__input {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--text-light);
    border-radius: var(--radius);
}

.form__input[aria-invalid="true"] {
    border-color: var(--danger);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__error {
    font-size: 14px;
    font-weight: 600;
    color: var(--danger);
}

.form__error:empty {
    display: none;
}

.form__honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form__captcha {
    margin: 24px 0;
    min-height: 65px;
}

.form__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.form__summary,
.form__success {
    background: var(--cream);
    border-left: 4px solid var(--danger);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 28px;
}

.form__success {
    border-left-color: var(--brand-primary-strong);
}

.form__summary p,
.form__success p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 10px;
}

.form__success h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .appt {
        grid-template-columns: 1fr;
    }

    .form__grid {
        grid-template-columns: 1fr;
    }
}
