@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&display=swap');

:root {
    --red: #ed102d;
    --dark: #171c23;
    --gray: #efeeec;
    --purple: #8b00f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--dark); background: #fff; font-family: 'Onest', Arial, sans-serif; }
button, input, select { font: inherit; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.landing { overflow: hidden; }
.hero { min-height: 530px; padding: 60px 20px 70px; background: var(--gray); text-align: center; }
.brand { display: inline-block; line-height: 0; text-decoration: none; }
.brand img { display: block; width: min(320px, 72vw); height: auto; }
.hero h1 { margin: 70px 0 0; font-size: clamp(38px, 4vw, 68px); line-height: 1.08; font-weight: 400; }
.hero h1 strong { color: var(--red); }
.request-section { position: relative; min-height: 1110px; padding: 1px 20px 100px; background: #fff url('../images/product-pattern.png') center 380px / 100% auto no-repeat; }
.request-section::before { position: absolute; content: ''; inset: 0 0 auto; height: 330px; background: var(--gray); z-index: 0; }
.request-section::after { position: absolute; z-index: 1; content: ''; inset: 330px 0 0; background: rgba(255,255,255,.48); pointer-events: none; }
.step-heading { position: relative; z-index: 3; display: grid; grid-template-columns: 230px minmax(0, 500px); align-items: center; gap: 16px; width: min(746px, 100%); margin: -90px auto 30px; }
.step-art { display: block; width: 230px; height: 150px; object-fit: contain; object-position: center right; }
.step-heading h2 { margin: 0; color: var(--red); font-size: 37px; line-height: 1.08; }
.step-heading h2 span { color: #111; }
.form-card { position: relative; z-index: 2; width: min(760px, calc(100% - 20px)); margin: 0 auto; padding: 55px 44px 45px; border-radius: 50px; background: rgba(255,255,255,.96); box-shadow: 0 12px 46px rgba(0,0,0,.2); }
.form-card > h2 { margin: 0 0 55px; text-align: center; font-size: 48px; }
.form-card > h2 strong { color: var(--red); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.field { position: relative; display: block; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select { width: 100%; height: 74px; padding: 0 65px 0 30px; border: 1px solid #ddd; border-radius: 13px; outline: 0; background: #fff; color: #333; font-size: 23px; box-shadow: 0 6px 17px rgba(0,0,0,.09); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,16,45,.12); }
.field__icon { position: absolute; top: 23px; right: 24px; width: 28px; height: 28px; fill: #727272; pointer-events: none; }
.field small, .consent-error { display: block; margin: 7px 4px 0; color: #b00020; }
.consent { display: flex; align-items: center; gap: 32px; margin: 30px 4px 30px; font-size: 14px; line-height: 1.22; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: 0 0 25px; width: 25px; height: 25px; margin: 0; border: 3px solid #707070; border-radius: 8px; background-color: #fff; background-position: center; background-repeat: no-repeat; cursor: pointer; transition: border-color .2s, background-color .2s; }
.consent input:checked { border-color: var(--red); background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m5 12 4 4L19 6'/%3E%3C/svg%3E"); }
.consent input:focus-visible { outline: 3px solid rgba(237,16,45,.22); outline-offset: 3px; }
.consent span { display: block; max-width: 730px; }
.consent a { margin-left: 2px; color: inherit; font-weight: 800; text-decoration: none; white-space: nowrap; }
.consents { margin: 30px 4px; }
.consent-row { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: start; gap: 22px; margin-top: 24px; color: #6c625d; font-size: 14px; line-height: 1.55; }
.consent-row:first-child { margin-top: 0; }
.consent-check { display: block; padding-top: 2px; }
.consent-check input { appearance: none; -webkit-appearance: none; display: block; width: 25px; height: 25px; margin: 0; border: 2px solid #8b8b8b; border-radius: 3px; background: #fff center / 18px no-repeat; cursor: pointer; }
.consent-check input:checked { border-color: var(--red); background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m5 12 4 4L19 6'/%3E%3C/svg%3E"); }
.consent-check input:focus-visible { outline: 3px solid rgba(237,16,45,.22); outline-offset: 3px; }
.consent-copy a { color: #086ad8; text-decoration: underline; }
.consent-copy__text { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.consent-copy.is-expanded .consent-copy__text { display: block; overflow: visible; }
.consent-more { display: inline; margin: 4px 0 0; padding: 0; border: 0; color: #111; background: transparent; font-weight: 700; text-decoration: underline; cursor: pointer; }
.success-message { padding: 20px 15px 35px; text-align: center; }
.success-message h3 { margin: 0 0 30px; color: var(--red); font-size: 48px; }
.success-message p { max-width: 620px; margin: 14px auto; font-size: 22px; line-height: 1.5; }
.submit-button { display: flex; align-items: center; justify-content: center; gap: 25px; width: 100%; min-height: 96px; padding: 20px; border: 0; border-radius: 14px; color: #fff; background: var(--red); box-shadow: 0 9px 18px rgba(237,16,45,.3); font-size: 31px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.submit-button:hover { background: #d40b25; transform: translateY(-2px); }
.submit-button b { font-size: 52px; font-weight: 300; }
.submit-button[disabled] { opacity: .7; cursor: wait; }
.alert { margin: -30px 0 30px; padding: 16px 20px; border-radius: 10px; line-height: 1.4; }
.alert--success { color: #175c2a; background: #e7f8eb; border: 1px solid #a8ddb4; }
.alert--error { color: #8a0b1d; background: #fff0f2; border: 1px solid #f0acb5; }
.call-section { display: flex; align-items: center; min-height: 400px; padding: 65px 20px; background: var(--gray); }
.step-heading--two { margin: 0 auto; }
.step-heading--two h2 { font-size: 38px; }
.money-section { padding: 75px 20px 35px; text-align: center; }
.step-heading--three { margin: 0 auto 20px; }
.step-heading--three h2 strong { color: var(--purple); }
.money-section > img { display: block; width: min(620px, 90%); height: auto; margin: 15px auto 0; }
.app-download { margin: 40px auto 80px; text-align: center; }
.app-download p { margin: 0 0 58px; color: #111; font-size: 34px; font-weight: 500; }
.app-download__badges { display: flex; align-items: center; justify-content: center; gap: 170px; }
.app-download__badges img { display: block; width: auto; height: 72px; }
.landing-footer { position: relative; display: flex; align-items: center; justify-content: center; gap: 55px; min-height: 320px; padding: 45px 30px 70px; background: #eae9e7; }
.footer-item { display: flex; align-items: center; gap: 28px; width: 520px; }
.footer-item p { width: 310px; margin: 0; font-size: 20px; line-height: 1.25; }
.footer-item strong { color: var(--red); }
.footer-art { display: block; flex: 0 0 165px; width: 165px; height: 138px; object-fit: contain; -webkit-mask-image: radial-gradient(ellipse 70% 72% at center, #000 54%, rgba(0,0,0,.88) 67%, transparent 100%); mask-image: radial-gradient(ellipse 70% 72% at center, #000 54%, rgba(0,0,0,.88) 67%, transparent 100%); }
.footer-divider { flex: 0 0 2px; width: 2px; height: 150px; background: #aaa; }
.cookie-settings { position: absolute; bottom: 20px; left: 50%; padding: 4px 8px; border: 0; color: #554f4b; background: transparent; font: inherit; text-decoration: underline; cursor: pointer; transform: translateX(-50%); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
    .hero { min-height: 370px; padding-top: 35px; }
    .brand img { width: min(260px, 72vw); }
    .hero h1 { margin-top: 45px; font-size: 36px; }
    .request-section { min-height: auto; padding-bottom: 75px; background-position: center 360px; background-size: auto 520px; }
    .request-section::before { height: 230px; }
    .request-section::after { inset: 230px 0 0; background: rgba(255,255,255,.44); }
    .step-heading { grid-template-columns: 120px minmax(0, 1fr); gap: 8px; width: min(390px, 100%); margin: -45px auto 25px; }
    .step-art { width: 120px; height: 90px; }
    .step-heading h2, .step-heading--two h2 { font-size: 27px; }
    .form-card { width: 100%; padding: 36px 20px 28px; border-radius: 30px; }
    .form-card > h2 { margin-bottom: 35px; font-size: 37px; }
    .form-grid { grid-template-columns: 1fr; gap: 16px; }
    .field--wide { grid-column: auto; }
    .field input, .field select { height: 64px; font-size: 18px; }
    .field__icon { top: 19px; right: 20px; width: 24px; height: 24px; }
    .consent { gap: 22px; font-size: 16px; }
    .consent input { flex-basis: 34px; width: 34px; height: 34px; border-width: 3px; }
    .consent-row { grid-template-columns: 28px minmax(0, 1fr); gap: 16px; font-size: 14px; }
    .consent-check input { width: 28px; height: 28px; }
    .success-message h3 { font-size: 40px; }
    .success-message p { font-size: 18px; }
    .submit-button { min-height: 76px; font-size: 23px; }
    .call-section { min-height: 300px; padding: 45px 10px; }
    .money-section { padding: 60px 10px 30px; }
    .app-download { margin: 25px auto 50px; }
    .app-download p { margin-bottom: 38px; font-size: 25px; }
    .app-download__badges { gap: 55px; }
    .app-download__badges img { height: 58px; }
    .step-heading--two, .step-heading--three { margin: 0 auto; }
    .landing-footer { flex-direction: column; gap: 35px; min-height: 520px; text-align: center; }
    .footer-item { flex-direction: column; width: 100%; justify-content: center; }
    .footer-item p { width: auto; padding: 14px 18px; border-radius: 12px; background: rgba(239,238,236,.72); }
    .footer-divider { flex-basis: 1px; width: 70%; height: 1px; }
}

@media (max-width: 430px) {
    .step-heading { grid-template-columns: 105px minmax(0, 1fr); width: 100%; }
    .step-art { width: 105px; height: 82px; }
    .step-heading h2, .step-heading--two h2 { font-size: 20px; }
    .app-download__badges { gap: 20px; }
    .app-download__badges img { max-width: calc(50% - 10px); height: auto; }
}
