/* ===== РЕПЕТИТО — styles.css ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #5533FF;
  --lime:   #B8E000;
  --pink:   #EF2E72;
  --dark:   #1a0e66;
  --bg-light: #f5f4ff;
  --font: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: filter 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { filter: brightness(0.9); }
.btn-lime  { background: var(--lime); color: #000; padding: 8px 24px; height: 36px; border: 2px solid var(--lime); }
.btn-lime-lg { background: var(--lime); color: #000; padding: 0 32px; height: 56px; font-size: 1.125rem; font-weight: 600; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); padding: 0 32px; height: 56px; font-size: 1.125rem; font-weight: 700; }
.btn-purple { background: var(--purple); color: #fff; padding: 14px 40px; height: 56px; font-size: 1.1rem; }
.btn-purple-sm { background: var(--purple); color: #fff; padding: 10px 24px; height: 44px; }

.btn-outline-white:hover {
  background: #B8E000;
  color: #000;
  border-color: #B8E000;
  filter: none;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  height: 80px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  width: 176px;
  height: 30px;
  flex-shrink: 0;
  background-image: url('logo.png');
  background-repeat: no-repeat;
  background-size: 330px 330px;
  background-position: center center;
}
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 0.9rem; font-weight: 500; }
.site-nav a:hover { color: var(--purple); }

/* ===== HERO ===== */
.hero {
  background: var(--purple);
  min-height: clamp(680px, 100vh, 960px);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  top: 128px;
  right: 44%;
  width: 144px;
  height: 128px;
  background: #00CFCF;
  opacity: 0.5;
  border-radius: 60% 40% 50% 50% / 60% 40% 60% 40%;
  pointer-events: none;
}
.hero-star {
  position: absolute;
  top: 160px;
  right: 52%;
  width: 48px;
  height: 48px;
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 10;
  min-height: clamp(600px, calc(100vh - 80px), 880px);
  display: flex;
  flex-direction: column;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  margin-top: 80px;
  margin-bottom: 24px;
  align-self: flex-start;
}
.hero-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
  flex-shrink: 0;
}
.hero-pill span { font-size: 0.875rem; font-weight: 500; color: #fff; }

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 200px;
  position: relative;
  z-index: 10;
}
.hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title .line1 { display: block; white-space: nowrap; }
.hero-title .line2 { display: block; margin-top: 8px; }
.hero-title .lime { color: var(--lime); }

.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.6;
}
.hero-btns { display: flex; flex-direction: column; gap: 12px; max-width: 384px; }
.hero-btns .btn { width: 100%; }

.hero-image-col {
  position: relative;
  min-height: 500px;
}
.hero-image-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 10;
}
.hero-image-clip img {
  position: absolute;
  top: 70px;
  left: 5%;
  width: 115%;
  height: 115%;
  object-fit: contain;
  object-position: top;
}

/* Floating badges */
@keyframes floatUp { 0%,100% { transform: translate(-50%, 0)} 50% { transform: translate(-50%, -10px); } }
@keyframes floatUp2  { 0%,100%{transform:translateY(0) rotate(-6deg)} 50%{transform:translateY(-8px) rotate(-6deg)} }
@keyframes floatDown { 0%,100%{transform:translateY(0) rotate(4deg)} 50%{transform:translateY(10px) rotate(4deg)} }

.badge {
  position: absolute;
  z-index: 30;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.badge-students {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: #000;
  font-weight: 900;
  animation: floatUp 4s ease-in-out infinite;
  white-space: nowrap;
}
.badge-students .num { font-size: 1.875rem; font-weight: 900; line-height: 1; }
.badge-students .label { font-size: 0.875rem; font-weight: 700; opacity: 0.7; }

.badge-years {
  top: 38%;
  left: -16px;
  background: #fff;
  color: var(--purple);
  animation: floatUp2 4.5s ease-in-out infinite;
}
.badge-years .num { font-size: 1.875rem; font-weight: 900; }
.badge-years .label { font-size: 0.875rem; font-weight: 700; }

.badge-tutors {
  bottom: 240px;
  right: 0;
  background: var(--pink);
  color: #fff;
  animation: floatDown 5s ease-in-out infinite;
}
.badge-tutors .num { font-size: 1.875rem; font-weight: 900; }
.badge-tutors .label { font-size: 0.875rem; font-weight: 500; opacity: 0.8; }

.badge-students {
  left: 58% !important;
  animation: floatUpStudents 4s ease-in-out infinite !important; }

@keyframes floatUpStudents {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

/* ===== WHY / BENTO ===== */
.why-section {
  padding: 96px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.why-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--purple);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 48px;
}
.section-title.purple { color: var(--purple); }
.section-title.white  { color: #fff; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card {
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.bento-card.col2 { grid-column: span 2; min-height: 240px; }
.bento-card.col3 { grid-column: span 3; }
.bento-card.purple { background: var(--purple); color: #fff; }
.bento-card.dark   { background: #3d22cc; color: #fff; }
.bento-card.darkest{ background: var(--dark); color: #fff; min-height: 200px; }
.bento-card.lime   { background: var(--lime); }
.bento-card.pink   { background: var(--pink); color: #fff; }
.bento-card.purple2{ background: var(--purple); color: #fff; }

.bento-watermark {
  position: absolute;
  top: 16px; right: 24px;
  font-size: 9rem;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.avatars { display: flex; align-items: center; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
  color: #fff;
  margin-left: -8px;
  position: relative;
  z-index: 1;
}
.avatar:first-child { margin-left: 0; }
.avatar.more { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); font-size: 0.65rem; z-index: 10;}

.bento-big-num { font-size: 3rem; font-weight: 700; color: var(--lime); line-height: 1; }
.bento-big-label { font-size: 1.125rem; font-weight: 700; margin-top: -4px; }
.bento-sub { font-size: 0.875rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.dot-lime { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.coupon-divider {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  border-top: 2px dashed rgba(0,0,0,0.15);
  pointer-events: none;
}
.coupon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.1);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 900;
  color: rgba(0,0,0,0.7);
  margin-bottom: 12px;
}
.coupon-title { font-size: 1.875rem; font-weight: 900; color: #000; line-height: 1.2; }
.coupon-row { display: flex; align-items: flex-end; justify-content: space-between; }
.coupon-note { font-size: 0.875rem; color: rgba(0,0,0,0.6); }
.coupon-price { font-size: 2.25rem; font-weight: 900; color: #000; line-height: 1; }
.coupon-old   { font-size: 0.75rem; color: rgba(0,0,0,0.4); text-decoration: line-through; text-align: right; }

.checklist { display: flex; flex-direction: column; gap: 8px; }
.check-row { display: flex; align-items: center; gap: 10px; }
.check-ico {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}
.check-ico.done  { background: var(--lime); color: #000; }
.check-ico.empty { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.3); }
.check-label { font-size: 0.875rem; }
.check-label.done  { color: rgba(255,255,255,0.9); }
.check-label.empty { color: rgba(255,255,255,0.35); }

.discount-rows { display: flex; flex-direction: column; gap: 6px; }
.discount-row { display: flex; align-items: center; gap: 8px; }
.discount-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); width: 80px; flex-shrink: 0; }
.discount-bar-wrap { flex: 1; height: 20px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.1); }
.discount-bar { height: 100%; border-radius: 999px; background: var(--lime); display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; }
.discount-pct { font-size: 10px; font-weight: 900; color: #000; }

.bento-stat-big { font-size: 5rem; font-weight: 900; line-height: 1; }
.bento-stat-lbl { font-size: 1.25rem; font-weight: 700; margin-top: -4px; }
.stars-row { display: flex; align-items: center; gap: 4px; margin-top: 16px; }
.star-icon { width: 20px; height: 20px; fill: #fff; }
.rating { font-size: 0.875rem; font-weight: 700; color: rgba(255,255,255,0.8); margin-left: 8px; }

.divider-vert { width: 1px; background: rgba(255,255,255,0.2); align-self: stretch; }
.mini-reviews { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-review { background: rgba(255,255,255,0.15); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.mini-avatar-row { display: flex; align-items: center; gap: 8px; }
.mini-avatar { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 900; color: #fff; }
.mini-name { font-size: 0.875rem; font-weight: 700; line-height: 1; }
.mini-subj { font-size: 0.625rem; color: rgba(255,255,255,0.6); }
.mini-text { font-size: 0.75rem; color: rgba(255,255,255,0.8); line-height: 1.5; }

.why-cta { margin-top: 40px; text-align: center; }

/* ===== STEPS / КАК НАЧАТЬ ===== */
.steps-section {
  padding: 96px 0;
  background: var(--purple);
  position: relative;
  overflow: hidden;
}
.steps-desc { font-size: 1.125rem; max-width: 480px; color: rgba(255,255,255,0.7); margin-bottom: 48px; margin-top: 24px; line-height: 1.6; }

.steps-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }

.step-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.step-watermark {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(0,0,0,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.step-num-badge {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.step-title { font-weight: 900; font-size: 1rem; line-height: 1.3; margin-bottom: 4px; color: #111; }
.step-desc  { font-size: 0.875rem; color: #666; line-height: 1.5; }

.step04-card {
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 16px;
}
.step04-watermark {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14rem;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.step04-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.step04-text { flex: 1; min-width: 280px; }
.step04-badge-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: #000;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.step04-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; color: #fff; line-height: 1.2; }
.step04-sub   { margin-top: 8px; font-size: 1rem; color: rgba(255,255,255,0.7); }
.step04-price-box {
  flex-shrink: 0;
  background: var(--pink);
  border-radius: 16px;
  padding: 24px 32px;
  text-align: center;
  margin-right: 390px;
}
.step04-price    { font-size: 3.5rem; font-weight: 900; color: #fff; line-height: 1; }
.step04-sublabel { font-size: 0.875rem; color: rgba(255,255,255,0.8); margin-top: 4px; }

.steps-cta { margin-top: 48px; text-align: center; }

/* ===== RIBBON STEPS ===== */
.ribbon-scroll {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-left: -16px;
  margin-right: -16px;
}
.ribbon-scroll::-webkit-scrollbar { display: none; }
.ribbon-inner {
  position: relative;
  width: 2080px;
  height: 480px;
  flex-shrink: 0;
}
.ribbon-svg {
  position: absolute;
  inset: 0;
  display: block;
}
.ribbon-card {
  position: absolute;
  top: 175px;
  width: 165px;
  height: 130px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 6px 28px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.rcard-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
}
.rcard-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.rcard-emoji { font-size: 18px; line-height: 1; }
.rcard-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  letter-spacing: -0.01em;
}
.rcard-desc {
  font-size: 11px;
  line-height: 1.4;
  color: #888;
}

/* ===== SUBJECTS ===== */
.subjects-section { padding: 96px 0; background: #fff; position: relative; overflow: hidden; }
.subjects-desc { font-size: 1.1rem; color: #666; margin-bottom: 64px; max-width: 480px; line-height: 1.6; }
.subjects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; }
.subject-card {
  background: var(--purple);
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: filter 0.15s;
  min-width: 0;
}
.subject-card:hover { filter: brightness(0.93); }
.subject-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.subject-icon { width: 28px; height: 28px; }
.subject-title { font-size: 1.1rem; font-weight: 900; }
.subject-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.subject-tag { font-size: 0.625rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--lime); color: #000; }
.subject-svg { position: absolute; top: 0; right: 0; opacity: 0.3; pointer-events: none; }
.subjects-bottom { margin-top: 40px; text-align: center; }
.subjects-note { color: #888; margin-bottom: 16px; font-size: 1rem; }

/* ===== PRICING ===== */
.pricing-section {
  padding: 96px 0;
  background: #f5f4ff;
  position: relative;
  overflow: hidden;
}
/* Header row */
.pricing-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.pricing-title { color: var(--purple); font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; line-height: 1; text-transform: uppercase; margin: 0 0 12px; }
.pricing-sub { color: #888; font-size: 1rem; max-width: 360px; margin: 0; }
.pricing-header-cta { white-space: nowrap; }

/* Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.pc-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.pc-best {
  background: var(--purple);
  padding-top: 32px;
}
.pc-best-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pc-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #888; }
.pc-best .pc-label { color: rgba(255,255,255,0.6); }
.pc-total { font-size: 1.5rem; font-weight: 900; color: #111; line-height: 1; }
.pc-best .pc-total { color: #fff; }
.pc-per { font-size: 0.875rem; color: #666; }
.pc-best .pc-per { color: rgba(255,255,255,0.7); }
.pc-badge {
  align-self: flex-start;
  background: var(--lime);
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: auto;
}

/* Features grid */
.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pf-item {
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #444;
  line-height: 1.4;
}
.pf-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ===== GIFT OFFER ===== */
.gift-section {
  padding: 64px 0;
  background: var(--lime);
  position: relative;
  overflow: hidden;
}
.gift-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.gift-title { font-size: clamp(1.25rem, 2.5vw, 1.875rem); font-weight: 700; color: var(--purple); margin-bottom: 16px; }
.gift-list { list-style: none; margin-bottom: 32px; text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; gap: 12px; }
.gift-item { display: flex; align-items: flex-start; gap: 12px; font-size: 1.1rem; }
.gift-emoji { font-size: 1.5rem; line-height: 1; margin-top: 2px; }
.gift-text { font-weight: 700; color: #1a1a1a; }

/* ===== UTP BANNER ===== */
.utp-section {
  padding: 64px 0;
  background: var(--purple);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.utp-inner { display: flex; flex-direction: row; align-items: center; gap: 64px; position: relative; z-index: 10; }
.utp-illus { flex-shrink: 0; width: 380px; }
.utp-img { width: 100%; height: auto; max-height: 300px; object-fit: contain; border-radius: 24px; display: block; }
.utp-content { flex: 1; text-align: left; }
.utp-text { font-size: clamp(1.25rem, 2.5vw, 1.875rem); font-weight: 900; margin: 0 0 32px 0; line-height: 1.4; }
.utp-text .lime { color: var(--lime); }
.utp-checks { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-start; font-size: 1rem; font-weight: 700; }
.utp-check { display: flex; align-items: center; gap: 8px; }
.check-svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== REVIEWS ===== */
.reviews-section {
  padding: 96px 0;
  background: #fff;
}

.reviews-title {
  margin-bottom: 64px;
}

.reviews-slider {
  position: relative;
  width: 100%;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
}

.reviews-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  width: 100%;
  transition: transform 0.35s ease;
}

.review-card {
  background: var(--bg-light);
  border-radius: 24px;
  padding: 20px 24px;
  flex: 0 0 calc((100% - 48px) / 3) !important;
  width: calc((100% - 48px) / 3) !important;
  max-width: calc((100% - 48px) / 3) !important;
  min-width: calc((100% - 48px) / 3) !important;
  min-height: 295px;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-star {
  width: 20px;
  height: 20px;
  fill: var(--purple);
}

.review-text {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: #4a4a4a;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.review-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  border-top: 1px solid #e0e0e0;
  padding-top: 12px;
}

.reviews-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
}

.reviews-prev {
  left: -56px;
}

.reviews-next {
  right: -56px;
}

.reviews-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  min-height: 16px;
}

.reviews-dot {
  appearance: none;
  display: block;
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: #d6d6d6;
  cursor: pointer;
}

.reviews-dot.active {
  background: #5533FF;
}
/* ===== FAQ ===== */
.faq-section { padding: 96px 0; background: #fff; }
.faq-title { text-align: center; margin-bottom: 64px; }
.faq-inner { max-width: 800px; margin: 0 auto; }

details {
  border-bottom: 2px solid #e5e5e5;
  padding: 16px 0;
}
details summary {
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  padding: 8px 0;
  transition: color 0.15s;
}
details summary:hover { color: var(--purple); }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  padding: 16px 0 24px;
}
.faq-cta { margin-top: 48px; text-align: center; }

/* ===== CONTACTS & FORM ===== */
.contacts-section {
  padding: 48px 0 64px;
  background: #0d0d0d;
  color: #fff;
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacts-title {
  font-size: clamp(1.875rem, 4vw, 3.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.contacts-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contacts-item a { color: inherit; transition: color 0.15s; }
.contacts-item a:hover { color: var(--purple); }
.contacts-icon {
  width: 22px; height: 22px;
  color: var(--purple);
  flex-shrink: 0;
}
.contacts-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.form-card {
  background: #fff;
  color: #111;
  border-radius: 24px;
  padding: 40px;
}
.form-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.form-sub { font-size: 0.875rem; color: #666; margin-bottom: 20px; line-height: 1.55; }
.form-field { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 700; margin-bottom: 8px; }
.form-input {
  width: 100%;
  height: 52px;
  background: #f5f5f5;
  border: none;
  border-radius: 12px;
  padding: 0 16px;
  font-family: var(--font);
  font-size: 1rem;
  color: #111;
  outline: none;
  transition: background 0.15s;
}
.form-input:focus { background: #eee; }
.form-textarea {
  width: 100%;
  min-height: 100px;
  background: #f5f5f5;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 1rem;
  color: #111;
  outline: none;
  resize: none;
  transition: background 0.15s;
}
.form-textarea:focus { background: #eee; }

/* ===== FOOTER ===== */
.site-footer-bottom {
  background: #000;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 24px; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-links a:hover { color: #fff; }

/* ===== DECORATIVE ELEMENTS ===== */
.deco-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.deco-star {
  position: absolute;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-col { display: none; }
  .hero-title { font-size: 1.875rem; }
  .hero-title .line1 { white-space: normal; }
  .hero-text { padding-bottom: 60px; }
  .bento-card.col2 { grid-column: span 3; }
  .mini-reviews { grid-template-columns: 1fr; }
  .step04-price-box { margin-right: 0; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.col2, .bento-card.col3 { grid-column: span 1; }
  .steps-grid3 { grid-template-columns: 1fr; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.5rem; white-space: normal; }
  .step04-inner { flex-direction: column; }
  .step04-price-box { margin-right: 0; width: 100%; text-align: center; }
  .gift-title { white-space: normal; font-size: 1.25rem; }
  .utp-inner { flex-direction: column; gap: 32px; }
  .utp-illus { width: 100%; }
  .utp-img { max-height: 240px; }
  .utp-content { text-align: center; }
  .utp-checks { justify-content: center; flex-direction: column; align-items: center; gap: 12px; }
  .pricing-section { padding: 48px 0; }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .pricing-features-grid { grid-template-columns: 1fr; }
  .hero-btns { max-width: 100%; }
  .section-title { font-size: 1.875rem; }
  .bento-stat-big { font-size: 3rem; }
  .hero-desc { font-size: 1rem; }
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 20px; border-radius: 16px; }
  .contacts-list { font-size: 1rem; }
  .footer-inner { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.25rem; }
  .section-title { font-size: 1.625rem; }
  .pricing-cards { grid-template-columns: 1fr; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .subject-card { padding: 16px; gap: 12px; }
  .subject-title { font-size: 0.9rem; }
  .hero-pill span { font-size: 0.8rem; }
  .step04-card { padding: 24px; }
  .bento-card { padding: 20px; }
  .container { padding: 0 16px; }
}

.steps-roadmap {
  position: relative;
  height: 680px;
  margin-top: 56px;
}

.road-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.18));
  z-index: 1;
}

.road-card {
  position: absolute;
  z-index: 2;
  width: 280px;
  min-height: 145px;
  background: #fff;
  color: #111;
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

.road-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--lime);
  color: #000;
  font-weight: 900;
}

.road-card h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.road-card p {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #666;
}

.road-card-main {
  background: var(--lime);
}

.road-card-main span {
  background: var(--purple);
  color: #fff;
}

/* расположение карточек вокруг петли */
.card-1 { top: 40px; left: 40px; }
.card-2 { top: 0; left: 410px; }
.card-3 { top: 110px; right: 45px; }

.card-4 {
  top: 250px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
}

.card-5 { bottom: 75px; left: 60px; }
.card-6 { bottom: 20px; left: 420px; }
.card-7 { bottom: 105px; right: 60px; }

/* адаптив */
@media (max-width: 900px) {
  .steps-roadmap {
    height: auto;
    display: grid;
    gap: 16px;
  }

  .road-path {
    display: none;
  }

  .road-card,
  .card-4 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
  }
}

/* === АНИМАЦИИ ПОЯВЛЕНИЯ === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* начальное состояние */
.animate {
  opacity: 0;
  transform: translateY(40px);
}

/* когда активна */
.animate.show {
  animation: fadeUp 0.8s ease forwards;
}

.loop-roadmap {
  position: relative;
  height: 720px;
  margin-top: 60px;
}

.loop-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.18)); }

.loop-card {
  position: absolute;
  z-index: 2;
  width: 360px;
  min-height: 130px;
  background: #fff;
  color: #111;
  border-radius: 28px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 18px 45px rgba(0,0,0,0.16); }

.loop-card.accent {
  background: var(--purple);
  color: #fff;
}

.loop-card h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.loop-card p {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #666;
}

.loop-card.accent p {
  color: rgba(255,255,255,0.75);
}

.loop-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--lime);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.loop-card-1 { top: 80px; left: 70px; }
.loop-card-2 { top: 70px; right: 120px; }
.loop-card-3 { top: 285px; right: 40px; }
.loop-card-4 { top: 395px; left: 430px; }
.loop-card-5 { bottom: 45px; left: 90px; }
.loop-card-6 { bottom: 120px; right: 160px; }
.loop-card-7 { top: 260px; left: 300px; }

@media (max-width: 900px) {
  .loop-roadmap {
    height: auto;
    display: grid;
    gap: 16px;
  }

  .loop-line {
    display: none;
  }

  .loop-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }
}
