.cctv-main-hero {
    position: relative;
    height: auto;
    aspect-ratio: 1920 / 650;
    padding: 0 !important;
    margin-bottom: 52px !important;
    overflow: hidden;
    background: #e7f1f2 !important;
}

.cctv-main-hero__layers {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
}

.cctv-main-hero__layers img {
    position: absolute;
    display: block;
    max-width: none;
}

.cctv-main-hero__background {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: none;
    z-index: 0;
}

.cctv-main-hero__installer {
    bottom: -3%;
    left: 22%;
    height: 94%;
    width: auto;
    z-index: 3;
}

.cctv-main-hero__plane {
    width: auto;
    height: auto;
    z-index: 2;
}

.cctv-main-hero__plane--trail {
    top: 48%;
    left: 17%;
    width: 12%;
}

.cctv-main-hero__plane--center {
    top: 36%;
    left: 41%;
    width: 8%;
}

.cctv-main-hero__plane--small {
    top: 74%;
    left: 79%;
    width: 4.5%;
}

.cctv-main-hero__plane--tiny {
    top: 28%;
    left: 14%;
    width: 2%;
}

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

#page-header.cctv-main-hero .go-to-section {
    display: none !important;
}

.cctv-offers {
    padding: 65px 0 55px;
    background: #f5f8fa;
    border-top: 1px solid #e3eaee;
    border-bottom: 1px solid #e3eaee;
}

.cctv-offers .headline {
    margin-bottom: 32px;
}

.cctv-offers .headline p {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.cctv-offers__carousel {
    position: relative;
    margin-bottom: 12px;
}

.cctv-offers__carousel .owl-stage {
    display: flex;
}

.cctv-offers__carousel .owl-item,
.cctv-offers__carousel .item {
    display: flex;
}

.cctv-offers__carousel .owl-item {
    padding-bottom: 16px;
}

.cctv-offers__carousel .owl-item > .item {
    width: 100%;
    min-width: 0;
}

.cctv-offers__carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    gap: 8px;
}

.cctv-offers__carousel .owl-prev,
.cctv-offers__carousel .owl-next {
    position: relative;
    width: 42px;
    height: 42px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #0094e0;
    border: 0;
    color: transparent;
}

.cctv-offers__carousel .owl-prev:hover,
.cctv-offers__carousel .owl-next:hover {
    background: #087bb5;
}

.cctv-offers__carousel .owl-prev:before,
.cctv-offers__carousel .owl-next:before {
    position: absolute;
    top: 15px;
    left: 16px;
    width: 11px;
    height: 11px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: "";
}

.cctv-offers__carousel .owl-prev:before {
    transform: rotate(-135deg);
}

.cctv-offers__carousel .owl-next:before {
    left: 14px;
    transform: rotate(45deg);
}

.cctv-offers__carousel .owl-dots {
    margin-top: 10px;
    text-align: center;
}

.cctv-offers__carousel .owl-dot {
    display: inline-block;
}

.cctv-offers__carousel .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    margin: 4px;
    background: #c2d2dc;
    border-radius: 50%;
}

.cctv-offers__carousel .owl-dot.active span {
    background: #0094e0;
}

.cctv-offer {
    display: flex;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d6e1e7;
    box-shadow: 0 4px 14px rgba(38, 65, 83, 0.08);
}

.cctv-offer__image {
    display: block;
    height: 155px;
    overflow: hidden;
    background: #1d3659;
}

.cctv-offer__image img {
    width: 100%;
    height: 100%;
    filter: none;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.25s ease;
}

.cctv-offer__image--contain {
    padding: 13px;
    background: #eef3f6;
}

.cctv-offer__image--contain img {
    object-fit: contain;
}

.cctv-offer__image--install img {
    object-position: center 42%;
}

.cctv-offer:hover .cctv-offer__image img {
    transform: scale(1.025);
}

.cctv-offer__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 22px 24px;
}

.cctv-offer__eyebrow {
    margin-bottom: 5px;
    color: #637786;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cctv-offer h3 {
    margin: 0 0 6px;
    color: #242424;
    font-size: 24px;
    line-height: 1.25;
}

.cctv-offer__price {
    margin: 0 0 8px;
    color: #0094e0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.cctv-offer__installation {
    margin: 0 0 15px;
    padding: 6px 10px;
    color: #1874a2;
    background: #e9f7ff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.cctv-offer__installation:before {
    margin-right: 6px;
    content: "\f00c";
    font-family: FontAwesome;
}

.cctv-offer__list {
    margin: 0 0 20px;
    padding: 0;
    color: #555;
    list-style: none;
}

.cctv-offer__list li {
    position: relative;
    margin-bottom: 7px;
    padding-left: 19px;
    line-height: 1.45;
}

.cctv-offer__list li:before {
    position: absolute;
    top: 0;
    left: 0;
    color: #0094e0;
    content: "\f00c";
    font-family: FontAwesome;
    font-size: 12px;
}

.cctv-offer__button {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.cctv-offers__note {
    margin: 4px auto 25px;
    color: #6f7f89;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.cctv-quick-estimate {
    display: flex;
    align-items: center;
    padding: 26px 28px;
    background: #fff;
    border: 2px solid #c6ecff;
}

.cctv-quick-estimate__item {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: flex-start;
    padding-right: 26px;
}

.cctv-quick-estimate__item i {
    width: 46px;
    flex: 0 0 46px;
    color: #0094e0;
    font-size: 32px;
    line-height: 1;
}

.cctv-quick-estimate__item h3 {
    margin: 0 0 5px;
    color: #242424;
    font-size: 17px;
    line-height: 1.3;
}

.cctv-quick-estimate__item p {
    margin: 0;
    color: #697780;
    font-size: 13px;
    line-height: 1.5;
}

.cctv-quick-estimate__button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.cctv-architecture {
    padding: 65px 0 55px;
    background: #fff;
}

.cctv-architecture .headline {
    margin-bottom: 34px;
}

.cctv-architecture .headline p {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.cctv-architecture__tabs .nav-tabs {
    display: flex;
    margin-bottom: 0;
}

.cctv-architecture__tabs .nav-tabs > li {
    flex: 1;
    text-align: center;
}

.cctv-architecture__tabs .nav-tabs > li > a {
    min-height: 62px;
    margin: 0;
    padding: 20px 18px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.cctv-architecture__tabs .tab-content {
    min-height: 385px;
    padding: 35px;
    border: 1px solid #d8e2e8;
    border-top: 0;
}

.cctv-architecture__tabs .tab-pane {
    overflow: hidden;
}

.cctv-architecture__row {
    display: flex;
    align-items: center;
}

.cctv-architecture__visual {
    display: flex;
    min-height: 250px;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #f5f8fa;
    border: 1px solid #e1e8ec;
}

.cctv-architecture__visual img {
    width: 100%;
    max-height: 265px;
    object-fit: contain;
}

.cctv-architecture__visual--photo {
    padding: 0;
}

.cctv-architecture__visual--photo img {
    height: 285px;
    max-height: none;
    object-fit: cover;
}

.cctv-architecture h3 {
    margin-top: 0;
    color: #242424;
    font-size: 24px;
    line-height: 1.3;
}

.cctv-architecture__list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.cctv-architecture__list li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 23px;
}

.cctv-architecture__list li:before {
    position: absolute;
    top: 0;
    left: 0;
    color: #0094e0;
    content: "\f00c";
    font-family: FontAwesome;
}

@media (max-width: 991px) {
    .cctv-offers {
        padding: 50px 0 40px;
    }

    .cctv-quick-estimate {
        flex-wrap: wrap;
    }

    .cctv-quick-estimate__item {
        flex: 0 0 50%;
        margin-bottom: 22px;
    }

    .cctv-quick-estimate__button {
        width: 100%;
        text-align: center;
    }

    .cctv-architecture {
        padding: 50px 0 40px;
    }

    .cctv-architecture__row {
        display: block;
    }

    .cctv-architecture__visual {
        margin-bottom: 28px;
    }

    .cctv-architecture__tabs .tab-content {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    #header-logo {
        border-bottom: 1px solid #e1ebf0;
    }

    #header-logo .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    #header-logo .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        margin: 0;
        padding: 14px 0 16px;
        column-gap: 12px;
        row-gap: 12px;
    }

    #header-logo .row > div {
        width: auto !important;
        min-height: 0;
        padding: 0;
        float: none;
    }

    #header-logo .row > div:first-child {
        grid-column: 1 / -1;
    }

    #logo {
        margin: 0;
        line-height: 0;
    }

    #logo img {
        width: 160px;
        height: auto;
    }

    #header-logo .rezhim-r {
        display: none;
    }

    #header-logo .call {
        grid-column: 1;
        margin: 0;
    }

    #header-logo .call .bottom_border {
        width: 100%;
    }

    #header-logo .call button[type="submit"].back_call {
        width: 100%;
        min-height: 46px;
        padding: 10px 8px;
        font-size: 12px;
        line-height: 1.2;
    }

    #header-logo .phone {
        display: flex;
        grid-column: 2;
        align-items: center;
        justify-content: center;
        margin: 0;
        text-align: center;
    }

    #header-logo .phone span,
    #header-logo .phone span.msk {
        width: 100%;
        padding: 0;
        margin: 0;
        float: none;
        font-size: 18px;
        line-height: 1.25;
        white-space: nowrap;
    }

    .cctv-main-hero {
        height: 320px;
        aspect-ratio: auto;
        margin-top: 10px;
        margin-bottom: 36px !important;
    }

    .cctv-main-hero__background {
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 82% top;
        transform: none;
    }

    .cctv-main-hero__installer {
        display: none !important;
    }

    .cctv-main-hero__plane {
        display: none !important;
    }

    .cctv-main-hero__plane--trail {
        display: block !important;
        top: auto;
        bottom: 4px;
        left: -16px;
        width: 104px;
        filter: drop-shadow(0 5px 8px rgba(57, 102, 125, 0.14));
        opacity: 0.92;
    }

    .cctv-main-hero__plane--center {
        display: block !important;
        top: auto;
        right: 12px;
        bottom: 14px;
        left: auto;
        width: 64px;
        filter: drop-shadow(0 5px 8px rgba(57, 102, 125, 0.16));
    }

    .description .container.advantages > .advantages-image {
        display: block;
        width: 100%;
        margin: 0 0 24px;
        text-align: center;
    }

    .description .container.advantages > .advantages-image > img {
        display: block;
        width: 100%;
        max-width: 512px;
        height: auto;
        margin: 0 auto;
        float: none;
    }

    .cctv-offers {
        padding: 42px 0 32px;
    }

    .cctv-offer__image {
        height: 190px;
    }

    .cctv-quick-estimate {
        display: block;
        padding: 24px 20px;
    }

    .cctv-quick-estimate__item {
        width: 100%;
        margin-bottom: 22px;
        padding-right: 0;
    }

    .cctv-architecture {
        padding: 42px 0 32px;
    }

    .cctv-architecture__tabs .nav-tabs {
        display: block;
    }

    .cctv-architecture__tabs .nav-tabs > li {
        width: 100%;
        float: none;
    }

    .cctv-architecture__tabs .nav-tabs > li > a {
        min-height: 0;
        padding: 14px 12px;
        font-size: 15px;
    }

    .cctv-architecture__tabs .tab-content {
        padding: 20px 16px;
        border-top: 1px solid #d8e2e8;
    }

    .cctv-architecture__visual {
        min-height: 180px;
        padding: 12px;
    }

    .cctv-architecture__visual--photo {
        padding: 0;
    }

    .cctv-architecture__visual--photo img {
        height: 210px;
    }

    .cctv-architecture h3 {
        font-size: 21px;
    }
}
