/* overrides.css — сюда добавляй стили для перезаписи */

.sections__container-bg .section-bg-picture {
    position: absolute;
    inset: 0;
    min-width: 0;
    min-height: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.sections__container-bg .section-bg-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#start .section__row-container .flex-row-picture,
#start .section__column-container.mob .flex-row-picture {
    display: contents;
}

#reg .section__image-container .reg-split-picture {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
}

#reg .section__image-container .reg-split-picture .section__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

@media screen and (max-width: 768px) {
    #start .section__image-container>picture .section__image {
        max-width: 300px;
        max-height: 300px;
        margin-inline: auto;
    }
}

.selected {
    color: #20539F;
}

.big-button {
    background: linear-gradient(270deg, #6FBEFF 0%, #AFDCFF 100%);
}

h1 .selected {
    text-transform: uppercase;
}

.section__delivery {
    background: #D5D4D4;
}

/* ============================================================
   GENERIC single-2 layout fixes — запекаются в СТОК (не per-site).
   Источник: проверенные ревью-фиксы из single-2-vigormax (SEOX-2298),
   возвращены в сток на SEOX-2401, чтобы НЕ всплывать на каждом новом
   single-2-сайте. Бренд-зависимое (#reg background-image при дубль-
   флаконе bl15_bg2; точечный recolor) — НЕ здесь, делать per-site.
   ============================================================ */

/* hero: картинка-сцена была на всю ширину (#start .section__image{max-width:100%}),
   форма уезжала ПОД неё. Возвращаем ряд "картинка | форма". */
@media screen and (min-width: 481px) {
    #start .section__image.desk {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 16px;
        max-height: 100%;
    }
}

/* side-by-side "картинка | форма" только ≥1280: на 769–1279 у .section__container
   max-width:694 сжимал картинку в полоску ~42px (iPad 1024 «стиснулась картинка»). */
@media screen and (min-width: 1280px) {
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) {
        flex-wrap: nowrap;
        align-items: stretch;
    }
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture {
        flex: 1 1 0;
        min-width: 0;
        align-self: stretch;
        display: flex;
        overflow: hidden;
        border-radius: 16px;
    }
}

/* 481–1279: картинка hero ОТДЕЛЬНОЙ строкой над формой (центрирована, не сжимается). */
@media screen and (min-width: 481px) and (max-width: 1279px) {
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture {
        width: 100%;
        max-width: 460px;
        margin-inline: auto;
        display: flex;
        overflow: hidden;
        border-radius: 16px;
    }
}

/* reg: базовый .section__image{flex-shrink:0} не давал флакону ужаться под колонку. */
/* object-fit:contain — на десктопе (>1200) у #reg-картинки не было object-fit (contain
   только в @media ≤1200) → портретный пэкшот растягивался по ширине (fill). Теперь contain
   на всех вьюпортах: флакон вписывается без искажения, по бокам — фон dth18-sekcja-rejestracja-tlo-produkt. */
#reg .section__image {
    flex-shrink: 1;
    object-fit: contain;
}

/* лого в шапке: ширина по соотношению сторон (без растяжения от атрибута width). */
.header__logo {
    width: auto;
}

/* отзывы: аватары были 96px → 48px на всех девайсах; блок автора влево. */
#review .section__card .section__row-container.center img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: cover;
}
#review .section__card .section__row-container.center {
    justify-content: flex-start;
}

/* #solutions: картинка растягивалась (база object-fit:fill, width=атрибут в узкой колонке) → cover. */
#solutions .section__column-container--relative .section__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

/* мобайл: отступ продукт→форма (gap колонки 48px) выровнять с текст→продукт (40px). */
@media screen and (max-width: 768px) {
    #start .section__container > .section__column-container:first-child {
        gap: 40px;
        row-gap: 40px;
    }
}

/* SEOX-2401 ревью: бренд-хайлайт .selected (#20539F) в #solutions на тёмном фоне
   (#3d3f42) плохо читается. Только #solutions тёмная среди стандартных секций →
   светло-синий тон. Остальные .selected на светлом фоне — #20539F остаётся. */
#solutions .selected {
    color: #6FBEFF;
}

/* SEOX-2741: блок таймера — тёмная плашка «предложение действует до…» и светлая
   панель под ней части одной карточки, но общий .section__column-container
   { gap: 24px } разрывал их белой полосой. По макетам плашка примыкает вплотную. */
#price .price__main-container > .section__column-container.large {
    gap: 0;
}

/* ============================================================
   SEOX-2754 dth18.pl — палитра и панель пакетов по макету
   (Figma xHsfaFXZDP4n1p9HGBlm23, пиксель-сэмпл).
   ============================================================ */

/* бренд-хайлайт H1 и акценты — зелёный макета (сток: синий #20539F) */
.selected {
    color: #6B9E3E;
}

/* CTA: тёплый градиент макета с тёмным текстом (сток: голубой) */
.big-button,
.big-button.section__form-button {
    background: linear-gradient(90deg, #FCE4AF 0%, #FECC6F 100%);
    color: #28261B;
}

.big-button:hover {
    filter: brightness(0.95);
}

/* ---- панель пакетов (замена переключателя цен single-2) ---- */
.tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.tiers .tier {
    position: relative;
    flex: 1 1 calc((100% - 12px) / 2);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 20px 10px 14px;
    border: 2px solid #0038BC;
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
}

.tiers--static .tier {
    cursor: default;
}

.tiers .tier--bonus {
    border-color: #00BC7D;
    background: #EDFCF4;
}

.tier__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.tier__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
}

.tier__badge--amber {
    background: #FFEBBE;
    color: #DD9B00;
    border: 1px solid #F3D894;
}

.tier__badge--green {
    background: #00C34D;
    color: #FFFFFF;
}

.tier__radio {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #C9CFDD;
    background: #FFFFFF;
}

/* подсвечивается ТОЛЬКО выбранная карточка */
.tier:has(.tier__input:checked) .tier__radio {
    border-color: #0038BC;
    background: radial-gradient(circle at 50% 50%, #FFFFFF 0 4px, #0038BC 4px 100%);
}

.tier--bonus:has(.tier__input:checked) .tier__radio {
    border-color: #00BC7D;
    background: radial-gradient(circle at 50% 50%, #FFFFFF 0 4px, #00BC7D 4px 100%);
}

.tier:has(.tier__input:checked) {
    box-shadow: 0 0 0 3px rgba(0, 56, 188, 0.15);
}

.tier--bonus:has(.tier__input:checked) {
    box-shadow: 0 0 0 3px rgba(0, 188, 125, 0.18);
}

.tier__img {
    width: 100%;
    max-width: 190px;
    height: 118px;
    object-fit: contain;
}

.tiers--static .tier__img {
    max-width: 260px;
    height: 190px;
}

.tier__prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.tiers--static .tier__prices {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.tier__price {
    padding: 6px 14px;
    border-radius: 6px;
    background: #155DFC;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.tier__price--bonus {
    background: #F46629;
}

.tier__plus {
    font-size: 17px;
    font-weight: 800;
    color: #28261B;
}

.tier__old {
    padding: 5px 14px;
    border-radius: 6px;
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
    color: #6B6B6B;
    font-size: 16px;
    font-weight: 700;
    text-decoration: line-through;
    white-space: nowrap;
}

.tier__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media screen and (max-width: 560px) {
    .tier__img {
        height: 96px;
    }

    .tiers--static .tier__img {
        max-width: 190px;
        height: 130px;
    }

    .tier__price,
    .tier__old {
        font-size: 15px;
        padding-inline: 10px;
    }
}

/* ---- композиция: 7-й и 8-й ингредиенты (широкий ряд под сеткой) ---- */
.composition-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    margin-top: 16px;
}

.composition-extra .section__item {
    flex: 1 1 calc((100% - 16px) / 2);
    /* сток режет карточку до max-width:384px — в широком ряду это оставляло
       контейнер наполовину пустым */
    max-width: none;
    min-width: 0;
}

@media screen and (max-width: 768px) {
    .composition-extra .section__item {
        flex-basis: 100%;
    }
}

/* витрина в #app: по макету старая цена слева, новая справа */
.tiers--static .tier__old {
    order: -1;
}

/* ---- #app: панель пакетов вместо картинки ---- */
#app .section__bottom-container {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* ---- hero ---- */
/* десктоп: сток растягивал сцену на всю высоту колонки формы (object-fit:cover)
   и срезал пэкшот по бокам. По макету картинка сохраняет свои пропорции и
   выравнивается по низу колонки. */
@media screen and (min-width: 1280px) {
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture {
        align-items: flex-end;
    }

    #start .section__image.desk {
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }
}

/* мобайл: сток поднимал сцену над пэкшотом (order:-1), в макете порядок обратный */
#start .section__column-container.mob .section__image.large {
    order: 0;
}

/* ============================================================
   SEOX-2754 rework 1 — сверка с макетом
   ============================================================ */

/* hero: фото сразу под текстом (в макете нет зазора между сабтекстом и фото);
   свободное место остаётся снизу колонки, а не в первом экране */
@media screen and (min-width: 1280px) {
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture {
        align-items: flex-start;
    }
}

/* композиция: подчёркивание с точкой под названием ингредиента (макет block_7) */
#composition .section__card .heading-style-h4 {
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid #716F6A;
}

#composition .section__card .heading-style-h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4.5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #716F6A;
}

/* ============================================================
   SEOX-2754 rework 2 — раскладка hero + панель + моб-тиры по макету
   ============================================================ */

/* hero desktop: grid [H1 / сабтекст / фото | панель]. Стоковые row-контейнеры
   растворяются (display:contents), панель занимает правую колонку целиком. */
@media screen and (min-width: 1280px) {
    #start .section__container > .section__column-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 564px;
        grid-template-rows: auto auto 1fr;
        column-gap: 24px;
        row-gap: 16px;
    }

    #start .section__container > .section__column-container > .section__row-container:nth-child(1),
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) {
        display: contents;
    }

    #start .section__container > .section__column-container h1 {
        grid-column: 1;
        grid-row: 1;
    }

    #start .section__container > .section__column-container > .section__row-container:nth-child(1) > p {
        grid-column: 1;
        grid-row: 2;
    }

    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture {
        grid-column: 1;
        grid-row: 3;
        align-self: start;
    }

    #start .section__container > .section__column-container .section__form {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: start;
    }
}

/* 481–1279: сабтекст под H1 (в стоке они в один ряд) */
@media screen and (min-width: 481px) and (max-width: 1279px) {
    #start .section__container > .section__column-container > .section__row-container:nth-child(1) {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* промо-панель hero/#reg/попапа — светло-голубая по макету */
#start .section__form,
#reg .section__form,
.form-popup .section__form {
    background: linear-gradient(180deg, #ECF1FC 0%, #EFF7FC 100%);
    border: 1px solid #A7BAE4;
}

/* мобайл: пакеты столбиком, каждый на всю ширину (как в макете) */
@media screen and (max-width: 560px) {
    .tiers .tier {
        flex-basis: 100%;
    }

    .tier__img {
        height: 118px;
    }
}

/* ============================================================
   SEOX-2754 rework 3 — hero: компактные гепы, колонки равной высоты
   ============================================================ */

@media screen and (min-width: 1280px) {
    /* сток задаёт gap:48px селектором с :first-child — он специфичнее
       грид-блока rework 2, поэтому здесь тоже :first-child */
    #start .section__container > .section__column-container:first-child {
        gap: 12px 24px;
    }

    /* фото занимает весь остаток левой колонки: низ фото = низ панели */
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture {
        align-self: stretch;
        align-items: stretch;
    }

    #start .section__image.desk {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* ============================================================
   SEOX-2754 rework 4 — комменты ревью 30.07
   ============================================================ */

/* бургер: линии без left/right расползались от static-позиции — все три
   ровные, прижаты к левому краю контейнера */
.header__hamburger .header__hamburger-item {
    left: 0;
    right: auto;
}

/* телефон: отступ справа от бургера (линии доходили почти до края экрана) */
@media screen and (max-width: 600px) {
    .header__container .header__hamburger.mob {
        margin-right: 10px;
    }
}

/* мобайл: заголовок и сабтекст вертикально (сток жмёт их в две колонки) */
@media screen and (max-width: 768px) {
    .section__top-container--flex-start {
        flex-direction: column;
    }
}

/* #reg desktop: структура hero по макету — слева H2/текст/фото, панель справа */
@media screen and (min-width: 1280px) {
    #reg .section__row-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 564px;
        grid-template-rows: auto auto 1fr;
        gap: 12px 24px;
    }

    #reg .section__row-container > .section__column-container {
        display: contents;
    }

    #reg .section__row-container h2 {
        grid-column: 1;
        grid-row: 1;
    }

    #reg .section__row-container > .section__column-container > p {
        grid-column: 1;
        grid-row: 2;
    }

    #reg .section__image-container.desk {
        grid-column: 1;
        grid-row: 3;
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        /* стоковый padding:48px раздувал контейнер выше ряда сетки */
        padding: 0;
        margin: 0;
        overflow: hidden;
        border-radius: 16px;
    }

    #reg .section__image-container.desk .section__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }

    #reg .section__row-container .section__form {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: start;
    }
}

/* ============================================================
   SEOX-2754 rework 5 — #reg: картинка меньше
   ============================================================ */

/* «картинка» здесь = фон контейнера (bl15_bg2, зелёный с размытыми банками)
   плюс пэкшот поверх, поэтому ужимаем контейнер целиком, а не только <img>. */
@media screen and (min-width: 1280px) {
    #reg .section__image-container.desk {
        width: 460px;
        max-width: 460px;
        height: 360px;
        align-self: center;
        justify-self: center;
        margin-inline: auto;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-position: center;
        border-radius: 16px;
        overflow: hidden;
    }

    #reg .section__image-container.desk .section__image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* планшет/мобайл: тот же кап по ширине колонки */
@media screen and (max-width: 1279px) {
    #reg .section__image-container {
        max-width: 420px;
        margin-inline: auto;
    }

    #reg .section__image-container .section__image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* ============================================================
   SEOX-2754 rework 6 — #reg: фон на всю колонку, меньше только пэкшот
   ============================================================ */

@media screen and (min-width: 1280px) {
    /* отменяем кап контейнера из rework 5: заливка снова во всю колонку */
    #reg .section__image-container.desk {
        width: auto;
        max-width: 100%;
        height: auto;
        align-self: stretch;
        justify-self: stretch;
        margin-inline: 0;
    }

    /* уменьшен только сам пэкшот */
    #reg .section__image-container.desk .section__image {
        width: auto;
        max-width: 340px;
        height: auto;
        max-height: 90%;
        object-fit: contain;
        margin: auto;
    }
}

@media screen and (max-width: 1279px) {
    #reg .section__image-container {
        max-width: 100%;
        margin-inline: 0;
    }

    #reg .section__image-container .section__image {
        width: auto;
        max-width: 300px;
        height: auto;
        object-fit: contain;
        margin-inline: auto;
    }
}

/* ============================================================
   SEOX-2754 rework 7 — #reg: пэкшот крупнее (фон без изменений)
   ============================================================ */

@media screen and (min-width: 1280px) {
    #reg .section__image-container.desk .section__image {
        max-width: 460px;
        max-height: 96%;
    }
}

@media screen and (max-width: 1279px) {
    #reg .section__image-container .section__image {
        max-width: 400px;
    }
}

/* ============================================================
   SEOX-2754 rework 8 — мобайл #reg: пэкшот в границах заливки
   ============================================================ */

@media screen and (max-width: 1279px) {
    #reg .section__image-container .section__image {
        /* 400px — только если колонка шире; иначе по ширине контейнера */
        max-width: min(400px, 100%);
        margin-inline: auto;
    }
}

/* ---- SEOX-2825: одна цена вместо панели пакетов ---- */
.price-single {
    display: flex;
    width: 100%;
    justify-content: center;
}

.price-single__value {
    display: block;
    width: 100%;
    padding: 11px 20px;
    border-radius: 999px;
    background: #F42F29;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

.offer-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.offer-single__img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.offer-single__price {
    padding: 11px 28px;
    border-radius: 999px;
    background: #F42F29;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

@media screen and (max-width: 560px) {
    .price-single__value {
        font-size: 19px;
    }

    .offer-single__price {
        font-size: 20px;
    }
}

/* ===== SEOX-2825 macet pass: block_1 / block_10 / block_15 ===== */

/* панель формы: серая #EBEBEB, radius 16, gap 18 (макет: form/body) */
#start .section__form,
#reg .section__form,
#path .section__form,
.form-popup .section__form {
    background: #EBEBEB;
    border: 0;
    border-radius: 16px;
    padding: 24px;
    gap: 18px;
}

/* заголовок формы: Epilogue Bold 28/32, по центру */
#start .section__form > .heading-style-h5,
#start .section__form > .heading-style-h4,
#reg .section__form > .heading-style-h4,
#reg .section__form > .heading-style-h5,
.form-popup .section__form > .heading-style-h4,
.form-popup .section__form > .heading-style-h5 {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.56px;
    text-align: center;
}

/* цена: пилюля #F42F29, Inter Tight SemiBold 32/32 */
.price-single__value {
    padding: 10px 18px;
    border-radius: 58px;
    font-size: 32px;
    line-height: 32px;
    font-weight: 600;
    letter-spacing: -0.64px;
}

/* инпуты: белые, обводка 1.5px #DDDDDC, radius 58 */
#start .section__form-input,
#reg .section__form-input,
#path .section__form-input,
.form-popup .section__form-input {
    border: 1.5px solid #DDDDDC;
    border-radius: 58px;
    min-height: 44px;
    padding: 16px;
    font-size: 16px;
    line-height: 20px;
}

/* CTA: градиент #FDE6B3 → #FFCC6D, 18px uppercase, radius 68 */
#start .section__form-button,
#reg .section__form-button,
#path .section__form-button,
.form-popup .section__form-button {
    background: linear-gradient(to left, #FFCC6D 0%, #FDE6B3 100%);
    color: #28261B;
    font-size: 18px;
    line-height: 1;
    padding: 16px 28px;
    border-radius: 68px;
    text-transform: uppercase;
}

/* block_10: слева текст + кнопка, справа композиция с бейджем цены */
#app .offer-row {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

#app .offer-row__col {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

#app .offer-row__col .section__item-text-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#app .offer-row__media {
    position: relative;
    flex: 0 0 513px;
    height: 400px;
}

#app .offer-row__img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 400px;
    width: auto;
    object-fit: contain;
}

#app .offer-row__badge {
    position: absolute;
    left: 19px;
    top: 25px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 5.5px rgba(0, 0, 0, 0.12);
    font-family: 'Epilogue', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.64px;
    color: #28261B;
    white-space: nowrap;
}

#app .offer-row__badge img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

@media screen and (max-width: 1024px) {
    #app .offer-row {
        flex-direction: column;
        align-items: stretch;
    }

    #app .offer-row__media {
        flex: 0 0 auto;
        height: 320px;
    }

    #app .offer-row__img {
        height: 320px;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }

    #app .offer-row__badge {
        left: 0;
        top: 0;
        font-size: 24px;
        line-height: 30px;
        padding: 12px;
        gap: 10px;
    }

    #app .offer-row__badge img {
        width: 32px;
        height: 32px;
    }
}

@media screen and (min-width: 1280px) {
    /* hero: [H1 | подтекст] / [фото | форма] — как в макете block_1 */
    #start .section__container > .section__column-container {
        grid-template-rows: auto auto;
        row-gap: 32px;
    }

    #start .section__container > .section__column-container > .section__row-container:nth-child(1) > p {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        font-size: 22px;
        line-height: 30px;
    }

    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture {
        grid-column: 1;
        grid-row: 2;
        align-self: stretch;
        height: 453px;
    }

    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }

    #start .section__container > .section__column-container .section__form {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
    }

    /* тот же макет для лендов с hero-grid/hero-left (prost-x9) */
    #start .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 564px;
        grid-template-rows: auto auto;
        column-gap: 24px;
        row-gap: 32px;
        align-items: start;
    }

    #start .hero-left {
        display: contents;
    }

    #start .hero-left h1 {
        grid-column: 1;
        grid-row: 1;
        font-size: 48px;
        line-height: 1;
    }

    #start .hero-left > p {
        grid-column: 2;
        grid-row: 1;
        font-size: 22px;
        line-height: 30px;
    }

    #start .hero-left picture {
        grid-column: 1;
        grid-row: 2;
        height: 453px;
        align-self: start;
        margin-top: 0;
        overflow: hidden;
        border-radius: 16px;
    }

    #start .hero-left picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }

    #start .hero-grid > .section__form {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
    }

    /* block_15: слева H2 + текст + форма, справа картинка во всю высоту */
    #reg .section__row-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 588px;
        grid-template-rows: auto auto 1fr;
        column-gap: 24px;
        row-gap: 16px;
        align-items: start;
    }

    #reg .section__row-container > .section__column-container {
        display: contents;
    }

    #reg .section__row-container h2 {
        grid-column: 1;
        grid-row: 1;
    }

    #reg .section__row-container > .section__column-container > p {
        grid-column: 1;
        grid-row: 2;
    }

    #reg .section__row-container .section__form {
        grid-column: 1;
        grid-row: 3;
        align-self: start;
    }

    #reg .section__image-container.desk {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: stretch;
        width: auto;
        max-width: 100%;
        height: auto;
    }

    #reg .section__row-container > .section__column-container > p {
        font-size: 22px;
        line-height: 30px;
    }
}

/* ===== SEOX-2825 rev2 (ревью 12.08) ===== */

@media screen and (min-width: 1280px) {
    /* фото hero тянется по высоте ряда, т.е. по форме рядом — без пустого места снизу */
    #start .section__container > .section__column-container,
    #start .section__container > .section__column-container:first-child {
        row-gap: 64px;
        column-gap: 24px;
        align-items: stretch;
    }

    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture,
    #start .hero-left picture {
        height: auto;
        align-self: stretch;
    }

    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture img,
    #start .hero-left picture img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    #start .hero-grid {
        row-gap: 64px;
        align-items: stretch;
    }

    #start .hero-grid > .section__form,
    #start .section__container > .section__column-container .section__form {
        align-self: start;
    }
}

/* ===== SEOX-2825 hero fix: gap 32 + равные колонки ===== */

@media screen and (min-width: 1280px) {
    /* макет block_1: карточка = flex-col gap 32, ряды не «разъезжаются» */
    #start .section__container > .section__column-container,
    #start .section__container > .section__column-container:first-child,
    #start .hero-grid {
        row-gap: 32px;
        column-gap: 24px;
        align-items: stretch;
    }

    /* подтекст прижат к верху своей колонки, не растягивается */
    #start .section__container > .section__column-container > .section__row-container:nth-child(1) > p,
    #start .hero-left > p {
        align-self: start;
    }

    /* фото и панель формы — одна высота (макет: 453px), фото кроется по боксу */
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture,
    #start .hero-left picture,
    #start .section__container > .section__column-container .section__form,
    #start .hero-grid > .section__form {
        align-self: stretch;
        height: auto;
        min-height: 453px;
    }

    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture img,
    #start .hero-left picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }

    /* контент формы распределяется по панели, без «хвоста» пустоты снизу */
    #start .section__container > .section__column-container .section__form,
    #start .hero-grid > .section__form {
        justify-content: center;
    }
}
