/* ==========================================================================
   Olive Irvine Medical Aesthetic Center — Design System
   Palette: aubergine / orchid (brand logo) + champagne gold + olive sage
   ========================================================================== */

:root {
    --plum-900: #241428;
    --plum-800: #3a1f47;
    --plum-700: #4e2a5f;
    --plum-600: #6e3f86;
    --orchid-500: #9a5fb8;
    --orchid-300: #c49ad8;
    --orchid-100: #f0e6f6;

    --gold-600: #a9873f;
    --gold-500: #c3a46a;
    --gold-300: #e2d0a8;
    --gold-100: #f6efe1;

    --sage-600: #6c7d5d;
    --sage-400: #8fa07f;
    --sage-100: #eef1e9;

    --ivory: #fbf8f4;
    --sand: #f3ece4;
    --white: #ffffff;
    --ink: #241c29;
    --ink-soft: #5b5262;
    --line: rgba(36, 20, 40, 0.12);

    --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

    --wrap: 1240px;
    --wrap-narrow: 860px;
    --radius: 2px;
    --shadow-sm: 0 10px 30px rgba(36, 20, 40, 0.06);
    --shadow-md: 0 24px 60px rgba(36, 20, 40, 0.10);
    --shadow-lg: 0 40px 90px rgba(36, 20, 40, 0.16);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-600); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.005em;
    color: var(--plum-800);
    margin: 0 0 .6em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.2em; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--wrap-narrow); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 1.1rem;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold-500);
}

.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold-500);
}

.lede {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--ink-soft);
    line-height: 1.85;
}

.section { padding: clamp(64px, 9vw, 132px) 0; }
.section-tint { background: var(--white); }
.section-sand { background: var(--sand); }
.section-plum {
    background: linear-gradient(150deg, var(--plum-900) 0%, var(--plum-700) 55%, #5b3470 100%);
    color: rgba(255, 255, 255, .82);
}
.section-plum h2, .section-plum h3, .section-plum h4 { color: var(--white); }
.section-plum .lede { color: rgba(255, 255, 255, .74); }
.section-plum .eyebrow { color: var(--gold-300); }
.section-plum .eyebrow::before,
.section-plum .eyebrow::after { background: var(--gold-300); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 70px); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 38px;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .38s var(--ease);
}

.btn-primary {
    background: var(--plum-700);
    color: var(--white);
    border-color: var(--plum-700);
}
.btn-primary:hover {
    background: var(--plum-900);
    border-color: var(--plum-900);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: var(--gold-500);
    color: var(--plum-900);
    border-color: var(--gold-500);
}
.btn-gold:hover {
    background: var(--gold-600);
    border-color: var(--gold-600);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--plum-700);
    border-color: rgba(78, 42, 95, .35);
}
.btn-outline:hover { border-color: var(--plum-700); background: var(--plum-700); color: var(--white); }

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .45);
}
.btn-ghost-light:hover { background: var(--white); color: var(--plum-800); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.centered { justify-content: center; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .76rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--plum-700);
}
.text-link::after { content: "→"; transition: transform .35s var(--ease); }
.text-link:hover::after { transform: translateX(6px); }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--plum-900);
    color: rgba(255, 255, 255, .76);
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.topbar a { color: rgba(255, 255, 255, .88); }
.topbar a:hover { color: var(--gold-300); }
.topbar-items { display: flex; gap: 26px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(251, 248, 244, .93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .35s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 12px 34px rgba(36, 20, 40, .09); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-height: 92px;
}

.logo a { display: flex; align-items: center; gap: 14px; }
.logo svg { display: block; height: 52px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
    font-family: var(--font-display);
    font-size: 1.85rem;
    letter-spacing: .04em;
    color: var(--plum-800);
}
.logo-sub {
    font-size: .58rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-top: 5px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    position: relative;
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 8px 0;
    white-space: nowrap;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--gold-500);
    transition: width .35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--plum-700); }

.has-drop { position: relative; }
.drop {
    position: absolute;
    top: calc(100% + 14px);
    left: -22px;
    min-width: 268px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px 0;
    list-style: none;
    margin: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .3s var(--ease);
}
.has-drop:hover .drop,
.has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop li { display: block; }
.drop a {
    display: block;
    padding: 11px 26px;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}
.drop a::after { display: none; }
.drop a:hover { background: var(--orchid-100); color: var(--plum-700); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.25;
}
.header-phone span {
    font-size: .6rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.header-phone a { font-family: var(--font-display); font-size: 1.3rem; color: var(--plum-800); white-space: nowrap; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    background: none;
    border: 1px solid var(--line);
    cursor: pointer;
    position: relative;
}
.nav-toggle span {
    position: absolute;
    left: 13px;
    width: 20px; height: 1px;
    background: var(--plum-800);
    transition: all .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle.open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: min(92vh, 860px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--plum-900);
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-media video,
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(36, 20, 40, .88) 0%, rgba(58, 31, 71, .62) 46%, rgba(58, 31, 71, .12) 78%),
        linear-gradient(to top, rgba(36, 20, 40, .55), transparent 45%);
}
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 660px; padding: 120px 0; color: rgba(255, 255, 255, .86); }
.hero-copy h1 { color: var(--white); margin-bottom: .35em; }
.hero-copy h1 em { font-style: italic; color: var(--gold-300); }
.hero-copy .eyebrow { color: var(--gold-300); }
.hero-copy .eyebrow::before { background: var(--gold-300); }
.hero-copy .lede { color: rgba(255, 255, 255, .8); max-width: 540px; }

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-meta div { line-height: 1.4; }
.hero-meta strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--gold-300);
}
.hero-meta span {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    position: relative;
    padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 9vw, 120px);
    background: var(--plum-800);
    overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(36, 20, 40, .9) 0%, rgba(58, 31, 71, .74) 60%, rgba(78, 42, 95, .5) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 900px; }
.page-hero .lede { color: rgba(255, 255, 255, .78); max-width: 660px; }
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero .eyebrow::before { background: var(--gold-300); }

.crumbs {
    margin-top: 34px;
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .58);
}
.crumbs a { color: rgba(255, 255, 255, .82); }
.crumbs a:hover { color: var(--gold-300); }
.crumbs span { margin: 0 10px; }

/* ---------- Marquee strip ---------- */
.strip {
    background: var(--plum-900);
    color: rgba(255, 255, 255, .7);
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.strip-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: strip-scroll 42s linear infinite;
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    white-space: nowrap;
}
.strip-track span { display: inline-flex; align-items: center; gap: 60px; }
.strip-track span::after { content: "✦"; color: var(--gold-500); }
@keyframes strip-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 30px 30px 34px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: .45em; }
.card-body p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.4em; }
.card-body .text-link { margin-top: auto; }

.card-tag {
    position: absolute;
    top: 16px; left: 16px;
    background: rgba(251, 248, 244, .93);
    color: var(--plum-700);
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    padding: 7px 14px;
}

/* Feature list card (no image) */
.tile {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 40px 34px;
    transition: all .4s var(--ease);
}
.tile:hover { border-color: var(--gold-300); box-shadow: var(--shadow-sm); transform: translateY(-5px); }
.tile-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--gold-500);
    line-height: 1;
    display: block;
    margin-bottom: 18px;
}
.tile-icon { width: 44px; height: 44px; margin-bottom: 20px; color: var(--plum-600); }
.tile-icon svg { width: 100%; height: 100%; }
.tile p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Split feature ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 84px);
    align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media.wide img { aspect-ratio: 4 / 3; }
.split-frame::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid var(--gold-300);
    z-index: -1;
}
.split-badge {
    position: absolute;
    right: -26px;
    bottom: 40px;
    background: var(--plum-800);
    color: var(--white);
    padding: 26px 30px;
    max-width: 230px;
    box-shadow: var(--shadow-md);
}
.split-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 400;
    color: var(--gold-300);
    line-height: 1;
}
.split-badge span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0 0 1.6em; padding: 0; }
.checklist li {
    position: relative;
    padding: 0 0 14px 34px;
    color: var(--ink-soft);
    font-size: .97rem;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 4px; top: 11px;
    width: 13px; height: 7px;
    border-left: 1px solid var(--gold-600);
    border-bottom: 1px solid var(--gold-600);
    transform: rotate(-45deg);
}
.section-plum .checklist li { color: rgba(255,255,255,.76); }
.section-plum .checklist li::before { border-color: var(--gold-300); }

/* ---------- Treatment detail rows ---------- */
.detail-row {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    padding: clamp(40px, 5vw, 70px) 0;
    border-bottom: 1px solid var(--line);
}
.detail-row:last-child { border-bottom: none; }
.detail-row.reverse .detail-media { order: 2; }
.detail-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.detail-body h3 { margin-bottom: .5em; }
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    list-style: none;
}
.detail-meta li { line-height: 1.35; }
.detail-meta strong {
    display: block;
    font-size: .62rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 5px;
}
.detail-meta span { font-size: .93rem; color: var(--ink); }

/* ---------- Video ---------- */
.video-card {
    position: relative;
    overflow: hidden;
    background: var(--plum-900);
    border: 1px solid var(--line);
}
.video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.video-caption { padding: 24px 26px 28px; background: var(--white); }
.video-caption h4 { margin-bottom: .3em; }
.video-caption p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

.video-feature {
    position: relative;
    overflow: hidden;
}
.video-feature video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

/* ---------- Testimonials ---------- */
.quote-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.stars { color: var(--gold-500); letter-spacing: .28em; font-size: .95rem; }
.quote-card blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.24rem;
    line-height: 1.6;
    color: var(--plum-800);
    font-style: italic;
}
.quote-card cite {
    font-style: normal;
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: auto;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 400;
    color: var(--gold-500);
    line-height: 1;
    margin-bottom: 12px;
}
.stat span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.66); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 26px 46px 26px 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--plum-800);
    cursor: pointer;
    position: relative;
    line-height: 1.4;
}
.acc-q::after {
    content: "+";
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--gold-600);
    transition: transform .35s var(--ease);
}
.acc-item.open .acc-q::after { content: "–"; }
.acc-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s var(--ease);
}
.acc-a-inner { padding: 0 40px 26px 0; color: var(--ink-soft); font-size: .97rem; }
.acc-item.open .acc-a { max-height: 700px; }

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.gallery-item { position: relative; overflow: hidden; background: var(--sand); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform 1.1s var(--ease); }
.gallery-item.tall img { aspect-ratio: 3 / 4; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 26px 22px 18px;
    background: linear-gradient(to top, rgba(36, 20, 40, .82), transparent);
    color: var(--white);
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 76px); }
.info-block { margin-bottom: 34px; }
.info-block h4 {
    font-family: var(--font-body);
    font-size: .68rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 10px;
}
.info-block p { margin: 0; font-size: 1.02rem; }
.info-block a { color: var(--plum-800); }

.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; color: var(--ink); }
.hours-table tr.closed td:last-child { color: var(--orchid-500); }

.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    padding: clamp(28px, 4vw, 46px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
    font-size: .64rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: .97rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--orchid-300);
    background: var(--white);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { width: 100%; margin-top: 22px; }
.form-note { font-size: .78rem; color: var(--ink-soft); margin: 16px 0 0; line-height: 1.6; }

/* captcha row injected by /submit-contact?js=1 */
.captcha-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.captcha-row img { border: 1px solid var(--line); background: var(--white); }
.captcha-row input { max-width: 160px; }

.map-frame { border: 1px solid var(--line); overflow: hidden; line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    padding: clamp(64px, 8vw, 110px) 0;
    background: linear-gradient(135deg, var(--plum-900), var(--plum-700) 60%, #62397a);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.cta-band::before,
.cta-band::after {
    content: "";
    position: absolute;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 164, 106, .18), transparent 68%);
}
.cta-band::before { top: -180px; left: -120px; }
.cta-band::after { bottom: -220px; right: -140px; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 620px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
footer {
    background: var(--plum-900);
    color: rgba(255, 255, 255, .68);
    padding: clamp(56px, 7vw, 88px) 0 30px;
    font-size: .93rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 44px;
    margin-bottom: 52px;
}
.footer-section h3 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .24em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.footer-section p { margin-bottom: .8em; line-height: 1.8; }
.footer-section a { color: rgba(255, 255, 255, .78); }
.footer-section a:hover { color: var(--gold-300); }
.footer-brand-mark { margin-bottom: 22px; }
.footer-brand-mark svg { height: 58px; width: auto; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
    width: 38px; height: 38px;
    border: 1px solid rgba(255, 255, 255, .22);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .3s var(--ease);
}
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--plum-900); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .5);
    font-size: .82rem;
}
.footer-bottom p { margin-bottom: .5rem; }
.footer-partner { margin-top: 18px; font-size: .82rem; color: rgba(255, 255, 255, .58); }
.footer-partner a { color: var(--gold-300); }
.footer-partner a:hover { color: var(--white); }
.footer-legal { font-size: .76rem; color: rgba(255,255,255,.4); max-width: 780px; margin: 14px auto 0; line-height: 1.7; }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.lang-zh { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
    .header-phone { display: none; }
    .main-nav ul { gap: 20px; }
}

@media (max-width: 1080px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 36px; }
    .main-nav ul { gap: 16px; }
    .main-nav a { font-size: .72rem; letter-spacing: .12em; }
}

@media (max-width: 960px) {
    .main-nav {
        position: fixed;
        top: 0; right: 0;
        width: min(84vw, 380px);
        height: 100dvh;
        background: var(--ivory);
        border-left: 1px solid var(--line);
        padding: 96px 32px 40px;
        transform: translateX(100%);
        transition: transform .45s var(--ease);
        overflow-y: auto;
        z-index: 950;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
    .main-nav > ul > li { width: 100%; border-bottom: 1px solid var(--line); }
    .main-nav a { display: block; padding: 15px 0; font-size: .82rem; }
    .drop {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 12px 14px;
        min-width: 0;
        display: none;
    }
    .has-drop.open .drop { display: block; }
    .drop a { padding: 9px 0; }
    .nav-toggle { display: block; z-index: 960; }
    .nav-backdrop {
        position: fixed; inset: 0;
        background: rgba(36, 20, 40, .45);
        opacity: 0; visibility: hidden;
        transition: all .4s var(--ease);
        z-index: 940;
    }
    .nav-backdrop.show { opacity: 1; visibility: visible; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split, .detail-row, .contact-layout { grid-template-columns: 1fr; }
    .split.reverse .split-media,
    .detail-row.reverse .detail-media { order: 0; }
    .split-badge { position: static; margin-top: 20px; max-width: none; }
    .split-frame::before { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .topbar .container { justify-content: center; text-align: center; }
    .topbar-items { gap: 16px; justify-content: center; }
    .topbar-note { display: none; }
    .hero-copy { padding: 84px 0 70px; }
    .hero-meta { gap: 18px 22px; }
    .hero-meta strong { font-size: 1.55rem; }
    .hero-meta span { font-size: .6rem; letter-spacing: .14em; }
    .eyebrow {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        font-size: .64rem;
        letter-spacing: .2em;
        gap: 10px;
    }
    .eyebrow::before, .eyebrow.centered::after { margin-top: .55em; width: 22px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .logo-name { font-size: 1.5rem; }
    .logo svg { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
