/* =========================================================
   LEGAL PAGES (PRIVACY POLICY, TERMS)
   NORTH BLACK LIMOUSINE
========================================================= */

:root {
    --legal-black: #101010;
    --legal-dark: #171414;
    --legal-brown: #3A302E;
    --legal-gold: #F6C777;
    --legal-gold-hover: #FFD58D;
    --legal-text: #F5F1EC;
    --legal-body: #CFC6BE;
    --legal-muted: #B9AEA5;
    --legal-faint: #817A75;
    --legal-line: rgba(246, 199, 119, 0.14);
    --legal-border: rgba(255, 255, 255, 0.09);
}

html {
    scroll-padding-top: 100px;
}


/* =========================================================
   HERO
========================================================= */

.legal-hero {
    position: relative;
    width: 100%;
    padding: 110px 20px 90px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(246, 199, 119, 0.10), transparent 60%),
        linear-gradient(180deg, var(--legal-brown) 0%, var(--legal-black) 100%);
    border-bottom: 1px solid var(--legal-line);
    text-align: center;
    box-sizing: border-box;
}

.legal-hero-title {
    margin: 0;
    color: var(--legal-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
}

.legal-hero-title span {
    color: var(--legal-gold);
}

.legal-hero-meta {
    margin: 18px 0 0;
    color: var(--legal-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}


/* =========================================================
   BODY LAYOUT
========================================================= */

.legal-body {
    width: 100%;
    padding: 80px 0 120px;
    background: linear-gradient(180deg, var(--legal-black) 0%, var(--legal-dark) 100%);
}

.legal-container {
    width: min(1100px, calc(100% - 100px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}


/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.legal-toc {
    position: sticky;
    top: 100px;
    font-family: Arial, Helvetica, sans-serif;
}

.legal-toc-title {
    margin: 0 0 16px;
    color: var(--legal-text);
    font-size: 14px;
    font-weight: 700;
}

.legal-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid var(--legal-border);
}

.legal-toc a {
    display: block;
    margin-left: -1px;
    padding: 9px 0 9px 18px;
    border-left: 2px solid transparent;
    color: var(--legal-faint);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover {
    color: var(--legal-text);
}

.legal-toc a.active {
    color: var(--legal-gold);
    border-left-color: var(--legal-gold);
}


/* =========================================================
   ARTICLE
========================================================= */

.legal-article {
    max-width: 720px;
    font-family: Arial, Helvetica, sans-serif;
}

.legal-lead {
    margin: 0 0 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--legal-line);
    color: var(--legal-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.65;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 16px;
    color: var(--legal-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.3;
}

.legal-num {
    flex-shrink: 0;
    color: var(--legal-gold);
    font-size: 18px;
}

.legal-section p,
.legal-section li {
    color: var(--legal-body);
    font-size: 16px;
    line-height: 1.8;
}

.legal-section p {
    margin: 0 0 14px;
}

.legal-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-section li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.legal-section li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--legal-gold);
}


/* =========================================================
   CONTACT BLOCK
========================================================= */

.legal-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.legal-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--legal-line);
    border-radius: 10px;
    color: var(--legal-text);
    font-size: 15px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.legal-contact-item i {
    color: var(--legal-gold);
}

.legal-contact-item:hover {
    border-color: var(--legal-gold);
    background: rgba(246, 199, 119, 0.06);
}


/* =========================================================
   TABLES (fees, cancellation windows)
========================================================= */

.legal-table-wrap {
    width: 100%;
    margin: 20px 0;
    overflow-x: auto;
    border: 1px solid var(--legal-line);
    border-radius: 12px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.legal-table th {
    padding: 14px 20px;
    background: rgba(246, 199, 119, 0.07);
    color: var(--legal-gold);
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.legal-table td {
    padding: 15px 20px;
    border-top: 1px solid var(--legal-border);
    color: var(--legal-body);
    line-height: 1.6;
    vertical-align: top;
}

.legal-table td:last-child {
    color: var(--legal-text);
    font-weight: 600;
    white-space: nowrap;
}

.legal-note {
    color: var(--legal-muted) !important;
    font-size: 14px !important;
}


/* Placeholder for missing values; remove once filled in */

.legal-todo {
    display: inline-block;
    padding: 2px 10px;
    border: 1px dashed #E5484D;
    border-radius: 6px;
    color: #F3A6A8;
    font-size: 13px;
    font-weight: 600;
}


/* Keyboard focus */

.legal-toc a:focus-visible,
.legal-contact-item:focus-visible {
    outline: 2px solid var(--legal-gold);
    outline-offset: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .legal-container {
        width: calc(100% - 60px);
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-toc {
        position: static;
        padding: 24px;
        background: rgba(255, 255, 255, 0.025);
        border: 1px solid var(--legal-border);
        border-radius: 12px;
    }

    .legal-toc ol {
        columns: 2;
        column-gap: 24px;
    }

    .legal-toc li {
        break-inside: avoid;
    }

    .legal-article {
        max-width: none;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .legal-hero {
        padding: 80px 20px 60px;
    }

    .legal-body {
        padding: 50px 0 80px;
    }

    .legal-container {
        width: calc(100% - 36px);
    }

    .legal-toc ol {
        columns: 1;
    }

    .legal-lead {
        font-size: 18px;
        margin-bottom: 40px;
        padding-bottom: 32px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 15px;
    }

    .legal-contact {
        flex-direction: column;
    }

    .legal-contact-item {
        width: 100%;
    }

    .legal-table th,
    .legal-table td {
        padding: 12px 14px;
        font-size: 14px;
    }

    .legal-table td:last-child {
        white-space: normal;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .legal-toc a,
    .legal-contact-item {
        transition: none !important;
    }
}