:root {
    --primary: #28384A;
    --accent: #ff6600;
    --accent-dark: #e25500;
}


/* ----------------- BASE LAYOUT ----------------- */

html,
body {
    height: 100%;
}

body {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
}

.footer.first {
    margin-top: auto;
}


/* футер уезжает вниз, если контента мало */

.text-primary {
    color: var(--primary);
}

html {
    scroll-behavior: smooth;
}


/* ----------------- HEADER ----------------- */

header {
    background-color: var(--primary);
    color: #fff;
}

header.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(10px);
    color: var(--accent);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
}

header nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    height: 100%;
}

header .desktop-menu>a {
    position: relative;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    transition: color 0.3s ease;
}

header .desktop-menu>a::after {
    content: "";
    position: absolute;
    bottom: -25%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 999px;
}

header .desktop-menu>a:hover {
    color: var(--accent);
}

header .desktop-menu>a:hover::after {
    transform: scaleX(1);
}

.auth-menu>.login-link {
    all: unset;
    display: inline-block;
    box-sizing: border-box;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.auth-menu>.login-link:hover {
    filter: brightness(0.92);
}

.auth-menu>.login-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}


/* ----------------- HERO & CTA ----------------- */

.main-hero {
    background-color: var(--primary);
}

.cta-button {
    background-color: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: bold;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent);
}


/* ----------------- SECTIONS ----------------- */

.about-section {
    background-color: #fff;
    color: var(--primary);
}

.about-section h3,
.contact-section h3 {
    color: var(--accent);
}

.benefit-card {
    background-color: #fff;
    color: var(--primary);
    border-top: 4px solid var(--accent);
}

.benefits-section {
    background-color: var(--primary);
    color: #fff;
}

.contact-section {
    background-color: #f9f9f9;
    color: var(--primary);
}


/* ----------------- FOOTER ----------------- */

.footer.first {
    background-color: var(--primary);
    color: #fff;
    height: 80px;
}


/* ----------------- FAQ ----------------- */

.faq-section {
  background-color: var(--primary);
  color: #fff;
  padding-top: 0 !important;   /* убираем верхний отступ */
  margin-top: -40px;           /* чуть подтягиваем вверх */
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    opacity: 0;
    transition: max-height 0.6s ease, padding-top 0.6s ease, opacity 0.6s ease;
}

.faq-answer.open {
    max-height: 300px;
    padding-top: 1rem;
    opacity: 1;
}

.arrow {
    transition: transform 0.3s ease;
}

.rotate-180 {
    transform: rotate(180deg);
}


/* ----------------- LOGOS SLIDER ----------------- */

/* ----------------- LOGOS SLIDER (SEAMLESS) ----------------- */

#logos-container {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    background: #fff;
}

.logos-slide {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: logos-marquee 35s linear infinite;
    will-change: transform;
}

.logo-item {
    height: 4rem;
    width: auto;
    flex-shrink: 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.logo-item:hover {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* hover → կանգնեցնում ենք */
#logos-container:hover .logos-slide {
    animation-play-state: paused;
}

@keyframes logos-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .logos-slide {
        animation: none;
    }
}

/* ----------------- REVIEWS ----------------- */

.review-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
    overflow: hidden;
    padding-bottom: 8rem;
}

.review-card.first {
    margin-top: 50px;
}

.review-card {
    position: relative;
    width: 100%;
    max-width: 390px;
    height: auto;
    min-height: unset;
    background-color: #fff;
    border-left: 4px solid var(--accent);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .06);
    min-height: 180px;
    z-index: 20;
    transition: transform 0.3s ease;
}


.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    overflow: hidden;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
}

.review-role {
    font-size: 0.875rem;
    color: #6b7280;
}

.review-text {
    color: #374151;
    line-height: 1.6;
}

.review-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 6000px;
    pointer-events: none;
    z-index: 0;
}

.review-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #fff;
    font-weight: bold;
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    background-color: transparent;
    font-size: 30px;
}


@keyframes ring {
    0% {
        transform: rotate(0)
    }
    15% {
        transform: rotate(15deg)
    }
    30% {
        transform: rotate(-10deg)
    }
    45% {
        transform: rotate(10deg)
    }
    60% {
        transform: rotate(-5deg)
    }
    75% {
        transform: rotate(5deg)
    }
    100% {
        transform: rotate(0)
    }
}

.animate-ring {
    animation: ring 1s ease-in-out infinite;
    animation-delay: 4s;
}


/* ----------------- PRELOADER ----------------- */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
    pointer-events: none !important;
    /* отладка */
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

#preloader-logo {
    width: 200px;
    height: auto;
    animation: pulse 1.1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1
    }
    50% {
        transform: scale(1.05);
        opacity: .85
    }
    100% {
        transform: scale(1);
        opacity: 1
    }
}

#main-content {
    display: none;
    padding: 20px;
}


/* ----------------- LOGIN MODAL ----------------- */

#loginModal {
    z-index: 9999 !important;
}

#loginModal * {
    pointer-events: auto !important;
}


/* ≤640px: ревью в колонку, без сдвигов */

@media (max-width: 640px) {
    .review-card:nth-child(odd),
    .review-card:nth-child(even) {
        transform: translateX(0);
    }
    .review-flow {
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 2rem;
    }
}


/* ≤768px: мобильная графика/фон, скрыть линию, правки хедера/фона */

@media (max-width: 768px) {
    .review-line {
        display: none !important;
    }
    #preloader-logo {
        width: 150px !important;
        height: auto;
        animation: pulse 1.5s infinite;
    }
    body::before,
    body::after {
        display: none !important;
    }
    .review-card {
        transform: none !important;
        margin: 0 auto;
    }
    .footer {
        background-color: var(--primary);
        color: #fff;
        height: 80px;
    }
    header.fixed-top {
        background-color: rgba(255, 255, 255, 0.7)!important;
        backdrop-filter: saturate(180%) blur(10px);
        color: var(--accent) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    header.fixed-top .desktop-menu>a {
        color: #fff !important;
    }
    header.fixed-top .desktop-menu>a:hover {
        color: var(--accent) !important;
    }
    /* фон под шапкой + базовый фон */
    body {
        background: linear-gradient(to bottom, var(--primary) 0, var(--primary) 100px, #fff 100px, #fff 100%);
        min-height: 100vh;
        position: relative;
        z-index: 0;
    }
    html {
        background-color: var(--primary);
    }
    main {
        background-color: #fff;
        position: relative;
        z-index: 2;
        padding-bottom: 0 !important;
    }
/* фон под шапкой и базовый градиент */
body {
  background: linear-gradient(
    to bottom,
    var(--primary) 0,
    var(--primary) 100px,
    #fff 100px,
    #fff 100%
  );
  min-height: 100vh;
  position: relative;
  z-index: auto; /* убрали 0, чтобы не перекрывал canvas */
  overflow-x: hidden;
}

html {
  background-color: var(--primary);
}

/* контент — поверх звёзд */
main,
header,
footer {
  position: relative;
  z-index: 10;
  background: transparent;
  padding-bottom: 0 !important;
}
}

.floating-profile {
    position: fixed;
    top: 80px;
    /* чуть ниже шапки */
    right: 25px;
    /* прижат к правому краю */
    width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.floating-profile.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}


/* Верхняя часть */

.fp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    color: var(--primary);
    border-bottom: 1px solid #eee;
}

.fp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--accent);
}

.fp-info span {
    display: block;
    line-height: 1.2;
}

#fp-name {
    font-weight: 600;
}

#fp-hvhh {
    font-size: 0.85rem;
    opacity: 0.8;
}


/* Ссылки */

.fp-links {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.fp-links a {
    padding: 10px 14px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.fp-links a:hover {
    background: var(--accent);
    color: #fff;
}

.fp-links hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}

.logout-link {
    color: #d62828;
}

.logout-link:hover {
    background: #d62828;
    color: #fff;
}

.auth-menu img {
    transition: opacity 0.3s ease-in-out;
}

.auth-menu img.fade-out {
    opacity: 0;
}

.user-icon {
    color: var(--primary);
    transition: color 0.3s ease;
}

.login-link:hover .user-icon {
    color: var(--accent);
}

header .auth-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 8px;
    /* зазор перед бургером */
}

header .desktop-menu {
    flex: 1;
    justify-content: center;
}

header .right-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    /* расстояние между кнопкой и бургером */
    margin-right: 10px;
    /* прижимаем к краю */
}



.profile-btn-content .user-icon {
    color: var(--primary);
    transition: color 0.3s ease;
}

.profile-btn-content:hover span {
    color: var(--accent); /* Цвет текста при ховере */
}




/* Логотип — немного отступает от левого края */

header .logo-link {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

header .logo-link img {
    display: block;
    height: 4rem;
    object-fit: contain;
}

.logo-link img {
    display: block;
    height: 4rem;
    object-fit: contain;
}

.auth-menu .login-link {
    display: inline-flex;
    /* вместо просто inline */
    align-items: center;
    /* выравнивает по вертикали */
    justify-content: center;
    /* на всякий случай */
    background: transparent;
    color: var(--primary);
    padding: 0.5rem 0.9rem;
    border-radius: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
    gap: 0.4rem;
    /* расстояние между текстом и иконкой */
}


/* при наведении — фирменный стиль MASoft */

.auth-menu .login-link:hover {
    color: var(--accent);
}

#burgerBtn {
    margin-right: -20px;
    /* лёгкий зазор от правого края */
}


/* ----------------- Десктопная версия ----------------- */

@media (min-width: 1101px) {
    /* Логотип и ссылки по центру */
    header .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: none;
    }
    header .desktop-menu {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    /* Профиль прикреплен к правому краю */
    .auth-menu {
        margin-left: auto;
        margin-right: 0;
    }
    .auth-menu .login-link {
        display: inline-flex;
        /* вместо просто inline */
        align-items: center;
        /* выравнивает по вертикали */
        justify-content: center;
        /* на всякий случай */
        background: transparent;
        color: var(--primary);
        padding: 0.5rem 0.9rem;
        border-radius: 0.5rem;
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1;
        transition: all 0.3s ease;
        gap: 0.4rem;
        /* расстояние между текстом и иконкой */
    }
    /* при наведении — фирменный стиль MASoft */
    .auth-menu .login-link:hover {
        color: var(--accent);
    }
    /* Бургер на десктопе скрыт */
    .mobile-menu-button {
        display: none;
    }
}

.mobile-profile-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent);
    transition: color 0.3s ease;
    transform: translateY(-15px);
    margin-top: 10px;
    margin-right: -10px;
    /* 🔹 добавляем пространство справа */
}

.mobile-profile-button:hover {
    color: var(--accent-dark, #e25500);
}

.mobile-right-buttons {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    /* расстояние между иконками */
    z-index: 100;
}

.mobile-profile-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent);
    transition: color 0.3s ease;
    transform: translateY(-5px);
    /* чуть приподнимаем */
}

.mobile-profile-button:hover {
    color: var(--accent-dark, #e25500);
}

#mobileProfileBtn svg {
    width: 32px;
    /* или 30px, если хочешь чуть-чуть больше */
    height: 32px;
    /* раньше было w-7 h-7 = 28px */
}

.about-section h1 {
    margin-bottom: -40px;
    /* или 0 */
}

header .header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* 3 зоны */
    align-items: center;
}

header .logo-link {
    justify-self: start;
}

header .desktop-menu {
    justify-self: center;
}

header .right-controls {
    justify-self: end;
}


/* 💻 На десктопах (≥1101px): показываем auth-menu, скрываем мобильную кнопку */

@media (min-width: 1101px) {
    .mobile-profile-button {
        display: none !important;
    }
    .auth-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}


/* 🔸 Hover-эффект и плавность для мобильной кнопки */

.mobile-profile-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent);
    transition: color 0.3s ease, transform 0.2s ease;
}


/* =========================================================
   📱 Мобильная версия (≤1100px)
   ========================================================= */

@media (max-width: 1100px) {
    /* --- Базовая сетка хедера --- */
    header .header-container {
        position: relative;
        padding-left: 1rem;
        padding-right: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    /* --- Логотип по центру --- */
    .logo-link {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
    header .mobile-logo {
        height: 2.7rem;
        margin: 0;
    }
    /* --- Кнопка меню (бургер) --- */
    .mobile-menu-button,
    #burgerBtn {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--accent);
        margin-right: -20px;
        /* небольшой зазор справа */
    }
    /* --- Прячем десктопные элементы --- */
    .desktop-menu,
    .auth-menu>.login-link,
    .auth-menu {
        display: none !important;
        visibility: hidden !important;
    }
    /* --- Кнопка профиля (только иконка) --- */
    .mobile-profile-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: none;
        border: none;
        color: var(--accent);
        cursor: pointer;
        transition: color 0.3s ease, transform 0.2s ease;
        gap: 0;
    }
    /* --- Прячем текст "Մուտք" рядом с иконкой --- */
    .mobile-profile-button .mobile-profile-text {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    #mobileProfileBtn {
        margin-right: 10px;
    }
    #burgerBtn {
        margin-left: 8px;
    }
}

.auth-menu .login-link svg {
    position: relative;
    top: 2px;
    /* можно 3px, если хочешь ещё ниже */
}


/* =========================================================
   ✅ Единое, синхронное поведение sidebar + overlay
   ========================================================= */

#sidebarMenu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: #fff;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
}

#sidebarMenu.open {
    transform: translateX(0);
}


/* overlay — синхронно с sidebar */

#sidebarOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 80;
}

#sidebarOverlay.visible {
    opacity: 1;
    pointer-events: auto;
}


/* ----------------- SIDEBAR MENU LINKS ----------------- */

#sidebarMenu a {
    position: relative;
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 8px 0;
    transition: color 0.3s ease;
}

#sidebarMenu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 9999px;
}

#sidebarMenu a:hover {
    color: var(--accent);
}

#sidebarMenu a:hover::after {
    transform: scaleX(1);
}

#sidebarMenu a svg {
    color: inherit;
    transition: color 0.3s ease;
}

#sidebarMenu a:hover svg {
    color: var(--accent);
}


/* 🔸 Эффект увеличения логотипа при наведении */

.logo-link img {
    transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-link:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
    /* чуть светлее при наведении, необязательно */
}

.clear-btn {
    background: var(--accent);
    /* #ff6600 */
    color: #fff;
    /* белый крестик */
    border: none;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.clear-btn:hover {
    background: var(--accent-dark);
    /* #e25500 */
}

.clear-btn:active {
    transform: translateY(0);
    filter: brightness(0.95);
}


/* =========================================================
   🌌 ЗВЁЗДЫ + ФОН: правильная совместимость мобайл/десктоп
   ========================================================= */

/* базовое поведение — звёзды во всю страницу */
#bgStars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: transparent;
  z-index: 1;
  object-fit: cover;
}

#bgCanvas {
  display: none !important;
}

/* контент поверх звёзд */
main, footer {
  position: relative;
  z-index: 5;
  background: transparent !important;
}
header {
  position: relative;
  z-index: 5;
}

/* =========================================================
   📱 МОБАЙԼ (≤768px)
   ========================================================= */
@media (max-width: 768px) {
  body.review-page {
    background: var(--primary) !important;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
  }
  html.review-page {
    background: var(--primary) !important;
  }
}

/* =========================================================
   💻 ДЕСКТОՊ (≥769px)
   ========================================================= */
@media (min-width: 769px) {
  body.review-page {
    background: linear-gradient(
      to bottom,
      var(--primary) 0,
      var(--primary) 180px,
      var(--primary) 180px,
      var(--primary) 100%
    );
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
  }
  html.review-page {
    background-color: var(--primary);
  }
}

/* =========================================================
   🌟 Мерцающая звезда в заголовке
   ========================================================= */
.review-title svg {
  animation: twinkle 2.5s infinite ease-in-out;
  filter: drop-shadow(0 0 6px #ffcc00);
}
@keyframes twinkle {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 5px #ffcc00);
  }
  50% {
    transform: scale(1.25);
    opacity: 0.85;
    filter: drop-shadow(0 0 12px #ffd84d);
  }
}

/* =========================================================
   🎞️ Анимации карточек отзывов — адаптивно и стабильно
   ========================================================= */

/* Общая плавность */
.review-card {
  will-change: transform, opacity;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.9s ease-in-out;
  transform: translateY(0);
}

/* 📱 Мобайл — fade + подъем */
@media (max-width: 768px) {
  .review-card {
    opacity: 0;
    transform: translateY(60px);
  }
  .review-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   💻 ДЕСКТОП — расположение и подъем “вразброс”, как было
   ========================================================= */
@media (min-width: 769px) {
  /* Изначальное расположение (шахматка) */
  .review-card:nth-child(odd) {
    transform: translateX(-40%);
  }
  .review-card:nth-child(even) {
    transform: translateX(40%);
  }

  /* При появлении (подъем вверх, но сохраняется X-смещение) */
  .review-card.visible:nth-child(odd) {
    transform: translateX(-40%) translateY(-30px);
  }
  .review-card.visible:nth-child(even) {
    transform: translateX(40%) translateY(-30px);
  }

  .review-card {
    transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
}






