/* =====================================================================
   Pasadena Clinical Group — Perinatal Mental Health Program
   Ultra-premium stylesheet (typography, header, hero, footer, components)
   ===================================================================== */

:root {
    /* Brand palette — warm clay + sage, grounded and clinical */
    --bg: #fbf6f2;
    --surface: #ffffff;
    --surface-alt: #f5e7df;
    --surface-tint: #fdf3ec;

    --ink: #2a2724;
    --ink-soft: #4f463f;
    --muted: #756861;
    --hairline: #ece1d8;
    --border: #e6d6cc;

    --accent: #b8654f;
    --accent-dark: #8d4a37;
    --accent-deep: #5e3225;
    --accent-soft: #f1d6c8;
    --accent-tint: #fae6db;

    --sage: #6c8c7c;
    --sage-soft: #d4e1d8;

    --gold: #b89569;

    --shadow-sm: 0 6px 16px rgba(60, 38, 28, 0.06);
    --shadow-md: 0 14px 32px rgba(60, 38, 28, 0.09);
    --shadow-lg: 0 28px 60px rgba(60, 38, 28, 0.14);
    --shadow-xl: 0 36px 80px rgba(60, 38, 28, 0.2);

    --radius-xs: 8px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    --container-max: 1240px;
    --header-height: 84px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
    background: linear-gradient(180deg, #fff9f5 0%, #faf0ea 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover, a:focus {
    color: var(--accent-deep);
    text-decoration: none;
}

::selection { background: var(--accent-soft); color: var(--accent-deep); }

/* Override the bootstrap container width for a more premium feel */
.container { max-width: var(--container-max); width: 100%; padding-left: 24px; padding-right: 24px; margin-left: auto; margin-right: auto; }

/* ===== Typography ============================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: "Cormorant Garamond", "Playfair Display", "Lora", Georgia, serif;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
    line-height: 1.15;
}

h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: clamp(18px, 1.8vw, 22px); }
h5 { font-size: 18px; }
h6 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.16em; font-family: "Inter", sans-serif; font-weight: 600; }

p {
    margin: 0 0 1.1em;
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
}

p.lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--ink-soft);
}

ul, ol { padding-left: 22px; margin: 0 0 1em; }
li { line-height: 1.7; color: var(--ink-soft); }

blockquote {
    margin: 24px 0;
    padding: 22px 26px;
    border-left: 4px solid var(--accent);
    background: var(--surface);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    color: var(--ink);
    font-style: italic;
    box-shadow: var(--shadow-sm);
}

/* ===== Eyebrow + section heading =============================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--accent-tint);
    color: var(--accent-dark);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading.left { margin-left: 0; margin-right: 0; text-align: left; }

.section-heading p {
    font-size: 18px;
    color: var(--muted);
}

/* ===== Topbar ================================================== */

.topbar {
    background: linear-gradient(90deg, #1d1a17 0%, var(--accent-deep) 60%, var(--accent-dark) 100%);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.topbar a {
    color: rgba(255, 255, 255, 0.92);
}

.topbar a:hover { color: #fff; }

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 11px;
    padding-bottom: 11px;
    flex-wrap: wrap;
}

.topbar-list {
    list-style: none;
    display: flex;
    gap: 22px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.topbar-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
}

.topbar-list i { color: var(--accent-soft); }

.topbar-tagline {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.86);
}

/* ===== Header / Navigation ===================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 251, 247, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
    transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 251, 247, 0.98);
    box-shadow: var(--shadow-sm);
}

.site-nav { padding: 16px 0; }

.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
}

.brand:hover { color: var(--ink); }

.brand-mark {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 8px 18px rgba(184, 101, 79, 0.3);
    flex-shrink: 0;
}

.brand-name {
    display: inline-flex;
    flex-direction: column;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.005em;
    color: var(--ink);
}

.brand-name span {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-top: 6px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-links a:hover, .nav-links a:focus {
    background: var(--accent-tint);
    color: var(--accent-deep);
}

.nav-links a.active {
    background: var(--accent);
    color: #fff;
}

/* ===== Dropdown menus ===== */

.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: "\f107";
    font-family: "FontAwesome";
    margin-left: 6px;
    font-size: 11px;
    opacity: 0.7;
    transition: transform 0.2s var(--ease);
}

.has-dropdown:hover > a::after,
.has-dropdown.open > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 320px;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 14px;
    list-style: none;
    margin: 8px 0 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
    z-index: 70;
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    background: transparent;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.dropdown-menu a small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    margin-top: 2px;
    letter-spacing: 0.01em;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: var(--accent-tint);
    color: var(--accent-deep);
}

.dropdown-menu a.see-all {
    margin-top: 6px;
    border-top: 1px solid var(--hairline);
    padding-top: 14px;
    font-weight: 600;
    color: var(--accent-dark);
}

.dropdown-menu a.see-all::after {
    content: " →";
    color: var(--accent);
}

.nav-cta {
    margin-left: 6px;
}

.nav-cta a, .nav-cta .btn-pill {
    background: var(--ink);
    color: #fff !important;
    padding: 12px 22px !important;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(42, 39, 36, 0.16);
}

.nav-cta a:hover, .nav-cta a:focus {
    background: var(--accent-dark);
    color: #fff !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    color: var(--ink);
    cursor: pointer;
    font-size: 18px;
    align-items: center;
    justify-content: center;
}

/* ===== Buttons ================================================= */

.btn-main, .btn-secondary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    text-decoration: none;
}

.btn-main {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(141, 74, 55, 0.32);
}

.btn-main:hover, .btn-main:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(141, 74, 55, 0.42);
    color: #fff;
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover, .btn-secondary:focus {
    transform: translateY(-2px);
    background: var(--accent-tint);
    border-color: var(--accent-soft);
    color: var(--accent-deep);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
}

.btn-ghost:hover { color: var(--accent-deep); }

.btn-main i, .btn-secondary i { font-size: 13px; }

/* ===== Hero (homepage) ========================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 110px;
    background:
        radial-gradient(circle at 78% -10%, rgba(184, 101, 79, 0.18), transparent 38%),
        radial-gradient(circle at -8% 70%, rgba(108, 140, 124, 0.16), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #faf0ea 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(141, 74, 55, 0.07) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.5;
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero-copy { max-width: 600px; }

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent-dark);
    font-weight: 500;
}

.hero p.lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--hairline);
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-trust-item strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    color: var(--ink);
}

.hero-trust-item span {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.hero-visual {
    position: relative;
}

.hero-visual .img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}

.hero-visual .img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(94, 50, 37, 0) 55%, rgba(94, 50, 37, 0.45) 100%);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-floating-card {
    position: absolute;
    left: -40px;
    bottom: 36px;
    width: 280px;
    background: rgba(255, 251, 247, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.hero-floating-card .label {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.hero-floating-card h4 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 19px;
    margin: 0 0 6px;
    color: var(--ink);
    line-height: 1.3;
}

.hero-floating-card p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

.hero-badge-card {
    position: absolute;
    top: 24px;
    right: -22px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    padding: 10px 18px 10px 12px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.hero-badge-card .icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sage-soft);
    color: var(--sage);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-badge-card span {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

/* ===== Page hero (interior) ==================================== */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 80px;
    background:
        radial-gradient(circle at 90% 10%, rgba(184, 101, 79, 0.16), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(108, 140, 124, 0.14), transparent 38%),
        linear-gradient(180deg, #fff9f5 0%, #f7e9e0 100%);
    border-bottom: 1px solid var(--hairline);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(141, 74, 55, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.55;
    pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.page-hero-grid .img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}

.page-hero-grid .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero h1 { margin-bottom: 16px; }

.page-hero p {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 580px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb i { font-size: 10px; opacity: 0.6; }

/* ===== Section blocks ========================================== */

.section-block { padding: 96px 0; position: relative; }
.section-block.tight { padding: 72px 0; }

.section-block.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(245, 231, 223, 0.5) 100%);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.section-block.deep {
    background: linear-gradient(160deg, #2a2724 0%, #3b332e 100%);
    color: rgba(255, 255, 255, 0.86);
}

.section-block.deep h1, .section-block.deep h2, .section-block.deep h3, .section-block.deep h4 { color: #fff; }
.section-block.deep p { color: rgba(255, 255, 255, 0.78); }
.section-block.deep .eyebrow { background: rgba(184, 101, 79, 0.22); color: var(--accent-soft); }

/* ===== Cards =================================================== */

.content-card,
.review-card,
.info-card,
.step-card,
.condition-card,
.insurance-card,
.job-card,
.contact-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
    height: 100%;
}

.content-card:hover,
.step-card:hover,
.condition-card:hover,
.insurance-card:hover,
.job-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-soft);
}

.content-card h2, .content-card h3,
.condition-card h3,
.insurance-card h2, .insurance-card h3,
.step-card h2, .step-card h3,
.job-card h2, .job-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--accent-tint);
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.card-icon.sage { background: var(--sage-soft); color: var(--sage); }
.card-icon.gold { background: rgba(184, 149, 105, 0.18); color: var(--gold); }

/* ===== Grids =================================================== */

.metric-grid, .card-grid, .review-grid, .step-grid, .contact-grid, .insurance-grid, .job-grid {
    display: grid;
    gap: 26px;
}

.metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-grid, .insurance-grid, .job-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.metric {
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    text-align: left;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.metric:hover { transform: translateY(-3px); border-color: var(--accent-soft); }

.metric strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 38px;
    line-height: 1;
    color: var(--accent-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.metric span {
    display: block;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* ===== Image cards (conditions etc) ============================ */

.condition-card { padding: 0; overflow: hidden; }

.condition-card .img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.condition-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.condition-card:hover .img-wrap img { transform: scale(1.05); }

.condition-card .body { padding: 28px 28px 32px; }

.condition-card h3 { margin-top: 0; margin-bottom: 10px; }

/* ===== Step cards ============================================== */

.step-card { padding-left: 80px; position: relative; }

.step-card .step-num {
    position: absolute;
    top: 28px;
    left: 28px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 18px;
}

/* ===== Lists =================================================== */

.meta-list, .check-list, .contact-list, .footer-list, .hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meta-list li, .check-list li, .contact-list li, .footer-list li, .hero-highlights li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--ink-soft);
}

.meta-list i, .check-list i, .contact-list i, .footer-list i, .hero-highlights i {
    color: var(--accent);
    margin-top: 6px;
    flex-shrink: 0;
}

.check-list i { color: var(--sage); }

/* ===== Two-column rich content ================================= */

.rich-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rich-grid .img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 5;
}

.rich-grid .img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.rich-grid .img-wrap.landscape { aspect-ratio: 5 / 4; }

/* ===== Forms =================================================== */

.form-card {
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-card .form-title { margin-top: 0; margin-bottom: 8px; }

.form-card .form-intro {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 18px;
}

.form-row { grid-column: span 2; }

.form-card label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fdfaf7;
    color: var(--ink);
    font-family: "Inter", sans-serif;
    font-size: 15px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(184, 101, 79, 0.14);
}

.form-card textarea {
    min-height: 160px;
    resize: vertical;
}

.form-card .form-row + .form-row { margin-top: 0; }

.form-actions {
    grid-column: span 2;
    display: flex;
    justify-content: flex-start;
    margin-top: 6px;
}

.form-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
}

.form-disclaimer {
    margin-top: 0;
    margin-bottom: 26px;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: #fff7ed;
    border: 1px solid #f4d9b3;
    color: #7a4f10;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.form-disclaimer i {
    color: #b97700;
    margin-top: 3px;
    flex-shrink: 0;
}

.form-disclaimer strong { color: #5a3a08; }

/* ===== CTA section ============================================= */

.cta-section {
    position: relative;
    padding: 96px 0;
    background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-dark) 60%, var(--accent) 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}

.cta-section .container { position: relative; z-index: 1; max-width: 760px; }

.cta-section .eyebrow {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.cta-section .eyebrow::before { background: var(--accent-soft); }

.cta-section h2 {
    color: #fff;
    margin-bottom: 14px;
    font-size: clamp(30px, 3.6vw, 44px);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    max-width: 580px;
    margin: 0 auto 32px;
}

.cta-section .btn-main {
    background: #fff;
    color: var(--accent-deep);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.cta-section .btn-main:hover {
    background: var(--accent-tint);
    color: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.cta-section .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.36);
    color: #fff;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ================================================== */

.site-footer {
    padding: 80px 0 0;
    background: linear-gradient(160deg, #1d1a17 0%, #2a2522 100%);
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.site-footer .container { position: relative; z-index: 1; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand { margin-bottom: 18px; color: #fff; }
.footer-brand .brand-name { color: #fff; font-size: 22px; }
.footer-brand .brand-name span { color: var(--accent-soft); }
.footer-brand .brand-mark { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%); }

.footer-brand p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-socials a:hover {
    background: var(--accent);
    transform: translateY(-2px);
    color: #fff;
}

.site-footer h4 {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 22px;
    color: #fff;
    font-weight: 600;
}

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

.footer-nav li { margin-bottom: 12px; font-size: 15px; }

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s var(--ease);
    position: relative;
    padding-left: 0;
}

.footer-nav a::before {
    content: "›";
    margin-right: 8px;
    color: var(--accent-soft);
    opacity: 0;
    transform: translateX(-6px);
    display: inline-block;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-nav a:hover { color: #fff; }
.footer-nav a:hover::before { opacity: 1; transform: translateX(0); }

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-soft);
    margin-top: 4px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact a { color: rgba(255, 255, 255, 0.7); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
    margin: 0;
    padding: 26px 0;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.5); font-size: 13px; }

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-legal a { color: rgba(255, 255, 255, 0.5); font-size: 13px; }
.footer-legal a:hover { color: #fff; }

/* ===== Reveal animations ======================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* ===== Back to top ============================================= */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(141, 74, 55, 0.36);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease);
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== Layout helpers (drop-in for legacy .row / .col-md-* markup) ===== */

.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
}

@media (min-width: 992px) {
    .row {
        grid-template-columns: repeat(12, 1fr);
    }
    .row > .col-md-3 { grid-column: span 3; }
    .row > .col-md-4 { grid-column: span 4; }
    .row > .col-md-5 { grid-column: span 5; }
    .row > .col-md-6 { grid-column: span 6; }
    .row > .col-md-7 { grid-column: span 7; }
    .row > .col-md-8 { grid-column: span 8; }
    .row > .col-md-9 { grid-column: span 9; }
    .row > .col-md-12 { grid-column: span 12; }
}

/* ===== Utilities =============================================== */

main { min-height: calc(100vh - 240px); }

.text-center { text-align: center; }

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hairline), transparent);
    margin: 0;
    border: 0;
}

.placeholder-note {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff6d8;
    color: #8a6316;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

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

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-floating-card { left: 16px; bottom: 16px; }
    .hero-badge-card { right: 16px; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .menu-toggle { display: inline-flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--hairline);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: 12px;
        gap: 4px;
        max-height: calc(100vh - 160px);
        overflow-y: auto;
        opacity: 0;
        transform: translateY(-12px);
        visibility: hidden;
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
    }
    .nav-links.open { opacity: 1; transform: translateY(0); visibility: visible; }
    .nav-links a { width: 100%; padding: 12px 16px; border-radius: 12px; }
    .nav-cta { margin-left: 0; }

    /* Mobile dropdown — accordion style */
    .has-dropdown { width: 100%; }
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: var(--surface-tint);
        padding: 6px 8px 10px;
        margin: 4px 0 8px;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--ease), padding 0.3s var(--ease), margin 0.3s var(--ease);
    }
    .has-dropdown.open .dropdown-menu {
        max-height: 700px;
        padding: 8px 8px 12px;
        margin: 6px 0 10px;
    }
    .dropdown-menu a { padding: 10px 12px; font-size: 13px; }
    .has-dropdown > a::after { float: right; }
    .card-grid, .review-grid { grid-template-columns: 1fr 1fr; }
    .step-grid, .insurance-grid, .job-grid, .contact-grid { grid-template-columns: 1fr; }
    .rich-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-row, .form-actions { grid-column: span 1; }
    .topbar-tagline { display: none; }
    .topbar-list { gap: 14px; font-size: 12px; }
    .hero { padding: 64px 0 80px; }
    .page-hero { padding: 64px 0 56px; }
    .section-block { padding: 72px 0; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding-left: 18px; padding-right: 18px; }
    .topbar .container { gap: 8px; }
    .topbar-list { gap: 10px; }
    .topbar-list li { font-size: 12px; }
    .card-grid, .review-grid, .metric-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hero-floating-card { display: none; }
    .hero-badge-card { display: none; }
    .form-card { padding: 26px 20px; }
    .content-card, .review-card, .info-card, .step-card, .insurance-card, .job-card, .contact-card { padding: 24px; }
    .condition-card .body { padding: 22px; }
    .step-card { padding-left: 24px; padding-top: 70px; }
    .step-card .step-num { top: 24px; left: 24px; }
    .cta-section { padding: 72px 0; }
    .site-footer { padding-top: 60px; }
}

/* =====================================================================
   Cookie Consent Banner (CCPA / CPRA)
   ===================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 80;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(29, 26, 23, 0.97);
    color: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    transform: translateY(140%);
    transition: transform 0.5s var(--ease);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner .cookie-text {
    flex: 1 1 320px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-banner .cookie-text strong { color: #fff; font-weight: 600; }
.cookie-banner .cookie-text a { color: var(--accent-soft); text-decoration: underline; }
.cookie-banner .cookie-text a:hover { color: #fff; }

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-actions button {
    padding: 10px 18px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border 0.2s var(--ease);
    min-height: 40px;
}

.cookie-btn-accept {
    background: var(--accent);
    color: #fff;
}

.cookie-btn-accept:hover { background: var(--accent-dark); }

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cookie-btn-link {
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
    border: none;
    padding: 6px 8px;
    font-size: 12px;
}

.cookie-btn-link:hover { color: #fff; }

.cookie-btn-secondary {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.25);
}
.cookie-btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

@media (max-width: 640px) {
    .cookie-banner { flex-direction: column; align-items: stretch; }
    .cookie-actions { justify-content: stretch; }
    .cookie-actions button { flex: 1 1 auto; }
}

/* Cookie Customize Modal */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(15, 12, 10, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: cookie-fade 0.25s ease;
}
@keyframes cookie-fade { from { opacity: 0; } to { opacity: 1; } }

body.cookie-modal-open { overflow: hidden; }

.cookie-modal {
    background: #fefcf9;
    color: #2a2522;
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 36px;
    position: relative;
    font-family: "Inter", sans-serif;
}

.cookie-modal h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1d1a17;
}

.cookie-modal > p {
    font-size: 14px;
    line-height: 1.6;
    color: #5a514c;
    margin: 0 0 22px;
}

.cookie-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #6a615b;
    line-height: 1;
}
.cookie-modal-close:hover { color: #1d1a17; }

.cookie-cat {
    border: 1px solid #ece6df;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
    background: #fff;
}

.cookie-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cookie-cat-header strong {
    font-size: 15px;
    color: #1d1a17;
}

.cookie-cat-tag {
    display: inline-block;
    margin-left: 10px;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #efe9e2;
    color: #6a615b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.cookie-cat p {
    font-size: 13px;
    line-height: 1.55;
    color: #5a514c;
    margin: 8px 0 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input { opacity: 0; width: 0; height: 0; }

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #d3ccc4;
    transition: 0.2s;
    border-radius: 24px;
}

.cookie-toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: white;
    transition: 0.2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: #b8654f;
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background: #b8654f;
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.cookie-modal-actions button {
    padding: 11px 22px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    min-height: 42px;
}

.cookie-modal-actions .cookie-btn-accept {
    background: #b8654f;
    color: #fff;
}
.cookie-modal-actions .cookie-btn-accept:hover { background: #a05540; }

.cookie-modal-actions .cookie-btn-reject {
    background: transparent;
    color: #5a514c;
    border-color: #d3ccc4;
}
.cookie-modal-actions .cookie-btn-reject:hover {
    background: #f5efe7;
    color: #1d1a17;
}

@media (max-width: 520px) {
    .cookie-modal { padding: 26px 22px; max-height: 92vh; }
    .cookie-modal-actions { flex-direction: column-reverse; }
    .cookie-modal-actions button { width: 100%; }
}

/* =====================================================================
   Legal Pages (Privacy, HIPAA, Terms, Consent, Cookie Policy, etc.)
   ===================================================================== */

.legal-shell {
    padding: 64px 0 80px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: flex-start;
}

.legal-toc {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.legal-toc h4 {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-dark);
    margin: 0 0 14px;
    font-weight: 600;
}

.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-toc li { margin-bottom: 6px; }

.legal-toc a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.legal-toc a:hover {
    background: var(--accent-tint);
    color: var(--accent-deep);
}

.legal-toc a.active {
    background: var(--accent-tint);
    color: var(--accent-deep);
    font-weight: 600;
}

.legal-content {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 48px 52px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
}

.legal-content > .legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hairline);
    font-size: 13px;
    color: var(--muted);
}

.legal-content > .legal-meta strong { color: var(--ink); font-weight: 600; }

.legal-content h1 { margin-bottom: 8px; }
.legal-content h2 {
    margin-top: 42px;
    margin-bottom: 14px;
    padding-top: 8px;
    border-top: 1px solid var(--hairline);
    font-size: 26px;
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { margin-top: 28px; margin-bottom: 10px; font-size: 20px; }
.legal-content h4 { margin-top: 22px; margin-bottom: 8px; font-size: 16px; font-family: "Inter", sans-serif; text-transform: none; letter-spacing: 0; color: var(--ink); }

.legal-content p { font-size: 16px; line-height: 1.75; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 18px; }
.legal-content li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: 14px;
}

.legal-content th, .legal-content td {
    text-align: left;
    padding: 12px 14px;
    border: 1px solid var(--hairline);
    vertical-align: top;
}

.legal-content th {
    background: var(--surface-tint);
    color: var(--ink);
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.legal-content .callout {
    margin: 22px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--accent);
    background: var(--surface-tint);
    border-radius: 0 12px 12px 0;
    font-size: 15px;
    color: var(--ink-soft);
}

.legal-content .callout strong { color: var(--ink); }

.legal-content a { color: var(--accent-dark); text-decoration: underline; }
.legal-content a:hover { color: var(--accent-deep); }

@media (max-width: 991px) {
    .legal-grid { grid-template-columns: 1fr; gap: 28px; }
    .legal-toc { position: relative; top: 0; }
    .legal-content { padding: 32px 28px; }
}

@media (max-width: 575px) {
    .legal-content { padding: 24px 20px; }
    .legal-content h2 { font-size: 22px; }
}

/* =====================================================================
   Conditions sub-page hero (illness pillar pages)
   ===================================================================== */

.condition-pillar h1 em { font-style: italic; color: var(--accent-dark); font-weight: 500; }

.symptom-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.symptom-card:hover { transform: translateY(-3px); border-color: var(--accent-soft); }

.symptom-card .symptom-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-tint);
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 14px;
}

.symptom-card h4 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 17px;
    color: var(--ink);
}

.symptom-card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

.symptom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 991px) { .symptom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .symptom-grid { grid-template-columns: 1fr; } }

.faq-item {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-item summary {
    padding: 22px 26px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "\f067";
    font-family: "FontAwesome";
    font-size: 14px;
    color: var(--accent);
    transition: transform 0.25s var(--ease);
    flex-shrink: 0;
}

.faq-item[open] summary::after { content: "\f068"; }

.faq-item .faq-body {
    padding: 0 26px 22px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.7;
}

.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* =====================================================================
   Turnstile widget spacing
   ===================================================================== */

.cf-turnstile {
    margin: 18px 0 8px;
    grid-column: span 2;
}

@media (max-width: 991px) {
    .cf-turnstile { grid-column: span 1; }
}

/* =====================================================================
   Crisis ribbon (top-of-page persistent)
   ===================================================================== */

.crisis-ribbon {
    background: #2a1f1c;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    text-align: center;
    padding: 8px 16px;
    letter-spacing: 0.01em;
}

.crisis-ribbon a { color: var(--accent-soft); text-decoration: underline; font-weight: 600; }
.crisis-ribbon a:hover { color: #fff; }
.crisis-ribbon strong { color: #fff; }
