/* ── Design tokens ───────────────────────────────────────── */
:root {
    --green-900: #1a2e27;
    --green-800: #2a4a3e;
    --green-700: #325748;
    --green-600: #3d6858;
    --beige:     #cac8c3;
    --beige-50:  #f4f3f0;
    --gold:      #b8916a;
    --white:     #ffffff;
    --radius:    10px;
    --t:         0.25s ease;
    --shadow-sm: 0 4px 16px rgba(0,0,0,.14);
    --shadow-md: 0 8px 32px rgba(0,0,0,.20);
    --shadow-lg: 0 16px 48px rgba(0,0,0,.28);
}

/* ── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--green-700);
    color: var(--white);
    font-family: 'Noto Sans Display', sans-serif;
    font-weight: 300;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 400;
}

a { color: inherit; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    background: rgba(26, 46, 39, 0.72) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(202,200,195,0.12);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .navbar-brand {
    font-family: 'Noto Sans Display', sans-serif;
    padding: 7px 8px !important;
}
.navbar .navbar-brand img { height: 44px; width: auto; }
.navbar .tagline-text {
    font-family: 'Lora', serif;
    font-size: 1.6rem;
    color: rgba(255,255,255,0.95);
    margin-left: 0.75rem;
    line-height: 1;
}
.navbar .nav-link {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82) !important;
    padding: 0.4rem 0.75rem !important;
    position: relative;
    font-weight: 300;
}
.navbar .nav-link:hover { color: var(--white) !important; }

/* Desktop only: animated gold underline */
@media (min-width: 992px) {
    .navbar .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px; left: 50%;
        width: 0; height: 1px;
        background: var(--gold);
        transition: width var(--t), left var(--t);
    }
    .navbar .nav-link:hover::after,
    .navbar .nav-link.active::after { width: 60%; left: 20%; }
}

/* Mobile: scale navbar wordmark on small screens */
@media (max-width: 767px) {
    .navbar .tagline-text { font-size: clamp(0.95rem, 3.5vw, 1.6rem); }
}

/* Mobile: gold text for active page; tidy dropdown caret */
@media (max-width: 991.98px) {
    .navbar .nav-link.active { color: var(--gold) !important; }
    .navbar .dropdown-toggle::after { color: rgba(255,255,255,0.5); }
}

.navbar .dropdown-menu {
    background: var(--green-900);
    border: 1px solid rgba(202,200,195,0.15);
    border-radius: var(--radius);
    margin-top: 0;
    padding-top: 0.75rem;
}
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
    .navbar .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
}
.navbar .dropdown-item {
    font-family: 'Noto Sans Display', sans-serif;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    padding: 0.5rem 1.25rem;
    font-weight: 300;
}
.navbar-fb-link img {
    height: 24px;
    width: auto;
    opacity: 0.75;
    transition: opacity var(--t), transform var(--t);
}
.navbar-fb-link:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

.navbar .dropdown-item:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}
.navbar .dropdown-item.active {
    background: rgba(184,145,106,0.25);
    color: var(--white);
}

/* ── Page header (inner pages) ───────────────────────────── */
.page-header {
    text-align: center;
    padding: 4rem 1rem 2.5rem;
}
.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    margin: 0;
    line-height: 1.25;
}

/* ── Section scaffolding ─────────────────────────────────── */
.section { padding: 5rem 0; }
.section-eyebrow {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 24px; height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.section-heading {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.3;
    margin-bottom: 1rem;
}
.section-sub {
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 520px;
    font-family: 'Noto Sans Display', sans-serif;
    font-weight: 300;
}

/* ── Content constraint (inner pages) ───────────────────── */
.content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

/* ── Content card (inner pages) ─────────────────────────── */
.content-card {
    background-color: var(--beige-50);
    color: var(--green-900);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.content-card h2 { color: var(--green-800); font-size: 1.4rem; }
.content-card h3 { color: var(--green-800); font-size: 1.15rem; }
.content-card h4 { color: var(--green-800); }
.content-card a { color: var(--green-700); }
.content-card a:hover { color: var(--green-900); }
.content-card hr {
    border-color: rgba(42,74,62,0.15);
    margin: 1.25rem 0;
}
.content-card ul { padding-left: 1.25rem; line-height: 1.8; }
.content-card p { line-height: 1.8; }

/* ── Acupuncture / FAQ headings ──────────────────────────── */
.acup-q {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-800);
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

/* ── Split card: photo + text panes ─────────────────────── */
.photo-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
}
.text-pane {
    background-color: var(--beige-50);
    color: var(--green-900);
    padding: 2rem;
}
.text-pane h2, .text-pane h3 { color: var(--green-800); }
.text-pane a { color: var(--green-700); }
.text-pane a:hover { color: var(--green-900); }
.btn-contact-fb {
    display: inline-block;
    background: transparent;
    color: var(--green-800);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.04em;
    border: 1px solid rgba(42,74,62,0.45);
    transition: border-color var(--t), background var(--t), transform var(--t);
}
.btn-contact-fb:hover {
    border-color: var(--green-800);
    background: rgba(42,74,62,0.08);
    color: var(--green-900);
    transform: translateY(-2px);
}

/* ── Dashed underline (credentials) ─────────────────────── */
.dashed-underline {
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--beige);
    font-size: 70%;
    cursor: help;
}

/* ── Pill nav ────────────────────────────────────────────── */
.nav-pills .nav-link {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.82rem;
    color: var(--beige);
    background-color: rgba(0,0,0,0.18);
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
    border-radius: 6px;
}
.nav-pills .nav-link:hover {
    background-color: rgba(0,0,0,0.32);
    color: var(--white);
}

/* ── Tagline image ───────────────────────────────────────── */
.tagline {
    height: 30px;
    margin-left: 0.75rem;
}

/* ── Hero (index page) ───────────────────────────────────── */
.hero {
    position: relative;
    height: 80vh;
    min-height: 540px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(26,46,39,0.88) 0%,
        rgba(42,74,62,0.65) 45%,
        rgba(50,87,72,0.15) 100%
    );
}
.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
}
.hero-wordmark {
    font-family: 'Lora', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    opacity: 0.92;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.hero h1 {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.18;
    margin: 0 0 1.25rem;
    color: var(--white);
}
.hero h1 em {
    font-style: italic;
    color: var(--beige);
}
.hero-sub {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 2.25rem;
    max-width: 380px;
    line-height: 1.7;
}

/* ── TEMP: Coming Soon badge — remove this block when ready to launch ── */
.hero-coming-soon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    font-family: 'Lora', serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-style: italic;
    font-weight: 400;
    color: var(--white);
    background: rgba(26, 46, 39, 0.72);
    border: 1px solid rgba(184, 145, 106, 0.6);
    border-radius: var(--radius);
    padding: 0.7rem 2.25rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.04em;
    pointer-events: none;
}
/* ── END TEMP ────────────────────────────────────────────── */

/* ── Hero scroll cue ─────────────────────────────────────── */
@keyframes hero-bounce {
    0%, 100% { transform: translateY(0);   opacity: 0.55; }
    50%       { transform: translateY(6px); opacity: 0.90; }
}
.hero-scroll-cue {
    display: none; /* hidden by default; shown via min-height query below */
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    animation: hero-bounce 2s ease-in-out infinite;
    pointer-events: none;
}
@media (min-height: 700px) {
    .hero-scroll-cue { display: block; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-hero-solid {
    display: inline-block;
    background: var(--white);
    color: var(--green-800);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background var(--t), transform var(--t);
}
.btn-hero-solid:hover {
    background: var(--beige);
    color: var(--green-900);
    transform: translateY(-2px);
}
.btn-hero-ghost {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    text-decoration: none;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255,255,255,0.45);
    transition: border-color var(--t), background var(--t), transform var(--t);
}
.btn-hero-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-about {
    display: inline-block;
    align-self: flex-start;
    background: transparent;
    color: var(--beige);
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius);
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid rgba(202,200,195,0.45);
    transition: background var(--t), border-color var(--t), transform var(--t);
}
.btn-about:hover {
    background: rgba(202,200,195,0.12);
    border-color: var(--beige);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-cta {
    display: inline-block;
    background: var(--beige);
    color: var(--green-900);
    padding: 0.85rem 2.25rem;
    border-radius: var(--radius);
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background var(--t), transform var(--t);
}
.btn-cta:hover {
    background: var(--white);
    color: var(--green-900);
    transform: translateY(-2px);
}

/* ── Stats bar ───────────────────────────────────────────── */
.stats-bar {
    background: var(--green-900);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(202,200,195,0.1);
}
.stat-item { text-align: center; padding: 0.5rem 1rem; overflow: hidden; }
.stat-item + .stat-item {
    border-left: 1px solid rgba(202,200,195,0.18);
}
.stat-number {
    display: block;
    font-family: 'Lora', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.9rem);
    font-weight: 400;
    color: var(--beige);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.stat-label {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: clamp(0.58rem, 1.5vw, 0.68rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
}

/* ── Service cards ───────────────────────────────────────── */
.service-card {
    background: var(--beige-50);
    color: var(--green-900);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t);
    height: 100%;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    color: var(--green-900);
}
.service-card-img { height: 210px; overflow: hidden; }
.service-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-tag {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
}
.service-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--green-800);
    margin-bottom: 0.6rem;
}
.service-card p {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.88rem;
    color: rgba(42,74,62,0.75);
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.65;
    font-weight: 300;
}
.service-card-cta {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-700);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--t);
}
.service-card:hover .service-card-cta { gap: 0.7rem; }

/* ── Benefit cards ───────────────────────────────────────── */
.benefit-card {
    background: var(--green-800);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.benefit-card-body {
    padding: 2rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.benefit-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}
.benefit-icon {
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
    margin-left: 1rem;
}
.benefit-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0;
}
.benefit-card p {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    flex: 1;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-weight: 300;
}
.benefit-result {
    border-top: 1px solid rgba(184,145,106,0.35);
    padding-top: 1rem;
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    font-weight: 300;
}
.benefit-result-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 0.35rem;
}

/* ── About strip ─────────────────────────────────────────── */
.about-strip {
    background: var(--green-900);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about-photo { min-height: 360px; overflow: hidden; }
.about-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.about-text {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-text .section-heading { color: var(--white); }
.about-text p {
    font-family: 'Noto Sans Display', sans-serif;
    font-weight: 300;
    opacity: 0.75;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

/* ── CTA strip ───────────────────────────────────────────── */
.cta-strip {
    background: var(--green-900);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184,145,106,0.5), transparent);
}
.cta-strip h2 {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}
.cta-strip p {
    font-family: 'Noto Sans Display', sans-serif;
    font-weight: 300;
    opacity: 0.65;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: rgba(0,0,0,0.3);
    color: rgba(202,200,195,0.55);
    text-align: center;
    padding: 1.5rem 1rem;
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    margin-top: 0;
}
.site-footer a { color: rgba(202,200,195,0.55); }
.site-footer a:hover { color: var(--beige); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .stat-item + .stat-item {
        border-left: none;
        border-top: 1px solid rgba(202,200,195,0.18);
    }
    .hero-content { padding-bottom: 3rem; }
    .about-text { padding: 2rem; }
    .section { padding: 3.5rem 0; }
    .page-header { padding: 3rem 1rem 2rem; }
    .text-pane { padding: 1.5rem; }
    .content-wrap { padding: 0 1rem 3rem; }
}
