/* --- Variables --- */
:root {
  /* Основной цвет: тёплый тёмно-синий / индиго (заголовки, акценты) */
  --color-indigo: #1F2A44;
  --color-indigo-alt: #24324F;
  /* Кнопка: тёплый оранжево-коралловый (единственный яркий объект) */
  --color-btn: #F26B3A;
  --color-btn-hover: #E85A2A;
  /* Вторичная кнопка «Полный курс»: тёплый зелёный */
  --color-btn-secondary: #2E8B57;
  --color-btn-secondary-hover: #3AA76D;
  /* Фоны — тёплые, с характером */
  --color-cream: #f8f4ef;
  --color-cream-dark: #ebe4dc;
  --color-sand: #f0ebe3;
  --color-warm: #fdf6ed;
  --color-white: #fcfaf7;
  /* Текст: тёмно-серый, без чёрного */
  --color-text: #333333;
  --color-text-muted: #666666;
  /* Акцент для доверия/подсказок (зелёный) */
  --color-accent: #2E8B57;
  --font-heading: 'PT Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'PT Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(31, 42, 68, 0.08);
  --shadow-hover: 0 12px 40px rgba(31, 42, 68, 0.12);
}

/* --- Анимации (конверсия) --- */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 0 rgba(242, 107, 58, 0.2); }
  50% { box-shadow: var(--shadow), 0 0 0 8px rgba(242, 107, 58, 0); }
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: var(--shadow-hover), 0 0 0 1px rgba(242, 107, 58, 0.2); }
  50% { box-shadow: var(--shadow-hover), 0 0 0 3px rgba(242, 107, 58, 0.4); }
}
@keyframes stickyCtaIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes savingsPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(46, 139, 87, 0.35), 0 0 0 0 rgba(46, 139, 87, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(46, 139, 87, 0.5), 0 0 0 10px rgba(46, 139, 87, 0); }
}
@keyframes brainSway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
@keyframes brainGlow {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(218, 165, 32, 0.28)); }
  50% { filter: drop-shadow(0 0 40px rgba(218, 165, 32, 0.4)); }
}
/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  background-image:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(242, 107, 58, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 100% 100%, rgba(46, 139, 87, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(31, 42, 68, 0.02) 0%, transparent 70%);
  background-attachment: fixed;
  overflow-x: hidden;
}
/* iOS/Android: fixed background может лагать/дёргаться */
@media (max-width: 768px) {
  body { background-attachment: scroll; }
}
/* Удобные зоны нажатия на тач-устройствах */
a, button { -webkit-tap-highlight-color: rgba(242, 107, 58, 0.2); }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-top: max(0.75rem, env(safe-area-inset-top));
  background: rgba(252, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 42, 68, 0.08);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-indigo);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.header .nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header .nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  padding: 0.6rem 0.75rem;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header .nav a:hover { color: var(--color-indigo-alt); }
@media (max-width: 600px) {
  /* На телефонах меню не прячем: делаем горизонтальный скролл */
  .header-inner { gap: 0.5rem; }
  .header .nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    max-width: 72vw;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .header .nav::-webkit-scrollbar { display: none; } /* Chrome/Safari */
  .header .nav a {
    font-size: 0.85rem;
    padding: 0.5rem 0.55rem;
    white-space: nowrap;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .header .nav a { font-size: 0.85rem; padding: 0.5rem 0.5rem; }
}

/* --- Container --- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 5rem 0 3rem;
  padding-top: max(5rem, calc(env(safe-area-inset-top) + 4rem));
  padding-bottom: max(3rem, env(safe-area-inset-bottom));
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 7rem 0 4rem; padding-top: max(7rem, calc(env(safe-area-inset-top) + 5rem)); }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(242, 107, 58, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(46, 139, 87, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(31, 42, 68, 0.05) 0%, transparent 45%),
    var(--color-warm);
}
.hero-inner {
  position: relative;
  text-align: center;
}
.hero-inner .hero-badge {
  animation: heroReveal 0.7s ease-out both;
}
.hero-inner .hero-title {
  animation: heroReveal 0.7s ease-out 0.15s both;
}
.hero-inner .hero-subtitle {
  animation: heroReveal 0.7s ease-out 0.3s both;
}
.hero-inner .btn-hero {
  animation: heroReveal 0.7s ease-out 0.45s both;
}
.hero-inner .hero-social {
  animation: heroReveal 0.7s ease-out 0.55s both;
}
.hero-inner .hero-note {
  animation: heroReveal 0.7s ease-out 0.65s both;
}
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-indigo);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem;
  background: rgba(31, 42, 68, 0.08);
  border-radius: 999px;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: var(--color-indigo);
  margin: 0 0 1rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 375px) {
  .hero-title { font-size: clamp(2rem, 5vw, 3.5rem); }
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero-subtitle { margin-bottom: 2rem; }
}
.hero-subtitle br { display: block; }
.btn {
  display: inline-block;
  padding: 0.95rem 1.5rem;
  min-height: 48px;
  min-width: 44px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1.3;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .btn { padding: 0.95rem 2rem; white-space: normal; }
}
.btn-hero { white-space: nowrap; }
@media (max-width: 380px) {
  .btn-hero { font-size: 0.95rem; padding-left: 1.25rem; padding-right: 1.25rem; }
}
.btn-primary {
  background: var(--color-btn);
  color: var(--color-white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--color-btn-hover);
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  min-height: 44px;
}
.btn-to-pay {
  /* Кнопки покупки: чуть крупнее текст */
  font-size: 1.1rem;
}
.btn-sm.btn-to-pay { font-size: 1rem; }
.btn-large.btn-to-pay { font-size: 1.15rem; }
@media (max-width: 380px) {
  .btn-to-pay { font-size: 1.02rem; }
  .btn-large.btn-to-pay { font-size: 1.05rem; }
}
.btn-outline {
  background: transparent;
  color: var(--color-btn);
  border: 2px solid var(--color-btn);
}
.btn-outline:hover {
  background: rgba(242, 107, 58, 0.08);
  transform: scale(1.02);
}
@media (hover: none) {
  .btn-primary:hover, .btn-outline:hover { transform: none; }
  .price-card:hover { transform: none; }
}
.btn-pay {
  width: 100%;
  white-space: normal;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 380px) {
  .btn-pay { font-size: 0.9rem; padding: 0.85rem 1rem; }
}
.btn-large { padding: 1.1rem 2rem; font-size: 1.05rem; min-height: 52px; }
@media (max-width: 380px) {
  .btn-large { font-size: 1rem; padding: 1rem 1.5rem; }
}
.hero-social {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.hero-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- Sections --- */
.section {
  padding: 3rem 0;
  padding-bottom: max(3rem, env(safe-area-inset-bottom));
}
@media (min-width: 768px) {
  .section { padding: 4.5rem 0; padding-bottom: max(4.5rem, env(safe-area-inset-bottom)); }
}
.section-alt { background: var(--color-sand); }
.section-title-sm { font-size: clamp(1.35rem, 3vw, 1.65rem); }
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--color-indigo);
  margin: 0 0 1.5rem;
  text-align: center;
  padding: 0 0.5rem;
}
@media (min-width: 768px) {
  .section-title { margin-bottom: 2rem; }
}

/* --- Prose (Почему грамматика не нужна) --- */
.prose-block {
  max-width: 36rem;
  margin: 0 auto;
}
.prose-block .lead {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  font-style: italic;
  color: var(--color-indigo);
  margin: 0 0 1.5rem;
  line-height: 1.35;
}
.prose-block p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}
.prose-block p:last-child { margin-bottom: 0; }
.prose-block strong { color: var(--color-text); }

/* --- Мозг: картинка + мягкое свечение --- */
.brain-block {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0;
}
.brain-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.brain-visual {
  flex-shrink: 0;
  line-height: 0;
  background: transparent;
}
.brain-cutout {
  display: block;
  width: min(560px, 92vw);
  height: auto;
  transform-origin: 50% 65%;
  /* золотая подсветка + лёгкое качание (без 360) */
  animation: brainSway 5s ease-in-out infinite, brainGlow 4s ease-in-out infinite;
}
@media (min-width: 600px) {
  .brain-cutout { width: min(640px, 80vw); }
}
@media (min-width: 900px) {
  .brain-cutout { width: 720px; }
}
@media (prefers-reduced-motion: reduce) {
  .brain-cutout {
    animation: brainGlow 4s ease-in-out infinite;
  }
}
.brain-text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  color: var(--color-indigo);
  text-align: center;
  max-width: 22ch;
  line-height: 1.45;
  letter-spacing: 0.01em;
  opacity: 0.92;
}

/* --- Подходит, если (со мной всё ок) --- */
.section-fits {
  background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-cream) 100%);
}
.fits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.fits-list li {
  padding: 0.6rem 0;
  padding-left: 0;
  position: relative;
  color: var(--color-text-muted);
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.fits-list li::before {
  content: '\2014'; /* длинное тире */
  flex-shrink: 0;
  color: var(--color-indigo);
  font-weight: 600;
}
@media (min-width: 768px) {
  .fits-list li { padding: 0.75rem 0; font-size: 1.05rem; }
}

/* --- Аудио-превью --- */
.section-audio { padding: 3rem 0; }
.audio-block {
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
}
.audio-caption {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: var(--color-indigo);
  margin: 0 0 1rem;
}
.audio-player-wrap {
  margin: 1rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-cream);
  border: 1px solid var(--color-cream-dark);
}
.audio-player {
  width: 100%;
  height: 48px;
  display: block;
}
.audio-hint {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --- Таймлайн 2 недели --- */
.section-timeline { background: var(--color-sand); }
.timeline {
  max-width: 24rem;
  margin: 0 auto 1.5rem;
}
.timeline-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-cream-dark);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-days {
  font-weight: 700;
  color: var(--color-indigo);
  font-size: 1rem;
  min-width: 5.5rem;
}
.timeline-label {
  color: var(--color-text);
  font-size: 1rem;
}
.timeline-note {
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --- Feature list (Что внутри) --- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--color-text-muted);
}
.feature-icon {
  color: var(--color-indigo);
  font-size: 0.75rem;
}
.blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  font-style: italic;
  color: var(--color-indigo);
  text-align: center;
  margin: 0;
  padding: 1.5rem 1rem;
  border-left: none;
  background: rgba(31, 42, 68, 0.06);
  border-radius: var(--radius);
}

/* --- Формат обучения --- */
.section-format .section-title { margin-bottom: 2.5rem; }
.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.format-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.format-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-indigo);
  opacity: 0.4;
}
.format-card p { margin: 0.25rem 0; color: var(--color-text-muted); }
.format-card strong { color: var(--color-text); }
.need-block {
  max-width: 24rem;
  margin: 0 auto 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
}
.need-block h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-indigo);
}
.need-block ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}
.dont-need { background: rgba(31, 42, 68, 0.06); }
.do-need { background: rgba(46, 139, 87, 0.08); }

/* --- Pricing --- */
.section-pricing {
  background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-cream-dark) 100%);
  position: relative;
}
.section-pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(242, 107, 58, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(46, 139, 87, 0.04) 0%, transparent 25%);
  pointer-events: none;
}
.pricing-trust {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 500;
  margin: -0.5rem 0 0;
  padding: 0 0.5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 480px) {
  .pricing-grid { gap: 1.5rem; margin-top: 2rem; }
}
@media (min-width: 600px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
.pricing-grid-simple {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  .pricing-grid-simple { max-width: 36rem; }
}
.pricing-grid-other {
  margin-top: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.ritual-text {
  text-align: center;
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 500;
  margin: 0 0 1rem;
}
.price-after-click {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}
.price-after-click.is-visible {
  opacity: 1;
  /* чтобы текст не обрезался при переносе строк */
  max-height: 8em;
}
.other-levels {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.link-levels {
  color: var(--color-indigo);
  font-weight: 500;
  text-decoration: none;
}
.link-levels:hover { text-decoration: underline; color: var(--color-indigo-alt); }
.price-card-main { }
.price-card-small {
  padding: 1.25rem;
}
.price-card-small h3 { font-size: 1.15rem; }
.price-card-small .price-amount { font-size: 1.4rem; margin: 0.5rem 0 0.75rem !important; }
@media (min-width: 900px) {
  .pricing-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }
}
.price-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
@media (min-width: 768px) {
  .price-card { padding: 2rem; }
}
.price-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}
.price-card-featured {
  background: linear-gradient(160deg, var(--color-indigo) 0%, var(--color-indigo-alt) 100%);
  color: var(--color-white);
  border: 2px solid rgba(46, 139, 87, 0.35);
}
.price-card-featured p,
.price-card-featured .price-amount { color: rgba(255,255,255,0.95); }
.price-card-featured .btn-primary {
  background: var(--color-btn-secondary);
  color: var(--color-white);
}
.price-card-featured .btn-primary:hover { background: var(--color-btn-secondary-hover); transform: scale(1.02); }
.price-card-featured .btn-pulse {
  animation: btnPulse 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .price-card-featured .btn-pulse { animation: none; }
}
.price-wrap {
  margin: 1rem 0 1.25rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.price-old {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6) !important;
  text-decoration: line-through;
  font-weight: 500;
}
.price-card-featured .price-amount {
  margin: 0 !important;
  font-size: 1.75rem;
  color: #fff !important;
}
.badge-fire {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.95);
}
.price-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-indigo);
}
.price-card-featured h3 { color: var(--color-white); }
.price-card p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.price-duration {
  font-size: 0.85rem !important;
  margin-bottom: 1rem !important;
}
.price-amount {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-indigo);
  margin: 1rem 0 1.25rem !important;
}
.price-card-main .price-amount {
  font-size: 2.1rem;
}
.price-card .btn { width: 100%; text-align: center; }
.price-card-featured .btn-pay { white-space: normal; }
/* --- Sticky CTA (плавающая кнопка при скролле) --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  background: rgba(252, 250, 247, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(31, 42, 68, 0.08);
  box-shadow: 0 -4px 24px rgba(31, 42, 68, 0.08);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  animation: stickyCtaIn 0.35s ease;
}
.sticky-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sticky-cta-text {
  font-weight: 600;
  color: var(--color-indigo);
  font-size: 0.95rem;
}
.sticky-cta .btn { white-space: nowrap; }

/* --- Trust block --- */
.section-trust { padding: 2.5rem 0; }
@media (min-width: 768px) {
  .section-trust { padding: 3rem 0; }
}
.trust-micro {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  padding: 1rem 1.25rem;
  background: rgba(46, 139, 87, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(46, 139, 87, 0.15);
}
.trust-micro p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.trust-block {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(145deg, var(--color-cream) 0%, var(--color-warm) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-cream-dark);
  box-shadow: 0 4px 20px rgba(31, 42, 68, 0.06);
}
@media (min-width: 768px) {
  .trust-block { padding: 2rem 2.5rem; }
}
.trust-block h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-indigo);
}
.trust-block p {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
}
.trust-block p:last-child { margin-bottom: 0; }
.trust-block strong { color: var(--color-text); }

/* --- Why us --- */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 28rem;
  margin: 0 auto;
}
.why-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--color-text-muted);
}
.why-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--color-indigo);
  font-size: 0.7rem;
}
.why-list strong { color: var(--color-text); }

/* --- Final CTA --- */
.section-cta {
  background: linear-gradient(160deg, var(--color-indigo) 0%, var(--color-indigo-alt) 100%);
  color: var(--color-white);
  padding: 3rem 0;
  padding-bottom: max(3rem, env(safe-area-inset-bottom));
  text-align: center;
}
@media (min-width: 768px) {
  .section-cta { padding: 5rem 0; padding-bottom: max(5rem, env(safe-area-inset-bottom)); }
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.25;
  padding: 0 0.5rem;
}
.cta-sub {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
  opacity: 0.95;
}
@media (min-width: 768px) {
  .cta-sub { margin-bottom: 2rem; }
}
.section-cta .btn-primary {
  background: var(--color-btn);
  color: var(--color-white);
}
.section-cta .btn-primary:hover {
  background: var(--color-btn-hover);
  color: var(--color-white);
  transform: scale(1.02);
}

/* --- Оформление заказа, оплата, поддержка --- */
.section-legal {
  background: linear-gradient(180deg, var(--color-cream-dark) 0%, var(--color-sand) 100%);
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .section-legal { padding: 4rem 0; }
}
.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
@media (min-width: 768px) {
  .container-narrow { padding: 0 1.5rem; }
}
.section-legal .section-title { margin-bottom: 1rem; }
.legal-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 2rem;
  text-align: center;
}
.legal-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
}
.legal-block {
  background: var(--color-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-cream-dark);
}
.legal-block h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-indigo);
  margin: 0 0 0.75rem;
}
.legal-block p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a {
  color: var(--color-indigo);
  font-weight: 500;
  text-decoration: none;
}
.legal-block a:hover { text-decoration: underline; }
.legal-note {
  margin-top: 0.75rem !important;
  font-size: 0.9rem !important;
  color: var(--color-text-muted) !important;
  font-style: italic;
}
.legal-refund {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-cream-dark);
}
.legal-refund h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-indigo);
  margin: 0 0 0.5rem;
}
.legal-refund p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.legal-refund a {
  color: var(--color-indigo);
  font-weight: 500;
  text-decoration: none;
}
.legal-refund a:hover { text-decoration: underline; }

/* --- Страница руководства (guide.html) --- */
.section-guide {
  padding: 5rem 0 4rem;
  min-height: 100vh;
}
.guide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--color-indigo);
  margin: 0 0 2rem;
  line-height: 1.3;
  text-align: center;
}
.guide-block {
  margin-bottom: 2.5rem;
}
.guide-block h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-indigo);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-cream-dark);
}
.guide-block p,
.guide-block ul {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}
.guide-block ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.guide-block li {
  margin-bottom: 0.4rem;
}
.guide-block p:last-child { margin-bottom: 0; }
.guide-block a {
  color: var(--color-indigo);
  font-weight: 500;
  text-decoration: none;
}
.guide-block a:hover { text-decoration: underline; }
.guide-legal-sub {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-cream-dark);
}
.guide-legal-sub h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-indigo);
  margin: 0 0 0.5rem;
}
.guide-legal-sub p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.guide-legal-sub a {
  color: var(--color-indigo);
  font-weight: 500;
  text-decoration: none;
}
.guide-legal-sub a:hover { text-decoration: underline; }
.guide-policy h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-indigo);
  margin: 1.25rem 0 0.5rem;
}
.guide-policy h4:first-of-type { margin-top: 1rem; }
.guide-policy ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.5rem;
}
.guide-policy li { margin-bottom: 0.35rem; }
.guide-back {
  margin-top: 2.5rem;
  margin-bottom: 0;
  text-align: center;
}

/* --- Footer --- */
.footer {
  padding: 1.5rem 1rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--color-cream-dark);
}
.footer a {
  color: var(--color-indigo);
  text-decoration: none;
}
.footer a:hover { text-decoration: underline; }
.footer p { margin: 0.35rem 0; }
.footer p:first-child { margin-bottom: 0.25rem; }
@media (min-width: 768px) {
  .footer { padding: 2rem 1.5rem; }
}

/* --- Модальное окно «Перейти к оплате» --- */
.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.payment-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 68, 0.5);
  cursor: pointer;
}
.payment-modal-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.5rem;
  padding-top: 2.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(31, 42, 68, 0.2);
  border: 1px solid var(--color-cream-dark);
}
.payment-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.payment-modal-close:hover {
  color: var(--color-indigo);
  background: var(--color-sand);
}
.payment-modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-indigo);
  margin: 0 0 1rem;
  text-align: center;
}
.payment-modal-text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  text-align: center;
}
.payment-modal .btn-pay-goto {
  width: 100%;
  margin-bottom: 1.25rem;
  justify-content: center;
}
.payment-modal .btn-pay-goto.is-disabled,
.payment-modal .btn-pay-goto[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(0.2);
}
.payment-modal-docs {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.6;
}
.payment-modal-docs a {
  color: var(--color-indigo);
  text-decoration: none;
  display: inline-block;
  margin: 0.25rem 0;
}
.payment-modal-docs a:hover { text-decoration: underline; }
@media (max-width: 380px) {
  .payment-modal-box { padding: 1.75rem 1.25rem; padding-top: 2.25rem; }
}

/* --- Доп. адаптив: очень узкие экраны (iPhone SE и т.п.) --- */
@media (max-width: 360px) {
  .hero-badge { font-size: 0.75rem; padding: 0.3rem 0.7rem; }
  .blockquote { font-size: 1.15rem; padding: 1.25rem 0.75rem; }
  .format-grid { grid-template-columns: 1fr; }
}

/* --- Планшеты: улучшенные отступы --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
  .pricing-grid { gap: 1.25rem; }
  .price-card { padding: 1.75rem; }
}
