
.hero h1 {
    font-size: clamp(24px, 2.222vw, 32px);
}
.hero h2 {
    font-size: clamp(18px, 1.667vw, 24px);
}
.info-banner {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-banner .container {
    width: 48%;
}
.info-banner-title {
    font-size: clamp(24px, 2.778vw, 40px);
}
.info-banner img {
    width: 48%;
    height: fit-content;
    border-radius: 15px;
    overflow: hidden;
}

.catalog-categories {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
}
.catalog-categories .category {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding: clamp(10px, 1.852vw, 20px);
    border: 3px var(--c-main) solid;
    transition: all 0.5s;
    color: #000;
    overflow: hidden;
}
.catalog-categories .category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tp-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 20px;
}
.tp-slider .card {
    position: relative;
    height: auto;
    outline: 3px var(--c-main) solid;
    transition: .3s all;
    cursor: inherit;
}
.tp-slider .card a {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    justify-content: space-between;
    text-decoration: none;
}
.tp-slider .card .container {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}
.tp-slider .card .container img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: contain;
    margin: 0 0 1em;
    box-shadow: none;
}
.tp-slider .swiper-btn-next,
.tp-slider .swiper-btn-prev {
    position: absolute;
    top: calc(50% - 30px);
    width: 60px;
    height: 60px;
    background: url('../img/top-products-arrow.svg') no-repeat;
    background-size: cover;
    cursor: pointer;
    z-index: 10;
}
.tp-slider .swiper-btn-prev {
    left: -7px;
    transform: rotate(180deg);
}
.tp-slider .swiper-btn-next {
    right: -7px;
}
.page-title {
    font-size: 32px;
}



@media screen and (max-width: 1576px) {
    .catalog-container {
        display: none;
    }
}
@media screen and (max-width: 1100px) {
    .page-wrap {
        padding: 0 10px;
    }
    .top-products-slider .slick-prev {
        left: -10px;
    }
    .top-products-slider .slick-next {
        right: -10px;
    }
}
@media screen and (max-width: 992px) {
    .info-banner .container {
        width: 100%;
    }
    .info-banner .container form {
        display: flex;
        flex-flow: column;
        align-items: center;
    }
    .info-banner img {
        display: none;
    }
}

@media screen and (max-width: 568px) {
    .top-products-item {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }
}

.home-newsletter {
    margin: 28px 0;
    padding: 32px 40px;
    border-radius: 12px;
    background: #f3f6f7;
}
.home-newsletter__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
    gap: 32px;
    align-items: center;
}
.home-newsletter h2 { margin: 0 0 10px; color: #244352; }
.home-newsletter__text p { margin: 0; line-height: 1.5; }
.home-newsletter__form .es_form_wrapper { margin: 0; max-width: none !important; }
.home-newsletter__form .es_subscription_form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.home-newsletter__form .es-field-wrap { flex: 1 1 220px; margin: 0; }
.home-newsletter__form input[type="email"] { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #bfd3db; border-radius: 7px; box-sizing: border-box; }
.home-newsletter__form input[type="submit"] { min-height: 44px; padding: 10px 20px; border: 0; border-radius: 7px; background: #236782; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.home-newsletter__form .es_subscription_message { flex-basis: 100%; }
.home-newsletter__form .tnp { width: 100%; }
.home-newsletter__form .tnp form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.home-newsletter__form .tnp-field { flex: 1 1 220px; margin: 0; }
.home-newsletter__form .tnp-field-email > label { display: none; }
.home-newsletter__form .tnp-privacy-field { flex-basis: 100%; font-size: 14px; }
.home-newsletter__form .tnp-privacy-field label { display: inline-flex; align-items: flex-start; gap: 7px; }
.home-newsletter__form .tnp-privacy-field input { flex: 0 0 auto; margin: 3px 0 0; }
.home-newsletter__form .tnp-field input[type="email"] { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #bfd3db; border-radius: 7px; box-sizing: border-box; }
.home-newsletter__form .tnp-field input[type="submit"] { min-height: 44px; padding: 10px 20px; border: 0; border-radius: 7px; background: #236782; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
@media screen and (max-width: 640px) {
    .home-newsletter { padding: 24px 18px; }
    .home-newsletter__content { grid-template-columns: 1fr; gap: 20px; }
}

/* Блоки главной страницы */
.home-about__top {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr);
    gap: clamp(25px, 4vw, 70px);
    align-items: start;
}
.home-about__content p {
    margin: 0 0 14px;
}
.home-about__button,
.home-order__button,
.home-delivery__button,
.home-blog__button {
    width: fit-content;
    margin-top: 12px;
    text-decoration: none;
}
.home-about__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.home-stat {
    min-height: 155px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
    background: linear-gradient(145deg, #137dad, #07577d);
    color: #fff;
}
.home-stat strong {
    font-size: clamp(34px, 3vw, 52px);
    line-height: 1;
}
.home-stat strong::before {
    content: "+";
    font-size: .55em;
    vertical-align: top;
    margin-right: 2px;
}
.home-stat:last-child strong::before {
    content: "";
}
.home-stat span {
    font-size: 16px;
    line-height: 1.2;
}
.home-trust {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #d5e4eb;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.home-trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    line-height: 1.2;
}
.home-trust__icon,
.home-order__icon,
.home-delivery__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f3f8;
    color: var(--c-main);
    font-size: 24px;
    font-weight: 700;
}
.home-order {
    text-align: center;
}
.home-order__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
    text-align: left;
}
.home-order__step {
    position: relative;
    min-height: 245px;
    padding: 22px 18px;
    border: 1px solid #d5e4eb;
    border-radius: 12px;
    background: #fff;
}
.home-order__number {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #8aa2ad;
    font-size: 18px;
    font-weight: 700;
}
.home-order__step h3,
.home-delivery__item h3,
.home-blog__card h3 {
    margin: 16px 0 9px;
    font-size: 21px;
    line-height: 1.1;
}
.home-order__step p,
.home-delivery__item p,
.home-blog__card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}
.home-order__button,
.home-delivery__button,
.home-blog__button {
    margin-right: auto;
    margin-left: auto;
}
.home-delivery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}
.home-delivery__item {
    min-height: 210px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 18px;
    padding: 28px;
    border-radius: 12px;
    background: #eef6f9;
}
.home-delivery__icon {
    width: 54px;
    height: 54px;
    background: var(--c-main);
    color: #fff;
    font-size: 30px;
}
.home-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}
.home-blog__card {
    overflow: hidden;
    border: 1px solid #d5e4eb;
    border-radius: 12px;
    background: #fff;
}
.home-blog__image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #137dad, #c5e7f2);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-decoration: none;
}
.home-blog__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-blog__content {
    padding: 20px;
}
.home-blog__content time {
    color: #77909c;
    font-size: 15px;
}
.home-blog__card h3 {
    margin-top: 8px;
}
.home-blog__card h3 a,
.home-blog__more {
    color: var(--c-main-font);
    text-decoration: none;
}
.home-blog__more {
    display: inline-block;
    margin-top: 16px;
    color: var(--c-main);
    font-weight: 700;
}
.home-request {
    padding: clamp(28px, 4vw, 55px);
    border-radius: 16px;
    background: linear-gradient(135deg, #137dad, #07577d);
    color: #fff;
}
.home-request .title {
    margin-top: 0;
}
.home-request__intro p {
    max-width: 760px;
    margin: 0;
}
.home-request__form {
    margin-top: 28px;
}
.home-request__fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.home-request__fields label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 16px;
}
.home-request__fields sup {
    color: #bfe8fa;
}
.home-request__fields input,
.home-request__fields textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    outline: none;
    font: inherit;
    color: var(--c-main-font);
    resize: vertical;
}
.home-request__fields input:focus,
.home-request__fields textarea:focus {
    border-color: #8cd8f7;
}
.home-request__comment {
    grid-column: 1 / -1;
}
.home-request__bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}
.home-request__bottom .btn {
    background: #fff;
    color: var(--c-main);
}
.home-request__status {
    font-size: 16px;
}

@media screen and (max-width: 992px) {
    .home-about__top {
        grid-template-columns: 1fr;
    }
    .home-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-order__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-order__step {
        min-height: 0;
    }
    .home-request__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .home-about__stats,
    .home-delivery__grid,
    .home-blog__grid,
    .home-request__fields {
        grid-template-columns: 1fr;
    }
    .home-trust,
    .home-order__steps {
        grid-template-columns: 1fr;
    }
    .home-stat {
        min-height: 120px;
    }
    .home-delivery__item {
        min-height: 0;
        padding: 22px;
    }
    .home-request {
        margin-right: -10px;
        margin-left: -10px;
        border-radius: 0;
    }
    .home-request__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Ритм и чередование фона секций на главной */
.content > section {
    padding: clamp(28px, 4vw, 58px) clamp(18px, 3vw, 42px);
    border-radius: 14px;
}
.content > section + section {
    margin-top: clamp(16px, 1.75vw, 28px);
}
.content > section:nth-of-type(odd) {
    background: #f3f6f7;
}
.content > section.home-request {
    padding: clamp(28px, 4vw, 55px);
    background: linear-gradient(135deg, #137dad, #07577d);
}

@media screen and (max-width: 640px) {
    .content > section {
        padding: 26px 18px;
        border-radius: 10px;
    }
    .content > section + section {
        margin-top: 13px;
    }
    .content > section.home-request {
        padding: 30px 20px;
    }
}

/* Первый экран */
.content > section.hero {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
    align-items: center;
    gap: clamp(28px, 4vw, 70px);
    min-height: 330px;
    padding: clamp(28px, 3.5vw, 52px);
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    background: linear-gradient(118deg, #edf7fb 0%, #f7fbfc 55%, #e5f2f7 100%);
}
.hero__content {
    position: relative;
    z-index: 1;
}
.hero__eyebrow {
    margin: 0 0 10px;
    color: #137dad;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 610px;
    margin: 0;
    color: #244352;
    font-size: clamp(32px, 3.1vw, 52px);
    line-height: 1.03;
}
.hero__lead {
    max-width: 650px;
    margin: 18px 0 0;
    font-size: clamp(18px, 1.45vw, 22px);
    font-weight: 500;
    line-height: 1.35;
}
.hero__solution {
    margin-top: 24px;
    padding-left: 17px;
    border-left: 3px solid #137dad;
}
.hero__solution h2 {
    margin: 0;
    color: #244352;
    font-size: clamp(23px, 2vw, 30px);
    line-height: 1.1;
}
.hero__solution p {
    margin: 7px 0 0;
    font-size: 17px;
    line-height: 1.3;
}
.hero__catalog-text {
    margin: 20px 0 0;
    font-size: 17px;
    line-height: 1.3;
}
.hero__directions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.hero__directions span {
    padding: 7px 11px;
    border: 1px solid #c8dfe8;
    border-radius: 99px;
    background: rgba(255, 255, 255, .75);
    color: #287292;
    font-size: 15px;
    line-height: 1.15;
}
.hero__media {
    align-self: stretch;
    min-height: 300px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(32, 92, 118, .18);
}
.hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 850px) {
    .content > section.hero {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: 0;
    }
    .hero__media {
        min-height: 240px;
        max-height: 340px;
    }
}

@media screen and (max-width: 640px) {
    .content > section.hero {
        padding: 26px 20px;
        border-radius: 0 0 10px 10px;
    }
    .hero__eyebrow {
        font-size: 13px;
    }
    .hero__lead {
        margin-top: 14px;
        font-size: 17px;
    }
    .hero__solution {
        margin-top: 19px;
    }
    .hero__solution p {
        font-size: 16px;
    }
    .hero__media {
        min-height: 210px;
    }
}

/* Акции на главной */
.home-promotions__button {
    width: fit-content;
    margin: 24px auto 0;
    text-decoration: none;
}

/* Производители на главной */
.home-brands {
    text-align: center;
}
.home-brands__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}
.home-brand {
    flex: 0 1 170px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid #d5e3e8;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-brand:hover {
    border-color: #94c9dc;
    box-shadow: 0 8px 20px rgba(29, 92, 119, .12);
    transform: translateY(-2px);
}
.home-brand__logo {
    width: 100%;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-brand__logo img {
    max-width: 100%;
    max-height: 66px;
    width: auto;
    height: auto;
    filter: grayscale(1);
    opacity: .58;
    transition: filter .2s ease, opacity .2s ease;
}
.home-brand:hover .home-brand__logo img {
    filter: grayscale(0);
    opacity: 1;
}
.home-brand__fallback {
    color: #8a9ca3;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}
.home-brand:hover .home-brand__fallback {
    color: var(--c-main);
}
.home-brands__button {
    width: fit-content;
    margin: 24px auto 0;
    text-decoration: none;
}

.home-request__consent {
    color: #fff;
}
.home-request__consent a {
    color: #fff;
    text-decoration: underline;
}

@media screen and (max-width: 640px) {
    .home-brands__list {
        gap: 10px;
    }
    .home-brand {
        flex-basis: 130px;
        min-height: 82px;
        padding: 12px;
    }
    .home-brand__logo {
        height: 50px;
    }
    .home-brand__logo img {
        max-height: 50px;
    }
}
