.consultation-slot {
    width: 440px;
    max-width: 100%;
    margin: 60px auto 0 0;
    container-type: inline-size;
}
.consultation-card {
    --ink: #151317;
    --action: #151317;
    --label: #fffaf0;
    --pad: clamp(18px, 6cqw, 27px);
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    min-height: 82cqw;
    box-sizing: border-box;
    border-radius: 22px;
    overflow: hidden;
    color: var(--ink);
    background: #faeed9 url('paper-plane.webp') center / 100% 100% no-repeat;
    font-family: 'Golos Text', Arial, sans-serif;
}
.consultation-art { padding: var(--pad) var(--pad) 0; }
.consultation-logo { display: block; width: 96px; height: auto; filter: brightness(0); }
.consultation-copy { padding: 18px var(--pad) 20px; flex: 1; }
.consultation-copy h2 {
    margin: 0;
    font-size: clamp(33px, 10.3cqw, 46px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
    color: inherit;
}
.card-paper-plane h2 { max-width: 65%; }
.consultation-copy p {
    margin: 18px 0 0;
    font-size: clamp(15px, 4cqw, 18px);
    line-height: 1.28;
    color: inherit;
}
.card-paper-plane .consultation-copy p { max-width: 90%; }
.consultation-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 13px var(--pad);
    min-height: 50px;
    box-sizing: border-box;
    background: var(--action);
    color: var(--label);
    font-size: clamp(15px, 4.2cqw, 19px);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}
.consultation-link:hover { text-decoration: underline; }
.consultation-link:focus-visible { outline: 3px solid currentColor; outline-offset: -6px; }
.consultation-link span { font-size: 1.3em; }
.card-orange-steps {
    --ink: #fff8e9;
    --action: #ff821f;
    --label: #1d1121;
    background-color: #220f25;
    background-image: linear-gradient(90deg, rgba(21,6,23,.93) 5%, rgba(21,6,23,.82) 48%, transparent 73%), url('orange-steps.webp');
}
.card-orange-steps .consultation-logo { filter: brightness(0) invert(1); }
.card-orange-steps .consultation-copy h2 { font-size: clamp(40px, 12.2cqw, 55px); }
.card-orange-steps .consultation-copy p { max-width: 60%; }
.card-geometry { --action: #151b2c; background: #fff0c5; }
.card-geometry .consultation-art {
    box-sizing: border-box;
    height: 34cqw;
    background: #c29a6d url('geometry.webp') center / cover no-repeat;
    padding: 14px var(--pad);
}
.card-geometry .consultation-logo {
    padding: 5px 7px;
    background: #fff4d4;
    filter: none;
}
.card-geometry .consultation-copy { padding-top: 12px; padding-bottom: 14px; }
.card-geometry h2 { font-family: Georgia, 'Times New Roman', serif; }
.card-geometry .consultation-copy p { margin-top: 9px; }
@media (max-width: 1400px) {
    .content_row:has(.consultation-slot) { display: block; }
    .consultation-slot { width: min(440px, calc(100% - 30px)); margin: 22px auto 36px; }
    .consultation-card { position: relative; top: auto; }
}

button.consultation-link { border: 0; cursor: pointer; font-family: inherit; width: 100%; }
.offer-card {
    --pad: clamp(22px, 7cqw, 32px);
    min-height: 0;
    background: #fff9ee;
}
.offer-art {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: top;
}
.offer-copy {
    display: grid;
    gap: clamp(20px, 5.5cqw, 26px);
    padding: var(--pad);
}
.offer-copy h2 {
    margin: 0;
    font-size: clamp(22px, 7cqw, 31px);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 750;
    overflow-wrap: anywhere;
}
.offer-copy p {
    margin: 0;
    font-size: clamp(15px, 4cqw, 17px);
    line-height: 1.48;
}
.offer-card .consultation-link {
    justify-content: center;
    border-radius: 14px;
    padding: 14px 16px;
    min-height: 48px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}
@media (max-height: 760px) {
    .offer-card { position: relative; top: auto; }
}

.consultation-popup, .tilda-captcha {
    box-sizing: border-box;
    color: #211c19;
    background: #fffcf6;
    border: 0;
    border-radius: 22px;
    max-height: calc(100dvh - 32px);
    max-width: calc(100% - 24px);
    margin: auto;
    box-shadow: 0 20px 80px #211c1938;
}
.consultation-popup { width: 710px; padding: 0; }
.consultation-popup[open] { display: grid; grid-template-columns: 1.55fr 1fr; }
.consultation-popup::backdrop, .tilda-captcha::backdrop { background: rgb(24 19 16 / 62%); }
.consultation-fields { padding: 36px 26px 30px; }
.consultation-popup h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.08; letter-spacing: -.04em; }
.consultation-fields > p { font-size: 15px; line-height: 1.45; margin: 12px 0 18px; }
.consultation-popup form, .consultation-popup label { display: grid; gap: 6px; }
.consultation-popup form { gap: 14px; }
.consultation-popup label { font-size: 14px; font-weight: 600; }
.consultation-popup input, .consultation-popup button { font: inherit; }
.consultation-popup input { border: 1px solid #a99e92; border-radius: 10px; padding: 12px; background: #fff; min-width: 0; font-size: 16px; }
.consultation-popup button { cursor: pointer; }
.consultation-popup button[type=submit] { border: 0; border-radius: 12px; padding: 14px; background: #1e1a17; color: #fff; font-weight: 650; }
.consultation-popup button:disabled { opacity: .7; cursor: wait; }
.consultation-popup .consultation-consent { font-size: 12px; line-height: 1.45; color: #59514b; margin: 0; }
.consultation-popup a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.consultation-close { position: absolute; top: 7px; right: 7px; border: 0; width: 40px; height: 40px; border-radius: 50%; background: #fffcf6; color: #211c19; }
.consultation-popup .consultation-close { font-size: 25px; }
.consultation-contacts { background: #f3eadc; padding: 52px 22px 24px; font-size: 15px; line-height: 1.55; }
.consultation-contacts h3 { font-size: 18px; line-height: 1.25; margin: 0 0 18px; }
.consultation-contacts div { margin-bottom: 16px; }
.consultation-fields .consultation-status { margin: 12px 0 0; }
.consultation-status:empty { display: none; }
.consultation-status[data-state=error] { color: #922e16; }
.consultation-popup form[hidden] { display: none; }
.tilda-captcha { padding: 12px; width: 540px; }
.tilda-captcha iframe { display: block; width: 100%; height: min(55dvh, 420px); border: none; }
.tilda-captcha button { padding: 10px; cursor: pointer; }
@media (max-width: 620px) {
    .consultation-popup[open] { display: block; }
    .consultation-fields { padding: 27px 21px 20px; }
    .consultation-popup h2 { padding-right: 25px; }
    .consultation-contacts { padding: 18px 21px; }
}
