:root {
    --text: #161616;
    --blue: #2e7cc0;
    --red: #ed3155;
    --red-hover: #db2549;
    --line: #e6e9ec;
}

* { box-sizing: border-box; }
body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--text);
    font-family: Montserrat, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
button, input { font: inherit; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
    width: min(1160px, 100%);
    min-height: 94px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; flex: none; }
.brand img { display: block; width: 225px; max-width: 100%; height: auto; }
.header-phone { white-space: nowrap; color: var(--text); font-size: 18px; font-weight: 700; text-decoration: none; }
.header-phone:hover { color: var(--blue); }
.main-wrap {
    width: min(1160px, 100%);
    flex: 1;
    margin: auto;
    padding: 85px 24px 90px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(50px, 7vw, 110px);
}
.intro { padding-top: 30px; }
h1 {
    max-width: 550px;
    margin: 0 0 24px;
    font-family: Nunito, Arial, sans-serif;
    font-size: clamp(39px, 4.5vw, 60px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.025em;
}
h1 span { color: var(--blue); }
.intro p { max-width: 480px; margin: 0; color: #4c4c4c; font-size: 16px; line-height: 1.65; }
.form-card { min-width: 0; }
h2 { margin: 0 0 28px; font-family: Nunito, Arial, sans-serif; font-size: 30px; font-weight: 900; line-height: 1.2; }
.field-grid { display: grid; grid-template-columns: 1fr; gap: 19px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.field label span { color: var(--red); }
.field input {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #e2e4e7;
    border-radius: 21px;
    outline: 0;
    background: #f7f8fa;
    color: var(--text);
    font-size: 15px;
    transition: border-color .15s;
}
.field input::placeholder { color: #92969b; }
.field input:focus { border-color: var(--blue); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field-error { display: block; margin-top: 6px; color: #b52040; font-size: 12px; line-height: 1.4; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 22px 0 20px; font-size: 12px; line-height: 1.55; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent-error { margin: -13px 0 16px 31px; }
.submit-button, .new-request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 38px;
    border: 0;
    border-radius: 60px;
    background: var(--red);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s;
}
.submit-button:hover, .new-request:hover { background: var(--red-hover); }
.submit-button:focus-visible, a:focus-visible, .consent input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.message { margin: 0 0 22px; color: #af1f3c; font-size: 14px; line-height: 1.5; }
.success { padding-top: 12px; }
.success p { margin: 0 0 25px; line-height: 1.6; }
.site-footer { width: min(1160px, 100%); display: flex; justify-content: space-between; gap: 16px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--line); color: #777; font-size: 13px; }
.site-footer a { color: #777; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 800px) {
    .main-wrap { max-width: 620px; padding-top: 52px; grid-template-columns: 1fr; gap: 43px; }
    .intro { padding-top: 0; }
    h1 { max-width: 620px; font-size: clamp(38px, 7vw, 52px); }
}
@media (max-width: 560px) {
    .header-inner { min-height: 76px; padding: 13px 18px; gap: 10px; }
    .brand img { width: 175px; }
    .header-phone { font-size: 13px; }
    .main-wrap { padding: 40px 18px 56px; gap: 36px; }
    h1 { margin-bottom: 17px; font-size: clamp(36px, 9vw, 45px); }
    .intro p { font-size: 15px; }
    h2 { margin-bottom: 24px; font-size: 27px; }
    .submit-button { width: 100%; }
    .site-footer { flex-direction: column; padding: 22px 18px 30px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; }
}
