﻿body {
    background-color: #ffffff;
    overflow-x: hidden;
}

/* LANDING */
.landing {
    margin: 10px;
    height: calc(100vh - 20px);
    background: url("../img/backgrounds/landing-bg.png") no-repeat center center;
    background-size: cover;
    box-sizing: border-box;
    border-radius: 30px;
    margin-bottom: 110px;
    overflow: hidden;
}


/* HEADER */
.header {
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
    padding: 20px 20px 0px 20px;
}

.header__content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.header__content-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.header__content-logo-image {
    height: 46px;
    width: 46px;
    border-radius: 14px;
    flex-shrink: 0;
    flex-grow: 1;
}

.header__content-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 27px;
    color: #ffffff;
}

.header__content-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    padding: 9px 17px;
    border-radius: 50px;
    transition: all 0.4s;
}

.nav-link:hover {
    background-color: #00000071;
}

.header__content-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}

.header__content-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 50px;
    background-color: #fff;
    color: #2A7FBA;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.35s ease;
    line-height: 1;
    min-height: 40px;
}

.mobile-adaptive-tel {
    display: none;
}

.header__content-button:hover {
    color: #FF3B30;
}

.header__content-button svg {
    height: 18px;
    width: 18px;
    flex-shrink: 0;
    fill: #2A7FBA;
    vertical-align: middle;
    transition: all 0.35s;
}

.header__content-button-tel:hover svg {
    fill: #FF3B30;
}

.header__content-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2A7FBA;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    transition: background-color 0.35s ease;
}

.header__content-button-icon svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.header__content-button:hover .header__content-button-icon {
    background-color: #FF3B30;
}

.header__content-button:hover .header__content-button-icon svg {
    animation: flyArrow 0.6s ease forwards;
}

@keyframes flyArrow {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    40% {
        transform: translateX(150%);
        opacity: 0;
    }
    60% {
        transform: translateX(-150%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


/* LANDING TITLE */
.hero {
    display: flex;
    align-items: center;
    height: calc(100vh - 140px);
    min-height: 600px;
    padding: 0px 0px 20px 20px;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.hero__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    justify-content: flex-start;
    min-width: 0;
}

.hero__title {
    font-family: 'DelaGothicsOne', sans-serif;
    font-weight: 400;
    font-size: 68px;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: normal;
}

.hero__description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 20px;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-correct {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero__button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 50px;
    background-color: #fff;
    color: #2A7FBA;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.35s ease;
    line-height: 1;
    min-height: 40px;
    border: none;
    user-select: none;
}

.hero__button:hover {
    color: #FF3B30;
}

.hero__button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2A7FBA;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transition: background-color 0.35s ease;
}

.hero__button:hover .hero__button-icon {
    background-color: #FF3B30;
}

.hero__button-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.hero__button:hover .hero__button-icon svg {
    animation: flyArrow 0.6s ease forwards;
}

.rating-card {
    position: relative;
    background-color: #2A7FBA;
    color: #fff;
    padding: 16px;
    border-radius: 18px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 275px;
    overflow: hidden;
    user-select: none;
}

.rating-card__content {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.rating-card__value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 74px;
}

.rating-card__icon svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.rating-card__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.2;
}

.rating-card__side {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    font-size: 19px;
}



.hero__image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    position: relative;
}

.hero__image img {
    height: 540px;
    max-height: 90%;
    width: auto;
    object-fit: contain;
    position: absolute;
    bottom: -15px;
    right: 0;
    user-select: none;
    pointer-events: none;
}



/* ABOUT BLOCK */
.about {
    display: flex;
    flex-direction: column;
    margin-bottom: 140px
}

.about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
}

.about__content-textblock {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
}

.about__content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #4ABCD4;
    line-height: 0.8;
}

.about__content-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #787878;
}

.about__video {
    border-radius: 20px;
    overflow: hidden;
}

.plyr__controls {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.plyr--video {
    border-radius: 20px;
}



/* О МЕТОДЕ */
.methods {
    display: flex;
    flex-direction: column;
    background: url("../img/backgrounds/abouttech-bg.png") no-repeat center center;
    background-size: cover;
    box-sizing: border-box;
    margin-bottom: 140px;
}

.methods__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 20px;
}

.method__block-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #ffffff;
    line-height: 0.8;
    text-align: center;
}

.second-title-block {
    margin-bottom: 40px;
}

.method__block-title span {
    color: #FF3B30;
}

.method__block-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.method__block-paragraph {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 19px;
    color: #ffffff;
    margin-bottom: 120px;
}

.method__block-variants {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 15px;
}

.method__block-var {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #001728;
    border-radius: 20px;
}

.method__block-var-title {
    font-family: 'DaysOne', sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: #FF3B30;
    margin-bottom: 22px;
    text-align: center;
}

.method__block-var-describe {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #ffffff;
}

.method__block-image {
    margin-bottom: 110px;
}

.method__block-second-paragraph {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #ffffff;
    font-size: 21px;
    margin-bottom: 30px;
}

.method__block-second-paragraph span {
    color: #FF3B30;
    font-weight: 700;
}



.method__block-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.method__block-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    box-sizing: border-box;
}

.method__block-button--outline {
    background: transparent;
    border: 3px solid #fff;
    color: #fff;
    padding: 10px 18px;
}

.method__block-button--outline:hover {
    background: #fff;
    color: #2A7FBA;
}

.method__block-button--filled {
    background: #fff;
    color: #2A7FBA;
    border: none;
    gap: 10px;
}

.method__block-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2A7FBA;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    overflow: hidden;
    transition: background-color 0.35s ease;
}

.method__block-button-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    transition: transform 0.6s ease;
}

.method__block-button--filled:hover {
    color: #FF3B30;
}

.method__block-button--filled:hover .method__block-button-icon {
    background-color: #FF3B30;
}

.method__block-button--filled:hover .method__block-button-icon svg {
    animation: flyArrow 0.6s ease forwards;
}



/* Достижения */
.achievement {
    display: flex;
    flex-direction: column;
    margin-bottom: 140px;
}

.achievement__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.achievement__content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #4ABCD4;
    margin-bottom: 60px;
    text-align: center;
}


.achievement__content-images-block {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.achievement__content-img-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #4ABCD4;
    margin-bottom: 15px;
    text-align: center;
}

.image-container {
    width: 48%;
    position: relative;
}

.image-placeholder {
    width: auto;
    height: 500px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    color: #000000;
    font-size: 16px;
    overflow: hidden;
}

.image-placeholder img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.slider-btn:hover {
    background-color: rgba(71, 178, 255, 0.1);
}

.slider-btn svg {
    width: 27px;
    height: 27px;
    fill: #2A7FBA;
}

.slider-btn.prev svg {
    transform: rotate(180deg);
}

.slider-indicators {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #2A7FBA;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #FF3B30;
    border: 0px solid #2A7FBA;
}

.indicator.active:hover {
    background-color: #FF3B30;
    border: 0px solid #2A7FBA;
}


.indicator:hover {
    background-color: #2A7FBA;
}

.error-message {
    color: #FF3B30;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}




/* ОТЗЫВЫ */
.reviews {
    display: flex;
    flex-direction: column;
    margin-bottom: 140px;
}

.reviews__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
}

.reviews__content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #4ABCD4;
    line-height: 0.8;
    margin-bottom: 55px;
    text-align: center;
}

.reviews__content-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.review__block {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    background-color: #f2f2f2;
    transition: all 0.4s;
    cursor: pointer;
}

.review__block-nick {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 25px;
    gap: 14px;
}

.review__block-nick-img {
    height: 42px;
    width: 42px;
    border-radius: 12px;
}

.review__block-nick-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #324172;
    font-size: 20px;
    transition: all 0.4s;
}

.review__block-text {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    color: #717171;
    font-size: 17px;

    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;

    transition: all 0.4s;
}


/* ХОВЕР ЭФФЕКТЫ НА БЛОК */
.review__block:hover {
    background-color: #2A7FBA;
}

.review__block:hover .review__block-nick-text {
    color: #ffffff;
}

.review__block:hover .review__block-text {
    color: #ffffff;
}

/* КОНЭЦ ЭТИХ СТИЛЕЙ */



.reviews__content-more-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background-color: #2A7FBA;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 19px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    user-select: none;
}

.reviews__content-more-button:hover {
    background-color: #1e6a9c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 127, 186, 0.3);
}

.reviews__content-more-button:active {
    transform: translateY(0);
}

.reviews__content-more-button svg {
    height: 25px;
    width: 25px;
    fill: white;
    transition: transform 0.3s ease;
    transform: rotate(-45deg);
}



/* УСЛУГИС */
.uslugi {
    display: flex;
    flex-direction: column;
    margin-bottom: 140px;
}

.uslugi__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
}

.uslugi__content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #4ABCD4;
    line-height: 0.8;
    margin-bottom: 55px;
    text-align: center;
}

.uslugi__content-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.uslugi__block {
    display: flex;
    flex-direction: column;
    align-items: left;
    background-color: #F2F2F2;
    border-radius: 20px;
    padding: 20px;
    height: 100%;
    cursor: pointer;
    transition: all 0.4s;
}

.uslugi__block-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: #324172;
    margin-bottom: 20px;
    transition: all 0.4s;
}

.uslugi__block-describe {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #717171;
    transition: all 0.4s;
}

.uslugi__block-infoblock {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 30px;
}

.uslugi__block-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2A7FBA;
    font-size: 18px;
    background-color: #ffffff;
    padding: 9px 24px;
    border-radius: 50px;
    transition: all 0.4s;
}

.uslugi__block-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #324172;
    font-size: 17px;
    transition: all 0.4s;
}

.uslugi__block-button:active {
    transform: scale(0.94);
}

/* ХОВЕР ЭФФЕКТЫ */
.uslugi__block-button:hover {
    color: #ffffff;
    background-color: #FF3B30;
}

.uslugi__block:hover {
    background-color: #2A7FBA;
}

.uslugi__block:hover .uslugi__block-title {
    color: #ffffff;
}

.uslugi__block:hover .uslugi__block-describe {
    color: #ffffff;
}

.uslugi__block:hover .uslugi__block-price {
    color: #ffffff;
}

.uslugi__block:hover .uslugi__block-button {
    color: #ffffff;
    background-color: #FF3B30;
}



/* Онлайн сопровождение */
.online {
    display: flex;
    flex-direction: column;
    background: url("../img/backgrounds/online-bg.png") no-repeat center center;
    background-size: cover;
    box-sizing: border-box;
    margin-bottom: 140px;
}

.online__content {
    display: flex;
    flex-direction: column;
    padding: 70px 20px 90px 20px;
}

.online__content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #FF3B30;
    line-height: 0.8;
    text-align: center;
}

.online__content-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
}

.online__content-textblock {
    margin-bottom: 40px;
}

.online__content-describe {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 21px;
    color: #ffffff;
    margin-bottom: 60px;
}

.online__content-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 50px;
    background-color: #2A7FBA;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.35s ease;
    line-height: 1;
    min-height: 40px;
}

.online__content-button svg {
    height: 22px;
    width: 22px;
    flex-shrink: 0;
    fill: #2A7FBA;
    vertical-align: middle;
    transition: all 0.35s;
}

.online__content-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: background-color 0.35s ease;
}

.online__content-button-icon svg {
    width: 22px;
    height: 22px;
    fill: #2A7FBA;
}

.online__content-button:hover .online__content-button-icon {
    background-color: #FF3B30;
}

.online__content-button:hover .online__content-button-icon svg {
    animation: flyArrow 0.6s ease forwards;
    fill: #ffffff;
}



/* Контакты */
.contacts {
    display: flex;
    flex-direction: column;
    margin-bottom: 140px;
}

.contacts__content {
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
}

.contacts__content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #4ABCD4;
    line-height: 0.8;
    text-align: center;
    margin-bottom: 60px;
}

.contacts__content-parts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contacts__content-left {
    display: flex;
    flex-direction: column;
}

.contacts__content-left-blocks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 60px;
}

.contact__block {
    display: flex;
    flex-direction: row;
    padding: 9px 16px;
    background-color: #2A7FBA;
    border-radius: 14px;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s;
    justify-content: space-between;
}

.contact__block:hover {
    transform: translateY(-3px);
    background-color: #FF3B30;
}

.contact__block-help {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.contact__block-icon {
    height: 32px;
    width: 32px;
    fill: #ffffff;
    flex-shrink: 0;
}

.contact__block-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
}

.contact__block-arrow {
    height: 30px;
    width: 30px;
    fill: #ffffff;
    transform: rotate(-45deg);
    flex-shrink: 0;
}

.contact__content-left-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 50px;
    background-color: #2A7FBA;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.35s ease;
    line-height: 1;
    min-height: 40px;
}

.contact__content-left-button svg {
    height: 22px;
    width: 22px;
    flex-shrink: 0;
    fill: #2A7FBA;
    vertical-align: middle;
    transition: all 0.35s;
}

.contact__content-left-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: background-color 0.35s ease;
}

.contact__content-left-button-icon svg {
    width: 22px;
    height: 22px;
    fill: #2A7FBA;
}

.contact__content-left-button:hover .contact__content-left-button-icon {
    background-color: #FF3B30;
}

.contact__content-left-button:hover .contact__content-left-button-icon svg {
    animation: flyArrow 0.6s ease forwards;
    fill: #ffffff;
}


.contacts__content-right iframe {
    width: 100%;
    height: 100%;
}



/* СЕРТИФИКАТЫ */
.sertifications {
    display: flex;
    flex-direction: column;
}

.sertifications__content {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
    padding: 0px 20px;
}

.sertifications__content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #4ABCD4;
    text-align: center;
    margin-bottom: 60px;
}

.owl-carousel {
    position: relative;
}

.owl-stage-outer {
    overflow: hidden;
    border-radius: 15px;
}

.owl-stage {
    display: flex;
}

.owl-item {
    flex-shrink: 0;
}

.sertificates__item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 15px;
}

.sertificates__item img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
    cursor: pointer;
}

.sert-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.sert-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.sert-btn:hover {
    background-color: rgba(71, 178, 255, 0.1);
}

.sert-btn svg {
    width: 27px;
    height: 27px;
    fill: #2A7FBA;
}

.sert-btn-prev svg {
    transform: rotate(180deg);
}

.sert-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.sert-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #2A7FBA;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sert-dot.sert-active {
    background-color: #FF3B30;
    border: none;
}




/* МОДАЛКА */
/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #FFFFFF;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    transform: scale(0.98);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Заголовок - НЕ ТРОГАТЬ! */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #236FA3;
    flex-shrink: 0;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

/* Контент с прокруткой */
.modal-scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 30px;
    max-height: calc(90vh - 80px);
}

/* Скрываем стандартный скроллбар */
.modal-scroll-content::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-content::-webkit-scrollbar-track {
    background: #F5F5F5;
    border-radius: 3px;
}

.modal-scroll-content::-webkit-scrollbar-thumb {
    background: #2A7FBA;
    border-radius: 3px;
}

.modal-required {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: #FF3B30;
    margin: 20px 0;
    padding: 0;
}

/* Кнопка закрытия */
.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-close svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
}

/* Форма */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.required-star {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #FF3B30;
}

/* Поля ввода */
.input-wrapper,
.textarea-wrapper {
    position: relative;
}

.form-input,
.form-textarea {
    font-family: 'Montserrat', sans-serif;  
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    padding: 15px 20px 15px 60px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: #F2F2F2;
    color: #333;
}

.form-textarea {
    padding-left: 60px;
    resize: none;
    min-height: 120px;
    line-height: 1.5;
    border: 1px solid #E0E0E0 !important;
}

.form-input:focus {
    border-color: #2A7FBA;
    background: #F2F2F2;
}

.form-textarea:focus {
    border: 1px solid #2A7FBA !important;
    background: #F2F2F2 !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.input-icon-bg,
.textarea-icon-bg {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 100%;
    background: #2A7FBA;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.textarea-icon-bg {
    top: 0;
    transform: none;
    height: 120px;
    align-items: flex-start;
    padding-top: 15px;
}

.input-icon,
.textarea-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.input-wrapper .form-input,
.textarea-wrapper .form-textarea {
    border-left: none;
}

/* Кнопка отправки */
.form-submit-wrapper {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #F0F0F0;
}

.form-submit-btn {
    background: #2A7FBA;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 16px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 19px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.form-submit-btn:hover {
    background: #236FA3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 127, 186, 0.3);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.submit-icon {
    width: 20px;
    height: 20px;
}

/* Отключение скролла body */
body.modal-open,
html.modal-open {
    overflow: hidden;
}

.term-rule {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 19px;
    color: #000000;
    line-height: 1;
}

.term-rule__num {
    font-weight: 600;
    color: #01487a;
    font-size: 21px;
}

.term-rule a {
    font-weight: 600;
    color: #01487a;
    text-decoration: underline;
}



/* FOOTER */
.footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 20px;
}

.footer__content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    background-color: #fff;
    box-shadow: 0px 0px 12px rgb(134, 134, 134);
    border-radius: 22px;
}

.footer__content-textblock {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-code {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: #000000;
}

.legal-code span {
    color: #01487a;
}

.policy__link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #01487a;
    transition: all 0.4s;
}

.policy__link:hover {
    color: #0e324b;
    text-decoration: underline;
}