/* Oleo Script — подключён в header.php (Google Fonts) */
:root {
    --font-oleo: 'Oleo Script', cursive;
    --color-grey: #e0e0e0;
    --color-text-black-3: rgba(0, 0, 0, 0.6);
    --color-accent: #B5003A;
    --hero-header-maroon: #b00034;
    --hero-header-maroon-active: #c8325a;
    --hero-header-blue: #009ee3;
    --hero-header-muted: #888888;
}

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

/* ===========================================
   Hero — стили 1:1 с x-dez.ru (БЭМ)
   =========================================== */
.hero {
    position: relative;
    padding-top: 0;
    isolation: isolate;
}

/* Белая шапка — без фонового фото под ней (без z-index: иначе «наезжает» на блоки ниже) */
.hero__header {
    position: relative;
    background: #fff;
    width: 100%;
}

/* Блок с фото и контентом под шапкой */
.hero__main {
    padding-top: 120px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    color: #fff;
    padding-bottom: 230px;
}

/* Обёртка фона (картинка + оверлей) — только под hero__main */
.hero__back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__content a {
    color: rgb(230, 25, 25);
}

.hero__content a:hover {
    color: rgb(230, 25, 25);
    opacity: 0.9;
}

/* Шапка hero — макет: белая полоса, логотип + слоганы, pill-меню, телефон, CTA */
.hero__top {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    gap: 20px 28px;
    padding: 14px 0 18px;
    margin-bottom: 0;
    color: #111;
}

.hero__top a {
    text-decoration: none;
}

.hero__top-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 280px;
    min-width: 0;
}

.hero__brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.hero__brand-text-col {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    flex: 1 1 auto;
}

.hero__brand-logo {
    flex-shrink: 0;
    display: block;
    line-height: 0;
}

.hero__brand-logo img {
    display: block;
    height: 72px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.hero__taglines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hero__tagline {
    margin: 0;
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 400;
    color: var(--hero-header-muted);
}

.hero__nav-pill {
    display: inline-flex;
    align-self: flex-start;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 100%;
    background: var(--hero-header-maroon);
    border-radius: 999px;
    overflow: hidden;
}

.hero__nav-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s, color 0.2s;
}

.hero__nav-pill-link:last-child {
    border-right: none;
}

.hero__nav-pill-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.hero__nav-pill-link--current {
    background: var(--hero-header-maroon-active);
    color: #fff !important;
}

/* Гамбургер — только на узких экранах (см. медиазапрос ниже) */
.hero__menu-toggle {
    display: none;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    color: #111;
    outline: none;
    box-shadow: none;
}

.hero__menu-toggle:hover,
.hero__menu-toggle:focus,
.hero__menu-toggle:focus-visible {
    background: transparent;
    outline: none;
    box-shadow: none;
}

.hero__menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.hero__header--nav-open .hero__menu-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hero__header--nav-open .hero__menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.hero__header--nav-open .hero__menu-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero__nav-backdrop {
    display: none;
}

/* Кнопка закрытия панели — только в мобильном медиазапросе */
.hero__nav-close {
    display: none;
}

.hero__top-center {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    min-width: 200px;
}

.hero__phone-caption,
.hero__phone-note {
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-size: 13px;
    line-height: 1.3;
    color: var(--hero-header-muted);
}

.hero__phone.hero__phone--header {
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.15;
    color: #000 !important;
    text-decoration: none;
}

.hero__phone.hero__phone--header:hover {
    color: #333 !important;
    opacity: 1;
}

.hero__top-right {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px 14px;
    flex: 0 1 auto;
}

.hero__cta-tg {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 18px;
    background: var(--hero-header-blue);
    border-radius: 40px;
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff !important;
    text-align: center;
    transition: filter 0.2s, background 0.2s;
}

.hero__cta-tg:hover {
    filter: brightness(1.05);
    color: #fff !important;
}

.hero__cta-tg-line1,
.hero__cta-tg-line2 {
    display: block;
}

.hero__cta-call-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hero__cta-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 22px;
    margin: 0;
    border: none;
    cursor: pointer;
    background: var(--hero-header-maroon);
    border-radius: 40px;
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff !important;
    transition: filter 0.2s, background 0.2s;
}

.hero__cta-call:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

.hero__cta-call-note {
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-size: 12px;
    line-height: 1.3;
    color: var(--hero-header-muted);
    text-align: center;
}

/* Копия «Получить прайс в Telegram» над кнопкой — только на планшетах и мобильных */
.hero__messenger-wrap--mobile {
    display: none;
}

.hero__messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #09A0E4;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 16px;
    letter-spacing: 0.1em;
    color: #fff !important;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.hero__messenger:hover {
    background-color: #0891c9;
    border-color: #0678a3;
    color: #fff !important;
}

.hero__messenger-brand {
    font-family: var(--font-oleo);
    font-weight: 700;
}


.hero__badge-wrap {
    margin-bottom: 0;
    padding-top: 0;
    display: flex;
   
}

.hero__badge {
    display: inline-block;
    padding: 12px 36px;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.07em;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: #B5003A;
    clip-path: polygon(8% 0, 98% 0, 93% 100%, 2% 100%);
}


.hero__content {
    max-width: 75%;
    padding-top: 0;
}

.hero__content-inner {
    max-width: 840px;
    width: 100%;
}

.hero__doptitle {
    margin: 0 0 12px;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 150px;
    line-height: 1;
    color: #fff;
    text-align: left;
}

.hero__title {
    font-family: var(--second-family);
    font-weight: 600;
    font-family: var(--font-family);
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 20px 0 20px;
    color: #fff;
    text-align: left;
}

.hero__subtitle {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: 0;
    margin: 0;
    font-weight: 700;
    color: #fff;
    text-align: left;
    padding-right: 0px;
}

.hero__subtitle-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5px;
    margin: 0 0 45px;
}

.hero__discount-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: #b5003a;
    color: #fff;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    text-transform: lowercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

/* Список преимуществ — в ряд (flex row), внутри каждого: иконка слева, текст в отдельном блоке справа */
.hero__features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    gap: 10px 10px;
}

.hero__feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0;
    margin: 0;
    color: #fff;
    max-width: 250px;
}

.hero__feature-text {
    display: block;
}

.hero__feature-ico {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.hero__feature-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero__feature-text strong {
    color: #fff;
    font-weight: 700;
}

.hero__actions {
    padding-top: 30px;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: var(--second-family, "Ubuntu", sans-serif);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s;
}

.hero__btn_primary {
    background-color: #B5003A;
    border-radius: 10px;
    max-width: 250px;
    text-align: left;
    line-height: 20px;
    padding: 17px 17px;
    text-transform: none;
    font-size: 16px;
    color: #fff !important;
}

.hero__btn_primary:hover {
    background-color: #9a0001;
    border-color: #800001;
    color: #fff !important;
}

.hero__btn_secondary {
    background-color: rgb(236, 112, 98);
    border: solid rgb(229, 58, 38);
    border-radius: 10px;
    padding: 24px 44px;
    font-size: 13px;
    color: #fff !important;
}

.hero__btn_secondary:hover {
    background-color: rgb(232, 85, 68);
    border-color: rgb(191, 40, 23);
    color: #fff !important;
}

.hero__note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0;
    margin: 0;
    padding-left: 0;
    color: #fff;
    max-width: 250px;
}

.hero__note-ico {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.hero__note-ico img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.hero__note em {
    font-style: italic;
}

/* Мобильная шапка: логотип → текст → гамбургер; меню выезжает справа */
@media screen and (max-width: 991px) {
    body.hero__nav-open {
        overflow: hidden;
        touch-action: none;
    }

    .hero__header {
        position: relative;
        z-index: 10060;
    }

    /* Контент шапки и выезжающая панель — над затемнением (backdrop ниже по слою) */
    .hero__header > .wrapper {
        position: relative;
        z-index: 10050;
    }

    .hero__menu-toggle {
        display: inline-flex;
    }

    .hero__top-left {
        gap: 0;
        flex: 1 1 0px;
    }

    .hero__brand-row {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px 12px;
    }

    .hero__brand-text-col {
        flex: 1 1 auto;
        min-width: 0;
    }

    .hero__tagline {
        margin: 0;
        font-family: var(--second-family);
        font-size: 14px;
        line-height: 1.35;
        font-weight: 400;
        color: #333 !important;
    }

    .hero__nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10040;
        margin: 0;
        border: 0;
        padding: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .hero__header--nav-open .hero__nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hero__nav-pill {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        bottom: 0;
        width: min(300px, 86vw);
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: calc(52px + env(safe-area-inset-top, 0px)) 0 calc(20px + env(safe-area-inset-bottom, 0px));
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        border-radius: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1;
        background: var(--hero-header-maroon);
        box-shadow: -8px 0 28px rgba(0, 0, 0, 0.28);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .hero__nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: calc(8px + env(safe-area-inset-top, 0px));
        right: 10px;
        z-index: 2;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        color: #fff;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        outline: none;
        box-shadow: none;
    }

    .hero__nav-close:hover,
    .hero__nav-close:focus,
    .hero__nav-close:focus-visible {
        background: transparent;
        outline: none;
        box-shadow: none;
    }

    .hero__nav-close-icon {
        position: relative;
        width: 20px;
        height: 20px;
    }

    .hero__nav-close-icon::before,
    .hero__nav-close-icon::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        border-radius: 1px;
        background: currentColor;
    }

    .hero__nav-close-icon::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .hero__nav-close-icon::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .hero__header--nav-open .hero__nav-pill {
        transform: translateX(0);
    }

    .hero__nav-pill-link {
        flex: none;
        width: 100%;
        box-sizing: border-box;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 15px;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .hero__nav-pill-link:last-child {
        border-bottom: none;
    }
}

/* Адаптив — значения с x-dez.ru (screen-xs) */
@media screen and (max-width: 1024px) {
    .hero__content {
        width: 100%;
        max-width: 100%;
    }

    .hero__badge-wrap {
        justify-content: center;
    }

    .hero__top {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0 16px;
    }

    .hero__top-center {
        align-items: center;
    }

    .hero__top-right {
        justify-content: center;
    }

    /* На планшетах и мобильных: скрыть дубль Telegram в шапке, показать копию над кнопкой */
    .hero__top .hero__cta-tg {
        display: none;
    }
    .hero__messenger-wrap--mobile {
        display: block;       
        max-width: 100%;
        min-width: 320px;
    }
    .hero__messenger-wrap--mobile .hero__messenger {
        width: 100%;
        max-width: 250px;
        padding: 17px 17px;
        font-size: 16px;
        line-height: 20px;
        box-sizing: border-box;
    }

    .hero__subtitle {
        padding-right: 0;
    }
    .hero__subtitle-row {
        flex-direction: column;
        margin-bottom: 15px;
    }

}

@media screen and (max-width: 772px) {
    .hero {
        padding-top: 15px;
    }

    .hero__main {
        padding-top: 48px;
        padding-bottom: 60px;
    }

    .hero__top {
        padding: 10px 0 14px;
        gap: 16px;
    }

    .hero__brand-logo img {
        height: 56px;
    }

    .hero__top-center {
        width: 100%;
    }

    .hero__phone.hero__phone--header {
        font-size: 22px;
    }

    .hero__top-right {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero__cta-call {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero__cta-call-block {
        width: 100%;
    }

    .hero__doptitle {
        text-align: center;
        font-size: 60px;
    }

    .hero__title {
        text-align: center;
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero__subtitle {
        text-align: center;
        font-size: 20px;
        margin-bottom: 15px;
        padding-right: 0;
    }

    .hero__discount-pill {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        font-size: 20px;
        min-height: 36px;
    }

    .hero__features {
        padding-left: 35px;
        padding-right: 35px;
        margin-bottom: 10px;
        gap: 10px 10px;
    }

    .hero__feature {
        font-size: 18px;
        gap: 12px;
        max-width: 100%;
    }

    .hero__actions {
        padding-top: 20px;
        flex-direction: column;
        align-items: center;
    }

    .hero__btn {
        width: 100%;
        max-width: 320px;
    }
    .hero__messenger-wrap--mobile .hero__messenger {
        max-width: 320px;
    }

    .hero__note {
        text-align: left;
        font-size: 14px;
    }
}

.services {
		padding-top:40px;
		padding-bottom:100px;
}		
.services_header {
    text-align: center;
    margin-bottom: 40px;
}

.services_title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.services_title b {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #c10020;
}	
	
.services_description {
    font-size: 19px;
    line-height: 1.6;
    color: #000;
    max-width: 600px;
    margin: 0 auto;
}

.services_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.services_item {
    flex: 0 0 calc(20% - 20px);
    text-align: center;
    padding: 20px 15px;
}

.services_icon {
    height: 60px;
    margin-bottom: 10px;
}

.services_icon img {
    max-height: 60px;
    max-width: 60px;
    filter: brightness(.2) sepia(80) hue-rotate(-58deg) saturate(1000%);
   /* width: 60px;
    height: 60px;
    object-fit: contain;*/
}

.services_item_title {
    font-size: 18px;
	text-transform: uppercase;
    font-weight: 500;
    color: #000;
    line-height: 1.3;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .services_item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .services_item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .services_items {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .services_item {
        flex: 0 0 100%;
    }
}


.advantages {
    position: relative;
    z-index: 1;
    padding-top:40px;
    padding-bottom:40px;
}

.advantages_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.advantages_item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
}

.advantages_icon {
    margin-bottom: 15px;
}

.advantages_icon img {
    width: auto;
    height: 60px;
    object-fit: contain;
}

.advantages_title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.advantages_text {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .advantages_items {
        flex-direction: column;
    }
    
    .advantages_item {
        min-width: 100%;
    }    
}

.btn.to_buy.buybutton {
    background: #ffffff;
    color: #B5003A;
    max-width: 100%;
    border-radius: 0px;
}
.btn.to_buy.buybutton:hover {
    background: #B5003A;
    color: #ffffffff;
}   
.s4 {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.s4-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
    z-index: -1;
}

.s4_title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #FFF;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.s4_subtitle {
    text-transform: uppercase;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    margin-top: 15px;
    max-width: 900pc;
    margin-left: auto;
    margin-right: auto;
}

.s4_subtitle span {
    color: #B5003A;
    text-decoration: underline;
}
.s4_items {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    justify-content: center;
}

.s4_item_item {
    box-sizing: border-box;
    margin-left: 10px;
    margin-right: 10px;
    word-wrap: break-word;
    width: calc(33.333333333333336% - 20px);
    margin-bottom: 30px;
    background: #ffffff1a;
    /* border-radius: 10px; */
    /* padding: 25px; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex!important;
    flex-direction: column;
    height: auto; /* Убираем фиксированную высоту */
    border: 2px solid #FFF;
    justify-content: space-between;
    flex-direction: column;
}
.s4_item_item:nth-child(2) .price__table tbody tr td {
      padding: 12px;
      font-size: 16px;
}
.s4_item_item_title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;    
    border-bottom: 2px solid #FFF;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
}

.s4_item_item_subtitle {
    font-size: 16px;
    color: #d2282b;
    text-align: center;   
    font-weight: 500;
}

.s4_item_item_desc {
    flex-grow: 1;
    display: flex;
    flex-direction: column;    
    margin-top: 0px;
}

.s4_item_item_desc .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price__table {
    width: 100%;
    border-radius: 3px 3px 0 0;
    overflow: hidden;
    flex-grow: 1;
    color:#FFF;
}

/* Стили для таблицы остаются прежними */
.price__table thead tr {
    border: 1px solid #c4c4c4;
}

.price__table thead tr th {
    width: 50%;
    padding: 18px 12px;
    background: #e5e5e5;
    color: #315caa;
    font-size: 16px;
    font-weight: 600;
    border-right: 1px solid #c4c4c4;
    text-align: center;
}

.price__table tbody tr {
    border-bottom: 2px solid #ffffffff;
    border-top: 0;
}

.price__table tbody tr td {
    width: 50%;
    padding: 12px;
    border-right: 0px;
    vertical-align: middle;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}


/* Кнопка внутри каждого блока */
.s4_item_btn {
    display: flex;
    justify-content: center;
    margin-top: auto; /* Прижимаем кнопку к низу блока */
}

.btn.to_buy {
    background: #d2282b;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.btn.to_buy:hover {
    background: #b32023;
}

/* Выравниваем высоту всех блоков */
.s4_items {
    align-items: stretch; /* Растягиваем блоки по высоте */
}

.s4_item_item {
    align-self: stretch; /* Каждый блок растягивается на всю доступную высоту */
}
.s4_item_item:nth-child(2) .s4_item_item_title {
    font-size: 24px;
    font-weight: 700;
}
.s4_item_item:nth-child(2) .price__table {
    box-shadow: none;
}

/* Блок рабочих методов после s4 */
.work-methods {
    padding: 70px 0 60px;
    /*background: #efefef;*/
}

.work-methods__head {
    text-align: center;
    max-width: 980px;
    margin: 0 auto 34px;
}

.work-methods__title {
    margin: 0;
    font-family: var(--second-family);
    color: #10183c;
    font-weight: 600;
    font-size: 48px;
    line-height: 140%;
}

.work-methods__title span {
    color: #B5003A;
}

.work-methods__subtitle {
    margin: 18px auto 0;
    max-width: 940px;
    font-family: var(--second-family, "Open Sans", sans-serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    color: #111;
}

.work-methods__list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.work-methods__item {
    display: flex;
    align-items: stretch;
    background: #f4f4f4;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
}

.work-methods__media {
    flex: 0 0 300px;
    max-width: 300px;
    min-height: 340px;
    background: #ddd;
}

.work-methods__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-methods__media-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    font-size: 15px;
    color: #666;
}

.work-methods__content {
    flex: 1 1 auto;
    padding: 46px 40px 30px 36px;
}

.work-methods__item-title {
    margin: 0 0 14px;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.14;
    color: #10183c;
}

.work-methods__item-title span {
    color: #B5003A;
}

.work-methods__desc {
    margin: 0 0 26px;
    font-family: var(--second-family, "Open Sans", sans-serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
    color: #2b2f44;
}

.work-methods__features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 40px;
}

.work-methods__features li {
    position: relative;
    margin: 0;
    padding-left: 16px;
    font-family: var(--second-family, "Open Sans", sans-serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
    color: #1b2137;
}

.work-methods__features li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}

/* Новая секция: Безопасно для детей и домашних животных */
.safe-pets {
    /*background: #ececec;*/
    padding: 160px 0;s
}

.safe-pets__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.safe-pets__content {
    flex: 1 1 52%;
    min-width: 0;
}

.safe-pets__title {
    margin: 0 0 28px;
    font-family: var(--second-family);
    line-height: 1.18;
    color: #111;
    font-weight: 600;
    font-size: 48px;
}

.safe-pets__title span {
    color: #b5003a;
}

.safe-pets__text p {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
    color: #161616;
}

.safe-pets__media {
    flex: 1 1 48%;
    min-width: 0;
    text-align: right;
}

.safe-pets__media img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: inline-block;
}

@media screen and (max-width: 1200px) {
    .safe-pets__title {
        font-size: 44px;
    }

    .safe-pets__text p {
        font-size: 30px;
    }
}

@media screen and (max-width: 768px) {
    .safe-pets {
        padding: 40px 0;
    }

    .safe-pets__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .safe-pets__title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .safe-pets__text p {
        font-size: 22px;
    }

    .safe-pets__media {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 1600px) {
    .work-methods__title {
        font-size: 48px;
    }

    .work-methods__subtitle {
        font-size: 22px;
    }

    .work-methods__item-title {
        font-size: 32px;
    }

    .work-methods__desc,
    .work-methods__features li {
        font-size: 18px;
    }
}

@media screen and (max-width: 1200px) {
    .work-methods__item {
        flex-direction: column;
    }

    .work-methods__media {
        flex: 0 0 auto;
        max-width: 100%;
        min-height: 320px;
    }

    .work-methods__content {
        padding: 28px 22px;
    }

    .work-methods__item-title {
        font-size: 36px;
    }

    .work-methods__desc,
    .work-methods__features li {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .work-methods {
        padding: 48px 0;
    }

    .work-methods__title {
        font-size: 30px;
    }

    .work-methods__subtitle {
        font-size: 20px;
        margin-top: 12px;
    }

    .work-methods__media {
        min-height: 220px;
    }

    .work-methods__item-title {
        font-size: 29px;
    }

    .work-methods__desc {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .work-methods__features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .work-methods__features li {
        font-size: 16px;
    }
}

.methods_header {
    text-align: center;
    margin-bottom: 50px;
}

.methods_title {
   font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.methods_title b{
	font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #c10020;
	}
.methods_description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.methods_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.methods_item {
    flex: 0 0 calc(33.333% - 30px);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
}

.methods_item:hover {
    border-color: #c10020;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.methods_image {
    margin-bottom: 20px;
}

.methods_image img {
    /*width: 80px;
    height: 80px;*/
    object-fit: contain;
    border-radius: 8px;
}

.methods_item_title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
	text-align: left;
}

.methods_item_description {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
	text-align: left;
}

.methods_item_subtitle {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    font-weight:bold;
	text-align: left;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .methods_item {
        flex: 0 0 calc(50% - 30px);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .methods_items {
        flex-direction: column;
    }
    
    .methods_item {
        flex: 0 0 100%;
    }
    
    .methods_header {
        margin-bottom: 30px;
    }
    
    .methods_title {
        font-size: 28px;
    }
}

.video-reviews {
    padding-top: 80px;
    padding-bottom: 40px;
}
.video-reviews_header {
    text-align: center;
    margin-bottom: 50px;
}

.video-reviews_title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}
.video-reviews_title b {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #c10020;
}
.video-reviews_description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.video-reviews_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.video-reviews_item {
    flex: 0 0 calc(25% - 30px);
    border-radius: 8px;
    overflow: hidden;
}

.video-reviews_iframe {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Соотношение 16:9 */
    border-radius: 8px;
    overflow: hidden;
}

.video-reviews_iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}


@media (max-width: 1024px) {
    .video-reviews_item {
        flex: 0 0 calc(50% - 30px);
    }
}


@media (max-width: 768px) {
    .video-reviews_items {
        flex-direction: column;
    }
    
    .video-reviews_item {
        flex: 0 0 100%;
    }
    
    .video-reviews_header {
        margin-bottom: 30px;
    }
    
    .video-reviews_title {
        font-size: 28px;
    }
}


@media (max-width: 480px) {
    .video-reviews_item {
        margin-bottom: 20px;
    }
    
    .video-reviews_iframe {
        padding-bottom: 75%; 
    }
}

.audio {
    padding: 40px 0;
    background: #f8f9fa;
    margin-bottom: 80px;
}

.audio .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.audio_title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 140%;
    text-transform: uppercase;
    text-align: center;
    color: #333;
    text-align: center;
    margin-bottom: 40px;    
}

.audio_items {
    display: flex;    
    gap: 30px;
}

.audio_item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.audio_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.audio_name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
    min-width: 200px;
}

.audio_category {
    background: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.audio_player {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.audio_player audio {
    flex: 1;
    min-width: 300px;
    height: 40px;
}

.audio_download {
    flex-shrink: 0;
}

.download_btn {
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.download_btn:hover {
    background: #219a52;
}

.no_audio {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .audio_header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .audio_category {
        align-self: flex-start;
    }
    
    .audio_player {
       /*flex-direction: column;*/
        align-items: stretch;
    }
    
    .audio_player audio {
        min-width: 100%;
    }
    
    .download_btn {
        text-align: center;
    }
    .audio_items {
    display: flex;
    gap: 30px;
    flex-direction: column;
}
    
}
.header_right_desc {
    display: block !important;    
}
.methods {
    padding: 60px 0 60px;    
}

@media (max-width: 768px) {
   .s4_items {
        flex-direction: column;
    }
    .s4_item_item { 
    width: 95%!important;
    }
    .s4_title {
    font-size: 28px;
    }
    .methods_title b {
    font-size: 28px;
    }
    .methods_title {
        font-size: 28px;
    }
    .video-reviews_title {
      font-size: 28px;
    }
    .s4_subtitle {
    font-size: 16px;
    }
}

/* Стили блока problems (копия оригинальных s5 из styles.css) */
.problems {
    padding-top: 40px;
    padding-bottom: 40px;
}

.problems__title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 48px;
    line-height: 1.18;
    text-align: center;
    color: #000;
}
.problems__title span {  
    color: #B5003A;
}


.problems__list {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    list-style: none;
    padding: 0;
}

.problems__item {
    margin-bottom: 20px;
    position: relative;
    box-sizing: border-box;
    margin-left: 10px;
    margin-right: 10px;
    word-wrap: break-word;
    width: calc(20% - 20px);
    box-shadow: 0 4px 30px 0 rgba(129, 129, 129, 0.25);
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    min-height: 352px;
}

.problems__item:before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: -15px;
    left: 6px;
    width: calc(100% - 12px);
    height: 80%;
    box-shadow: 0 4px 30px 0 rgba(129, 129, 129, 0.25);
    background: #fff;
    border-radius: 10px;
}

.problems__card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.problems__card-icon {   
    margin: 0 auto;
}

.problems__card-title {    
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #000;
    margin-bottom: 15px;
    min-height: 50px;
}

.problems__divider {
    margin: 10px 20px 20px 20px;
    width: 100%;
    height: 1px;
    background: #d9d9d9;
    border: none;
}

.problems__card-desc {
    /*margin-top: 15px;*/
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: #2d2d2d;
}

.problems__card-desc ul {
    list-style: none;
    margin: 0 0 0.5em 0;
    padding: 0 0 0 1.5em;
    text-align: left;
}

.problems__card-desc li {
    position: relative;
    padding-left: 0.35em;
    margin-bottom: 0.35em;
}

.problems__card-desc li::before {
    content: '';
    position: absolute;
    left: -1.15em;
    top: 0.35em;
    width: 0.5em;
    height: 0.25em;
    border-left: 2px solid #B5003A;
    border-bottom: 2px solid #B5003A;
    transform: rotate(-45deg);
    transform-origin: center;
}

.problems__card-action {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.problems__card-action .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    width: 100%;
    max-width: 250px;
    padding: 0 18px;
    border-radius: 999px;
    background: #b5003a;
    color: #fff;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: filter 0.2s;
}

.problems__card-action .btn:hover {
    filter: brightness(1.05);
}

@media screen and (max-width: 768px) {
    .problems__card-action .btn {
        max-width: 260px;
        font-size: 12px;
    }
}

.problems__messenger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #000;
    text-decoration: underline;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.2s;
}

.problems__messenger-link:hover {
    color: #B5003A;
}

.problems__messenger-link-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.problems__messenger-link-text {
    text-decoration: underline;
}

.problems__contact {
    /*margin-top: 15px;*/
    text-align: center;
}
.to_order {    
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 15px 0 rgba(210, 40, 43, .3);
    background: #B5003A;
    border: 1px solid #B5003A;
    border-radius: 60px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    padding: 0 24px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: .3s;
    transition: .3s;
    cursor: pointer;
}

.problems__contact-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #2d2d2d;
    margin: 0 0 5px;
}

.problems__contact-phone {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 22px;
    color: #000;
    display: block;
    margin-bottom: 5px;
}

.problems__contact-subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #2d2d2d;
    margin: 0;
}

.problems__consult {
    margin: 40px auto 40px;
    max-width: 910px;
    padding: 20px 32px;
    text-align: center;
    background: #B5003A;
}

.problems__consult-text {
    margin: 0 0 20px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    color: #ffffff;
}

.problems__consult-phone {
    display: inline-block;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #ffffff;
    text-decoration: none;
}

.problems__consult-phone:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1024px) {
    .problems__item {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 772px) {
    .problems__title {
        font-size: 22px;
    }

    .problems__item {
        width: calc(100% - 20px);
        min-height: inherit;
    }

    .problems__card-icon {
        width: 50px;
        height: 50px;
    }

    .problems__card-title {
        font-size: 16px;
    }

    .problems__card-desc {
        font-size: 14px;
    }
}

/* ===========================================
   info-no-phone — копия блока s11 (БЭМ, без телефона)
   =========================================== */
.info-no-phone {
    position: relative;
    overflow: hidden;
    padding: 60px 0 60px;
    background: #ecf9ff;
    /* Размеры и позиция псевдоэлемента ::after — можно переопределить */
    --info-no-phone-after-width: 485px;
    --info-no-phone-after-max-height: 600px;
    --info-no-phone-after-right: 15%;
}

.info-no-phone::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: var(--info-no-phone-after-right);
    width: var(--info-no-phone-after-width);
    max-height: var(--info-no-phone-after-max-height);
    height: 100%;
    background-image: url(/wp-content/uploads/2026/02/form_hand.png);
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

@media screen and (max-width: 980px) and (min-width: 616px) {
    .info-no-phone {
        --info-no-phone-after-right: 5%;
    }
}

@media screen and (max-width: 615px) {
    .info-no-phone::after {
        display: none;
    }
}

.info-no-phone__container {
    position: relative;
    z-index: 2;
}

.info-no-phone__body {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2rem;
}

.info-no-phone__content {
    flex: 1 1 45%;
    min-width: 280px;
}

.info-no-phone__title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 40px;
    line-height: 136%;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 40px;
}

.info-no-phone__desc {
    margin-bottom: 40px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #2d2d2d;
	max-width: 350px;
}

.info-no-phone__media-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.info-no-phone__media {
    flex-shrink: 0;
}

.info-no-phone__media-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.info-no-phone__media-desc {
    flex: 1;
    min-width: 200px;
}

.info-no-phone__messenger-wrap {
    margin-top: 40px;
}

.info-no-phone__messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #09A0E4;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 16px;
    letter-spacing: 0.1em;
    color: #fff !important;
    text-decoration: none;
    transition: background 0.2s;
    margin-left: 40px;
}

.info-no-phone__messenger:hover {
    background-color: #0891c9;
    color: #fff !important;
}

span.info-no-phone__messenger-text {
    text-align:center;
}

.info-no-phone__messenger-brand {
    font-family: var(--font-oleo);
    font-weight: 700;
}

.info-no-phone__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background-color: #0088cc;
    border: none;
    border-radius: 10px;
    transition: background-color 0.2s;
}

.info-no-phone__btn:hover {
    background-color: #006699;
    color: #fff;
}

.info-no-phone__form {
    flex: 1 1 45%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-no-phone__img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: auto;
}

.s15 {
    display: none;
}

.s13_title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 48px;
    line-height: 120%;
    text-transform: none;
    text-align: center;
    color: #000;
}
.s13_title span {
    color: #B5003A;
}

@media screen and (max-width: 768px) {
    .s13_title {
        font-size: 28px;
    }
}





















/* Footer — из dez1 (http://dez1.localhost/) */
footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Form Banner — копия из dez1 (components.css) */
.form-banner {
  background: center / cover url("../img/form-bg.png") #f0f6fb;
  border-radius: 20px;
  padding: 50px 60px 25px;
}
.form-banner--twolinetitle {
  padding-top: 39px;
  padding-bottom: 35px;
}
.form-banner__inner {
  display: flex;
  justify-content: space-between;
}
.form-banner__title {
  margin-bottom: 15px;
}
.form-banner__text {
  max-width: 420px;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: var(--color-text-black-2);
}
.form-banner__col:nth-child(1) {
  flex: 0 0 42%;
}
.form-banner__col:nth-child(2) {
  flex: 0 0 27%;
}
.form-banner__col:nth-child(3) {
  padding-top: 25px;
  flex: 0 0 26.4%;
}
.form-banner--withadditionaltext .form-banner__col:nth-child(3) {
  padding-top: 0;
}
.form-banner__submit-text {
  font-size: 13px;
  line-height: 16px;
  text-align: center;
  margin-top: 13px;
  color: var(--color-text-black-3);
}
.form-banner__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  margin-top: 10px;
}
.form-banner__phone-icon {
  margin-left: 13px;
  border-left: 1px solid #afb5c8;
  padding-left: 10px;
}
.form-banner__addition-text {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #ef171a;
  text-align: center;
  margin-bottom: 10px;
}

/* form-loader, thx, form-container — копия из dez1 (main.css) */
.form-banner,
.form-popup {
  position: relative;
}
.form-loader {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 9;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  left: 0;
  top: 0;
}
.form-banner__thx {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
.thx-title {
  text-align: center;
  font-weight: 600;
  font-size: 40px;
  line-height: 130%;
  color: #ffffff;
}
.thx-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  text-align: center;
  color: #ffffff;
  margin-top: 15px;
}
.thx-close {
  position: absolute;
  right: 14px;
  top: 14px;
  cursor: pointer;
}
.form-container {
  transition: background 0.3s;
}

/* button, input — копия из dez1 (guideline.css) */
.button {
  border: 0px;  
  display: inline-block;
  background: var(--color-accent);
  border-radius: 10px;
  padding: 18px 30px;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  cursor: pointer;
  color: #ffffff;
  outline-color: var(--color-link);
  transition: all 0.3s;
}
.button:hover {
  background: #db2b32;
}
.button--full {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
}
.input-text {
  background: #ffffff;
  border: 1px solid #bdc4de;
  border-radius: 10px;
  padding: 18px;
  width: 100%;
  outline-color: var(--color-accent);
}
.input-subtext {
  font-size: 13px;
  line-height: 16px;
  margin-top: 10px;
  color: var(--color-text-black-3);
}
.input-subtext--221 {
  max-width: 235px;
}
.input-subtext a {
  color: var(--color-text-black-3);
  text-decoration: underline;
  transition: color 0.3s;
}
.input-subtext a:hover {
  color: var(--color-accent);
}
.input-name {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  margin-bottom: 10px;
}

/* Footer — копия из dez1 (main.css + newStyle.css) */
footer {
  margin-top: 80px;
  padding-top: 30px;
  background: #073050;
  box-shadow: 0px 4px 20px rgba(131, 152, 184, 0.1);
  width: calc(100% - 40px);
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 30px;
}

footer .logo img {
  width: 50px;
  height: 50px;
  border-radius: 100%;
}

footer .logo__title,
footer .main-menu__item a {
  color: #fff;
}

footer .link--black.link--arrow::after {
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.98935 9L5.27841 8.2983L8.20526 5.37145H0.625V4.35582H8.20526L5.27841 1.43821L5.98935 0.727273L10.1257 4.86364L5.98935 9Z' fill='%23FFFFFF'/%3E%3C/svg%3E%0A");
}

footer .link--arrow:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.98935 9L5.27841 8.2983L8.20526 5.37145H0.625V4.35582H8.20526L5.27841 1.43821L5.98935 0.727273L10.1257 4.86364L5.98935 9Z' fill='%23B5003A'/%3E%3C/svg%3E%0A");
}

.footer-top .link--black,
.footer-up .link--black {
  color: #fff;
}

.footer-top .link--black:hover,
.footer-up .link--black:hover {
  color: var(--color-accent);
}

.footer-top {
  /*padding-top: 40px;*/
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-grey);
}

.footer-top__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo .hero__brand-title {
  margin: 0;
  color: #fff;
}

.footer-top__right {
  display: flex;
  align-items: center;
}

.footer__phones {
  display: flex;
  align-items: center;
  margin-right: 43px;
}

.footer__phones {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
}

.footer__phones a:not(:last-child) {
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid var(--color-grey);
}

.footer-bottom__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  display: none;
}

.footer-bottom__bottom {
  margin-top: 34px;
  padding-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright,
.footer-bottom__bottom a {
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.8);
}

footer .footer-copyright__item,
footer .footer-bottom__bottom a {
  color: rgba(255, 255, 255, 0.8);
}

footer .footer-bottom__bottom a:hover {
  color: #fff;
}

.footer-copyright__item:not(:last-child) {
  margin-right: 25px;
}

.footer-up button {
  font-size: 16px;
  line-height: 19px;
}

/* Утилиты для футера (из dez1) */
.df { display: flex; }
.aic { align-items: center; }
.clear-list { list-style: none; margin: 0; padding: 0; }

.main-menu--footer {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu__item a {
  text-decoration: none;
}

.main-menu__item a:hover {
  text-decoration: underline;
}

.link--arrow {
  position: relative;
  padding-right: 20px;
}

.link--arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 9px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.footer__socials.socials-horizontal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials-horizontal__item {
  display: block;
  line-height: 0;
}

.socials-horizontal__item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Footer — адаптив (из dez1) */
@media screen and (max-width: 1024px) {
  footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    margin-top: 51px;
    padding-top: 50px;
  }
  /* form-banner media — из dez1 media.css */
  .form-banner {
    padding: 25px 20px 40px;
  }
  .form-banner__inner {
    flex-wrap: wrap;
    align-items: center;
  }
  .form-banner__col:nth-child(1) {
    flex: 0 0 100%;
  }
  .form-banner__col:nth-child(2) {
    flex: 0 0 calc(50% - 10px);
  }
  .form-banner__col:nth-child(3) {
    flex: 0 0 calc(50% - 10px);
    transform: translateY(25px);
    padding-top: 0;
  }
  .form-banner--withadditionaltext .form-banner__col:nth-child(3) {
    transform: translateY(10px);
  }
  .form-banner__text {
    font-size: 16px;
    margin-bottom: 25px;
    max-width: 540px;
  }
  .footer-top {
    padding-top: 50px;
    padding-bottom: 30px;
  }
  .footer__logo img {
    width: 38px;
    margin-right: 8px;
  }
  .footer__logo .logo__title {
    font-size: 12.4px;
  }
  .footer__logo .logo__text {
    font-size: 12.3px;
  }
  .main-menu--footer {
    display: grid;
    grid-template-columns: 1fr 0.83fr;
    grid-row-gap: 12px;
  }
  .footer-bottom__bottom {
    margin-top: 0;
  }
  .footer-bottom__top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 28px;
  }
  .footer-bottom__bottom {
    padding-top: 20px;
    justify-content: center;
    text-align: center;
  }
  .footer-copyright {
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .footer-copyright__item:not(:last-child) {
    margin-right: 0;
  }
}

.form-banner__title {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 40px;
    line-height: 48px;
}
.form-banner__text {
    max-width: 420px;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--color-text-black-2);
}
.form-banner {
    background-image: url(/wp-content/uploads/2025/06/form-bg.png);
}


@media screen and (max-width: 768px) {
  /* form-banner media — из dez1 media.css */
  .form-banner__col:nth-child(2) {
    flex: 0 0 100%;
  }
  .form-banner__col:nth-child(3) {
    flex: 0 0 100%;
    margin-top: 25px;
    transform: none;
  }
  .input-subtext--221 {
    max-width: 100%;
  }
  .footer__phones {
    flex-direction: column;
    align-items: flex-start;
    margin-right: 0;
  }
  .footer__phones a:not(:last-child) {
    margin: 0;
    padding: 0;
    border: none;
  }
  .footer__phones a:not(:first-child) {
    margin-top: 10px;
  }
  .footer-top__right {
    align-items: flex-end;
  }
  .footer-top__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Скрыть mob_footer на мобильных */
@media screen and (max-width: 768px) {
    .mob_footer {
        display: none !important;
    }
}

.s13 {
    padding-top: 40px;
    padding-bottom: 40px;
}
.s10 {
    padding-top: 40px;
    padding-bottom: 40px;
}
.s14 {
    padding-top: 40px;
    padding-bottom: 40px;
}
.s11_obl_top {
    display:none;
}
.s8_right_form_title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 140%;
    text-transform: uppercase;
    text-align: center;
    color: #000000;
}
.footer-copyright__item-lic {
	font-size:12px;
	color: rgba(255, 255, 255, 0.8);
}

.mini-quiz {
    max-width: 1000px;
    position: relative;
    margin: 0 auto;
    z-index: 1;
    --mini-quiz-bg: #b5003a;
    --mini-quiz-btn-text: #b5003a;
    --mini-quiz-num-bg: #d9d9d9;
    background-color: var(--mini-quiz-bg);
    color: #fff;
    padding: 28px 0 32px;
    margin-top: -180px;
}

.mini-quiz__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    gap: 0;
    min-height: 244px;
}

.mini-quiz__col {
    flex: 1 1 280px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.mini-quiz__col--cta {
    align-items: center;
    text-align: center;
    padding: 12px 20px 12px 12px;
}

.mini-quiz__title {
    margin: 0 0 4px;
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
}

.mini-quiz__subtitle {
    margin: 0 0 16px;
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    color: #fff;
}

.mini-quiz__phone {
    margin: 0;
    width: 100%;
    max-width: 320px;
    text-align: right;
}

.mini-quiz__phone a {
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #fff !important;
    text-decoration: none;
    white-space: nowrap;
}

.mini-quiz__phone a:hover {
    opacity: 0.92;
    color: #fff !important;
}

.mini-quiz__divider {
    flex: 0 0 auto;
    width: 4px;
    align-self: stretch;
    min-height: 200px;
    background: #fff;
    margin: 8px 0;
}

.mini-quiz__col--form {
    padding: 8px 12px 12px 24px;
    justify-content: flex-start;
}

.mini-quiz__offer-head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}

.mini-quiz__offer-label {
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.5;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mini-quiz__offer-pct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border-radius: 2px;
}

.mini-quiz__offer-text {
    margin: 0 0 14px;
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
    text-align: center;
}

.mini-quiz__form-wrap {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mini-quiz-form,
.mini-quiz-cf7 {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mini-quiz-form__row,
.mini-quiz-cf7__row {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 47px;
}

.mini-quiz-form__num,
.mini-quiz-cf7__num {
    flex: 0 0 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mini-quiz-num-bg);
    font-family: 'Ubuntu', var(--second-family, sans-serif);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.35;
    color: #000;
    text-transform: uppercase;
}

.mini-quiz-form__control-wrap,
.mini-quiz-cf7__row .wpcf7-form-control-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: stretch;
    position: relative;
    margin: 0;
}

.mini-quiz-cf7__row .wpcf7-not-valid-tip {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 2;
    font-size: 11px;
    margin-top: 2px;
}

.mini-quiz .mini-quiz-form__control,
.mini-quiz .mini-quiz-cf7__control,
.mini-quiz select.mini-quiz-form__control,
.mini-quiz select.mini-quiz-cf7__control,
.mini-quiz input.mini-quiz-form__control,
.mini-quiz input.mini-quiz-cf7__control {
    width: 100%;
    height: 47px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 36px 0 14px;
    border: none;
    border-radius: 0;
    background: #fff;
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    color: #000;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.mini-quiz input.mini-quiz-form__control,
.mini-quiz input.mini-quiz-cf7__control {
    padding-right: 14px;
}

.mini-quiz .mini-quiz-form__control::placeholder,
.mini-quiz .mini-quiz-cf7__control::placeholder {
    color: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.mini-quiz-form__control-wrap::after,
.mini-quiz .mini-quiz-cf7__row:has(select) .wpcf7-form-control-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -3px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    pointer-events: none;
}

.mini-quiz-form__row--tel .mini-quiz-form__control-wrap::after {
    display: none;
}

.mini-quiz-form__submit-wrap,
.mini-quiz-cf7__submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    padding-top: 0;
}

.mini-quiz .mini-quiz-form__submit,
.mini-quiz .mini-quiz-cf7__submit,
.mini-quiz input.mini-quiz-cf7__submit.wpcf7-submit {
    width: auto;
    min-width: 219px;
    height: 44px;
    padding: 0 28px;
    margin: 0;
    border: none;
    border-radius: 60px;
    background: #fff;
    box-shadow: 0 0 15px rgba(210, 40, 43, 0.3);
    font-family: var(--second-family, 'Open Sans', sans-serif);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: var(--mini-quiz-btn-text) !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.mini-quiz .mini-quiz-form__submit:hover,
.mini-quiz .mini-quiz-cf7__submit:hover,
.mini-quiz input.mini-quiz-cf7__submit.wpcf7-submit:hover {
    filter: brightness(1.03);
    color: var(--mini-quiz-btn-text) !important;
}

@media screen and (max-width: 768px) {
    .mini-quiz {
        margin-top: 0;
    }

    .mini-quiz__col {
        flex: 1 1 0;
    }

    .mini-quiz__inner {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    .mini-quiz__divider {
        width: 100%;
        height: 4px;
        min-height: 0;
        margin: 16px 0;
    }

    .mini-quiz__col--cta {
        padding: 8px 12px;
    }

    .mini-quiz__title {
        font-size: 26px;
    }

    .mini-quiz__subtitle {
        font-size: 18px;
    }

    .mini-quiz__phone {
        text-align: center;
    }

    .mini-quiz__phone a {
        font-size: 26px;
    }

    .mini-quiz__col--form {
        padding: 0 8px 8px;
    }

    .problems__card-action .btn {
        max-width: 260px;
        font-size: 12px;
        min-height: auto;
    }
}
