﻿*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 90px;
}

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;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header--scrolled {
    background: rgba(22, 22, 22, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.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: 69px;
    width: 69px;
    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, background-color 0.35s ease;
    line-height: 1;
    min-height: 40px;
}

.mobile-adaptive-tel {
    display: none;
}

.header__content-button:hover {
    color: #FF3B30;
    background-color: #f0f0f0;
}

.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-tel {
    white-space: nowrap;
}

.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: 0 20px 20px 20px;
    margin-top: 119px;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    position: relative;
}

.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: clamp(24px, 4vw, 54px);
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: normal;
}

.hero__title br {
    display: none;
}

.hero__title-line1 br,
.hero__title-line2 br {
    display: inline;
}

.hero__title-line1 {
    font-size: 162px;
    display: block;
    line-height: 1;
    white-space: nowrap;
}

.hero__title-line2 {
    font-size: 81px;
    display: block;
    line-height: 1.2;
    margin-top: 6px;
    text-transform: none;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.hero__title-sub {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 24px;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
}

.hero__description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 12px;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero__location {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
    margin: 0;
    margin-bottom: 20px;
}

.hero-correct {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    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;
    max-width: 100%;
    white-space: normal;
}

.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: 12px;
    border-radius: 14px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    overflow: hidden;
    user-select: none;
}

.rating-card__content {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.rating-card__value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 56px;
}

.rating-card__icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.rating-card__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.2;
}

.rating-card__side {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    font-size: 15px;
}



.hero__image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    position: relative;
}

.hero__author-label {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
    z-index: 3;
    width: 100%;
}

.hero__author-label-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 99px;
    color: #ffffff;
    line-height: 1.2;
}

.hero__author-label-role {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 78px;
    color: rgba(255,255,255,0.75);
    line-height: 1.3;
}

.hero__image img {
    height: 734px;
    width: auto;
    object-fit: contain;
    position: absolute;
    bottom: -25px;
    right: -20px;
    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: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #787878;
    margin: 12px auto 0;
}

.about__subtitle-cone {
    display: block;
    line-height: 1.4;
}

.about__subtitle-cone--1,
.about__subtitle-cone--2 { font-size: 1em; }

.about__video {
    border-radius: 20px;
    overflow: hidden;
}

.about__cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #F2F2F2;
    border-radius: 20px;
    padding: 30px 40px;
    margin-top: 0;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.4s;
    cursor: pointer;
}

.about__cta:hover {
    background-color: #2A7FBA;
}

.about__cta:hover .uslugi__block-title {
    color: #ffffff;
}

.about__cta:hover .uslugi__block-describe {
    color: #ffffff;
}

.about__cta:hover .about__cta-button {
    background-color: #FF3B30;
}

.about__cta-text {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #324172;
    line-height: 1.5;
}

.about__cta-sub {
    display: block;
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #717171;
}

.about__cta-button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    background-color: #2A7FBA;
    padding: 14px 28px;
    border-radius: 50px;
    flex-shrink: 0;
    transition: all 0.4s;
}

.about__cta-button:hover {
    background-color: #FF3B30;
}

.about__cta-button:active {
    transform: scale(0.94);
}

.about__cta-button-icon {
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
}

.about__cta-button-icon svg {
    fill: #ffffff;
    width: 20px;
    height: 20px;
}

.plyr__controls {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.plyr--video {
    border-radius: 20px;
}



/* ПОЧЕМУ БОЛЬ ВОЗВРАЩАЕТСЯ */
.why-pain {
    margin-bottom: 140px;
    background: url('../img/backgrounds/abouttech-bg.png') no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    margin-left: 10px;
    margin-right: 10px;
    overflow: hidden;
}

.why-pain__content {
    display: flex;
    flex-direction: column;
    padding: 60px 60px;
}

.why-pain__main-title {
    margin-bottom: 20px;
    font-size: clamp(36px, 3.5vw, 65px) !important;
    line-height: 1;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
}

.why-pain .uslugi__block-describe,
.why-pain .how-works__footer-text {
    color: #ffffff;
}

.why-pain .about__content-title {
    color: #ffffff;
}

.why-pain__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-pain__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-pain__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #ffffff;
}

.why-pain__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.why-pain__closing {
    font-weight: 600;
    color: #324172;
}

.why-pain__right img {
    width: 67%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}



/* ЧТО ГОВОРЯТ ПАЦИЕНТЫ */
.patient-reviews {
    margin-bottom: 140px;
}

@media (min-width: 800px) {
    .patient-reviews__content .about__content-title {
        font-size: 4.6vw;
        white-space: nowrap;
    }
}

.patient-reviews__content {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    gap: 50px;
}

.patient-reviews__content .uslugi__block:hover {
    background-color: #F2F2F2;
    cursor: default;
}

.patient-reviews__content .uslugi__block:hover .uslugi__block-title {
    color: #324172;
}

.patient-reviews__content .uslugi__block:hover .uslugi__block-describe {
    color: #717171;
}

.patient-reviews__buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}

.patient-reviews__yandex-btn {
    background-color: #324172;
}

.patient-reviews__yandex-btn:hover {
    background-color: #FF3B30;
}



/* ЧТО ПОЛУЧАЮТ ПАЦИЕНТЫ */
.results {
    margin-bottom: 140px;
    background: url('../img/backgrounds/online-bg.png') no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    margin-left: 10px;
    margin-right: 10px;
    overflow: hidden;
}

.results__content {
    display: flex;
    flex-direction: column;
    padding: 60px 60px;
    gap: 60px;
}

.results .about__content-title,
.results .how-works__header-sub {
    color: #ffffff;
}

.results__cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.results__cards .uslugi__block,
.results__cards .uslugi__block:hover {
    cursor: default;
    background-color: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.results__blocks .uslugi__block,
.results__blocks .uslugi__block:hover {
    cursor: default;
    background-color: transparent;
}

.results__cards .uslugi__block-title,
.results__cards .uslugi__block:hover .uslugi__block-title {
    color: #324172;
    margin-bottom: 7px;
}



.results .results__block-title {
    color: #ffffff;
}

.results .uslugi__block-describe,
.results .uslugi__block:hover .uslugi__block-describe {
    color: #ffffff;
}

.results__list {
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
    gap: 22px;
}

.results__blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.results__blocks .uslugi__block {
    padding: 30px 28px;
}

.results__blocks .uslugi__block-describe {
    line-height: 1.7;
}

.results__block-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 38px;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.results__principle-text {
    line-height: 2.1;
}



/* КАК ПРОХОДИТ ПРИЁМ */
.how-works {
    margin-bottom: 140px;
}

.how-works .why-pain__subtitle {
    color: #717171;
}

.how-works__content {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    gap: 50px;
}

.how-works__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.how-works__header-sub {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 26px;
    color: #787878;
    white-space: nowrap;
}

.how-works__footer {
    background-color: #F2F2F2;
    border-radius: 20px;
    padding: 30px 40px;
}

.how-works__footer-text {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #717171;
    text-align: center;
}



/* О МЕТОДЕ */
.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;
    margin: 0;
}

.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;
    flex-shrink: 0;
    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-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4CC4DD;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.uslugi__block-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ХОВЕР ЭФФЕКТЫ */
.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;
}

/* Правая часть инфоблока карточки — цена первичного визита */
.uslugi__block-price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
    flex-shrink: 0;
}

.uslugi__block-price-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #324172;
    white-space: nowrap;
    transition: all 0.4s;
}

.uslugi__block-price-sub {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #717171;
    white-space: nowrap;
    transition: all 0.4s;
}

.uslugi__block:hover .uslugi__block-price-main {
    color: #ffffff;
}

.uslugi__block:hover .uslugi__block-price-sub {
    color: rgba(255,255,255,0.75);
}

/* Сноска под блоком цен */
.uslugi__price-footnote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #f7f7f7;
    border-left: 4px solid #2A7FBA;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin-bottom: 28px;
}

.uslugi__price-footnote-text {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #717171;
    line-height: 1.5;
}

.uslugi__price-footnote-text span {
    font-weight: 700;
    color: #324172;
}



/* Онлайн сопровождение */
.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,
.sert-carousel .owl-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;
}



/* SR-ONLY (SEO) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* FAQ */
.faq {
    padding: 80px 20px;
}

.faq__content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.faq__content > .about__content-title {
    text-align: center;
}

.faq__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__column {
    display: contents;
}

.faq__item {
    background-color: #F2F2F2;
    border-radius: 16px;
    padding: 24px 28px;
    list-style: none;
}

.faq__question {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: #324172;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 26px;
    font-weight: 400;
    color: #4ABCD4;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #717171;
    line-height: 1.65;
    margin-top: 16px;
}

.faq__answer strong {
    color: #324172;
    font-weight: 600;
}

/* ABOUT-AUTHOR */
.about-author {
    padding: 80px 20px;
    background: url('../img/backgrounds/abouttech-bg.png') no-repeat center 30%;
    background-size: cover;
    border-radius: 30px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 140px;
    overflow: hidden;
}

.about-author__content .about__content-title {
    white-space: nowrap;
    color: #ffffff;
}

.about-author .about__content-subtitle,
.about-author .uslugi__block-describe {
    color: #ffffff;
}

.about-author__pillar .uslugi__block-describe {
    color: #717171;
}

.about-author .about__cta-button {
    align-self: flex-start;
}

.about-author__content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-author__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.about-author__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #4ABCD4;
    line-height: 0.8;
}

.about-author__role {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #717171;
}

.about-author__intro,
.about-author__closing {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #717171;
    line-height: 1.7;
}

.about-author__pillars-lead {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #324172;
}

.about-author__pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-author__pillar {
    background-color: #F2F2F2;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-author__pillar-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: #324172;
}

.about-author__pillar-text {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #717171;
    line-height: 1.65;
}

/* FOOTER */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    gap: 10px;
}

.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;
}

.footer__disclaimer {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #999;
    text-align: center;
    padding: 8px 20px 0;
    line-height: 1.5;
    width: 100%;
    display: block;
}

.sert-disclaimer {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #999;
    text-align: center;
    padding: 16px 20px 0;
    line-height: 1.5;
}

/* === Уведомление о результате отправки формы === */
.form-alert {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 24px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 90vw;
    animation: fadeInUp 0.3s ease;
}
.form-alert.success { background: #2e7d32; }
.form-alert.error   { background: #c62828; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* === ЧЕКБОКСЫ СОГЛАСИЯ (ФЗ-152) === */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(76, 196, 221, 0.05);
    border: 1px solid rgba(76, 196, 221, 0.15);
    transition: border-color 0.2s;
}
.form-consent:hover {
    border-color: rgba(76, 196, 221, 0.35);
}
.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #4CC4DD;
    cursor: pointer;
}
.form-consent span {
    font-size: 13px;
    color: #b0b8c1;
    line-height: 1.5;
}
.form-consent span a {
    color: #4CC4DD;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* === COOKIE-БАННЕР (ФЗ-152) === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    background: rgba(22, 22, 30, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(76, 196, 221, 0.2);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner p {
    font-size: 13px;
    color: #9aa0b0;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    min-width: 200px;
}
.cookie-banner p a {
    color: #4CC4DD;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn-accept {
    background: #4CC4DD;
    color: #111;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.cookie-btn-accept:hover { background: #38b2c8; }
.cookie-btn-decline {
    background: transparent;
    color: #9aa0b0;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s, border-color 0.2s;
}
.cookie-btn-decline:hover { color: #cdd0dc; border-color: rgba(255,255,255,0.3); }

@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-banner__buttons { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}
