/* Базовые настройки */
:root {
  --page-bg: rgb(245, 247, 251);
  --page-bg-alt: rgb(255, 255, 255);
  --section-alt: rgb(249, 250, 251);
  --text-main: rgb(15, 23, 42);
  --text-muted: rgb(107, 114, 128);
  --accent-red: rgb(220, 38, 38);
  --accent-red-hover: rgb(185, 28, 28);
  --accent-green: rgb(15, 118, 110);
  --accent-green-hover: rgb(17, 94, 89);
  --border-main: rgb(229, 231, 235);
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 1280px;
}

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

html,
body {
  height: 100%;
}

body {
  color: var(--text-main);
  background: linear-gradient(
    to bottom,
    rgb(249, 250, 251) 0%,
    rgb(243, 244, 246) 45%,
    rgb(238, 242, 255) 100%
  );
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}

a {
  color: var(--accent-green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Верхняя панель */

.topbar {
  z-index: 30;
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border-main);
  background-color: #f8fafcf5;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  column-gap: 20px;
  row-gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  row-gap: 2px;
}

.brand__name {
  color: #0f172a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 800;
}

.brand__tagline {
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

.main-menu {
  margin-left: auto;
  display: flex;
  column-gap: 18px;
  row-gap: 18px;
  font-size: 13px;
}

.main-menu__link {
  position: relative;
  padding: 4px 0;
  color: #0f172a;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}

.main-menu__link:hover {
  opacity: 1;
  color: rgb(17, 24, 39);
}

.main-menu__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-green));
  transition: width 0.18s ease-out;
}

.main-menu__link:hover::after {
  width: 100%;
}

.topbar__actions {
  display: flex;
  column-gap: 8px;
  row-gap: 8px;
  margin-left: 16px;
}

/* Кнопки */

.btn-ui {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease-out, transform 0.15s ease-out,
    box-shadow 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}

.btn-ui.btn-ui--ghost {
  background-color: #ffffff;
  color: #111827;
  border-color: var(--border-main);
}

.btn-ui.btn-ui--red {
  background-image: linear-gradient(135deg, var(--accent-red), #ef4444);
  color: #fef2f2;
  border-color: #fecacae6;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
}

.btn-ui.btn-ui--green {
  background-image: linear-gradient(135deg, var(--accent-green), #14b8a6);
  color: #ecfdf5;
  border-color: #a7f3d0e6;
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.35);
}

.btn-ui--red:hover {
  background-image: linear-gradient(135deg, var(--accent-red-hover), var(--accent-red));
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(220, 38, 38, 0.45);
}

.btn-ui--green:hover {
  background-image: linear-gradient(135deg, var(--accent-green-hover), var(--accent-green));
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.45);
}

.btn-ui--ghost:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* Бургер и мобильное меню */

.burger {
  display: none;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.burger__lines {
  width: 18px;
  height: 14px;
  position: relative;
}

.burger__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background-color: #0f172a;
  transition: transform 0.18s, top 0.18s, bottom 0.18s, opacity 0.18s;
}

.burger__line--top {
  top: 0;
}

.burger__line--middle {
  top: 6px;
}

.burger__line--bottom {
  bottom: 0;
}

.burger--active .burger__line--top {
  top: 6px;
  transform: rotate(45deg);
}

.burger--active .burger__line--middle {
  opacity: 0;
}

.burger--active .burger__line--bottom {
  bottom: 6px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-main);
  background-color: #f8fafcfa;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.mobile-menu--open {
  display: block;
}

.mobile-menu__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 24px 12px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 8px;
}

.mobile-menu__link {
  padding: 4px 0;
  font-size: 14px;
  color: #0f172a;
}

/* Основной лейаут */

.landing {
  max-width: 100%;
  padding: 0;
}

.landing-section {
  width: 100%;
  padding: 64px 0;
  background-color: var(--page-bg-alt);
}

.landing-section--alt {
  background-color: var(--section-alt);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */

.section-inner.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: 32px;
  row-gap: 32px;
  align-items: center;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
}

.hero__badge {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background-color: #eef2ff;
  color: #3730a3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 32px;
  line-height: 1.12;
}

.hero__subtitle {
  max-width: 540px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px;
  margin-bottom: 12px;
}

.hero__note {
  font-size: 12px;
  color: var(--text-muted);
}

.hero__media {
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

/* Общие заголовки и сетки */

.section-title {
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 24px;
}

.section-lead {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-muted);
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 24px;
}

/* Карточки, медиа, списки, таблицы */

.card {
  padding: 14px 16px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background-color: #ffffff;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.card.inline-hhzmtfhn,
.card.inline-08kvuf5h,
.card.inline-duisfd5j {
  margin-top: 10px;
}

.card__title {
  margin-bottom: 4px;
  font-size: 15px;
  color: #0f172a;
}

.card__text {
  font-size: 14px;
  color: var(--text-muted);
}

.section-media {
  margin-top: 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.list-clean {
  list-style: none;
  font-size: 14px;
}

.list-clean li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.list-clean li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 12px;
  color: var(--accent-green);
}

.data-table {
  width: 100%;
  margin-top: 8px;
  font-size: 13px;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background-color: #ffffff;
}

.data-table th,
.data-table td {
  padding: 7px 9px;
  text-align: left;
  border-bottom: 1px solid rgb(229, 231, 235);
}

.data-table th {
  background: rgb(249, 250, 251);
  color: var(--text-muted);
  font-weight: 500;
}

.data-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.data-table tbody tr:nth-child(even) {
  background: rgb(249, 250, 251);
}

/* FAQ */

.faq-list__item {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.faq-list__question {
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--accent-green);
}

.faq-list__answer {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Отзывы */

.reviews-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 12px;
}

.reviews-grid__item {
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.reviews-grid__author {
  margin-bottom: 4px;
  font-size: 14px;
  color: #0f172a;
}

.reviews-grid__text {
  font-size: 13px;
  color: var(--text-muted);
}

/* CTA‑блоки и inline‑контейнеры */

.section-inner.inline-ge5xx90v {
  text-align: center;
}

.section-le.inline-nf1k7udm {
  max-width: 560px;
  margin: 0 auto 16px;
}

.inline-v013qp0q {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px;
  margin-top: 12px;
}

.inline-3x2r2x27 {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 10px;
  row-gap: 10px;
}

/* Футер */

.site-footer {
  margin-top: 8px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--border-main);
  background-color: #020617;
  color: #94a3b8;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.8fr;
  column-gap: 18px;
  row-gap: 18px;
  font-size: 13px;
}

.site-footer__title {
  margin-bottom: 6px;
  font-size: 14px;
  color: #e5e7eb;
}

.site-footer__text {
  margin-bottom: 6px;
  font-size: 13px;
  color: #94a3b8;
}

.site-footer__list {
  list-style: none;
}

.site-footer__list-item {
  margin-bottom: 4px;
}

.site-footer__bottom {
  max-width: var(--max-width);
  margin: 10px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: 11px;
  color: #64748b;
}

/* Служебный контейнер от Webflow можно скрыть */
.styles-elements {
  display: none;
}

/* Адаптив */

@media (max-width: 1024px) {
  .section-inner.hero {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-items: center;
    column-gap: 32px;
    row-gap: 32px;
  }

  .hero__media {
    order: -1;
  }

  .grid-two {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 780px) {
  .main-menu {
    display: none;
  }

  .topbar__actions {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .topbar__inner {
    padding-inline: 16px;
  }
}

@media (max-width: 640px) {
  .landing-section,
  .landing-section--alt {
    padding: 32px 0;
  }

  .section-inner {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 24px;
  }

  .grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
