/* ============ SECTION ORNAMENT ============ */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--accent-gold);
}

/* ============ DECORATIVE DIVIDER ============ */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 12px auto 0;
    max-width: 220px;
}
.section-divider::before { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-gold)); }
.section-divider::after  { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent-gold), transparent); }

.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 14px auto 0;
    max-width: 260px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    opacity: 0.75;
}
.section-ornament::before { content:''; flex:1; height:1px; background:linear-gradient(90deg,transparent,var(--border-gold)); }
.section-ornament::after  { content:''; flex:1; height:1px; background:linear-gradient(90deg,var(--border-gold),transparent); }

/* SVG Lotus Divider */
.lotus-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px auto 0;
    max-width: 200px;
    color: var(--accent-gold);
}
.lotus-svg { width: 100%; height: 28px; }

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    height: var(--header-height);
}
.header.scrolled {
    box-shadow: 0 2px 24px rgba(26,26,46,0.09);
    border-bottom-color: transparent;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* ── Logo ── */
.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--text-primary);
    flex-shrink: 0;
    letter-spacing: 0.01em;
}
.logo:hover { color: var(--text-primary); opacity: 0.85; }
.logo .logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-gold);
    box-shadow: 0 4px 14px rgba(26,26,46,0.20);
    border: 1px solid rgba(201,168,76,0.20);
}

/* ── Navigation ── */
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.88rem;
    position: relative;
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    letter-spacing: 0.01em;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 26px);
    height: 1.5px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: transform 0.25s var(--ease);
}
.nav a:hover { color: var(--text-primary); background: rgba(26,26,46,0.04); }
.nav a:hover::after, .nav a.active::after { transform: translateX(-50%) scaleX(1); }
.nav a.active { color: var(--text-primary); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.search-trigger { padding: 8px 10px !important; border-radius: var(--radius-pill) !important; }
.header-action-link { gap: 6px; border-radius: var(--radius-pill) !important; }
.header-book-btn {
    padding: 9px 20px !important;
    font-size: 0.83rem;
    white-space: nowrap;
    border-radius: var(--radius-pill) !important;
    background: linear-gradient(135deg, #C9871A 0%, #A86A0A 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 14px rgba(180,110,10,0.38) !important;
    border: none !important;
}
.header-book-btn:hover {
    background: linear-gradient(135deg, #D99520 0%, #B87512 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 22px rgba(180,110,10,0.52) !important;
    transform: translateY(-1px);
}
.book-text-full { display: inline; }
.book-text-short, .book-text-icon { display: none; }

/* ============ HAMBURGER ============ */
.hamburger {
    display: none;
    width: 38px; height: 38px;
    background: none; border: none;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    -webkit-tap-highlight-color: transparent;
}
.hamburger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    left: 8px;
    transition: all 0.3s var(--ease);
}
.hamburger span:nth-child(1) { top: 11px; }
.hamburger span:nth-child(2) { top: 18px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger.active span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* ============ MOBILE NAV PANEL ============ */
.nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(26,26,46,0.45);
    z-index: 1050;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.active { display: block; opacity: 1; }

@media (max-width: 768px) {
    .nav { display: none; }
    .nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; right: 0;
        width: min(300px, 82vw);
        height: 100dvh;
        background: var(--bg-card);
        border-left: 1px solid var(--border-color);
        z-index: 1100;
        padding: 90px 24px 32px;
        overflow-y: auto;
        animation: slideInRight 0.28s var(--ease);
        box-shadow: -12px 0 60px rgba(26,26,46,0.14);
        gap: 0;
    }
    .nav.active a {
        padding: 15px 0;
        font-size: 1.05rem;
        font-weight: 500;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        background: none;
    }
    .nav.active a::after { display: none; }
    .nav.active a:hover, .nav.active a.active { color: var(--primary); padding-left: 6px; background: none; }
    .header-actions { gap: 4px; }
    .header-action-link { display: none !important; }
    .book-text-full, .book-text-short { display: none !important; }
    .book-text-icon { display: inline !important; }
    .header-book-btn { padding: 8px 14px !important; }
    .hamburger { display: flex; align-items: center; justify-content: center; }
    .hide-mobile { display: none !important; }
}
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-saffron) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(199,91,57,0.35);
    border: none;
    letter-spacing: 0.025em;
    font-weight: 700;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(199,91,57,0.50);
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-gold) 100%);
    filter: brightness(1.06);
}
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(199,91,57,0.30);
}
.btn-gold {
    background: linear-gradient(135deg, #E4C55A 0%, #C9871A 100%);
    color: #3A2800;
    box-shadow: 0 4px 20px rgba(180,110,10,0.30);
    font-weight: 700;
    border: none;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(180,110,10,0.42);
    color: #2A1E00;
    background: linear-gradient(135deg, #EDD070 0%, #D99520 100%);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--text-primary);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-card);
    box-shadow: var(--shadow);
}
.btn-outline-gold {
    background: transparent;
    border: 1.5px solid var(--accent-gold);
    color: var(--primary);
}
.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--secondary);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 14px;
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(26,26,46,0.05); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #a93226; box-shadow: var(--shadow); }
.btn-sm { padding: 7px 18px; font-size: 0.8rem; }
.btn-xs { padding: 4px 10px; font-size: 0.72rem; border-radius: 6px; }
.btn-lg { padding: 15px 36px; font-size: 0.95rem; }

/* ============ LAYOUT ============ */
.main-content { padding-top: var(--header-height); padding-bottom: 0; }
@media (max-width: 768px) {
    .main-content { padding-bottom: 72px; }
}
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section-alt); }
.section-warm { background: var(--bg-warm); }
.page-section { padding-top: 72px; padding-bottom: 56px; }

@media (max-width: 768px) {
    .page-section { padding-top: 32px; padding-bottom: 40px; }
    .section { padding: 52px 0; }
}
@media (max-width: 576px) {
    .page-section { padding-top: 24px; padding-bottom: 28px; }
    .section { padding: 40px 0; }
}

/* ============ SECTION HEADER ============ */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 8px;
}
.section-header p {
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
}
.section-header .accent { color: var(--primary); }
