/* ==========================================================================
   福氣好門 (Hooky Home) — 品牌首頁 v2 優雅現代版樣式表
   遵循 Modern Web Guidance: rem/clamp() 響應式字級、無單位 line-height、
   text-wrap: balance (短標題) 與 text-wrap: pretty (內文段落)
   ========================================================================== */

:root {
    --ink: var(--hh-brand-ink, #182440);
    --ink-soft: var(--hh-brand-ink-soft, #4D6082);
    --navy-deep: var(--hh-brand-primary-dark, #111A2E);
    --navy-primary: var(--hh-brand-primary, #223153);
    --navy-mid: var(--hh-brand-primary-mid, #31456F);
    --gold: var(--hh-brand-accent, #F5BF6A);
    --gold-light: var(--hh-brand-accent-light, #F8D79F);
    --gold-strong: var(--hh-brand-accent-strong, #9A641F);
    --gold-soft: var(--hh-brand-accent-soft, #FFF3DE);
    --paper: var(--hh-brand-canvas, #FBF8F1);
    --surface: var(--hh-brand-surface, #FFFFFF);
    --line: var(--hh-brand-line, rgba(34, 49, 83, 0.14));
    --shadow-elevated: 0 24px 60px rgba(17, 26, 46, 0.10);
    --font-serif: "Songti TC", "Noto Serif TC", "STSong", "Hiragino Mincho ProN", "PMingLiU", Georgia, serif;
    --font-sans: "PingFang TC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 0%, rgba(245, 191, 106, 0.14), transparent 36rem),
        radial-gradient(circle at 88% 42%, rgba(49, 69, 111, 0.06), transparent 40rem),
        linear-gradient(180deg, #FFFDF9 0%, var(--paper) 55%, #F3EDE0 100%);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.72;
    text-align: start;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

h1, h2, h3, h4 {
    margin-top: 0;
    font-family: var(--font-serif);
    font-weight: 600;
    text-wrap: balance;
}

p, blockquote, li {
    margin-top: 0;
    text-wrap: pretty;
}

.shell {
    width: min(1180px, calc(100% - 2.75rem));
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Header & Brand Logo
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    color: var(--paper);
    border-bottom: 1px solid rgba(245, 191, 106, 0.18);
    background: rgba(14, 21, 38, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav {
    min-height: 4.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
}

.brand-logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease;
}

.brand:hover .brand-logo-icon {
    transform: translateY(-1px) scale(1.02);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--paper);
    line-height: 1.2;
}

.brand-subtitle {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--gold);
    opacity: 0.9;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
}

.nav-links a {
    text-decoration: none;
    color: rgba(251, 248, 241, 0.84);
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
}

.nav-links a:hover {
    color: var(--gold-light);
    border-bottom-color: rgba(245, 191, 106, 0.5);
}

.nav-links .nav-cta {
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 191, 106, 0.45);
    color: var(--gold-light);
    background: rgba(245, 191, 106, 0.08);
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-links .nav-cta:hover {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   Hero Band & Main Visual
   -------------------------------------------------------------------------- */
.hero-band {
    position: relative;
    color: var(--paper);
    border-bottom: 1px solid rgba(154, 100, 31, 0.28);
    background:
        radial-gradient(circle at 82% 16%, rgba(245, 191, 106, 0.16), transparent 28rem),
        radial-gradient(circle at 12% 88%, rgba(56, 189, 248, 0.10), transparent 32rem),
        linear-gradient(155deg, #0D1526 0%, var(--navy-deep) 38%, var(--navy-primary) 78%, #283A63 100%);
    overflow: hidden;
}

/* 背景經緯微光裝飾網格 */
.hero-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(245, 191, 106, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(245, 191, 106, 0.035) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: radial-gradient(ellipse at 65% 40%, black 20%, transparent 75%);
    pointer-events: none;
}

.hero {
    position: relative;
    z-index: 1;
    padding: 4.25rem 0 3.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 3.5rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0 0 1.125rem;
    color: var(--gold-strong);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 1.75rem;
    height: 1px;
    background: currentColor;
    opacity: 0.75;
}

.hero-content .eyebrow {
    color: var(--gold);
}

.hero h1 {
    max-width: 15em;
    margin-bottom: 1.25rem;
    font-size: clamp(2.15rem, 1.35rem + 2.8vw, 3.5rem);
    line-height: 1.24;
    letter-spacing: 0.03em;
    color: #FFFDF9;
}

.hero-h1-sub {
    display: block;
    margin-top: 0.45rem;
    font-size: clamp(1.25rem, 0.95rem + 1.2vw, 1.75rem);
    font-weight: 500;
    color: var(--gold-light);
    letter-spacing: 0.05em;
}

.hero-lede {
    max-width: 62ch;
    margin-bottom: 0;
    color: rgba(251, 248, 241, 0.82);
    font-size: clamp(1.02rem, 0.96rem + 0.25vw, 1.15rem);
    line-height: 1.85;
    letter-spacing: 0.02em;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 2.125rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.125rem;
    padding: 0 1.5rem;
    border: 1px solid var(--navy-primary);
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.button-primary {
    color: var(--surface);
    background: var(--navy-primary);
}

.button-primary:hover {
    background: var(--navy-deep);
    transform: translateY(-1px);
}

.button-ghost {
    color: var(--ink);
    border-color: rgba(34, 49, 83, 0.32);
    background: transparent;
}

.button-ghost:hover {
    background: rgba(34, 49, 83, 0.06);
    border-color: var(--navy-primary);
}

.hero .button-primary {
    color: var(--navy-deep);
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    box-shadow: 0 10px 28px rgba(245, 191, 106, 0.22);
}

.hero .button-primary:hover {
    background: var(--gold-light);
    box-shadow: 0 14px 34px rgba(245, 191, 106, 0.32);
}

.hero .button-ghost {
    color: var(--paper);
    border-color: rgba(251, 248, 241, 0.38);
    background: rgba(255, 255, 255, 0.03);
}

.hero .button-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(245, 191, 106, 0.10);
}

/* --------------------------------------------------------------------------
   Hero Right Card: 三維決策羅盤 (Methodology Card)
   -------------------------------------------------------------------------- */
.hero-card {
    position: relative;
    overflow: hidden;
    padding: 2.25rem;
    border-radius: 1.75rem;
    color: var(--surface);
    border: 1px solid rgba(245, 191, 106, 0.28);
    background: linear-gradient(155deg, rgba(34, 49, 83, 0.78) 0%, rgba(15, 23, 42, 0.94) 100%);
    box-shadow: 0 28px 70px rgba(5, 11, 24, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* 同心等時圈幾何裝飾 */
.hero-card::after {
    content: "";
    position: absolute;
    right: -5.5rem;
    top: -5.5rem;
    width: 16rem;
    height: 16rem;
    border: 1px dashed rgba(245, 191, 106, 0.22);
    border-radius: 50%;
    box-shadow:
        0 0 0 2.5rem rgba(245, 191, 106, 0.03),
        0 0 0 5rem rgba(56, 189, 248, 0.03);
    pointer-events: none;
}

.hero-card-kicker {
    margin: 0 0 0.4rem;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.hero-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.65rem);
    line-height: 1.32;
    letter-spacing: 0.03em;
    color: #FFFDF9;
}

.hero-card > p {
    position: relative;
    z-index: 1;
    margin-bottom: 1.35rem;
    color: rgba(251, 248, 241, 0.74);
    font-size: 0.9125rem;
    line-height: 1.65;
}

.pillar-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pillar-item {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 0.95rem;
    background: rgba(10, 16, 30, 0.38);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pillar-item:hover {
    border-color: rgba(245, 191, 106, 0.38);
    background: rgba(17, 26, 46, 0.58);
}

.pillar-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(245, 191, 106, 0.35);
    background: rgba(245, 191, 106, 0.10);
    color: var(--gold-light);
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 600;
}

.pillar-body strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #FFFDF9;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
}

.pillar-body span {
    display: block;
    color: rgba(251, 248, 241, 0.72);
    font-size: 0.84rem;
    line-height: 1.55;
}

.hero-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(245, 191, 106, 0.18);
    text-align: center;
}

.hero-metric strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--gold-light);
    letter-spacing: 0.03em;
}

.hero-metric small {
    display: block;
    color: rgba(251, 248, 241, 0.65);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   買居詩箋 (Literary Epigraph Gallery) — 典雅書卷題銘長廊
   -------------------------------------------------------------------------- */
.hero-rotators {
    position: relative;
    z-index: 2;
    padding: 0 0 2.75rem;
}

.hero-rotator--verse {
    position: relative;
    padding: 1.5rem 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(245, 191, 106, 0.26);
    background:
        linear-gradient(90deg, rgba(245, 191, 106, 0.07) 0%, rgba(14, 22, 40, 0.55) 18%, rgba(14, 22, 40, 0.55) 82%, rgba(245, 191, 106, 0.07) 100%);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 28px rgba(245, 191, 106, 0.04);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
}

/* 左側古典印記章 */
.epigraph-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(245, 191, 106, 0.22);
    min-width: 6.5rem;
}

.hero-rotator-label {
    margin: 0;
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
}

.epigraph-sub {
    margin-top: 0.25rem;
    font-size: 0.625rem;
    letter-spacing: 0.18em;
    color: rgba(251, 248, 241, 0.52);
    text-transform: uppercase;
}

.epigraph-content {
    min-width: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.epigraph-content.is-fading,
.hero-rotator-text.is-fading {
    opacity: 0;
}

.hero-rotator-text {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem);
    line-height: 1.75;
    letter-spacing: 0.06em;
    color: rgba(255, 253, 248, 0.95);
    transition: opacity 0.35s ease;
}

.hero-rotator-translation {
    margin: 0.45rem 0 0;
    color: rgba(251, 248, 241, 0.72);
    font-family: var(--font-serif);
    font-size: 0.875rem;
    line-height: 1.65;
    letter-spacing: 0.03em;
}

.hero-rotator-cite {
    margin: 0.45rem 0 0;
    color: var(--gold-light);
    font-family: var(--font-serif);
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    opacity: 0.88;
}

/* 右側詩箋翻頁控制器 */
.epigraph-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(245, 191, 106, 0.16);
}

.epigraph-counter {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: rgba(245, 191, 106, 0.78);
    letter-spacing: 0.08em;
    min-width: 3.1rem;
    text-align: center;
}

.epigraph-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 191, 106, 0.3);
    background: rgba(245, 191, 106, 0.06);
    color: var(--gold-light);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.epigraph-btn:hover {
    background: rgba(245, 191, 106, 0.2);
    border-color: var(--gold);
    transform: scale(1.05);
}

/* 預留物件推薦池：維持隱藏契約 */
.hero-rotator--listing {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Services Section (#services)
   -------------------------------------------------------------------------- */
section {
    padding: 5.25rem 0;
}

.section-heading {
    max-width: 46rem;
    margin-bottom: 2.75rem;
}

.section-heading h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.85rem, 1.35rem + 1.8vw, 2.75rem);
    line-height: 1.24;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.section-heading p {
    max-width: 65ch;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.78;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    position: relative;
    overflow: hidden;
    min-height: 18.5rem;
    padding: 2.125rem;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-elevated);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--navy-primary));
    opacity: 0.85;
}

.card--map { --card-accent: var(--hh-product-map, #38BDF8); }
.card--price { --card-accent: var(--hh-product-price, #F59E0B); }
.card--community { --card-accent: var(--hh-product-community, #145C47); }

.card-link:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 49, 83, 0.35);
    box-shadow: 0 30px 68px rgba(17, 26, 46, 0.14);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--gold-strong);
    margin: 0;
}

.card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 49, 83, 0.05);
    border: 1px solid rgba(34, 49, 83, 0.10);
    color: var(--navy-primary);
}

.card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.card-pitch {
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.975rem;
    margin-bottom: 0.65rem;
}

.card-desc {
    color: var(--ink-soft);
    font-size: 0.925rem;
    line-height: 1.72;
    margin-bottom: 1.5rem;
}

.card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(34, 49, 83, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-primary);
}

.card-muted {
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.92) 0%, rgba(255, 245, 226, 0.68) 100%);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    color: var(--gold-strong);
    background: var(--gold-soft);
    border: 1px solid rgba(154, 100, 31, 0.2);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Advisor Profile Section (#hooky) — 精品人物誌與去背肖像名片匣
   -------------------------------------------------------------------------- */
.advisor-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
    padding: 3.25rem;
    border-radius: 2rem;
    border: 1px solid rgba(34, 49, 83, 0.14);
    background:
        radial-gradient(circle at 0% 0%, rgba(245, 191, 106, 0.14), transparent 24rem),
        var(--surface);
    box-shadow: var(--shadow-elevated);
}

.advisor-portrait-stage {
    position: relative;
    margin: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 28%, rgba(245, 191, 106, 0.24), transparent 62%),
        linear-gradient(160deg, #1B2847 0%, #0E1628 100%);
    border: 1px solid rgba(245, 191, 106, 0.35);
    box-shadow: 0 20px 48px rgba(17, 26, 46, 0.22);
    padding-top: 1.25rem;
}

/* 肖像背後古典拱門裝飾線 */
.advisor-portrait-stage::before {
    content: "";
    position: absolute;
    inset: 1.25rem 1.75rem 0;
    border: 1px solid rgba(245, 191, 106, 0.22);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    pointer-events: none;
}

.advisor-portrait-stage img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.3;
    object-fit: cover;
    object-position: center top;
}

.advisor-badge-bar {
    position: relative;
    z-index: 2;
    padding: 0.85rem 1.15rem;
    background: rgba(14, 21, 38, 0.92);
    border-top: 1px solid rgba(245, 191, 106, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--paper);
    font-size: 0.8125rem;
}

.advisor-badge-bar strong {
    color: var(--gold-light);
    font-family: var(--font-serif);
    letter-spacing: 0.08em;
}

.advisor-header h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.65rem);
    line-height: 1.2;
}

.advisor-alias {
    margin-bottom: 1.25rem;
    color: var(--gold-strong);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.advisor-quote {
    margin: 0 0 1.25rem;
    padding-left: 1rem;
    border-left: 3px solid var(--gold);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--navy-primary);
    line-height: 1.65;
}

.advisor-detail {
    max-width: 66ch;
    color: var(--ink-soft);
    font-size: 0.975rem;
    line-height: 1.8;
    margin-bottom: 1.35rem;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.specialty-tags li {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(34, 49, 83, 0.06);
    border: 1px solid rgba(34, 49, 83, 0.12);
    color: var(--navy-primary);
    font-size: 0.8125rem;
    font-weight: 500;
}

.advisor-contact-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.35rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(154, 100, 31, 0.24);
    background: linear-gradient(135deg, #FFFDF8 0%, var(--gold-soft) 100%);
}

.advisor-contact-box .actions {
    margin-top: 0.75rem;
}

.advisor-credentials {
    margin: 0;
    font-size: 0.84rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

.advisor-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem;
    border-radius: 0.85rem;
    background: var(--surface);
    border: 1px solid rgba(34, 49, 83, 0.12);
    box-shadow: 0 6px 18px rgba(17, 26, 46, 0.06);
    text-decoration: none;
}

.advisor-qr img {
    display: block;
    width: 4.75rem;
    height: 4.75rem;
    object-fit: contain;
}

.advisor-qr span {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--navy-primary);
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   GEO & AI SEO Knowledge FAQ Section (#faq)
   -------------------------------------------------------------------------- */
.faq-section {
    padding-top: 1.5rem;
}

.faq-list {
    display: grid;
    gap: 0.875rem;
    max-width: 54rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.78);
    padding: 1.15rem 1.5rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] {
    background: var(--surface);
    border-color: rgba(154, 100, 31, 0.35);
    box-shadow: 0 12px 32px rgba(17, 26, 46, 0.06);
}

.faq-item summary {
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gold-strong);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(34, 49, 83, 0.08);
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.78;
    max-width: 72ch;
}

/* --------------------------------------------------------------------------
   Footer & Version Comparison Switcher
   -------------------------------------------------------------------------- */
footer {
    padding: 2.5rem 0 3.5rem;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--ink-soft);
}

.footer-links a:hover {
    color: var(--navy-primary);
}

/* 新舊版即時對照浮動膠囊 */
.version-switcher {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(14, 21, 38, 0.92);
    border: 1px solid rgba(245, 191, 106, 0.42);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    font-size: 0.78rem;
}

.version-switcher a,
.version-switcher span {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.version-switcher .is-active {
    background: var(--gold);
    color: var(--navy-deep);
}

.version-switcher a {
    color: rgba(251, 248, 241, 0.82);
}

.version-switcher a:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 920px) {
    .hero,
    .advisor-shell {
        grid-template-columns: 1fr;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 3rem;
        gap: 2.25rem;
    }
    .hero-rotator--verse {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 1.25rem 1.35rem;
    }
    .epigraph-seal {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.75rem;
        padding-right: 0;
        padding-bottom: 0.65rem;
        border-right: 0;
        border-bottom: 1px solid rgba(245, 191, 106, 0.18);
    }
    .epigraph-sub {
        margin-top: 0;
    }
    .epigraph-controls {
        padding-left: 0;
        border-left: 0;
        justify-content: flex-end;
    }
    .advisor-shell {
        padding: 2rem;
        gap: 2rem;
    }
    .advisor-portrait-stage {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 1.75rem, 1180px);
    }
    .nav-links a:not(.nav-cta) {
        display: none;
    }
    .advisor-contact-box {
        grid-template-columns: 1fr;
    }
    .advisor-qr {
        justify-self: start;
        flex-direction: row;
        padding: 0.5rem 0.85rem;
        gap: 0.75rem;
    }
    .advisor-qr img {
        width: 3.5rem;
        height: 3.5rem;
    }
}
