:root {
    --color-primary: #062443;
    --color-secondary: #437CBD;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}
body * {
    display: block;
}

img {
    line-height: 0;
}

.text p {
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 300;
}

header {
    background-color: var(--color-primary);
    height: 100vh;
    position: relative;
    overflow: hidden;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}
img.img-header {
    position: absolute;
    bottom: -200px;
    right: -200px;
}

.img-logo {
    width: 150px;
}

.img-icon {
    width: 800px;
    position: absolute;
    bottom: -54px;
    right: 11px;
    rotate: -30deg;
}

@media (max-width: 991px) {
    img.img-header {
        right: -400px;
    }

    img.img-icon {
        right: -300px;
    }
}
@media (max-width: 768px) {
    header::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.7) 100%);
    }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.start {
    justify-content: flex-start;
    gap: 8px;
}

ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 100%;
}

li {
    margin: 0 10px;
}

a {
    color: #fff;
    text-decoration: none;
}

.white {
    color: #fff;
}

.secondary {
    color: var(--color-secondary);
}

.light {
    font-weight: 300;
}

.mt-1 {
    margin-top: 10px;
}

.mt-4 {
    margin-top: 40px;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #dbdbdb;
    padding: 10px 20px;
    border-radius: 5px;
    color: #424344;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    &:hover {
        background-color: #858383;
    }
}

.logo {
    width: 300px;
    border-radius: 10px;
}

.container.text {
    padding: 60px 16px;
}

.contact {
    background-color: var(--color-primary);
    padding: 120px 20px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 560px;
    gap: 28px;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.contact h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
}

.contact-text {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.9;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 18px 36px;
    border: 2px solid var(--color-secondary);
    border-radius: 50px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;

    &:hover {
        background-color: var(--color-secondary);
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(67, 124, 189, 0.35);
    }
}

.contact-legal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.contact-legal a {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;

    &:hover {
        color: var(--color-secondary);
    }
}

.contact-legal-sep {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
}

.inverse {
    gap: 40px;
}

.legal-section ul {
    flex-direction: row;
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 20px;
    }

    .contact-content {
        gap: 22px;
    }

    .contact-email {
        width: 100%;
        max-width: 320px;
        padding: 16px 24px;
        font-size: 15px;
    }

    .inverse {
        flex-direction: column;
        flex-direction: column-reverse;
        gap: 40px;
    }

    .inverse h2 {
        text-align: center;
    }
}

/* Legal / terms pages */
.legal-page {
    background-color: #f4f7fb;
    min-height: 100vh;
}

header.page-header {
    height: auto;
    overflow: visible;
    padding: 20px 0;
    box-shadow: 0 4px 24px rgba(6, 36, 67, 0.15);
}

header.page-header::after {
    display: none;
}

.page-header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-header-logo {
    display: inline-flex;
    line-height: 0;
    transition: opacity 0.3s ease;

    &:hover {
        opacity: 0.85;
    }
}

header.page-header .img-logo {
    width: 120px;
}

.legal-content {
    max-width: 760px;
    padding: 48px 20px 80px;
}

.legal-content h1 {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.legal-intro {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #5a6472;
    line-height: 1.6;
}

.legal-section {
    margin-top: 36px;
    padding: 28px 32px;
    background-color: #fff;
    border-radius: 12px;
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 2px 16px rgba(6, 36, 67, 0.06);
}

.legal-section h2 {
    font-size: clamp(17px, 3vw, 20px);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
}

.legal-section p {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 300;
    color: #3d4654;
    line-height: 1.7;
}

.legal-section ul {
    display: block;
    margin-top: 14px;
    padding-left: 22px;
    height: auto;
    gap: 0;
}

.legal-section li {
    display: list-item;
    list-style: disc;
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 300;
    color: #3d4654;
    line-height: 1.6;
}

.legal-section a {
    color: var(--color-secondary);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;

    &:hover {
        color: var(--color-primary);
    }
}

@media (max-width: 768px) {
    header.page-header {
        padding: 16px 0;
    }

    header.page-header .img-logo {
        width: 100px;
    }

    .legal-content {
        padding: 32px 16px 60px;
    }

    .legal-section {
        padding: 22px 20px;
        margin-top: 24px;
    }
}