.d-none-js{
    display: none!important;
}

.logo-title {
    color: #189BC9;
    text-transform: uppercase;
}

/* Векторный логотип сайта из макета. */
.logo__image {
    display: block;
    width: 163px;
    max-width: 100%;
    height: auto;
}

.error{
    color: red;
}
.error-border{
    border: 1px solid red;
}

/* Toast */
.site-toast-container {
    position: fixed;
    top: 68px;
    right: 24px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(520px, calc(100vw - 48px));
    pointer-events: none;
}

.site-toast {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 14px 20px;
    color: #2E2F33;
    background: #fff;
    border: 1px solid #E9E9E9;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(33, 39, 42, 0.12);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 250ms ease, transform 250ms ease;
    pointer-events: auto;
}

.site-toast_show {
    opacity: 1;
    transform: translateY(0);
}

.site-toast_error {
    border-color: #F2C7C7;
}

.site-toast__icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #21272A;
    stroke-width: 1.5;
}

.site-toast__text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    line-height: 1.25;
    word-break: break-word;
}

.site-toast__close {
    display: flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #A7A7A7;
    background: transparent;
    border: 2px solid currentColor;
    border-radius: 50%;
    cursor: pointer;
}

.site-toast__close-icon {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

@media (max-width: 767px) {
    .site-toast-container {
        top: 88px;
        right: 16px;
        left: 16px;
        width: auto;
    }

    .site-toast {
        gap: 12px;
        min-height: 52px;
        padding: 12px 14px;
    }

    .site-toast__text {
        font-size: 14px;
    }
}

.field.error .select2-selection {
    border-color: var(--red) !important;
    color: var(--red) !important;
}

.js-address-suggest {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    max-height: 220px;
    overflow-y: auto;
}
.js-address-suggest li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    border-bottom: 1px solid #f0f0f0;
}
.js-address-suggest li:last-child {
    border-bottom: none;
}
.js-address-suggest li:hover {
    background: #f5f5f5;
}

.js-field-error {
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

/* Расписание работы склада */
.schedule-field-error {
    color: red;
}

.schedule-cell {
    display: flex;
    align-items: center;
    height: 24px;
}
.schedule-cell [data-schedule-display] {
    margin: 0;
}
.schedule-cell .time-input {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    width: 100%;
    height: 24px;
    line-height: 24px;
    font-size: inherit;
    font-family: inherit;
}

/*Убирает стрелки со стиля в модальном окне ячейки*/
input.no-spin::-webkit-outer-spin-button,
input.no-spin::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input.no-spin {
    -moz-appearance: textfield;
}

/* lk.cells tooltip */
.lk-cells-tooltip .tooltips__body {
    gap: 3px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.lk-cells-tooltip .table-custom__suptitle-tooltips {
    margin-bottom: 4px !important;
    line-height: 1.2;
}

.lk-cells-tooltip .tooltips__item {
    min-height: 22px;
}

.lk-cells-tooltip .table-state {
    margin-bottom: 0;
}

.lk-cells-tooltip .d-flex.align-items-center.gap-2.mt-2 {
    margin-top: 6px !important;
}

[data-link-url] {
    cursor: pointer;
}

/* Листинг: адрес как заголовок-ссылка */
.card-product__title a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
}

/* ===== Главная страница ===== */

/* Hero */
.homepage-hero {
    padding: 52px 0 80px;
}
.homepage-hero__inner {
    background: #f3f3f6;
    border-radius: 84px;
    padding: 74px 72px 94px;
    text-align: center;
}
.homepage-hero__title,
.homepage-addresses__title,
.homepage-catalog__title {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 50px;
    font-weight: 900;
    color: #2f3138;
    width: fit-content;
    max-width: none;
    white-space: nowrap;
    transform: scaleX(0.93);
    transform-origin: center;
    margin: 0 auto 18px;
    line-height: 1;
}
.homepage-hero__subtitle {
    font-size: 16px;
    color: #707070;
    margin-bottom: 36px;
    line-height: 1.25;
}
.homepage-hero__subtitle,
.homepage-addresses__subtitle,
.homepage-catalog__subtitle {
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-weight: 400;
}
.homepage-hero__search {
    display: flex;
    align-items: center;
    max-width: 760px;
    min-height: 58px;
    margin: 0 auto 56px;
    background: #fff;
    border-radius: 17px;
    border: 1px solid #ededed;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
    padding: 6px 6px 6px 18px;
    gap: 14px;
}
.homepage-hero__search-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: #adadad;
}
.homepage-hero__search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 6px 0;
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    color: #2e2f33;
    background: transparent;
}
.homepage-hero__search-input::placeholder {
    color: #7f7f7f;
    font-weight: 400;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
}
.homepage-hero__search-btn {
    background: #2e2e2e;
    color: #fff;
    border: none;
    border-radius: 11px;
    padding: 13px 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Автокомплит поиска на главной */
.homepage-hero__search-wrap {
    position: relative;
    z-index: 5;
    max-width: 760px;
    margin: 0 auto 56px;
}
.homepage-hero__search-wrap .homepage-hero__search {
    max-width: none;
    margin: 0;
}
.homepage-hero__autocomplete {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    max-height: 232px;
    padding: 5px 12px;
    overflow-y: scroll;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    text-align: left;
}
.homepage-hero__search-wrap:focus-within .homepage-hero__autocomplete {
    display: block;
}
.homepage-hero__search-wrap:focus-within .homepage-hero__autocomplete:empty {
    display: none;
}
.homepage-hero__autocomplete::-webkit-scrollbar {
    width: 6px;
}
.homepage-hero__autocomplete::-webkit-scrollbar-track {
    background: transparent;
}
.homepage-hero__autocomplete::-webkit-scrollbar-thumb {
    background: #c9c9c9;
    border-radius: 999px;
}
.homepage-hero__autocomplete-link {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 39px;
    gap: 10px;
    color: #3b3d42;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
}
.homepage-hero__autocomplete-link:last-child {
    border-bottom: none;
}
.homepage-hero__autocomplete-link:hover,
.homepage-hero__autocomplete-link:focus {
    background: #f3f3f6;
    color: #2e2f33;
    text-decoration: none;
    outline: none;
    border-radius: 8px;
}
.homepage-hero__autocomplete-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #b8b8b8;
}
.homepage-hero__autocomplete-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}
.homepage-hero__autocomplete-icon--history svg {
    width: 20px;
    height: 20px;
    stroke: none;
}
.homepage-hero__autocomplete-name {
    min-width: 0;
    overflow: hidden;
    color: #2e2f33;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.homepage-hero__autocomplete-hint {
    color: #b8b8b8;
}
.homepage-hero__autocomplete-type {
    padding-left: 16px;
    color: #b8b8b8;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}
.homepage-hero__tags {
    text-align: center;
}
.homepage-hero__tags-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.homepage-hero__tags-row:last-child {
    margin-bottom: 0;
}
.homepage-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #54b8f0;
    color: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    font-family: var(--font-RobotoCondensed);
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}
.homepage-hero__tag-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}
/* ссылки на мессенджеры */
.homepage-hero__messengers {
    position: fixed;
    right: max(20px, calc((100vw - 1420px) / 2 + 20px));
    bottom: 50px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.homepage-hero__messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
.homepage-hero__messenger-link:hover,
.homepage-hero__messenger-link:focus {
    text-decoration: none;
}
.homepage-hero__messenger-link svg {
    display: block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Addresses / 3000+ */
.homepage-addresses {
    padding: 80px 0;
}
.homepage-addresses__header {
    text-align: center;
    margin-bottom: 48px;
}
.homepage-addresses__subtitle {
    font-size: 16px;
    color: #707070;
    line-height: 1.6;
}
.homepage-addresses__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
}
.homepage-addresses__row {
    background: #f3f3f6;
    border-radius: 32px;
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: stretch;
}
.homepage-addresses__row-left {
    width: 39.5%;
    max-width: 500px;
    min-width: 420px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.homepage-addresses__badge {
    display: inline-block;
    background: #54b8f0;
    color: #fff;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 27px;
    font-weight: 900;
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-style: italic;
    line-height: 1.08;
    align-self: flex-start;
    margin-bottom: 18px;
}
.homepage-addresses__address {
    font-size: 24px;
    font-weight: 700;
    color: #2e2f33;
    margin-bottom: 12px;
    line-height: 1.12;
}
.homepage-addresses__metro {
    font-size: 16px;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-weight: 300 !important;
    color: #707070;
    line-height: 1.3;
    flex: 1;
    margin-bottom: 18px;
}
.homepage-addresses__view-btn {
    display: inline-block;
    background: #2e2e2e;
    color: #fff;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
}
.homepage-addresses__view-btn:hover {
    background: #444;
    color: #fff;
    text-decoration: none;
}
.homepage-addresses__cards {
    flex: 1;
    display: flex;
    gap: 14px;
}
.homepage-addresses__card {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 194px;
}
.homepage-addresses__card-logo {
    height: 34px;
    margin-bottom: auto;
    display: flex;
    align-items: center;
}
.homepage-addresses__card-logo img {
    max-height: 28px;
    max-width: 120px;
    object-fit: contain;
}
.homepage-addresses__card-area {
    font-size: 18px;
    font-weight: 500;
    color: #2f3138;
    line-height: 1.3;
    margin-bottom: 4px;
}
.homepage-addresses__card-cells {
    font-size: 18px;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-weight: 400;
    color: #707070;
    line-height: 1.3;
}
.homepage-addresses__card-price {
    font-size: 30px;
    font-weight: 900;
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    color: #2e2f33;
    margin-top: auto;
    padding-top: 0;
    line-height: 1;
}
.homepage-addresses__footer {
    text-align: center;
}
.empty-state-message {
    text-align: center;
    color: #707070;
    padding: 40px 0;
}

/* Catalog / Logos */
.homepage-catalog {
    padding: 80px 0;
}
.homepage-catalog__header {
    text-align: center;
    margin-bottom: 48px;
}
.homepage-catalog__subtitle {
    font-size: 16px;
    color: #707070;
    line-height: 1.6;
}
.homepage-catalog__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}
.homepage-catalog__logo {
    max-height: 40px;
    max-width: 180px;
    object-fit: contain;
}
.homepage-catalog__footer {
    text-align: center;
}


.homepage-section-btn,
.homepage-news__all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-weight: 400;
    line-height: 1;
    color: #2e2f33;
    text-decoration: none;
    background: #f3f3f6;
    white-space: nowrap;
    transition: background-color .2s;
}
.homepage-section-btn:hover,
.homepage-news__all-link:hover {
    background: #ececf1;
    color: #2e2f33;
    text-decoration: none;
}
.homepage-section-btn {
    min-width: 248px;
    height: 47px;
    padding: 0 18px;
    font-size: 18px;
}
.homepage-section-btn__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* News / Articles */
.homepage-news {
    padding: 60px 0 80px;
}
.homepage-news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.homepage-news__title {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 30px;
    font-weight: 900;
    color: #2e2f33;
}
.homepage-news__all-link {
    min-width: 196px;
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
}
.homepage-news__all-link-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.homepage-news__list {
    display: flex;
    gap: 20px;
}
.homepage-news__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.homepage-news__card-img {
    border-radius: 8px;
    height: 180px;
    background: #f3f3f6;
    flex-shrink: 0;
}
.homepage-news__card-img--green  { background: #d4ebe0; }
.homepage-news__card-img--blue   { background: #c8dcf5; }
.homepage-news__card-img--orange { background: #f5e5c0; }
.homepage-news__card-img--purple { background: #e0d0f0; }
.homepage-news__card-title {
    font-size: 15px;
    font-weight: 400;
    color: #2e2f33;
    line-height: 1.4;
    flex: 1;
}
.homepage-news__card-date {
    font-size: 13px;
    color: #adadad;
}

@media (max-width: 767px) {
    .homepage-hero {
        padding: 10px 0 24px;
    }
    .homepage-hero__inner {
        background: transparent;
        border-radius: 22px;
        padding: 20px 12px 24px;
    }
    .homepage-hero__title,
    .homepage-addresses__title,
    .homepage-catalog__title {
        width: auto;
        max-width: 100%;
        white-space: normal;
        transform: none;
        font-size: 32px;
        line-height: 1;
    }
    .homepage-hero__title {
        margin: 0 auto 12px;
        text-align: center;
    }
    .homepage-hero__subtitle {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 50px;
    }
    .homepage-hero__subtitle br {
        display: none;
    }
    .homepage-hero__search {
        position: relative;
        display: block;
        max-width: 100%;
        margin: 0 0 50px;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
    .homepage-hero__search-icon {
        position: absolute;
        left: 12px;
        top: 15px;
        z-index: 1;
        pointer-events: none;
    }
    .homepage-hero__search-input {
        display: block;
        width: 100%;
        min-width: 0;
        border: 1px solid #ededed;
        border-radius: 14px;
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
        background: #fff;
        font-size: 16px;
        padding: 15px 14px 15px 40px;
    }
    .homepage-hero__search-btn {
        display: block;
        width: fit-content;
        margin: 10px auto 0;
        border-radius: 8px;
        padding: 13px 40px;
        font-size: 15px;
        line-height: 1;
    }
    .homepage-hero__search-wrap {
        max-width: 100%;
        margin: 0 0 50px;
    }
    .homepage-hero__autocomplete {
        top: 56px;
        max-height: 236px;
        padding: 4px 10px;
    }
    .homepage-hero__autocomplete-link {
        grid-template-columns: 22px minmax(0, 1fr) auto;
        min-height: 38px;
        gap: 8px;
    }
    .homepage-hero__autocomplete-name {
        font-size: 15px;
    }
    .homepage-hero__autocomplete-type {
        padding-left: 8px;
        font-size: 13px;
    }
    .homepage-hero__tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .homepage-hero__tags-row {
        display: contents;
    }
    .homepage-hero__tag {
        gap: 6px;
        padding: 6px 10px;
        font-size: 24px;
        border-radius: 8px;
    }
    .homepage-hero__tag-icon {
        width: 20px;
        height: 20px;
    }
    .homepage-hero__messengers {
        right: 10px;
        bottom: 50px;
    }

    .homepage-addresses {
        padding: 22px 0 20px;
    }
    .homepage-addresses__header {
        text-align: left;
        margin-bottom: 12px;
    }
    .homepage-addresses__title,
    .homepage-catalog__title {
        margin: 0 0 10px;
        text-align: left;
    }
    .homepage-addresses__subtitle {
        font-size: 16px;
        line-height: 1.35;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .homepage-addresses__list {
        gap: 8px;
        margin-bottom: 14px;
    }
    .homepage-addresses__row {
        border-radius: 18px;
        padding: 10px 10px 8px;
        gap: 8px;
        flex-direction: column;
    }
    .homepage-addresses__row-left {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    .homepage-addresses__badge {
        font-size: 22px;
        padding: 6px 10px;
        border-radius: 9px;
        margin-bottom: 14px;
    }
    .homepage-addresses__address {
        font-size: 24px;
        margin-bottom: 0;
        line-height: 1.05;
    }
    .homepage-addresses__metro {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 0;
    }
    .homepage-addresses__view-btn {
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 14px;
        margin-top: 5px;
        margin-bottom: 20px;
    }
    .homepage-addresses__cards {
        width: calc(100% + 2px);
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding: 0 0 8px;
        -webkit-overflow-scrolling: touch;
    }
    .homepage-addresses__cards::-webkit-scrollbar {
        height: 6px;
    }
    .homepage-addresses__cards::-webkit-scrollbar-track {
        background: #ebebee;
        border-radius: 999px;
    }
    .homepage-addresses__cards::-webkit-scrollbar-thumb {
        background: #a8a8ad;
        border-radius: 999px;
    }
    .homepage-addresses__card {
        flex: 0 0 258px;
        min-height: 209px;
        border-radius: 16px;
        padding: 20px 18px 18px;
    }
    .homepage-addresses__card-logo {
        height: 28px;
        margin-bottom: 28px;
    }
    .homepage-addresses__card-logo img {
        max-height: 24px;
        max-width: 96px;
    }
    .homepage-addresses__card-area {
        font-size: 18px;
        line-height: 1.25;
    }
    .homepage-addresses__card-cells {
        font-size: 18px;
        line-height: 1.25;
    }
    .homepage-addresses__card-price {
        font-size: 30px;
        margin-top: auto;
    }
    .homepage-addresses__footer {
        margin-top: 6px;
        text-align: left;
    }

    .homepage-catalog {
        padding: 18px 0 24px;
    }
    .homepage-catalog__header {
        text-align: left;
        margin-bottom: 14px;
    }
    .homepage-catalog__subtitle {
        font-size: 16px;
        line-height: 1.35;
    }
    .homepage-catalog__logos {
        gap: 10px 16px;
        margin-bottom: 16px;
        justify-content: flex-start;
    }
    .homepage-catalog__footer {
        text-align: left;
    }
    .homepage-catalog__logo {
        max-height: 28px;
        max-width: 120px;
    }
    .homepage-section-btn {
        padding: 0 14px;
        margin-left: 0;
        margin-right: auto;
    }

    .homepage-news {
        padding: 16px 0 24px;
    }
    .homepage-news .container {
        display: flex;
        flex-direction: column;
    }
    .homepage-news__header {
        display: contents;
        margin-bottom: 12px;
    }
    .homepage-news__title {
        font-size: 32px;
        line-height: 1;
        order: 1;
        margin-bottom: 12px;
    }
    .homepage-news__list {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-bottom: 12px;
        order: 2;
    }
    .homepage-news__card {
        gap: 8px;
    }
    .homepage-news__card-img {
        height: 178px;
        border-radius: 8px;
    }
    .homepage-news__card-title {
        font-size: 16px;
        line-height: 1.25;
    }
    .homepage-news__card-date {
        font-size: 13px;
        color: #8f8f8f;
    }
    .homepage-news__all-link {
        order: 3;
        display: inline-flex;
        margin: 0;
        align-self: flex-start;
    }
}

/* ===================== БЛОГ ===================== */

a.homepage-news__card-img {
    display: block;
}

.blog-card__title-link {
    color: inherit;
    text-decoration: none;
}

.blog-listing {
    padding: 48px 0 64px;
}

.blog-listing__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.blog-listing__grid .homepage-news__card {
    gap: 10px;
    min-width: 0;
}

.homepage-news__card-type {
    font-size: 13px;
    color: #adadad;
}

.blog-listing__grid .homepage-news__card-img {
    overflow: hidden;
}

.blog-listing__grid .homepage-news__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.blog-listing__grid .homepage-news__card-img:hover img {
    transform: scale(1.03);
}

.blog-listing__grid .homepage-news__card .homepage-news__card-img:hover + .homepage-addresses__card-area,
.blog-listing__grid .homepage-news__card .homepage-addresses__card-area a:hover {
    color: #707070 !important;
}

/* Кнопка "Показать ещё" */
.blog-listing__more {
    text-align: left;
}
.blog-listing__more .homepage-news__all-link {
    height: auto;
    min-width: unset;
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 8px;
}

/* Детальная страница */
.blog-detail {
    padding: 20px 0 80px;
}

.blog-detail__breadcrumb {
    font-size: 13px;
    color: #adadad;
    margin-bottom: 32px;
}

.blog-detail__mobile-back {
    display: none;
}

.blog-detail__header,
.blog-detail__cover,
.blog-detail__content,
.blog-detail__faq {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-detail__header {
    margin-bottom: 40px;
}

.blog-detail__cover {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 48px;
}

.blog-detail__cover img {
    width: 100%;
    display: block;
}

.blog-detail__text {
    font-size: 16px;
    line-height: 1.7;
    color: #3a3a44;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.blog-detail__text * {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.blog-detail__text p {
    margin: 0 0 16px;
}

.blog-detail__text p:last-child {
    margin-bottom: 0;
}

.blog-detail__author,
.blog-detail__author-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-detail__author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #d6d8de;
    object-fit: cover;
    flex-shrink: 0;
    background: #e0e0ea;
}

.blog-detail__author-name,
.blog-detail__author-role {
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #2f3138;
}

.blog-detail__author-separator {
    color: #2f3138;
}

/* Адаптив */
@media (max-width: 1024px) {
    .blog-listing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .reservation-payment__list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .blog-listing__grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
        column-gap: 24px;
    }

    .blog-detail {
        padding: 16px 0 48px;
    }

    .blog-detail__breadcrumb {
        display: none;
    }

    .blog-detail__mobile-back {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #adadad;
        text-decoration: none;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.3;
        margin-bottom: 24px;
    }

    .blog-detail__mobile-back svg {
        flex-shrink: 0;
    }

    .blog-detail__mobile-back:hover {
        text-decoration: none;
    }

    .blog-detail__header {
        margin-bottom: 24px;
    }

    .blog-detail__header .homepage-news__card-date {
        margin-bottom: 16px !important;
        font-size: 16px;
        line-height: 1.3;
        color: #707070;
    }

    .blog-detail__header .section-title-big {
        margin-bottom: 24px !important;
        transform: none;
        font-size: 50px;
        line-height: 1;
        max-width: 100%;
        width: auto;
        white-space: normal;
    }

    .blog-detail__author {
        align-items: flex-start;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .blog-detail__author-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .blog-detail__author-avatar {
        width: 36px;
        height: 36px;
    }

    .blog-detail__author-name,
    .blog-detail__author-role {
        display: block;
        font-size: 16px;
        line-height: 1.25;
    }

    .blog-detail__author-name {
        margin-bottom: 4px;
    }

    .blog-detail__author-separator {
        display: none;
    }

    .blog-detail__cover {
        margin-bottom: 24px;
    }
}

/* FAQ */
.blog-detail__faq {
    margin-top: 48px;
}

.blog-detail__faq > .section-title {
    font-size: 30px;
    font-weight: 500;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: #f3f3f6;
    border-radius: 16px;
    overflow: hidden;
}

.faq-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 20px 24px;
    cursor: pointer;
}

.faq-item.is-open .faq-item__header {
    padding-bottom: 12px;
}

.faq-item__question {
    font-size: 16px;
    font-weight: 700;
    color: #3a3a44;
    line-height: 1.7;
}

.faq-item__toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2e2e2e;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-item__toggle:hover {
    background: #444;
}

.faq-item__toggle svg {
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__toggle svg {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}


.faq-item__answer-inner {
    padding: 0 24px 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #3a3a44;
}

.faq-item__answer-inner p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .blog-detail__faq {
        margin-top: 32px;
    }

    .faq-item__header {
        padding: 16px 16px 16px 18px;
    }

    .faq-item__answer-inner {
        padding: 0 18px 16px;
    }
}

.lk-filter-toggle {
    white-space: nowrap;
    flex-shrink: 0;
}

.lk-filter-toggle svg {
    flex-shrink: 0;
}

.lk-filter-panel {
    display: none;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 4px;
}

.lk-filter-panel.is-open {
    display: flex;
}

.lk-filter-panel__select {
    flex: 0 1 320px;
    width: 320px;
    color: var(--gray-middle);
}

/* html карта */
.sitemap {
    padding: 40px 0 60px;
}

.sitemap__title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.sitemap__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.sitemap__group-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.sitemap__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitemap__list li::before {
    content: "○";
    margin-right: 8px;
    font-size: 10px;
    vertical-align: middle;
}

.sitemap__link {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 767px) {
    .sitemap__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sitemap__title {
        font-size: 24px;
    }
}

/* ===== Лендинг /landing/ ===== */

.landing {
    padding-bottom: 60px;
}

/* Заголовок секции */
.landing-section-title {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 46px;
    font-weight: 900;
    color: #2f3138;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 40px;
}
.landing-section-title--mb0 {
    margin-bottom: 0;
}
.landing-section-subtitle {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 46px;
    font-weight: 700;
    color: #9a9a9a;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.1;
}

/* Блок 1: Hero */
.landing-hero {
    padding: 40px 0 0;
    margin-bottom: 140px;
}
.landing-hero__inner {
    background: #f3f3f6;
    border-radius: 84px;
    padding: 60px 60px 50px;
    text-align: center;
}
.landing-hero__title {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 50px;
    font-weight: 900;
    color: #2f3138;
    line-height: 1.1;
    margin-bottom: 36px;
}
.landing-hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
    text-align: left;
}
.landing-feature-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 18px;
    font-weight: 400;
    color: #2e2f33;
    line-height: 1.3;
}
.landing-feature-card__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    flex-shrink: 0;
    align-self: center;
}
.landing-hero__tags {
    margin-bottom: 60px;
}
.landing-hero__tags .homepage-hero__tag {
    font-size: 30px;
    font-weight: 900;
}
.landing-hero__btn {
    display: inline-block;
    background: #2e2e2e;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 18px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 10px;
    transition: background-color .2s;
}
.landing-hero__btn:hover {
    background: #444;
}

/* Блок 2: Почему выгодно */
.landing-benefits {
    padding: 0;
    margin-bottom: 140px;
}
.landing-benefits__row {
    display: flex;
    gap: 16px;
    padding: 0 50px;
}
.landing-benefits__row--top {
    margin-bottom: 16px;
}
.landing-benefits__row--bottom {
    justify-content: center;
}
.landing-benefits__row--bottom .landing-benefit-card {
    max-width: calc(33.333% - 11px);
    flex: 0 0 calc(33.333% - 11px);
}
.landing-benefit-card {
    flex: 1;
    background: #f3f3f6;
    border-radius: 20px;
    border: 1px solid #ebebeb;
    padding: 30px;
}
.landing-benefit-card__icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    object-fit: contain;
    margin-bottom: 28px;
    display: block;
    border-radius: 10px;
}
.landing-benefit-card__title {
    font-family: var(--font-primary, "Roboto", sans-serif);
    font-size: 24px;
    font-weight: 700;
    color: #2e2f33;
    margin-top: 32px;
    margin-bottom: 10px;
    line-height: 1.2;
}
.landing-benefit-card__text {
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 16px;
    font-weight: 300;
    color: #707070;
    line-height: 1.3;
}

/* Блок 3: 3 шага */
.landing-steps {
    padding: 0;
    margin-bottom: 140px;
}
.landing-steps__header {
    margin-bottom: 36px;
}
.landing-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.landing-step-card {
    background: #f3f3f6;
    border-radius: 24px;
    padding: 28px 28px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.landing-step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 50px;
    background: #707070;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.landing-step-card__title {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 30px;
    font-weight: 900;
    color: #2f3138;
    margin-bottom: 12px;
    line-height: 1.1;
}
.landing-step-card__text {
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 18px;
    font-weight: 300;
    color: #707070;
    line-height: 1.3;
    margin-bottom: 24px;
}
.landing-step-card__img {
    width: 100%;
    display: block;
    margin-top: auto;
}

.landing-step-card:nth-child(1) .landing-step-card__img {
    width: calc(100% + 32px);
    max-width: none;
    margin: 116px -16px 76px;
}
.landing-step-card:nth-child(2) .landing-step-card__img {
    width: calc(100% + 48px);
    max-width: none;
    margin: 56px -28px 0 8px;
}

/* Блок 4: Кому полезны */
.landing-target {
    padding: 0;
    margin-bottom: 140px;
}
.landing-target__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}
.landing-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f3f3f6;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 10px;
}
.landing-checklist__item:last-child {
    margin-bottom: 0;
}
.landing-checklist__check {
    flex-shrink: 0;
    margin-top: 0;
}
.landing-checklist__title {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 30px;
    font-weight: 900;
    color: #2f3138;
    margin-bottom: 12px;
    line-height: 1.1;
}
.landing-checklist__text {
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 18px;
    font-weight: 300;
    color: #707070;
    line-height: 1.3;
}
.landing-target__chart {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    border-radius: 12px;
}
.landing-target__right {
    border: 1px solid #ebebeb;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.landing-target__cta-text {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 30px;
    font-weight: 900;
    color: #2f3138;
    line-height: 1.1;
    margin-bottom: 16px;
}
.landing-target__cta-btn {
    display: inline-block;
    align-self: flex-start;
    background: #2e2e2e;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 18px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 10px;
    transition: background-color .2s;
}
.landing-target__cta-btn:hover {
    background: #444;
}

/* Блок 5: Форма */
.landing-form {
    padding: 0;
}
.landing-form__inner {
    background: #f3f3f6;
    border-radius: 100px;
    padding: 66px 98px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 40px;
    align-items: center;
    overflow: hidden;
}
.landing-form__title {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 46px;
    font-weight: 900;
    color: #2f3138;
    text-align: left;
    line-height: 1.1;
    margin-bottom: 16px;
}
.landing-form__subtitle {
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 18px;
    font-weight: 300;
    color: #707070;
    line-height: 1.3;
    margin-bottom: 28px;
}
.landing-form__input-wrap {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 10px;
}
.landing-form__input {
    display: block;
    width: 100%;
    border: none;
    outline: none;
    padding: 0;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 16px;
    font-weight: 400;
    color: #2e2f33;
    background: transparent;
}
.landing-form__input::placeholder {
    color: #adadad;
    font-weight: 400;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
}
.landing-form__submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}
.landing-form__submit-btn {
    background: #2e2e2e;
    color: #fff;
    border: none;
    border-radius: 11px;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 16px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color .2s;
}
.landing-form__submit-btn:hover {
    background: #444;
}
.landing-form__consent {
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 14px;
    color: #adadad;
    line-height: 1.5;
}
.landing-form__consent a {
    color: #54b8f0;
    text-decoration: none;
}

.landing-form__img-wrap {
    position: relative;
    height: 100%;
    min-height: 420px;
}
.landing-form__img {
    position: absolute;
    top: -30px;
    right: -50px;
    width: 403px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    display: block;
    transform: rotate(13.41deg);
    transform-origin: center top;
}

/* ===== Лендинг: мобильный адаптив ===== */
@media (max-width: 767px) {
    .landing-hero {
        padding: 10px 0 0;
        margin-bottom: 60px;
    }
    .landing-hero__inner {
        background: transparent;
        border-radius: 0;
        padding: 20px 0 28px;
    }
    .landing-hero__title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    .landing-hero__features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 24px;
    }
    .landing-feature-card {
        background: #f3f3f6;
        border-radius: 14px;
        border: none;
        padding: 14px 16px;
        gap: 12px;
        font-size: 15px;
    }
    .landing-feature-card__icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    .landing-hero__tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 28px;
    }
    .landing-hero__tags .homepage-hero__tags-row {
        display: contents;
    }
    .landing-hero__tags .homepage-hero__tag {
        font-size: 18px;
        padding: 8px 10px;
        gap: 6px;
    }
    .landing-hero__tags .homepage-hero__tag-icon {
        width: 20px;
        height: 20px;
    }
    .landing-benefits {
        margin-bottom: 60px;
    }
    .landing-benefits .landing-section-title {
        font-size: 28px;
        line-height: 0.98;
        text-align: left;
        margin-bottom: 18px;
    }
    .landing-benefits__row {
        display: block;
        padding: 0;
    }
    .landing-benefits__row--top {
        margin-bottom: 6px;
    }
    .landing-benefits__row--bottom {
        justify-content: flex-start;
    }
    .landing-benefits__row--bottom .landing-benefit-card {
        max-width: none;
        flex: none;
    }
    .landing-benefit-card {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0 18px;
        border-radius: 8px;
        padding: 10px 10px 10px 9px;
        margin-bottom: 6px;
    }
    .landing-benefit-card__icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        margin-bottom: 0;
        border-radius: 8px;
        background: #fff;
    }
    .landing-benefit-card__title {
        flex: 1;
        min-width: 0;
        font-size: 20px;
        line-height: 1.12;
        margin: 4px 0 8px;
    }
    .landing-benefit-card__text {
        flex: 1 0 calc(100% - 66px);
        margin-left: 66px;
        font-size: 16px;
        line-height: 1.35;
    }
    .landing-steps {
        margin-bottom: 60px;
    }
    .landing-steps__header {
        margin-bottom: 14px;
    }
    .landing-steps .landing-section-title,
    .landing-steps .landing-section-subtitle {
        text-align: left;
    }
    .landing-steps .landing-section-title {
        font-size: 28px;
        line-height: 0.98;
        margin-bottom: 4px;
    }
    .landing-steps .landing-section-subtitle {
        font-size: 28px;
        line-height: 0.98;
        margin-bottom: 0;
    }
    .landing-steps__grid {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 8px;
        -webkit-overflow-scrolling: touch;
    }
    .landing-steps__grid::-webkit-scrollbar {
        height: 6px;
    }
    .landing-steps__grid::-webkit-scrollbar-track {
        background: #ebebee;
        border-radius: 999px;
    }
    .landing-steps__grid::-webkit-scrollbar-thumb {
        background: #a8a8ad;
        border-radius: 999px;
    }
    .landing-step-card {
        flex: 0 0 258px;
        min-height: 360px;
        border-radius: 16px;
        padding: 18px 18px 0;
    }
    .landing-step-card__num {
        width: 42px;
        height: 40px;
        border-radius: 8px;
        padding: 8px;
        font-size: 20px;
        margin-bottom: 16px;
    }
    .landing-step-card__title {
        font-size: 24px;
        line-height: 1.05;
        margin-bottom: 10px;
    }
    .landing-step-card__text {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 18px;
    }
    .landing-step-card__img {
        width: 100%;
        max-height: 150px;
        object-fit: contain;
        margin: auto 0 0;
    }
    .landing-step-card:nth-child(1) .landing-step-card__img,
    .landing-step-card:nth-child(2) .landing-step-card__img {
        width: 100%;
        max-width: none;
        margin: auto 0 0;
    }
    .landing-target {
        margin-bottom: 60px;
    }
    .landing-target .landing-section-title {
        font-size: 28px;
        line-height: 0.98;
        text-align: left;
        margin-bottom: 16px;
    }
    .landing-target__inner {
        display: block;
    }
    .landing-checklist__item {
        gap: 12px;
        border-radius: 8px;
        padding: 14px 12px 14px 10px;
        margin-bottom: 8px;
    }
    .landing-checklist__check {
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
    .landing-checklist__check svg,
    .landing-checklist__check path {
        width: 20px;
        height: 20px;
    }
    .landing-checklist__title {
        font-size: 18px;
        line-height: 1.15;
        margin-bottom: 6px;
    }
    .landing-checklist__text {
        font-size: 15px;
        line-height: 1.35;
    }
    .landing-target__right {
        border-radius: 12px;
        padding: 10px 8px 8px;
        margin-top: 8px;
    }
    .landing-target__chart {
        margin-bottom: 14px;
        border-radius: 8px;
    }
    .landing-target__cta-text {
        font-size: 26px;
        line-height: 1.02;
        margin: 0 0 12px;
    }
    .landing-target__cta-btn {
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 14px;
    }
    .landing-form__inner {
        display: block;
        border-radius: 14px;
        padding: 24px 14px;
    }
    .landing-form__title {
        font-size: 28px;
        line-height: 1.05;
        margin-bottom: 12px;
    }
    .landing-form__subtitle {
        font-size: 15px;
        line-height: 1.35;
        margin-bottom: 20px;
    }
    .landing-form__input-wrap {
        max-width: none;
        border-radius: 8px;
        padding: 13px 10px;
        margin-bottom: 10px;
    }
    .landing-form__input {
        font-size: 15px;
    }
    .landing-form__submit-row {
        display: block;
        margin-top: 18px;
    }
    .landing-form__submit-btn {
        border-radius: 8px;
        font-size: 14px;
        padding: 8px 14px;
        margin-bottom: 12px;
    }
    .landing-form__consent {
        font-size: 12px;
        line-height: 1.35;
    }
    .landing-form__img-wrap {
        display: none;
    }
}

/* Лиды, заголовок группы по номеру заказа */
.table-order-group {
    background: #f5f5f5;
    border-radius: 4px;
    margin-top: 8px;
}
.table-order-group__title {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

@media (min-width: 960px) {
    .footer__btn-info {
        width: 163px;
    }
}

/* меню шапки */
/* шапка вверху при скролле — десктоп и мобилка */
.page__wrapper {
    overflow: visible;
}
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
}
.header .header__left {
    gap: 24px;
}
.header .header__right {
    gap: 8px;
}
.header__catalog-link {
    color: var(--white);
    white-space: nowrap;
    letter-spacing: 0;
}
.header__desktop-link,
.header__phone-link {
    align-items: center;
    color: var(--black-light);
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}
.header__phone-link {
    display: flex;
    gap: 8px;
}
.header__phone-link .icon {
    width: 20px;
    height: 20px;
    fill: transparent;
    stroke: currentColor;
}
.header .header__btn-heart {
    position: relative;
    width: 42px;
    min-width: 42px;
    height: 36px;
    padding: 7px;
}
.header .header__btn-heart > span:not(.header__basket-count):not(.header__favourites-count) {
    display: none;
}
/* Показываем счетчики шапки */
.header__basket-count,
.header__favourites-count {
    position: absolute;
    top: -13px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: var(--blue-middle);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}
.header .header__btn-heart > .header__basket-count,
.header .header__btn-heart > .header__favourites-count {
    display: flex;
}
.header__profile-link {
    display: none;
}

@media (max-width: 1279.98px) {
    .header .header__left {
        gap: 16px;
    }
    .header .header__right {
        gap: 6px;
    }
    .header__desktop-link,
    .header__phone-link {
        font-size: 13px;
    }
}

@media (max-width: 959.98px) {
    .header {
        z-index: 20;
    }
    /* Скрываем десктопные пункты шапки */
    .header__catalog-link.header__seting,
    .header__desktop-link.header__seting,
    .header__phone-link.header__seting {
        display: none !important;
    }
    .header .header__block-logo .logo__image {
        width: min(170px, 42vw);
    }
    .header .header__right {
        gap: 8px;
    }
    .header .header__btn-heart,
    .header__profile-link,
    .header__burger {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 9px;
        border-radius: 12px;
    }
    .header .header__btn-heart .icon,
    .header__profile-link .icon,
    .header__burger .icon {
        width: 24px;
        height: 24px;
    }
    .header__profile-link {
        display: flex;
        border: var(--border-gray-200);
    }
    .header-mobile-menu.sidebar-menu {
        top: 64px;
        right: 12px;
        z-index: 30;
        width: min(300px, calc(100vw - 48px));
        padding: 20px 24px;
        border-radius: 26px;
        background: #fff;
        opacity: 1;
        transition: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .header-mobile-menu.sidebar-menu.menu-close {
        opacity: 1;
    }
    .header-mobile-menu.sidebar-menu ul {
        gap: 12px;
    }
    .header-mobile-menu.sidebar-menu li a {
        justify-content: center;
        width: 100%;
        padding: 18px 20px;
        border-radius: 12px;
        font-size: 24px;
        font-weight: 500;
        line-height: 1.15;
        letter-spacing: 0;
        text-align: center;
    }
    .header-mobile-menu__btn .icon {
        display: none;
    }
    .header-mobile-menu__link {
        color: var(--black-light);
    }
    .header-mobile-menu__phone {
        gap: 14px;
        color: var(--black-light);
        font-weight: 500;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    .header-mobile-menu__phone .icon {
        width: 24px;
        height: 24px;
        fill: transparent;
        stroke: currentColor;
    }
}

@media (max-width: 659.98px) {
    .header-mobile-menu.sidebar-menu {
        width: min(300px, calc(100vw - 48px));
    }
    .header-mobile-menu.sidebar-menu li a {
        font-size: 21px;
    }
}

/* Показываем Telegram-блок для партнеров */
.landing-telegram {
    padding: 0;
    margin: 100px 0 0;
}
.landing-telegram__inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 212px;
    padding: 36px 40px 30px 310px;
    background: rgba(46, 46, 46, 1);
    border-radius: 14px;
}
.landing-telegram__logo {
    position: absolute;
    left: 52px;
    top: -40px;
    width: 220px;
    height: 220px;
}
.landing-telegram__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.landing-telegram__content {
    min-width: 0;
}
.landing-telegram__title {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 50px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.landing-telegram__subtitle {
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 22px;
}
.landing-telegram__btn {
    display: inline-flex;
    width: auto;
    min-width: 184px;
    padding: 7px 16px;
    color: #fff;
    text-decoration: none;
}
.landing-telegram__btn:hover,
.landing-telegram__btn:focus {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .landing-telegram {
        margin: 60px 0 0;
    }
    .landing-telegram__inner {
        display: block;
        min-height: 0;
        padding: 54px 46px 36px;
        border-radius: 22px;
    }
    .landing-telegram__logo {
        left: auto;
        right: 22px;
        top: -40px;
        width: 120px;
        height: 120px;
    }
    .landing-telegram__title {
        max-width: 360px;
        font-size: 30px;
        line-height: 1.22;
        margin-bottom: 22px;
    }
    .landing-telegram__title-line {
        display: block;
        white-space: nowrap;
    }
    .landing-telegram__subtitle {
        max-width: 320px;
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 34px;
    }
    .landing-telegram__btn {
        width: 100%;
        min-height: 56px;
        padding: 8px 20px;
        border-radius: 11px;
        font-size: 18px;
        line-height: 1;
    }
    .landing-telegram__btn .icon {
        width: 24px;
        height: 24px;
    }
}

/* Меню ячейки в ЛК */
.table-menu li a {
    white-space: nowrap;
}
.table-menu li a .icon {
    width: 24px;
    height: 24px;
}

/* Плавающая кнопка быстрой брони — только мобильная версия */
.quick-booking-float {
    display: none;
}
@media (max-width: 959.98px) {
    .quick-booking-float {
        position: fixed;
        top: 80px;
        left: 50%;
        z-index: 40;
        display: inline-flex;
        white-space: nowrap;
        padding: 12px 26px;
        font-size: 16px;
        font-weight: 400;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(-150%);
        transition: transform 0.25s ease, opacity 0.25s ease;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    }
    /* показываем при прокрутке */
    .quick-booking-float.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

/* Шапка новой версии (каталог) — во всю ширину экрана, без .container */
.header-test {
    /* размеры считаем из одного множителя --header-test-scale (его пишет js каталога). множитель не задан → 1 → эталонный размер (прочие test-страницы) */
    --header-test-padding-y: calc(20px * var(--header-test-scale, 1));
    --header-test-inner-px: calc(24px * var(--header-test-scale, 1));
    --header-test-left-gap: calc(30px * var(--header-test-scale, 1));
    --header-test-right-gap: calc(8px * var(--header-test-scale, 1));
    --header-test-logo-width: calc(163px * var(--header-test-scale, 1));
    --header-test-control-gap: calc(8px * var(--header-test-scale, 1));
    --header-test-control-py: calc(7.21px * var(--header-test-scale, 1));
    --header-test-control-px: calc(16px * var(--header-test-scale, 1));
    --header-test-radius: calc(8px * var(--header-test-scale, 1));
    --header-test-control-font-size: calc(14px * var(--header-test-scale, 1));
    --header-test-link-font-size: calc(14px * var(--header-test-scale, 1));
    --header-test-icon-size: calc(20px * var(--header-test-scale, 1));
    --header-test-heart-width: calc(42px * var(--header-test-scale, 1));
    --header-test-heart-height: calc(36px * var(--header-test-scale, 1));
    --header-test-heart-padding: calc(7px * var(--header-test-scale, 1));
    --header-test-count-top: calc(-13px * var(--header-test-scale, 1));
    --header-test-count-right: calc(-8px * var(--header-test-scale, 1));
    --header-test-count-size: calc(22px * var(--header-test-scale, 1));
    --header-test-count-px: calc(6px * var(--header-test-scale, 1));
    --header-test-count-font-size: calc(13px * var(--header-test-scale, 1));

    padding: var(--header-test-padding-y, 20px) 0;
}
.header-test .header-test__inner {
    width: 100%;
    padding: 0 var(--header-test-inner-px, 24px);
}
.header-test .header__left {
    gap: var(--header-test-left-gap, 30px);
}
.header-test .header__right {
    gap: var(--header-test-right-gap, 8px);
}
.header-test .header__block-logo .logo__image {
    width: var(--header-test-logo-width, 163px);
}
.header-test .btn.header__seting,
.header-test .header__login {
    gap: var(--header-test-control-gap, 8px);
    padding: var(--header-test-control-py, 7.21px) var(--header-test-control-px, 16px);
    border-radius: var(--header-test-radius, var(--radius-light));
    font-size: var(--header-test-control-font-size, 14px);
    line-height: 1.4;
}
.header-test .header__desktop-link,
.header-test .header__phone-link {
    font-size: var(--header-test-link-font-size, 14px);
}
.header-test .header__phone-link {
    gap: var(--header-test-control-gap, 8px);
}
.header-test .header__phone-link .icon,
.header-test .btn .icon {
    width: var(--header-test-icon-size, 20px);
    height: var(--header-test-icon-size, 20px);
}
.header-test .header__btn-heart {
    width: var(--header-test-heart-width, 42px);
    min-width: var(--header-test-heart-width, 42px);
    height: var(--header-test-heart-height, 36px);
    padding: var(--header-test-heart-padding, 7px);
    border-radius: var(--header-test-radius, var(--radius-light));
}
.header-test .header__basket-count,
.header-test .header__favourites-count {
    top: var(--header-test-count-top, -13px);
    right: var(--header-test-count-right, -8px);
    min-width: var(--header-test-count-size, 22px);
    height: var(--header-test-count-size, 22px);
    padding: 0 var(--header-test-count-px, 6px);
    font-size: var(--header-test-count-font-size, 13px);
}

.header-test__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 9px;
    cursor: pointer;
}
.header-test__burger span {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background: var(--black-light, #2e2f33);
}
.header-test .header-test__profile {
    background: #fff;
    border: 1px solid #e4e4e4;
    color: var(--black-light, #2e2f33);
}
.header-test .header-test__profile:hover,
.header-test .header-test__profile:focus-visible {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
}
.header-test .header-test__profile-icon {
    width: var(--header-test-icon-size, 20px);
    height: var(--header-test-icon-size, 20px);
    flex: 0 0 var(--header-test-icon-size, 20px);
}

/* Мобильная версия новой шапки */
@media (max-width: 959.98px) {
    .header-test .header-test__inner {
        padding: 0 12px;
    }
    .header-test .header__wrapper {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        margin-left: 0;
        margin-right: 0;
    }
    .header-test .header__left,
    .header-test .header__right {
        width: auto;
        max-width: none;
        flex: 0 1 auto;
        padding-left: 0;
        padding-right: 0;
    }
    .header-test .header__left {
        min-width: 0;
    }
    .header-test .header__right {
        flex-shrink: 0;
        margin-left: 8px;
    }
    .header-test .header__block-logo {
        min-width: 0;
        overflow: hidden;
    }
    .header-test .header__block-logo .logo__image {
        width: clamp(132px, 37vw, 150px);
        max-width: 100%;
    }
    .header-test .header__btn-heart {
        display: none;
    }
    .header-test .header__login {
        height: 40px;
        padding: 8px 18px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .header-test .header-test__profile {
        width: 40px;
        padding: 0;
        background: #fff;
        border-color: #e4e4e4;
        color: var(--black-light, #2e2f33);
    }
    .header-test .header-test__profile:hover,
    .header-test .header-test__profile:focus-visible {
        background: #fff;
        border-color: #e4e4e4;
        color: var(--black-light, #2e2f33);
    }
    .header-test .header-test__profile-icon {
        display: block;
    }
    .header-test .header-test__profile span {
        display: none;
    }
    .header-test__burger {
        display: flex;
    }
}
/* Модалка входа по смс-коду (новая версия) */
#dialog-entrance.modal-entrance {
    max-width: 500px;
}
.modal-entrance .modal-content__inner,
.modal-entrance .modal-content__form {
    gap: 0;
}
.modal-entrance #errors {
    margin: 0;
}
.modal-entrance #errors:not(:empty) {
    margin-top: 12px;
    line-height: 1.3;
}
.modal-entrance #errors > div {
    margin: 0;
}
.modal-entrance__header {
    text-align: center;
}
.modal-entrance__title {
    font-family: var(--font-RobotoCondensed, "Roboto_Condensed", sans-serif);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.34px;
    text-transform: uppercase;
    text-align: center;
}
.modal-entrance__desc {
    margin-top: 12px;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0;
    color: #707070;
}
.modal-entrance__desc-note {
    text-decoration: underline;
    text-underline-offset: 25%;
    text-decoration-skip-ink: auto;
}
.modal-entrance__group {
    margin-top: 40px;
    text-align: center;
}
.modal-entrance__code {
    margin-top: 20px;
    text-align: center;
}
.modal-entrance__label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-weight: 700;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0;
    color: #1d1d1d;
}
.modal-entrance__phone {
    width: 100%;
    height: 64px;
    padding: 0 20px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
}
.modal-entrance__phone::placeholder {
    font-weight: 300;
    line-height: 140%;
    letter-spacing: 0;
    color: var(--gray-middle);
}
.modal-entrance__phone[readonly] {
    color: var(--gray-middle);
}
.modal-entrance__cells {
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}
.modal-entrance__cells .modal-password__item {
    flex: 0 0 auto;
    width: auto;
    padding: 0;
}
.modal-entrance__cells .modal-password__item input {
    width: 64px;
    height: 64px;
    text-align: center;
    font-size: 24px;
    border: 1px solid #ececec;
    border-radius: 16px;
}
.modal-entrance__resend,
.modal-entrance__resend-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 16px 0;
    text-align: center;
    color: #6b6b6b;
    font-size: 16px;
}
.modal-entrance__btn {
    width: 100%;
    height: 64px;
    margin-top: 40px;
    border-radius: 16px;
    font-family: var(--font-primary, "Roboto", sans-serif);
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
}
.modal-entrance__btn_send {
    background: rgba(237, 237, 237, 1);
    color: #1d1d1d;
}
.modal-entrance__btn_submit {
    margin-bottom: 10px;
    background: #1d1d1d;
    color: #fff;
}
.modal-entrance__code,
.modal-entrance__btn_submit {
    display: none;
}
.modal-entrance.is-step-code .modal-entrance__code,
.modal-entrance.is-step-code .modal-entrance__btn_submit {
    display: block;
}
.modal-entrance.is-step-code .modal-entrance__btn_send {
    display: none;
}
#dialog-issue.modal-issue {
    max-width: 500px;
}
.modal-issue .modal-entrance__desc {
    margin-top: 10px;
    color: #1d1d1d;
}
.modal-issue__phone {
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
}
.modal-issue__group {
    text-align: left;
}
.modal-issue__group + .modal-issue__group {
    margin-top: 20px;
}
.modal-issue .modal-entrance__label {
    color: #2E2F33;
}
.modal-issue__input {
    height: auto;
    padding: 10px;
    text-align: left;
    font-size: 16px;
    border-radius: var(--radius-light);
}
.modal-issue__textarea {
    width: 100%;
    height: 83px;
    padding: 10px;
    font-family: var(--font-HelveticaNeue, "HelveticaNeue", sans-serif);
    font-size: 16px;
    line-height: 140%;
    border: 1px solid #ececec;
    border-radius: var(--radius-light);
    background: #fff;
    resize: none;
}
.modal-issue__textarea::placeholder {
    font-weight: 300;
    line-height: 140%;
    letter-spacing: 0;
    color: var(--gray-middle);
}
.modal-issue__btn {
    background: #1d1d1d;
    color: #fff;
}

.payment-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 120px 16px 155px;
}
.payment-error__img {
    width: 180px;
    height: auto;
    margin-bottom: 40px;
}
.payment-error__title {
    margin: 0 0 16px;
    font-family: var(--font-RobotoCondensed);
    font-size: 30px;
    font-weight: 900;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--black-light);
}
.payment-error__text {
    margin: 0 0 40px;
    font-family: var(--font-HelveticaNeue);
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    color: var(--gray-dark);
}
.payment-error__notice {
    margin: 0 0 24px;
    font-family: var(--font-HelveticaNeue);
    font-size: 18px;
    font-weight: 700;
}
.payment-error__notice_canceled {
    color: #d32f2f;
}
.payment-error__notice_paid {
    color: #2e7d32;
}
.payment-error__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.payment-error__btn {
    min-width: 180px;
}
@media (max-width: 575px) {
    .payment-error {
        padding: 64px 16px 96px;
    }
    .payment-error__text {
        font-size: 16px;
    }
    .payment-error__actions {
        width: 100%;
        flex-direction: column;
    }
    .payment-error__btn {
        width: 100%;
    }
}

/* Табы старого ЛК — приводим размер к новому ЛК (.lk-tabs__item) */
.pantry-tab .btn-tab {
    padding: 12px 24px;
    border-radius: 999px;
    line-height: 130%;
}

/* Страница-заглушка «Спасибо» после отправки заявки */
body:has(.thanks) .page__wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.thanks {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}
.thanks .container {
    width: 100%;
}
.thanks__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 16px;
    max-width: 640px;
    margin: 0 auto;
}
.thanks__badge {
    margin-bottom: 40px;
}
.thanks__title {
    margin: 0 0 16px;
    color: var(--black-light);
}
.thanks__text {
    margin: 0 0 40px;
    font-family: var(--font-HelveticaNeue);
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    color: var(--gray-dark);
}
.thanks__btn {
    min-width: 320px;
    margin-bottom: 24px;
    padding: 16px 32px;
    font-size: 18px;
}
.thanks__meta {
    margin: 0;
    font-family: var(--font-HelveticaNeue);
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    color: var(--gray-dark);
}
@media (max-width: 575px) {
    .thanks__text {
        font-size: 18px;
        line-height: 130%;
        letter-spacing: -0.02em;
    }
    .thanks__btn {
        min-width: 0;
        width: 100%;
    }
    .thanks__meta {
        font-size: 14px;
    }
}

/* ===== Новая главная (new_main) ===== */

/* Настоящий Roboto Italic (variable) — глобального italic-face для Roboto на сайте нет */
@font-face {
    font-family: "Roboto";
    src: url("/local/templates/prokladovki/assets/fonts/Roboto-Italic-Variable.ttf") format("truetype");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

.new-main {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero */
.nm-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}
.nm-hero__content {
    flex: 0 0 600px;
    max-width: 600px;
}
.nm-hero__title {
    font-family: var(--font-RobotoCondensed);
    font-weight: 900;
    font-size: 50px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--black-light);
    margin: 0 0 32px;
}
.nm-hero__title-accent {
    color: var(--blue-middle);
}
.nm-hero__subtitle {
    font-family: var(--font-HelveticaNeue);
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.02em;
    color: var(--gray-dark);
    margin: 0 0 40px;
}
.nm-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px !important;
    border-radius: 8px;
    background: #2E2E2E;
    color: #fff;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: opacity .2s ease;
}
.nm-hero__btn:hover {
    opacity: .9;
    color: #fff;
}
.nm-hero__media {
    flex: 1 1 auto;
    min-width: 0;
}
.nm-hero__media-link {
    display: block;
}
.nm-hero__img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .nm-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        padding: 25px 0;
    }
    .nm-hero__content {
        flex: 0 0 auto;
        max-width: none;
        text-align: center;
    }
    .nm-hero__title {
        font-size: 38px;
        margin-bottom: 24px;
    }
    .nm-hero__subtitle {
        font-size: 16px;
        margin-bottom: 32px;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .nm-hero__title {
        font-size: 32px;
    }
    .nm-hero__subtitle {
        letter-spacing: 0;
    }
    .nm-hero__btn {
        width: 100%;
    }
}

/* Для кого */
.nm-audience {
    padding: 60px 0;
}
.nm-audience__head {
    text-align: center;
    margin-bottom: 40px;
}
.nm-audience__eyebrow {
    font-family: var(--font-HelveticaNeue);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-middle);
    margin-bottom: 16px;
}
.nm-audience__title {
    font-family: var(--font-RobotoCondensed);
    font-weight: 900;
    font-size: 40px;
    line-height: 110%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--black-light);
    margin: 0;
}
.nm-audience__title-accent {
    color: var(--blue-middle);
}
.nm-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Левая колонка — два факта */
.nm-audience__facts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.nm-fact {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-height: 188px;
    padding: 20px;
    border-radius: 20px;
    background: var(--gray-300);
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}
.nm-fact__text {
    font-family: var(--font-primary);
    /* На сайте @font-face перепутаны: 900 = настоящий Roboto Bold (макет heading-3 700) */
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--black-light);
}
.nm-fact__num {
    font-family: var(--font-primary);
    /* Настоящий Roboto Bold Italic из variable-font (см. @font-face выше) */
    font-weight: 700;
    font-style: italic;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #EB8258;
}

/* Фото-карточки */
.nm-photo {
    position: relative;
    height: 400px;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}
.nm-photo__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Градиент под подписью для читаемости */
.nm-photo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
}
.nm-photo__caption {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #fff;
}

@media (max-width: 991px) {
    .nm-audience {
        padding: 25px 0;
    }
    .nm-audience__title {
        font-size: 30px;
    }
    .nm-audience__grid {
        grid-template-columns: 1fr 1fr;
    }
    /* Факты занимают всю ширину сверху, фото — в ряд под ними */
    .nm-audience__facts {
        grid-column: 1 / -1;
        flex-direction: row;
    }
    .nm-fact__num {
        font-size: 40px;
    }
    .nm-photo {
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .nm-audience__head {
        text-align: left;
        margin-bottom: 20px;
    }
    .nm-audience__facts {
        flex-direction: column;
        gap: 10px;
    }
    .nm-fact {
        flex: 0 0 auto;
        justify-content: flex-start;
        gap: 16px;
        min-height: 0;
    }
    .nm-audience__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .nm-fact__text,
    .nm-photo__caption {
        font-size: 20px;
    }
}

/* Как забронировать */
.nm-steps {
    padding: 60px 0;
}
.nm-steps__head {
    text-align: center;
    margin-bottom: 40px;
}
.nm-steps__eyebrow {
    font-family: var(--font-HelveticaNeue);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-middle);
    margin-bottom: 16px;
}
.nm-steps__title {
    font-family: var(--font-RobotoCondensed);
    font-weight: 900;
    font-size: 40px;
    line-height: 110%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--black-light);
    margin: 0;
}

/* Таймлайн: колонки совпадают с карточками, плашка над своей колонкой */
/* Трек шагов: десктоп — 4 колонки, строки выровнены через subgrid */
.nm-steps__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 40px;
    row-gap: 0;
}
/* Шаг = плашка + заголовок + текст + картинка на 4 общих строках */
.nm-step {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    min-width: 0;
}
/* Строка таймлайна внутри шага */
.nm-step__stage {
    display: flex;
    align-items: center;
    min-width: 0;
    margin-bottom: 24px;
}
.nm-steps__pill {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    background: var(--gray-300);
    font-family: var(--font-HelveticaNeue);
    font-weight: 700;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.03em;
    color: var(--gray-dark);
    white-space: nowrap;
}
.nm-steps__line {
    flex: 1 1 0;
    min-width: 0;
    height: 20px;
    background: url("assets/img/step_timeline.svg") repeat-x center / auto 20px;
    /* 8px воздуха у плашек с каждой стороны */
    margin: 0 8px;
}
/* линия, замыкающая колонку, продлевается через column-gap к следующей плашке */
.nm-steps__line:last-child {
    margin-right: -32px;
}

.nm-step__title {
    font-family: var(--font-primary);
    /* 900 = настоящий Roboto Bold (см. reference_roboto_fontface_swapped) */
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--black-light);
    margin: 0 0 12px;
}
.nm-step__text {
    font-family: var(--font-HelveticaNeue);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.02em;
    color: var(--gray-dark);
    margin: 0 0 20px;
}
.nm-step__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    background: var(--gray-300);
}
.nm-step__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Кнопка */
.nm-steps__action {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.nm-steps__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px !important;
    border-radius: 12px;
    background: var(--blue-middle);
    color: #fff;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: opacity .2s ease;
}
.nm-steps__btn:hover {
    opacity: .9;
    color: #fff;
}

@media (max-width: 991px) {
    .nm-steps {
        padding: 25px 0;
    }
    .nm-steps__title {
        font-size: 30px;
    }
    .nm-steps__head {
        text-align: left;
    }
    /* Мобилка: трек в горизонтальный слайдер со snap */
    .nm-steps__track {
        display: flex;
        grid-template-columns: none;
        grid-template-rows: none;
        column-gap: 0;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .nm-step {
        display: flex;
        flex-direction: column;
        grid-row: auto;
        grid-template-rows: none;
        flex: 0 0 82%;
        max-width: 320px;
        scroll-snap-align: start;
    }
    .nm-step__stage {
        margin-bottom: 16px;
    }
    .nm-steps__btn {
        width: 100%;
    }
}

/* Почему выбирают */
.nm-why {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 60px 0;
}
.nm-why__left {
    flex: 0 0 500px;
    max-width: 500px;
}
.nm-why__eyebrow {
    /* Roboto Regular 400 на сайте нет — берём HelveticaNeue */
    font-family: var(--font-HelveticaNeue);
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--gray-middle);
    margin-bottom: 16px;
}
.nm-why__title {
    font-family: var(--font-RobotoCondensed);
    font-weight: 900;
    font-size: 50px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--black-light);
    margin: 0 0 24px;
}
.nm-why__subtitle {
    /* Roboto Regular 400 на сайте нет (есть только 500/700/900) — берём настоящий регуляр HelveticaNeue */
    font-family: var(--font-HelveticaNeue);
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--gray-dark);
    margin: 0 0 32px;
}
.nm-why__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px !important;
    border-radius: 12px;
    background: var(--blue-middle);
    color: #fff;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: opacity .2s ease;
}
.nm-why__btn:hover {
    opacity: .9;
    color: #fff;
}

/* Сетка преимуществ 2×2 */
.nm-why__cards {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.nm-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 291px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(243, 243, 246, 0.5);
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}
.nm-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}
.nm-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.nm-card__title {
    font-family: var(--font-primary);
    /* 900 = настоящий Roboto Bold */
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--black-light);
    margin: 0 0 12px;
}
.nm-card__text {
    font-family: var(--font-HelveticaNeue);
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.02em;
    color: var(--gray-dark);
    margin: 0;
}

@media (max-width: 1199px) {
    /* блочная раскладка (как .nm-steps) — слайдер карточек не распирает страницу */
    .nm-why {
        display: block;
    }
    .nm-why__left {
        max-width: none;
        margin-bottom: 40px;
    }
}

@media (max-width: 991px) {
    .nm-why {
        padding: 25px 0;
    }
    .nm-why__title {
        font-size: 30px;
    }
    .nm-why__subtitle {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    /* карточки в горизонтальный слайдер со snap */
    .nm-why__cards {
        display: flex;
        grid-template-columns: none;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .nm-card {
        flex: 0 0 82%;
        max-width: 320px;
        scroll-snap-align: start;
    }
    .nm-why__btn {
        display: none;
    }
}
/* Квиз */
.nm-quiz {
    padding: 60px 0;
}
.nm-quiz .marquiz__inline-frame {
    border-radius: 8px !important;
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.08) !important;
}

/* Отзывы */
.nm-reviews {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 60px 0;
}
.nm-reviews__left {
    flex: 0 0 500px;
    max-width: 500px;
}
.nm-reviews__eyebrow {
    font-family: var(--font-HelveticaNeue);
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--gray-middle);
    margin-bottom: 16px;
}
.nm-reviews__title {
    font-family: var(--font-RobotoCondensed);
    font-weight: 900;
    font-size: 50px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--black-light);
    margin: 0;
}
.nm-reviews__widget {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 760px;
    margin-left: auto;
    height: 900px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.nm-reviews__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
/* ссылка-атрибуция Яндекса — обязательна по условиям виджета */
.nm-reviews__attr {
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    font-size: 10px;
    color: #b3b3b3;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1199px) {
    .nm-reviews {
        flex-direction: column;
        gap: 40px;
    }
    .nm-reviews__left {
        flex: 0 0 auto;
        max-width: none;
    }
    .nm-reviews__widget {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .nm-reviews {
        padding: 25px 0;
        gap: 20px;
    }
    .nm-reviews__title {
        font-size: 30px;
    }
    .nm-reviews__widget {
        height: 600px;
    }
}

/* Частые вопросы (FAQ-аккордеон, компонент faq.listing / шаблон main) */
.nm-faq {
    padding: 60px 0;
}
.nm-faq__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
.nm-faq__eyebrow {
    font-family: var(--font-HelveticaNeue);
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--gray-middle);
    margin-bottom: 16px;
}
.nm-faq__title {
    font-family: var(--font-RobotoCondensed);
    font-weight: 900;
    font-size: 50px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--black-light);
    margin: 0;
}
.nm-faq__btn {
    flex: 0 0 auto;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: #fff;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: var(--black-light);
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease;
}
.nm-faq__btn:hover {
    background: var(--gray-300);
}

.nm-faq__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.nm-faq__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Карточка вопроса (переопределяем блоговские .faq-item более высокой специфичностью) */
.nm-faq .faq-item {
    background: rgba(243, 243, 246, 0.5);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}
.nm-faq .faq-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
}
.nm-faq .faq-item__question {
    font-family: var(--font-RobotoCondensed);
    font-weight: 900;
    font-size: 26px;
    line-height: 120%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--black-light);
}
.nm-faq .faq-item__toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gray-200);
    color: var(--black-light);
    transition: background .2s ease, color .2s ease;
}
.nm-faq .faq-item__toggle svg {
    transition: transform .3s ease;
}
.nm-faq .faq-item.is-open .faq-item__toggle {
    background: #2E2E2E;
    color: #fff;
}
.nm-faq .faq-item.is-open .faq-item__toggle svg {
    transform: rotate(45deg);
}
.nm-faq .faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.nm-faq .faq-item__answer-inner {
    padding: 0 20px 20px;
    font-family: var(--font-HelveticaNeue);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0;
    color: var(--gray-dark);
}

@media (max-width: 991px) {
    .nm-faq {
        padding: 25px 0;
    }
    .nm-faq__title {
        font-size: 30px;
    }
    .nm-faq__cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .nm-faq__head {
        flex-direction: column;
        align-items: flex-start;
    }
    .nm-faq__btn {
        width: auto;
    }
}

/* Мобилка: единый отступ eyebrow→заголовок 10px и под заголовком 20px во всех блоках */
@media (max-width: 575px) {
    .nm-audience__eyebrow,
    .nm-steps__eyebrow,
    .nm-why__eyebrow,
    .nm-reviews__eyebrow,
    .nm-faq__eyebrow {
        margin-bottom: 10px;
    }
    .nm-audience__head,
    .nm-steps__head,
    .nm-faq__head {
        margin-bottom: 20px;
    }
    .nm-why__title,
    .nm-reviews__title {
        margin-bottom: 20px;
    }

    /* заголовки блока «Почему выбирают» — по левому краю */
    .nm-why__left {
        text-align: left;
    }

    /* размер заголовков на мобилке — 30px (eyebrow остаётся 16px; hero — 32px отдельно) */
    .nm-audience__title,
    .nm-steps__title,
    .nm-why__title,
    .nm-reviews__title,
    .nm-faq__title {
        font-size: 30px;
    }
}

/* Мобилка: внутренний отступ кнопок 8px (правило последнее — перекрывает базовые padding !important) */
@media (max-width: 575px) {
    .nm-hero__btn,
    .nm-steps__btn,
    .nm-why__btn,
    .nm-faq__btn {
        padding: 8px !important;
    }
}

/* Единый border-radius кнопок 8px (правило последнее — перекрывает базовые) */
.nm-hero__btn,
.nm-steps__btn,
.nm-why__btn,
.nm-faq__btn {
    border-radius: 8px;
}

/* Витрина партнёра: текстовый бренд, когда логотип ещё не загружен */
.logo__text {
    font-family: var(--font-title, inherit);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--black-middle);
    white-space: nowrap;
}

/* Витрина партнёра: виджет отзывов Яндекса на детальной вместо своего слайдера */
.reviews-test__widget {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

/* Витрина партнёра: страница политики обработки персональных данных */
.policy {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 0 40px;
}

.policy__updated {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-dark);
}

.policy__head {
    margin-bottom: 24px;
}

.policy__title {
    margin: 32px 0 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
    color: var(--black-dark-op92);
}

.policy p {
    margin-bottom: 12px;
    color: var(--black-light);
}

.policy__list {
    margin: 0 0 12px;
    padding-left: 20px;
    list-style: disc;
    color: var(--black-light);
}

.policy__list li {
    margin-bottom: 8px;
}

/* Обязательные согласия под формами (includs/form-consent.php) */
.form-consent {
    width: 100%;
}

.form-consent__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-consent__item + .form-consent__item {
    margin-top: 12px;
}

.form-consent__input {
    width: 1px;
    height: 1px;
}

.form-consent .form-consent__box {
    flex: 0 0 20px;
    width: 20px !important;
    height: 20px !important;
    margin: 0;
}

.form-consent .form-consent__box::before {
    width: 20px !important;
    height: 20px !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    background-size: 16px 16px !important;
}

.form-consent .form-consent__input:checked + .form-consent__box::before {
    background-color: var(--blue-middle) !important;
    border-color: var(--blue-middle) !important;
}

/* Не проставленное обязательное согласие подсвечиваем как ошибку поля */
.form-consent__item.error .form-consent__box::before {
    border-color: var(--red) !important;
}

.form-consent__text {
    margin: 0;
    cursor: pointer;
    font-family: var(--font-HelveticaNeue);
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    color: var(--gray-middle);
}

.form-consent__text a {
    color: var(--blue-middle);
}

/* На лендинге согласия идут отдельным блоком над кнопкой */
.landing-form .form-consent {
    margin-top: 20px;
}
