* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: #fff;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.white {
    color: #ffffff !important;
}

.black {
    color: #333 !important;
}

.blue {
    color: #2d8fff;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-size: 94px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2em;
    padding-bottom: 76px;
    text-transform: uppercase;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 170%;
    font-weight: normal;
    color: #333333;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    z-index: 3;
    position: relative;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

a {
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

a:hover {}

button {
    padding: 0;
    border: none;
    font: inherit;
    color: inherit;
    background-color: transparent;
    cursor: pointer;
}

.pos-rel {
    position: relative;
}

header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    padding-top: 40px;
}

.right {
    text-align: right;
}

.index-ellipse {
    position: absolute;
    top: 10vh;
    left: 24vw;
    z-index: 0;
    pointer-events: none;
}

.index-block {
    background-color: #222;
}



.index-pb {
    padding-top: 23vh;
}

.index-video-block {
    padding-top: 90px;
}

.index-descr-big {
    font-size: 24px;
    padding-bottom: 0px;
}

.index-descr {
    font-size: 18px;
    padding-bottom: 106px;
}

.index-phone {
    font-size: 34px;
    margin-left: 50px;
    color: #fff;
    border-bottom: 1px solid #fff;
    font-weight: 600;
    margin-right: 40px;
}

.index-phone:hover {
    color: #0077FF;
    border-bottom: 1px solid #0077FF;
}

.index-phone-img {
    position: absolute;
    margin-top: 6px;
}

.index-button {
    display: inline-block;
    background-color: #0077FF;
    padding: 22px 56px 23px 56px;
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    line-height: 1;
    cursor: pointer;
}


.index-button:hover {
    background-color: #0064d6;
}

.index-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shine 5s ease-in-out infinite;
    /* увеличил время до 5s */
    pointer-events: none;
}

@keyframes shine {
    0% {
        left: -60%;
    }

    20% {
        left: 120%;
    }

    /* блик пробежал */
    100% {
        left: 120%;
    }

    /* и стоит на месте (пауза) */
}


.form-button-link {
    width: 100%;
    justify-content: center;
    margin-top: 22px;
    padding: 12px 0 14px !important;
    background-color: #0077FF !important;
    color: #fff !important;
}

.form-button-link:hover {
    background-color: #0064d6 !important;
}

.header-button {
    background-color: #0077FF;
    padding: 12px 22px 13px 22px;
    border-radius: 100px;
    line-height: auto;
    color: #fff;
    margin-top: 22px;
    font-size: 14px;
    margin-left: 46px;
}

.header-button:hover {
    background-color: #0064d6;
}

.header-phone {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #333;
}

.header-phone:hover {
    color: #0077FF !important;
    border-bottom: 1px solid #0077FF;
}

.index-img-descr {
    font-style: italic;
    text-align: right;
    font-size: 18px;
    padding-top: 15px;
}

.img-round {
    border-radius: 8px;
}

.timeline:before {
    content: '';
    position: absolute;
    height: 100%;
    margin-left: -63px;
    width: 3px;
    background-color: #0077FF;
}

.timeline_round:before {
    content: '';
    position: absolute;
    height: 38px;
    width: 38px;
    margin-top: -5px;
    margin-left: -81px;
    border-radius: 50%;
    background-color: #0077FF;
}

.timeline_round:after {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 0;
    margin-top: 3px;
    margin-left: -61px;
    border-radius: 50%;
    background-color: #EDFEF4;
}

.work-descr {
    font-size: 32px;
}

.work-descr-bold {
    font-size: 24px;
    font-weight: 600;
}

.work-descr-bold-pt {
    padding-top: 30px;
}

.work-descr-bold-pb {
    padding-bottom: 42px;
}

.work-timeline {
    padding-top: 34px;
    padding-left: 84px;
}

.italic {
    font-style: italic;
}

.work-link {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #333;
    cursor: pointer;
}

.work-phone {
    font-size: 34px;
    margin-left: 50px;
    color: #333;
    border-bottom: 1px solid #333;
    font-weight: 600;
}

.work-phone:hover {
    color: #0077FF;
    border-bottom: 1px solid #0077FF;
}

.timeline_round {
    font-size: 38px;
    font-weight: 600;
    line-height: 1em;
    padding-bottom: 8px;
}

.timeline-pb {
    padding-bottom: 54px;
}

.pt-150 {
    padding-top: 150px;
}

.pb-150 {
    padding-bottom: 150px;
}

.hr-block {
    height: 1px;
    background-color: #333;
    margin-bottom: 50px;
}

.hr-block-dela {
    height: 1px;
    background-color: #333;
    margin-bottom: 50px;
    margin-top: 50px;
}

.hr-block-dela-end {
    height: 1px;
    background-color: #333;
    margin-top: 50px;
}

.title-block {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
}

.about-block {
    background-color: #222;
}

.hr-block-white {
    height: 1px;
    background-color: #fff;
    margin-bottom: 50px;
}

.about-title {
    font-size: 38px;
}

.about-text-4 {
    font-size: 16px;
    color: #666;
}

footer {
    background-color: #181818;
    padding-top: 86px;
    padding-bottom: 44px;
}

.footer-descr {
    color: #B7B7B7;
    font-size: 14px;
}

.footer-title {
    font-size: 20px;
}

.footer-link {
    display: inline-block;
    font-size: 20px;
    border-bottom: 1px solid #fff;
    padding-top: 16px;
    color: #fff;
}

.footer-link:hover {
    border-bottom: 1px solid #0077FF;
    color: #0077FF;
}

.footer-icon {
    margin-right: 10px;
}

.footer-logo {
    height: 40px;
}

.play {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.play:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.tooltip {
    position: relative;
    cursor: help;
}

.tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    /* над текстом */
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 400;
    transition: opacity 0.3s;
    z-index: 10;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.accordion2 {
    border-radius: 5px;
}

.accordion-header,
.accordion-body {
    background: white;
}

.accordion-header {
    padding: 25px 30px;
    background: #F5F9FD;
    color: #444444;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
    transition: all .3s;
    border-radius: 5px;
    position: relative;
    z-index: 9;
}

.accordion__item {
    padding: 12px 0;
    display: block;
}

.accordion__item .accordion__item {
    border-bottom: 1px solid rgba(0, 0, 0, 1);
}

.accordion-header:hover {
    background: #e3edf8;
    position: relative;
    z-index: 9;
}

.accordion-body {
    border-radius: 5px;
    background: #ffffff;
    color: #444444;
    display: none;
}

.accordion-body__contents {
    padding: 25px 30px;
    font-size: 18px;
    color: #444444;
    line-height: 1.5em;
}

.accordion__item.active:last-child .accordion-header {
    border-radius: none;
}

.accordion:first-child>.accordion__item>.accordion-header {
    border-bottom: 1px solid transparent;
}

.accordion__item>.accordion-header:after {
    content: "+";
    font-size: 34px;
    font-weight: 300;
    float: right;
    position: relative;
    color: #5E8FCA;
    top: -10px;
    transition: .3s all;
    transform: rotate(0deg);
}

.accordion__item.active>.accordion-header:after {
    transform: rotate(45deg);
}

.accordion__item.active .accordion-header {
    background: #e3edf8;
}

.accordion__item .accordion__item .accordion-header {
    background: #f1f1f1;
    color: #353535;
}

.otvet-link {
    color: #333;
    border-bottom: 1px solid #333;
}

.otvet-link:hover {
    color: #0077FF;
    border-bottom: 1px solid #0077FF;
}

.otvet-ptl {
    padding-top: 3rem;
    padding-right: 3rem;
}


/* Блокируем прокрутку страницы, без position:fixed */
html.modal-lock,
body.modal-lock {
    overflow: hidden;
    overscroll-behavior: contain;
    /* гасим “протяжку” на десктопе */
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    /* всегда flex */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    /* клики блокируем пока скрыто */
    transition: opacity .2s ease;
}

.modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal.is-closing {
    opacity: 0;
    pointer-events: none;
}

/* Окно */
.modal__dialog {
    position: relative;
    width: min(92vw, 960px);
    max-height: 86vh;
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    padding: 44px 40px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
    transform: translateY(10px) scale(.98);
    transition: transform .2s ease;
}

.modal__dialog_small {
    width: 500px;
    max-height: 86vh;
    padding: 44px 40px;
}

.modal-title {
    font-size: 20px;
    padding-bottom: 22px;
    font-weight: 600;
}

.modal-link {
    display: inline-block;
    font-size: 18px;
    padding-top: 5px;
    color: #fff;
}

.modal-link:hover {
    color: #0077FF !important;
}

.modal_border {
    padding: 30px;
    border: 1px solid #919191;
    border-radius: 6px;
}

.modal.is-open .modal__dialog {
    transform: translateY(0) scale(1);
}

/* Крестик */
.modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    outline: none;
    color: #333;
}

.modal__title {
    margin: 0 28px 12px 0;
    font-size: 20px;
}

/* Блокируем прокрутку страницы, когда модалка открыта */
body.modal-lock {
    overflow: hidden;
}

.hero-img {
    height: 100%;
    object-fit: cover;
    /* картинка аккуратно обрежется по высоте колонки */
}

.pseudo-container-left {
    padding-left: var(--bs-gutter-x, 1.5rem);
}

@media (min-width: 576px) {
    .pseudo-container-left {
        padding-left: calc((100vw - 540px) / 2);
    }
}

@media (min-width: 768px) {
    .pseudo-container-left {
        padding-left: calc((100vw - 720px) / 2);
    }
}

@media (min-width: 992px) {
    .pseudo-container-left {
        padding-left: calc((100vw - 960px) / 2);
    }
}

@media (min-width: 1200px) {
    .pseudo-container-left {
        padding-left: calc((100vw - 1140px) / 2);
    }
}

@media (min-width: 1400px) {
    .pseudo-container-left {
        padding-left: calc((100vw - 1320px) / 2);
    }
}

@media (min-width: 1800px) {
    .pseudo-container-left {
        padding-left: calc((100vw - 1600px) / 2);
    }
}



.big-box {
    position: relative;
    border-radius: 6px;
    background: url(../img/work-1.jpg) center center / cover no-repeat;
    overflow: hidden;
    padding: 20px 23px;
    transition: background 0.5s ease;
}

/* Затемнение */
.big-box .overlay {
    position: absolute;
    inset: 0;
    background: rgba(33, 33, 33, 0.8) !important;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 6px;
}

/* При наведении */
.big-box:hover .overlay {
    opacity: 1;
}



/* Ссылка занимает весь блок */
.stretched-link-box {
    display: block;
    position: relative;
    z-index: 2;
    text-decoration: none;
    color: white;
    height: 100%;
}

/* Контент */
.stretched-link-box p {
    margin: 0;
    font-weight: 500;
}

.stretched-link-box .dela-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: underline;
    font-weight: 500;
}


.mini-box {
    background-color: #E8E8E8;
    border-radius: 6px;
    padding: 20px;
    position: relative;
}


/* Затемнение */
.mini-box .overlay {
    position: absolute;
    inset: 0;
    background: rgba(33, 33, 33, 0.8) !important;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 6px;
}

/* При наведении */
.mini-box:hover .overlay {
    opacity: 1;
}

.mini-back-2 {
    background: url(../img/work-2.jpg) center center / cover no-repeat;
}

.mini-back-3 {
    background: url(../img/work-3.jpg) center center / cover no-repeat;
}

.mini-back-4 {
    background: url(../img/work-4.jpg) center center / cover no-repeat;
}

.mini-back-5 {
    background: url(../img/work-5.jpg) center center / cover no-repeat;
}

.mini-back-6 {
    background: url(../img/work-6.jpg) center center / cover no-repeat;
}

.mini-back-7 {
    background: url(../img/work-7.jpg) center center / cover no-repeat;
}

.mini-back-8 {
    background: url(../img/work-8.jpg) center center / cover no-repeat;
}

.mini-back-9 {
    background: url(../img/work-9.jpg) center center / cover no-repeat;
}


.tg-fab {
    position: fixed;
    right: 34px;
    bottom: 34px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2AABEE;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .02);
    display: grid;
    place-items: center;
    z-index: 9999;
    animation: tg-sway 4s ease-in infinite alternate;
    transform-origin: 50% 50%;
    cursor: pointer;
    text-decoration: none;
}

.tg-fab img {
    width: 42px;
    height: 42px;
    pointer-events: none;
}

.tg-fab:hover {
    animation-play-state: paused;
    transform: rotate(0deg) scale(1.05);
    transition: transform .25s ease;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f2f2f2;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    color: #222;
    font-family: system-ui, sans-serif;
    font-size: 18px;
    font-weight: 400;
    transition: background 0.2s ease;
    margin-right: 10px;
}

.messenger-link:hover {
    background: #e0e0e0;
}

.messenger-link img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes tg-sway {
    0% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tg-fab {
        animation: none;
    }
}

@media (min-width: 1199px) {
    .top-row {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .left-big {
        width: calc(50% - 10px);
        height: 500px;
    }

    .right-4grid {
        width: calc(50% - 10px);
        height: 500px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .mini-box {
        width: calc(50% - 10px);
        height: calc(50% - 10px);
        /* ~325px */
    }

    .bottom-row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        height: 240px;
        /* Точно как мини-блок сверху */
    }

    .bottom-row .mini-box {
        width: calc(25% - 15px);
        height: 100%;
        /* чтобы заняли всю высоту строки */
    }
}

@media (max-width: 1198.98px) {

    .top-row,
    .bottom-row,
    .right-4grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .left-big,
    .mini-box {
        width: 100% !important;
        height: 200px !important;
    }

    .bottom-row {
        padding-top: 20px;
    }
}

.dela-link-work {
    position: absolute !important;
    right: 0;
    bottom: 0;
    text-decoration: none !important;
}

.work-descr-small {
    line-height: 1.5em;
}

.big-box:hover .dela-link::after {
    transform: scale(1.1);
}

.mini-box:hover .dela-link::after {
    transform: scale(1.1);
}


.pt-work-grid {
    padding-top: 100px;
}

.img-dela {
    width: 100%;
    padding-right: 40px;
}

.dela-h {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3em;
}

.dela-descr {
    font-size: 18px;
    color: #7C7C7C;
    padding-top: 20px;
    line-height: 160%;
}

.dela-h-small {
    font-size: 18px;
    font-weight: 600;
    padding-top: 16px;
}

.dela-descr-small {
    font-size: 18px;
    color: #333;
    padding-top: 8px;
}

.dela-link {
    font-weight: 600;
    font-size: 20px;
    color: #333;
    margin-right: 30px;
}


.dela-link::after {
    content: '';
    position: absolute;
    background-image: url(../img/arrow-link.svg);
    background-size: cover;
    width: 15px;
    height: 15px;
    margin-left: 10px;
    margin-top: 5px;
    transform-origin: left bottom;
    transition: transform 0.3s ease;
}

.dela-link:hover {
    color: #0064d6;
}

.dela-link:hover::after {
    transform: scale(1.1);
}

.footer-h {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 8px;
}

.footer-link-page {
    display: inline-block;
    font-size: 17px;
    font-weight: 400;
    padding-top: 12px;

}

.footer-descr-small {
    font-size: 13px;
    color: #B7B7B7;
}

.border-bottom {
    border-bottom: 1px solid #fff;
}

.preim-block {
    border: 1px solid #333;
    padding: 40px 30px;
}

.preim-h {
    font-size: 70px;
    color: #0077FF;
    line-height: 1em;
}

.preim-descr {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    padding-top: 10px;
}

.preim-descr-small {
    font-size: 18px;
    padding-top: 36px;
}

.form-block {
    background-color: #0077FF;
    padding: 70px 84px 90px 84px;
    border-radius: 6px;
}

.form-h {
    font-size: 48px;
    font-weight: 600;
}

.form-descr {
    font-size: 24px;
}

@media (max-width: 1400px) {
    h1 {
        font-size: 74px;
        padding-bottom: 66px;
    }

    .index-pb {
        padding-top: 18vh;
    }

    .index-descr {
        font-size: 18px;
        padding-bottom: 76px;
    }
}

@media (max-width: 1199px) {
    .timeline:before {
        margin-left: -45px;
    }

    .timeline_round:before {
        margin-left: -61px;
    }

    .timeline_round:after {
        margin-left: -52px;
    }

    .index-ellipse {
        position: absolute !important;
        top: 10vh;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        max-width: 100vw;
        height: auto;
        z-index: 0;
        pointer-events: none;
    }

    .index-pb {
        padding-top: 150px;
    }

    h1 {
        font-family: 'Inter', sans-serif;
        font-size: 34px;
        font-weight: 600;
        color: #fff;
        line-height: 1.2em;
        padding-bottom: 26px;
    }

    .index-descr {
        font-size: 18px;
        padding-bottom: 64px;
    }

    .header-phone {
        font-size: 20px;

    }

    .header-button {
        margin-left: 0px;
    }

    .index-block {
        padding-top: 0vh;
        padding-bottom: 12vh;
    }

    .index-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 22px 56px 23px 56px;
        margin-left: 0px;
        margin-top: 30px;
    }

    .play {
        position: absolute;
        z-index: 4;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        cursor: pointer;
        width: 70px;
    }

    .play:hover {
        transform: translate(-50%, -50%) scale(1.08);
    }

    #video-btn {
        padding-top: 40px;
    }

    .video-block {
        padding-top: 100px;
    }

    .modal__dialog {
        width: min(92vw, 560px);
        padding: 34px 20px 40px;
        max-height: 70vh;
    }

    .work-timeline {
        padding-top: 34px;
        padding-left: 64px;
    }

    .timeline_round:after {
        margin-left: -41px;
    }

    .pt-150 {
        padding-top: 100px;
    }

    .pb-150 {
        padding-bottom: 100px;
    }

    .hr-block {
        margin-bottom: 20px;
    }

    .hr-block-white {
        margin-bottom: 20px;
    }

    .title-block {
        padding-bottom: 40px;
    }

    .work-descr {
        font-size: 20px;
    }

    .work-descr-bold {
        font-size: 20px;
        font-weight: 600;
    }

    .timeline_round {
        font-size: 28px;
        font-weight: 800;
        line-height: 1em;
        padding-bottom: 8px;
    }

    .work-phone {
        font-size: 24px;
        margin-left: 40px;
        color: #333;
    }

    .index-phone-img {
        width: 30px;
        position: absolute;
        margin-top: 3px;
    }

    .about-title {
        font-size: 20px;
    }

    .otvet-ptl {
        padding-top: 0rem;
        padding-right: 3rem;
    }

    .work-descr-bold-pb {
        padding-bottom: 22px;
    }

    .work-link {
        font-size: 20px;
    }

    .index-button {
        margin-bottom: 40px;
    }

    .footer-title {
        padding-top: 30px;
    }

    .footer-link {
        display: inline-block;
    }

    .footer-iqnova {
        font-size: 14px;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 6px;
        padding-top: 50px;
        /* картинка аккуратно обрежется по высоте колонки */
    }

    body>div:nth-child(3)>div.row>div.col-lg-9>div {
        padding-top: 20px !important;
    }

    .about-bio {
        font-size: 24px;
        padding-bottom: 20px;
    }

    .dela-h {
        padding-top: 40px;
    }

    .form-block {
        background-color: #0077FF;
        padding: 50px 20px;
        border-radius: 6px;
    }

    .form-icon {
        display: flex;
        justify-content: center;
        padding-top: 60px;
    }

    .footer-h {
        padding-top: 50px;
    }

    .pt-work-grid {
        padding-top: 50px !important;
    }
}