/* Phase 0: hero, header, trust badges */

:root {
    --site-btn-radius: 8px;
}

.button,
.hero-home__btn,
.map_lazy__btn,
.map_lazy__link,
.sticky-cta__btn,
.dialog__contain input[type="submit"],
.dialog__contain.dialog__contain_extended .dialog_button-container .button,
.dialog__contain.dialog__contain_extended input[type="submit"],
.section_inv .gallery-isotope__filter a,
.gallery-isotope__tag,
.trust-partners__badge {
    border-radius: var(--site-btn-radius);
}

/* --- Header --- */
.easy-header {
    border-bottom: 1px solid #e8eaf6;
}

.easy-header__container {
    margin-top: 16px;
    margin-bottom: 16px;
}

.easy-header__container > .container > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.easy-header__container .col_md_3,
.easy-header__container .col_md_6 {
    float: none;
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
}

.easy-header__logo {
    text-align: left;
    height: auto;
    line-height: 1.2;
    text-transform: none;
}

.site-logo {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: inherit;
}

.site-logo:hover,
.site-logo:focus {
    text-decoration: none;
    color: inherit;
}

.site-logo__name {
    display: block;
    font-family: "Manrope", "Open Sans", sans-serif;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: none;
}

.site-logo__it {
    color: #1a237e !important;
}

.site-logo__support {
    color: #ff5252 !important;
}

.site-logo__tagline {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #607d8b !important;
}

.easy-header__phones {
    float: none;
    margin-top: 0;
    text-align: center;
    flex: 1 1 auto;
}

.easy-header__callback {
    float: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.easy-header__callback .button {
    white-space: nowrap;
}

.easy-header__callback .button_header-cta {
    background-color: #ff5252;
    font-weight: 600;
}

.easy-header__callback .button_header-cta:hover {
    background-color: #ff6c6c;
}

.easy-header__callback .social-links {
    font-size: 14px;
}

/* --- Contacts map (lazy Yandex + poster) --- */
.map_lazy {
    overflow: hidden;
}

.map_lazy__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: opacity 0.25s ease;
}

@media (max-width: 991px) {
    .map_lazy__poster {
        object-position: center center;
    }
}

.map_lazy__actions {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.map_lazy__btn,
.map_lazy__link {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    border: 0;
    cursor: pointer;
}

.map_lazy__btn_primary {
    background: #ff5252;
    color: #fff;
}

.map_lazy__btn_primary:hover {
    background: #e04848;
    color: #fff;
}

.map_lazy__link {
    background: rgba(26, 35, 126, 0.92);
    color: #fff;
}

.map_lazy__link:hover {
    background: #1a237e;
    color: #fff;
}

.map_lazy_ready .map_lazy__actions {
    display: none;
}

.social-links__icon {
    display: inline-block;
    vertical-align: -2px;
    width: 16px;
    height: 16px;
}

/* --- Navbar after hero --- */
.navbar-wrapper.navbar-wrapper_after-hero {
    box-shadow: none;
    border-bottom: 1px solid #e0e0e0;
}

@media (min-width: 992px) {
    .navbar-wrapper_after-hero .navbar__nav > li > a {
        position: relative;
        display: inline-block;
    }

    /* overflow:hidden обрезает линию у неактивных пунктов (translate Y) */
    .navbar-wrapper_after-hero .navbar__nav {
        overflow: hidden;
    }

    .navbar-wrapper_after-hero .navbar__nav a:before {
        left: 0;
        right: 0;
    }

    .navbar-wrapper_after-hero .navbar__nav a.active-item:before {
        transform: translate(0, 0);
    }
}

/* --- Hero --- */
.hero-home {
    position: relative;
    padding: 56px 0 64px;
    background: linear-gradient(128deg, #0d1642 0%, #1a237e 38%, #283593 68%, #3949ab 100%);
    color: #fff;
    overflow: hidden;
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 100% 0%, rgba(255, 82, 82, 0.22), transparent 55%),
        radial-gradient(ellipse 40% 40% at 0% 100%, rgba(255, 255, 255, 0.06), transparent 50%);
    pointer-events: none;
}

.hero-home .container {
    position: relative;
    z-index: 1;
}

.hero-home__title {
    margin: 28px 0 18px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(26px, 3.6vw, 42px);
    line-height: 1.2;
    font-weight: 700;
    max-width: 880px;
    letter-spacing: -0.02em;
}

.hero-home__lead {
    margin: 0 0 36px;
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.65;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.hero-home__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 24px;
    margin: 0 0 36px;
    padding: 24px 28px;
    list-style: none;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    max-width: 720px;
}

.hero-home__stats li {
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
}

.hero-home__stats strong {
    display: block;
    margin-bottom: 4px;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    color: #ff8a80;
}

.hero-home__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-home__btn {
    margin: 0;
    text-transform: none;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-home .hero-home__btn.hero-home__btn_primary {
    background-color: #ff5252;
    color: #fff;
    border: none;
}

.hero-home .hero-home__btn.hero-home__btn_primary:hover {
    background-color: #ff6c6c;
    color: #fff;
}

.hero-home .hero-home__btn.hero-home__btn_secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    box-shadow: none;
}

.hero-home .hero-home__btn.hero-home__btn_secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* --- Trust badges --- */
.trust-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.trust-partners__badge {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    flex: 1 1 240px;
    max-width: 320px;
    min-height: 76px;
    padding: 18px 22px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.15s linear, border-color 0.15s linear;
}

a.trust-partners__badge:hover {
    transform: none;
    box-shadow: none;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.trust-partners__badge_bitrix {
    background: #1565c0;
    border-color: rgba(255, 255, 255, 0.3);
}

a.trust-partners__badge_bitrix:hover {
    background: #1976d2;
}

.trust-partners__badge_b24 {
    background: #00838f;
    border-color: rgba(255, 255, 255, 0.3);
}

a.trust-partners__badge_b24:hover {
    background: #0097a7;
}

.trust-partners__badge_framework {
    background: #4527a0;
    border-color: rgba(255, 255, 255, 0.3);
    cursor: default;
}

.trust-partners__brand {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
}

.trust-partners__status {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991px) {
    .easy-header__container > .container > .row {
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .easy-header__logo {
        text-align: center;
        width: 100%;
    }

    .site-logo {
        align-items: center;
    }

    .easy-header__phones {
        width: 100%;
    }

    .easy-header__callback {
        width: 100%;
        justify-content: center;
    }

    .hero-home__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }
}

@media (max-width: 767px) {
    .hero-home {
        padding: 36px 0 44px;
    }

    .hero-home__stats {
        grid-template-columns: 1fr 1fr;
        padding: 18px 16px;
    }

    .hero-home__stats strong {
        font-size: 26px;
    }

    .hero-home__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-home__btn {
        width: 100%;
        text-align: center;
    }

    .trust-partners__badge {
        flex: 1 1 100%;
        max-width: none;
    }

    .easy-header__callback .button_header-cta {
        width: 100%;
        text-align: center;
    }
}

/* --- Three service directions --- */
.services-directions {
    padding: 56px 0 64px;
    background: #f5f7fb;
}

.services-directions__title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1a237e;
}

.services-directions__lead {
    max-width: 640px;
    margin: 0 auto 36px;
    text-align: center;
    font-size: 17px;
    line-height: 1.55;
    color: #546e7a;
}

.services-directions__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.services-directions__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px 24px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8eaf6;
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.06);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.services-directions__card:hover,
.services-directions__card:focus {
    transform: translateY(-4px);
    border-color: #c5cae9;
    box-shadow: 0 16px 40px rgba(26, 35, 126, 0.12);
    color: inherit;
    text-decoration: none;
}

.services-directions__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.services-directions__name {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #212121;
}

.services-directions__text {
    flex: 1 1 auto;
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.55;
    color: #607d8b;
}

.services-directions__link {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ff5252;
}

@media (max-width: 991px) {
    .services-directions__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

/* --- FAQ accordion --- */
.faq-accordion {
    max-width: 920px;
    margin: 0 auto;
}

.faq-accordion__item {
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.faq-accordion__item[open] {
    border-color: #c5cae9;
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.08);
}

.faq-accordion__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a237e;
    cursor: pointer;
    list-style: none;
}

.faq-accordion__question::-webkit-details-marker {
    display: none;
}

.faq-accordion__question::after {
    content: "+";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef1fb;
    color: #1a237e;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
}

.faq-accordion__item[open] .faq-accordion__question::after {
    content: "−";
}

.faq-accordion__answer {
    padding: 0 22px 20px;
    font-size: 15px;
    line-height: 1.65;
    color: #455a64;
}

.faq-accordion__answer p:last-child {
    margin-bottom: 0;
}

/* --- Landing pages --- */
.landing-hero {
    padding: 48px 0 56px;
    background: linear-gradient(128deg, #0d1642 0%, #1a237e 38%, #283593 68%, #3949ab 100%);
    color: #fff;
}

.landing-hero__breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.landing-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.landing-hero__breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.landing-hero__title {
    max-width: 900px;
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
}

.landing-hero__lead {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.landing-hero__list {
    margin: 0 0 28px;
    padding-left: 20px;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landing-content {
    padding: 56px 0 72px;
}

/* Короткие посадочные: футер внизу viewport */
body.page-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.page-landing .landing-site-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

body.page-landing .footer {
    flex-shrink: 0;
    width: 100%;
    padding: 16px 0 24px;
}

/* Footer contacts (все страницы кроме главной) */
.footer_with-contacts {
    padding-top: 32px;
    padding-bottom: 24px;
}

.footer__contacts {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer__contacts-title {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.footer__contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 24px;
}

.footer__contacts-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.footer__contacts-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #fff;
}

.footer_with-contacts a {
    color: #fff;
    text-decoration: none;
}

.footer_with-contacts a:hover,
.footer_with-contacts a:focus {
    color: #ffabab;
}

.footer__contacts-messengers a + a {
    margin-left: 12px;
}

.footer__bar {
    align-items: center;
}

.footer__social p {
    text-align: right;
}

@media (max-width: 991px) {
    .footer__contacts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .footer__contacts-grid {
        grid-template-columns: 1fr;
    }

    .footer__social p {
        text-align: left;
        margin-top: 8px;
    }
}

.landing-content__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 40px;
    align-items: start;
}

.landing-content h2 {
    margin-top: 0;
    font-size: 26px;
    color: #1a237e;
}

.landing-content p {
    font-size: 16px;
    line-height: 1.65;
    color: #455a64;
}

.landing-content__aside {
    padding: 24px;
    border-radius: 16px;
    background: #f5f7fb;
    border: 1px solid #e8eaf6;
}

.landing-content__aside h3 {
    margin-top: 0;
    font-size: 18px;
    color: #1a237e;
}

.landing-content__aside a {
    color: #ff5252;
}

.landing-video {
    margin-top: 32px;
}

.landing-video__wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.landing-video__wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Bitrix24 landing: текст + скрины вместо YouTube */
.b24-showcase {
    padding: 48px 0 72px;
    background: #f5f7fb;
}

.b24-showcase__heading {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #1a237e;
}

.b24-showcase__lead {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 17px;
    line-height: 1.55;
    color: #546e7a;
}

.b24-showcase__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.b24-showcase__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: center;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8eaf6;
    box-shadow: 0 8px 28px rgba(26, 35, 126, 0.06);
}

.b24-showcase__item_reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.b24-showcase__item_reverse .b24-showcase__content {
    order: 2;
}

.b24-showcase__item_reverse .b24-showcase__figure {
    order: 1;
}

.b24-showcase__content h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #1a237e;
}

.b24-showcase__content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #455a64;
}

.b24-showcase__figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.b24-showcase__figure img {
    display: block;
    width: 100%;
    height: auto;
}

.b24-showcase__note {
    margin: 32px 0 0;
    text-align: center;
    font-size: 14px;
    color: #78909c;
}

@media (max-width: 991px) {
    .b24-showcase__item,
    .b24-showcase__item_reverse {
        grid-template-columns: 1fr;
    }

    .b24-showcase__item_reverse .b24-showcase__content,
    .b24-showcase__item_reverse .b24-showcase__figure {
        order: unset;
    }
}

@media (max-width: 767px) {
    .landing-content__grid {
        grid-template-columns: 1fr;
    }

    .landing-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* --- Sticky mobile CTA --- */
.sticky-cta {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 72px;
    }

    .sticky-cta {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0));
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(8px);
    }

    .sticky-cta__btn {
        flex: 1 1 50%;
        min-height: 48px;
        padding: 0 12px;
        border: 0;
        font-size: 14px;
        font-weight: 700;
        line-height: 48px;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        background: #eef1fb;
        color: #1a237e;
    }

    .sticky-cta__btn_primary {
        background: #ff5252;
        color: #fff;
    }
}

/* Portfolio filter: один active, без конфликта с :before из style.css */
.section_inv .gallery-isotope__filter a {
    text-decoration: none;
}

.section_inv .gallery-isotope__filter a:before {
    content: none;
    display: none;
    border: 0;
}

.section_inv .gallery-isotope__filter a.active {
    background-color: #ff5252;
    color: #fff;
}

.section_inv .gallery-isotope__filter a:hover:not(.active),
.section_inv .gallery-isotope__filter a:focus:not(.active) {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
}

.gallery-isotope__tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 12px;
    background: #ff5252;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.section_benefits .benefits__count {
    display: block;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.section_benefits .benefits__descr {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
}

.section_reviews {
    background: #f5f7fb;
}

.section_reviews .reviews-carousel__item {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8eaf6;
    box-shadow: 0 8px 32px rgba(26, 35, 126, 0.06);
    text-align: center;
}

.section_reviews .reviews-carousel__item p {
    font-size: 17px;
    line-height: 1.65;
    color: #455a64;
    font-style: italic;
}

.section_reviews .reviews-carousel__item {
    color: #263238;
}

.section_reviews .reviews-carousel__name {
    margin-top: 12px;
    font-family: "Manrope", "Scada", sans-serif;
    font-size: 16px;
    line-height: 1.35;
    color: #1a237e;
    text-align: left;
}

.section_reviews .reviews-carousel__name-first,
.section_reviews .reviews-carousel__name-last {
    display: inline;
    font-weight: 700;
    font-size: 16px;
    color: #1a237e;
}

.section_reviews .reviews-carousel__name-role {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #546e7a;
    line-height: 1.3;
}

.section_reviews .reviews-carousel .owl-prev,
.section_reviews .reviews-carousel .owl-next {
    border: 2px solid #1a237e;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(26, 35, 126, 0.12);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.section_reviews .reviews-carousel .owl-prev:before,
.section_reviews .reviews-carousel .owl-next:before {
    color: #1a237e;
}

.section_reviews .reviews-carousel .owl-prev:hover,
.section_reviews .reviews-carousel .owl-next:hover {
    background: #1a237e;
    border-color: #1a237e;
    box-shadow: 0 4px 16px rgba(26, 35, 126, 0.2);
}

.section_reviews .reviews-carousel .owl-prev:hover:before,
.section_reviews .reviews-carousel .owl-next:hover:before {
    color: #fff;
}

.section_call-to-act .call-to-act__descr p {
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
}

.timeline-vertical__row {
    margin-bottom: 8px;
}

.timeline-vertical__title h3 {
    color: #1a237e;
}

/* Callback form — переопределение legacy .dialog__contain из style.css */
.dialog__content:has(.dialog__contain_extended) {
    max-width: 520px;
}

.dialog__contain.dialog__contain_extended form > div,
.dialog__contain.dialog__contain_extended .callback-form__field {
    position: relative;
    margin-bottom: 16px;
}

.dialog__contain.dialog__contain_extended form > div label,
.dialog__contain.dialog__contain_extended .callback-form__label {
    position: static;
    right: auto;
    top: auto;
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
    color: #546e7a;
}

.dialog__contain.dialog__contain_extended input[type="text"],
.dialog__contain.dialog__contain_extended select,
.dialog__contain.dialog__contain_extended textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.4;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dialog__contain.dialog__contain_extended input[type="text"]:focus,
.dialog__contain.dialog__contain_extended select:focus,
.dialog__contain.dialog__contain_extended textarea:focus {
    border-color: #7986cb;
    box-shadow: 0 0 0 3px rgba(121, 134, 203, 0.2);
}

.dialog__contain.dialog__contain_extended select {
    appearance: auto;
    cursor: pointer;
}

.dialog__contain.dialog__contain_extended textarea {
    resize: vertical;
    min-height: 88px;
    padding-top: 10px;
}

.dialog__contain.dialog__contain_extended .dialog__captcha {
    width: 100%;
}

.dialog__contain.dialog__contain_extended .dialog__captcha img {
    float: none;
    margin-top: 8px;
}

.dialog__contain.dialog__contain_extended .dialog_button-container {
    padding-top: 8px;
    margin-bottom: 0 !important;
}

.dialog__contain.dialog__contain_extended .dialog_button-container .button,
.dialog__contain.dialog__contain_extended input[type="submit"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    background-color: #ff5252;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dialog__contain.dialog__contain_extended .dialog_button-container .button:hover,
.dialog__contain.dialog__contain_extended input[type="submit"]:hover {
    background-color: #ff6c6c;
}

.dialog__contain.dialog__contain_extended label.error {
    position: static;
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #d32f2f;
    text-transform: none;
}
