:root {
    --ink: #0d1b2a;
    --navy: #123052;
    --blue: #1f6fbd;
    --gold: #d8a23a;
    --paper: #f6f8fb;
    --white: #ffffff;
    --muted: #637083;
    --line: #dce3ec;
    --shadow: 0 24px 60px rgba(13, 27, 42, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

.brand-loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(216, 162, 58, 0.16), transparent 34%),
        linear-gradient(135deg, #0d1b2a, #123052);
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.brand-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.brand-loader-mark {
    display: grid;
    width: min(220px, 54vw);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    animation: logoIntro 2s ease both;
}

.brand-loader-mark img {
    width: 74%;
    height: 74%;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.32));
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(220, 227, 236, 0.9);
    backdrop-filter: blur(14px);
    animation: dropIn 0.55s ease both;
}

.navbar {
    width: min(1180px, calc(100% - 32px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand.logo-only {
    display: flex;
    align-items: center;
}

.brand.logo-only img {
    width: 88px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 10px 15px;
    border-radius: 6px;
    color: var(--navy);
    font-weight: 800;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: var(--navy);
}

.nav-links a {
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 7px;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 14px 30px rgba(216, 162, 58, 0.26);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-dark {
    color: var(--white);
    background: var(--navy);
}

.site-footer {
    display: grid;
    gap: 28px;
    padding: 52px max(24px, calc((100vw - 1180px) / 2)) 24px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(13, 27, 42, 0.98), rgba(18, 48, 82, 0.96)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 44px;
}

.footer-brand {
    display: grid;
    align-items: start;
    gap: 18px;
}

.footer-brand img {
    width: 150px;
    height: 98px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    filter: contrast(1.08) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32));
}

.footer-brand strong {
    display: block;
    font-size: 1.28rem;
    letter-spacing: 0;
}

.footer-brand p {
    max-width: 440px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer-columns h2 {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-columns a,
.footer-columns span,
.footer-columns p,
.footer-info span {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 11px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-columns a:hover {
    color: var(--gold);
}

.footer-website {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
}

.footer-website:hover {
    color: var(--gold);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-keywords span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.86rem;
}

.footer-links a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--ink);
    background: var(--gold);
}

.footer-copy {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    text-align: center;
}

@media (max-width: 760px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .navbar {
        width: min(100% - 24px, 1180px);
    }

    .brand.logo-only img {
        width: 76px;
        height: 50px;
    }
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoIntro {
    0% {
        opacity: 0;
        transform: scale(0.82);
    }

    28% {
        opacity: 1;
        transform: scale(1.02);
    }

    70% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.96);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
