@font-face {
    font-family: "Avenir Next Cyr";
    src: url("/assets/fonts/Avenir/avenirnextcyr-regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenir Next Cyr";
    src: url("/assets/fonts/Avenir/avenirnextcyr-medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenir Next Cyr";
    src: url("/assets/fonts/Avenir/avenirnextcyr-demi.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenir Next Cyr";
    src: url("/assets/fonts/Avenir/avenirnextcyr-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("/assets/fonts/Onest/Onest-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("/assets/fonts/Onest/Onest-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("/assets/fonts/Onest/Onest-Semibold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("/assets/fonts/Onest/Onest-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --body-color: #F7F7F7;
    --border-color: #DFDFDF;
    --blue-color: #3F85C2;
    --blue-hover-color: #79AAD5;
    --blue-2-color: #E1E3E5;
    --blue-bg: #ECF3F9;
    --font-color: #454545;
    --font-2-color: #0F0F0F;
    --text-hover-color: #787786;
    --star-color: #F5A623;
    --error-color: #FF3030;
    --radius-14: 14px;
    --radius-24: 24px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --modal-duration: 0.5s;
    --modal-delay: calc(var(--modal-duration) + 0.05s);
    --header-h: 78px;
    --cs-width: 2px;
    --cs-track: #f1f1f1;
    --cs-thumb: #0F0F0F;
    --cs-thumb-hover: #3F85C2;
    --cs-radius: 1px;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    width: 100%;
    min-height: 100%;
}

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

body {
    font-family: 'Avenir Next Cyr', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--font-2-color);
    background: var(--body-color);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    letter-spacing: -2%;
    max-width: 1920px;
    min-height: 100%;
    margin: 0 auto;
    transform-origin: top center;
    overflow-x: hidden;
    padding-top: var(--header-h);
}

#modal-root {
    font-family: 'Avenir Next Cyr', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--font-2-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

a:hover {
    color: var(--blue-color);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.3s var(--ease);
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1268px;
    margin: 0 auto;
    padding: 0 40px;
}

.main {
    display: flex;
    max-width: 1920px;
    width: 100%;
    margin-inline: auto;
    justify-content: center;
}

.main .container {
    margin: 0;
}

.hover-circle {
    overflow: hidden;
    isolation: isolate;
}

.hover-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--blue-hover-color);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.hover-circle:hover::before {
    width: 400px;
    height: 400px;
}

.btn,
.btn--outline,
.hero__btn,
.step-card__icon,
.logo__icon,
.header-top__icon,
.video-card__play,
.footer__logo-icon,
.footer__social-icon,
.footer__yandex,
.footer__up,
.swiper-container .swiper-button-prev,
.swiper-container .swiper-button-next {
    position: relative;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 28px;
    background: var(--blue-color);
    color: #fff;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s var(--ease);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn:hover {
    color: #fff;
}

.btn--full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn:disabled::before {
    display: none;
}

.btn--outline {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0 14px;
    background: transparent;
    color: var(--blue-color);
    border: 1.5px solid var(--blue-color);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.btn--outline span {
    position: relative;
    z-index: 1;
}

.header-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #E5E5E5;
    padding: 10px 0;
    height: var(--header-h);
    transition: box-shadow 0.3s ease;
    z-index: 200;
}

.header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s var(--ease);
}

.logo__icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    background: var(--blue-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.logo__icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__title {
    font-family: "Onest";
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.logo:hover .logo__title {
    color: var(--blue-color);
}

.logo__subtitle {
    font-family: "Onest";
    font-size: 14px;
    line-height: 1;
    color: var(--text-hover-color);
    margin-top: 4px;
}

.header-top__phone {
    font-size: 22px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.header-top__phone:hover {
    color: var(--blue-color);
    transform: scale(1.05);
}

.header-top__icons {
    display: flex;
    gap: 4px;
}

.header-top__icon,
.footer__social-icon {
    width: 54px;
    height: 54px;
    background: #fff;
    border: 1px solid var(--blue-2-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.header-top__icon svg,
.footer__social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--blue-color);
    position: relative;
    z-index: 1;
    transition: fill 0.3s ease, transform 0.3s ease;
}

.header-top__icon:hover svg {
    fill: var(--blue-hover-color);
}

.header-nav {
    background: #f8f8f8;
    border-bottom: 1px solid #E5E5E5;
    position: relative;
    z-index: 100;
}

.header-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 58px;
}

.nav__item {
    position: relative;
}

.nav__link {
    font-size: 18px;
    font-weight: 500;
    padding: 16px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s var(--ease);
}

.nav__link:hover,
.nav__link--active {
    color: var(--blue-color);
}

.nav__dropdown {
    width: 10px;
    height: 10px;
    transition: transform 0.3s var(--ease);
}

.nav__item:hover .nav__dropdown,
.nav__item--open .nav__dropdown {
    transform: rotate(180deg);
}

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 320px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--blue-2-color);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease);
}

.nav__item:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 18px;
    position: relative;
    transition: all 0.2s ease;
}

.nav__dropdown-menu a:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}

.nav__dropdown-menu a:hover {
    color: var(--blue-color);
}

.nav__actions {
    display: flex;
    gap: 37px;
}

.nav__action {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

/* Стили для иконок в навигации для смены цвета */
.nav-icon {
    color: var(--blue-color);
    transition: color 0.3s ease;
}

.nav__action:hover .nav-icon {
    color: var(--blue-hover-color);
}

.nav__burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    position: relative;
    z-index: 1001;
    margin-left: auto;
}

.nav__burger span {
    width: 22px;
    height: 2px;
    background: var(--blue-color);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.nav__overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 15, 15, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .nav__overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

body.menu-open .nav__burger {
    position: relative;
    z-index: 1002;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.menu-open .nav__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .nav__burger span:nth-child(2) {
    opacity: 0;
}

body.menu-open .nav__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.breadcrumbs {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: var(--text-hover-color);
    font-weight: 500;
}

.breadcrumbs__link {
    transition: all 0.2s ease;
}

.breadcrumbs__link:hover {
    color: var(--blue-color);
}

.breadcrumbs__sep {
    color: #C0C0C0;
}

.breadcrumbs__current {
    color: var(--font-2-color);
}

.hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    background: linear-gradient(180deg, #f8f8f8 0%, var(--blue-2-color) 100%);
    padding-top: 73px;
    padding-bottom: 184px;
}

.hero__inner {
    display: flex;
    align-items: center;
    height: calc(100% - 60px);
}

.hero__content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 54px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero__subtitle {
    font-size: 20px;
    color: var(--font-color);
    line-height: 1.4;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0 32px;
    background: var(--blue-color);
    color: #fff;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    transition: all 0.3s var(--ease);
}

.hero__btn span {
    position: relative;
    z-index: 1;
}

.hero__btn:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(63, 133, 194, 0.4);
}

.hero__btn:active {
    transform: translateY(0);
}

.hero__shield {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease 0.3s forwards;
}

.hero__shield svg {
    width: 962px;
    height: auto;
}

.hero__decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.hero__arc {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero__arc--1 {
    width: 600px;
    height: 600px;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
}

.hero__arc--2 {
    width: 800px;
    height: 800px;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.hero__arc--3 {
    width: 1000px;
    height: 1000px;
    top: 50%;
    right: -300px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.sidebar-left,
.sidebar-right {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    display: block;
}

.sidebar-right {
    order: 3;
}

.sidebar-nav {
    width: 286px;
}

.sidebar-nav__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 16px;
}

.sidebar-nav__item {
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
}

.sidebar-nav__link {
    display: block;
    padding: 13px 0;
    font-size: 18px;
    line-height: 1.3;
    transition: all 0.2s ease;
}

.sidebar-nav__link:hover {
    color: var(--text-hover-color);
    padding-left: 14px;
}

.consultation-card {
    width: 286px;
    padding: 44px 24px;
    background: linear-gradient(to bottom, #3F85C2 0%, #3F85C2 70%, #4CA1EB 100%);
    border-radius: var(--radius-24);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.consultation-card__icon {
    margin-bottom: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-card__text {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 44px;
}

.consultation-card__btn {
    width: 100%;
    max-width: 280px;
    height: 64px;
    background: #fff;
    color: #333;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.consultation-card__btn:hover {
    background: #f0f4f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.consultation-card__btn:active {
    transform: translateY(0);
}

.section-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-24);
    padding: 40px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    z-index: 10;
}

.section-card--has-swiper {
    padding-right: 0;
}

.section-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.section-card__title {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -1.2px;
    margin-bottom: 30px;
    line-height: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 356px;
    height: 102px;
    padding: 0 24px;
    background: var(--blue-bg);
    border-radius: var(--radius-14);
    line-height: 1.3;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.service-item:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(63, 133, 194, 0.2);
    background: var(--blue-color);
}

.services-grid--collapsed .service-item:nth-child(n+7) {
    display: none;
}

.services-grid__more {
    text-align: center;
    margin-top: 40px;
}

.team-card {
    flex: 0 0 234px;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.team-card__wrap {
    width: 100%;
    height: 336px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 14px;
}

.team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #E5E5E5;
    transition: all 0.4s ease;
}

.team-card:hover .team-card__photo {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.team-card__name {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.44px;
    transition: color 0.3s ease;
    line-height: 1;
    margin-bottom: 6px;
}

.team-card:hover .team-card__name {
    color: var(--blue-color);
}

.team-card__position {
    font-size: 18px;
    color: var(--font-color);
    letter-spacing: -0.36px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.team-card:hover .team-card__position {
    color: var(--text-hover-color);
}

.team-card__data,
.step-card__data,
.case-card__data {
    display: none !important;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-14);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.step-card__top {
    padding: 34px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: background 0.3s ease;
}

.step-card__icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.step-card__icon svg {
    fill: var(--blue-color);
    position: relative;
    z-index: 1;
    transition: fill 0.3s ease, transform 0.3s ease;
}

.step-card:hover .step-card__icon {
    background-color: var(--blue-color);
}

.step-card:hover .step-card__icon svg {
    fill: #fff;
}

.step-card__label {
    font-size: 20px;
    line-height: 1.3;
    color: var(--font-color);
    text-align: center;
    transition: color 0.3s ease;
}

.step-card__bottom {
    padding: 10px 24px;
    min-height: 100px;
    background: #F2F2F2;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover .step-card__bottom {
    background: var(--blue-color);
    color: #fff;
}

.consequences-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.consequence-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-radius: var(--radius-14);
    transition: all 0.3s ease;
    padding-right: 20px;
}

.consequence-item__image {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: var(--radius-14);
    background: #E5E5E5;
    transition: all 0.3s ease;
}

.consequence-item__number {
    font-size: 18px;
    font-weight: 500;
    color: var(--blue-color);
    margin-bottom: 8px;
}

.consequence-item__text {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.case-card {
    cursor: pointer;
}

.case-card:hover .case-card__title {
    color: var(--blue-color);
}

.case-card__image {
    height: 240px;
    border-radius: var(--radius-14);
    margin-bottom: 12px;
    overflow: hidden;
}

.case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-card__image img {
    transform: scale(1.05);
}

.case-card__title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}
.case-card__content {
    padding: 0 10px;
}
.case-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear var(--modal-delay);
    letter-spacing: -2%;
}

.case-modal--active {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.case-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-modal--active .case-modal__overlay {
    opacity: 1;
}

.case-modal__window {
    position: relative;
    z-index: 1;
    width: 912px;
    height: 764px; /* Такая же высота, как у step-modal */
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-24);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    transition: all var(--modal-duration) var(--ease-spring);
}

.case-modal--active .case-modal__window {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.case-modal__close {
    position: absolute;
    top: -12px;
    right: -22px;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.case-modal__close:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.case-modal__content {
    padding: 48px 18px 48px 50px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
}

.case-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 32px;
}

.case-modal__body p {
    font-size: 18px;
    color: var(--font-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.case-modal__body h3, 
.case-modal__body h4 {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--font-2-color);
}

.case-modal__body ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.case-modal__body li {
    font-size: 18px;
    color: var(--font-color);
    line-height: 1.3;
    padding-left: 3px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-grid[data-count="1"] {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
}

.pricing-grid[data-count="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.pricing-grid[data-count="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-grid[data-count="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-14);
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease);
}

.pricing-card--active,
.pricing-card:last-child {
    background: var(--blue-bg);
    border-color: var(--blue-hover-color);
}

.pricing-card:hover {
    border-color: var(--blue-color);
    box-shadow: inset 0 0 0 1px var(--blue-color);
}

.pricing-card__header {
    padding: 10px 48px 20px;
    transition: background 0.3s ease;
}

.pricing-card__title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    transition: color 0.3s ease;
}

.pricing-card__price {
    padding: 7px 0;
    border-top: 1px solid rgba(223, 223, 223, 0.5);
    border-bottom: 1px solid rgba(223, 223, 223, 0.5);
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card__body {
    padding: 20px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    line-height: 1.3;
    font-size: 18px;
    color: var(--font-color);
}

.pricing-card__body li {
    display: flex;
    gap: 10px;
    transition: all 0.2s ease;
}

.pricing-card__body li svg {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    fill: var(--blue-color);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.pricing-card__body ul li:not(:last-child) {
    margin-bottom: 10px;
}

.pricing-card__footer {
    margin-top: auto;
    padding-top: 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-14);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--blue-color);
}

.faq-item__question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blue-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-item__question:hover .faq-item__icon {
    background: var(--blue-hover-color);
}

.faq-item__icon svg {
    position: absolute;
    transition: all 0.3s var(--ease);
}

.faq-icon-plus {
    opacity: 1;
    transform: scale(1);
}

.faq-icon-minus {
    opacity: 0;
    transform: scale(0.5);
}

.faq-item--open .faq-icon-plus {
    opacity: 0;
    transform: scale(0.5);
}

.faq-item--open .faq-icon-minus {
    opacity: 1;
    transform: scale(1);
}

.faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease);
}

.faq-item--open .faq-item__answer {
    grid-template-rows: 1fr;
}

.faq-item__answer-inner {
    overflow: hidden;
    padding: 0 30px 0 20px;
    font-size: 20px;
    color: var(--font-color);
    line-height: 1.3;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.faq-item__answer-inner>*:last-child {
    margin-bottom: 30px;
}

.faq-item--open .faq-item__answer-inner {
    opacity: 1;
    transition-delay: 0.1s;
}

.faq-item__answer-inner p:not(:last-child) {
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-24);
    padding: 32px;
    text-align: center;
    transition: all 0.4s var(--ease);
}

.stat-card__number {
    font-size: 54px;
    font-weight: 600;
    color: var(--blue-color);
    line-height: 1;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-card__number {
    transform: scale(1.1);
}

.stat-card__label {
    font-size: 20px;
    color: var(--font-color);
    line-height: 1.3;
    transition: color 0.3s ease;
    padding: 0 18px;
}

.stat-card:hover .stat-card__label {
    color: var(--blue-color);
}

.cta-card {
    background: #e3ebf1;
    border: 1px solid rgba(63, 133, 194, 0.4);
    border-radius: var(--radius-24);
    padding: 60px;
    transition: all 0.3s ease;
}

.cta-card:hover {
    background: rgba(63, 133, 194, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(63, 133, 194, 0.2);
}

.cta-card__title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 40px;
    transition: color 0.3s ease;
    letter-spacing: -4%;
}

.cta-card:hover .cta-card__title {
    color: var(--blue-color);
}

.cta-form {
    width: 100%;
    max-width: 648px;
    margin: 0 auto;
    position: relative;
}

.cta-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cta-form__field {
    height: 64px;
    padding: 0 20px;
    background: #fff;
    border: 1.5px solid var(--blue-2-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: var(--text-hover-color);
    transition: all 0.3s var(--ease);
    margin-bottom: 10px;
}

.cta-form__field:focus-within {
    border-color: var(--blue-color);
    box-shadow: 0 0 0 4px rgba(63, 133, 194, 0.1);
    transform: translateY(-2px);
}

.cta-form__field--error {
    border-color: var(--error-color);
}

.cta-form__field--error:focus-within {
    border-color: var(--error-color);
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

.cta-form__field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    font-family: inherit;
}

.cta-form__error {
    display: none;
    font-size: 13px;
    line-height: 1.3;
    color: var(--error-color);
    margin: -2px 2px 10px;
}

.cta-form__error--visible {
    display: block;
}

.cta-form__alert {
    margin-bottom: 12px;
    padding: 12px 16px;
    background: rgba(229, 62, 62, 0.08);
    border: 1px solid rgba(229, 62, 62, 0.35);
    border-radius: 10px;
    color: #C53030;
    font-size: 14px;
    line-height: 1.4;
}

.cta-form__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    text-align: center;
    animation: fadeInUp 0.5s ease forwards;
}

.cta-form__success p {
    font-size: 22px;
    font-weight: 600;
    color: var(--blue-color);
}

.cta-form__success span {
    font-size: 16px;
    color: var(--font-color);
}

.cta-form__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
}

.cta-form .btn {
    height: 64px;
}

.cta-form__agreement {
    font-size: 14px;
    color: var(--text-hover-color);
    line-height: 1.3;
    max-width: 400px;
}

.cta-form__agreement a {
    color: var(--blue-color);
    text-decoration: underline;
    transition: all 0.2s ease;
}

.cta-form__agreement a:hover {
    color: var(--blue-hover-color);
    text-decoration: none;
}

.video-card {
    position: relative;
    overflow: hidden;
    height: 400px;
    background: #333;
    border-radius: var(--radius-24);
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.video-card__preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.video-card:hover .video-card__preview {
    opacity: 0.5;
    transform: scale(1.05);
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--blue-color);
    box-shadow: 0 4px 16px rgba(63, 133, 194, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease);
    z-index: 2;
}

.video-card__play svg {
    width: 32px;
    height: 32px;
    fill: #fff;
    margin-left: 4px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.video-card__play:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 8px 24px rgba(63, 133, 194, 0.6);
}

.video-card__play:hover svg {
    transform: scale(1.1);
}

.video-card__caption {
    position: absolute;
    bottom: 30px;
    left: 24px;
    right: 24px;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.video-card:hover .video-card__caption {
    transform: translateY(0);
}

.article-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-24);
    padding: 40px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.article-card__title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.article-card:hover .article-card__title {
    color: var(--blue-color);
}

.article-card__text {
    font-size: 20px;
    color: var(--font-color);
    line-height: 1.5;
    margin-bottom: 24px;
}

.article-card__text p:not(:last-child) {
    margin-bottom: 12px;
}

.article-card__text--clamped {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card__text ul,
.article-card__text ol {
    padding-left: 40px;
}
.article-card__text ul {
    list-style: inherit;
}
.article-card__text ol {
    list-style: demical;
}

.swiper-section .swiper {
    height: 100%;
}

.swiper-section .swiper-wrapper {
    align-items: stretch;
}

.swiper-section .swiper-slide {
    height: auto;
}

.casesSwiper,
.reviewsSwiper,
.relatedSwiper,
.newsSwiper {
    container-type: inline-size;
}

.casesSwiper .swiper-slide,
.reviewsSwiper .swiper-slide,
.relatedSwiper .swiper-slide,
.newsSwiper .swiper-slide {
    width: 346px;
}

.swiper-container .swiper-button-prev,
.swiper-container .swiper-button-next {
    width: 54px;
    height: 54px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.08);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s var(--ease);
}

.swiper-container .swiper-button-prev {
    left: -19px;
}

.swiper-container .swiper-button-next {
    right: -19px;
}

.swiper-container .swiper-button-prev::after,
.swiper-container .swiper-button-next::after {
    content: '';
}

.swiper-container .swiper-button-prev:hover svg,
.swiper-container .swiper-button-next:hover svg {
    fill: var(--blue-color);
}

.swiper-container .swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.8);
}

.swiper-button-prev svg,
.swiper-button-next svg {
    width: 16px;
    fill: var(--font-2-color);
}

.swiper-button-prev svg {
    transform: rotate(180deg);
}

.related-card {
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-14);
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--ease);
}

.news-card {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--ease);
}

a.related-card,
a.related-card:hover {
    color: inherit;
}

.related-card {
    padding: 24px;
}

.related-card__title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.related-card:hover .related-card__title {
    color: var(--blue-color);
}

.related-card__text {
    font-size: 18px;
    color: var(--text-hover-color);
    line-height: 1.3;
    flex-grow: 1;
}

.news-card__image {
    border-radius: var(--radius-14);
    height: 240px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.05);
}

.news-card__content {
    padding: 20px 20px 0 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card__title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.news-card:hover .news-card__title {
    color: var(--blue-color);
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
    color: #424151;
    white-space: nowrap;
    margin-top: auto;
}

.news-card__meta svg {
    flex-shrink: 0;
}

.footer {
    background: #fff;
    border-top: 1px solid #E5E5E5;
    padding: 40px 0 30px;
    margin-top: 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr auto;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col--main {
    gap: 14px;
}

.footer__col--wide {
    max-width: 420px;
}

.footer__col--up {
    align-items: flex-end;
}

.footer__phone,
.footer__email {
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer__phone:hover,
.footer__email:hover {
    color: var(--blue-color);
    transform: translateX(5px);
}

.footer__social-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__social-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.footer__social-icons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.footer__social-icon:hover svg {
    fill: var(--blue-hover-color);
}

.footer__yandex {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 10px;
    padding: 14px 16px;
    border: 1px solid var(--blue-2-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.footer__yandex svg {
    position: relative;
    z-index: 1;
    transition: fill 0.3s ease;
}

.footer__yandex:hover {
    border-color: var(--blue-hover-color);
}

.footer__heading {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s ease;
}

.footer__links a:hover {
    color: var(--blue-color);
}

.footer__up {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: var(--blue-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.3s var(--ease);
}

.footer__up--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.footer__up:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(63, 133, 194, 0.4);
}

.footer__up svg {
    position: relative;
    z-index: 1;
}

.footer__bottom {
    border-top: 1px solid #E5E5E5;
    padding-top: 30px;
    text-align: center;
}

.footer__copy {
    font-size: 14px;
    color: var(--text-hover-color);
    line-height: 1;
}

.footer__copy-link {
    transition: color 0.3s ease;
}

.footer__copy-link:hover {
    color: var(--blue-color);
}

.team-modal,
.step-modal,
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear var(--modal-delay);
}

.team-modal--active,
.step-modal--active,
.contact-modal--active {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.team-modal__overlay,
.step-modal__overlay,
.contact-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-modal--active .team-modal__overlay,
.step-modal--active .step-modal__overlay,
.contact-modal--active .contact-modal__overlay {
    opacity: 1;
}

.team-modal__content,
.step-modal__window,
.contact-modal__window {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--radius-24);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    transition: all var(--modal-duration) var(--ease-spring);
    will-change: transform, opacity;
}

.team-modal--active .team-modal__content,
.step-modal--active .step-modal__window,
.contact-modal--active .contact-modal__window {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.team-modal__close,
.step-modal__close,
.contact-modal__close {
    position: absolute;
    top: -12px;
    right: -22px;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.team-modal__close:hover,
.step-modal__close:hover,
.contact-modal__close:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.team-modal__close svg path,
.step-modal__close svg path,
.contact-modal__close svg path {
    stroke: #fff;
}

.team-modal__close svg,
.step-modal__close svg,
.contact-modal__close svg,
.review-modal__close svg {
    pointer-events: none;
}

.team-modal__close,
.step-modal__close,
.contact-modal__close,
.review-modal__close {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.team-modal__content {
    width: 912px;
    height: 542px;
    display: flex;
    flex-direction: column;
    padding: 50px 18px 50px 50px;
}

.team-modal__body {
    display: flex;
    gap: 30px;
    overflow-y: visible;
    min-height: 0;
    flex: 1 1 auto;
}

.team-modal__photo {
    flex-shrink: 0;
    width: 287px;
    height: 442px;
    border-radius: 6px;
    overflow: hidden;
}

.team-modal__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-modal__info {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding-right: 30px;
}

.team-modal__name {
    color: var(--font-2-color);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -1.2px;
    transition: color 0.3s ease;
    margin-bottom: 14px;
    line-height: 1;
}

.team-modal__name:hover {
    color: var(--blue-color);
}

.team-modal__position {
    font-size: 20px;
    color: var(--font-2-color);
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1;
}

.team-modal__text {
    color: var(--font-color);
    font-size: 18px;
    letter-spacing: -2%;
}

.team-modal__text p:not(:last-child) {
    margin-bottom: 20px;
}
.team-modal__text ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}
.team-modal__text li {
    padding-left: 3px;
}

.step-modal__window {
    width: 912px;
    height: 764px;
    display: flex;
    flex-direction: column;
}

.step-modal__content {
    padding: 50px 18px 50px 50px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
}

.step-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 30px;
}

.step-modal__pdf-iframe {
    width: 100%;
    height: 75vh;
    min-height: 400px;
    border: none;
    outline: none;
    border-radius: var(--radius-14);
    display: block;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    object-fit: contain;
}

.step-modal__pdf-container {
    width: 477px;
    margin: 0 auto;
}

.step-modal__body:has(.step-modal__pdf-iframe) {
    padding-right: 0;
}

.step-modal__body p {
    font-size: 16px;
    color: var(--font-color);
    line-height: 1.65;
    margin-bottom: 20px;
}

.step-modal__body h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 4px 0 16px;
}

.step-modal__body ul {
    list-style: disc;
    padding-left: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.step-modal__body li {
    font-size: 16px;
    color: var(--font-color);
    line-height: 1.5;
}

.contact-modal__window {
    max-width: 560px;
    padding: 40px;
    background: #e3ebf1;
    border: 1px solid rgba(63, 133, 194, 0.4);
}

.contact-modal__title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
}

.contact-modal .cta-form {
    max-width: 100%;
}

.contact-modal .cta-form__field {
    background: #F4F6F9;
    border-color: transparent;
}

.contact-modal .cta-form__field:focus-within {
    background: #fff;
    border-color: var(--blue-color);
}

.contact-modal .cta-form__bottom {
    margin-top: 24px;
    align-items: center;
}

.contact-modal .cta-form__agreement {
    max-width: 280px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-50%) scale(1.05);
    }
}

.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s, transform 0.3s var(--ease);
    padding: 24px 0;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.form-search {
    width: 100%;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--body-color);
    border: 1.5px solid var(--blue-2-color);
    border-radius: 12px;
    padding: 6px 8px 6px 20px;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.search-container:focus-within {
    border-color: var(--blue-color);
    box-shadow: 0 0 0 4px rgba(63, 133, 194, 0.1);
    background: #fff;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    font-family: inherit;
    color: var(--font-2-color);
    padding: 10px 0;
    min-width: 0;
}

.search-input::placeholder {
    color: var(--text-hover-color);
}

.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration {
    display: none;
}

.search-btn,
.close-search-form {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background 0.25s var(--ease);
}

.search-btn:hover,
.close-search-form:hover {
    background: var(--blue-bg);
}

.close-search-form svg {
    transition: stroke 0.25s ease, transform 0.25s ease;
}

.close-search-form:hover svg {
    stroke: var(--error-color);
    transform: rotate(90deg);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-right: 30px;
    gap: 24px;
    flex-wrap: wrap;
}

.reviews-header__title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1.2px;
    margin: 0;
}

.reviews-header__rating-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 8px;
}

.reviews-header__icon {
    flex-shrink: 0;
    margin-top: 4px;
}

.reviews-header__rating {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reviews-header__rating-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-header__rating-value {
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    color: var(--font-2-color);
}

.reviews-header__stars {
    display: flex;
    gap: 4px;
}

.reviews-header__rating-label {
    font-size: 14px;
    color: var(--font-color);
    line-height: 1;
    font-weight: 500;
}

.reviews-swiper .swiper-section {
    overflow: hidden;
}

.review-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--blue-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.review-card__source {
    display: flex;
    flex-shrink: 0;
}

.review-card__rating {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.review-card__rating .star,
.reviews-header__stars .star,
.review-modal__stars .star {
    width: 16px;
    height: 16px;
    background-image: url(../../images/star.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.review-card__text {
    font-size: 18px;
    line-height: 1.28;
    color: var(--font-color);
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card__name {
    margin-top: auto;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    color: var(--font-2-color);
}

.review-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear var(--modal-delay);
}

.review-modal--active {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.review-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-modal--active .review-modal__overlay {
    opacity: 1;
}

.review-modal__window {
    position: relative;
    z-index: 1;
    width: 912px;
    max-height: 483px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: var(--radius-24);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    padding: 50px 18px 50px 50px;
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    transition: all var(--modal-duration) var(--ease-spring);
}

.review-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 30px;
    letter-spacing: -2%;
}

.review-modal--active .review-modal__window {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.review-modal__close {
    position: absolute;
    top: -12px;
    right: -22px;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.review-modal__close:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.review-modal__source {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-modal__source-icon {
    display: flex;
}

.review-modal__source-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--font-2-color);
}

.review-modal__name {
    font-size: 22px;
    line-height: 1;
    font-weight: 500;
    color: var(--font-2-color);
    margin-bottom: 14px;
}

.review-modal__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.review-modal__stars {
    display: flex;
    gap: 4px;
}

.review-modal__date {
    font-size: 18px;
    color: var(--text-hover-color);
}

.review-modal__text {
    font-size: 18px;
    line-height: 1.3;
    color: var(--font-color);
}

.review-modal__text p:not(:last-child) {
    margin-bottom: 16px;
}

.custom-scroll {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    position: relative;
}

.custom-scroll::-webkit-scrollbar {
    display: none !important;
}

.custom-scroll__track {
    position: absolute;
    right: 2px;
    width: var(--cs-width, 4px);
    background: var(--cs-track, rgba(241, 241, 241, 0.5));
    border-radius: var(--cs-radius, 2px);
    pointer-events: none;
    z-index: 100;
}

.custom-scroll__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 24px;
    background: var(--cs-thumb, #0F0F0F);
    border-radius: var(--cs-radius, 2px);
    cursor: pointer;
    pointer-events: auto;
}