/* ==========================================================================
   Royal Mental Health Clinic — Main Stylesheet
   Palette: 60% forest green · 25% warm ivory · 10% light blue · 5% muted gold
   ========================================================================== */

:root {
    --green: #19382D;
    --green-deep: #10261E;
    --green-mid: #23493B;
    --green-soft: #2F5A4A;
    --ivory: #F7F4EC;
    --ivory-2: #EFE9DB;
    --sage: #EEF3EF;
    --sage-2: #DFE8E2;
    --blue: #B9DFF2;
    --ice: #DCEEF7;
    --gold: #C1A36A;
    --gold-light: #D9C08E;
    --gold-dark: #9C8048;
    --white: #FFFFFF;
    --text: #1E2B26;
    --muted: #55655E;
    --line: rgba(25, 56, 45, .12);

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(16, 38, 30, .06);
    --shadow: 0 14px 40px -12px rgba(16, 38, 30, .18);
    --shadow-lg: 0 30px 70px -20px rgba(16, 38, 30, .35);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-dark); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--green);
    margin: 0 0 .6em;
    letter-spacing: -.005em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.18em; }

.skip-link {
    position: absolute; left: -9999px; top: 10px; z-index: 1000;
    background: var(--gold); color: var(--green-deep); padding: 10px 18px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 10px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.hide-sm, .hide-md { }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-sans);
    font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.eyebrow-gold { color: var(--gold-light); }
.eyebrow-blue { color: var(--blue); }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .eyebrow::after { display: none; }

.serif-accent { font-style: italic; color: var(--gold-dark); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px;
    font-family: var(--font-sans); font-size: .92rem; font-weight: 600; letter-spacing: .02em;
    border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: .85rem; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

.btn-gold { background: var(--gold); color: var(--green-deep); box-shadow: 0 8px 20px -10px rgba(156, 128, 72, .55); }
.btn-gold:hover { background: var(--gold-light); color: var(--green-deep); box-shadow: 0 12px 26px -10px rgba(156, 128, 72, .6); }

.btn-green { background: var(--green); color: var(--ivory); box-shadow: 0 10px 26px -12px rgba(25, 56, 45, .7); }
.btn-green:hover { background: var(--green-mid); color: var(--white); }

.btn-blue { background: var(--blue); color: var(--green-deep); }
.btn-blue:hover { background: var(--ice); color: var(--green-deep); }

.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--ivory); }

.btn-outline-light { border-color: rgba(247, 244, 236, .45); color: var(--ivory); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-outline-light:hover { border-color: var(--blue); color: var(--green-deep); background: var(--blue); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--green); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-deep); color: rgba(247, 244, 236, .8); font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar-info { display: flex; gap: 28px; }
.topbar-info span, .topbar-crisis { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--gold); }
.topbar-crisis a { color: var(--blue); }
.topbar-crisis a:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(25, 56, 45, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(193, 163, 106, .18);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); background: rgba(16, 38, 30, .97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); flex-shrink: 0; white-space: nowrap; }
.brand:hover { color: var(--ivory); }
.brand-mark { width: 46px; height: auto; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { white-space: nowrap; font-size: .62rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }

.main-nav > ul { display: flex; gap: 6px; }
.nav-top {
    position: relative; display: block; padding: 10px 16px; white-space: nowrap;
    color: rgba(247, 244, 236, .85); font-size: .9rem; font-weight: 500;
}
.nav-top::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1.5px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-top:hover, .nav-top.active { color: var(--white); }
.nav-top:hover::after, .nav-top.active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

/* ---------- Services mega menu ---------- */
.header-inner { position: relative; }
.has-mega { position: static; }
.nav-parent { display: flex; align-items: center; }
.nav-parent > .nav-top { padding-right: 4px !important; }
.submenu-toggle {
    display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none;
    color: rgba(247, 244, 236, .7); cursor: pointer; transition: transform .3s var(--ease), color .3s;
}
.submenu-toggle svg { width: 15px; height: 15px; }
.has-mega:hover .submenu-toggle, .has-mega:focus-within .submenu-toggle { color: var(--gold); transform: rotate(180deg); }

.mega-menu {
    position: absolute; left: 24px; right: 24px; top: 100%; padding-top: 10px;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu, .has-mega.open .mega-menu { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
    display: grid; grid-template-columns: 1fr 1.7fr .95fr; gap: 10px;
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold); padding: 30px; overflow: hidden;
}
.mega-title {
    font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    color: var(--gold-dark); margin: 0 0 14px 12px;
}
.mega-list { display: grid; gap: 2px; }
.mega-list-2 { grid-template-columns: 1fr 1fr; column-gap: 6px; }
.main-nav .mega-list a {
    display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px;
    color: var(--text); font-size: .86rem; font-weight: 500; line-height: 1.3;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.main-nav .mega-list a::after { display: none; }
.main-nav .mega-list a:hover { background: var(--ivory); color: var(--green); }
.mega-list .mi {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    background: var(--ice); color: var(--green); transition: background .25s, color .25s;
}
.mega-list .mi .icon { width: 17px; height: 17px; }
.main-nav .mega-list a:hover .mi { background: var(--green); color: var(--blue); }
.mega-promo {
    position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px 24px;
    background: linear-gradient(160deg, var(--green), var(--green-deep)); color: rgba(247, 244, 236, .78); font-size: .85rem;
}
.mega-promo img { position: absolute; right: -30px; bottom: -20px; width: 140px; opacity: .08; }
.mega-promo-title { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; color: var(--ivory); line-height: 1.2; margin-bottom: 8px; }
.mega-promo .btn { margin-top: 4px; }
.main-nav .mega-promo a.mega-all { display: block; padding: 14px 0 0; font-size: .82rem; color: var(--blue); }
.main-nav .mega-promo a::after { display: none; }
.main-nav .mega-promo a.mega-all:hover { color: var(--gold-light); }

/* ---------- Single service page ---------- */
.service-hero-icon {
    display: grid; place-items: center; width: 78px; height: 78px; border-radius: 24px; margin: 0 auto 22px;
    background: rgba(185, 223, 242, .14); color: var(--blue); border: 1px solid rgba(185, 223, 242, .25);
}
.service-hero-icon .icon { width: 38px; height: 38px; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.hero-tags span { font-size: .78rem; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(193, 163, 106, .45); color: var(--gold-light); }

.service-layout { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.lead-p { font-size: 1.04rem; color: var(--muted); }
.info-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.info-box { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.info-box h3 { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; margin-bottom: 4px; }
.info-box .ib-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ice); color: var(--green); flex-shrink: 0; }
.info-box .check-list { margin: 20px 0 0; gap: 12px; font-size: .92rem; }
.info-box-green { background: linear-gradient(160deg, var(--green), var(--green-deep)); border-color: transparent; color: rgba(247, 244, 236, .85); }
.info-box-green h3 { color: var(--ivory); }
.info-box-green .ib-icon { background: rgba(185, 223, 242, .14); color: var(--blue); }
.info-box-green .check-list .ck { background: var(--blue); color: var(--green-deep); }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 50px; }
.pn-link {
    display: block; padding: 20px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
    font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--green); line-height: 1.25;
    transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.pn-link small { display: block; font-family: var(--font-sans); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
.pn-link:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--green); }
.pn-next { text-align: right; }

.service-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.side-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.side-card h3 { font-size: 1.4rem; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.side-cta { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--green), var(--green-deep)); color: rgba(247, 244, 236, .8); border: 0; }
.side-cta h3 { color: var(--ivory); border-bottom-color: rgba(247, 244, 236, .12); }
.side-cta p { font-size: .9rem; }
.side-emblem { position: absolute; right: -30px; top: -20px; width: 150px; opacity: .07; }
.side-menu { display: grid; gap: 2px; max-height: 430px; overflow-y: auto; }
.side-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: .88rem; color: var(--text); }
.side-menu a .icon { color: var(--green-soft); }
.side-menu a:hover { background: var(--ivory); color: var(--green); }
.side-menu a.active { background: var(--green); color: var(--ivory); font-weight: 600; }
.side-menu a.active .icon { color: var(--gold-light); }
.side-hours li { display: flex; justify-content: space-between; padding: 7px 0; font-size: .9rem; border-bottom: 1px dashed var(--line); }
.side-hours li span:last-child { font-weight: 600; color: var(--green); }
.side-addr { display: flex; gap: 10px; font-size: .86rem; color: var(--muted); margin: 16px 0 0; }
.side-addr .icon { color: var(--gold-dark); margin-top: 4px; }

.conditions-grid.related-grid { grid-template-columns: repeat(3, 1fr); }
.cc-more { margin-top: auto; padding-top: 18px; font-size: .84rem; transition: color .4s var(--ease); }
.condition-card:hover .cc-more { color: var(--gold-dark); }

.card-link-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .86rem; font-weight: 600; color: var(--green); }
.card-link-more .icon { transition: transform .3s var(--ease); }
.service-card:hover .card-link-more { color: var(--gold-dark); }
.service-card:hover .card-link-more .icon { transform: translateX(5px); }
a.service-card, a.resource-card { display: block; color: inherit; }
a.resource-card:hover { color: inherit; }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 12px; color: var(--ivory); font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap; flex-shrink: 0; }
.header-phone small { display: block; font-size: .68rem; font-weight: 500; color: var(--blue); letter-spacing: .08em; text-transform: uppercase; }
.header-phone:hover { color: var(--gold-light); }
.header-phone-icon {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(193, 163, 106, .5); color: var(--gold);
}

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(247, 244, 236, .25); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ivory); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1000px 600px at 85% 20%, rgba(185, 223, 242, .08), transparent 60%),
        radial-gradient(700px 500px at 10% 90%, rgba(193, 163, 106, .07), transparent 60%),
        linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
    color: var(--ivory);
    padding: 90px 0 140px;
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .3;
    background-image: radial-gradient(rgba(247, 244, 236, .07) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { color: var(--ivory); margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.hero-lead { font-size: 1.12rem; color: rgba(247, 244, 236, .82); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 30px; padding-top: 30px; border-top: 1px solid rgba(247, 244, 236, .12); }
.hero-trust-item { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: rgba(247, 244, 236, .85); }
.hero-trust-item .ti { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(185, 223, 242, .12); color: var(--blue); }

.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 470px; }
.hero-photo-wrap {
    position: relative; border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
    overflow: hidden; aspect-ratio: 4 / 5;
    background: linear-gradient(180deg, var(--ice), var(--blue));
    box-shadow: var(--shadow-lg);
    border: 6px solid rgba(247, 244, 236, .08);
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.hero-ring {
    position: absolute; inset: -22px; border-radius: 260px 260px 40px 40px;
    border: 1px solid rgba(193, 163, 106, .45); pointer-events: none;
}
.hero-badge {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: var(--ivory); color: var(--green); border-radius: 16px; padding: 14px 18px;
    box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; line-height: 1.3;
    animation: floaty 6s ease-in-out infinite;
}
.hero-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.hero-badge .bi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ice); color: var(--green); }
.hero-badge.b1 { left: -50px; bottom: 90px; }
.hero-badge.b2 { right: -30px; top: 70px; animation-delay: -3s; }
.hero-badge.b2 .bi { background: rgba(193, 163, 106, .2); color: var(--gold-dark); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; color: var(--ivory); text-align: center;
    background:
        radial-gradient(800px 400px at 80% 0%, rgba(185, 223, 242, .08), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(193, 163, 106, .07), transparent 60%),
        linear-gradient(160deg, var(--green), var(--green-deep));
    padding: 90px 0 120px;
}
.page-hero::after {
    content: ''; position: absolute; right: -80px; top: 50%; width: 380px; height: 440px; transform: translateY(-50%);
    background: url('../../images/emblem-light.png') no-repeat center / contain; opacity: .05; pointer-events: none;
}
.page-hero h1 { color: var(--ivory); margin-bottom: 16px; }
.page-hero p { max-width: 640px; margin: 0 auto; color: rgba(247, 244, 236, .8); font-size: 1.08rem; }
.breadcrumb { display: inline-flex; gap: 10px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.breadcrumb a { color: rgba(247, 244, 236, .7); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-ivory { background: var(--ivory); }
.section-white { background: var(--white); }
.section-ice { background: linear-gradient(180deg, var(--ice), #EAF5FA); }
.section-green { background: linear-gradient(160deg, var(--green), var(--green-deep)); color: rgba(247, 244, 236, .85); }
.section-green h2, .section-green h3 { color: var(--ivory); }
.section-green .section-head p { color: rgba(247, 244, 236, .72); }
.section-sage { background: var(--sage); border-top: 1px solid var(--sage-2); border-bottom: 1px solid var(--sage-2); }

/* ---------- Intro strip (overlapping hero) ---------- */
.intro-cards { position: relative; z-index: 2; margin-top: -80px; }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.intro-card { padding: 38px 34px; display: flex; gap: 18px; align-items: flex-start; border-right: 1px solid var(--line); transition: background .3s var(--ease); }
.intro-card:last-child { border-right: 0; }
.intro-card:hover { background: var(--ivory); }
.intro-card .ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--ice); color: var(--green); flex-shrink: 0; }
.intro-card .ic .icon { width: 26px; height: 26px; }
.intro-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.intro-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.intro-card a { font-weight: 600; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-media { position: relative; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-width: 470px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.about-frame { position: absolute; top: 30px; left: 30px; width: 100%; max-width: 470px; height: 100%; border: 1.5px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.about-quote {
    position: absolute; right: 0; bottom: 40px; max-width: 280px;
    background: var(--green); color: var(--ivory); padding: 26px 28px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; line-height: 1.35;
}
.about-quote::before { content: '\201C'; display: block; font-size: 3.4rem; line-height: .6; color: var(--gold); margin-bottom: 6px; }

.check-list { display: grid; gap: 14px; margin: 28px 0 36px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ck { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.check-list .ck .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.check-list.two-col { grid-template-columns: 1fr 1fr; }

.signature { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.signature img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--gold); }
.signature strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; color: var(--green); }
.signature span { font-size: .82rem; color: var(--muted); }

/* ---------- Condition cards ---------- */
.conditions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.condition-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 26px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.condition-card::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 0;
    background: linear-gradient(90deg, var(--green), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.condition-card > * { position: relative; z-index: 1; }
.condition-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.condition-card:hover::before { transform: scaleX(1); }
.condition-card .cc-icon {
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 22px;
    background: var(--ice); color: var(--green); transition: background .4s var(--ease), color .4s var(--ease);
}
.condition-card .cc-icon .icon { width: 28px; height: 28px; }
.condition-card h3 { font-size: 1.4rem; margin-bottom: 10px; transition: color .4s var(--ease); }
.condition-card p { font-size: .88rem; color: var(--muted); margin-bottom: 0; transition: color .4s var(--ease); }
.condition-card:hover .cc-icon { background: var(--green); color: var(--blue); }
.condition-card .cc-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); opacity: .8; }

.center-cta { text-align: center; margin-top: 54px; }

/* ---------- Services (how we help) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 40px 34px; box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card::after {
    content: ''; position: absolute; left: 34px; right: 34px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
    background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .sc-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--green); color: var(--blue); margin-bottom: 26px; }
.service-card .sc-icon .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.6rem; margin-bottom: 12px; color: var(--green); }
.service-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 38px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.steps.steps-vertical { grid-template-columns: 1fr; gap: 26px; }
.steps.steps-vertical::before { display: none; }
.step-num {
    position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 26px;
    border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; color: var(--green);
    transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.step:hover .step-num { background: var(--green); color: var(--gold-light); transform: scale(1.06); }
.step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.why-item { display: flex; gap: 18px; background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.why-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.why-item .wi { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--green); color: var(--blue); flex-shrink: 0; }
.why-item h3 { font-size: 1.3rem; margin-bottom: 6px; }
.why-item p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 10px; border-right: 1px solid rgba(247, 244, 236, .12); }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--font-serif); font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 600; color: var(--gold-light); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 244, 236, .75); }

/* ---------- Testimonial / promise ---------- */
.promise { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.promise blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-style: italic; line-height: 1.35; color: var(--green); }
.promise .mark { width: 70px; margin: 0 auto 26px; opacity: .9; }
.promise cite { display: block; margin-top: 24px; font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s; }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(193, 163, 106, .5); }
.faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 26px; background: none; border: 0; cursor: pointer; text-align: left;
    font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--green);
}
.faq-q .fi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ice); color: var(--green); flex-shrink: 0; transition: transform .35s var(--ease), background .3s; }
.faq-item.open .fi { transform: rotate(45deg); background: var(--gold); color: var(--green-deep); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 22px; margin: 0; color: var(--muted); font-size: .95rem; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Visit / contact info ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.visit-info { padding: 54px 48px; background: linear-gradient(160deg, var(--green), var(--green-deep)); color: rgba(247, 244, 236, .85); }
.visit-info h2 { color: var(--ivory); font-size: clamp(1.9rem, 3vw, 2.5rem); }
.info-rows { display: grid; gap: 24px; margin-top: 30px; }
.info-row { display: flex; gap: 16px; }
.info-row .ir { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(185, 223, 242, .12); color: var(--blue); flex-shrink: 0; }
.info-row strong { display: block; color: var(--gold-light); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 2px; }
.info-row a { color: var(--ivory); }
.info-row a:hover { color: var(--blue); }
.map-wrap { min-height: 420px; position: relative; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: .9rem; }
.hours-table td { padding: 7px 0; border-bottom: 1px dashed rgba(247, 244, 236, .14); }
.hours-table td:last-child { text-align: right; color: var(--ivory); }
.hours-table tr.today td { color: var(--gold-light); font-weight: 600; }
.hours-table tr.closed td:last-child { color: rgba(247, 244, 236, .5); }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; overflow: hidden;
    background:
        radial-gradient(600px 300px at 90% 50%, rgba(185, 223, 242, .14), transparent 60%),
        linear-gradient(120deg, var(--green-mid), var(--green));
    color: var(--ivory); padding: 80px 0;
}
.cta-band::before {
    content: ''; position: absolute; left: -60px; top: -40px; width: 300px; height: 340px;
    background: url('../../images/emblem-light.png') no-repeat center / contain; opacity: .05; pointer-events: none;
}
.cta-band-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band h2 { color: var(--ivory); margin-bottom: 10px; }
.cta-band p { margin: 0; color: rgba(247, 244, 236, .78); max-width: 560px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(247, 244, 236, .72); padding-top: 80px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 50px; padding-bottom: 50px; }
.footer-logo { width: 130px; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: var(--ivory); font-size: 1.35rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 1.5px; background: var(--gold); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(247, 244, 236, .72); }
.footer-col a:hover { color: var(--blue); }
.hours-list li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed rgba(247, 244, 236, .12); }
.hours-list li span:last-child { color: var(--ivory); }
.footer-note { font-size: .82rem; margin-top: 16px; color: rgba(247, 244, 236, .55); }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--gold); margin-top: 5px; }
.contact-list a { word-break: break-word; }

.footer-crisis { display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; margin-bottom: 40px; background: rgba(185, 223, 242, .07); border: 1px solid rgba(185, 223, 242, .18); border-radius: var(--radius); }
.footer-crisis .icon { color: var(--blue); width: 24px; height: 24px; margin-top: 2px; }
.footer-crisis p { margin: 0; font-size: .86rem; }
.footer-crisis a { color: var(--blue); font-weight: 600; }

.footer-bottom { border-top: 1px solid rgba(247, 244, 236, .08); padding: 22px 0; font-size: .82rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(247, 244, 236, .72); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--green); margin-bottom: 8px; }
.field label .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; font: inherit; font-size: .95rem; color: var(--text);
    background: var(--ivory); border: 1.5px solid transparent; border-radius: 12px;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-soft); background: var(--white); box-shadow: 0 0 0 4px rgba(185, 223, 242, .5); }
.field .hint { display: block; font-size: .76rem; color: var(--muted); margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B4513F; background: #FDF4F2; }
.field .err { display: block; font-size: .78rem; color: #A23F2E; margin-top: 6px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--green); margin-top: 3px; flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 14px; margin-bottom: 26px; font-size: .92rem; }
.alert .icon { width: 22px; height: 22px; margin-top: 1px; }
.alert-success { background: #E8F4EC; color: #1D5235; border: 1px solid #B5D9C1; }
.alert-error { background: #FBEDEA; color: #8A3324; border: 1px solid #EDC3BA; }
.alert-info { background: var(--ice); color: var(--green); border: 1px solid var(--blue); }

.notice-box { display: flex; gap: 14px; padding: 18px 20px; background: var(--ivory); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; font-size: .86rem; color: var(--muted); margin-bottom: 28px; }
.notice-box .icon { color: var(--gold-dark); width: 22px; height: 22px; }

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-card .cci { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green); color: var(--blue); flex-shrink: 0; }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.contact-card a { font-weight: 600; word-break: break-word; }

/* ---------- Services page detail ---------- */
.condition-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.condition-detail {
    display: flex; gap: 22px; padding: 30px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 20px);
    transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.condition-detail:hover, .condition-detail:target { box-shadow: var(--shadow); border-color: rgba(193, 163, 106, .5); }
.condition-detail .cd-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--ice); color: var(--green); flex-shrink: 0; }
.condition-detail .cd-icon .icon { width: 28px; height: 28px; }
.condition-detail h3 { font-size: 1.5rem; margin-bottom: 8px; }
.condition-detail p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .74rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--ivory); color: var(--green); border: 1px solid var(--line); }

.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.search-box { position: relative; max-width: 480px; margin: 0 auto 40px; }
.search-box input { width: 100%; padding: 16px 20px 16px 52px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; background: var(--white); box-shadow: var(--shadow-sm); }
.search-box input:focus { outline: none; border-color: var(--green-soft); box-shadow: 0 0 0 4px rgba(185, 223, 242, .5); }
.search-box .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.no-results { text-align: center; color: var(--muted); display: none; }

.risk-panel { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; padding: 44px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.risk-panel .rp-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(193, 163, 106, .18); color: var(--gold-dark); }
.risk-panel .rp-icon .icon { width: 38px; height: 38px; }
.risk-panel p { margin: 0; color: var(--muted); }

/* ---------- Patients page ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card { background: var(--white); border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); border-top: 3px solid var(--blue); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-top-color .35s; }
.resource-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-top-color: var(--gold); }
.resource-card .rc-icon { color: var(--green); margin-bottom: 18px; }
.resource-card .rc-icon .icon { width: 34px; height: 34px; }
.resource-card h3 { font-size: 1.4rem; }
.resource-card p, .resource-card li { font-size: .9rem; color: var(--muted); }
.resource-card ul { display: grid; gap: 8px; margin-top: 10px; }
.resource-card li { display: flex; gap: 10px; }
.resource-card li .icon { color: var(--green-soft); margin-top: 4px; }

.crisis-card { background: linear-gradient(160deg, var(--green), var(--green-deep)); color: rgba(247, 244, 236, .85); border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.crisis-card h2 { color: var(--ivory); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.crisis-card p { margin: 0; }
.crisis-numbers { display: flex; gap: 14px; flex-wrap: wrap; }
.crisis-number { text-align: center; padding: 18px 26px; border-radius: var(--radius); background: rgba(247, 244, 236, .06); border: 1px solid rgba(185, 223, 242, .25); }
.crisis-number strong { display: block; font-family: var(--font-serif); font-size: 2.4rem; color: var(--blue); line-height: 1; }
.crisis-number span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.crisis-number:hover { border-color: var(--gold); }

/* ---------- Legal ---------- */
.prose { max-width: 820px; margin: 0 auto; background: var(--white); padding: 56px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.prose h2 { font-size: 2rem; margin-top: 1.4em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1.1em; }

/* ---------- Floating quick contact ---------- */
.quick-contact { position: fixed; right: 24px; bottom: 24px; z-index: 90; }
.quick-contact-btn {
    width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
    background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--green-deep);
    box-shadow: 0 14px 30px -8px rgba(16, 38, 30, .5); display: grid; place-items: center;
    transition: transform .3s var(--ease);
}
.quick-contact-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.4s ease-out infinite; }
.quick-contact-btn:hover { transform: scale(1.06); }
.quick-contact-btn .icon { width: 26px; height: 26px; }
.qc-close { display: none; }
.quick-contact.open .qc-open { display: none; }
.quick-contact.open .qc-close { display: block; }
.quick-contact.open .quick-contact-btn::before { animation: none; opacity: 0; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.quick-contact-panel {
    position: absolute; right: 0; bottom: 78px; width: 270px; padding: 16px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); transform-origin: bottom right;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.quick-contact.open .quick-contact-panel { opacity: 1; visibility: visible; transform: none; }
.quick-title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--green); margin: 4px 8px 10px; }
.quick-contact-panel a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-size: .9rem; font-weight: 500; color: var(--text); }
.quick-contact-panel a .icon { color: var(--green); }
.quick-contact-panel a:hover { background: var(--ice); color: var(--green); }

.back-to-top {
    position: fixed; left: 24px; bottom: 24px; z-index: 89; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(193, 163, 106, .5); background: var(--green); color: var(--gold-light); cursor: pointer;
    display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1400px) {
    .header-phone > span:last-child { display: none; }
}

@media (max-width: 1240px) {
    .nav-top { padding: 10px 10px; font-size: .86rem; }
    .nav-parent > .nav-top { padding-right: 2px !important; }
    .header-inner { gap: 16px; }
    .header-actions { gap: 12px; }
}

/* Header switches to the hamburger menu */
@media (max-width: 1100px) {
    :root { --header-h: 74px; }
    .nav-toggle { display: flex; }
    .site-header, .site-header.scrolled { backdrop-filter: none; background: var(--green); }
    .header-phone { display: none; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 99;
        background: var(--green-deep); padding: 100px 28px 30px;
        transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
        overflow-y: auto; box-shadow: -20px 0 50px rgba(0, 0, 0, .3);
    }
    .main-nav.open { transform: none; visibility: visible; }
    .main-nav > ul { flex-direction: column; gap: 0; }
    .nav-top { font-family: var(--font-serif); font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid rgba(247, 244, 236, .08); }
    .nav-top::after { left: 0; right: auto; width: 40px; bottom: 10px; }
    .nav-mobile-extra { display: grid; gap: 12px; margin-top: 30px; }

    /* mega menu becomes an accordion */
    .nav-parent { justify-content: space-between; border-bottom: 1px solid rgba(247, 244, 236, .08); }
    .nav-parent > .nav-top { border-bottom: 0 !important; flex: 1; }
    .submenu-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(247, 244, 236, .18); }
    .has-mega:hover .submenu-toggle, .has-mega:focus-within .submenu-toggle { transform: none; }
    .has-mega.open .submenu-toggle { transform: rotate(180deg); color: var(--gold); }
    .mega-menu { position: static; padding: 0; opacity: 1; visibility: visible; transform: none; display: none; }
    .has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu { transform: none; }
    .has-mega.open .mega-menu { display: block; }
    .mega-inner { display: block; background: transparent; box-shadow: none; border: 0; padding: 14px 0 6px; border-radius: 0; }
    .mega-col { margin-bottom: 16px; }
    .mega-title { color: var(--gold); margin-left: 0; }
    .mega-list-2 { grid-template-columns: 1fr; }
    .main-nav .mega-list a { font-family: var(--font-sans); font-size: .9rem; padding: 8px 4px; border-bottom: 0; color: rgba(247, 244, 236, .85); }
    .main-nav .mega-list a:hover { background: rgba(247, 244, 236, .06); color: var(--white); }
    .mega-list .mi { background: rgba(185, 223, 242, .1); color: var(--blue); width: 30px; height: 30px; }
    .mega-promo { display: none; }

    .nav-toggle { position: relative; z-index: 101; }
    body.nav-open { overflow: hidden; }
    body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 98; }
}

@media (max-width: 1180px) {
    .conditions-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    .hide-md { display: none !important; }
    .service-layout { grid-template-columns: 1fr; }
    .service-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .side-cta { grid-column: 1 / -1; }
    .conditions-grid.related-grid { grid-template-columns: 1fr 1fr; }

    .hero { padding: 60px 0 130px; }
    .hero-inner { grid-template-columns: 1fr; gap: 70px; }
    .hero-text { text-align: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-visual { max-width: 400px; }
    .hero-badge.b1 { left: -20px; }
    .hero-badge.b2 { right: -10px; }

    .intro-grid { grid-template-columns: 1fr; }
    .intro-card { border-right: 0; border-bottom: 1px solid var(--line); }
    .intro-card:last-child { border-bottom: 0; }

    .split { grid-template-columns: 1fr; gap: 70px; }
    .split-media { max-width: 470px; margin: 0 auto; width: 100%; }
    .conditions-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
    .steps::before { display: none; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: 0; }
    .visit-grid { grid-template-columns: 1fr; }
    .map-wrap { min-height: 340px; }
    .cta-band-inner { flex-direction: column; text-align: center; }
    .cta-band p { margin: 0 auto; }
    .cta-band-actions { justify-content: center; }
    .contact-layout { grid-template-columns: 1fr; }
    .condition-detail-grid { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr 1fr; }
    .crisis-card { grid-template-columns: 1fr; text-align: center; }
    .crisis-numbers { justify-content: center; }
    .section { padding: 90px 0; }
}

@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .topbar-inner { justify-content: center; }
    .topbar-info { display: none; }
    .hide-sm { display: none !important; }
    .brand-name { font-size: 1.55rem; }
    .brand-sub { font-size: .55rem; letter-spacing: .22em; }
    .brand-mark { width: 38px; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { gap: 18px; justify-content: flex-start; text-align: left; }
    .hero-badge { padding: 10px 12px; font-size: .74rem; }
    .hero-badge .bi { width: 32px; height: 32px; }
    .hero-badge.b1 { left: -6px; bottom: 50px; }
    .hero-badge.b2 { right: -6px; top: 40px; }
    .conditions-grid, .services-grid, .why-grid, .resource-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { border-right: 0; padding: 20px 6px; }
    .check-list.two-col { grid-template-columns: 1fr; }
    .about-quote { position: relative; right: auto; bottom: auto; max-width: none; margin-top: -60px; margin-left: 20px; margin-right: 20px; font-size: 1.1rem; }
    .about-frame { display: none; }
    .form-card { padding: 30px 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .visit-info { padding: 40px 26px; }
    .prose { padding: 34px 22px; }
    .crisis-card { padding: 34px 22px; }
    .risk-panel { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; }
    .risk-panel .rp-icon { margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .cta-band-actions .btn { width: 100%; }
    .quick-contact { right: 16px; bottom: 16px; }
    .back-to-top { left: 16px; bottom: 16px; }
    .section-head { margin-bottom: 44px; }
    .info-columns, .prev-next, .service-sidebar, .conditions-grid.related-grid { grid-template-columns: 1fr; }
    .pn-next { text-align: left; }
    .info-box, .side-card { padding: 24px 20px; }
}


/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
    display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-media img.post-card-emblem { position: absolute; width: 34%; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .2; object-fit: contain; }
.post-card:hover .post-card-media img.post-card-emblem { transform: translate(-50%, -50%) scale(1.08); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .76rem; color: var(--muted); margin-bottom: 12px; }
.post-meta span + span::before { content: '·'; margin-right: 14px; }
.post-cat { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; color: var(--gold-dark); }
.post-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--green); }
.post-card h3 a:hover { color: var(--gold-dark); }
.post-card p { font-size: .9rem; color: var(--muted); }
.post-card .link-arrow { margin-top: auto; font-size: .86rem; }

.post-featured { margin-bottom: 30px; }
.post-card-large { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card-large .post-card-media { aspect-ratio: auto; min-height: 380px; }
.post-card-large .post-card-media img:not(.post-card-emblem) { position: absolute; inset: 0; object-position: center 20%; }
.post-card-large .post-card-body { padding: 44px; justify-content: center; }
.post-card-large h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.post-card-large p { font-size: 1rem; }

.blog-search { position: relative; display: flex; gap: 8px; max-width: 560px; margin: 34px auto 0; padding: 7px; background: rgba(255, 255, 255, .96); border-radius: 999px; box-shadow: var(--shadow); }
.blog-search .icon { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.blog-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 10px 10px 44px; font: inherit; color: var(--text); }
.blog-search input:focus { outline: none; }

.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.cat-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--text); }
.cat-chips a span { font-size: .72rem; background: var(--ice); color: var(--green); padding: 1px 8px; border-radius: 999px; }
.cat-chips a:hover { border-color: var(--green-soft); color: var(--green); }
.cat-chips a.active { background: var(--green); color: var(--ivory); border-color: var(--green); }
.cat-chips a.active span { background: rgba(255, 255, 255, .15); color: var(--ivory); }
.result-note { text-align: center; color: var(--muted); margin: -20px 0 34px; }
.result-note a { font-weight: 600; margin-left: 8px; }

.empty-state { text-align: center; max-width: 460px; margin: 20px auto; padding: 50px 30px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.empty-state img { margin: 0 auto 18px; }
.empty-state p { color: var(--muted); }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 54px; }
.pagination a { min-width: 44px; height: 44px; padding: 0 16px; display: grid; place-items: center; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--green); }
.pagination a:hover { border-color: var(--green); }
.pagination a.active { background: var(--green); color: var(--ivory); border-color: var(--green); }

/* Single post */
.post-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.post-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; margin-top: 22px; font-size: .88rem; color: rgba(247, 244, 236, .82); }
.post-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.post-hero-meta .icon { color: var(--gold); }
.author-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--gold); }
.post-section { padding-top: 70px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.post-article { background: var(--white); border-radius: var(--radius-lg); padding: 50px 56px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.post-featured-img { margin: -50px -56px 40px; }
.post-featured-img img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.post-content { font-size: 1.06rem; line-height: 1.85; color: #33413B; }
.post-content > *:first-child { margin-top: 0; }
.post-content h2 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); margin: 1.6em 0 .55em; scroll-margin-top: calc(var(--header-h) + 20px); }
.post-content h3 { font-size: 1.5rem; margin: 1.4em 0 .5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.post-content h4 { font-size: 1.25rem; margin: 1.2em 0 .5em; }
.post-content p { margin: 0 0 1.2em; }
.post-content a { color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.post-content ul, .post-content ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.post-content ul { list-style: none; padding-left: 0; }
.post-content ul li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.post-content ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(193, 163, 106, .18); }
.post-content ol li { margin-bottom: .55em; padding-left: 6px; }
.post-content ol li::marker { color: var(--gold-dark); font-weight: 700; }
.post-content blockquote { margin: 1.8em 0; padding: 26px 30px; background: var(--sage); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-serif); font-size: 1.45rem; font-style: italic; line-height: 1.45; color: var(--green); }
.post-content blockquote p:last-child { margin: 0; }
.post-content img { border-radius: var(--radius); margin: 1.4em auto; }
.post-content figure { margin: 1.6em 0; }
.post-content figcaption { text-align: center; font-size: .84rem; color: var(--muted); margin-top: 8px; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; display: block; overflow-x: auto; }
.post-content th, .post-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.post-content th { background: var(--sage); color: var(--green); }
.post-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1.4em 0; }
.post-content hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.post-content pre { background: var(--green-deep); color: var(--ivory); padding: 20px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .9rem; }
.post-tags .tag:hover { background: var(--green); color: var(--ivory); }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: .9rem; }
.share-row strong { margin-right: 6px; color: var(--green); }
.share-row a, .share-row button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--green); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.share-row a:hover, .share-row button:hover, .share-row button.copied { background: var(--green); color: var(--ivory); border-color: var(--green); }
.author-box { display: flex; gap: 22px; align-items: center; margin-top: 36px; padding: 28px; background: var(--ivory); border-radius: var(--radius); }
.author-box img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--gold); flex-shrink: 0; }
.author-box h3 { font-size: 1.45rem; margin-bottom: 6px; }
.author-box p { margin: 0; font-size: .9rem; color: var(--muted); }
.post-disclaimer { display: flex; gap: 10px; margin: 26px 0 0; font-size: .8rem; color: var(--muted); }
.post-disclaimer .icon { color: var(--gold-dark); margin-top: 3px; }

.post-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: grid; gap: 4px; }
.toc li a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .88rem; color: var(--muted); border-left: 2px solid transparent; }
.toc li a:hover, .toc li a.current { background: var(--ivory); color: var(--green); border-left-color: var(--gold); }
.toc .toc-h3 a { padding-left: 24px; font-size: .82rem; }

.preview-bar { background: var(--gold); color: var(--green-deep); text-align: center; padding: 10px 16px; font-size: .9rem; }
.preview-bar a { color: var(--green-deep); font-weight: 700; text-decoration: underline; margin-left: 8px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(247, 244, 236, .2); color: var(--ivory); }
.footer-social a:hover { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }

@media (max-width: 991px) {
    .post-grid { grid-template-columns: 1fr 1fr; }
    .post-card-large { grid-template-columns: 1fr; }
    .post-card-large .post-card-media { min-height: 240px; }
    .post-layout { grid-template-columns: 1fr; }
    .post-sidebar { position: static; }
    .post-article { padding: 40px 34px; }
    .post-featured-img { margin: -40px -34px 32px; }
}
@media (max-width: 640px) {
    .post-grid { grid-template-columns: 1fr; }
    .post-card-large .post-card-body { padding: 28px 24px; }
    .post-article { padding: 28px 20px; border-radius: var(--radius); }
    .post-featured-img { margin: -28px -20px 26px; }
    .post-featured-img img { border-radius: var(--radius) var(--radius) 0 0; }
    .post-content { font-size: 1rem; }
    .post-content blockquote { padding: 20px; font-size: 1.2rem; }
    .author-box { flex-direction: column; text-align: center; }
    .blog-search .btn { padding: 10px 16px; }
}

.brand-motto { margin: 4px 0 26px; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-serif); font-size: 1.2rem; font-style: italic; color: var(--green); }
.brand-motto strong { font-style: normal; font-weight: 600; }

@media (max-width: 991px) {
    .hero-text .eyebrow { justify-content: center; text-align: center; letter-spacing: .16em; }
    .hero-text .eyebrow::before { display: none; }
}
