/* Плавная прокрутка по якорям (кнопка «Начать» → блок Пакеты) */
:root {
  --header-offset: 88px;
  --page-padding-x: clamp(24px, 6vw, 160px);

  --container-width: 1440px;
  --container-padding-x: 112px;
}

@media (max-width: 1440px) {
  :root {
    --container-width: 100%;
    --container-padding-x: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 100%;
    --container-padding-x: 16px;
  }
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h2 {
  font-family: "Onest", sans-serif;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  color: #07070a;
  margin-bottom: 24px;
}

/* Убираем CSS-переменные для chat-bubbles, управляем через JS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  line-height: 1.2;
  color: #1a1a1a;
  background-color: #f1f8fb;
  transition: all 0.3s ease-in-out;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-offset);
}

p {
  margin-bottom: 16px;
  line-height: 160%;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 40px 0;
  background: #f1f8fb;
  z-index: 100;
  transition:
    padding 0.25s ease,
    box-shadow 0.25s ease;
}

.header .container {
  max-width: none;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

.logo {
  text-decoration: none;
}

.logo-image {
  width: 120px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.header-actions {
  width: 348px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.header-nav {
  width: 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.header-link {
  height: 44px;
  border-radius: 16px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #07070a;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  transition: color 0.3s;
}

.header-link:hover {
  color: #07070a;
  opacity: 0.8;
}

.header-link.is-active {
  font-weight: 700;
}

.header-login-btn {
  width: 108px;
  height: 48px;
  border-radius: 16px;
  padding: 10px 24px;
  background: #52b4c5;
  color: #ffffff;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

nav {
  padding: 16px 24px;
  background: #fff;
  border-radius: 16px;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #00b4d8;
}

nav .icon-home {
  width: 24px;
  height: 24px;
}

.cta-button {
  color: white;
  padding: 12px 36px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  height: 44px;
  border-radius: 10px;
  padding-top: 12px;
  padding-right: 36px;
  padding-bottom: 12px;
  padding-left: 36px;
  background: #52b4c5;
}

.cta-button:hover {
  background: #399aab;
}

.cta-button.disabled {
  background: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.cta-button.disabled:hover {
  background: #cccccc;
}

/* Hero Section */
.hero {
  position: relative;
  color: #07070a;
  background: #f1f8fb;
  display: flex;
  flex-direction: column;
}

.hero .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 400px;
  flex-shrink: 0;
  margin-top: 60px;
  margin-bottom: 28px;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

.hero h1 {
  font-family: "Onest", "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.25;
  color: #07070a;
  max-width: 610px;
}

.hero .description {
  width: 850px;
  font-size: 20px;
  line-height: 1.4;
  color: #393c3d;
  margin-top: -8px;
  max-width: 530px;
}

.hero-cta-block {
  width: 289px;
  height: 72px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-cta-btn {
  border-radius: 16px;
  padding: 10px 24px 9px;
  background: #c1f328;
  color: #07070a;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero-trial {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #919191;
  margin: 0;
  text-align: center;
}

.hero-visual {
  width: 348px;
  height: 348px;
  flex-shrink: 0;
  filter: drop-shadow(0 20px 30px #35757652);
}

.hero-partners {
  max-width: 100%;
  min-height: 140px;
  margin: 0 auto;
  padding-bottom: 55px;
  flex-shrink: 0;
}

.hero-partners-title {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  color: #393c3d;
  margin: 0 0 20px;
  text-align: center;
}

.hero-partners-logos {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  row-gap: 24px;
}

.partner-logo-wrap {
  position: relative;
  display: inline-block;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.partner-logo-wrap:hover {
  opacity: 1;
}

.partner-logo-wrap .partner-logo-bw,
.partner-logo-wrap .partner-logo-color {
  display: block;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.partner-logo-wrap .partner-logo-bw {
  position: relative;
  z-index: 1;
  opacity: 1;
}

.partner-logo-wrap .partner-logo-color {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0;
}

.partner-logo-wrap .partner-fin {
  width: 189px;
  height: 60px;
}

.partner-logo-wrap:hover .partner-logo-bw {
  opacity: 0;
}

.partner-logo-wrap:hover .partner-logo-color {
  opacity: 1;
}

.partner-evotor {
  width: 229px;
  height: 40px;
  margin-top: 8px;
}

.partner-yofin {
  width: 148px;
  height: 48px;
}

.partner-gigachat {
  width: 155px;
  height: 48px;
}

.partner-finash {
  width: 189px;
  height: 60px;
  margin-top: -6px;
}

.partner-everypay {
  width: 244px;
  height: 40px;
  margin-top: 8px;
}

.chat-bubbles {
  position: relative;
  margin-top: 0;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.chat-bubbles.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble {
  background: #f8f9fa;
  padding: 32px;
  border-radius: 20px;
  max-width: 640px;
  max-height: 337px;
  margin: 20px auto;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(82, 180, 197, 0.2) 6.56%,
    rgba(82, 180, 197, 0) 100.29%
  );
}

.chat-bubble::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid #dff0f4;
  top: -15px;
  left: calc(50% - 20px);
}

.chat-bubble p {
  text-align: left;
  font-size: 20px;
  line-height: 160%;
  font-weight: 400;
  margin-bottom: 16px;
}

.chat-bubble.top {
  margin-bottom: 40px;
}

.chat-bubble.bottom {
  margin-top: 40px;
}

.sparkle {
  color: #ffd700;
  font-size: 20px;
}

/* Partners Section */
.partners {
  padding: 60px 0;
  background: #f8fafb;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.partner-logo {
  font-size: 18px;
  font-weight: 600;
  color: #666;
  padding: 16px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
}

/* Benefits section — Чем полезен Fiamo */
.benefits-section {
  padding: 80px var(--container-padding-x) 55px;
  background: #1b5059;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  display: flex;
  flex-direction: column;
  scroll-margin-top: var(--header-offset);
}

.benefits-content {
  width: 100%;
}

.benefits-title {
  width: 100%;
  color: #ffffff;
  padding: 0;
  text-align: left;
}

.benefits-viewport {
  flex: 1;
  align-self: stretch;
  width: calc(100% + 2 * var(--container-padding-x));
  min-width: 0;
  margin-left: calc(-1 * var(--container-padding-x));
  margin-right: calc(-1 * var(--container-padding-x));
  overflow-x: hidden;
  overflow-y: visible;
  cursor: grab;
  touch-action: pan-y;
  padding: 24px 0;
  display: flex;
  align-items: center;
}

.benefits-viewport:active {
  cursor: grabbing;
}

.benefits-track {
  display: flex;
  gap: 24px;
  width: fit-content;
  will-change: transform;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.benefit-card {
  flex-shrink: 0;
  width: 340px;
  min-height: 520px;
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.benefit-card:nth-child(1) {
  background: #f1f8fb;
}
.benefit-card:nth-child(2) {
  background: #52b4c5;
}
.benefit-card:nth-child(3) {
  background: #f1f8fb;
}
.benefit-card:nth-child(4) {
  background: #ffffff;
}
.benefit-card:nth-child(5) {
  background: #52b4c5;
}
.benefit-card:nth-child(6) {
  background: #f1f8fb;
}

.benefit-card:nth-child(2) h3,
.benefit-card:nth-child(2) p,
.benefit-card:nth-child(5) h3,
.benefit-card:nth-child(5) p {
  color: #ffffff;
}

.benefit-card h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.benefit-card p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #666;
  margin: 0;
}

.benefit-card-icon {
  position: absolute;
  bottom: -45px;
  right: -35px;
  width: 320px;
  height: 320px;
  max-width: calc(100% - 48px);
  object-fit: contain;
  object-position: right bottom;
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
  margin-top: 30px;
}

.feature-card:nth-child(1) {
  grid-area: 1 / 1 / 2 / 2;
}

.feature-card:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
}

.feature-card:nth-child(3) {
  grid-area: 1 / 3 / 2 / 4;
}

.feature-card:nth-child(4) {
  grid-area: 2 / 1 / 3 / 3;
}

.feature-card:nth-child(5) {
  grid-area: 2 / 3 / 3 / 4;
}

.ai-analytics-card {
  grid-area: 1 / 4 / 3 / 5;
  height: 100%;
}

.feature-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(82, 180, 197, 0.1);
  border-color: #52b4c5;
}

.feature-card.with-bg {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
}

.feature-bg {
  background:
    url("../images/line1.svg"),
    linear-gradient(110.98deg, #76b8cc 1.39%, #c2dae3 100%);
  background-size:
    100% 100%,
    100% 100%;
  background-repeat: no-repeat, no-repeat;
  background-position:
    center 30px,
    center;
  border-radius: 16px;
  width: 100%;
  height: 100%;
}

.ai-analytics-bg {
  background:
    url("../images/line2.svg"),
    linear-gradient(110.98deg, #76b8cc 1.39%, #c2dae3 100%);
  background-size:
    100% 100%,
    100% 100%;
  background-repeat: no-repeat, no-repeat;
  background-position:
    center 0,
    center;
  border-radius: 16px;
  width: 100%;
  height: 100%;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(82, 180, 197, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.feature-card p {
  color: #8a9399;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.feature-card.with-graphic {
  overflow: hidden;
}

.feature-graphic {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    135deg,
    rgba(82, 180, 197, 0.1) 0%,
    rgba(82, 180, 197, 0.05) 100%
  );
  border-radius: 0 0 16px 16px;
  opacity: 0.6;
}

.feature-graphic::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(82, 180, 197, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(82, 180, 197, 0.2) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 40%,
      rgba(82, 180, 197, 0.1) 50%,
      transparent 60%
    );
  border-radius: 8px;
}

/* How it works section */
.how-it-works {
  padding: 80px 0 85px;
}

.how-it-works-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 70px;
  margin-bottom: 70px;
}

.how-it-works-content .section-subtitle {
  margin-bottom: 35px;
}

.how-it-works-content .section-description p {
  margin-bottom: 16px;
  line-height: 160%;
}

.how-it-works-content > div:first-child {
  max-width: 350px;
}

.analytics-description-wrapper {
  max-width: 450px !important;
}

.image-container {
  width: 100%;
}

.image-container img {
  width: 100%;
  height: auto;
}

.image-container.double {
  max-width: 1200px;
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.image-container.double img:first-child {
  width: calc(59.5% - 20px);
  flex-shrink: 0;
}

.image-container.double img:last-child {
  width: calc(40.5% - 20px);
  flex-shrink: 0;
}

/* Security Section */
.security {
  padding: 80px 0 140px;
  background: #ffffff;
}

.security-container {
  width: 100%;
  padding: 0 var(--container-padding-x);
  max-width: var(--container-width);
  margin: 0 auto;
}

.security-title {
  color: #07070a;
  margin: 0 0 24px 0;
  padding: 0;
}

.security-columns {
  display: grid;
  grid-template-columns: 2.52fr 1fr;
  gap: 24px;
  margin-top: 0;
}

.security-block {
  border-radius: 16px;
  padding: 40px 24px;
  text-align: left;
  position: relative;
  overflow: visible;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.security-confidentiality {
  background: #f1f8fb;
  overflow: hidden;
}

.security-block-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.security-confidentiality .security-block-content {
  max-width: 65%;
}

.security-protection {
  background: #d3ebf1;
  flex-direction: column;
  gap: 12px;
}

.security-block-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #07070a;
}

.security-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #07070a;
  position: relative;
  padding-left: 20px;
}

.security-list li::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #92c4d4;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 7px;
}

.security-list-confidentiality li .security-point,
.security-list-protection li .security-point {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 10px;
  object-fit: contain;
}

.security-registry {
  position: relative;
  margin-top: 24px;
  width: 100%;
  height: 156px;
  padding: 40px;
  padding-right: 240px;
  background: #52b4c5;
  border-radius: 60px;
  overflow: hidden;
}

.security-registry-text {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.36;
  color: #ffffff;
  align-self: center;
}

.security-confidentiality .security-card-illustration {
  position: absolute;
  right: -35px;
  bottom: -70px;
  width: 320px;
  height: 320px;
  display: block;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}

.security-registry-illustration {
  position: absolute;
  top: 10px;
  right: 30px;
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.security .section-description {
  text-align: center;
  font-size: 16px;
  line-height: 160%;
  font-weight: 400;
  color: #8a9399;
  margin-bottom: 50px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.security-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.security-card:hover {
  transform: translateY(-5px);
}

.security-icon {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
}

.central-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: #00b4d8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 40px;
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: #f8f9fa;
}

.pricing-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pricing-left h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.pricing-right h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.pricing-right p {
  color: #666;
  margin-bottom: 30px;
}

.pricing-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-option {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  position: relative;
}

.pricing-option.featured {
  border-color: #00b4d8;
  background: linear-gradient(135deg, #f0fdfd 0%, #ffffff 100%);
}

.pricing-option h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.pricing-option .price {
  font-size: 20px;
  font-weight: 700;
  color: #00b4d8;
}

.discount-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #ff6b6b;
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.featured-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #00b4d8;
  font-size: 20px;
}

/* Reviews & FAQ Section (Отзывы клиентов + Вопросы и ответы) */
.reviews-faq-section {
  width: 100%;
  max-width: 100%;
  background: #f1f8fb;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  padding: 48px clamp(24px, 6vw, 160px) 80px;
  margin: 0 auto;
}

.reviews-faq-inner {
  max-width: none;
  width: 100%;
  margin: 0;
}

/* Reviews Block */
.reviews-block {
  margin-bottom: 80px;
}

.reviews-title {
  font-family: Onest, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  color: #07070a;
  text-align: center;
  margin: 0 0 74px;
}

.reviews-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reviews-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reviews-block .testimonial-card {
  background: #d3ebf1;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #52b4c5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.testimonial-name {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #07070a;
}

.testimonial-role {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #919191;
}

.reviews-block .testimonial-text {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #07070a;
  margin: 0;
}

.reviews-selector {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(82, 180, 197, 0.4);
  cursor: pointer;
}

.reviews-dot.active {
  background: #52b4c5;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: #ffffff;
}

.cta-container {
  width: 100%;
  max-width: var(--container-width);
  padding: 0 var(--container-padding-x);
  margin: 0 auto;
}

.cta-block {
  max-width: none;
  width: 100%;
  min-height: 260px;
  padding: 40px;
  padding-right: 420px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #d3ebf1;
  position: relative;
  border-radius: 60px;
  overflow: hidden;
}

.cta-content {
  max-width: 756px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-title {
  font-family: "Onest", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.25;
  color: #07070a;
  margin: 0;
}

.cta-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  color: #393c3d;
  margin: 0;
}

.cta-section .cta-button {
  width: 289px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 16px;
  background: #c1f328;
  color: #07070a;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.cta-section .cta-button:hover {
  background: #b0e020;
}

.cta-illustration {
  width: 400px;
  height: 400px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: bottom right;
  position: absolute;
  bottom: -40px;
  right: -30px;
}

/* FAQ Block (inside reviews-faq-section) */
.faq-block {
  padding: 80px 0;
}

.faq-block-container {
  display: flex;
  gap: 37px;
  align-items: start;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
}

.faq-title {
  color: #07070a;
  margin: 0;
  width: 380px;
  flex-shrink: 0;
}

.faq-block .faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq-block .faq-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.faq-item-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  gap: 24px;
}

.faq-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.faq-block .faq-question {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #07070a;
  margin: 0;
}

.faq-block .faq-answer {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #1f1f1f;
  margin: 0;
}

.faq-block .faq-item:not(.active) .faq-answer {
  display: none;
}

.faq-block .faq-item.active .faq-answer {
  display: block;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.faq-chevron {
  width: 24px;
  height: 24px;
  display: block;
}

/* Packages Section */
.packages {
  min-height: auto;
  padding: 80px 0;
  margin-top: -60px;
  background: #1f5b67;
  border-radius: 60px 60px 0 0;
  scroll-margin-top: 45px;
}

.packages .container {
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 44px;
}

.packages .section-title {
  text-align: center;
  color: #ffffff;
}

.packages-period-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 14px;
  width: 288px;
  height: 60px;
  padding: 6px;
  margin: 0 auto 28px;
}

.period-toggle-btn {
  flex: 1;
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: #07070a;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.period-toggle-btn.active {
  background: #8cc4d4;
  color: #ffffff;
}

.period-toggle-btn:not(.active) {
  background: #ffffff;
  color: #1a1a1a;
}

.period-badge {
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  color: #1b5059;
  background: #d3ebf1;
  padding: 2px 10px 1px;
  border-radius: 12px;
  white-space: nowrap;
  display: inline-block;

  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.packages-cards {
  display: grid;
  grid-template-columns: repeat(3, 389px);
  gap: 24px;
  max-width: none;
  width: 100%;
  margin: 0;
  align-items: stretch;
  justify-content: center;
}

.packages-compare-btn {
  margin: 24px auto 0;
  padding: 13px 24px 12px;
  background: #57b9cd;
  color: #ffffff;
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.packages-compare-btn:hover {
  background: #49a8bb;
  color: #ffffff;
}

.package-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px 28px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.package-card:hover,
.package-card[data-plan="pro"]:hover {
  transform: none;
  box-shadow: none;
  background: #c3e1ea;
}

.package-card[data-plan="pro"] {
  background: #ffffff;
}

.package-name {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #07070a;
  margin-bottom: 0;
  font-family: "Inter", sans-serif;
  text-align: center;
}

.package-trial {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #1b5059;
  margin-bottom: 50px;
  text-align: center;
}

.package-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.package-price {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: #1b5059;
  margin-bottom: 0;
  text-align: center;
}

.package-price-equiv {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #1b5059;
  margin-bottom: 28px;
  text-align: center;
}

.package-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.package-btn {
  padding: 10px 16px 9px;
  border: none;
  border-radius: 16px;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.package-btn-trial {
  background: #c1f328;
  color: #101010;
}

.package-btn-trial:hover {
  background: #a6d61b;
  transform: none;
}

.package-btn-pay {
  background: #56afc0;
  color: #ffffff;
}

.package-btn-pay:hover {
  background: #4b9fae;
  transform: none;
}

.package-features {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  text-align: left;
  margin-top: 66px;
  margin-bottom: 40px;
}

.package-features-title {
  color: #07070a;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.package-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.package-features-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
  color: #07070a;
}

.package-features-list li::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #92c4d4;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 3px;
}

.package-feature-text {
  text-align: left !important;
}

.packages-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: #1a1a1a;
  font-size: 18px;
  padding: 40px;
}

.package-note {
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  color: #919191;
  position: absolute;
  bottom: 24px;
  left: 24px;
}

.package-note sup {
  font-size: 12px;
  vertical-align: text-bottom;
}

.packages-error {
  grid-column: 1 / -1;
  text-align: center;
  color: #ffcccb;
  font-size: 16px;
  padding: 40px;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 24px;
}

/* Packages Page — отдельная страница тарифов */
.packages-page {
  background: #f1f8fb;
  padding-top: 80px;
}

.packages-page-section {
  background: #f1f8fb;
}

.packages-page-container {
  max-width: var(--container-width);
  padding: 0 var(--container-padding-x);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.packages-page-title {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  color: #07070a;
  margin-bottom: 24px;
}

/* Tariffs Compare Block — второй блок страницы тарифов */
.tariffs-compare-block {
  width: 100%;
  min-height: 1300px;
  background: #ffffff;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  padding: 80px var(--page-padding-x) 80px;
  box-sizing: border-box;
  scroll-margin-top: 80px;
}

.tariffs-compare-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tariffs-compare-scroll {
  min-width: 0;
}

.tariffs-compare-pricing {
  min-height: 224px;
}

.tariffs-compare-pricing-scroll,
.tariffs-compare-rows-scroll {
  min-width: 0;
}

.tariffs-compare-plans-grid {
  display: grid;
  grid-template-columns: 1fr 217px 217px 217px;
  column-gap: 24px;
  align-items: start;
}

.tariffs-compare-plans-grid .tariffs-compare-toggle-wrap {
  margin-bottom: 0;
  align-self: end;
}

.tariffs-compare-plans-spacer {
  min-width: 0;
}

.tariffs-compare-plans {
  display: contents;
}

.tariffs-compare-plans .tariffs-compare-plan {
  min-width: 0;
}

.tariffs-compare-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.tariffs-compare-toggle {
  width: 44px;
  height: 22px;
  border-radius: 16px;
  padding: 2px;
  cursor: pointer;
  transition: background 0.15s ease-out;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.tariffs-compare-toggle[data-period="1"] {
  background: #919191;
}

.tariffs-compare-toggle[data-period="1"] .tariffs-compare-toggle-thumb {
  transform: translateX(0);
}

.tariffs-compare-toggle[data-period="12"] {
  background: #1b5059;
}

.tariffs-compare-toggle[data-period="12"] .tariffs-compare-toggle-thumb {
  transform: translateX(20px);
}

.tariffs-compare-toggle-track {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  position: relative;
}

.tariffs-compare-toggle-thumb {
  position: absolute;
  top: 50%;
  left: 1px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);
  transition: transform 0.15s ease-out;
}

.tariffs-compare-toggle[data-period="1"] .tariffs-compare-toggle-thumb {
  background: #e0e0e0;
}

.tariffs-compare-toggle-label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #07070a;
  white-space: nowrap;
}

.tariffs-compare-plan {
  width: 217px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}

.tariffs-compare-plan-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tariffs-compare-plan-name {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #07070a;
  text-align: center;
}

.tariffs-compare-plan-price {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #1b5059;
  text-align: center;
}

.tariffs-compare-plan-price-alt {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: #1b5059;
  text-align: center;
}

.tariffs-compare-plan-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tariffs-compare-plan-btn {
  width: 100%;
  height: 44px;
  padding: 10px 16px;
  border-radius: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.tariffs-compare-plan-btn:hover {
  opacity: 0.9;
}

.tariffs-compare-plan-btn-trial {
  background: #c1f328;
  color: #07070a;
}

.tariffs-compare-plan-btn-pay {
  background: #52b4c5;
  color: #ffffff;
}

.tariffs-compare-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.tariffs-compare-features-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #07070a;
  margin: 0;
}

.tariffs-compare-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tariffs-compare-row {
  display: grid;
  grid-template-columns: 1fr 217px 217px 217px;
  column-gap: 24px;
  align-items: center;
  min-height: 24px;
}

.tariffs-compare-row-label {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #07070a;
  min-width: 0;
}

.tariffs-compare-row-checks {
  display: grid;
  grid-template-columns: 217px 217px 217px;
  column-gap: 24px;
  grid-column: 2 / 5;
}

.tariffs-compare-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tariffs-compare-check-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .tariffs-compare-block {
    padding: 40px var(--page-padding-x) 48px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    min-height: auto;
  }

  .tariffs-compare-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tariffs-compare-scroll::-webkit-scrollbar {
    display: none;
  }

  /* Фиксируем ширины колонок, чтобы блок уходил в горизонтальный скролл */
  .tariffs-compare-plans-grid,
  .tariffs-compare-row {
    grid-template-columns: 240px 160px 160px 160px;
    column-gap: 16px;
  }

  .tariffs-compare-row-checks {
    grid-template-columns: 160px 160px 160px;
    column-gap: 16px;
  }

  .tariffs-compare-plan {
    width: 160px;
  }

  /* Чтобы на мобилке было удобно читать — фиксируем левую колонку при скролле */
  .tariffs-compare-plans-grid .tariffs-compare-toggle-wrap,
  .tariffs-compare-row-label {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #ffffff;
  }

  .tariffs-compare-row-label {
    z-index: 1;
    padding-right: 12px;
  }
}

@media (max-width: 480px) {
  .tariffs-compare-plans-grid,
  .tariffs-compare-row {
    grid-template-columns: 220px 148px 148px 148px;
  }

  .tariffs-compare-row-checks {
    grid-template-columns: 148px 148px 148px;
  }

  .tariffs-compare-plan {
    width: 148px;
  }
}

/* Contact Form */
.contact {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1a1a1a;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00b4d8;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  background: #00b4d8;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.submit-button:hover {
  background: #0099cc;
}

/* Footer */
footer {
  width: 100%;
  background: #f1f8fb;
  color: #07070a;
  padding: 40px 0;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-content a {
  color: #07070a;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-content a:hover {
  opacity: 0.8;
}

.footer-logo {
  display: block;
  margin-bottom: 8px;
}

.footer-logo img {
  width: 120px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.footer-email {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #07070a;
  margin-bottom: 8px;
}

.footer-content p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #07070a;
  margin-bottom: 7px;
}

.footer-copyright {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #07070a;
}

.footer-block-nav {
  margin-top: 3px;
  margin-left: -50px;
  gap: 12px;
}

.footer-block-right {
  width: 315px;
}

.footer-content .footer-docs-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-docs-link {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #07070a;
}

/* Mobile Menu Styles */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #1a1a1a;
  margin: 6px 0;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #f1f8fb;
  z-index: 999;
  padding: 24px 16px 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mobile-menu-logo img {
  width: 90px;
  height: 24px;
  display: block;
}

.mobile-menu-logo {
  text-decoration: none;
}

.close-menu {
  position: static;
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  color: #07070a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-nav-block {
  background: #e0f2f9;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-menu-nav-block a {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #07070a;
  text-decoration: none;
  padding: 4px 0;
  border-radius: 16px;
  transition: opacity 0.2s;
}

.mobile-menu-nav-block a:hover {
  opacity: 0.8;
}

.mobile-menu-link.is-active {
  font-weight: 700;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mobile-menu-btn:hover {
  opacity: 0.9;
}

.mobile-menu-register {
  background: #c1f328;
  color: #07070a;
  margin-bottom: 12px;
}

.mobile-menu-login {
  background: #52b4c5;
  color: #ffffff;
}

.cookie-consent {
  max-width: calc(var(--container-width) - 40px);
  background-color: #fff;
  position: fixed;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  background: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.cookie-consent-content {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.cookie-consent-text {
  display: flex;
  flex-direction: column;
}

.cookie-consent-text h3 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cookie-consent-text p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin-bottom: 16px;
  color: #10182f;
  max-width: 90%;
}

.cookie-consent-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cookie-consent-buttons a {
  color: #10182f;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.cookie-consent-buttons a:hover {
  opacity: 1;
  text-decoration: none;
}

.cookie-consent-button {
  width: 120;
  height: 34;
  padding: 10px 32px;
  gap: 10px;
  border: none;
  color: #fff;
  border-radius: 8px;
  background: #52b4c5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-consent-button:hover {
  background: #399aab;
}

/* margins */
.mb-45 {
  margin-bottom: 45px;
}

/* Keyframes for hero animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInOpacity {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.page-docs {
  flex: 1;
  background: #f1f8fb;
  padding: 80px 0 0;
}

/* Документы — отступы как в хедере (полная ширина + padding) */
.docs-container {
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
  max-width: var(--container-width);
}

.docs_title {
  font-family: "Onest", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 0;
  color: #07070a;
  margin: 0 0 32px 0;
}

.docs_list {
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.docs_list li a {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  color: #07070a;
  text-decoration: underline;
  text-decoration-style: solid;
  display: block;
}

.docs_list li a:hover {
  opacity: 0.8;
}

@media (max-width: 1250px) {
  .packages-period-toggle,
  .packages-cards {
    scale: 0.9;
  }
}

@media (max-width: 1100px) {
  h2 {
    font-size: 32px;
  }

  .hero-content {
    margin-top: 40px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .benefits-section,
  .security,
  .packages,
  .faq-block,
  .cta-section {
    padding-top: 60px;
    padding-bottom: 60px;
    border-radius: 48px 48px 0 0;
  }

  .security {
    padding-bottom: 120px !important;
    border-radius: 0;
  }

  .agents-what,
  .agents-block-third,
  .agents-how {
    border-radius: 48px 48px 0 0 !important;
  }

  .security-columns {
    grid-template-columns: 1fr;
  }

  .security-registry-text {
    font-size: 22px;
  }

  .packages-page-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .packages-period-toggle,
  .packages-cards {
    scale: 1;
  }

  .packages-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .package-card {
    width: 100%;
    max-width: 480px;
  }

  .packages-period-toggle {
    width: 235px;
    height: 44px;
    padding: 4px;
  }

  .period-toggle-btn {
    font-size: 16px;
    padding: 8px 12px;
  }

  .period-badge {
    font-size: 12px;
    bottom: -20px;
  }

  .faq-title {
    width: 200px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-subtitle {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 8px 0 !important;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo-image {
    width: 90px;
    height: 24px;
  }

  .header-actions {
    display: none;
  }

  .burger-menu {
    display: block;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }

  /* Hero */

  .hero-content {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .hero {
    padding-top: 8px;
  }

  .hero .container {
    padding: 0;
  }

  .hero-content {
    margin-top: 0;
    margin-bottom: 60px;
    padding: 0 var(--container-padding-x);
  }

  .hero-text-block {
    width: 100%;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .description {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-cta-block {
    width: 225px;
  }

  .hero-cta-btn {
    font-size: 16px;
    padding: 8px 12px 7px;
  }

  .hero-visual {
    width: 220px;
    height: 220px;

    img {
      width: 220px;
      height: 220px;
    }
  }

  .hero-partners-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 24px 8px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 50%;
    scroll-padding-right: 50%;
  }

  .hero-partners-logos::-webkit-scrollbar {
    display: none;
  }

  .partner-logo-wrap {
    flex: 0 0 auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .video-logo-containter {
    width: 140px;
    height: 140px;
  }

  .video-logo-containter video {
    width: 140px;
    height: 140px;
  }

  /* Benefits */

  .benefits-section {
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    padding: 40px var(--container-padding-x);
  }

  .benefits-title {
    font-size: 24px;
  }

  .benefit-card {
    width: 268px;
  }

  .benefits-viewport {
    padding: 16px 0;
  }

  .benefit-card {
    min-height: 450px;
  }

  .benefit-card-text {
    position: relative;
    z-index: 2;
  }

  .benefit-card-icon {
    bottom: -20px;
    right: -5px;
    width: 140px;
    height: 140px;
    z-index: 1;
  }

  /* Security */

  .security {
    padding: 32px 0 36px;
  }

  .security-title {
    font-size: 24px;
    padding-right: 40px;
  }

  .security-block {
    flex-direction: column;
    padding: 24px;
  }

  .security-block-title {
    font-size: 20px;
  }

  .security-confidentiality .security-block-content {
    max-width: 100%;
  }

  .security-confidentiality {
    padding-bottom: 180px;
  }

  .security-confidentiality .security-card-illustration {
    width: 160px;
    height: 160px;

    bottom: -70px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .security-registry {
    margin-top: 24px;
    width: 100%;
    height: auto;
    padding: 24px;
    padding-right: 60px;
    border-radius: 36px;
    position: relative;
    overflow: hidden;
  }

  .security-registry-text {
    font-size: 16px;
  }

  .security-registry-illustration {
    width: 120px;
    height: 120px;

    top: 25px;
    right: -25px;
  }

  /* packages */

  .packages {
    padding: 8px 0 48px;
    border-radius: 32px 32px 0 0;
  }

  .packages .container {
    padding: 0 16px;
  }

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

  .package-card {
    padding: 16px;
  }

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

  .package-trial {
    font-size: 12px;
    margin-bottom: 28px;
  }

  .package-price {
    font-size: 24px;
  }

  .package-price-equiv {
    font-size: 12px;
    margin-top: -4px;
    margin-bottom: 20px;
  }

  .package-btn {
    font-size: 16px;
    padding: 8px 16px;
  }

  .package-features {
    margin-top: 28px;
  }

  .package-features-title {
    font-size: 16px;
  }

  .package-features-list li {
    font-size: 15px;
  }

  .package-note {
    left: 16px;
    bottom: 16px;
  }

  .packages-compare-btn {
    font-size: 16px;
  }

  /* FAQ */
  .faq-block {
    padding: 40px 0 48px;
  }

  .faq-block-container {
    flex-direction: column;
    gap: 16px;
  }

  .faq-title {
    font-size: 24px;
    width: 100%;
    text-align: center;
  }

  /* CTA */
  .cta-section {
    padding: 40px 0 48px;
  }

  .cta-block {
    min-height: auto;
    padding: 16px;
    border-radius: 32px;
  }

  .cta-content {
    max-width: 100%;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-subtitle {
    font-size: 16px;
  }

  .cta-illustration {
    position: relative;
    width: 140px;
    height: 140px;
    bottom: initial;
    right: initial;
    margin: -15px auto 10px;
  }

  .cta-section .cta-button {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    padding: 8px 16px;
  }

  /* Footer */
  footer {
    padding: 32px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
  }

  .footer-logo img {
    margin-bottom: 16px;
    width: 90px;
    height: 24px;
  }

  .footer-block-nav {
    margin-left: 0;
    margin-bottom: 20px;
    gap: 14px;
  }

  .footer-email {
    margin-bottom: 0;
  }

  .footer-content .footer-docs-link {
    font-size: 12px;
    margin-top: 24px;
  }

  /* OLD */

  .reviews-cards {
    grid-template-columns: 1fr;
  }

  .pricing-content,
  .faq-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tabs {
    flex-direction: column;
    align-items: center;
  }

  .tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .page-docs {
    padding: 20px 0 0;
  }
}

@media (max-width: 480px) {
  .packages-compare-btn {
    width: 100%;
  }
}

/* ===== Страница «Агентам» ===== */
.page-agents {
  flex: 1;
}

.page-agents .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
}

.agents-hero .container,
.agents-what .container,
.agents-block-third .container,
.agents-cta .container {
  max-width: var(--container-width);
  padding: 0 var(--container-padding-x);
  margin: 0 auto;
}

.agents-hero {
  padding: 0;
  background: #f1f8fb;
}

.agents-hero-content {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.agents-hero-text {
  margin-top: 60px;
  max-width: 1000px;
  margin-left: -5px;
}

.agents-hero-title {
  font-family: "Onest", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.25;
  color: #07070a;
  margin-bottom: 16px;
}

.agents-hero-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #07070a;
  max-width: 870px;
  margin-bottom: 24px;
}

.agents-hero .agents-cta-btn {
  padding: 10px 24px;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 40px;
}

.agents-hero-visual {
  flex-shrink: 0;
}

.agents-hero-illustration {
  width: 400px;
  height: 400px;
  object-fit: contain;
}

/* Блок «Что такое Fiamo» */
.agents-what {
  padding: 80px 0 160px;
  background: #92c4d4;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

.agents-what-text {
  margin-bottom: 32px;
  max-width: 863px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agents-what-title {
  color: #ffffff;
  margin: 0;
}

.agents-what-desc {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
}

.agents-what-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 34px;
  padding-right: 392px;
  background: #f1f8fb;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.agents-what-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agents-what-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.agents-what-list li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #07070a;
  padding-left: 24px;
  position: relative;
}

.agents-what-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #07070a;
  border-radius: 50%;
}

.agents-what-visual {
  position: absolute;
  top: 0;
  right: 15px;
}

.agents-what-illustration {
  width: 300px;
  height: 300px;
  object-fit: contain;
  object-position: bottom right;
}

.agents-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 16px;
  background: #c1f328;
  color: #07070a;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
  transition: background 0.2s;
}

.agents-cta-btn:hover {
  background: #b0e020;
}

.agents-section-title {
  color: #07070a;
  margin: 0;
}

/* Блок 3: Кто такой агент + Что получает агент */
.agents-block-third {
  padding: 80px 0 160px;
  background: #ffffff;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  margin-top: -80px;
}

.agents-who {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 80px;
}

.agents-who-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agents-who-desc {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: #07070a;
  margin: 0;
  max-width: 100%;
}

.agents-profiles {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.agents-profiles-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.agents-profiles-row .agents-profile-tag {
  flex: 1;
  max-width: none;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

.agents-profile-tag {
  padding: 24px;
  background: #52b4c5;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  border-radius: 24px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  cursor: default;
}

.agents-profile-tag:hover {
  background: #c1f328;
  color: #07070a;
}

/* Что получает агент */
.agents-receives {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.agents-receives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.agents-receive-card {
  padding: 38px 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 348px;
  overflow: hidden;
}

.agents-receive-card--light {
  background: #f1f8fb;
}

.agents-receive-card--alt {
  background: #d3ebf1;
}

.agents-receive-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.agents-receive-icon {
  position: absolute;
  bottom: -60px;
  right: 10px;
  width: 250px;
  height: 250px;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}

.agents-receive-card h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: #07070a;
  margin: 0;
}

.agents-receive-card p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #07070a;
  margin: 0;
}

/* Как стать агентом — по аналогии с Чем полезен Fiamo */
.agents-how {
  padding: 80px 0;
  background: #1b5059;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  overflow: hidden;
  margin-top: -80px;
}

.agents-how-content {
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agents-how-title {
  color: #ffffff;
  margin-bottom: 0;
  text-align: center;
}

/* Viewport на всю ширину экрана — карточки обрезаются только у края экрана */
.agents-how-viewport {
  width: 100vw;
  min-width: 0;
  margin-left: calc(50% - 50vw);
  overflow-x: hidden;
  overflow-y: visible;
  cursor: grab;
  touch-action: pan-y;
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.agents-how-viewport:active {
  cursor: grabbing;
}

.agents-how-track {
  display: flex;
  gap: 24px;
  width: fit-content;
  margin: 0 auto;
}

.agents-how-card {
  flex-shrink: 0;
  width: 340px;
  padding: 20px 40px 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* .agents-how-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
} */

.agents-how-card:nth-child(1),
.agents-how-card:nth-child(3) {
  background: #f1f8fb;
}

.agents-how-card:nth-child(1) h3,
.agents-how-card:nth-child(1) p,
.agents-how-card:nth-child(3) h3,
.agents-how-card:nth-child(3) p,
.agents-how-card:nth-child(4) h3,
.agents-how-card:nth-child(4) p {
  color: #07070a;
}

.agents-how-card:nth-child(2) {
  background: #52b4c5;
}

.agents-how-card:nth-child(4) {
  background: #92c4d4;
}

.agents-how-card:nth-child(2) h3,
.agents-how-card:nth-child(2) p {
  color: #ffffff;
}

/* Цифра как раньше, отступы сверху/снизу — заголовок начинается приблизительно с середины */
.agents-how-num {
  font-family: "Onest", sans-serif;
  font-weight: 700;
  font-size: 160px;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  margin-top: 28px;
  margin-bottom: 5px;
  color: #07070a;
}

.agents-how-card:nth-child(2) .agents-how-num {
  color: #ffffff;
}

/* Заголовок по высоте контента — основной текст на одном уровне в карточках 1, 2, 3, 4 */
.agents-how-card h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.agents-how-card p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
  flex: 1;
}

.agents-how-cta-wrap {
  display: flex;
  justify-content: center;
}

.agents-how-register-btn {
  padding: 10px 24px;
  font-size: 20px;
  line-height: 1.4;
  border-radius: 16px;
}

@media (max-width: 1439px) {
  .agents-how-track {
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
    margin: 0;
    will-change: transform;
  }
}

.agents-cta {
  padding: 80px 0;
  background: #ffffff;
}

.agents-cta-block {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
  padding: 40px 40px 0;
  padding-right: 420px;
  background: #d2eef2;
  border-radius: 60px;
  overflow: hidden;
}

.agents-cta-content {
  flex: 1;
  max-width: 1000px;
  padding-bottom: 40px;
}

.agents-cta-title {
  color: #07070a;
  margin: 0 0 24px;
}

.agents-cta-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.agents-cta-input {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  padding: 10px 16px;
  border: none;
  border-radius: 16px;
  background: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 28px;
  color: #07070a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.agents-cta-input::placeholder {
  color: #919191;
}

.agents-cta-input:focus {
  outline: 2px solid #52b4c5;
  outline-offset: 2px;
}

.agents-cta-submit {
  padding: 10px 24px;
  border: none;
  border-radius: 16px;
  background: #c1f328;
  color: #07070a;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s ease;
}

.agents-cta-submit:hover {
  background: #b0e020;
}

.agents-cta-submit:active {
  transform: scale(0.97);
}

/* Модалка успешной отправки номера */
.agents-consult-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.agents-consult-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.agents-consult-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, 0.4);
  cursor: pointer;
}

.agents-consult-modal-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 24px;
  background: #f1f8fb;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.agents-consult-modal-text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #07070a;
}

.agents-consult-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #07070a;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.agents-consult-modal-close:hover {
  opacity: 1;
}

.agents-cta-phone {
  position: absolute;
  top: 0;
  right: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.agents-cta-phone-illustration {
  width: 400px;
  height: 400px;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

@media (max-width: 1100px) {
  .agents-how-register-btn {
    padding: 8px 20px;
    width: 100%;
    font-size: 20px;
    line-height: 1.4;
    border-radius: 16px;
  }

  .agents-hero-illustration {
    width: 350px;
    height: 350px;
    margin-top: 30px;
  }

  .agents-hero-title {
    font-size: 40px;
  }

  .agents-hero-desc {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .agents-hero {
    padding: 0 0 60px;
  }

  .agents-hero-content {
    flex-direction: column;
    gap: 32px;
  }

  .agents-hero-text {
    max-width: 100%;
    margin-top: 10px;
  }

  .agents-hero-title {
    font-size: 28px;
  }

  .agents-hero-desc {
    font-size: 16px;
  }

  .agents-hero-illustration {
    width: 300px;
    height: 300px;
    margin-top: 0;
  }

  .agents-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .agents-hero .agents-cta-btn {
    font-size: 16px;
  }

  .agents-what {
    padding: 40px 0 130px;
    border-radius: 32px 32px 0 0 !important;
  }

  .agents-what-wrapper {
    flex-direction: column;
    gap: 24px;
    padding-right: 24px;
  }

  .agents-what-visual {
    position: relative;
    order: 2;
  }

  .agents-what-inner {
    order: 1;
  }

  .agents-what-text {
    max-width: 100%;
  }

  .agents-what-title {
    font-size: 24px;
  }

  .agents-what-desc {
    font-size: 16px;
  }

  .agents-what-list li {
    font-size: 16px;
  }

  .agents-what-illustration {
    width: 200px;
    height: 200px;
  }

  .agents-block-third {
    padding: 48px 0 130px;
    border-radius: 32px 32px 0 0 !important;
  }

  .agents-who {
    margin-bottom: 48px;
    gap: 24px;
  }

  .agents-who-desc {
    font-size: 16px;
  }

  .agents-profiles {
    flex-direction: column;
    gap: 12px;
  }

  .agents-profiles.mobile-only {
    display: flex;
  }

  .agents-profiles-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .agents-profiles-row--first {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .agents-profiles-row--first .agents-profile-tag:nth-child(1) {
    flex: 2;
    min-width: 0;
    white-space: nowrap;
  }

  .agents-profiles-row--first .agents-profile-tag:nth-child(2) {
    flex: 1;
    min-width: 0;
  }

  .agents-profiles-row--stack {
    flex-direction: column;
  }

  .agents-profiles-row--stack .agents-profile-tag {
    width: 100%;
    flex: none;
  }

  .agents-profile-tag {
    font-size: 16px;
    line-height: 24px;
    padding: 16px 20px;
    border-radius: 16px;
  }

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

  .agents-receives {
    gap: 20px;
  }

  .agents-receives-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .agents-receive-card {
    flex-direction: column;
    min-height: 260px;
    padding: 20px 20px;
  }

  .agents-receive-card-content {
    order: 1;
  }

  .agents-receive-icon {
    position: static;
    order: 2;
    margin-top: 16px;
    align-self: flex-end;
    width: 120px;
    height: 120px;
  }

  .agents-how {
    padding: 40px 0 60px;
    border-radius: 32px 32px 0 0 !important;
  }

  .agents-how-content {
    padding: 0 24px;
    gap: 16px;
  }

  .agents-how-title {
    font-size: 24px;
  }

  .agents-how-track {
    padding-left: 24px;
    padding-right: 24px;
    gap: 20px;
  }

  .agents-how-card {
    width: 300px;
    padding: 24px 24px;
    gap: 16px;
  }

  .agents-how-card:hover,
  .agents-how-card:active {
    transform: none;
    box-shadow: none;
  }

  .agents-how-num {
    font-size: 180px;
    height: 170px;
    margin-top: 20px;
    margin-bottom: 12px;
  }

  .agents-how-card h3 {
    font-size: 20px;
  }

  .agents-how-card p {
    font-size: 16px;
  }

  .agents-cta {
    padding: 60px 0;
  }

  .agents-cta-block {
    position: relative;
    flex-direction: column;
    max-width: 351px;
    margin: 0 auto;
    padding: 32px 24px 24px;
    text-align: center;
  }

  .agents-cta-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
    padding-bottom: 110px;
  }

  .agents-cta-title {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .agents-cta-form {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 319px;
    margin: 0 auto;
  }

  .agents-cta-input {
    width: 319px;
    max-width: 100%;
    min-width: 0;
    height: 44px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 24px;
    box-sizing: border-box;
    align-self: center;
  }

  .agents-cta-input::placeholder {
    font-size: 16px;
  }

  .agents-cta-submit {
    width: 319px;
    max-width: 100%;
    height: 44px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 24px;
    align-self: center;
  }

  .agents-cta-phone {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
  }

  .agents-cta-phone-illustration {
    width: 200px;
    height: 200px;
    margin-bottom: -75px;
  }
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

@media (max-width: 1200px) {
  .tariffs-compare-block {
    padding: 60px 28px 60px;
  }

  .tariffs-compare-plans-grid {
    grid-template-columns: 1fr 180px 180px 180px;
    column-gap: 16px;
  }

  .tariffs-compare-plan {
    width: 100%;
    max-width: 180px;
  }

  .tariffs-compare-row {
    grid-template-columns: 1fr 180px 180px 180px;
    column-gap: 16px;
  }

  .tariffs-compare-row-checks {
    grid-template-columns: 180px 180px 180px;
    column-gap: 16px;
  }
}

@media (max-width: 890px) {
  .tariffs-compare-block {
    padding: 40px 24px 40px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    width: 560px;
    margin: 0 auto;
  }

  .tariffs-compare-plans-grid .tariffs-compare-toggle-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 5px 15px 5px 0;
  }

  .tariffs-compare-plans-grid .tariffs-compare-toggle {
    width: 32px;
    height: 16px;
    border-radius: 12px;
    padding: 1px;
  }

  .tariffs-compare-plans-grid
    .tariffs-compare-toggle[data-period="12"]
    .tariffs-compare-toggle-thumb {
    transform: translateX(14px);
  }

  .tariffs-compare-plans-grid
    .tariffs-compare-toggle
    .tariffs-compare-toggle-thumb {
    width: 12px;
    height: 12px;
    margin-top: -6px;
  }

  .tariffs-compare-plans-grid .tariffs-compare-toggle-label {
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
  }

  .tariffs-compare-scroll {
    flex: 1;
    min-width: 0;
    overflow-y: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .tariffs-compare-pricing-scroll,
  .tariffs-compare-rows-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tariffs-compare-pricing-scroll::-webkit-scrollbar,
  .tariffs-compare-rows-scroll::-webkit-scrollbar {
    display: none;
  }

  .tariffs-compare-features {
    gap: 4px;
  }

  .tariffs-compare-plan-buttons {
    display: none;
  }

  .tariffs-compare-plan-price,
  .tariffs-compare-plan-price-alt {
    display: none;
  }

  .tariffs-compare-pricing {
    min-height: 0;
  }

  /* Скроллим только "таблицу", заголовки секций остаются на месте */
  .tariffs-compare-pricing,
  .tariffs-compare-features {
    min-width: 0;
    width: 100%;
  }

  .tariffs-compare-features-title {
    position: static;
    max-width: none;
  }

  .tariffs-compare-plans-grid {
    grid-template-columns: 200px 100px 100px 100px;
    column-gap: 4px;
    min-width: 512px;
    align-items: center;
  }

  .tariffs-compare-plans .tariffs-compare-plan {
    width: 100px;
    max-width: 100px;
    justify-self: center;
    text-align: center;
  }

  .tariffs-compare-plans .tariffs-compare-plan {
    gap: 0;
  }

  .tariffs-compare-plan-header {
    gap: 0;
  }

  .tariffs-compare-plan-name {
    font-size: 16px;
  }

  .tariffs-compare-plan-price {
    font-size: 16px;
  }

  .tariffs-compare-plan-price-alt {
    font-size: 11px;
  }

  .tariffs-compare-row {
    grid-template-columns: 200px 100px 100px 100px;
    column-gap: 4px;
    min-width: 512px;
  }

  .tariffs-compare-row-checks {
    grid-column: 2 / 5;
    grid-template-columns: 100px 100px 100px;
    column-gap: 4px;
    justify-items: center;
  }

  .tariffs-compare-row-label {
    font-size: 14px;
  }

  .tariffs-compare-check-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 561px) {
  .tariffs-compare-block {
    width: 100%;
    margin: initial;
  }
}
