/* ==========================================
   FONTS
   ========================================== */
@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* SVN-Gotham */
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Thin Italic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham XLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham XLight Italic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Light Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Book.otf') format('opentype');
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Book Italic.otf') format('opentype');
    font-weight: 350;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Bold Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Black Italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Ultra.otf') format('opentype');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Gotham';
    src: url('../assets/fonts/GOTHAM/SVN-Gotham Ultra Italic.otf') format('opentype');
    font-weight: 950;
    font-style: italic;
    font-display: swap;
}

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Colors */
    --color-primary:     #00529c;
    --color-primary-50:  #e6f0f8;
    --color-black:       #12091e;
    --color-gray-900:    #18191c;
    --color-gray-500:    #767f8c;
    --color-gray-400:    #80828d;
    --color-divider:     #efeff0;
    --color-neutral-50:  #f9fafb;
    --color-neutral-100: #f3f4f6;
    --color-neutral-200: #e5e7eb;
    --color-neutral-500: #6b7280;
    --color-neutral-600: #4b5563;
    --color-neutral-700: #374151;
    --color-neutral-900: #111827;
    --color-white:       #ffffff;

    /* Fonts */
    --font-gotham:        'SVN-Gotham', system-ui, sans-serif;
    --font-manrope:       'SVN-Gotham', 'Manrope', sans-serif;
    --font-inter:         'SVN-Gotham', 'Inter', sans-serif;
    --font-inter-tight:   'SVN-Gotham', 'Inter Tight', sans-serif;
    --font-dm-sans:       'SVN-Gotham', 'DM Sans', 'Inter', sans-serif;
    --font-base:          'SVN-Gotham', system-ui, sans-serif;
}

/* ==========================================
   RESET / BASE
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-inter);
}

/* ==========================================
   SITE HEADER
   ========================================== */
.site-header {
    background-color: var(--color-white);
    position: relative;
    z-index: 100;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 48px;
    background: var(--color-white);
    border-radius: 8px;
}

/* ---- Left Section (white card: logo + nav) ---- */
.site-header__left {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

/* Logo */
.site-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-header__logo .logo-text {
    font-family: var(--font-manrope);
    font-weight: 800;
    font-size: 20px;
    color: var(--color-primary);
    letter-spacing: 3px;
}

.site-header__logo img.logo-text {
    height: 16px;
    width: auto;
    display: block;
}

/* Navigation */
.site-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav__link {
    display: block;
    padding: 10px 12px;
    font-family: var(--font-manrope);
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.header-nav__link:hover {
    background-color: var(--color-primary-50);
    color: var(--color-primary);
}

.header-nav__link--active {
    background-color: var(--color-primary) !important;
    color: #f3f8fc !important;
    font-weight: 500;
}

/* ---- Right Section ---- */
.site-header__right {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Search button */
.header-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 30px;
    color: var(--color-neutral-600);
    font-family: var(--font-manrope);
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.header-search-btn svg {
    position: relative;
    top: 1px;
}

.header-search-btn svg circle, .header-search-btn svg path {
    stroke: var(--color-neutral-600);
}

/* Account buttons group */
.header-account {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-account__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-white);
    border-radius: 2px;
    color: var(--color-primary);
    font-family: var(--font-manrope);
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s;
    border: 1px solid var(--color-primary);
}

.header-account__btn:hover {
    background: var(--color-primary-50);
    color: var(--color-primary);
}

/* ---- Mobile Hamburger Toggle ---- */
.site-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.site-header__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* ---- Mobile Nav Full-Screen Overlay ---- */
.site-header__mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--color-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
    pointer-events: none;
}

.site-header__mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.site-header__mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-divider);
    flex-shrink: 0;
}

.site-header__mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    color: var(--color-primary);
    transition: background-color 0.2s;
}

.site-header__mobile-close:hover {
    background-color: var(--color-primary-50);
}

.site-header__mobile-nav nav {
    padding: 8px 24px 24px;
}

.site-header__mobile-nav .header-nav__link {
    border-radius: 4px;
    padding: 12px 16px;
}

/* ---- Toggle → × animation ---- */
.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   RESPONSIVE — HEADER
   ========================================== */
@media (max-width: 991.98px) {
    .site-header__toggle {
        display: flex;
    }

    .site-header__left {
        gap: 0;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__inner {
        padding: 12px 16px;
        border-radius: 4px;
    }
}

/* ==========================================
   SITE FOOTER
   ========================================== */

.site-footer {
    background-color: #f5f5f5;
    padding: 8px;
}

.site-footer__wrapper {
    background-color: #00478b;
    border-radius: 4px;
    padding: 32px 40px;
}

/* ── Top bar ── */
.site-footer__top {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 40px;
}

.site-footer__logo {
    display: flex;
    align-items: center;
}

.site-footer__logo img {
    height: 21px;
    width: auto;
 }

.site-footer__top-right {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.site-footer__top-policy {
    display: flex;
    align-items: center;
    gap: 48px;
}

.site-footer__top-link {
    font-family: var(--font-manrope);
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer__top-link:hover {
    color: #ffffff;
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-footer__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.site-footer__social-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ── Separator ── */
.site-footer__sep {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 24px 0 0;
    opacity: 1;
}

/* ── Nav grid ── */
.site-footer__nav-row {
    margin-top: 24px;
    row-gap: 32px;
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.site-footer__nav {
    flex: 1;
}

.site-footer__nav-heading {
    font-family: var(--font-manrope);
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: #ffffff;
    margin: 0 0 20px;
}

.site-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__nav-link {
    font-family: var(--font-manrope);
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.site-footer__nav-link:hover {
    color: #ffffff;
}

/* Contact items */
.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer__contact-label {
    font-family: var(--font-manrope);
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__contact-value {
    font-family: var(--font-manrope);
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    color: #ffffff;
    text-decoration: none;
}

/* Bottom items per column */
.site-footer__copyright {
    margin: 60px 0 0;
    font-family: var(--font-manrope);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #ffffff;
    opacity: 0.4;
}

.site-footer__copyright--mobile {
    display: none;
}

.site-footer__copyright-link {
    display: inline-block;
    margin-top: 32px;
    font-family: var(--font-inter-tight);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #ffffff;
    text-decoration: none;
}

.site-footer__copyright-link:hover {
    color: #ffffff;
}

.site-footer__bottom-policy {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-top: 80px;
    position: absolute;
    bottom: 0;
    flex-direction: row;
}

.site-footer__bottom-policy-link {
    font-family: var(--font-manrope);
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer__bottom-policy-link:hover {
    color: #ffffff;
}

/* Scroll-to-top button */
.site-footer__scroll-top {
    position: absolute;
    bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    margin-top: 32px;
    align-self: flex-end;
    flex-shrink: 0;
    transition: background-color 0.2s, transform 0.2s;
}

.site-footer__scroll-top:hover {
    background-color: #e5e7eb;
}

/* ==========================================
   RESPONSIVE — FOOTER
   ========================================== */

@media (min-width: 1000px) and (max-width: 1599.98px) {
    .site-footer__bottom-policy {
        gap: 24px;
    }
}

/* tablet (< lg) */
@media (max-width: 991.98px) {
    .site-footer__wrapper {
        padding: 32px 24px;
    }

    .site-footer__top {
        flex-wrap: wrap;
    }

    .site-footer__top-right {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: flex-end;
    }

    .site-footer__top-policy {
        gap: 24px;
    }

    .site-footer__col {
        padding: 0 12px;
    }
}

/* mobile (< md) */
@media (max-width: 767.98px) {
    .site-footer__top-right {
        width: 100%;
        justify-content: space-between;
    }

    .site-footer__top-policy {
        gap: 16px;
    }

    .site-footer__col {
        padding: 0;
    }

    .site-footer__copyright--desktop {
        display: none;
    }

    .site-footer__copyright--mobile {
        display: block;
    }
}

/* xs */
@media (max-width: 575.98px) {
    .site-footer__copyright {
        margin: 32px 0 0;
    }

    .site-footer {
        padding: 0;
    }

    .site-footer__wrapper {
        padding: 24px 16px;
        border-radius: 0;
    }

    .site-footer__top {
        gap: 16px;
    }

    .site-footer__top-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .site-footer__top-policy {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .site-footer__bottom-policy {
        gap: 16px;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        margin-top: 32px;
        position: unset;
    }
}
