:root {
    --orange: #f45b05;
    --ink: #191919;
    --muted: #676767;
    --line: #dededb;
    --paper: #f5f5f2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.topline {
    padding: 7px 24px;
    color: #fff;
    background: var(--ink);
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.site-header {
    min-height: 72px;
    padding: 13px max(24px, calc((100vw - 1180px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--orange);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 222px;
    max-width: 54vw;
    height: 42px;
    object-fit: contain;
}

.brand span {
    padding: 8px 10px;
    background: #fff;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

nav { display: flex; gap: 28px; }
nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.intro {
    padding: 34px 0 25px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: end;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: .95;
    letter-spacing: -.045em;
}

.intro > p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.45;
}

.offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.offer {
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(180px, 42%) 1fr;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.offer-visual {
    min-height: 280px;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--paper);
}

.offer-visual img {
    width: 100%;
    height: 100%;
    max-height: 290px;
    object-fit: contain;
}

.offer-copy {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
}

.category {
    margin: 0 0 14px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h2 {
    margin: 0 0 12px;
    font-size: 25px;
    line-height: 1.08;
}

.description {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.prices {
    margin-top: auto;
    padding-top: 24px;
}

.regular {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-decoration: line-through;
}

.price {
    display: block;
    margin-top: 3px;
    color: var(--orange);
    font-size: 30px;
    font-weight: 800;
}

.valid {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
}

.actions {
    margin-top: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 11px 14px;
    color: #fff;
    background: var(--ink);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}

.source {
    align-self: center;
    color: var(--muted);
    font-size: 11px;
}

.status {
    grid-column: 1 / -1;
    padding: 50px 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

.callback-dialog {
    width: min(560px, calc(100% - 28px));
    max-height: calc(100vh - 28px);
    padding: 36px;
    border: 0;
    color: var(--ink);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

.callback-dialog::backdrop {
    background: rgba(25, 25, 25, .72);
}

.callback-dialog h2 {
    margin-bottom: 12px;
    font-size: 34px;
}

.dialog-close {
    position: absolute;
    top: 10px;
    right: 14px;
    padding: 4px 9px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 30px;
    cursor: pointer;
}

.dialog-intro {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.5;
}

.callback-product {
    margin: 0 0 22px;
    padding: 12px 14px;
    background: var(--paper);
    font-weight: 700;
}

#callbackForm {
    display: grid;
    gap: 9px;
}

#callbackForm > label:not(.consent) {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 800;
}

#callbackForm > input {
    width: 100%;
    padding: 12px;
    border: 1px solid #aaa;
    border-radius: 0;
    font: inherit;
}

#callbackForm > input:focus {
    outline: 2px solid var(--orange);
    outline-offset: 1px;
}

.field-hint {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent {
    margin-top: 10px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.consent input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--orange);
}

.form-message {
    min-height: 18px;
    margin: 4px 0 0;
    color: #a21d0a;
    font-size: 13px;
    font-weight: 700;
}

.submit-button {
    justify-self: start;
    margin-top: 2px;
    background: var(--orange);
}

.submit-button:disabled {
    opacity: .55;
    cursor: wait;
}

.callback-success p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.5;
}

.callback-success .button {
    margin-top: 12px;
}

footer {
    width: min(1180px, calc(100% - 40px));
    margin: 60px auto 0;
    padding: 28px 0 36px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

footer strong, footer span { display: block; }
footer span { margin-top: 5px; color: var(--muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 900px) {
    .offers { grid-template-columns: 1fr; }
    .intro { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 620px) {
    .topline { font-size: 9px; }
    .site-header { min-height: 64px; padding-inline: 18px; }
    nav a:first-child { display: none; }
    .brand img { width: 178px; height: 34px; }
    main, footer { width: min(100% - 28px, 1180px); }
    .intro { padding-top: 26px; }
    .offer { grid-template-columns: 1fr; }
    .offer-visual { min-height: 250px; }
    footer { flex-direction: column; }
    .callback-dialog { padding: 30px 22px 24px; }
}
