/* ==================================================
   1. RESET
================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--ns-light);
    color: var(--ns-blue);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

a[x-apple-data-detectors],
a[x-apple-data-detectors] * {
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

/* ==================================================
   2. BRAND VARIABLES
================================================== */

:root {
    --ns-blue: #2f3976;
    --ns-blue-dark: #202858;
    --ns-red: #b62c32;
    --ns-red-dark: #9f232b;

    --ns-white: #ffffff;
    --ns-light: #f7f7f7;
    --ns-soft: #eef0f7;

    --ns-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    --ns-container: 1200px;
}

/* ==================================================
   3. GLOBAL TOP STRIP
================================================== */

.top-strip {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    width: 100%;
    height: 38px;
    overflow: hidden;
    background: var(--ns-red);
    color: var(--ns-white);
    white-space: nowrap;
}

.top-strip-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: topStripMove 32s linear infinite;
}

.top-strip-track span {
    flex-shrink: 0;
    padding-right: 80px;
    color: var(--ns-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

@keyframes topStripMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==================================================
   4. GLOBAL BUTTONS
================================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.btn-primary {
    background: var(--ns-red);
    color: var(--ns-white);
}

.btn-primary:hover {
    background: var(--ns-red-dark);
    color: var(--ns-white);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--ns-blue);
    color: var(--ns-blue);
}

.btn-secondary:hover {
    background: var(--ns-blue);
    color: var(--ns-white);
    transform: translateY(-2px);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 3px solid rgba(182, 44, 50, 0.28);
    outline-offset: 3px;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .top-strip-track {
        animation: none;
    }

    .btn-primary,
    .btn-secondary {
        transition: none;
    }
}

/* ==================================================
   5. GLOBAL HEADER / MENU
================================================== */

.container {
    width: 90%;
    max-width: var(--ns-container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    z-index: 9999;
    top: 0;
    width: 100%;
    background: rgba(47, 57, 118, 0.97);
    color: var(--ns-white);
    box-shadow: var(--ns-shadow);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 96px;
}

.site-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 86px;
    object-fit: contain;
}

.site-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.site-menu a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    color: var(--ns-white);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.site-menu a:hover,
.site-menu a.active {
    border-bottom-color: var(--ns-white);
}

.site-menu a:focus-visible {
    outline: 2px solid var(--ns-white);
    outline-offset: 5px;
}

.site-call {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 6px;
    background: var(--ns-red);
    color: var(--ns-white);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.site-call:hover {
    background: var(--ns-red-dark);
    color: var(--ns-white);
    transform: translateY(-1px);
}

.site-call:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.4);
    outline-offset: 3px;
}

.menu-toggle {
    display: none;
    padding: 4px;
    border: none;
    background: transparent;
    color: var(--ns-white);
    font-size: 32px;
    line-height: 1;
}

.mobile-call {
    display: none;
}

/* ==================================================
   6. GLOBAL BRANDS
================================================== */

.global-brands {
    padding: 80px 0;
    overflow: hidden;
    background: var(--ns-white);
}

.global-brands-header {
    margin-bottom: 55px;
    text-align: center;
}

.global-brands-header h2 {
    color: var(--ns-blue);
    font-size: 42px;
    line-height: 1.15;
}

.brands-slider {
    position: relative;
    overflow: hidden;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    will-change: transform;
    animation: scrollBrands 30s linear infinite;
}

.brands-track img {
    flex: 0 0 auto;
    width: auto;
    height: 80px;
    object-fit: contain;
    opacity: 0.55;
    filter: grayscale(100%);
    transition:
        filter 0.35s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

.brands-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.brands-slider:hover .brands-track {
    animation-play-state: paused;
}

@keyframes scrollBrands {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 40px));
    }
}

/* GLOBAL BRANDS REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .brands-track {
        animation: none;
    }

    .brands-track img {
        transition: none;
    }
}

/* ==================================================
   7. GLOBAL FOOTER
================================================== */

.site-footer {
    padding: 70px 0 24px;
    background: var(--ns-blue-dark);
    color: var(--ns-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 44px;
    margin-bottom: 44px;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-logo img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 110px;
    object-fit: contain;
}

.footer-licences p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.7;
}

.footer-column h3 {
    margin-bottom: 18px;
    color: var(--ns-white);
    font-size: 16px;
}

.footer-column li {
    margin-bottom: 5px;
}

.footer-column a,
.footer-column p,
.footer-column li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.8;
}

.footer-column p {
    margin-bottom: 6px;
}

.footer-column a {
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.footer-column a:hover {
    color: var(--ns-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
}

.footer-social img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.footer-social a:hover img {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-bottom {
    display: grid;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    text-align: center;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom a:hover {
    color: var(--ns-white);
}

/* ==================================================
   8. FORM MESSAGES
================================================== */

.form-message {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.form-message-success {
    border: 1px solid #b9dfc2;
    background: #eef8f1;
    color: #2d6a39;
}

.form-message-error {
    border: 1px solid #efb3b3;
    background: #fff2f2;
    color: #b62c32;
}

/* ==================================================
   9. GLOBAL RESPONSIVE
================================================== */

@media (max-width: 900px) {

    /* HEADER */

    .site-nav {
        position: relative;
        min-height: 82px;
    }

    .site-logo img {
        max-width: 165px;
        height: 76px;
    }

    .site-call {
        display: none;
    }

    .mobile-call {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        color: var(--ns-white);
        font-size: 27px;
        line-height: 1;
    }

    .mobile-call:focus-visible {
        outline: 2px solid var(--ns-white);
        outline-offset: 4px;
    }

    .menu-toggle {
        display: block;
    }

    .site-menu {
        position: absolute;
        z-index: 30;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        width: 100%;
        padding: 12px 0;
        background: rgba(47, 57, 118, 0.99);
        box-shadow: var(--ns-shadow);
        flex-direction: column;
        gap: 0;
    }

    .site-menu.active {
        display: flex;
    }

    .site-menu a {
        width: 100%;
        padding: 14px 20px;
        border-bottom: none;
        text-align: center;
    }

    .site-menu a:hover,
    .site-menu a.active {
        background: rgba(255, 255, 255, 0.1);
    }

    /* BRANDS */

    .brands-track img {
        height: 70px;
    }

    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    /* TOP STRIP */

    .top-strip {
        height: 34px;
    }

    .top-strip-track span {
        padding-right: 48px;
        font-size: 12px;
    }

    /* HEADER */

    .site-nav {
        min-height: 74px;
    }

    .site-logo img {
        max-width: 145px;
        height: 64px;
    }

    .mobile-call {
        font-size: 25px;
    }

    .menu-toggle {
        font-size: 29px;
    }

    /* BRANDS */

    .global-brands {
        padding: 55px 0;
    }

    .global-brands-header {
        margin-bottom: 40px;
    }

    .global-brands-header h2 {
        font-size: 28px;
    }

    .brands-track {
        gap: 60px;
    }

    .brands-track img {
        height: 58px;
    }

    /* FOOTER */

    .site-footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo img {
        max-width: 160px;
    }
}

@media (max-width: 600px) {

    @keyframes scrollBrands {

        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-50% - 30px));
        }
    }
}