:root {
    --blue-950: #03284f;
    --blue-900: #063b78;
    --blue-800: #084b91;
    --blue-700: #0a5bb5;
    --blue-600: #126bc5;
    --blue-100: #e8f3ff;
    --blue-50: #f3f8fd;
    --ink: #172334;
    --muted: #5b6878;
    --line: #dce6f0;
    --white: #ffffff;
    --success: #176b42;
    --success-bg: #e9f8f0;
    --error: #9c2e2e;
    --error-bg: #fff0f0;
    --shadow-sm: 0 10px 30px rgba(4, 46, 91, 0.08);
    --shadow-md: 0 22px 60px rgba(4, 46, 91, 0.15);
    --radius-md: 24px;
    --radius-lg: 36px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    color: var(--white);
    background: var(--blue-950);
    border-radius: 8px;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

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

.government-bar {
    color: rgba(255, 255, 255, 0.9);
    background: var(--blue-950);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.government-bar__content {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.government-bar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.government-bar a:hover {
    text-decoration: underline;
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(4, 46, 91, 0.08);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    text-decoration: none;
}

.brand__province {
    width: 116px;
    height: 62px;
    object-fit: contain;
}

.brand__divider {
    width: 1px;
    height: 56px;
    background: var(--line);
}

.brand__iduv {
    width: 92px;
    height: 68px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 11px 14px;
    color: #233449;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--blue-800);
    background: var(--blue-50);
}

.main-nav .main-nav__featured {
    margin-left: 8px;
    padding-inline: 20px;
    color: var(--white);
    background: var(--blue-800);
    box-shadow: 0 8px 22px rgba(8, 75, 145, 0.22);
}

.main-nav .main-nav__featured:hover {
    color: var(--white);
    background: var(--blue-700);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    color: var(--blue-900);
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.menu-button__bars,
.menu-button__bars::before,
.menu-button__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button__bars {
    position: relative;
}

.menu-button__bars::before,
.menu-button__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-button__bars::before {
    top: -6px;
}

.menu-button__bars::after {
    top: 6px;
}

.menu-button[aria-expanded="true"] .menu-button__bars {
    background: transparent;
}

.menu-button[aria-expanded="true"] .menu-button__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 640px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 86% 14%, rgba(87, 174, 255, 0.27), transparent 28%),
        radial-gradient(circle at 16% 90%, rgba(75, 148, 226, 0.2), transparent 30%),
        linear-gradient(126deg, var(--blue-950) 0%, var(--blue-900) 50%, var(--blue-700) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
}

.hero__decoration {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.hero__decoration--one {
    width: 480px;
    height: 480px;
    top: -250px;
    right: -150px;
}

.hero__decoration--two {
    width: 320px;
    height: 320px;
    right: 20%;
    bottom: -230px;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: clamp(42px, 7vw, 96px);
    align-items: center;
    padding-block: 92px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #aad5ff;
}

.hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.55rem, 5.2vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.hero__lead {
    max-width: 680px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 1.9vw, 1.28rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    border: 0;
    border-radius: 12px;
    text-decoration: none;
    font: inherit;
    font-weight: 850;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.button--primary {
    color: var(--blue-950);
    background: var(--white);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.button--primary:hover {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.button--secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.07);
}

.button--secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.button--submit {
    color: var(--white);
    background: var(--blue-800);
    box-shadow: 0 10px 26px rgba(8, 75, 145, 0.24);
}

.button--submit:hover {
    background: var(--blue-700);
}

.hero-card {
    position: relative;
    padding: clamp(28px, 4vw, 44px);
    overflow: hidden;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.hero-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: var(--blue-100);
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-card__icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-800), var(--blue-600));
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(8, 75, 145, 0.24);
}

.hero-card__icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-card__tag {
    display: inline-flex;
    padding: 6px 10px;
    color: var(--blue-800);
    background: var(--blue-100);
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-card h2 {
    margin: 18px 0 12px;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.13;
    letter-spacing: -0.035em;
}

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

.hero-card > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    color: var(--blue-800);
    text-decoration: none;
    font-weight: 900;
}

.hero-card > a:hover {
    text-decoration: underline;
}

.contact-section {
    padding-block: 104px;
    background: var(--blue-50);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 26px;
    align-items: start;
}

.contact-form-card,
.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.contact-form-card {
    padding: clamp(24px, 4vw, 42px);
    border-radius: var(--radius-md);
}

.contact-form {
    display: grid;
    gap: 22px;
}

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

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: #24384f;
    font-size: 0.92rem;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #cbd9e6;
    border-radius: 11px;
    outline: 0;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    min-height: 160px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(18, 107, 197, 0.12);
}

.form-message {
    margin-bottom: 24px;
    padding: 15px 17px;
    border-radius: 12px;
    font-size: 0.94rem;
}

.form-message ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.form-message--success {
    color: var(--success);
    background: var(--success-bg);
    border: 1px solid #b9e2ca;
}

.form-message--error {
    color: var(--error);
    background: var(--error-bg);
    border: 1px solid #efc2c2;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.contact-data {
    display: grid;
    gap: 16px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: 18px;
}

.contact-card__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--blue-800);
    border-radius: 13px;
    font-size: 1.2rem;
    font-weight: 900;
}

.contact-card h3 {
    margin: 0 0 7px;
    color: var(--blue-900);
    font-size: 1.05rem;
    line-height: 1.25;
}

.contact-card p {
    margin: 2px 0;
    color: var(--muted);
}

.contact-card a {
    color: var(--blue-800);
    text-decoration: none;
    font-weight: 750;
}

.contact-card a:hover {
    text-decoration: underline;
}

.site-footer {
    color: rgba(255, 255, 255, 0.75);
    background: #021d38;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    padding-block: 68px;
}

.site-footer__brand img {
    width: 88px;
    height: 100px;
    margin-bottom: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.site-footer__brand p {
    margin: 0;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 850;
}

.site-footer__brand span {
    display: block;
    margin-top: 4px;
    font-size: 0.92rem;
}

.site-footer__links {
    min-width: 270px;
    display: grid;
    align-content: start;
    gap: 10px;
}

.site-footer__links h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 1rem;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.site-footer__links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.site-footer__bottom {
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.82rem;
}

.site-footer__bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .site-header__inner {
        min-height: 82px;
    }

    .brand__province {
        width: 96px;
        height: 54px;
    }

    .brand__iduv {
        width: 74px;
        height: 58px;
    }

    .brand__divider {
        height: 46px;
    }

    .menu-button {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow-md);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 14px;
    }

    .main-nav .main-nav__featured {
        margin: 2px 0 0;
        text-align: center;
    }

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

    .hero__grid {
        padding-block: 72px;
    }

    .hero__content {
        max-width: 760px;
    }

    .hero-card {
        max-width: 660px;
    }

    .contact-data {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .government-bar__content {
        min-height: 38px;
        justify-content: center;
    }

    .government-bar__content > span {
        display: none;
    }

    .site-header__inner {
        gap: 12px;
    }

    .brand {
        gap: 10px;
    }

    .brand__province {
        width: 78px;
        height: 46px;
    }

    .brand__iduv {
        width: 59px;
        height: 49px;
    }

    .brand__divider {
        height: 38px;
    }

    .menu-button__text {
        display: none;
    }

    .menu-button {
        width: 42px;
        height: 42px;
        justify-content: center;
        padding: 0;
    }

    .hero {
        min-height: auto;
    }

    .hero__grid {
        gap: 42px;
        padding-block: 60px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.7rem);
    }

    .hero__actions,
    .form-row,
    .contact-data {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .hero-card {
        border-radius: 26px;
    }

    .contact-section {
        padding-block: 76px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-block: 52px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
