/* Страницы расширений 1С — светлая / тёмная тема (переключатель в шапке: html.dark) */

.ext-page {
  --ext-theme-transition: 0.1s;
  --ext-bg: #f8fafc;
  --ext-bg-elevated: #ffffff;
  --ext-bg-muted: #f1f5f9;
  --ext-bg-subtle: #f8fafc;
  --ext-bg-inset: #f1f5f9;
  --ext-text: #1e293b;
  --ext-heading: #0f172a;
  --ext-muted: #475569;
  --ext-soft: #64748b;
  --ext-border: #e2e8f0;
  --ext-border-faint: rgba(0, 0, 0, 0.06);
  --ext-shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.04);
  --ext-shadow-md: 0 15px 35px rgba(0, 0, 0, 0.06);
  --ext-shadow-lg: 0 25px 45px rgba(0, 0, 0, 0.08);
  --ext-accent: #2563eb;
  --ext-accent-soft: #eff6ff;
  --ext-accent-soft-hover: #dbeafe;
  --ext-icon: #2563eb;
  --ext-banner-bg: #fef3c7;
  --ext-banner-text: #92400e;
  --ext-banner-icon: #b45309;
  --ext-check: #16a34a;
  --ext-price-border: rgba(37, 99, 235, 0.08);
  --ext-contact-bg: #0f172a;
  --ext-link: #2563eb;
  --ext-section-y: 40px;
  --ext-section-y-compact: 20px;
  --ext-section-y-junction: 8px;
  --ext-block-gap: 20px;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--ext-text);
  background: var(--ext-bg);
  transition: background-color var(--ext-theme-transition) ease, color var(--ext-theme-transition) ease;
}

.ext-page .section,
.ext-page .price-card,
.ext-page .calc-wrap,
.ext-page .feature-card,
.ext-page .info-banner,
.ext-page .contact-block,
.ext-page .illustration-block,
.ext-page .ext-footer {
  transition: background-color var(--ext-theme-transition) ease,
              color var(--ext-theme-transition) ease,
              border-color var(--ext-theme-transition) ease,
              box-shadow var(--ext-theme-transition) ease;
}

html:has(.ext-page),
html:has(.ext-page) body {
  transition: background-color var(--ext-theme-transition, 0.1s) ease,
              color var(--ext-theme-transition, 0.1s) ease;
}

html.dark .ext-page {
  --ext-bg: #0b1120;
  --ext-bg-elevated: #1e293b;
  --ext-bg-muted: #151f32;
  --ext-bg-subtle: #0f172a;
  --ext-bg-inset: #1a2744;
  --ext-text: #cbd5e1;
  --ext-heading: #f1f5f9;
  --ext-muted: #94a3b8;
  --ext-soft: #64748b;
  --ext-border: #334155;
  --ext-border-faint: rgba(148, 163, 184, 0.12);
  --ext-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --ext-shadow-md: 0 15px 40px rgba(0, 0, 0, 0.4);
  --ext-shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.45);
  --ext-accent: #3b82f6;
  --ext-accent-soft: rgba(37, 99, 235, 0.18);
  --ext-accent-soft-hover: rgba(37, 99, 235, 0.28);
  --ext-icon: #60a5fa;
  --ext-banner-bg: rgba(180, 83, 9, 0.22);
  --ext-banner-text: #fcd34d;
  --ext-banner-icon: #fbbf24;
  --ext-check: #4ade80;
  --ext-price-border: rgba(96, 165, 250, 0.2);
  --ext-contact-bg: #020617;
  --ext-link: #60a5fa;
}

.ext-page .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.ext-page .section {
  padding: var(--ext-section-y) 0;
  position: relative;
}

.ext-page .section.section--compact {
  padding: var(--ext-section-y-compact) 0;
}

.ext-page .section.steps-section.section--compact {
  padding-bottom: 12px;
}

/* Стык секции «Цена» и пошаговой инструкции */
.ext-page #pricing.section--compact {
  padding-bottom: var(--ext-section-y-junction);
}

.ext-page #pricing.section--compact + .section.steps-section {
  padding-top: var(--ext-section-y-junction);
}

.ext-page .section.section--compact .section-subtitle {
  margin-bottom: 16px;
}

.ext-page .section-title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--ext-heading);
}

.ext-page .section-subtitle {
  text-align: center;
  color: var(--ext-muted);
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
}

.ext-page .section-lead {
  font-size: 1.2rem;
  max-width: 850px;
  margin: 0 auto 20px;
  text-align: center;
  color: var(--ext-muted);
}

.ext-page .section-body,
.ext-page .ext-richtext,
.ext-page .step-body,
.ext-page .illustration-text,
.ext-page .step-text-row {
  font-size: 1.05rem;
  color: var(--ext-text);
  line-height: 1.8;
}

.ext-page .section-body p,
.ext-page .ext-richtext p,
.ext-page .step-body p,
.ext-page .illustration-text p,
.ext-page .step-text-row p {
  margin-bottom: 12px;
}

.ext-page .section-body strong,
.ext-page .ext-richtext strong,
.ext-page .step-body strong,
.ext-page .illustration-text strong,
.ext-page .step-text-row strong {
  color: var(--ext-heading);
  font-weight: 600;
}

.ext-page .section-body h2,
.ext-page .section-body h3,
.ext-page .section-body h4,
.ext-page .ext-richtext h2,
.ext-page .ext-richtext h3,
.ext-page .ext-richtext h4,
.ext-page .step-body h2,
.ext-page .step-body h3,
.ext-page .step-body h4,
.ext-page .illustration-text h2,
.ext-page .illustration-text h3,
.ext-page .illustration-text h4,
.ext-page .step-text-row h2,
.ext-page .step-text-row h3,
.ext-page .step-text-row h4 {
  color: var(--ext-heading);
  font-weight: 700;
  margin: 1em 0 0.5em;
}

.ext-page .section-body ul,
.ext-page .section-body ol,
.ext-page .ext-richtext ul,
.ext-page .ext-richtext ol,
.ext-page .step-body ul,
.ext-page .step-body ol,
.ext-page .illustration-text ul,
.ext-page .illustration-text ol,
.ext-page .step-text-row ul,
.ext-page .step-text-row ol,
.ext-page .ext-marked-list {
  list-style-position: outside;
  margin: 0.75em 0;
  padding-left: 1.5em;
  color: var(--ext-text);
}

.ext-page .section-body ul,
.ext-page .ext-richtext ul,
.ext-page .step-body ul,
.ext-page .illustration-text ul,
.ext-page .step-text-row ul,
.ext-page .ext-marked-list {
  list-style-type: disc;
}

.ext-page .section-body ol,
.ext-page .ext-richtext ol,
.ext-page .step-body ol,
.ext-page .illustration-text ol,
.ext-page .step-text-row ol {
  list-style-type: decimal;
}

.ext-page .section-body li,
.ext-page .ext-richtext li,
.ext-page .step-body li,
.ext-page .illustration-text li,
.ext-page .step-text-row li,
.ext-page .ext-marked-list li {
  margin-bottom: 0.35em;
  display: list-item;
}

.ext-page .ext-richtext a,
.ext-page .section-body a,
.ext-page .step-body a,
.ext-page .illustration-text a,
.ext-page .step-text-row a {
  color: var(--ext-link);
}

.ext-page .ext-heading-h3 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--ext-heading);
}

.ext-page .ext-heading-h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--ext-heading);
}

.ext-page .ext-caption-small {
  color: var(--ext-soft);
}

.ext-page .section--default { background: transparent; }
.ext-page .section--white { background: var(--ext-bg-elevated); }
.ext-page .section--gray { background: var(--ext-bg-muted); }
.ext-page .section--light { background: var(--ext-bg-subtle); }

/* Кнопки */
.ext-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.4px;
}

.ext-page .btn-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
}

.ext-page .btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.4);
}

.ext-page .btn-accent {
  background: #f97316;
  color: white;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.35);
}

.ext-page .btn-accent:hover {
  background: #ea580c;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.45);
}

.ext-page .btn-outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
  backdrop-filter: blur(5px);
}

.ext-page .btn-outline-white:hover {
  background: white;
  color: #0f172a;
}

html.dark .ext-page .btn-outline-white:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Кликабельные картинки (увеличение по клику) */
.ext-page .sirius-zoom-container {
  position: relative;
  display: block;
  cursor: pointer;
  overflow: hidden;
}

/* Карточки преимуществ */
.ext-page .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--ext-block-gap);
}

.ext-page .feature-card {
  background: var(--ext-bg-elevated);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: var(--ext-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color var(--ext-theme-transition) ease, border-color var(--ext-theme-transition) ease;
  text-align: center;
  border: 1px solid var(--ext-border-faint);
}

.ext-page .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ext-shadow-lg);
}

.ext-page .feature-icon {
  font-size: 2.6rem;
  color: var(--ext-icon);
  margin-bottom: 12px;
  transition: transform 0.3s;
}

.ext-page .feature-card:hover .feature-icon {
  transform: scale(1.2);
}

.ext-page .feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ext-heading);
  margin-bottom: 12px;
}

.ext-page .feature-card p,
.ext-page .feature-card .feature-card-text {
  color: var(--ext-muted);
}

.ext-page .feature-card .feature-card-text:empty {
  display: none;
}

/* Слайдер изображений */
.ext-page .ext-slider {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  text-align: center;
  overflow-anchor: none;
  background: var(--ext-bg-elevated);
  border-radius: 24px;
  padding: 22px 22px 26px;
  box-shadow: var(--ext-shadow-md);
  border: 1px solid var(--ext-border-faint);
}

.ext-page .ext-slider--medium {
  max-width: 900px;
}

.ext-page .ext-slider--large {
  max-width: 1200px;
}

.ext-page .ext-slider--full {
  max-width: none;
}

.ext-page .ext-slider-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.ext-page .ext-slider-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: var(--ext-bg-inset);
  border-radius: 50%;
  text-decoration: none;
  color: var(--ext-heading);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--ext-border);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.ext-page .ext-slider-nav-link:hover {
  background: var(--ext-bg-muted);
}

.ext-page .ext-slider-nav-link:focus {
  outline: none;
}

.ext-page .ext-slider-nav-link:focus-visible {
  outline: 2px solid var(--ext-accent);
  outline-offset: 2px;
}

.ext-page .ext-slider-nav-link.is-active {
  background: var(--ext-accent);
  color: #ffffff;
  border-color: var(--ext-accent);
}

.ext-page .ext-slider-frame {
  overflow: hidden;
  border-radius: 16px;
  background: var(--ext-bg-inset);
  border: 1px solid var(--ext-border);
}

.ext-page .ext-slider-slides {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ext-page .ext-slider-slides::-webkit-scrollbar {
  display: none;
}

.ext-page .ext-slider-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 16px 16px 12px;
}

.ext-page .ext-slider-media {
  width: 100%;
  line-height: 0;
}

.ext-page .ext-slider-zoom {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.ext-page .ext-slider-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  margin: 0 auto;
  background: var(--ext-bg-elevated);
}

.ext-page .ext-slider--medium .ext-slider-img {
  max-height: min(65vh, 560px);
}

.ext-page .ext-slider--large .ext-slider-img {
  max-height: min(72vh, 720px);
}

.ext-page .ext-slider--full .ext-slider-img {
  max-height: min(80vh, 900px);
}

.ext-page .ext-slider-placeholder {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ext-soft);
  font-size: 1.1rem;
  border-radius: 12px;
  background: var(--ext-bg-elevated);
}

.ext-page .ext-slider-caption {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--ext-muted);
  line-height: 1.4;
}

.ext-page .ext-slider-caption a {
  color: var(--ext-link);
  font-weight: 500;
  text-decoration: none;
}

.ext-page .ext-slider-caption a:hover {
  text-decoration: underline;
}

/* Видео */
.ext-page .ext-video-block {
  width: 100%;
  max-width: 1100px;
  margin: 1rem auto;
  text-align: center;
}

.ext-page .ext-video-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ext-heading);
}

.ext-page .ext-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--ext-shadow-md);
  border: 1px solid var(--ext-border);
  contain: layout style paint;
}

.ext-page .ext-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Постер до воспроизведения — чёткое HD-превью */
.ext-page .ext-video-frame--poster {
  min-height: 0;
}

.ext-page .ext-video-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  background: #0f172a;
  appearance: none;
  -webkit-appearance: none;
}

.ext-page .ext-video-poster-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.ext-page .ext-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ext-accent, #2563eb);
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}

.ext-page .ext-video-poster:hover .ext-video-play {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.55);
}

.ext-page .ext-video-poster:focus-visible {
  outline: 3px solid var(--ext-accent, #2563eb);
  outline-offset: 3px;
}

.ext-page .ext-video-player {
  position: absolute;
  inset: 0;
}

.ext-page .ext-video-player[hidden] {
  display: none;
}

.ext-page .ext-video-poster[hidden] {
  display: none;
}

@media (min-width: 992px) {
  .ext-page .ext-video-block {
    max-width: 1100px;
  }
}

/* Иллюстрации (картинка + текст) */
.ext-page .illustration-block {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ext-block-gap);
  align-items: center;
  margin: 12px 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.ext-page .illustration-block.reverse {
  flex-direction: row-reverse;
}

.ext-page .illustration-block .illustration-card {
  flex: 1 1 58%;
  min-width: min(100%, 300px);
  max-width: 62%;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: none;
}

.ext-page .illustration-block .illustration-media {
  width: 100%;
  line-height: 0;
  cursor: pointer;
}

.ext-page .illustration-block .illustration-media--icon {
  line-height: normal;
  padding: 36px 20px;
  text-align: center;
  color: var(--ext-muted);
  cursor: default;
}

.ext-page .illustration-block .illustration-media--icon i {
  font-size: 3.5rem;
  color: var(--ext-icon);
  display: block;
  margin-bottom: 12px;
}

.ext-page .illustration-block .illustration-img,
.ext-page .illustration-block .illustration-media .sirius-zoom-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.ext-page .illustration-block .illustration-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 12px 16px 0;
}

.ext-page .illustration-block .illustration-label {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ext-heading);
}

.ext-page .illustration-block .illustration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 12px 16px 0;
}

.ext-page .illustration-block .illustration-caption {
  padding: 8px 16px 14px;
  font-size: 0.875rem;
  color: var(--ext-soft);
  text-align: center;
  margin: 0;
}

/* Старый класс .illustration-image — шаги и совместимость */
.ext-page .illustration-image {
  width: 100%;
  background: var(--ext-bg-elevated);
  border-radius: 16px;
  padding: 8px;
  border: 2px solid var(--ext-border);
  text-align: center;
}

.ext-page .illustration-image img,
.ext-page .illustration-image .sirius-zoom-img {
  display: block;
  width: 100%;
  height: auto;
}

.ext-page .illustration-image i {
  font-size: 2.8rem;
  color: var(--ext-icon);
}

.ext-page .illustration-text {
  flex: 1 1 38%;
  min-width: min(100%, 260px);
  color: var(--ext-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.ext-page .illustration-text p {
  margin-bottom: 10px;
}

.ext-page .mockup-tag {
  background: var(--ext-accent);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
  margin: 3px;
}

/* Шаги */
.ext-page .step-block {
  background: var(--ext-bg-elevated);
  border-radius: 28px;
  padding: 28px 24px;
  margin-bottom: var(--ext-block-gap);
  box-shadow: var(--ext-shadow-md);
  transition: transform 0.2s;
  border: 1px solid var(--ext-border-faint);
}

.ext-page .step-block:last-child {
  margin-bottom: 0;
}

.ext-page .step-block:hover {
  transform: translateY(-4px);
}

.ext-page .step-header {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ext-heading);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
  min-width: 0;
}

.ext-page .step-header .step-title-text {
  flex: 1 1 0;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.25;
}

.ext-page .step-number {
  background: var(--ext-accent);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ext-page .step-body {
  margin-bottom: 16px;
}

.ext-page .step-text-row {
  background: var(--ext-bg-elevated);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 12px 0;
  border: 1px solid var(--ext-border-faint);
  box-shadow: none;
}

.ext-page .illustration-caption {
  font-size: 0.875rem;
  color: var(--ext-soft);
  margin-top: 0.5rem;
}

/* Раскрывающиеся блоки */
.ext-page .expandable {
  margin: 12px 0;
}

.ext-page .expandable-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ext-accent);
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 30px;
  background: var(--ext-accent-soft);
  transition: background 0.2s, color 0.2s;
}

.ext-page .expandable-trigger:hover {
  background: var(--ext-accent-soft-hover);
}

.ext-page .expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--ext-bg-inset);
  border-radius: 20px;
  margin-top: 15px;
}

.ext-page .expandable-content.open {
  max-height: 2000px;
}

.ext-page .expandable-inner {
  padding: 25px 30px;
  color: var(--ext-muted);
}

/* Цена */
.ext-page .price-card {
  background: var(--ext-bg-elevated);
  border-radius: 32px;
  padding: 24px 22px;
  max-width: 500px;
  margin: 4px auto;
  box-shadow: var(--ext-shadow-md);
  text-align: center;
  border: 1px solid var(--ext-price-border);
}

.ext-page .section.section--compact .price-card {
  margin-top: 0;
  margin-bottom: 0;
}

.ext-page .price-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ext-heading);
}

.ext-page .price-card__subtitle {
  color: var(--ext-soft);
  margin: 6px 0 10px;
}

.ext-page .price-card__note {
  background: var(--ext-bg-inset);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--ext-muted);
  margin-bottom: 14px;
  text-align: left;
}

.ext-page .price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px 12px;
  margin: 10px 0;
}

.ext-page .price-old {
  text-decoration: line-through;
  color: var(--ext-soft);
  font-size: 1.5rem;
  font-weight: 500;
}

.ext-page .price-current {
  font-size: 3.3rem;
  font-weight: 800;
  color: var(--ext-heading);
  line-height: 1.1;
}

.ext-page .price-benefits {
  list-style: none;
  text-align: left;
  margin: 14px 0;
}

.ext-page .price-benefits li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ext-muted);
}

.ext-page .price-benefits .fa-check-circle {
  color: var(--ext-check);
  margin-top: 4px;
}

/* Контакты и футер */
.ext-page .contact-block {
  background: var(--ext-contact-bg);
  color: white;
  border-radius: 32px;
  padding: 36px 28px;
  text-align: center;
  margin-top: 0;
  border: 1px solid var(--ext-border-faint);
}

html.dark .ext-page .contact-block {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ext-page .contact-block h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.ext-page .contact-block p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #cbd5e1;
}

.ext-page .info-banner {
  background: var(--ext-banner-bg);
  border-radius: 16px;
  padding: 14px 20px;
  margin: 12px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ext-banner-text);
  border: 1px solid var(--ext-border-faint);
}

.ext-page .info-banner i {
  color: var(--ext-banner-icon);
}

.ext-page .ext-footer {
  background: var(--ext-bg-muted);
  padding: 18px 0;
  text-align: center;
  color: var(--ext-muted);
  border-top: 1px solid var(--ext-border-faint);
}

.ext-page .ext-image-figure {
  margin: 12px 0;
  text-align: center;
}

.ext-page .ext-image-zoom {
  border-radius: 16px;
  box-shadow: var(--ext-shadow-sm);
  border: 1px solid var(--ext-border-faint);
}

.ext-page .ext-image-zoom-img,
.ext-page .ext-image-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.ext-page .ext-image-figure figcaption a {
  color: var(--ext-link);
  text-decoration: none;
  font-weight: 500;
}

.ext-page .ext-image-figure figcaption a:hover {
  text-decoration: underline;
}

.ext-page .ext-image-figure figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ext-soft);
}

/* CTA внутри ext-page */
.ext-page .ext-cta-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ext-heading);
  margin-bottom: 12px;
}

/* Соседние секции — убираем двойной верхний отступ */
.ext-page .section + .section {
  padding-top: var(--ext-section-y-junction);
}

@media (max-width: 768px) {
  .ext-page .illustration-block,
  .ext-page .illustration-block.reverse {
    flex-direction: column;
  }

  .ext-page .section-title {
    font-size: 1.8rem;
  }

  .ext-page {
    --ext-section-y: 28px;
    --ext-section-y-compact: 16px;
    --ext-section-y-junction: 6px;
    --ext-block-gap: 16px;
  }

  .ext-page .section {
    padding: var(--ext-section-y) 0;
  }

  .ext-page .section.section--compact {
    padding: var(--ext-section-y-compact) 0;
  }

  .ext-page .section.steps-section.section--compact {
    padding-bottom: 8px;
  }

  .ext-page #pricing.section--compact {
    padding-bottom: var(--ext-section-y-junction);
  }

  .ext-page #pricing.section--compact + .section.steps-section {
    padding-top: var(--ext-section-y-junction);
  }

  .ext-page .price {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .ext-page .price-old {
    font-size: 1.35rem;
  }

  .ext-page .price-current {
    font-size: 2.6rem;
    width: 100%;
    text-align: center;
  }

  .ext-page .step-block {
    padding: 22px 18px;
  }

  .ext-page .step-header {
    font-size: 1.35rem;
    gap: 12px;
  }

  .ext-page .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
@media (min-width: 992px) {
  .ext-page .illustration-block {
    flex-wrap: nowrap;
    gap: 32px;
    padding: 0;
  }

  .ext-page .illustration-block .illustration-card {
    flex: 1 1 58%;
    max-width: 58%;
  }

  .ext-page .illustration-text {
    flex: 1 1 40%;
  }
}