:root{
    --main-color: #186CEB;
    --border-radius: 10px;
}

.colored{
    color: var(--main-color);
}

.bg-primary-2{
    background: linear-gradient(180deg, #176BEA 0%, #3384FC 100%);
}

footer#footer {
    background: #F7F7F7;
}

span.form-policy {
    font-size: 14px;
    font-weight: 500;
}

span.form-policy a {
    text-decoration: underline;
}


.modal-title {
    font-weight: 600;
    font-size: 28px;
    text-align: center;
    line-height: 30px;
    color: var(--main-color);
    margin-top: 20px;
    max-width: 90%;
    display: flex;
    justify-self: center;
}

.top-menu-item__icon {
    width: 40px;
    height: 40px;
    background: #F7F7F7;
    padding: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.top-menu-item__icon svg {
    width: 100%;
    height: 100%;
}
a.top-menu-item {
    align-items: center;
    gap: 12px;
}
.tariffs-bottom-col {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.tariffs-bottom-col button {
    width: 70%;
}


.button-transparent {
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: .25rem;
    padding: 1rem 1.5rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
    transition-duration: .15s;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}
.button-bordered {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: .25rem;
    padding: 1rem 1.5rem;
    font-weight: 500;
    display: flex;
    width: fit-content;
    user-select: none;
}
.button-bordered:hover {
    background: var(--main-color);
    color: #fff;
}

.main-banner__row {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0px 15px;
}
.main-banner__col {
    width: 50%;
    background-color: rgb(24 108 235 / var(--tw-bg-opacity, 1));
    display: flex;
    height: -webkit-fill-available;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.main-banner__col:first-child .main-banner__item {
    max-width: 54%;
}
.main-banner__canvas {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    pointer-events: none;
}
.main-banner__advantage svg {
    margin-right: 15px;
    width: 22px;
    height: 22px;
}

.main-banner__advantage {
    display: flex;
    align-items: flex-start;
    color: white;
    font-weight: 500;
    font-size: 14px;
}
h1.main-banner__title {
    color: white;
    font-weight: 600;
    font-size: 40px;
    line-height: 40px;
}
p.main-banner__text {
    color: white;
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
    margin-top: 20px;
}

.main-banner__info p {
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    margin-top: 15px;
}
.main-banner__info p:first-child {
    color: #186CEB;
    font-weight: 600;
    font-size: 32px;
    text-transform: uppercase;
    margin-top: 0;
}
.main-banner__info {
    width: 200px;
    height: 126px;
    background: white;
    position: absolute;
    left: 20px;
    bottom: 20px;
    border-radius: 6px;
    padding: 30px 25px 30px 50px;
}

.why-us__row {
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 20px;
}
.why-us__col-sm {
    display: flex;
    flex-direction: column;
    width: 25%;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0px 2.65px 19.9px 0px #0416921A;
    padding: 30px 30px;
    user-select: none;
}
.why-us__col-big {
    display: flex;
    flex-direction: column;
    width: 50%;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.why-us__col-big:last-child{
    background: linear-gradient(180deg, #176BEA 0%, #3384FC 100%);
}
.why-us__col-form {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    margin: auto;
}

.why-us__col-form .why-us__title{
    color: white;
    text-align: center;
    font-size: 22px;
    line-height: 25px;
}
.why-us__col-form .why-us__text {
    color: white;
    text-align: center;
    font-size: 16px;
}
.why-us__img {
    width: 50px;
    height: 50px;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 11px;
}
.why-us__img svg {
    width: 100%;
    height: 100%;
}
.why-us__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 10px;
    color: var(--main-color);
}
.why-us__text {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
}
.why-us__col-sm:hover, 
.why-us__col-sm.active
{
    background: linear-gradient(180deg, #176BEA 0%, #3384FC 100%);
}
.why-us__col-sm:hover p,
.why-us__col-sm.active p
{
    color: white;
}
.why-us__col-sm:hover .why-us__img,
.why-us__col-sm.active .why-us__img
{
    background: white;
}
.why-us__col-sm:hover svg,
.why-us__col-sm.active svg
{
    filter: brightness(0) saturate(100%) invert(39%) sepia(81%) saturate(4876%) hue-rotate(208deg) brightness(95%) contrast(93%);
}


.video-button-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #00000024;
    backdrop-filter: blur(6px);
    z-index: 100;
    user-select: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.video-button {
    backdrop-filter: blur(4px);
    background: #FFFFFF40;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 18px 20px 22px;
    cursor: pointer;
    transition: .4s;
}
.video-button:hover {
    transform: scale(1.1);
    background: #ffffff57;
}

.video-info {
    background: white;
    border-radius: 5px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 20px;
    color: var(--main-color);
    position: absolute;
    bottom: 20px;
    width: calc(100% - 50px);
    text-align: center;
}

#consultation_section {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 0px 25px;
}
.consultation-video{
    border-radius: var(--border-radius);
    overflow: hidden;
}

.consultation-row {
    display: flex;
    align-items: center;
    width: 100%;
}

p.consultation-title {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    line-height: 36px;
}
p.consultation-text {
    font-size: 16px;
    font-weight: 400;
    color: white;
}
.consultation-col:last-child {
    width: 60%;
}
.consultation-col:first-child {
    padding: 0px 75px 0px 60px;
    width: 40%;
    display: flex;
    flex-direction: column;
}
.consultation-row.bg-primary-2 {
    padding: 25px 25px;
    border-radius: var(--border-radius);
}


.swiper-container {
    margin: 0 auto;
    padding: 0 100px; 
    position: relative;
}
.swiper {
    position: static; 
    width: 100%;
}

.swiper-button-next,
.swiper-button-prev
{
    background: #F7F7F7;
    border-radius: 50%;
    padding: 11px;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--main-color);
}

.swiper-button-next:hover svg path, .swiper-button-prev:hover svg path{
    fill: #ffffff;
}

/* Убираем стандартные иконки */
/* .swiper-button-next svg,
.swiper-button-prev svg {
    display: none;
} */

/* Устанавливаем свои иконки как фоновое изображение */
/* .swiper-button-next {
    background-image: url(/themes/milano/assets/img/icons/arrow_right.svg) !important;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center;
} */

/* .swiper-button-prev {
    background-image: url(/themes/milano/assets/img/icons/arrow_left.svg) !important;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center;
} */

/* .swiper-button-prev {
    left: -40px; 
}

.swiper-button-next {
    right: -40px; 
} */

#reviews_slider {
    padding: 40px 0px 60px 0px;
}
#reviews_slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
.review-slide {
    background: #F7F7F7;
    padding: 30px 40px 40px 40px;
    border-radius: var(--border-radius);
    height: auto;
    display: flex;
    flex-direction: column;
}
#reviews_section .button-bordered{
    margin: 40px auto 0px auto;
}


#licenses_slider {
    padding: 40px 0px 60px 0px;
}
#licenses_slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
.licenses-slide {
    border: 1px solid #e7e7e7;
    display: flex;
    height: auto;
}
.licenses-slide a {
    display: flex;
    width: 100%;
}
.licenses-slide a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#licenses_section .button-bordered{
    margin: 40px auto 0px auto;
}


#clients_slider {
    padding: 40px 15px 60px 15px;
}
#clients_slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
.clients-slide {
    display: flex;
    height: auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0px 2.65px 19.9px 0px #0416921A;
    overflow: hidden;
    padding: 15px;
}
.clients-slide a {
    display: flex;
    width: 100%;
}
.clients-slide a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.modal-checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}
span.modal-policy {
    margin-top: -5px;
    margin-left: 12px;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #828282;
}
span.modal-policy a {
    color: #000;
    font-weight: 500;
    text-decoration: underline;
}
.modal-checkbox {
    accent-color: var(--main-color);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
button.modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 28px;
    height: 28px;
}
button.modal-close svg {
    width: 100%;
    height: 100%;
}
button.modal-close:hover {
    transform: scale(1.1);
}
button.modal-close:hover svg path{
    fill: #000;
}
#request-form button[type="submit"] {
    margin: 10px auto 0px auto;
    min-width: 220px;
}
.form-success-msg {
    font-weight: 600;
    font-size: 28px;
    text-align: center;
    color: var(--main-color);
    line-height: 32px;
    margin-bottom: 30px;
    background: white;
    box-shadow: 0px 3.01px 22.59px 0px #0416921A;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form-success-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}




/* SERVICE */

.page-title-head {
    padding-right: 180px;
    position: relative;
}
.service-head-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    padding: 20px;
    position: absolute;
    top: 10px;
    right: 0;
}
.service-head-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.service-head-icon svg path{
    fill: var(--main-color);
}
.service-advantage {
    background: #F7F7F7;
    padding: 30px 30px 30px 70px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    height: 100%;
}
#service_advantages .row {
    align-items: stretch;
    margin-bottom: 30px;
}
.service-advantage__title {
    font-weight: 600;
    font-size: 18px;
    color: var(--main-color);
    margin-bottom: 15px;
    line-height: 24px;
}
.service-advantage__title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -35px;
    width: 22px;
    height: 22px;
    background: url(/themes/milano/assets/img/icons/service_check.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
.service-advantage__text {
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
}
.service-advantage.big {
    background: linear-gradient(180deg, #176BEA 0%, #3384FC 100%);
    padding: 35px 230px 50px 70px;
    overflow: hidden;
}
.service-advantage.big .service-advantage__title,
.service-advantage.big .service-advantage__text
{
    color: #ffffff;
}
.service-advantage.big .service-advantage__title::before{
    background: url(/themes/milano/assets/img/icons/service_check_wh.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
.service-advantage__icon {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 200px;
    height: 200px;
}
.service-advantage__icon svg {
    width: 100%;
    height: 100%;
}
.service-advantage__icon svg path {
    fill: #FFFFFF12;
}

.service-stages-content {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: #F7F7F7;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-stages-content img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    filter: grayscale(1);
    transition: .4s;
}
.service-stages-content img:hover {
    filter: grayscale(0);
}

#service_stages .col-md-6:first-child .service-stages-content {
    padding: 20px 20px;
}
#service_stages a{
    margin: 40px auto 0px auto;
    width: fit-content;
    display: flex;
    align-items: center;
}
.service-stage-item {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}
.service-stage-item:not(:last-child)::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 22.5px; 
    bottom: 0;
    width: 2px;
    background-color: var(--main-color);
    z-index: 1;
}
.service-stage-item:not(:first-child)::after{
    content: '';
    position: absolute;
    top: 0;
    left: 22.5px; 
    bottom: 50%;
    width: 2px;
    background-color: var(--main-color);
    z-index: 1;
}
.service-stage-item__info {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    padding: 20px 20px;
}
.service-stage-item__info p:first-child {
    font-weight: 600;
    font-size: 18px;
    color: var(--main-color);
    margin-bottom: 15px;
    line-height: 24px;
}
.service-stage-item__info p:last-child {
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
}
.service-stage-item__number {
    background: var(--main-color);
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    z-index: 10;
}

#service_questions {
    padding: 60px 0;
}
#service_questions h2 {
    margin-bottom: 32px;
    font-size: 32px;
    font-weight: 700;
    color: #1D6BFF;
}
.service-questions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.service-questions-item {
    background: #f7f8fb;
    border-radius: 24px;
    padding: 24px 32px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.service-questions-item.open {
    box-shadow: 0px 5px 8px 0px rgba(34, 60, 80, 0.15);
    transform: translateY(-1px);
}
.service-questions-item__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}
.service-questions-item__title span {
    font-size: 18px;
    font-weight: 600;
    color: #1D6BFF;
}
.service-question-item__button {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: .4s;
    font-size: 16px;
    color: var(--main-color);
}

.service-questions-item.open .service-question-item__button{
    transform: rotate(45deg);
}
/* контент аккордеона */
.service-questions-item__content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}
.service-questions-item__content p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #4B5563;
    max-width: 70%;
}
/* адаптив */
@media (max-width: 768px) {
    #service_questions h2 {
        font-size: 24px;
    }

    .service-questions-item {
        padding: 18px 20px;
    }

    .service-questions-item__content p {
        max-width: 100%;
    }
}


/* Общий блок */
#service_cost {
    padding: 60px 0;
}

#service_cost h2 {
    margin-bottom: 32px;
    font-size: 32px;
    font-weight: 700;
    color: #1D6BFF;
}

/* Карточка */
.service-cost-wrapper {
    border: 1px solid #1D6BFF;
    border-radius: 24px;
    padding: 40px 80px;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Верхняя часть (иконка + название) */
.service-cost-title {
    display: flex;
    align-items: center;
    gap: 16px;
}
.service-cost-title__icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.service-cost-title__icon svg path {
    fill: var(--main-color);
}
.service-cost-title__icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #f5f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.service-cost-title__name {
    font-size: 18px;
    font-weight: 600;
    color: #1D6BFF;
}

/* Стоимость */
.service-cost {
    padding: 16px 56px;
    border-radius: 999px;
    background: #f5f5f7;
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    text-align: center;
}

/* Адаптив */
@media (max-width: 768px) {
    #service_cost h2 {
        font-size: 24px;
    }

    .service-cost-wrapper {
        padding: 28px 20px;
        gap: 24px;
    }

    .service-cost-title {
        flex-direction: column;
        text-align: center;
    }
}

.service-short-description {
    color: #fff;
}
.service-description {
    color: white;
}
.service-description .service-description-item {
    background: white;
    color: #000;
    border-radius: var(--border-radius);
    padding: 30px 35px 30px 35px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    height: 100%;
}
.service-description-item b,
.service-description-item strong
{
    color: var(--main-color);
}


#service_callback .bg-primary-2 {
    width: 100%;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
}
#service_callback .service-callback-text {
    font-weight: 500;
    font-size: 16px;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}
#service_callback .service-callback-title {
    font-weight: 600;
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}
#service_callback button{
    min-width: 250px;
}


.services-card {
    display: flex;
    flex-direction: column;
    background: #F7F7F7;
    border-radius: var(--border-radius);
    padding: 20px 30px 30px 30px;
    height: 100%;
}
.services-card__icon svg path {
    fill: var(--main-color);
}
.services-card__icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.services-card__icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    padding: 14px;
    margin-bottom: 15px;
}
.services-card__title {
    font-weight: 600;
    font-size: 18px;
    color: var(--main-color);
    margin-bottom: 10px;
    line-height: 25px;
}
.services-card__price {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-top: 15px;
}
.services-card a {
    display: flex;
    width: fit-content;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}
#services_list .col-md-3 {
    margin-bottom: 20px;
}