/* ================================================== */
/* LEGAL — Terms & Conditions / Privacy Policy        */
/* ================================================== */

:root {
    --cream-bg: #F8F3ED;
    --navy-blue: #001A35;
    --text-gold: #C9A84C;
    --soft-white: #FAF8F5;
    --border-light: #EBE5DF;
}

body {
    background-color: var(--cream-bg);
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--navy-blue);
    -webkit-font-smoothing: antialiased;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-header {
    text-align: center;
    margin-bottom: 40px;
}

.brand-header img {
    width: 80px;
    margin-bottom: 10px;
}

.brand-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    font-weight: 500;
}

.brand-tagline {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--text-gold);
    margin-top: 20px;
    font-weight: 500;
}

.back-nav {
    align-self: flex-start;
    margin-bottom: 20px;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--navy-blue);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.btn-back i {
    width: 24px;
    height: 24px;
    background: var(--navy-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.legal-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 60px;
    padding: 6px;
    width: 100%;
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
    cursor: pointer;
}

.legal-tab {
    flex: 1;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: var(--navy-blue);
    opacity: 0.6;
}

.legal-tab.active {
    background: var(--navy-blue);
    color: white;
    opacity: 1;
    box-shadow: 0 10px 20px rgba(0, 26, 53, 0.2);
}

.legal-card {
    background: white;
    border-radius: 40px;
    padding: 80px 100px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    position: relative;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
    border-radius: 10px 0 0 0;
}

.section-content {
    display: none;
}

.section-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    text-align: center;
    margin-bottom: 60px;
}

.card-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--navy-blue);
}

.effective-date {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gold);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.diamond-sep {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    color: var(--text-gold);
    font-size: 14px;
}

.intro-quote {
    border-left: 2px solid var(--text-gold);
    padding-left: 30px;
    margin-bottom: 50px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.content-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.content-body h3 span {
    width: 30px;
    height: 30px;
    background: var(--cream-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-gold);
}

.content-body p {
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 20px;
    color: #444;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 40px 20px;
    }

    .card-header h1 {
        font-size: 32px;
    }
}
