/* static/css/how-it-works.css */


/* ═══════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════ */

.hiw-hero {
  background: white;
  border-bottom: 1px solid rgba(229,231,235,0.85);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.hiw-hero__breadcrumbs { margin-bottom: 2rem; }

.hiw-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hiw-hero__grid { grid-template-columns: 1.3fr 1fr; gap: 5rem; }
}

.hiw-hero__title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0 0 1.25rem;
}

.hiw-hero__title-accent { color: var(--color-primary); display: block; }

.hiw-hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 52ch;
}

.hiw-hero__greenway {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 52ch;
  padding: 0.875rem 1rem 0.875rem 1.125rem;
  background: rgba(13,148,136,0.04);
  border-left: 3px solid rgba(13,148,136,0.3);
  border-radius: 0 0.5rem 0.5rem 0;
}

.hiw-hero__greenway strong { color: var(--color-text); }
.hiw-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hiw-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(229,231,235,0.7);
}

@media (min-width: 640px) { .hiw-hero__facts { grid-template-columns: repeat(4, 1fr); } }

.hiw-fact { display: flex; align-items: center; gap: 0.75rem; }

.hiw-fact__icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(13,148,136,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hiw-fact__icon-wrap--purple { background: rgba(139,92,246,0.1); }
.hiw-fact__icon-wrap--amber  { background: rgba(245,158,11,0.1); }
.hiw-fact__icon-wrap--green  { background: rgba(16,185,129,0.1); }

.hiw-fact__icon { width: 18px; height: 18px; color: var(--color-primary); }
.hiw-fact__icon-wrap--purple .hiw-fact__icon { color: var(--color-secondary); }
.hiw-fact__icon-wrap--amber  .hiw-fact__icon { color: #D97706; }
.hiw-fact__icon-wrap--green  .hiw-fact__icon { color: var(--color-success); }

.hiw-fact__value {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.125rem; font-weight: 700;
  color: var(--color-text); line-height: 1;
}

.hiw-fact__label { font-size: 11px; color: var(--color-muted); margin-top: 2px; }

.hiw-hero__visual { display: none; }

@media (min-width: 1024px) {
  .hiw-hero__visual { display: flex; justify-content: center; }
}

.hiw-funnel { display: flex; flex-direction: column; width: 100%; max-width: 340px; }

.hiw-funnel__step {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: 1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-funnel__step { transition: none; } }
.hiw-funnel__step:hover { transform: translateX(6px); }

.hiw-funnel__step--1 { background: rgba(13,148,136,0.07); border-color: rgba(13,148,136,0.18); }
.hiw-funnel__step--2 { background: rgba(139,92,246,0.07); border-color: rgba(139,92,246,0.18); }
.hiw-funnel__step--3 { background: rgba(6,182,212,0.07);  border-color: rgba(6,182,212,0.18); }
.hiw-funnel__step--4 { background: rgba(245,158,11,0.07); border-color: rgba(245,158,11,0.18); }

.hiw-funnel__icon-wrap {
  width: 44px; height: 44px; border-radius: 11px;
  background: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hiw-funnel__icon-wrap i { width: 20px; height: 20px; color: var(--color-primary); }
.hiw-funnel__step--2 .hiw-funnel__icon-wrap i { color: var(--color-secondary); }
.hiw-funnel__step--3 .hiw-funnel__icon-wrap i { color: var(--color-cyan); }
.hiw-funnel__step--4 .hiw-funnel__icon-wrap i { color: #D97706; }

.hiw-funnel__text { flex: 1; min-width: 0; }
.hiw-funnel__title { font-weight: 700; font-size: 13px; color: var(--color-text); }
.hiw-funnel__sub { font-size: 11px; color: var(--color-muted); margin-top: 2px; }

.hiw-funnel__arrow {
  display: flex; justify-content: flex-start;
  padding: 0.25rem 0 0.25rem 1.5rem; color: var(--color-muted);
}

.hiw-funnel__arrow i { width: 18px; height: 18px; }


/* ═══════════════════════════════════════════
   2. ВИДЕО
   ═══════════════════════════════════════════ */

.hiw-video-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.hiw-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 20px 60px -20px rgba(13,148,136,0.25),
    0 8px 24px -8px rgba(0,0,0,0.15);
  background: #000;
  border: 1px solid rgba(229,231,235,0.85);
}

.hiw-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.hiw-video:focus { outline: none; }


/* ═══════════════════════════════════════════
   3. ОБЩИЕ СТИЛИ СЕКЦИЙ
   ═══════════════════════════════════════════ */

.hiw-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: white; }
.hiw-section--alt { background: var(--color-bg); }
.hiw-section--dark { background: #111827; }

.hiw-section__title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-text);
  line-height: 1.1;
}

.hiw-section__title-accent { color: var(--color-primary); }
.hiw-section__title--left { text-align: left; }
.hiw-section__title--white { color: white; }

.hiw-section__subtitle {
  font-size: 1rem; color: var(--color-muted);
  line-height: 1.7; max-width: 56ch; margin: 1rem auto 0;
}

.text-center { text-align: center; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-steps { margin-bottom: 3.5rem; }


/* ═══════════════════════════════════════════
   4. ЧТО НУЖНО ДЕЛАТЬ (новый минималистичный блок)
   why: заменили громоздкую таблицу VS на простой
   нумерованный список действий с чекбоксами.
   ═══════════════════════════════════════════ */

.hiw-todo {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hiw-todo__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-todo__item { transition: none; } }

.hiw-todo__item:hover {
  border-color: rgba(13,148,136,0.25);
  transform: translateX(4px);
  box-shadow: 0 6px 20px -8px rgba(13,148,136,0.15);
}

.hiw-todo__num {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 42px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hiw-todo__text {
  font-size: 1.0625rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.45;
  flex: 1;
}

.hiw-todo__note {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  background: rgba(13,148,136,0.05);
  border: 1px solid rgba(13,148,136,0.15);
  border-radius: 1rem;
}

.hiw-todo__note i {
  width: 20px; height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.hiw-todo__note p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════
   5. ШАГИ
   ═══════════════════════════════════════════ */

.hiw-steps-visual {
  display: flex; flex-direction: column;
  gap: 1.5rem; align-items: stretch;
}

@media (min-width: 768px) {
  .hiw-steps-visual { flex-direction: row; align-items: stretch; }
}

.hiw-step-card {
  background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.5rem; padding: 1.75rem; flex: 1;
  position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

@media (prefers-reduced-motion: reduce) { .hiw-step-card { transition: none; } }
.hiw-step-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px -8px rgba(13,148,136,0.12); }

.hiw-step-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
  min-height: 64px;
}

.hiw-step-card__icon-wrap {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(13,148,136,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hiw-step-card__icon-wrap i { width: 22px; height: 22px; color: var(--color-primary); }

.hiw-step-card__title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.0625rem; font-weight: 700;
  text-transform: uppercase; color: var(--color-text);
  line-height: 1.2;
  margin: 0;
  flex: 1;
  min-width: 0;
  align-self: center;
}

.hiw-step-card__desc {
  font-size: 0.875rem; color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1 1 auto;
}

.hiw-step-card__time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(13,148,136,0.15);
  min-height: 48px;
}

.hiw-step-card__time i { width: 14px; height: 14px; flex-shrink: 0; }

.hiw-steps-visual__connector {
  display: none; align-items: center;
  color: rgba(13,148,136,0.4); flex-shrink: 0;
}

@media (min-width: 768px) { .hiw-steps-visual__connector { display: flex; } }
.hiw-steps-visual__connector i { width: 24px; height: 24px; }


/* ═══════════════════════════════════════════
   6. ПРОДУКТЫ
   ═══════════════════════════════════════════ */

.hiw-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hiw-products { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.hiw-products__card {
  background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) { .hiw-products__card { transition: none; } }

.hiw-products__card:hover {
  transform: translateY(-4px);
  border-color: rgba(13,148,136,0.2);
  box-shadow: 0 16px 40px -12px rgba(13,148,136,0.15);
}

.hiw-products__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-products__icon { transition: none; } }
.hiw-products__card:hover .hiw-products__icon { transform: scale(1.05) rotate(-3deg); }

.hiw-products__icon i { width: 26px; height: 26px; }

.hiw-products__icon--energy {
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
}
.hiw-products__icon--energy i { color: #D97706; }

.hiw-products__icon--focus {
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(139,92,246,0.05));
}
.hiw-products__icon--focus i { color: var(--color-secondary); }

.hiw-products__icon--protection {
  background: linear-gradient(135deg, rgba(13,148,136,0.15), rgba(13,148,136,0.05));
}
.hiw-products__icon--protection i { color: var(--color-primary); }

.hiw-products__label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.hiw-products__title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.hiw-products__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.hiw-products__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.25rem;
  margin-bottom: 2rem;
}

.hiw-products__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 500;
}

.hiw-products__meta-item i {
  width: 16px; height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.hiw-products__cta {
  display: flex;
  justify-content: center;
}

.hiw-products__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: var(--color-text);
  color: white;
  border-radius: 0.875rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-products__cta-btn { transition: none; } }

.hiw-products__cta-btn:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(13,148,136,0.4);
  color: white;
}

.hiw-products__cta-btn i {
  width: 16px; height: 16px;
  transition: transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-products__cta-btn i { transition: none; } }
.hiw-products__cta-btn:hover i { transform: translateX(3px); }


/* ═══════════════════════════════════════════
   7. ТАБЫ
   why: убран стиль --featured для карточек forwhom.
   Все карточки визуально одинаковые.
   ═══════════════════════════════════════════ */

.hiw-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 2.5rem;
  background: rgba(229,231,235,0.4);
  border-radius: 1rem; padding: 0.375rem; flex-wrap: wrap;
}

.hiw-tabs__btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-radius: 0.75rem;
  font-size: 13px; font-weight: 700;
  color: var(--color-muted);
  background: none; border: none; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap; flex: 1; justify-content: center;
  font-family: inherit;
}

@media (prefers-reduced-motion: reduce) { .hiw-tabs__btn { transition: none; } }
.hiw-tabs__btn:hover { color: var(--color-text); }
.hiw-tabs__btn i { width: 16px; height: 16px; flex-shrink: 0; }

.hiw-tabs__btn--active {
  background: white; color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hiw-tabs__panel { display: none; }
.hiw-tabs__panel--active { display: block; }

/* Таб 1 */
.hiw-forwhom { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

@media (min-width: 640px) { .hiw-forwhom { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hiw-forwhom { grid-template-columns: repeat(3, 1fr); } }

.hiw-forwhom__card {
  display: flex; gap: 1rem;
  padding: 1.25rem 1.5rem; background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-forwhom__card { transition: none; } }

.hiw-forwhom__card:hover {
  border-color: rgba(13,148,136,0.2);
  box-shadow: 0 6px 20px -8px rgba(13,148,136,0.12);
}

.hiw-forwhom__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(13,148,136,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

.hiw-forwhom__icon i { width: 20px; height: 20px; color: var(--color-primary); }
.hiw-forwhom__body { flex: 1; min-width: 0; }
.hiw-forwhom__title { font-weight: 700; font-size: 0.9375rem; color: var(--color-text); margin-bottom: 0.375rem; }
.hiw-forwhom__desc { font-size: 0.8125rem; color: var(--color-muted); line-height: 1.55; margin-bottom: 0.75rem; }

.hiw-forwhom__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.375rem; }

.hiw-forwhom__list li {
  font-size: 12px; color: var(--color-muted);
  padding-left: 1rem; position: relative;
}

.hiw-forwhom__list li::before {
  content: ''; position: absolute; left: 0; top: 0.35em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary); opacity: 0.5;
}

/* Таб 2 */
.hiw-howto { display: flex; flex-direction: column; gap: 1.25rem; }

.hiw-howto__item {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.25rem 1.5rem; background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.25rem;
  transition: border-color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-howto__item { transition: none; } }
.hiw-howto__item:hover { border-color: rgba(13,148,136,0.2); }

.hiw-howto__num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-primary); color: white;
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 0.9375rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

.hiw-howto__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(13,148,136,0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.hiw-howto__icon i { width: 20px; height: 20px; color: var(--color-primary); }
.hiw-howto__content { flex: 1; min-width: 0; }
.hiw-howto__title { font-weight: 700; font-size: 0.9375rem; color: var(--color-text); margin-bottom: 0.375rem; }
.hiw-howto__desc { font-size: 0.875rem; color: var(--color-muted); line-height: 1.6; margin-bottom: 0.75rem; }

.hiw-howto__example {
  padding: 0.75rem 1rem; background: var(--color-bg);
  border-radius: 0.75rem; font-size: 13px; color: var(--color-muted);
  line-height: 1.55; font-style: italic;
  border-left: 2px solid rgba(13,148,136,0.3);
}

/* Таб 3 */
.hiw-whysite__intro { margin-bottom: 2rem; font-size: 1rem; color: var(--color-muted); line-height: 1.7; }

.hiw-whysite__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

@media (min-width: 640px) { .hiw-whysite__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hiw-whysite__grid { grid-template-columns: repeat(3, 1fr); } }

.hiw-whysite__card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.5rem; background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.25rem;
}

.hiw-whysite__card--accent { border-color: rgba(13,148,136,0.25); background: rgba(13,148,136,0.03); }

.hiw-whysite__card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(13,148,136,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.hiw-whysite__card-icon i { width: 20px; height: 20px; color: var(--color-primary); }
.hiw-whysite__card-icon--accent { background: rgba(13,148,136,0.15); }
.hiw-whysite__card-body { flex: 1; min-width: 0; }
.hiw-whysite__card-title { font-weight: 700; font-size: 0.9375rem; color: var(--color-text); margin-bottom: 0.5rem; }
.hiw-whysite__card-compare { display: flex; flex-direction: column; gap: 0.25rem; }
.hiw-whysite__old { font-size: 12px; color: #EF4444; text-decoration: line-through; text-decoration-color: rgba(239,68,68,0.4); }
.hiw-whysite__new { font-size: 13px; color: var(--color-text); font-weight: 600; }
.hiw-whysite__new--big { font-size: 1rem; color: var(--color-primary); }


/* ═══════════════════════════════════════════
   8. ТРИ УРОВНЯ / ЯДРО СИСТЕМЫ
   ═══════════════════════════════════════════ */

.hiw-tiers { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }

@media (min-width: 768px) { .hiw-tiers { grid-template-columns: repeat(3, 1fr); } }

.hiw-tier {
  background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.5rem; padding: 1.75rem;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-tier { transition: none; } }
.hiw-tier:hover { transform: translateY(-3px); box-shadow: 0 12px 32px -8px rgba(0,0,0,0.08); }

.hiw-tier--featured {
  border-color: rgba(13,148,136,0.35);
  box-shadow: 0 0 0 1px rgba(13,148,136,0.15), 0 8px 24px -6px rgba(13,148,136,0.12);
}

.hiw-tier__popular-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--color-primary); color: white;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 0 0 8px 8px; white-space: nowrap;
}

.hiw-tier__header { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(229,231,235,0.7); }

.hiw-tier__icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(13,148,136,0.08);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.875rem;
}

.hiw-tier__icon-wrap i { width: 24px; height: 24px; color: var(--color-primary); }
.hiw-tier__icon-wrap--featured { background: rgba(13,148,136,0.12); }
.hiw-tier__icon-wrap--active   { background: rgba(13,148,136,0.08); }

.hiw-tier__label {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.125rem; font-weight: 700;
  text-transform: uppercase; color: var(--color-text); margin-bottom: 0.375rem;
}

.hiw-tier__condition { font-size: 12px; color: var(--color-muted); line-height: 1.5; }
.hiw-tier--featured .hiw-tier__condition { color: var(--color-primary); font-weight: 600; }

.hiw-tier__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; flex: 1; }

.hiw-tier__feature {
  display: flex; align-items: flex-start;
  font-size: 13px; line-height: 1.4;
  padding-left: 1.375rem; position: relative;
}

.hiw-tier__feature--yes { color: var(--color-text); }
.hiw-tier__feature--yes::before {
  content: ''; position: absolute; left: 0; top: 0.2em; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2310B981'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.hiw-tiers__note {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1.125rem 1.5rem;
  background: rgba(13,148,136,0.04);
  border: 1px solid rgba(13,148,136,0.12);
  border-radius: 1rem;
  font-size: 13px; color: var(--color-muted); line-height: 1.6;
}

.hiw-tiers__note i { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.hiw-tiers__note p { margin: 0; }


/* ═══════════════════════════════════════════
   9. МАТЕМАТИКА (полностью переоформлено)
   why: фазы стали нумерованными карточками с номером.
   Timeline: карточки одной ширины через flex: 1,
   явные подписи "человек" и "ваш доход в месяц".
   Дисклеймер — контрастный блок с иконкой в круге.
   ═══════════════════════════════════════════ */

.hiw55__phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hiw55__phases {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.hiw55__phase {
  position: relative;
  background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw55__phase { transition: none; } }

.hiw55__phase:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(13,148,136,0.15);
}

.hiw55__phase-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(13,148,136,0.08);
  letter-spacing: -0.03em;
}

.hiw55__phase-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(13,148,136,0.1);
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}

.hiw55__phase-title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.hiw55__phase-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/*
  Timeline: пять карточек равной ширины.
  На мобильных превращается в скроллящийся ряд.
  Каждая карточка — column: badge → human → income.
*/
.hiw55__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hiw55__timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .hiw55__timeline {
    gap: 1rem;
  }
}

.hiw55__level-card {
  background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.25rem;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 220px;
  justify-content: space-between;
}

@media (prefers-reduced-motion: reduce) { .hiw55__level-card { transition: none; } }

.hiw55__level-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.1);
}

.hiw55__level-card--l2 { border-color: rgba(13,148,136,0.15); }
.hiw55__level-card--l3 { border-color: rgba(13,148,136,0.25); }
.hiw55__level-card--l4 { border-color: rgba(13,148,136,0.35); }
.hiw55__level-card--l5 {
  border-color: var(--color-primary);
  background: linear-gradient(160deg, rgba(13,148,136,0.06) 0%, white 60%);
  box-shadow: 0 0 0 1px rgba(13,148,136,0.15), 0 12px 32px -8px rgba(13,148,136,0.15);
}

.hiw55__card-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(229,231,235,0.6);
  color: var(--color-muted);
  white-space: nowrap;
  align-self: center;
}

.hiw55__card-badge--l5 {
  background: var(--color-primary);
  color: white;
}

.hiw55__card-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.hiw55__card-stat-num {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hiw55__card-stat-label {
  font-size: 11px;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hiw55__card-stat--income {
  padding-top: 0.875rem;
  border-top: 1px solid rgba(229,231,235,0.7);
}

.hiw55__level-card--l5 .hiw55__card-stat--income {
  border-top-color: rgba(13,148,136,0.2);
}

.hiw55__card-income-num {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
  text-align: center;
  letter-spacing: -0.01em;
}

.hiw55__level-card--l5 .hiw55__card-income-num {
  font-size: 1.1875rem;
}

/*
  Дисклеймер: контрастный блок с крупной иконкой в круге слева
  и текстом справа. Больше не "битый".
*/
.hiw55__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(13,148,136,0.04), rgba(13,148,136,0.01));
  border: 1px solid rgba(13,148,136,0.15);
  border-radius: 1.25rem;
}

.hiw55__disclaimer-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(13,148,136,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw55__disclaimer-icon i {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.hiw55__disclaimer-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.hiw55__disclaimer-text strong {
  color: var(--color-text);
  font-weight: 700;
  display: inline-block;
  margin-right: 4px;
}


/* ═══════════════════════════════════════════
   10. ИИ
   why: все карточки одинаковые. Модификатор --featured удалён.
   ═══════════════════════════════════════════ */

.hiw-ai-wrap { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }

@media (min-width: 1024px) { .hiw-ai-wrap { grid-template-columns: 280px 1fr; } }

.hiw-ai-header__desc { font-size: 0.9375rem; color: var(--color-muted); line-height: 1.7; margin: 1rem 0; }

.hiw-ai-header__badge {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(13,148,136,0.06);
  border: 1px solid rgba(13,148,136,0.15);
  border-radius: 9999px;
  font-size: 12px; color: var(--color-muted); width: fit-content;
}

.hiw-ai-header__badge i { width: 14px; height: 14px; color: var(--color-primary); flex-shrink: 0; }

.hiw-ai-list { display: flex; flex-direction: column; gap: 0.75rem; }

.hiw-ai-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem; background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1rem; position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-ai-item { transition: none; } }

.hiw-ai-item:hover { border-color: rgba(13,148,136,0.2); box-shadow: 0 4px 16px -8px rgba(13,148,136,0.12); }

.hiw-ai-item__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(13,148,136,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.hiw-ai-item__icon i { width: 20px; height: 20px; color: var(--color-primary); }
.hiw-ai-item__icon--teal { background: rgba(13,148,136,0.1); }
.hiw-ai-item__icon--teal i { color: var(--color-primary); }

.hiw-ai-item__body { flex: 1; min-width: 0; }
.hiw-ai-item__title { font-weight: 700; font-size: 0.9375rem; color: var(--color-text); margin-bottom: 0.25rem; }
.hiw-ai-item__desc { font-size: 0.8125rem; color: var(--color-muted); line-height: 1.55; }

.hiw-ai-item__num {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: rgba(13,148,136,0.08); line-height: 1;
  flex-shrink: 0; align-self: center;
}


/* ═══════════════════════════════════════════
   11. ГЛАВНЫЕ ВОПРОСЫ
   ═══════════════════════════════════════════ */

.hiw-qa {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hiw-qa { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

.hiw-qa__card {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-qa__card { transition: none; } }

.hiw-qa__card:hover {
  border-color: rgba(13,148,136,0.25);
  box-shadow: 0 8px 24px -8px rgba(13,148,136,0.15);
  transform: translateY(-2px);
}

.hiw-qa__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(13,148,136,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-qa__icon { transition: none; } }
.hiw-qa__card:hover .hiw-qa__icon { background: rgba(13,148,136,0.15); }

/*
  why: жёстко задаём width/height для svg внутри icon,
  чтобы Lucide после createIcons не растянул иконку на 100%.
*/
.hiw-qa__icon svg,
.hiw-qa__icon i {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  stroke: var(--color-primary);
  flex-shrink: 0;
}

.hiw-qa__body {
  flex: 1;
  min-width: 0;
}

.hiw-qa__question {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin: 0 0 0.625rem;
}

.hiw-qa__answer {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}


/* ═══════════════════════════════════════════
   12. БУДУЩЕЕ (теперь на светлом фоне)
   why: секция переведена из тёмной темы в светлую,
   чтобы тёмный фон остался только на CTA.
   ═══════════════════════════════════════════ */

.hiw-future {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .hiw-future { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.hiw-future__desc {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.hiw-future__highlight {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.7;
  padding: 1rem 1.25rem;
  background: rgba(13,148,136,0.05);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 0.75rem 0.75rem 0;
}

.hiw-future__highlight strong {
  color: var(--color-primary);
  font-weight: 700;
}

.hiw-future__right {
  background: white;
  border: 1px solid rgba(229,231,235,0.85);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.08);
}

.hiw-future__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-future__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid rgba(229,231,235,0.7);
}

.hiw-future__item:last-child { border-bottom: none; padding-bottom: 0; }
.hiw-future__item:first-child { padding-top: 0; }

.hiw-future__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-future__dot i { width: 16px; height: 16px; }

.hiw-future__item--done .hiw-future__dot {
  background: var(--color-primary);
}
.hiw-future__item--done .hiw-future__dot i { color: white; }

.hiw-future__dot--soon {
  background: rgba(13,148,136,0.15);
  border: 2px solid var(--color-primary);
}
.hiw-future__dot--soon i { color: var(--color-primary); }

.hiw-future__dot--future {
  background: rgba(229,231,235,0.6);
  border: 2px solid rgba(209,213,219,0.8);
}
.hiw-future__dot--future i { color: var(--color-muted); }

.hiw-future__line {
  width: 2px;
  height: 1rem;
  background: rgba(13,148,136,0.25);
  margin-left: 1rem;
}

.hiw-future__line--faded {
  background: rgba(229,231,235,0.9);
}

.hiw-future__item-body {
  flex: 1;
  min-width: 0;
}

.hiw-future__item-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.375rem;
}

.hiw-future__item--done .hiw-future__item-label { color: var(--color-primary); }
.hiw-future__item--soon .hiw-future__item-label { color: var(--color-text); }
.hiw-future__item--future .hiw-future__item-label { color: var(--color-muted); }

.hiw-future__item-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-muted);
}


/* ═══════════════════════════════════════════
   13. CTA (единственная тёмная секция)
   ═══════════════════════════════════════════ */

.hiw-cta {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  position: relative; overflow: hidden;
}

.hiw-cta::before {
  content: ''; position: absolute; top: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hiw-cta::after {
  content: ''; position: absolute; bottom: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hiw-cta__inner { position: relative; z-index: 1; text-align: center; }

.hiw-cta__icon-wrap {
  width: 80px; height: 80px; border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem;
}

.hiw-cta__icon-wrap i { width: 40px; height: 40px; color: white; }

.hiw-cta__title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  text-transform: uppercase; color: white; margin-bottom: 1rem;
}

.hiw-cta__title-accent { color: #34D399; }

.hiw-cta__desc {
  font-size: 1.0625rem; color: rgba(255,255,255,0.7);
  line-height: 1.7; max-width: 52ch; margin: 0 auto 2.5rem;
}

.hiw-cta__actions {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2rem;
}

.hiw-cta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1rem 2rem; border-radius: 1rem;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; font-family: inherit;
  transition: all 0.2s ease;
}

@media (prefers-reduced-motion: reduce) { .hiw-cta__btn { transition: none; } }
.hiw-cta__btn i { width: 16px; height: 16px; flex-shrink: 0; }

.hiw-cta__btn--primary {
  background: var(--color-primary); color: white;
  box-shadow: 0 8px 24px -6px rgba(13,148,136,0.5);
}

.hiw-cta__btn--primary:hover { background: #0f766e; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(13,148,136,0.6); color: white; }

.hiw-cta__btn--secondary {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
}

.hiw-cta__btn--secondary:hover { background: rgba(255,255,255,0.18); color: white; transform: translateY(-2px); }

.hiw-cta__trust {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}

.hiw-cta__trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 12px; color: rgba(255,255,255,0.55); }
.hiw-cta__trust-item i { width: 14px; height: 14px; }
.hiw-cta__note { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 520px; margin: 0 auto; }


/* ═══════════════════════════════════════════
   14. SHARE BUTTON
   ═══════════════════════════════════════════ */

.share-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; background: white;
  border: 1px solid rgba(229,231,235,0.9);
  border-radius: 9999px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-muted); cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
  white-space: nowrap; font-family: inherit;
}

@media (prefers-reduced-motion: reduce) { .share-btn { transition: none; } }

.share-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(13,148,136,0.04); transform: translateY(-1px); }
.share-btn:active { transform: scale(0.97); }
.share-btn__icon { width: 14px; height: 14px; flex-shrink: 0; }


/* ═══════════════════════════════════════════
   15. REDUCED MOTION
   ═══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .hiw-funnel__step,
  .hiw-step-card,
  .hiw-tier,
  .hiw-forwhom__card,
  .hiw-howto__item,
  .hiw-ai-item,
  .hiw-cta__btn,
  .hiw55__level-card,
  .hiw55__phase,
  .hiw-products__card,
  .hiw-products__icon,
  .hiw-products__cta-btn,
  .hiw-qa__card,
  .hiw-qa__icon,
  .hiw-todo__item {
    transition: none !important;
    animation: none !important;
  }
}