/* ============================================================
   BUCKETLIST PROPERTIES - LEGAL PAGES
   Privacy Policy + Terms & Conditions
   ============================================================ */

html {
    scroll-behavior: smooth;
}

.legal-page {
    --legal-navy: #101828;
    --legal-navy-2: #17233a;
    --legal-navy-3: #263650;
    --legal-gold: #c28a48;
    --legal-gold-dark: #9d6e35;
    --legal-gold-soft: #f7efe4;
    --legal-ink: #1d2939;
    --legal-copy: #475467;
    --legal-muted: #667085;
    --legal-line: #e4e7ec;
    --legal-canvas: #faf8f4;
    --legal-white: #ffffff;

    width: 100%;
    overflow: clip;
    background: #fff;
    color: var(--legal-ink);
}

.legal-page *,
.legal-page *::before,
.legal-page *::after {
    box-sizing: border-box;
}

.legal-container {
    width: min(calc(100% - 64px), 1360px);
    margin: 0 auto;
}


/* ============================================================
   HERO
   ============================================================ */

.legal-hero {
    padding: 38px 0 60px;
    color: #fff;
    background:
        radial-gradient(
            circle at 92% 10%,
            rgba(194, 138, 72, .22),
            transparent 34%
        ),
        linear-gradient(
            115deg,
            #101828 0%,
            #14223a 56%,
            #263650 100%
        );
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
}

.legal-breadcrumb a {
    color: var(--legal-gold);
    text-decoration: none;
}

.legal-breadcrumb i {
    font-size: 16px;
    color: rgba(255,255,255,.42);
}

.legal-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--legal-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
}

.legal-eyebrow > span {
    width: 28px;
    height: 1px;
    display: block;
    background: var(--legal-gold);
}

.legal-hero h1 {
    margin: 18px 0 17px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(46px, 4.5vw, 70px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.04em;
}

.legal-hero h1 em {
    color: var(--legal-gold);
    font-style: normal;
}

.legal-hero-copy {
    max-width: 810px;
    margin: 0;
    color: rgba(255,255,255,.79);
    font-size: 16px;
    line-height: 1.78;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.legal-meta span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: rgba(255,255,255,.74);
    background: rgba(255,255,255,.05);
    font-size: 12px;
}

.legal-meta i {
    color: var(--legal-gold);
    font-size: 16px;
}


/* ============================================================
   BODY LAYOUT
   ============================================================ */

.legal-body {
    padding: 64px 0 84px;
    background: var(--legal-canvas);
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.legal-sidebar {
    position: sticky;
    top: 110px;
}

.legal-sidebar-card {
    padding: 22px 20px;
    border: 1px solid var(--legal-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(16,24,40,.05);
}

.legal-sidebar-title {
    display: block;
    margin-bottom: 14px;
    color: var(--legal-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
}

.legal-sidebar nav {
    display: grid;
}

.legal-sidebar nav a {
    position: relative;
    padding: 8px 0 8px 14px;
    color: #667085;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.45;
    transition:
        color .2s ease,
        transform .2s ease;
}

.legal-sidebar nav a::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d0d5dd;
}

.legal-sidebar nav a:hover {
    color: var(--legal-gold-dark);
    transform: translateX(2px);
}

.legal-sidebar nav a:hover::before {
    background: var(--legal-gold);
}


/* ============================================================
   CONTENT CARD
   ============================================================ */

.legal-content {
    min-width: 0;
    padding: 42px 48px;
    border: 1px solid var(--legal-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16,24,40,.055);
}

.legal-section {
    position: relative;
    scroll-margin-top: 120px;
    padding: 0 0 38px;
    margin: 0 0 38px;
    border-bottom: 1px solid var(--legal-line);
}

.legal-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.legal-section-number {
    display: block;
    margin-bottom: 9px;
    color: var(--legal-gold);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 19px;
    line-height: 1;
}

.legal-section h2 {
    margin: 0 0 17px;
    color: var(--legal-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 29px;
    line-height: 1.22;
    font-weight: 600;
    letter-spacing: -.025em;
}

.legal-section p {
    margin: 0 0 17px;
    color: var(--legal-copy);
    font-size: 15px;
    line-height: 1.82;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--legal-gold-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section ul {
    display: grid;
    gap: 11px;
    margin: 18px 0 20px;
    padding: 0;
    list-style: none;
}

.legal-section li {
    position: relative;
    padding-left: 24px;
    color: var(--legal-copy);
    font-size: 15px;
    line-height: 1.72;
}

.legal-section li::before {
    content: "\eb7b";
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--legal-gold);
    font-family: "remixicon";
    font-size: 16px;
}

.legal-section li strong {
    color: var(--legal-ink);
    font-weight: 600;
}


/* ============================================================
   NOTE
   ============================================================ */

.legal-note {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    margin: 24px 0;
    padding: 18px 19px;
    border: 1px solid #eadbc6;
    border-radius: 14px;
    background: var(--legal-gold-soft);
}

.legal-note > i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--legal-gold-dark);
    background: #fff;
    font-size: 19px;
}

.legal-note p {
    align-self: center;
    margin: 0;
    color: #5f4b34;
    font-size: 13px;
    line-height: 1.68;
}


/* ============================================================
   CONTACT
   ============================================================ */

.legal-contact-section > p {
    max-width: 720px;
}

.legal-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 23px;
}

.legal-contact-item {
    min-width: 0;
    min-height: 86px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--legal-line);
    border-radius: 14px;
    color: var(--legal-ink) !important;
    background: #fff;
    text-decoration: none !important;
}

a.legal-contact-item {
    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

a.legal-contact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(194,138,72,.5);
    box-shadow: 0 10px 25px rgba(16,24,40,.06);
}

.legal-contact-item > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--legal-gold-dark);
    background: var(--legal-gold-soft);
    font-size: 20px;
}

.legal-contact-item > span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--legal-ink);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.legal-contact-item small {
    display: block;
    margin-bottom: 4px;
    color: var(--legal-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) {

    .legal-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 26px;
    }

    .legal-content {
        padding: 36px 32px;
    }

}


/* ============================================================
   MOBILE / SMALL TABLET
   ============================================================ */

@media (max-width: 800px) {

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }

    .legal-sidebar-card {
        padding: 18px;
    }

    .legal-sidebar nav {
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 680px) {

    .legal-container {
        width: calc(100% - 30px);
    }

    .legal-hero {
        padding: 25px 0 42px;
    }

    .legal-breadcrumb {
        margin-bottom: 27px;
        font-size: 12px;
    }

    .legal-eyebrow {
        gap: 10px;
        font-size: 10px;
        letter-spacing: .17em;
    }

    .legal-eyebrow > span {
        width: 22px;
    }

    .legal-hero h1 {
        margin-top: 15px;
        font-size: 39px;
    }

    .legal-hero-copy {
        font-size: 14px;
        line-height: 1.7;
    }

    .legal-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 21px;
    }

    .legal-meta span {
        width: 100%;
        justify-content: flex-start;
    }

    .legal-body {
        padding: 36px 0 52px;
    }

    .legal-layout {
        gap: 18px;
    }

    .legal-sidebar nav {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 28px 19px;
        border-radius: 17px;
    }

    .legal-section {
        padding-bottom: 29px;
        margin-bottom: 29px;
    }

    .legal-section-number {
        font-size: 17px;
    }

    .legal-section h2 {
        margin-bottom: 14px;
        font-size: 25px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 14px;
        line-height: 1.72;
    }

    .legal-note {
        grid-template-columns: 34px 1fr;
        padding: 15px;
    }

    .legal-note > i {
        width: 34px;
        height: 34px;
    }

    .legal-contact-grid {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 390px) {

    .legal-hero h1 {
        font-size: 35px;
    }

    .legal-section h2 {
        font-size: 23px;
    }

}
