:root {
    --navy: #081b35;
    --navy2: #102f57;
    --blue: #1268e8;
    --text: #17243a;
    --muted: #65758a;
    --border: #e1e8f0;
    --bg: #f5f7fb
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter,"Segoe UI",Arial,sans-serif
}

.legal-header {
    background: var(--navy);
    border-bottom: 1px solid #ffffff15
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand img {
    width: 72px;
    height: 58px;
    object-fit: contain
}

.legal-header nav {
    display: flex;
    align-items: center;
    gap: 22px
}

    .legal-header nav > a:not(.btn) {
        color: #c8d5e5;
        text-decoration: none;
        font-size: 13px;
        font-weight: 650
    }

.legal-hero {
    position: relative;
    background-image: linear-gradient( rgba(5, 20, 43, 0.65), rgba(5, 20, 43, 0.65) ), url('../images/torcida.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 70px 0;
}

    .legal-hero span {
        font-size: 11px;
        letter-spacing: .12em;
        font-weight: 800;
        color: #79b2ff
    }

    .legal-hero h1 {
        font-size: clamp(2.2rem,5vw,3.8rem);
        font-weight: 800;
        letter-spacing: -.04em;
        margin: 8px 0
    }

    .legal-hero p {
        max-width: 760px;
        color: #c8d5e5;
        font-size: 1.05rem
    }

    .legal-hero small {
        color: #93a8c0
    }

.legal-main {
    padding: 36px 12px 60px
}

.legal-card {
    max-width: 1000px;
    margin: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: clamp(22px,4vw,48px);
    box-shadow: 0 8px 28px #16273d0a
}

    .legal-card section {
        padding: 4px 0 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid #edf1f5
    }

    .legal-card h2 {
        font-size: 20px;
        font-weight: 800;
        color: #102440
    }

    .legal-card p, .legal-card li {
        font-size: 14px;
        line-height: 1.8;
        color: #526176
    }

.notice {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid #cfe2fb;
    border-radius: 14px;
    background: #f1f7ff;
    margin-bottom: 32px
}

    .notice > i {
        font-size: 25px;
        color: var(--blue)
    }

    .notice p {
        margin: 4px 0 0;
        font-size: 13px
    }

.location-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin: 18px 0
}

    .location-grid > div {
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 13px;
        background: #fbfcfe
    }

    .location-grid i {
        display: block;
        color: var(--blue);
        font-size: 22px;
        margin-bottom: 8px
    }

    .location-grid p {
        font-size: 12px;
        margin: 5px 0
    }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

    .contact-grid > div {
        display: flex;
        flex-direction: column;
        padding: 13px;
        border-radius: 10px;
        background: #f7f9fc
    }

    .contact-grid small {
        color: #7a899c
    }

    .contact-grid b {
        font-size: 12px;
        margin-top: 4px
    }

footer {
    background: #07182f;
    color: #fff;
    padding: 26px 0
}

    footer > .container-xl {
        display: flex;
        justify-content: space-between
    }

    footer a {
        color: #aebed0;
        text-decoration: none;
        font-size: 12px;
        margin-left: 18px
    }

@media(max-width:767px) {
    .legal-header nav > a:not(.btn) {
        display: none
    }

    .location-grid, .contact-grid {
        grid-template-columns: 1fr
    }

    .legal-hero {
        padding: 38px 0
    }

    .brand img {
        width: 58px
    }
}
