/* ==========================================================================
   ETRIONIS LANDING — Стили в точности по дизайну moov.io
   Тёмная тема, шум на фоне, Clash Display + Inter шрифты
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. CSS ПЕРЕМЕННЫЕ (дизайн-токены из moov.io)
   -------------------------------------------------------------------------- */
:root {
  /* Шрифты */
  --font-body: "Inter", system-ui, sans-serif;
  --font-heading: "Clash Display", var(--font-body);

  /* Цвета — точные значения из moov.io */
  --white0: #ffffff;
  --white1: rgba(255, 255, 255, 0.7);
  --black0: #0d0d0d;
  --black1: #111111;
  --black2: #222222;
  --black3: #333333;
  --gray1: #9F9F9F;
  --gray2: #969696;
  --gray3: #494949;
  --blue1: #77A5FF;
  --blue2: #3B54DA;

  /* Скругления */
  --border-radius: 0.5rem;

  /* Отступы контейнера */
  --container-padding: 1rem;
}

@media (min-width: 640px) {
  :root { --container-padding: 2rem; }
}

@media (min-width: 1024px) {
  :root { --container-padding: 3rem; }
}


/* --------------------------------------------------------------------------
   2. БАЗОВЫЕ СТИЛИ — тёмный фон + шум как на moov.io
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Тёмный фон с шумовой текстурой */
  background-color: #080808;
  color: var(--white0);
  margin: 0;
}

/* SVG-шум на фоне (замена noise.webp) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Цветные градиентные блобы на фоне (как на moov.io) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 15% 10%, rgba(59, 84, 218, 0.12), transparent 70%),
    radial-gradient(ellipse 600px 500px at 85% 20%, rgba(156, 97, 229, 0.10), transparent 70%),
    radial-gradient(ellipse 700px 400px at 50% 60%, rgba(119, 165, 255, 0.06), transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 80%, rgba(131, 255, 225, 0.04), transparent 70%),
    radial-gradient(ellipse 600px 400px at 10% 90%, rgba(252, 188, 44, 0.04), transparent 70%);
}


/* --------------------------------------------------------------------------
   3. КОНТЕЙНЕР — max-width с адаптивными отступами
   -------------------------------------------------------------------------- */
.contain {
  max-width: 86rem;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}


/* --------------------------------------------------------------------------
   4. ТИПОГРАФИКА — Clash Display для заголовков, Inter для текста
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--white0);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }

p {
  color: var(--white1);
  line-height: 1.6;
  margin: 0;
}

a {
  color: var(--blue1);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}


/* --------------------------------------------------------------------------
   5. КНОПКИ — точный стиль moov.io (НЕ pill, 8px скругление)
   -------------------------------------------------------------------------- */

/* Базовая кнопка */
.btn {
  display: inline-block;
  position: relative;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  touch-action: manipulation;
}

/* Accent кнопка (белый фон, чёрный текст — как на moov.io) */
.btn.accent {
  background-color: var(--white0);
  color: var(--black0);
}

.btn.accent:hover {
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

/* Outline кнопка */
.btn.outline {
  background-color: transparent;
  color: var(--white0);
  border: 1px solid var(--black3);
}

.btn.outline:hover {
  border-color: var(--gray1);
  background-color: rgba(255, 255, 255, 0.03);
}

/* Link-кнопка (как текстовая ссылка) */
.btn.link {
  padding: 0;
  background: transparent;
  color: var(--blue1);
}

.btn.link:hover {
  opacity: 0.8;
}


/* --------------------------------------------------------------------------
   6. HEADER — фиксированный, с backdrop-blur при скролле
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

/* Фон появляется при скролле */
.site-header.scrolled {
  background-color: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
}

.site-header .contain {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo img {
  height: 28px;
}

/* Навигационные ссылки */
.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white1);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--white0);
  opacity: 1;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

/* Действия в шапке (Log in / Sign Up) */
.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.header-actions a:first-child {
  color: var(--white1);
  font-size: 0.875rem;
  font-weight: 500;
}

.header-actions a:first-child:hover {
  color: var(--white0);
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }
}

/* Мобильное меню */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--white0);
  cursor: pointer;
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--black2);
  padding: 1.5rem var(--container-padding) 2rem;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white1);
  padding: 0.5rem 0;
}

.mobile-menu .btn.accent {
  display: inline-block;
  text-align: center;
  margin-top: 0.5rem;
}


/* --------------------------------------------------------------------------
   7. HERO — центрированный текст как на moov.io
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem var(--container-padding) 4rem;
  position: relative;
}

/* Декоративное свечение за hero — цветные блобы как на moov.io */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 500px at 30% 30%, rgba(59, 84, 218, 0.18), transparent 70%),
    radial-gradient(ellipse 700px 500px at 70% 40%, rgba(156, 97, 229, 0.14), transparent 70%),
    radial-gradient(ellipse 500px 400px at 50% 70%, rgba(131, 255, 225, 0.06), transparent 70%);
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* Visa / MC логотипы под CTA */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--black2);
}

.hero-trust img {
  height: 24px;
  opacity: 0.4;
}

.hero-trust span {
  font-size: 0.75rem;
  color: var(--gray1);
}


/* --------------------------------------------------------------------------
   8. TRUST BAR — логотипы партнёров (marquee как на moov.io)
   -------------------------------------------------------------------------- */
.trust-bar {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--black2);
  border-bottom: 1px solid var(--black2);
}

.trust-bar .label {
  font-size: 0.875rem;
  color: var(--gray1);
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-logos img {
  height: 28px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.trust-logos img:hover {
  opacity: 0.6;
}


/* --------------------------------------------------------------------------
   9. СЕКЦИИ — общие стили
   -------------------------------------------------------------------------- */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 640px;
}

/* Центрированный заголовок */
.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Линия-разделитель между секциями */
.section-divider {
  height: 1px;
  background-color: var(--black2);
}


/* --------------------------------------------------------------------------
   10. КАРТОЧКИ — тёмный фон, тонкая граница (стиль moov.io)
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--black1);
  border: 1px solid var(--black2);
  border-radius: calc(var(--border-radius) * 2); /* 16px */
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: var(--black3);
  transform: translateY(-2px);
}

/* Сетка карточек */
.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.cols-3 {
  grid-template-columns: 1fr;
}

.card-grid.cols-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Иконка в карточке */
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--gray1);
  line-height: 1.6;
}

/* Номер шага в карточке */
.step-number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue1);
  margin-bottom: 1rem;
  display: block;
}


/* --------------------------------------------------------------------------
   11. FAQ АККОРДЕОН
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--black2);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--white0);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--blue1);
}

.faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--black2);
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--white1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--blue1);
  color: var(--black0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--gray1);
}


/* --------------------------------------------------------------------------
   12. TWO-COLUMN LAYOUT — текст + изображение
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.split img {
  width: 100%;
  border-radius: calc(var(--border-radius) * 2);
  object-fit: cover;
}

/* Галерея из нескольких изображений */
.image-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.image-gallery img {
  border-radius: calc(var(--border-radius) * 2);
  object-fit: cover;
  width: 100%;
  transition: transform 0.4s ease;
}

.image-gallery img:hover {
  transform: scale(1.02);
}

.image-gallery .tall { height: 260px; }
.image-gallery .short { height: 180px; }
.image-gallery .full { height: 300px; }


/* --------------------------------------------------------------------------
   13. ЧЕКЛИСТ (преимущества с галочками)
   -------------------------------------------------------------------------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--white0);
  font-size: 0.9375rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(119, 165, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--blue1);
}


/* --------------------------------------------------------------------------
   14. УСТРОЙСТВА (секция Stand Out)
   -------------------------------------------------------------------------- */
.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 32rem;
  margin: 2rem auto;
}

.device-card {
  background-color: var(--black1);
  border: 1px solid var(--black2);
  border-radius: calc(var(--border-radius) * 2);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.device-card:hover {
  border-color: var(--black3);
}

.device-card svg {
  width: 32px;
  height: 32px;
  color: var(--blue1);
  margin-bottom: 0.75rem;
}

.device-card span {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray1);
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   15. CTA СЕКЦИЯ
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid var(--black2);
}

.cta-section h2 {
  margin-bottom: 2rem;
}


/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--black2);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--gray1);
  line-height: 1.7;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--black2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer-socials a:hover {
  background-color: var(--black3);
  opacity: 1;
}

.footer-socials svg {
  width: 14px;
  height: 14px;
  color: var(--gray1);
  fill: currentColor;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white0);
  margin-bottom: 1.25rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  font-size: 0.8125rem;
  color: var(--gray1);
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--white0);
  opacity: 1;
}

/* Нижняя часть footer */
.footer-bottom {
  border-top: 1px solid var(--black2);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom .legal {
  font-size: 0.75rem;
  color: var(--gray3);
}

.footer-bottom .payments {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom .payments img {
  height: 20px;
  opacity: 0.3;
}

.footer-copyright {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--gray3);
  margin-top: 1.5rem;
}


/* --------------------------------------------------------------------------
   17. АНИМАЦИИ ПРИ СКРОЛЛЕ
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Каскадные задержки */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* --------------------------------------------------------------------------
   18. УТИЛИТЫ
   -------------------------------------------------------------------------- */

/* Скрытие элементов (для переключения иконок бургер/крестик) */
.hidden {
  display: none !important;
}

/* Группа кнопок в hero */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* --------------------------------------------------------------------------
   19. КАРТОЧКИ С ГРАДИЕНТНЫМ ФОНОМ (стиль moov.io)
   -------------------------------------------------------------------------- */

/* Glow-эффект при hover (цветное свечение рамки) */
.card-glow:hover {
  border-color: rgba(119, 165, 255, 0.3);
  box-shadow: 0 0 30px rgba(119, 165, 255, 0.06), 0 0 60px rgba(156, 97, 229, 0.03);
}

/* Градиентные фоны для карточек */
.card-gradient-blue {
  background: linear-gradient(180deg, rgba(119, 165, 255, 0.10) 0%, rgba(59, 84, 218, 0.04) 100%);
}

.card-gradient-purple {
  background: linear-gradient(180deg, rgba(186, 131, 255, 0.10) 0%, rgba(156, 97, 229, 0.04) 100%);
}

.card-gradient-teal {
  background: linear-gradient(180deg, rgba(131, 255, 225, 0.08) 0%, rgba(119, 165, 255, 0.04) 100%);
}

.card-gradient-amber {
  background: linear-gradient(180deg, rgba(252, 188, 44, 0.08) 0%, rgba(255, 183, 77, 0.03) 100%);
}

.card-gradient-mixed {
  background: linear-gradient(135deg, rgba(119, 165, 255, 0.08) 0%, rgba(186, 131, 255, 0.08) 100%);
}

.card-gradient-green {
  background: linear-gradient(180deg, rgba(102, 187, 106, 0.10) 0%, rgba(131, 255, 225, 0.04) 100%);
}


/* --------------------------------------------------------------------------
   20. КАРУСЕЛЬ ПРОДУКТОВ — горизонтальный скролл на мобильном
   -------------------------------------------------------------------------- */
.product-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;

  /* Скрываем скроллбар */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-carousel .card {
  min-width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* На десктопе — обычная сетка */
@media (min-width: 1024px) {
  .product-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .product-carousel .card {
    min-width: 0;
  }
}

/* Иконка продукта (крупнее) */
.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.product-icon svg {
  width: 24px;
  height: 24px;
}


/* --------------------------------------------------------------------------
   21. BENTO-СЕТКА ФИЧЕЙ — разноразмерные карточки
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Широкая карточка (занимает 2 колонки) */
  .bento-grid .card-wide {
    grid-column: span 2;
  }
}

/* Большая иконка в бенто-карточке */
.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bento-icon svg {
  width: 28px;
  height: 28px;
}

/* Карточка с изображением */
.card-image {
  overflow: hidden;
  padding: 0;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: calc(var(--border-radius) * 2) calc(var(--border-radius) * 2) 0 0;
}

.card-image .card-body {
  padding: 1.5rem 2rem 2rem;
}

/* Бейдж-метка на карточке */
.card-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.card-badge.blue {
  background-color: rgba(119, 165, 255, 0.12);
  color: var(--blue1);
}

.card-badge.purple {
  background-color: rgba(186, 131, 255, 0.12);
  color: #ba83ff;
}

.card-badge.teal {
  background-color: rgba(131, 255, 225, 0.12);
  color: #83ffe1;
}

.card-badge.amber {
  background-color: rgba(252, 188, 44, 0.12);
  color: #fcbc2c;
}


/* --------------------------------------------------------------------------
   22. ИКОНКА ШАГА (замена просто номера)
   -------------------------------------------------------------------------- */
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

/* Номер шага в углу иконки */
.step-icon .step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--blue1);
  color: var(--black0);
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* --------------------------------------------------------------------------
   23. СКРОЛЛ-ИНДИКАТОР КАРУСЕЛИ (точки)
   -------------------------------------------------------------------------- */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--black3);
  transition: background-color 0.3s ease, width 0.3s ease;
}

.carousel-dots span.active {
  width: 20px;
  border-radius: 3px;
  background-color: var(--blue1);
}

@media (min-width: 1024px) {
  .carousel-dots {
    display: none;
  }
}
