@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

/* =============== VARIABLES =============== */
:root {
  --bg-body: #17151f;
  --text-main: #f9fafb;
  --text-muted: #d1d5db;

  --primary: #9747ff;
  --primary-dark: #a344ff;
  --primary-soft: #2f204d;

  --card-bg: #221c36;
  --card-soft: #241f3a;
  --border-soft: rgba(255, 255, 255, 0.12);

  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* =============== BASE =============== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Mulish",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 16px;
  background-image: url(../img/bg.svg);
  background-position: top center;
  background-size: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  padding: 280px 0;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.section-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.3;
  margin: 0 0 32px;
  text-align: center;
  color: var(--text-main);
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 32px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #dd4dff 0%, #b854ff 100%);
  color: #fff;
  box-shadow: 0 0 32px rgba(216, 80, 255, 0.6);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 16px rgba(216, 80, 255, 0.4);
}

/* =============== TOP / HERO =============== */
.top {
  position: relative;
  padding: 24px 0 100px;
  overflow: hidden;
}

.top::before {
  content: "";
  position: absolute;
  inset: -140px;
  background: radial-gradient(circle at 50% -10%, rgba(184, 84, 255, 0.45) 0, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.header {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  gap: 196px;

  width: 100%;
  height: 127px;
  background: linear-gradient(172.01deg, #fff 6.17%, #9747ff 169.26%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

  font-family: "Mulish";
  font-style: normal;

  color: #0a0b0b;
  user-select: none;
}

.logo {
  width: 201px;
  height: 87px;
  background: url("../img/Logo.svg") no-repeat left center / contain;
}

.desktop-nav .navigation {
  display: flex;
  align-items: center;
  gap: 54px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .navigation a {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  color: #0a0b0b;
}

.desktop-nav .navigation a:hover,
.desktop-nav .navigation a.active,
.desktop-nav .navigation a[aria-current="page"] {
  color: #124c98;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header-contacts .row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.header-email {
  border-top: 1px solid #0a0b0b;

  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Mulish";
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  color: #0a0b0b;
}

.header-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icon img {
  width: 16px;
  height: 16px;
}

.burger {
  display: none;
  width: 24px;
  height: 16px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger img {
  width: 24px;
  height: 16px;
}

/* hero layout */
.hero {
  position: relative;
  z-index: 1;
  margin-top: 130px;
  text-align: center;
}

.hero-title {
  margin: 0 auto;
  max-width: 844px;
  font-family: "Mulish";
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 115%;
  text-align: center;
  color: #fff;
}

.hero-desc {
  margin: 32px auto 32px;
  max-width: 844px;

  font-family: "Mulish";
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  text-align: center;

  color: #fff;
}

.hero-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 16px 32px;
  gap: 12px;

  width: 442px;

  background: #9747ff;
  border-radius: 40px;

  font-family: "Mulish";
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  color: #fff;
}

/* ====== mobile menu panel / overlay (shared with JS) ====== */
.menu-panel[hidden] {
  display: none !important;
}

.menu-panel {
  user-select: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 301px;
  height: 375px;

  padding: 32px 24px 24px;

  background: linear-gradient(180deg, #343236 50.75%, #9747ff 100%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 0px 0px 30px 30px;
  z-index: 60; /* выше overlay */
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* крестик в правом верхнем углу меню */
.menu-close {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 21px;
  height: 20px;
  background-image: url(../img/menu-close.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.menu-panel .navigation {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-panel .navigation a {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 125%;
  color: #fff;
}

.menu-panel .navigation a.active {
  color: #ffe082;
}

.menu-overlay[hidden] {
  display: none !important;
}

/* чёрный фон 40% под меню */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 40;
}

/* =============== STRUCTURE =============== */
.section-structure {
  position: relative;
}

.section-structure .section-title {
  margin: 0 auto 28px;
  max-width: 846.5px;
  font-family: "Mulish";
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 125%;
  text-align: center;
  color: #fff;
}

.structure-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 0;
  margin: 0 auto;
}

.structure-list li {
  position: relative;
  padding-left: 32px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 120%;
  color: #fff;
}

.structure-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
}

/* =============== TASKS =============== */
.section-tasks {
  padding-top: 100px;
}

.tasks-bg {
  padding: 56px 0 64px;
  text-align: center;
}

.tasks-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

/* swiper для задач (по умолчанию скрыт, только мобилка включает) */
.tasks-swiper {
  display: none;
  margin-top: 32px;
}

.tasks-swiper .swiper {
  width: 100%;
}

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

.tasks-swiper .task-card {
  height: 100%;
}

.task-card {
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 18px;

  max-width: 556px;

  background: linear-gradient(180deg, #9747ff -77.66%, #343236 54.22%);
  border-radius: 30px;
  color: #fff;

  border: 1px solid var(--primary);
}

.task-card h3 {
  margin: 0 auto;
  text-align: center;
  font-family: "Mulish";
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  color: #fff;
}

.task-card p {
  margin: 0;
  text-align: left;
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}

.task-link {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 32px;
  gap: 12px;
  width: 100%;
  height: 44px;
  background: #9747ff;
  border-radius: 40px;
  font-family: "Mulish";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #f2f2f2;
}

/* =============== BENEFITS =============== */
.section-benefits {
  padding-top: 72px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 28px;
}

.benefit-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px 40px;
  gap: 16px;

  max-width: 511px;
  height: 140px;

  background: linear-gradient(172.01deg, #fff 6.17%, #9747ff 169.26%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
}

.benefit-icon img {
  min-width: 100px;
  min-height: 100px;
}

.benefit-text {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  color: #000;
}

/* swiper для преимуществ (по умолчанию скрыт, только мобилка включает) */
.benefits-swiper {
  display: none;
  margin-top: 28px;
}

.benefits-swiper .swiper {
  width: 100%;
}

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

.benefits-swiper .benefit-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
}

.benefit-icon img {
  min-width: 74px;
  max-width: 74px;
  min-height: 74px;
}

/* =============== REVIEWS =============== */
.section-reviews {
  padding-top: 72px;
}

.section-reviews .section-title {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 125%;
  text-align: center;
  color: #fff;
}

/* full-bleed: блок на всю ширину, внутренние отступы через padding */
.reviews-swiper {
  display: block;
  margin-top: 28px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  /* padding-inline: 16px; */
}

.reviews-swiper .swiper {
  width: 100%;
}

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

.reviews-swiper .swiper-slide {
  width: auto; /* ширину задаёт .review-card */
  height: auto;
  display: flex;
}

/* карта отзыва */
.review-card {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 24px 24px 22px;
  gap: 18px;

  width: 100%;
  max-width: 492px;

  background: linear-gradient(180deg, #9747ff -77.66%, #343236 54.22%);
  border-radius: 30px;
  border: 1px solid #9747ff;
  color: #fff;
}

/* верхняя строка: фото, ФИО, дата + рейтинг справа */
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name {
  margin: 0;
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
}

.review-date {
  margin: 0;
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #fff;
}

/* рейтинг звёздами */
.review-rating {
  position: absolute;
  top: 32px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.review-rating img {
  width: 20px;
  height: 20px;
}

/* текст отзыва */
.review-text {
  margin: 0;
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #fff;
}

.reviews-swiper .swiper-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  user-select: none;
}

.reviews-swiper .swiper-button-prev,
.reviews-swiper .swiper-button-next {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  --swiper-navigation-size: 14px;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.reviews-swiper .swiper-button-prev:hover,
.reviews-swiper .swiper-button-next:hover {
  background: rgba(109, 75, 255, 0.1);
}

.reviews-swiper .swiper-button-disabled {
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #9ca3af !important;
  background: transparent !important;
  opacity: 1 !important;
}

/* =============== CTA =============== */
.section-cta {
  padding-top: 72px;
  padding-bottom: 96px;
}

.cta-box {
  border-radius: 32px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
}

.cta-box h3 {
  margin: 0;
  max-width: 620px;
  font-family: "Mulish";
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 125%;
  color: #fff;
}

.cta-btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 32px;
  gap: 12px;

  width: 475px;
  max-width: 100%;
  height: 62px;

  background: #9747ff;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15);
  border-radius: 40px;

  font-family: "Mulish";
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;

  color: #fff;
}

/* =============== FAQ =============== */
.section-faq {
  padding-top: 64px;
}

.section-faq .section-title {
  text-align: center;
  font-family: "Mulish";
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 125%;
  color: #fff;
}

.grid2 ul {
  list-style: none;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}

.grid2 li {
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 15px 40px 20px;
  gap: 10px;

  width: 100%;
  background: linear-gradient(90deg, #9747ff 0%, #343236 56.52%);
  border-width: 0px 0px 1px 1px;
  border-style: solid;
  border-color: #9747ff;
  border-radius: 30px 0px 0px 30px;
}

.grid2 .row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.grid2 .num {
  display: flex;
  justify-content: center;
  align-items: center;

  min-width: 52px;
  max-width: 52px;
  min-height: 52px;
  max-height: 52px;

  background: #fff;
  border-radius: 50%;
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 43px;
  text-transform: uppercase;
  color: #5d3dd6;
}

.grid2 .question {
  width: 100%;
  flex: 1 1 auto;
  font-family: "Mulish";
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  color: #fff;
}

.grid2 .plus {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  border: none;
  background: url("../img/plus.svg") no-repeat center/contain;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.grid2 .plus[aria-expanded="true"] {
  transform: rotate(45deg);
}

.grid2 .answer {
  margin-left: calc(52px + 16px);
  margin-top: 6px;
  font-size: 24px;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.35s ease;
}

.grid2 li.is-open .answer {
  max-height: 260px;
  opacity: 1;
}

.grid2 li,
.grid2 .answer {
  max-width: 100%;
  overflow-x: hidden;
  word-break: break-word;
}

/* =============== FOOTER =============== */
.footer {
  color: #fff;
  padding: 28px 0 32px;
  background: linear-gradient(90deg, #9747ff 0%, #38264f 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 32px;
  align-items: flex-start;
}

.footer-block--company {
  margin-top: -16px;
}

.footer-block--company p {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #fff;
}

.footer-policy {
  display: inline-flex;
  width: 143px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 200;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  color: #fff;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.footer-links a {
  font-weight: 600;
  font-size: 15px;
}

.footer-block--subscribe {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-subscribe-title {
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.footer-subscribe {
  position: relative;
  width: 100%;
}

.footer-input {
  width: 100%;
  padding: 9px 34px 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: transparent;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
}

.footer-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.footer-subscribe img {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* =============== MEDIA ≤1024 =============== */
@media (max-width: 1024px) {
  .section {
    padding: 64px 0;
  }

  .header {
    padding-inline: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }

  .menu-panel {
    right: 0;
  }
}

@media (max-width: 1200px) {
  .benefit-text {
    font-size: 20px;
  }
}

/* =============== MEDIA ≤719 (МОБИЛКА) =============== */
/* =============== MEDIA ≤719 (МОБИЛКА) =============== */
@media (max-width: 719px) {
  .section {
    padding: 48px 0;
  }

  .container {
    width: 100%;
  }

  .top {
    padding: 16px 0 56px;
  }

  /* Header — мобильный вариант по макету */
  .header {
    padding: 19px 16px 19px 0;
    gap: 12px;
    width: 100%;
    height: 66px;
    justify-content: space-between;
    background: linear-gradient(172.01deg, #fff 6.17%, #9747ff 169.26%);
    box-shadow: 0px 3.84116px 3.84116px rgba(0, 0, 0, 0.25);
  }

  /* НА МОБИЛКЕ: в хедере только logo + burger */
  .desktop-nav {
    display: none;
  }

  .header-contacts {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .logo {
    width: 134px;
    height: 58px;
  }

  .hero {
    margin-top: 120px;
    text-align: center;
  }

  .hero-title {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    text-align: center;
    color: #fff;
  }

  .hero-desc {
    font-size: 16px;
    margin: 14px 0 24px;
    text-align: center;
  }

  .hero-btn {
    width: 95%;
    font-family: "Mulish";
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    color: #fff;
  }

  .menu-panel {
    right: 0;
    top: 0;
    width: 301px;
    height: 375px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .section-structure .section-title {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    text-align: center;
    color: #fff;
  }

  .structure-list {
    padding-left: 40px;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .structure-list li {
    font-size: 16px;
    padding-left: 24px;
  }

  .structure-list li::before {
    width: 12px;
    height: 12px;
  }

  .tasks-bg {
    padding: 40px 0 46px;
  }

  .section-title--light {
    font-size: 24px;
  }

  .tasks-grid {
    display: none;
  }

  .tasks-swiper {
    display: block;
  }

  /* Преимущества: вместо сетки — слайдер */
  .benefits-grid {
    display: none;
  }

  .benefits-swiper {
    display: block;
  }

  .benefit-card {
    padding: 16px 18px;
    height: auto;
  }

  .benefit-text {
    font-size: 16px;
  }

  .section-reviews .section-title {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    text-align: center;
    color: #fff;
  }

  .review-text {
    font-size: 16px;
  }

  .review-name {
    font-size: 18px;
  }

  .review-card {
    width: 100%;
    min-width: 100%;
    max-width: 85vw;
  }

  .review-rating {
    top: 16px;
  }

  .cta-box {
    gap: 20px;
  }

  .cta-box h3 {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    text-align: center;
    color: #fff;
  }

  .cta-box .cta-btn {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 125%;
    color: #fff;
  }

  .section-faq .section-title {
    font-size: 24px;
  }

  .grid2 ul {
    margin-top: 20px;
  }

  .grid2 li {
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 12px;
    gap: 35px;
    margin: 0 auto;
    width: 92%;
    min-height: 60px;
    background: linear-gradient(90deg, #9747ff 0%, #343236 100%);
    border-radius: 20px 0px 0px 20px;
  }

  .grid2 .num {
    min-width: 22px;
    max-width: 22px;
    min-height: 22px;
    max-height: 22px;
    font-size: 14px;
  }

  .grid2 .question {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 125%;
    color: #fff;
  }

  .grid2 .plus {
    max-width: 22px;
    max-height: 22px;
  }

  .grid2 .answer {
    margin-left: calc(26px + 10px);
    font-size: 14px;
  }

  /* ===== FOOTER: 2 колонки на мобиле ===== */

  .footer-inner {
    padding-inline: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto; /* 1-я колонка — компания, 2-я — соцсети */
    column-gap: 16px;
    row-gap: 16px;
    align-items: flex-start;
    text-align: left;
  }

  /* 1-я колонка — остаётся как сейчас */
  .footer-block--company {
    margin-top: 0;
  }

  /* Меню ссылок на мобиле не показываем */
  .footer-links {
    display: none;
  }

  /* 2-я колонка — только иконки соцсетей */
  .footer-block--subscribe {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 100%;
  }

  .footer-subscribe-title,
  .footer-subscribe {
    display: none; /* убираем заголовок и поле ввода */
  }

  .footer-socials {
    margin: 0;
  }

  .footer-policy {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 10px;
    max-width: 18em;
  }
}

@media (min-width: 1600px) {
  .reviews-swiper .swiper-nav {
    display: none;
  }
}


.page__content {
  max-width: 1300px;
  margin: 30px auto 100px;
  padding: 0 15px;
  color: #fff;
}
.page__content p,
.page__content li {
  font-size: 18px;
}
.page__content a {
  text-decoration: underline;
}
.page__content > *:not(:last-child) {
  margin-bottom: 1em;
}

nav li { position: relative; width: 100%; }
nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  color: #0a0b0b;
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s ease;
}
nav a:hover { color: #0e71f2; }

/* шевроны */
nav .chevron { display: inline-flex; line-height: 0; transition: transform .2s ease; }

/* родитель с подменю */
nav li.has-children { position: relative; }

/* показать подменю по hover и focus-within (все уровни) */
nav li.has-children:hover > .sub-menu,
nav li.has-children:focus-within > .sub-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* Базовый дропдаун (уровень 2: depth=1, выпадает вниз) */
nav .sub-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  margin: 0;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px 0 #0a0b0b26;
  z-index: 50;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 16px;
  transition: opacity .15s ease, visibility 0s;
  opacity: 0;
  visibility: hidden;
  min-width: 220px;
}

/* «мостик» для уровня 2 */
nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -16px;
  height: 16px;
}

/* Флайаут (уровень 3: sub-menu внутри sub-menu — вправо) */
nav .sub-menu .sub-menu {
  top: -16px;
  left: calc(100% + 16px); /* смещение вправо от родителя */
  /* чтобы перекрытия были поверх соседей */
  z-index: 60;
}

/* Мостик для флайаута (перехват hover между 2-м и 3-м уровнем) */
nav .sub-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: 0; left: -16px;
  width: 16px; height: 100%;
}

/* Повороты шевронов при раскрытии */
nav li.depth-0.has-children:hover > a .chevron-down,
nav li.depth-0.has-children:focus-within > a .chevron-down {
  transform: rotate(180deg);
}
nav li.depth-1.has-children:hover > a .chevron-right,
nav li.depth-1.has-children:focus-within > a .chevron-right {
  transform: translateX(2px); /* лёгкий «толчок» вместо поворота */
}

/* сглаживание исчезновения */
@media (hover:hover) and (pointer:fine) {
  nav li.has-children > .sub-menu {
    transition: visibility .2s step-end, opacity .2s;
    opacity: 0; visibility: hidden;
  }
  nav li.has-children:hover > .sub-menu {
    opacity: 1; visibility: visible;
    transition: opacity .15s ease, visibility 0s;
  }
}

/* Уточнения для корня, чтобы горизонтальный ряд не ломался */
nav > ul { align-items: center; }
nav > ul > li { width: auto; }