@font-face {
    font-family: Lexend;
    src: url("lexend-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}
:root {
    --navy: #052b43;
    --blue: #00669e;
    --cyan: #2cb9df;
    --red: #bb202b;
    --ink: #122d3c;
    --muted: #495f6c;
    --mist: #edf7fa;
    --sand: #f7f6f2;
    --line: #d9e7ec;
    --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 Lexend, system-ui, sans-serif; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 2; transform: translateY(-200%); padding: 10px; background: white; }
.skip:focus { transform: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; color: var(--navy); line-height: 1.1; text-decoration: none; }
.brand small { display: block; color: var(--blue); font-size: .84em; margin-top: 4px; }
.desktop-nav { display: flex; gap: clamp(12px, 3vw, 40px); }
.header-inner nav a, .header-phone { color: var(--navy); text-decoration: none; font-weight: 700; }
.header-inner nav a:hover, .header-phone:hover { text-decoration: underline; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; white-space: nowrap; }
.mobile-menu { display: none; }
.hero { background: var(--navy); color: white; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; align-items: center; gap: clamp(24px, 5vw, 75px); padding-block: 42px; }
.hero-copy { padding-block: 22px; }
h1, h2, h3 { line-height: 1.11; margin: 0 0 .55em; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 5.45vw, 5rem); }
h1 em { display: block; color: #80d9ed; font-style: normal; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3.15rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
.hero p, .inner-hero p { font-size: clamp(1.06rem, 1.45vw, 1.25rem); max-width: 47ch; }
.hero p { color: #d7ebf5; }
.hero-image { position: relative; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 4px 46px 4px 4px; background: #b8c8cd; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 16px; font: inherit; font-weight: 750; border: 1px solid transparent; border-radius: 7px; text-decoration: none; cursor: pointer; }
.primary { color: white; background: var(--red); }
.primary:hover { background: #9a1923; }
.outline { color: white; border-color: #809aa8; }
.outline:hover { background: #0a3c59; }
.hero :focus-visible, footer :focus-visible { outline-color: #80d9ed; }
.section { padding-block: clamp(42px, 7vw, 94px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-top: 4px solid var(--cyan); border-radius: 5px 5px 16px 16px; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card p { color: var(--muted); }
.card-link { margin-top: auto; font-weight: 700; }
.soft { background: var(--sand); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(24px, 6vw, 90px); }
.steps { margin: 0; padding-left: 1.4em; }
.steps li { padding-left: 8px; margin-bottom: 12px; }
.steps li::marker { color: var(--blue); font-weight: 800; }
details { border-bottom: 1px solid var(--line); }
summary { padding-block: 14px; cursor: pointer; font-weight: 750; }
details p { margin-left: 1em; }
.inner-hero, .contact { background: var(--mist); }
.inner-hero { padding-block: 42px 58px; }
.inner-hero h1, .narrow h1 { font-size: clamp(2.25rem, 5.1vw, 4rem); }
.crumb { margin-bottom: 24px; }
.narrow p + h2, .narrow details + h2 { margin-top: 1.2em; }
.contact-grid { grid-template-columns: .85fr 1.15fr; }
.contact-phone { font-weight: 800; font-size: 1.75rem; }
.form-panel { background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3.5vw, 36px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; margin-bottom: 14px; font-weight: 700; }
label span, .form-note { color: var(--muted); font-size: .875rem; font-weight: 400; }
input, select, textarea { display: block; width: 100%; min-height: 46px; margin-top: 5px; padding: 9px 10px; color: var(--navy); font: inherit; font-weight: 400; border: 1px solid #8babbc; border-radius: 5px; background: var(--white); }
textarea { resize: vertical; }
footer { color: white; background: var(--navy); }
footer a, footer .brand { color: white; }
@media (max-width: 760px) {
    .wrap { width: min(680px, calc(100% - 32px)); }
    .hero-grid, .cards, .split { grid-template-columns: 1fr; }
    .hero-grid { min-height: auto; padding-block: 35px 24px; }
    .hero-copy { padding: 0; }
    .hero-image img { aspect-ratio: 16 / 10; }
    .footer-inner { flex-wrap: wrap; min-height: auto; padding-block: 12px; }
    .header-inner { min-height: 68px; justify-content: flex-start; gap: 8px; }
    .header-inner .brand { margin-right: auto; gap: 8px; font-size: .94rem; }
    .header-inner .brand img { width: 36px; height: 36px; }
    .desktop-nav, .header-phone span { display: none; }
    .header-phone { width: 44px; height: 44px; padding: 0; flex-shrink: 0; }
    .mobile-menu { display: block; position: relative; flex-shrink: 0; border: 0; }
    .mobile-menu summary {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid var(--line);
        border-radius: 9px;
        color: var(--navy);
        background: var(--mist);
        font-size: .875rem;
        list-style: none;
    }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .menu-icon { display: grid; width: 16px; gap: 3px; }
    .menu-icon i { height: 2px; border-radius: 2px; background: currentColor; }
    .mobile-menu[open] .menu-icon i:first-child { transform: translateY(5px) rotate(45deg); }
    .mobile-menu[open] .menu-icon i:nth-child(2) { opacity: 0; }
    .mobile-menu[open] .menu-icon i:last-child { transform: translateY(-5px) rotate(-45deg); }
    .mobile-menu nav {
        position: absolute;
        z-index: 1;
        top: calc(100% + 7px);
        right: 0;
        min-width: 190px;
        padding: 6px;
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: 0 12px 28px #052b4329;
        background: var(--white);
    }
    .mobile-menu nav a { display: block; padding: 10px 12px; border-radius: 6px; }
    .mobile-menu nav a:hover, .mobile-menu nav a:focus-visible { background: var(--mist); }
}
@media (max-width: 440px) {
    .fields { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
