* { box-sizing: border-box; }

body {
  margin: 0;
  background: oklch(97% 0.012 300);
  font-family: 'Work Sans', sans-serif;
}

a { color: oklch(38% 0.1 300); text-decoration: none; }
a:hover { color: oklch(30% 0.11 300); }

.page {
  max-width: 1400px;
  margin: 0 auto;
  background: oklch(97% 0.012 300);
  color: oklch(22% 0.015 300);
  overflow: hidden;
}

/* ── IMAGE PLACEHOLDERS ── */
.img-slot {
  background: oklch(91% 0.016 300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: oklch(55% 0.05 300);
  font-style: italic;
  overflow: hidden;
  position: relative;
}

.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-img { object-position: center top; }

/* ── LOGO ── */
.logo {
  font-family: 'Lora', serif;
  font-weight: 600;
  line-height: 1;
}

.logo-sub {
  font-weight: 600;
  letter-spacing: 0.18em;
  color: oklch(45% 0.08 300);
  display: block;
  margin-top: 2px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: oklch(38% 0.11 300);
  color: oklch(98% 0.01 300) !important;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.15s;
}

.btn-primary:hover { background: oklch(33% 0.12 300); }

.btn-white {
  display: inline-block;
  background: oklch(98% 0.01 300);
  color: oklch(38% 0.11 300) !important;
  padding: 15px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.btn-white:hover { opacity: 0.9; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: oklch(30% 0.02 300);
  border-radius: 2px;
}

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 14px;
  color: oklch(30% 0.02 300);
}

.nav-cta { display: flex; align-items: center; gap: 16px; }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  padding: 20px 40px 50px;
  align-items: center;
}

.hero-img-wrap { position: relative; }

.hero-caption {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: white;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  max-width: 150px;
  transform: rotate(-3deg);
  text-align: right;
  pointer-events: none;
  line-height: 1.35;
}

.hero-keywords {
  position: absolute;
  top: 120px;
  right: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: oklch(30% 0.02 300);
  text-align: right;
  line-height: 1.9;
  pointer-events: none;
}

.hero-play {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: oklch(98% 0.01 300 / 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.play-label {
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── PERKS BAR ── */
.perks-bar {
  padding: 26px 40px;
  background: oklch(94% 0.018 300);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  text-align: center;
}

.perk { font-size: 12.5px; line-height: 1.4; color: oklch(30% 0.02 300); }
.perk-icon { display: block; margin: 0 auto 6px; }

/* ── SECTION HELPERS ── */
.section-h2 {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 8px;
  text-align: center;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: oklch(45% 0.06 300);
  margin-bottom: 32px;
  text-align: center;
}

.caveat-note {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: oklch(40% 0.1 300);
  max-width: 110px;
  pointer-events: none;
}

/* ── RESULTS ── */
.ba-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: oklch(20% 0 0 / 0.55);
  color: white;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 100px;
}

/* ── STEPS ── */
.steps-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: oklch(94% 0.018 300);
  border-radius: 20px;
  padding: 20px 24px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  text-align: left;
}

.step-icon {
  height: 64px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.step-text { flex: 1; }

.step-arrow {
  font-size: 18px;
  color: oklch(55% 0.06 300);
  flex-shrink: 0;
}

/* ── COMPARE TABLE ── */
.compare-header {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
}

.compare-cell {
  padding: 12px 18px;
  border-top: 1px solid oklch(90% 0.012 300);
  font-size: 13.5px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.check { color: oklch(45% 0.09 300); font-weight: 700; }
.cross { color: oklch(55% 0.1 30); font-weight: 700; }

/* ── RESULTS SLIDER ── */
#results-track {
  scrollbar-width: none;
}
#results-track::-webkit-scrollbar { display: none; }

@media (max-width: 767px) {
  .result-slide { width: calc(80% - 7px) !important; }
}

/* ── REVIEWS ── */
.review-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: oklch(94% 0.018 300);
  border-radius: 16px;
  padding: 18px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: oklch(25% 0.015 300);
  margin: 0 0 8px;
}

.slider-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid oklch(85% 0.015 300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ── FAQ ── */
.faq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid oklch(88% 0.015 300);
  font-size: 14.5px;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  color: oklch(50% 0.04 300);
  transition: transform 0.2s;
  font-size: 16px;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 10px 0 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: oklch(38% 0.02 300);
}

.faq-item.open + .faq-answer { display: block; }

/* ── CTA ── */
.cta-block {
  background: oklch(38% 0.11 300);
  border-radius: 26px;
  padding: 44px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  color: oklch(98% 0.01 300);
  position: relative;
}

.cta-caveat {
  position: absolute;
  top: 16px;
  right: 60px;
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: oklch(92% 0.04 300);
  max-width: 180px;
  text-align: center;
  line-height: 1.3;
  pointer-events: none;
  transform: rotate(-3deg);
}

/* ── FOOTER ── */
.footer {
  padding: 36px 40px 26px;
  border-top: 1px solid oklch(90% 0.012 300);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: oklch(30% 0.02 300);
}

.footer-social {
  display: flex;
  gap: 16px;
  font-size: 16px;
  color: oklch(30% 0.02 300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: oklch(45% 0.03 300);
}

.footer-caveat {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: oklch(40% 0.1 300);
  text-align: right;
  margin-top: -40px;
}

/* ── TABLET (≤ 1023px) ── */
@media (max-width: 1023px) {
  .hero { padding: 16px 28px 40px; }

  .perks-bar { grid-template-columns: repeat(3, 1fr); }

  .m-grid { grid-template-columns: repeat(4, 1fr) !important; }

  .m-grid-results { grid-template-columns: repeat(2, 1fr) !important; }

  .m-grid-reviews { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── MOBILE (≤ 767px) ── */
@media (max-width: 767px) {

  /* padding сбоку на всех секциях */
  .page section,
  .page > nav { padding-left: 20px !important; padding-right: 20px !important; }
  .page > footer { padding-left: 20px !important; padding-right: 20px !important; }

  /* Заголовки */
  .section-h2 { font-size: 22px; }
  .section-label { font-size: 11px; margin-bottom: 18px; }
  .page section h2 { font-size: 22px !important; }

  /* ── NAV ── */
  .nav { padding: 14px 20px; flex-wrap: nowrap; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* ── HERO ── */
  .hero { grid-template-columns: 1fr; padding: 20px 20px 36px; gap: 16px; }
  .hero h1 { font-size: 26px !important; line-height: 1.2 !important; }
  .hero p { font-size: 14px !important; max-width: none !important; }
  .hero-img-wrap { order: -1; }
  .hero-img-wrap > div { height: 280px !important; border-radius: 24px !important; }
  .hero-img-wrap .img-slot { height: 100% !important; }
  .hero-keywords { display: none; }
  .hero-caption { display: none; }
  .hero-play { bottom: 16px; left: 16px; }

  /* ── PERKS ── */
  .perks-bar { grid-template-columns: repeat(2, 1fr); padding: 18px 20px; gap: 14px; }

  /* ── 7-кол сетки (проблемы, программы) → 2 кол ── */
  .m-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .m-grid .img-slot { height: 160px !important; }
  .problem-last { grid-column: span 2; }
  .problem-last .img-slot { height: 220px !important; }
  .program-last { grid-column: span 2; }
  .program-last .img-slot { height: 220px !important; }

  /* ── Результаты → 2 кол ── */
  .m-grid-results { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .m-grid-results .img-slot { height: 110px !important; }

  /* ── STEPS ── */
  .steps-row { flex-direction: column; gap: 8px; padding: 16px 18px; }
  .step-arrow { transform: rotate(90deg); font-size: 14px; }
  .step-icon { height: 48px; }
  .step-card { gap: 12px; }

  /* ── ABOUT ── */
  .m-grid-about { grid-template-columns: 1fr !important; gap: 16px !important; }
  .m-grid-founder { grid-template-columns: 1fr !important; gap: 14px !important; }
  .m-grid-founder .img-slot { height: 380px !important; }
  .founder-img { object-position: center top; }
  .compare-cell { font-size: 12px; padding: 10px 12px; }
  .compare-header { font-size: 13px; padding: 12px 12px; }

  /* ── BONUS ── */
  .section-bonus { grid-template-columns: 1fr !important; padding-bottom: 36px !important; }
  .section-bonus .img-slot { height: 240px !important; }

  /* ── Декоративные заметки (Caveat) — убираем на мобайле ── */
  .caveat-note { display: none; }
  .hero-caption { display: none; }
  .cta-caveat { display: none; }
  .footer-caveat { margin-top: 8px; text-align: left; }

  /* ── REVIEWS → 1 кол ── */
  .m-grid-reviews { grid-template-columns: 1fr !important; gap: 12px !important; }
  .tg-grid { grid-template-columns: 1fr !important; }
  .hero-badges { flex-wrap: nowrap !important; gap: 14px !important; font-size: 12px !important; }

  /* ── FAQ → 1 кол ── */
  .m-grid-faq { grid-template-columns: 1fr !important; gap: 0 !important; }

  /* ── Results slider arrows → hide on mobile ── */
  #results .slider-btn { display: none; }

  /* ── CTA ── */
  .cta-block { flex-direction: column; padding: 28px 22px; gap: 18px; }
  .cta-block > div { text-align: left !important; }
  .btn-white { width: 100% !important; font-size: 13.5px; }

  /* ── FOOTER ── */
  .footer { padding: 24px 20px 20px; }
  .footer-top { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-links { gap: 14px; }
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* Hero entrance */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.hero > *:first-child { animation: heroFadeIn 0.85s cubic-bezier(0.22,1,0.36,1) 0.15s both; }
.hero > *:last-child  { animation: heroFadeIn 0.85s cubic-bezier(0.22,1,0.36,1) 0.35s both; }

/* CTA button soft pulse */
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(98% 0.01 300 / 0.5); }
  55%       { box-shadow: 0 0 0 10px oklch(98% 0.01 300 / 0); }
}
.cta-block .btn-white { animation: softPulse 2.8s ease-in-out infinite; }

/* Card hover lift */
.review-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              background 0.15s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px oklch(38% 0.1 300 / 0.1);
}
