/* ── LEGAL PAGES ── */

/* Nav always visible on legal pages */
#navbar.scrolled {
    background: rgba(247,243,238,.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(61,46,30,.08);
}

/* ── LEGAL HERO ── */
.legal-hero {
    position: relative;
    padding: 160px 48px 80px;
    text-align: center;
    overflow: hidden;
    background: var(--cream);
}

.legal-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(139,168,136,.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 90%, rgba(181,113,74,.07) 0%, transparent 55%);
    pointer-events: none;
}

.legal-hero-content {
    position: relative; z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.legal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 1.12;
    color: var(--brown);
    letter-spacing: -.01em;
    margin-bottom: 20px;
    animation: fadeUp .7s ease .1s both;
}

.legal-title em {
    font-style: italic;
    color: var(--terracotta);
}

.legal-hero-sub {
    font-size: .92rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto;
    animation: fadeUp .7s ease .2s both;
}

/* ── LEGAL MAIN ── */
.legal-main {
    background: var(--white);
    padding: 72px 48px 100px;
}

.legal-container {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: start;
}

/* ── TABLE OF CONTENTS ── */
.legal-toc {
    position: sticky;
    display: flex;
    flex-direction: column;
    top: 100px;
    background: var(--cream);
    border-radius: 8px;
    padding: 28px 24px;
    border: 1px solid rgba(212,196,168,.4);
}

.legal-toc-title {
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sage-dark);
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-toc-title::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--sage);
}

.legal-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
}

.legal-toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 10px;
}

.legal-toc ol li a {
    font-size: .82rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-light);
    text-decoration: none;
    transition: color .2s;
    display: flex;
    gap: 8px;
}

.legal-toc ol li a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: .68rem;
    color: var(--sand);
    font-weight: 400;
    flex-shrink: 0;
    margin-top: 1px;
}

.legal-toc ol li a:hover {
    color: var(--terracotta);
}

/* ── LEGAL CONTENT ── */
.legal-content {
    min-width: 0;
}

.legal-section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(212,196,168,.35);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--brown);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid var(--sand-light);
}

.legal-h3 {
    font-family: 'Jost', sans-serif;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin: 28px 0 12px;
}

.legal-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.legal-block p {
    font-size: .95rem;
    line-height: 1.85;
    color: var(--text-light);
    font-weight: 300;
}

.legal-block a {
    color: var(--terracotta);
    text-decoration: none;
    border-bottom: 1px solid rgba(181,113,74,.25);
    transition: border-color .2s, color .2s;
}

.legal-block a:hover {
    color: var(--brown);
    border-bottom-color: var(--brown);
}

.legal-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-list li {
    font-size: .93rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 1px;
    background: var(--sage);
}

.legal-list li a {
    color: var(--terracotta);
    text-decoration: none;
    border-bottom: 1px solid rgba(181,113,74,.25);
    transition: border-color .2s, color .2s;
}

.legal-list li a:hover {
    color: var(--brown);
    border-bottom-color: var(--brown);
}

.legal-note {
    font-size: .82rem !important;
    color: rgba(122,106,90,.7) !important;
    font-style: italic;
    margin-top: 8px !important;
}

/* ── CALLOUT ── */
.legal-callout {
    background: var(--sand-light);
    border-left: 3px solid var(--terracotta);
    border-radius: 0 6px 6px 0;
    padding: 18px 22px;
}

.legal-callout p {
    font-size: .9rem !important;
    color: var(--brown) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* ── PRICE CARD (CGV) ── */
.legal-price-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--cream);
    border: 1px solid rgba(212,196,168,.5);
    border-radius: 10px;
    padding: 24px 40px;
    margin-bottom: 8px;
}

.legal-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.6rem;
    font-weight: 300;
    line-height: 1;
    color: var(--brown);
}

.legal-price span {
    font-size: 1.8rem;
    vertical-align: super;
}

.legal-price-label {
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 6px;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
    .legal-hero {
        padding: 130px 24px 60px;
    }

    .legal-main {
        padding: 48px 24px 72px;
    }

    .legal-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-toc {
        position: static;
    }
}
