:root {
    --bg: #f7f1e8;
    --paper: rgba(255, 251, 245, 0.82);
    --paper-strong: #fffaf3;
    --ink: #261d17;
    --muted: #6d6057;
    --line: rgba(84, 63, 51, 0.12);
    --gold: #9b7b53;
    --gold-soft: rgba(155, 123, 83, 0.12);
    --shadow: 0 18px 42px rgba(49, 34, 24, 0.08);
    --radius: 28px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background:
        radial-gradient(circle at top left, rgba(191, 170, 137, 0.13), transparent 28%),
        radial-gradient(circle at right 12%, rgba(170, 148, 124, 0.11), transparent 24%),
        linear-gradient(180deg, #f6f0e8 0%, #f8f4ee 44%, #f5efe5 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.18), rgba(255,255,255,0.18)),
        repeating-linear-gradient(90deg, transparent 0 119px, rgba(0,0,0,0.015) 119px 120px);
    pointer-events: none;
    opacity: 0.22;
    z-index: -1;
}

h1, h2, h3, h4 {
    margin: 0 0 12px;
    line-height: 1.12;
    color: var(--ink);
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-weight: 600;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2.8vw, 2rem); }
p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    background: rgba(69, 53, 43, 0.9);
    color: rgba(255, 247, 238, 0.9);
    font-size: 0.86rem;
    letter-spacing: 0.04em;
}

.topbar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.topbar a { color: #f8efe4; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(248, 242, 234, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(84, 63, 51, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}

.brand {
    display: flex;
    align-items: center;
}

.brand strong {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand small {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--ink);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(255, 251, 245, 0.9);
    color: var(--ink);
    border-radius: 999px;
    padding: 8px 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 22px;
    font: inherit;
    font-weight: 600;
    background: linear-gradient(135deg, #4e3b30 0%, #8f7153 100%);
    color: #fff8f1;
    box-shadow: 0 14px 24px rgba(78, 59, 48, 0.16);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 28px rgba(78, 59, 48, 0.18);
}

.btn-outline {
    background: rgba(255, 251, 245, 0.34);
    border-color: rgba(255, 248, 241, 0.4);
    color: #fffdf9;
    box-shadow: none;
}

.site-nav .btn-outline {
    background: rgba(255, 251, 245, 0.72);
    border-color: rgba(84, 63, 51, 0.12);
    color: var(--ink);
}

.btn-small {
    padding: 9px 16px;
    font-size: 0.86rem;
}

.hero {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    margin: 28px auto 0;
    aspect-ratio: 16 / 9;
    min-height: auto;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 24px 54px rgba(49, 34, 24, 0.14);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: none;
    transform: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(28, 22, 19, 0.52) 8%, rgba(28, 22, 19, 0.12) 56%, rgba(28, 22, 19, 0.26) 100%),
        linear-gradient(180deg, rgba(16, 11, 9, 0.04) 0%, rgba(16, 11, 9, 0.22) 100%);
}

.hero-split {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 3.2vw, 44px);
}

.hero-copy {
    max-width: 760px;
    color: #fff9f2;
}

.hero-copy h1,
.hero-copy .lead,
.hero-copy .eyebrow {
    color: #fff9f2;
}

.hero-copy h1 {
    font-size: clamp(2rem, 3.6vw, 4rem);
    line-height: 1.04;
    max-width: none;
    white-space: nowrap;
}

.lead {
    font-size: clamp(0.94rem, 1.18vw, 1.04rem);
    max-width: 46ch;
    color: rgba(255, 248, 241, 0.84);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 0;
}

.hero-facts {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.hero-facts span,
.retreat-tag,
.doctor-discipline {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 248, 241, 0.22);
    background: rgba(255, 251, 245, 0.1);
    color: #fff6ee;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-facts span {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 248, 241, 0.9);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.hero-facts span::before {
    content: "- ";
}

.hero-slogan-band {
    margin-top: 14px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 247, 238, 0.18);
    border-bottom: 1px solid rgba(255, 247, 238, 0.18);
    background: rgba(250, 245, 239, 0.08);
    backdrop-filter: blur(8px);
}

.slogan-track {
    display: flex;
    width: max-content;
    gap: 56px;
    padding: 12px 0;
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-size: clamp(1rem, 1.45vw, 1.45rem);
    color: rgba(255, 248, 241, 0.92);
    animation: slogan-scroll 20s linear infinite;
    white-space: nowrap;
}

@keyframes slogan-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.section {
    padding: 100px 0;
}

.section.muted {
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.45), rgba(243, 236, 226, 0.72));
}

.section-intro {
    max-width: 740px;
    margin-bottom: 34px;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
}

.muted,
.muted-text {
    color: var(--muted);
}

.grid-2,
.grid-3,
.story-grid,
.retreat-grid,
.review-grid,
.doctors-grid,
.feature-columns {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3,
.retreat-grid,
.review-grid,
.doctors-grid,
.feature-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.story-card,
.retreat-card,
.review-card,
.doctor-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.88), rgba(250, 244, 236, 0.72));
    box-shadow: var(--shadow);
}

.card,
.retreat-card,
.review-card,
.doctor-card {
    padding: 28px;
}

.story-card {
    padding: 20px;
}

.story-image {
    min-height: 210px;
    border-radius: 22px;
    margin-bottom: 22px;
    background-color: #ece2d4;
}

.ink-wash {
    background:
        linear-gradient(180deg, rgba(25, 21, 17, 0.08), rgba(25, 21, 17, 0.08)),
        url("../file/authentic-tcm-consultation-closeup.png") center/cover no-repeat;
}

.tea-mist {
    background:
        linear-gradient(180deg, rgba(255, 248, 240, 0.08), rgba(86, 58, 33, 0.12)),
        url("../file/restoration-incense-zen.png") center/cover no-repeat;
}

.mountain-light {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(61, 44, 29, 0.12)),
        url("../file/meaningful-cultural-immersion.jpg") center/cover no-repeat;
}

.retreat-card,
.doctor-card {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.retreat-card-large {
    min-height: 340px;
}

.retreat-card.has-image {
    padding: 0;
}

.retreat-card-copy {
    padding: 28px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.retreat-card-copy .text-link {
    margin-top: auto;
    padding-top: 18px;
}

.retreat-image {
    min-height: 220px;
    border-bottom: 1px solid rgba(123, 92, 57, 0.12);
    background-color: #e8dcc9;
}

.retreat-image-jing {
    background:
        radial-gradient(circle at 22% 24%, rgba(255, 248, 240, 0.72), transparent 18%),
        radial-gradient(circle at 72% 30%, rgba(186, 139, 92, 0.32), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.16), rgba(84, 63, 43, 0.16)),
        linear-gradient(135deg, #f0e5d6 0%, #d6c0a0 42%, #a78660 100%);
}

.retreat-image-elements {
    background:
        radial-gradient(circle at 20% 72%, rgba(112, 141, 93, 0.42), transparent 18%),
        radial-gradient(circle at 50% 20%, rgba(197, 97, 59, 0.32), transparent 16%),
        radial-gradient(circle at 78% 68%, rgba(90, 118, 156, 0.34), transparent 18%),
        radial-gradient(circle at 82% 26%, rgba(216, 190, 124, 0.34), transparent 14%),
        radial-gradient(circle at 36% 46%, rgba(150, 108, 76, 0.28), transparent 18%),
        linear-gradient(140deg, #eee0cc 0%, #d8c0a2 48%, #b79a77 100%);
}

.retreat-image-imperial {
    background:
        radial-gradient(circle at 24% 26%, rgba(255, 232, 184, 0.46), transparent 20%),
        radial-gradient(circle at 76% 24%, rgba(124, 46, 26, 0.28), transparent 20%),
        linear-gradient(180deg, rgba(59, 38, 18, 0.12), rgba(59, 38, 18, 0.24)),
        linear-gradient(135deg, #f3e2c1 0%, #d3ab6e 34%, #8b5a2b 100%);
}

.retreat-card::before,
.doctor-card::before,
.review-card::before,
.card::before {
    content: "";
    position: absolute;
    inset: auto -30px -34px auto;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(155, 123, 83, 0.1), transparent 70%);
    pointer-events: none;
}

.retreat-card .retreat-tag {
    margin-bottom: 18px;
    background: var(--gold-soft);
    border-color: rgba(155, 123, 83, 0.18);
    color: var(--gold);
}

.doctor-discipline {
    margin-bottom: 18px;
    background: var(--gold-soft);
    border-color: rgba(155, 123, 83, 0.18);
    color: var(--gold);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #7f6141;
    font-weight: 700;
}

.text-link::after {
    content: "↗";
    font-size: 0.9em;
}

.page-hero {
    padding: 88px 0 48px;
    background:
        radial-gradient(circle at left top, rgba(191, 170, 137, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 251, 245, 0.64), rgba(245, 237, 227, 0.82));
    border-bottom: 1px solid rgba(84, 63, 51, 0.08);
}

.page-hero-image {
    position: relative;
    overflow: hidden;
    padding: 116px 0 92px;
    background: #1e1813;
    border-bottom: none;
}

.page-hero-backdrop {
    position: absolute;
    inset: 0;
    background-position: center 58%;
    background-size: cover;
    transform: scale(1.03);
}

.page-hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(27, 20, 15, 0.72) 0%, rgba(27, 20, 15, 0.46) 42%, rgba(27, 20, 15, 0.2) 100%),
        linear-gradient(180deg, rgba(18, 13, 10, 0.08), rgba(18, 13, 10, 0.42));
}

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

.page-hero-panel {
    max-width: 640px;
    padding: 32px 34px;
    border: 1px solid rgba(255, 244, 230, 0.2);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(45, 34, 25, 0.46), rgba(45, 34, 25, 0.3));
    backdrop-filter: blur(10px);
    box-shadow: 0 28px 60px rgba(20, 13, 8, 0.18);
}

.page-hero-panel .eyebrow,
.page-hero-panel h1,
.page-hero-panel p {
    color: #f8efe4;
}

.page-hero-panel h1 {
    margin-bottom: 16px;
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.page-hero-panel p {
    margin: 0;
    max-width: 52ch;
    color: rgba(248, 239, 228, 0.88);
}

.site-footer {
    margin-top: 48px;
    color: #f7ede3;
    background:
        radial-gradient(circle at top left, rgba(155, 123, 83, 0.16), transparent 24%),
        linear-gradient(180deg, #2d241d 0%, #1c1713 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
    padding: 52px 0 28px;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: rgba(247, 237, 227, 0.84);
}

.footer-copy {
    padding: 16px 0 28px;
    border-top: 1px solid rgba(255, 247, 238, 0.12);
    color: rgba(247, 237, 227, 0.7);
    font-size: 0.9rem;
}

.assessment-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 80;
}

.assessment-modal.open { display: block; }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 23, 19, 0.56);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    width: min(680px, calc(100% - 28px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    margin: 20px auto;
    padding: 30px;
    border-radius: 28px;
    border: 1px solid rgba(84, 63, 51, 0.08);
    background: linear-gradient(180deg, #fffaf3 0%, #f6eee3 100%);
    box-shadow: 0 24px 60px rgba(28, 23, 19, 0.2);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.8rem;
    cursor: pointer;
}

.lead-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.lead-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.95rem;
}

.lead-form input,
.lead-form textarea {
    border: 1px solid rgba(84, 63, 51, 0.12);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    color: var(--ink);
    background: rgba(255, 251, 245, 0.9);
}

.lead-form input:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: rgba(155, 123, 83, 0.38);
    box-shadow: 0 0 0 4px rgba(155, 123, 83, 0.08);
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 50;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4e3b30 0%, #8f7153 100%);
    color: #fff7ef;
    font-weight: 700;
    box-shadow: 0 14px 24px rgba(78, 59, 48, 0.18);
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .site-nav {
        position: absolute;
        top: 84px;
        right: 20px;
        min-width: 260px;
        padding: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 22px;
        border: 1px solid var(--line);
        background: rgba(255, 250, 244, 0.97);
        box-shadow: var(--shadow);
    }

    .site-nav.open { display: flex; }
    .nav-toggle { display: inline-flex; }
    .hero {
        width: min(100% - 24px, 1180px);
        aspect-ratio: 16 / 9;
        border-radius: 24px;
    }
    .hero-split { padding: 22px 20px; }
    .hero-copy { max-width: 620px; }
    .hero-copy h1 {
        font-size: clamp(1.5rem, 3vw, 2.4rem);
        max-width: none;
    }
    .page-hero-image {
        padding: 96px 0 74px;
    }
    .page-hero-panel {
        max-width: 560px;
        padding: 26px 24px;
    }
    .lead {
        font-size: 0.9rem;
        max-width: 42ch;
    }
    .story-grid,
    .retreat-grid,
    .review-grid,
    .doctors-grid,
    .feature-columns,
    .grid-3,
    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-slogan-band { margin-top: 12px; }
    .slogan-track {
        padding: 10px 0;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .container { width: min(100% - 24px, 1180px); }
    .section { padding: 72px 0; }
    .topbar-inner { align-items: flex-start; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-copy { max-width: none; }
    .hero {
        aspect-ratio: 16 / 9;
        min-height: 360px;
    }
    .page-hero-image {
        padding: 88px 0 56px;
    }
    .page-hero-backdrop {
        background-position: center center;
    }
    .page-hero-panel {
        padding: 22px 18px;
        border-radius: 24px;
    }
    .page-hero-panel h1 {
        font-size: clamp(1.7rem, 7vw, 2.5rem);
    }
    .hero-copy h1 {
        font-size: clamp(1.35rem, 6vw, 1.9rem);
        max-width: none;
        white-space: normal;
    }
    .lead {
        font-size: 0.84rem;
        max-width: 34ch;
    }
    .hero-facts span:nth-child(3) {
        display: none;
    }
    .slogan-track {
        gap: 32px;
        font-size: 0.88rem;
    }
    .modal-card { padding: 24px 18px; }
    .whatsapp-float {
        right: 12px;
        left: 12px;
        bottom: 12px;
        justify-content: center;
        text-align: center;
    }
}
