@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

:root {
    --navy: #0c1c45;
    --blue: #163174;
    --blue-bright: #1e4da1;
    --ice: #edf3f5;
    --mist: #f6f8f8;
    --paper: #ffffff;
    --ink: #18202d;
    --muted: #5f6a79;
    --line: #d7e0e4;
    --accent: #67c8dc;
    --shadow: 0 18px 55px rgba(12, 28, 69, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--mist);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--blue-bright);
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.15;
}

h1 {
    max-width: 820px;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: clamp(2.75rem, 7vw, 5.8rem);
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 4vw, 3.45rem);
    letter-spacing: -0.035em;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.38rem;
}

p {
    margin-top: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    color: #ffffff;
    background: var(--navy);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    color: #ffffff;
    background: rgba(12, 28, 69, 0.96);
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
}

.nav-shell,
.content-shell,
.footer-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.nav-shell {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 500;
    text-decoration: none;
}

.brand:hover {
    color: #ffffff;
}

.brand img {
    border-radius: 8px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 34px);
    font-size: 0.92rem;
}

.main-nav a {
    position: relative;
    padding: 22px 0 19px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    display: grid;
    min-height: min(790px, calc(100vh - 68px));
    place-items: center;
    overflow: hidden;
    background-image: url("../images/hero-sunset.jpg");
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 21, 53, 0.88) 0%, rgba(8, 21, 53, 0.58) 52%, rgba(8, 21, 53, 0.2) 100%),
        linear-gradient(0deg, rgba(8, 21, 53, 0.42) 0%, transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    padding: 80px 0 100px;
    color: #ffffff;
}

.hero-logo {
    width: 114px;
    height: 114px;
    margin-bottom: 30px;
    object-fit: contain;
}

.eyebrow {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow-blue {
    color: var(--blue-bright);
}

.hero-copy {
    max-width: 700px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
    color: var(--navy);
    background: #ffffff;
}

.button-primary:hover {
    color: var(--navy);
    background: var(--ice);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.section {
    padding: 100px 0;
}

.section-intro {
    background: var(--paper);
}

.section-heading {
    max-width: 800px;
    margin-bottom: 52px;
}

.section-heading > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.14rem;
}

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

.feature-card {
    position: relative;
    min-height: 285px;
    padding: 34px 30px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--mist);
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.feature-number {
    display: inline-block;
    margin-bottom: 36px;
    color: var(--blue-bright);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.section-news {
    color: #ffffff;
    background: var(--navy);
}

.section-heading-light h2 {
    color: #ffffff;
}

.section-heading-light > p:last-child {
    color: rgba(255, 255, 255, 0.65);
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.document-card {
    display: grid;
    grid-template-columns: minmax(155px, 0.72fr) minmax(0, 1.4fr);
    min-height: 370px;
    overflow: hidden;
    border-radius: 5px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.document-preview {
    height: 100%;
    overflow: hidden;
    background: #e8edf1;
}

.document-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 260ms ease;
}

.document-card:hover .document-preview img {
    transform: scale(1.025);
}

.document-body {
    display: flex;
    padding: 32px;
    flex-direction: column;
}

.document-body p:not(.document-date) {
    color: var(--muted);
}

.document-date {
    margin-bottom: 26px;
    color: var(--blue-bright);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.text-link {
    margin-top: auto;
    font-weight: 500;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    margin-left: 4px;
    transition: transform 160ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.section-contact {
    background: var(--ice);
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: start;
    gap: clamp(40px, 8vw, 110px);
}

.contact-shell > div > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.contact-card {
    display: flex;
    padding: 34px;
    border-top: 4px solid var(--blue);
    background: #ffffff;
    box-shadow: var(--shadow);
    flex-direction: column;
    font-style: normal;
}

.contact-card p {
    margin-bottom: 4px;
}

.contact-card a {
    margin-top: 8px;
}

.contact-name {
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 500;
}

.site-footer {
    padding: 45px 0;
    color: rgba(255, 255, 255, 0.62);
    background: #08132e;
    font-size: 0.9rem;
}

.footer-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 24px 45px;
}

.footer-shell p {
    margin-bottom: 0;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 500;
}

.footer-shell nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer-shell a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-shell a:hover {
    color: #ffffff;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero {
    padding: 80px 0 76px;
    color: #ffffff;
    background:
        linear-gradient(105deg, rgba(12, 28, 69, 0.96), rgba(22, 49, 116, 0.82)),
        url("../images/hero-sunset.jpg") center 45% / cover;
}

.page-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.page-hero p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
}

.legal-content {
    padding: 74px 0 110px;
    background: var(--paper);
}

.legal-shell {
    width: min(880px, calc(100% - 40px));
    margin: 0 auto;
}

.legal-notice {
    margin-bottom: 40px;
    padding: 18px 22px;
    border-left: 4px solid var(--blue);
    color: var(--muted);
    background: var(--ice);
    font-size: 0.94rem;
}

.legal-section {
    margin-bottom: 38px;
}

.legal-section h2 {
    margin-bottom: 14px;
    font-size: 1.42rem;
    letter-spacing: -0.01em;
}

.legal-section h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section address {
    font-style: normal;
}

.error-page {
    display: grid;
    min-height: calc(100vh - 68px);
    place-items: center;
    padding: 70px 20px;
    text-align: center;
    background:
        linear-gradient(rgba(12, 28, 69, 0.85), rgba(12, 28, 69, 0.85)),
        url("../images/hero-sunset.jpg") center / cover;
}

.error-page h1 {
    margin-bottom: 10px;
}

.error-page p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

    .document-card {
        grid-template-columns: 1fr;
    }

    .document-preview {
        height: 260px;
    }

    .contact-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 16px;
    }

    .nav-shell {
        min-height: 0;
        padding: 11px 0 8px;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .brand img {
        width: 32px;
        height: 32px;
    }

    .main-nav {
        width: 100%;
        gap: 18px;
        overflow-x: auto;
    }

    .main-nav a {
        padding: 8px 0 11px;
        white-space: nowrap;
    }

    .main-nav a::after {
        bottom: 5px;
    }

    .hero {
        min-height: 690px;
        background-position: 62% center;
    }

    .hero-content {
        padding: 62px 0 72px;
    }

    .hero-logo {
        width: 90px;
        height: 90px;
    }

    .section {
        padding: 72px 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

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

    .document-body,
    .feature-card,
    .contact-card {
        padding: 26px 23px;
    }

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

    .copyright {
        grid-column: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
