:root {
    --green: #003d18;
    --green-light: #0a5a2a;
    --black: #161616;
    --page-bg: #194b31;
    --surface: #ffffff;
    --border: #d9d9d9;
    --muted: #6a6a6a;
    --danger: #9f1d25;
    --danger-dark: #7f151c;
    --focus: #1976d2;
    --shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
    margin: 0;
    background: linear-gradient(90deg, #244f38 0, var(--page-bg) 50%, #244f38 100%);
    color: #252525;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}
a { color: var(--green-light); }
a:hover { text-decoration: none; }
button, input, textarea { font: inherit; }

.page-shell {
    width: min(1400px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    background: var(--surface);
    box-shadow: 0 0 28px rgba(0, 0, 0, .25);
}

.shop-header { background: var(--green); color: #fff; }
.header-inner {
    min-height: 154px;
    padding: 28px 22px;
    display: grid;
    grid-template-columns: 360px minmax(280px, 400px) 1fr;
    gap: 42px;
    align-items: center;
}
.brand { display: inline-flex; width: fit-content; }
.brand img { display: block; width: min(315px, 100%); height: auto; }
.shop-search { display: flex; width: 100%; }
.shop-search input {
    width: 100%;
    height: 42px;
    border: 1px solid #d2d2d2;
    border-radius: 2px 0 0 2px;
    padding: 0 12px;
    background: #fff;
}
.shop-search button {
    height: 42px;
    border: 0;
    padding: 0 15px;
    background: var(--black);
    color: #fff;
    cursor: pointer;
}
.header-links { display: flex; justify-content: flex-end; gap: 18px; }
.header-links a { color: #fff; text-decoration: none; font-weight: 700; }

.main-nav {
    min-height: 45px;
    display: flex;
    align-items: stretch;
    background: var(--black);
}
.main-nav a {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #fff;
    text-decoration: none;
}
.main-nav a:first-child {
    background: #fff;
    color: #111;
    font-weight: 700;
    border-bottom: 2px solid var(--green);
}

.content-wrap { padding: 36px 40px 58px; }
.breadcrumb {
    max-width: 980px;
    margin: 0 auto 18px;
    display: flex;
    gap: 9px;
    color: var(--muted);
    font-size: .9rem;
}
.breadcrumb a { color: var(--green); }

.form-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 44px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}
h1 { margin: 0 0 12px; color: #171717; font-size: clamp(1.8rem, 4vw, 2.45rem); line-height: 1.2; }
h2 { margin: 0 0 8px; font-size: 1.06rem; }
.lead { margin: 0 0 30px; color: #444; font-size: 1.05rem; }

.step-indicator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 28px;
    border-bottom: 2px solid #e1e1e1;
    color: #777;
    font-size: .9rem;
    font-weight: 700;
}
.step-indicator span { padding: 0 8px 10px; }
.step-indicator .active { color: var(--green); border-bottom: 3px solid var(--green); margin-bottom: -2px; }
.step-indicator .done { color: var(--green); }

fieldset { margin: 0 0 28px; padding: 0; border: 0; }
legend {
    width: 100%;
    margin: 0 0 18px;
    padding: 0 0 9px;
    border-bottom: 1px solid #e5e5e5;
    color: #222;
    font-size: 1.12rem;
    font-weight: 700;
}
.field-grid { display: grid; gap: 18px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-weight: 700; }
.field input, .field textarea {
    width: 100%;
    border: 1px solid #bfbfbf;
    border-radius: 2px;
    background: #fff;
    padding: 11px 12px;
    color: #222;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .shop-search input:focus, button:focus, a:focus {
    outline: 3px solid rgba(25, 118, 210, .28);
    outline-offset: 2px;
    border-color: var(--focus);
}
.field small, .radio-card small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; }
.optional { color: var(--muted); font-weight: 400; }

.radio-group { display: grid; gap: 10px; margin-bottom: 20px; }
.radio-card {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #cfcfcf;
    cursor: pointer;
}
.radio-card:hover { border-color: var(--green); }
.radio-card input { margin-top: 5px; accent-color: var(--green); }
.radio-card strong { display: block; }

.privacy-note, .declaration {
    margin: 0 0 24px;
    padding: 15px 17px;
    border-left: 4px solid var(--green);
    background: #f2f6f3;
}
.declaration { font-weight: 700; }
.required-note { margin: 15px 0 0; color: var(--muted); font-size: .85rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.action-row { display: flex; justify-content: flex-end; gap: 12px; align-items: center; flex-wrap: wrap; }
.button {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 2px;
    padding: 11px 20px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
}
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-light); }
.button-secondary { background: #e7e7e7; color: #222; }
.button-secondary:hover { background: #d8d8d8; }
.button-danger { background: var(--danger); color: #fff; }
.button-danger:hover { background: var(--danger-dark); }

.alert { margin: 0 0 25px; padding: 15px 18px; border: 1px solid; }
.alert ul { margin: 8px 0 0; padding-left: 22px; }
.alert-error { background: #fff2f2; border-color: #d69a9a; color: #741313; }
.alert-warning { background: #fff8e5; border-color: #dfc66b; color: #654f00; }

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 24px;
    background: #ddd;
    border: 1px solid #ddd;
}
.review-grid > div { background: #fff; padding: 14px 16px; }
.review-grid span { display: block; margin-bottom: 3px; color: var(--muted); font-size: .86rem; }
.review-grid strong { overflow-wrap: anywhere; }
.review-text { margin: 0 0 20px; padding: 16px; border: 1px solid #ddd; background: #fafafa; }
.review-text p { margin: 0; overflow-wrap: anywhere; }

.status-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
}
.success-icon { background: #e4f4e9; color: var(--green); }
.reference-box { margin: 25px 0; padding: 18px; border: 2px solid var(--green); background: #f7fbf8; text-align: center; }
.reference-box span { display: block; color: var(--muted); font-size: .88rem; }
.reference-box strong { display: block; margin-top: 3px; color: var(--green); font-size: 1.35rem; letter-spacing: .02em; overflow-wrap: anywhere; }

.shop-footer { background: #f2f2f2; border-top: 1px solid #ddd; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 35px; padding: 35px 40px; }
.footer-grid h2 { margin-bottom: 12px; font-size: 1rem; }
.footer-grid p { margin: 0; color: #555; }
.footer-grid a { display: block; margin: 6px 0; color: #333; text-decoration: none; }
.footer-grid a:hover { color: var(--green); text-decoration: underline; }
.footer-grid .footer-highlight { font-weight: 700; color: var(--danger); }
.footer-bottom { padding: 16px 40px; border-top: 1px solid #ddd; color: #666; font-size: .82rem; }
.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: 980px) {
    .page-shell { width: 100%; }
    .header-inner { grid-template-columns: 1fr; gap: 20px; min-height: auto; }
    .brand { margin: 0 auto; }
    .shop-search { max-width: 620px; margin: 0 auto; }
    .header-links { justify-content: center; }
}

@media (max-width: 720px) {
    .content-wrap { padding: 24px 15px 40px; }
    .form-card { padding: 27px 20px; }
    .two-columns, .review-grid, .footer-grid { grid-template-columns: 1fr; }
    .main-nav { overflow-x: auto; white-space: nowrap; }
    .footer-grid { padding: 30px 20px; }
    .footer-bottom { padding: 16px 20px; }
    .action-row { align-items: stretch; flex-direction: column-reverse; }
    .button { width: 100%; }
}

@media print {
    body, .page-shell { background: #fff; box-shadow: none; }
    .shop-header, .main-nav, .breadcrumb, .shop-footer, .no-print { display: none !important; }
    .content-wrap { padding: 0; }
    .form-card { max-width: none; padding: 0; border: 0; box-shadow: none; }
}
