/* ==========================================================
   LEGAL PAGE
========================================================== */

.ua-legal {

    position: relative;
    padding: 21px;
    background: linear-gradient(180deg,
            #f8fbff 0%,
            #ffffff 240px,
            var(--bg-soft) 100%);

}


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

.ua-legal-hero {

    margin-bottom: var(--space-2xl);

}

.ua-legal-hero-card {

    position: relative;
    overflow: hidden;

    padding: clamp(1.5rem, 2vw, 2rem);

    background: rgba(255, 255, 255, .90);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(15, 23, 42, .06);

    border-radius: var(--radius-2xl);

    box-shadow:
        0 30px 80px rgba(15, 23, 42, .08);

}

.ua-legal-hero-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        radial-gradient(circle at top right,
            rgba(59, 130, 246, .08),
            transparent 35%),

        radial-gradient(circle at bottom left,
            rgba(16, 185, 129, .08),
            transparent 40%);

    pointer-events: none;

}


/* ==========================================================
   CATEGORY
========================================================== */

.ua-legal-category {

    display: inline-flex;

    align-items: center;

    gap: .6rem;

    margin-bottom: 1.25rem;

    padding: .55rem 1rem;

    background: #eff6ff;

    color: #2563eb;

    border-radius: 999px;

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.ua-legal-category::before {

    content: "";

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #2563eb;

}


/* ==========================================================
   TITLE
========================================================== */

.ua-legal-title {

    margin: 0;

    color: var(--heading);

    font-size: clamp(2.25rem, 5vw, 3.5rem);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -.03em;

}


/* ==========================================================
   DESCRIPTION
========================================================== */

.ua-legal-description {

    max-width: 760px;

    margin-top: 1.5rem;

    margin-bottom: 2rem;

    color: var(--text);

    font-size: 1.1rem;

    line-height: 1.9;

}


/* ==========================================================
   META
========================================================== */

.ua-legal-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 1rem;

}

.ua-meta-item {

    display: inline-flex;

    align-items: center;

    gap: .9rem;

    padding: .85rem 1.2rem;

    background: #fff;

    border: 1px solid rgba(15, 23, 42, .08);

    border-radius: var(--radius-xl);

    box-shadow:

        0 10px 30px rgba(15, 23, 42, .05);

}

.ua-meta-item i {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #eff6ff;

    color: #2563eb;

    font-size: 1rem;

}

.ua-meta-item span {

    display: block;

    color: var(--text-light);

    font-size: .8rem;

    margin-bottom: .15rem;

}

.ua-meta-item strong {

    display: block;

    color: var(--heading);

    font-size: .95rem;

    font-weight: 700;

}


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

.ua-legal-body {

    position: relative;

}


/* ==========================================================
   PANEL
========================================================== */

.ua-panel,

.ua-cta,

.ua-help,

.ua-legal-article {

    background: #fff;

    border: 1px solid rgba(15, 23, 42, .06);

    border-radius: var(--radius-2xl);

    box-shadow:

        0 15px 45px rgba(15, 23, 42, .06);

}


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

@media (max-width:991.98px) {

    .ua-legal {

        padding:
            calc(var(--header-height) + 1.5rem) 0 var(--space-4xl);

    }

    .ua-legal-hero {

        margin-bottom: 2rem;

    }

    .ua-legal-hero-card {

        padding: 1.75rem;

        border-radius: 24px;

    }

    .ua-legal-title {

        font-size: 2rem;

    }

    .ua-legal-description {

        font-size: 1rem;

        line-height: 1.8;

        margin-bottom: 1.5rem;

    }

    .ua-meta-item {

        width: 100%;

    }

}

/* ==========================================================
   LEFT SIDEBAR
========================================================== */

.ua-legal-nav {

    position: sticky;

    top: calc(var(--header-height) + 1.5rem);

}

.ua-panel {

    padding: 1.75rem;

}

.ua-panel-title {

    margin: 0 0 1.5rem;

    color: var(--heading);

    font-size: 1.15rem;

    font-weight: 700;

}


/* ==========================================================
   CONTENTS
========================================================== */

.ua-panel-nav {

    display: flex;

    flex-direction: column;

    gap: .35rem;

}

.ua-panel-nav a {

    display: flex;

    align-items: center;

    gap: .75rem;

    padding: .85rem 1rem;

    border-radius: var(--radius-lg);

    color: var(--text);

    font-size: .95rem;

    font-weight: 500;

    text-decoration: none;

    transition: all .25s ease;

}

.ua-panel-nav a::before {

    content: "";

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #d1d5db;

    transition: all .25s ease;

}

.ua-panel-nav a:hover {

    color: #2563eb;

    background: #eff6ff;

    transform: translateX(4px);

}

.ua-panel-nav a:hover::before {

    background: #2563eb;

}


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

.ua-legal-article {

    padding: clamp(2rem, 4vw, 3rem);

}


/* ==========================================================
   SECTION
========================================================== */

.ua-section {

    position: relative;

    padding-bottom: 3rem;

}

.ua-section:not(:last-child) {

    margin-bottom: 3rem;

    border-bottom: 1px solid rgba(15, 23, 42, .08);

}


/* ==========================================================
   NUMBER
========================================================== */

.ua-section-number {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 58px;

    height: 58px;

    margin-bottom: 1.25rem;

    border-radius: 50%;

    background: #eff6ff;

    color: #2563eb;

    font-size: 1.05rem;

    font-weight: 800;

    letter-spacing: .08em;

}


/* ==========================================================
   HEADINGS
========================================================== */

.ua-section h2 {

    margin: 0 0 1.25rem;

    color: var(--heading);

    font-size: 2rem;

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -.02em;

}


/* ==========================================================
   PARAGRAPH
========================================================== */

.ua-section p {

    margin-bottom: 1.4rem;

    color: var(--text);

    font-size: 1.05rem;

    line-height: 1.95;

}

.ua-section strong {

    color: var(--heading);

    font-weight: 700;

}


/* ==========================================================
   LIST
========================================================== */

.ua-section ul {

    margin: 1.5rem 0;

    padding: 0;

    list-style: none;

}

.ua-section li {

    position: relative;

    padding-left: 1.8rem;

    margin-bottom: .9rem;

    color: var(--text);

    line-height: 1.8;

}

.ua-section li::before {

    content: "";

    position: absolute;

    left: 0;

    top: .7rem;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #22c55e;

}


/* ==========================================================
   LINKS
========================================================== */

.ua-section a {

    color: #2563eb;

    text-decoration: none;

    font-weight: 600;

}

.ua-section a:hover {

    text-decoration: underline;

}


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

.ua-contact {

    margin-top: 2rem;

    display: grid;

    gap: 1rem;

}

.ua-contact-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 1rem;

    padding: 1rem 1.25rem;

    background: #f8fafc;

    border: 1px solid rgba(15, 23, 42, .06);

    border-radius: var(--radius-xl);

}

.ua-contact-item span {

    color: var(--text-light);

    font-size: .9rem;

}

.ua-contact-item strong {

    color: var(--heading);

    font-size: 1rem;

    font-weight: 700;

}


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

@media (max-width:991.98px) {

    .ua-legal-nav {

        position: static;

        margin-bottom: 2rem;

    }

    .ua-panel {

        padding: 1.5rem;

    }

    .ua-panel-nav {

        gap: .25rem;

    }

    .ua-panel-nav a {

        padding: .9rem;

        font-size: .95rem;

    }

    .ua-legal-article {

        padding: 1.75rem;

    }

    .ua-section {

        padding-bottom: 2rem;

    }

    .ua-section:not(:last-child) {

        margin-bottom: 2rem;

    }

    .ua-section-number {

        width: 48px;

        height: 48px;

        font-size: .95rem;

    }

    .ua-section h2 {

        font-size: 1.6rem;

    }

    .ua-section p {

        font-size: 1rem;

        line-height: 1.85;

    }

    .ua-contact-item {

        flex-direction: column;

        align-items: flex-start;

    }

}

/* ==========================================================
   RIGHT SIDEBAR
========================================================== */

.ua-legal-aside {

    position: sticky;

    top: calc(var(--header-height) + 1.5rem);

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

}


/* ==========================================================
   BOOK TOUR
========================================================== */

.ua-cta {

    position: relative;

    overflow: hidden;

    padding: 2rem;

    background: linear-gradient(135deg,
            #2563eb 0%,
            #1d4ed8 100%);

    color: #fff;

}

.ua-cta::before {

    content: "";

    position: absolute;

    top: -60px;

    right: -60px;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);

}

.ua-cta-badge {

    display: inline-flex;

    align-items: center;

    padding: .45rem .9rem;

    margin-bottom: 1rem;

    border-radius: 999px;

    background: rgba(255, 255, 255, .15);

    font-size: .75rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.ua-cta h3 {

    margin: 0 0 1rem;

    color: #fff;

    font-size: 1.7rem;

    font-weight: 800;

    line-height: 1.3;

}

.ua-cta p {

    margin-bottom: 1.75rem;

    color: rgba(255, 255, 255, .9);

    line-height: 1.8;

}


/* ==========================================================
   BUTTON
========================================================== */

.ua-btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: .75rem;

    width: 100%;

    padding: 1rem 1.5rem;

    border-radius: 999px;

    background: #fff;

    color: #2563eb;

    font-weight: 700;

    text-decoration: none;

    transition: all .25s ease;

}

.ua-btn-primary:hover {

    transform: translateY(-3px);

    color: #2563eb;

    box-shadow:

        0 15px 35px rgba(0, 0, 0, .18);

}



/* ==========================================================
   SMOOTH SCROLL
========================================================== */

html {

    scroll-behavior: smooth;

}

.ua-section {

    scroll-margin-top: 120px;

}


/* ==========================================================
   SELECTION
========================================================== */

::selection {

    background: #2563eb;

    color: #fff;

}


/* ==========================================================
   FOCUS
========================================================== */

a:focus-visible,

button:focus-visible {

    outline: 3px solid rgba(37, 99, 235, .35);

    outline-offset: 3px;

    border-radius: 8px;

}


/* ==========================================================
   HOVER
========================================================== */

.ua-panel,

.ua-help,

.ua-legal-article {

    transition:

        transform .25s ease,

        box-shadow .25s ease;

}

.ua-panel:hover,

.ua-help:hover {

    transform: translateY(-4px);

    box-shadow:

        0 20px 50px rgba(15, 23, 42, .08);

}


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

@media (max-width:991.98px) {

    .ua-legal-aside {

        position: static;

        margin-top: 2rem;

    }

    .ua-cta {

        padding: 1.75rem;

    }

    .ua-cta h3 {

        font-size: 1.45rem;

    }

    .ua-help {

        padding: 1.75rem;

    }

    .ua-help-list li {

        padding: .9rem 0;

    }

    .ua-help-list i {

        width: 42px;

        height: 42px;

    }

    .ua-btn-primary {

        padding: 1rem;

    }

}


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

@media (max-width:575.98px) {

    .ua-legal {

        overflow: hidden;
        padding: 21px;

    }

    .ua-legal-title {

        font-size: 1.8rem;

    }

    .ua-panel,

    .ua-legal-article,

    .ua-cta,

    .ua-help {

        border-radius: 20px;

    }

    .ua-section h2 {

        font-size: 1.45rem;

    }

    .ua-section p,

    .ua-help>p {

        line-height: 1.8;

    }

}


/* ==========================================================
   PRINT
========================================================== */

@media print {

    .navbar,

    .ua-legal-nav,

    .ua-legal-aside,

    footer {

        display: none !important;

    }

    .ua-legal {

        padding: 0;

        background: #fff;

    }

    .ua-legal-article {

        box-shadow: none;

        border: none;

        padding: 0;

    }

}