/* Полка СП Маркет — дизайн в стиле Контур.Диадок (kontur.ru/diadoc) с зелёным акцентом Полки */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
  --color-text: #222222;
  --color-text-muted: #5b5b5b;
  --color-text-soft: #858585;
  --color-bg: #ffffff;
  --color-bg-page: #f5f6f8;
  --color-bg-soft: #f2f4f7;
  --color-bg-muted: #ebedf0;
  --color-border: #e2e5ea;
  --color-border-strong: #d0d5dd;

  /* Светло-зелёный бренд Полка СП Маркет */
  --color-accent: #68b828;
  --color-accent-hover: #569e1d;
  --color-accent-active: #478516;
  --color-accent-soft: #eef8e6;
  --color-accent-soft-hover: #e1f3d2;
  --color-accent-border: rgba(104, 184, 40, 0.32);

  /* Вторичный тёмный акцент в стиле Контура */
  --color-dark: #1d2430;
  --color-dark-soft: #2a3342;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 3px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 56px rgba(16, 24, 40, 0.12);

  --header-h: 72px;
  --subbar-h: 54px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-accent-active);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

/* ==========================================================================
   КНОПКИ (Стиль Контур.Диадок — скруглённые 10-12px, крупные, читаемые)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--lg {
  padding: 16px 30px;
  font-size: 16px;
  border-radius: 12px;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 8px;
}

.btn--primary {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(104, 184, 40, 0.24);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(104, 184, 40, 0.32);
}

.btn--secondary {
  background: #ffffff;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn--secondary:hover {
  background: var(--color-bg-page);
  border-color: #b8bfc9;
  color: var(--color-text);
}

.btn--soft {
  background: var(--color-accent-soft);
  color: var(--color-accent-active);
  border-color: transparent;
}

.btn--soft:hover {
  background: var(--color-accent-soft-hover);
  color: var(--color-accent-active);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: transparent;
  padding-left: 14px;
  padding-right: 14px;
}

.btn--ghost:hover {
  background: var(--color-bg-page);
  color: var(--color-text);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ==========================================================================
   ШАПКА В СТИЛЕ КОНТУР.ДИАДОК (Экосистема + продуктовая навигация)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

/* Верхняя полоса экосистемы (как в Контуре) */
.ecosystem-bar {
  border-bottom: 1px solid #eef0f3;
  background: #fafbfc;
  font-size: 13px;
  color: var(--color-text-muted);
}

.ecosystem-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}

.ecosystem-bar__left,
.ecosystem-bar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ecosystem-bar a,
.ecosystem-badge {
  white-space: nowrap;
}

.ecosystem-bar a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.ecosystem-bar a:hover {
  color: var(--color-accent-hover);
}

.ecosystem-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--color-text);
}

.ecosystem-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

@media (max-width: 900px) {
  .ecosystem-bar {
    display: none;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-decoration: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__name {
  line-height: 1.1;
  white-space: nowrap;
}

.logo:hover {
  color: var(--color-text);
}

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 3px 10px rgba(104, 184, 40, 0.28);
  flex-shrink: 0;
}

.logo__sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-text-soft);
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .logo__sub {
    display: none;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: space-between;
  margin-left: 16px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a:not(.btn) {
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current='page'] {
  background: var(--color-bg-page);
  color: var(--color-accent-hover);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  cursor: pointer;
  border-radius: 10px;
}

.nav-toggle:hover {
  background: var(--color-bg-page);
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 1180px) and (min-width: 961px) {
  .site-header__inner {
    gap: 12px;
  }

  .site-nav {
    margin-left: 8px;
  }

  .site-nav a:not(.btn) {
    padding: 8px 8px;
    font-size: 14px;
  }

  .site-nav__actions .btn--ghost {
    display: none;
  }

  .site-nav__actions .btn--primary {
    padding: 11px 16px;
    font-size: 14px;
  }

  .ecosystem-bar__left a {
    display: none;
  }
}

@media (max-width: 960px) {
  /* backdrop-filter делает шапку containing block для position: fixed меню */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 20px 32px;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
    z-index: 120;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav a:not(.btn) {
    font-size: 17px;
    padding: 12px 14px;
  }

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
  }

  .site-nav__actions .btn {
    width: 100%;
    padding: 14px 20px;
  }

  .site-nav__actions .btn--ghost {
    border-color: var(--color-border-strong);
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================================
   HERO БЛОК: СОВРЕМЕННЫЙ ВЫСОКОКОНВЕРСИОННЫЙ ДИЗАЙН (Apple/Stripe/Контур)
   ========================================================================== */

.diadoc-hero {
  padding: 32px 0 44px;
  background: var(--color-bg);
}

.diadoc-hero__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #f3faee 0%, #e8f5dd 45%, #eff8f2 100%);
  border: 1px solid rgba(104, 184, 40, 0.28);
  padding: 56px 52px 48px;
  box-shadow: 0 20px 48px -12px rgba(104, 184, 40, 0.12), 0 8px 24px -4px rgba(16, 24, 40, 0.04);
}

.diadoc-hero__card::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  right: -100px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 184, 40, 0.25) 0%, rgba(104, 184, 40, 0) 70%);
  pointer-events: none;
}

.diadoc-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.diadoc-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(104, 184, 40, 0.35);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-active);
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(104, 184, 40, 0.08);
}

.diadoc-hero__tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

.diadoc-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #111827;
}

.diadoc-hero__subtitle {
  margin: 0 0 28px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: #374151;
  max-width: 540px;
}

/* Кнопки в Hero - теперь ВСЕГДА видны и активны */
.diadoc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-btn-glow {
  background: linear-gradient(135deg, #68b828 0%, #569e1d 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(104, 184, 40, 0.38), 0 2px 6px rgba(104, 184, 40, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.hero-btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(104, 184, 40, 0.48);
}

.hero-guarantee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 28px;
}

.hero-guarantee__sep {
  color: #9ca3af;
}

/* Социальное доказательство */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(104, 184, 40, 0.2);
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.hero-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.hero-avatar:first-child {
  margin-left: 0;
}

.av-1 { background: #fee2e2; color: #991b1b; }
.av-2 { background: #dbeafe; color: #1e40af; }
.av-3 { background: #fef3c7; color: #92400e; }
.av-plus { background: #68b828; color: #ffffff; font-size: 14px; }

.hero-proof-stars {
  font-size: 14px;
  color: #f59e0b;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-proof-stars span {
  color: #111827;
  font-weight: 700;
  margin-left: 4px;
}

.hero-proof-sub {
  font-size: 13px;
  color: #4b5563;
  margin-top: 2px;
}

/* Правая колонка: 3D-витрина и парящие бейджи */
.diadoc-hero__showcase {
  position: relative;
  perspective: 1200px;
}

.diadoc-hero__glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 60% 50%, rgba(104, 184, 40, 0.28) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}

.diadoc-hero__window {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(16, 24, 40, 0.12);
  box-shadow: 0 24px 60px -12px rgba(16, 24, 40, 0.18), 0 12px 24px -6px rgba(104, 184, 40, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diadoc-hero__window:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px -12px rgba(16, 24, 40, 0.22);
}

.diadoc-hero__window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-soft);
  gap: 12px;
}

.diadoc-hero__window-dots {
  display: flex;
  gap: 6px;
}

.diadoc-hero__window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.diadoc-hero__window-dots span:first-child { background: #f87171; }
.diadoc-hero__window-dots span:nth-child(2) { background: #fbbf24; }
.diadoc-hero__window-dots span:nth-child(3) { background: #4ade80; }

.diadoc-hero__window-url {
  font-family: var(--font-sans);
  font-weight: 500;
  color: #64748b;
  font-size: 12px;
}

.hero-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent-hover);
  background: #f0fdf4;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.hero-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 6px var(--color-accent);
}

.diadoc-hero__window-body img {
  width: 100%;
  height: auto;
  display: block;
}

/* Парящие бейджи поверх окна */
.hero-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 36px -6px rgba(16, 24, 40, 0.16), 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s ease;
}

.hero-floating-card:hover {
  transform: translateY(-2px);
}

.hero-floating-card--top {
  top: -20px;
  right: -24px;
}

.hero-floating-card--bottom {
  bottom: -24px;
  left: -28px;
}

.hero-floating-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-card__icon--green {
  background: #ecfdf5;
  color: #059669;
}

.hero-floating-card__icon--blue {
  background: #eff6ff;
  color: #2563eb;
}

.hero-floating-card__title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.hero-floating-card__sub {
  font-size: 12px;
  color: #4b5563;
  margin-top: 2px;
}

.badge-success {
  display: inline-block;
  padding: 1px 6px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  border-radius: 4px;
  font-size: 11px;
}

/* 3 плашки внизу Hero */
.diadoc-hero__pillars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.hero-pillar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.09);
}

.hero-pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-pillar__icon--cloud {
  background: #eef8e6;
  color: var(--color-accent-hover);
}

.hero-pillar__icon--social {
  background: #eff6ff;
  color: #2563eb;
}

.hero-pillar__icon--card {
  background: #fef3c7;
  color: #d97706;
}

.hero-pillar__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.hero-pillar__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

@media (max-width: 1040px) {
  .hero-floating-card--top {
    right: -10px;
  }
  .hero-floating-card--bottom {
    left: -10px;
  }
}

@media (max-width: 980px) {
  .diadoc-hero__card {
    padding: 36px 24px;
    border-radius: 24px;
  }

  .diadoc-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-floating-card {
    position: static;
    margin: 12px 0;
    width: 100%;
  }

  .diadoc-hero__pillars {
    grid-template-columns: 1fr;
    margin-top: 32px;
    gap: 14px;
  }
}

/* ==========================================================================
   УНИВЕРСАЛЬНЫЕ СЕКЦИИ В СТИЛЕ КОНТУРА
   ========================================================================== */

.section {
  padding: 72px 0;
}

.section--gray {
  background: var(--color-bg-page);
}

.section--soft {
  background: var(--color-bg-soft);
}

.section__header {
  max-width: 760px;
  margin-bottom: 44px;
}

.section__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
}

.section__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

.section__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 680px;
}

/* ==========================================================================
   БЛОК «РАБОТАЙТЕ С ЗАКУПКАМИ ЛЕГКО» (Сетка с разделителями как в Диадоке)
   ========================================================================== */

.diadoc-easy-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}

.diadoc-easy-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.diadoc-easy-title span {
  color: var(--color-accent-hover);
}

.diadoc-easy-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.diadoc-easy-item {
  padding-top: 20px;
  border-top: 2px solid var(--color-border);
  transition: border-color 0.2s;
}

.diadoc-easy-item:hover {
  border-top-color: var(--color-accent);
}

.diadoc-easy-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.diadoc-easy-item p {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .diadoc-easy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .diadoc-easy-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   ПРОМО-БАННЕРЫ ВНУТРИ СТРАНИЦЫ (Как «Пробуйте сервис бесплатно» в Диадоке)
   ========================================================================== */

.diadoc-inline-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.inline-banner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-page);
  border: 1px solid var(--color-border);
}

.inline-banner--accent {
  background: linear-gradient(135deg, #eef8e6 0%, #e1f3d2 100%);
  border-color: rgba(104, 184, 40, 0.3);
}

.inline-banner h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text);
}

.inline-banner p {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

.inline-banner__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 840px) {
  .diadoc-inline-banners {
    grid-template-columns: 1fr;
  }

  .inline-banner {
    padding: 24px;
  }
}

/* ==========================================================================
   ВОЗМОЖНОСТИ СЕРВИСА С ИНТЕРАКТИВНЫМИ ТАБАМИ (Стиль Контур.Диадок)
   ========================================================================== */

.diadoc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px;
  background: #e9ecf1;
  border-radius: 14px;
  width: fit-content;
  max-width: 100%;
}

.diadoc-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.diadoc-tab:hover {
  color: var(--color-text);
}

.diadoc-tab.is-active {
  background: #ffffff;
  color: var(--color-text);
  box-shadow: var(--shadow-xs);
}

.diadoc-tab-panel {
  display: none;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 36px;
  box-shadow: var(--shadow-xs);
}

.diadoc-tab-panel.is-active {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.diadoc-tab-panel__content h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.diadoc-tab-panel__content p {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.diadoc-tab-panel__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.diadoc-tab-panel__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-text);
}

.diadoc-tab-panel__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-hover);
  font-weight: 800;
}

.diadoc-tab-panel__media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: #f8fafc;
}

.diadoc-tab-panel__media--placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-color: var(--color-accent-border);
  background: linear-gradient(145deg, #f4f9ef 0%, #eef6e8 45%, #f8fafc 100%);
}

.screenshot-placeholder {
  text-align: center;
  padding: 28px 24px;
  max-width: 340px;
}

.screenshot-placeholder__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.screenshot-placeholder__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}

.screenshot-placeholder__hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* 3 карточки преимуществ под табами (Как в Диадоке: Бесплатное хранение / ФНС / Поддержка 24/7) */
.diadoc-subfeatures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.subfeature-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.subfeature-card:hover {
  border-color: var(--color-accent-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.subfeature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f4f9ef 0%, var(--color-accent-soft) 100%);
  color: var(--color-accent-hover);
  border: 1px solid rgba(104, 184, 40, 0.22);
  box-shadow: 0 2px 8px rgba(104, 184, 40, 0.12);
}

.subfeature-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.subfeature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.subfeature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .diadoc-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .diadoc-tab {
    flex-shrink: 0;
  }

  .diadoc-tab-panel.is-active {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  .diadoc-subfeatures {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   БЛОК «БОЛЬ vs РЕШЕНИЕ» и КАРТОЧКИ МОДУЛЕЙ
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #ffffff;
}

.card-panel--accent {
  border-color: var(--color-accent-border);
  background: var(--color-accent-soft);
}

.card-panel h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}

.card-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-text-muted);
}

.card-panel li + li {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Полная сетка 8 модулей */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-accent-border);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ШАГИ ПОДКЛЮЧЕНИЯ (4 шага)
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.step p a {
  color: var(--color-accent-hover);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(104, 184, 40, 0.45);
  text-underline-offset: 2px;
}

.step p a:hover {
  text-decoration-color: currentColor;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   МИНИ-ПРИЛОЖЕНИЯ VK И OK (Как блок «Мобильное приложение» в Диадоке)
   ========================================================================== */

.info-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-block {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.info-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.info-block--vk {
  border-color: rgba(39, 135, 245, 0.22);
  background: linear-gradient(128deg, #ffffff 42%, #f3f8ff 72%, #e8f1ff 100%);
}

.info-block--vk:hover {
  border-color: rgba(39, 135, 245, 0.38);
  box-shadow: 0 10px 28px rgba(39, 135, 245, 0.12);
}

.info-block--ok {
  border-color: rgba(238, 130, 8, 0.22);
  background: linear-gradient(128deg, #ffffff 42%, #fff8f0 72%, #ffeede 100%);
}

.info-block--ok:hover {
  border-color: rgba(238, 130, 8, 0.38);
  box-shadow: 0 10px 28px rgba(238, 130, 8, 0.12);
}

.info-block__content {
  position: relative;
  z-index: 1;
  max-width: 68%;
}

.info-block__decor {
  position: absolute;
  inset: 0 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
  pointer-events: none;
  z-index: 0;
}

.info-block__brand-icon {
  width: clamp(100px, 38%, 156px);
  height: auto;
  fill: currentColor;
}

.info-block--vk .info-block__brand-icon {
  color: #2787f5;
  opacity: 0.14;
}

.info-block--ok .info-block__brand-icon {
  color: #ee8208;
  opacity: 0.16;
}

.info-block__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.info-block__badge--vk {
  background: #e7f0ff;
  color: #1d5deb;
}

.info-block__badge--ok {
  background: #fff3e6;
  color: #ea580c;
}

.info-block h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}

.info-block p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .info-blocks {
    grid-template-columns: 1fr;
  }

  .info-block__content {
    max-width: 100%;
  }

  .info-block__decor {
    inset: auto -24px -28px auto;
    width: 44%;
    height: 55%;
    padding-right: 0;
    align-items: flex-end;
  }

  .info-block__brand-icon {
    width: 100%;
    max-width: 120px;
  }
}

/* ==========================================================================
   ТАРИФЫ (Карточки в стиле Контур.Цены)
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 36px 30px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
}

.pricing-card--vk .pricing-card__accent {
  background: linear-gradient(90deg, #00a3ff, #4db8ff);
}

.pricing-card--ok .pricing-card__accent {
  background: linear-gradient(90deg, #f6c000, #fbbf24);
}

.pricing-card--max .pricing-card__accent {
  background: linear-gradient(90deg, #68b828, #4fa31e);
}

.pricing-card--featured {
  border-color: rgba(104, 184, 40, 0.45);
  box-shadow: 0 16px 40px rgba(104, 184, 40, 0.14);
  z-index: 1;
}

@media (min-width: 921px) {
  .pricing-card--featured {
    transform: scale(1.03);
  }

  .pricing-card--featured:hover {
    transform: scale(1.03) translateY(-3px);
  }
}

.pricing-card__hit {
  position: absolute;
  top: 14px;
  right: -34px;
  width: 130px;
  padding: 6px 0;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: var(--shadow-xs);
}

.pricing-card__label {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.pricing-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}

.pricing-card__desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-card__price {
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.pricing-card__price small {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-soft);
}

.pricing-card__price--accent {
  color: var(--color-accent-hover);
}

.pricing-card__features {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  font-size: 14px;
  color: var(--color-text);
}

.pricing-card__features li {
  padding: 7px 0 7px 28px;
  position: relative;
  line-height: 1.45;
}

.pricing-card__features li.is-included::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--color-accent-hover);
  font-weight: 800;
}

.pricing-card__features li.is-excluded {
  color: var(--color-text-soft);
}

.pricing-card__features li.is-excluded::before {
  content: '✕';
  position: absolute;
  left: 2px;
  top: 7px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
}

.pricing-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: linear-gradient(128deg, #ede9fe 0%, #f8f7ff 42%, #e8f0ff 100%);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.1);
}

.pricing-custom__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff 0%, #e0e7ff 100%);
  color: #5b52d6;
  border: 1px solid rgba(99, 102, 241, 0.28);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
}

.pricing-custom__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.pricing-custom__body {
  flex: 1;
  min-width: min(100%, 280px);
}

.pricing-custom__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
}

.pricing-custom__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.pricing-custom__text a {
  color: #5b52d6;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-custom__text a:hover {
  color: #4338ca;
}

.pricing-custom__btn {
  flex-shrink: 0;
  border-color: rgba(99, 102, 241, 0.35);
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.pricing-custom__btn:hover {
  background: #f5f3ff;
  border-color: rgba(99, 102, 241, 0.45);
  color: var(--color-text);
}

.pricing-note {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--color-text-muted);
}

@media (max-width: 920px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-3px);
  }

  .pricing-custom__btn {
    width: 100%;
  }
}

/* ==========================================================================
   ОТЗЫВЫ И КЕЙСЫ С КРУПНЫМИ ЦИФРАМИ (Точь-в-точь как в Контур.Диадок)
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial {
  margin: 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.testimonial__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.testimonial__metric-val {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent-hover);
  line-height: 1.1;
}

.testimonial__metric-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.testimonial blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

.testimonial cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-soft);
}

@media (max-width: 800px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ТАБЛИЦА СРАВНЕНИЯ (Закупки vs Маркет)
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 580px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background: var(--color-bg-page);
  font-weight: 700;
  color: var(--color-text);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  color: var(--color-text);
  font-weight: 500;
  width: 44%;
}

.comparison-table .yes {
  color: var(--color-accent-hover);
  font-weight: 700;
}

.comparison-table .no {
  color: var(--color-text-soft);
}

.comparison-table .muted {
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.45;
}

/* Два сценария «соцсети / каталог» (карточки в духе Диадока) */
.scenario-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 36px;
}

.scenario-cards__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.scenario-cards__divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.scenario-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.scenario-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.scenario-card--social {
  border-color: rgba(39, 135, 245, 0.2);
  background: linear-gradient(145deg, #ffffff 0%, #f7faff 52%, #eef4ff 100%);
}

.scenario-card--social:hover {
  border-color: rgba(39, 135, 245, 0.38);
  box-shadow: 0 12px 32px rgba(39, 135, 245, 0.1);
}

.scenario-card--catalog {
  border-color: rgba(104, 184, 40, 0.28);
  background: linear-gradient(145deg, #ffffff 0%, #f6fbf1 48%, #eaf6e0 100%);
}

.scenario-card--catalog:hover {
  border-color: rgba(104, 184, 40, 0.45);
  box-shadow: 0 12px 32px rgba(104, 184, 40, 0.12);
}

.scenario-card__decor {
  position: absolute;
  right: -8px;
  bottom: -12px;
  width: 42%;
  max-width: 148px;
  color: var(--color-text);
  opacity: 0.07;
  pointer-events: none;
}

.scenario-card--social .scenario-card__decor {
  color: #2787f5;
  opacity: 0.12;
}

.scenario-card--catalog .scenario-card__decor {
  color: var(--color-accent-hover);
  opacity: 0.14;
}

.scenario-card__decor svg {
  width: 100%;
  height: auto;
}

.scenario-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.scenario-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.scenario-card--social .scenario-card__icon {
  color: #1d5deb;
  border-color: rgba(39, 135, 245, 0.25);
  background: linear-gradient(160deg, #ffffff 0%, #edf4ff 100%);
}

.scenario-card--catalog .scenario-card__icon {
  color: var(--color-accent-hover);
  border-color: rgba(104, 184, 40, 0.3);
  background: linear-gradient(160deg, #ffffff 0%, var(--color-accent-soft) 100%);
}

.scenario-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scenario-card__titles {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.scenario-card__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.scenario-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 22px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.scenario-card__points {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scenario-card__points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.scenario-card__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(104, 184, 40, 0.35);
  color: var(--color-accent-hover);
}

.scenario-card--social .scenario-card__check {
  border-color: rgba(39, 135, 245, 0.35);
  color: #1d5deb;
}

.scenario-card__check svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scenario-card__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.scenario-card__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
}

.scenario-card__chip--vk {
  background: #e7f0ff;
  border-color: rgba(39, 135, 245, 0.22);
  color: #1d5deb;
}

.scenario-card__chip--ok {
  background: #fff3e6;
  border-color: rgba(238, 130, 8, 0.22);
  color: #ea580c;
}

.scenario-card__chip--accent {
  background: var(--color-accent-soft);
  border-color: rgba(104, 184, 40, 0.35);
  color: var(--color-accent-hover);
}

@media (max-width: 960px) {
  .scenario-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scenario-cards__divider {
    padding: 0;
  }

  .scenario-cards__divider span {
    min-width: 40px;
    height: 36px;
    font-size: 12px;
  }

  .scenario-card {
    padding: 24px 22px 20px;
  }

  .scenario-card__decor {
    width: 36%;
    max-width: 120px;
  }
}

/* ==========================================================================
   ВОПРОСЫ И ОТВЕТЫ (Двухколоночная раскладка как в Контур.Диадок)
   ========================================================================== */

.diadoc-faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

.diadoc-faq-layout__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.faq-list {
  width: 100%;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s;
}

.faq-item summary:hover {
  color: var(--color-accent-hover);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-page);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
}

.faq-item__body {
  padding: 0 0 24px;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 720px;
}

@media (max-width: 900px) {
  .diadoc-faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   ФИНАЛЬНЫЙ БЛОК «НАЧНИТЕ РАБОТАТЬ» (Карточка Контура)
   ========================================================================== */

.cta-band {
  padding: 32px 0 80px;
}

.cta-band__card {
  padding: 56px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1d2430 0%, #263142 100%);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.cta-band__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.15;
}

.cta-band__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px;
  border-radius: var(--radius-lg);
}

.cta-band__actions .btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.cta-band__actions .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

@media (max-width: 860px) {
  .cta-band__card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 24px;
  }
}

/* ==========================================================================
   ПОДВАЛ В СТИЛЕ СКБ КОНТУР (Многоколоночный, контакты, соцсети, копирайт)
   ========================================================================== */

.site-footer {
  padding: 56px 0 36px;
  background: #f5f6f8;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent-hover);
}

.site-footer__inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
}

.site-footer__inline-links span[aria-hidden="true"] {
  color: var(--color-text-soft);
}

.site-footer__note {
  color: var(--color-text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text) !important;
}

.social-pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-hover) !important;
}

.site-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-soft);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.site-footer__copy {
  margin: 0;
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section {
    padding: 52px 0;
  }
}

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (Контакты и др.)
   ========================================================================== */

.page-header {
  padding: 48px 0 36px;
  background: var(--color-bg-page);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
}

.page-content {
  padding: 48px 0 80px;
}

.prose {
  max-width: 680px;
}

.prose p,
.prose ul {
  color: var(--color-text-muted);
}

/* ==========================================================================
   УЛУЧШЕНИЯ: Переключатель периодов тарифов, Sticky Quick-CTA, Калькулятор
   ========================================================================== */

/* Переключатель тарифов (Месяц / Год) */
.pricing-billing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 36px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  max-width: 320px;
  box-shadow: var(--shadow-xs);
}

.pricing-billing-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pricing-billing-btn.is-active {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(104, 184, 40, 0.35);
}

.pricing-discount-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
  background: #ff5722;
  color: #ffffff;
  border-radius: var(--radius-pill);
}

.pricing-card__cta {
  margin-top: 24px;
}

.pricing-card__cta .btn {
  width: 100%;
  justify-content: center;
}

/* Интерактивный калькулятор экономии времени организатора */
.calc-section {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 50px 0 20px;
  box-shadow: var(--shadow-sm);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 820px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .calc-section {
    padding: 24px;
  }
}

.calc-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.calc-lead {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.calc-slider-group {
  margin-bottom: 24px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.calc-slider-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.calc-slider-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent-hover);
}

.calc-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--color-bg-muted);
  outline: none;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.calc-result-box {
  background: linear-gradient(135deg, #1d2430 0%, #2a3342 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(104, 184, 40, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.calc-result-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: #8be33f;
  margin-bottom: 8px;
}

.calc-result-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-result-desc {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Floating Sticky Bar при прокрутке */
.sticky-cta-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 990;
  background: rgba(29, 36, 48, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.sticky-cta-bar.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sticky-cta-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
}

@media (max-width: 640px) {
  .sticky-cta-bar {
    width: calc(100% - 32px);
    justify-content: space-between;
    padding: 8px 10px 8px 16px;
    bottom: 16px;
  }
  .sticky-cta-text {
    font-size: 13px;
  }
}

/* ==========================================================================
   КНОПКИ И ССЫЛКИ ДЛЯ МИНИ-ПРИЛОЖЕНИЙ (ВК И ОК)
   ========================================================================== */

.info-block__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.btn--app {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn--app:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn--app-vk {
  background: #2787f5;
  color: #ffffff !important;
}

.btn--app-vk:hover {
  background: #1b74de;
  color: #ffffff !important;
}

.btn--app-ok {
  background: #ee8208;
  color: #ffffff !important;
}

.btn--app-ok:hover {
  background: #d87100;
  color: #ffffff !important;
}

.info-block__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.info-block__link:hover {
  color: var(--color-text);
}

@media (max-width: 640px) {
  .info-block__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn--app {
    width: 100%;
    justify-content: center;
  }
}
