:root {
    --ink: #111827;
    --muted: #5f6775;
    --line: #d9dee7;
    --paper: #f7f9fb;
    --panel: #ffffff;
    --deep: #0f172a;
    --accent: #006fc9;
    --danger: #b42318;
    --success: #027a48;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(235, 242, 249, 0.96);
    border-bottom: 1px solid #cbd7e5;
    backdrop-filter: blur(12px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    width: min(250px, 58vw);
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--ink);
}

.hero {
    min-height: min(760px, calc(100vh - 72px));
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 28%, rgba(0, 111, 201, 0.12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7f9fb 48%, #e8edf4 100%);
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(247, 249, 251, 0.96), rgba(247, 249, 251, 0.82) 38%, rgba(247, 249, 251, 0.18)),
        url("../images/logo.png") right 12% center / min(58vw, 780px) auto no-repeat;
}

.hero-content {
    position: relative;
    padding: 32px 0 72px;
    color: var(--ink);
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--accent);
}

h1,
h2 {
    margin: 0;
    max-width: 760px;
    letter-spacing: 0;
    line-height: 1.08;
}

h1 {
    font-size: clamp(42px, 8vw, 86px);
    font-weight: 800;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
}

.intro {
    max-width: 560px;
    margin: 24px 0 32px;
    color: var(--muted);
    font-size: 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--deep);
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.button.primary {
    background: var(--deep);
    color: #fff;
}

.button.primary:hover {
    background: #1d293d;
}

.section {
    padding: 96px 0;
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.copy {
    color: var(--muted);
    font-size: 17px;
}

.copy p {
    margin: 0 0 18px;
}

.contact-band {
    padding: 96px 0;
    background: #eef2f6;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
}

.details {
    margin: 40px 0 0;
}

.details div {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.details dt {
    color: var(--ink);
    font-weight: 800;
}

.details dd {
    margin: 4px 0 0;
    color: var(--muted);
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 32px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
}

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

.contact-form span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cfd6e2;
    border-radius: 4px;
    padding: 13px 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 111, 201, 0.14);
    outline: none;
}

.captcha {
    display: grid;
    gap: 8px;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.captcha-row img {
    width: 190px;
    height: 58px;
    border: 1px solid #cfd6e2;
    border-radius: 4px;
    background: #f5f8fc;
}

.captcha-row input {
    max-width: 190px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    padding: 13px 14px;
    border-radius: 4px;
    border: 1px solid;
    font-weight: 700;
}

.notice.success {
    color: var(--success);
    background: #ecfdf3;
    border-color: #abefc6;
}

.notice.error {
    color: var(--danger);
    background: #fef3f2;
    border-color: #fecdca;
}

.footer {
    background: #fff;
}

.footer-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 760px) {
    .wrap {
        width: min(100% - 32px, 1120px);
    }

    .nav {
        min-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 620px;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(247, 249, 251, 0.54), rgba(247, 249, 251, 0.94) 44%, rgba(247, 249, 251, 1)),
            url("../images/logo.png") center 36px / min(88vw, 520px) auto no-repeat;
    }

    .hero-content {
        padding: 230px 0 56px;
    }

    h1 {
        font-size: 42px;
    }

    .intro {
        font-size: 18px;
    }

    .section,
    .contact-band {
        padding: 64px 0;
    }

    .split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 22px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}
