:root {
    --green-950: #0d3027;
    --green-900: #123c31;
    --green-800: #184d3e;
    --green-700: #1f604d;
    --green-100: #e8f0ed;
    --gold: #b99a55;
    --gold-light: #d8c28d;
    --ink: #17231f;
    --muted: #64716c;
    --line: #e3e9e6;
    --surface: #f6f8f7;
    --white: #fff;
    --danger: #a43939;
    --shadow: 0 22px 60px rgba(13, 48, 39, .08);
    --radius-lg: 24px;
    --radius-md: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body::before {
    position: fixed;
    z-index: -1;
    top: -300px;
    left: -250px;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 154, 85, .09), transparent 68%);
    content: "";
}

a { color: inherit; }
button, input { font: inherit; }

.page-shell { min-height: 100vh; }

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

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 132px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 66px;
    text-decoration: none;
}

.brand__logo {
    display: block;
    width: auto;
    max-width: 225px;
    max-height: 72px;
    object-fit: contain;
}

.site-header__label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, .82fr);
    gap: 90px;
    align-items: center;
    padding-block: 80px 92px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}

h1, h2, p { overflow-wrap: break-word; }

h1 {
    margin: 0;
    color: var(--green-950);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5.2vw, 70px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.04;
}

.gold-line {
    display: block;
    width: 76px;
    height: 2px;
    margin-block: 30px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.hero__intro {
    max-width: 570px;
    margin: 0;
    color: #43514c;
    font-size: 18px;
    line-height: 1.75;
}

.info-card {
    display: flex;
    gap: 15px;
    max-width: 590px;
    margin-top: 35px;
    padding: 19px 21px;
    border: 1px solid #dce6e2;
    border-left: 3px solid var(--gold);
    border-radius: 4px var(--radius-md) var(--radius-md) 4px;
    background: rgba(255, 255, 255, .68);
}

.info-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.info-card__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 23px;
    height: 23px;
    margin-top: 1px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 700;
}

.form-card {
    padding: 40px;
    border: 1px solid rgba(18, 60, 49, .07);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-card__heading { display: flex; gap: 17px; align-items: center; margin-bottom: 32px; }

.form-card__number {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #d8e2de;
    border-radius: 50%;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 15px;
}

.form-card__kicker { margin: 0 0 2px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.form-card h2 { margin: 0; color: var(--green-950); font-family: Georgia, serif; font-size: 26px; font-weight: 400; }

.alert {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 23px;
    padding: 12px 14px;
    border-radius: 9px;
    color: #812d2d;
    background: #fbefef;
    font-size: 13px;
}

.alert svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 8px; color: #2a3833; font-size: 13px; font-weight: 700; }

.input-wrap {
    display: flex;
    align-items: center;
    height: 56px;
    border: 1px solid #d8e0dd;
    border-radius: 11px;
    background: #fbfcfc;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.input-wrap:focus-within { border-color: var(--green-700); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 96, 77, .09); }
.input-wrap--invalid { border-color: #c86b6b; }

.input-wrap svg {
    width: 20px;
    margin-left: 17px;
    fill: none;
    stroke: #81908a;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.input-wrap input {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 16px 0 13px;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font-size: 15px;
}

.input-wrap input::placeholder { color: #9ca6a2; }
.input--uppercase { letter-spacing: .08em; text-transform: uppercase; }
.field__error, .field__hint { margin: 7px 2px 0; font-size: 12px; }
.field__error { color: var(--danger); }
.field__hint { color: #89938f; text-align: right; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 56px;
    padding: 14px 25px;
    border: 0;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s, background .18s, box-shadow .18s;
}

.button svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.button--primary { width: 100%; color: var(--white); background: var(--green-900); box-shadow: 0 10px 24px rgba(18, 60, 49, .18); }
.button--primary:hover { transform: translateY(-1px); background: var(--green-800); box-shadow: 0 13px 28px rgba(18, 60, 49, .24); }
.button--primary:focus-visible { outline: 3px solid rgba(185, 154, 85, .45); outline-offset: 3px; }

.form-card__note { display: flex; justify-content: center; gap: 7px; margin: 18px 0 0; color: #8b9692; font-size: 11px; }
.form-card__note svg { width: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

.site-footer { display: flex; justify-content: space-between; padding-block: 28px; border-top: 1px solid var(--line); color: #89938f; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.success-section { display: grid; min-height: calc(100vh - 230px); padding-block: 72px 100px; place-items: center; }
.success-card { width: min(720px, 100%); padding: 62px 60px 51px; border: 1px solid rgba(18, 60, 49, .07); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); text-align: center; }
.success-icon { display: grid; width: 92px; height: 92px; margin: 0 auto 28px; border: 1px solid #bfdbd1; border-radius: 50%; background: #edf6f2; place-items: center; }
.success-icon svg { width: 45px; fill: none; stroke: var(--green-700); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.success-card h1 { font-size: clamp(35px, 4.5vw, 52px); }
.gold-line--center { margin-inline: auto; }
.success-card__message { max-width: 550px; margin: 0 auto 34px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.button--back { width: auto; min-width: 330px; }
.success-card__reference { margin: 30px 0 0; color: #9aa39f; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 940px) {
    .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 64px 76px; }
    .hero__content, .hero__intro, .info-card { max-width: 700px; }
    .form-card { width: 100%; max-width: 700px; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 32px, 1180px); }
    .site-header { min-height: 100px; }
    .brand__logo { max-width: 170px; max-height: 58px; }
    .site-header__label { display: none; }
    .hero { gap: 38px; padding-block: 50px 64px; }
    h1 { font-size: 43px; }
    .hero__intro { font-size: 16px; line-height: 1.65; }
    .info-card { margin-top: 28px; padding: 17px; }
    .form-card { padding: 27px 21px; border-radius: 18px; }
    .form-card__heading { margin-bottom: 27px; }
    .form-card h2 { font-size: 23px; }
    .button { padding-inline: 14px; }
    .site-footer { align-items: center; flex-direction: column; gap: 5px; text-align: center; }
    .success-section { padding-block: 48px 70px; }
    .success-card { padding: 45px 22px 38px; }
    .success-icon { width: 78px; height: 78px; }
    .success-card__message { font-size: 15px; }
    .button--back { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
