@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/TildaSans-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/TildaSans-Semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/TildaSans-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./fonts/TildaSans-Extrabold.woff2') format('woff2');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./fonts/TildaSans-Black.woff2') format('woff2');
}

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

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  font-size: 17px;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== ANIMATIONS ===== */
@keyframes heroLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes floatUpCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-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); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===== HEADER SEARCH BAR ===== */
.header-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(85,51,255,0.06);
  border: 1.5px solid rgba(85,51,255,0.2);
  border-radius: 999px;
  padding: 7px 7px 7px 14px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
  outline: none;
  text-decoration: none;
}
.header-search:hover { border-color: var(--purple); background: rgba(85,51,255,0.09); }
.header-search-icon { color: rgba(85,51,255,0.55); flex-shrink: 0; }
.header-search-text { color: #555; font-weight: 500; }
.header-search-subject { color: var(--purple); font-weight: 700; min-width: 70px; display: inline-block; }
.header-search-cursor { color: var(--purple); animation: cursorBlink 0.8s step-end infinite; margin-left: 1px; }
.header-search-cta {
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 999px;
  flex-shrink: 0;
  line-height: 1.4;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-anim-left  { animation: heroLeft  0.85s cubic-bezier(.22,.68,0,1.1) both; }
.hero-anim-right { animation: heroRight 0.85s cubic-bezier(.22,.68,0,1.1) 0.2s both; }

/* ====================== */

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

.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: 1.2rem;
  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: 10px 30px;
  height: 44px;
  border: 2px solid var(--lime);
}

.btn-lime-lg {
  background: var(--lime);
  color: #000;
  padding: 0 28px;
  height: 56px;
  font-weight: 700;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 0 28px;
  height: 56px;
  font-weight: 700;
}
.btn-outline-white:hover {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
  filter: none;
}

.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-purple-lg {
  background: var(--purple);
  color: #fff;
  padding: 0 32px;
  height: 56px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-purple-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(85,51,255,0.35);
}

/* ===== 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-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-left: -70px;
}

.logo-wrap img,
.logo-wrap--menu img {
  width: 300px !important;
  max-width: none !important;
  height: auto !important;
  display: block !important;
  object-fit: contain;
  filter: brightness(0);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: -40px;
}
.site-nav a:hover { color: var(--purple); }

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(85,51,255,0.1);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.burger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 22px;
  background: linear-gradient(145deg, #4422ee 0%, #5533FF 60%, #6644ff 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 0 28px 48px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.22,.68,0,1.1);
  overflow-y: auto;
}
.mobile-menu--open { transform: translateX(0); }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  flex-shrink: 0;
}
.logo-wrap--menu img { filter: brightness(0) invert(1); }

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.25); }
.mobile-menu-close svg { width: 18px; height: 18px; }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 0 0;
  gap: 4px;
}
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  padding: 16px 0;
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
  text-align: center;
}
.mobile-menu-nav a:hover { color: var(--lime); }

.mobile-menu-divider {
  width: 48px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  margin: 8px 0 0;
  align-self: flex-start;
}

.mobile-menu-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  text-align: center;
  margin-top: 32px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 20px 24px !important;
  color: #111 !important;
  background: var(--lime) !important;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

/* ===== HERO ===== */
.hero {
  background: var(--purple);
  min-height: clamp(680px, 100vh, 960px);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: 104px;
  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: 136px;
  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: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  margin-top: 96px;
  margin-bottom: 24px;
  align-self: flex-start;
}
.hero-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
  flex-shrink: 0;
}
.hero-pill span { font-size: 0.975rem; font-weight: 500; color: #fff; }

.hero-btns-mobile { display: none; }

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

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 30px;
  padding-bottom: 80px;
  position: relative;
  z-index: 10;
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
  white-space: nowrap;
  position: relative;
  top: -30px;
}
.hero-title .line1 { display: block; }
.hero-title .line2 { display: block; margin-top: 8px; }
.hero-title .lime  { color: var(--lime); }
.hero-title-mobile { display: none; }
.hero-title-desktop { display: block; }

.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  margin-top: -14px;
  margin-bottom: 32px;
  max-width: 740px;
  line-height: 1.4;
}
.d-br { display: inline; }
.nav-cta { height: 52px; padding: 0 36px; font-weight: 800; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; }

.hero-btns { display: flex; flex-direction: column; gap: 12px; max-width: 384px; margin-top: 28px; }
.hero-btns .btn { width: 100%; font-size: 1.1rem; }
.hero-btns-mobile .btn { font-size: 1.1rem; }

.hero-image-col {
  position: relative;
  min-width: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-clip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-clip img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
}

.badge {
  position: absolute;
  z-index: 30;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.hero-badges-mobile { display: none; }
.hbm-badge { border-radius: 14px; padding: 10px 14px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); min-width: 80px; text-align: center; }
.hbm-lime  { background: var(--lime); color: #000; }
.hbm-white { background: #fff; color: var(--purple); }
.hbm-pink  { background: var(--pink); color: #fff; }
.hbm-num   { font-size: 1.45rem; font-weight: 900; line-height: 1; }
.hbm-label { font-size: 0.82rem; font-weight: 700; opacity: 0.75; margin-top: 2px; }

.badge-students {
  top: 24%;
  left: 53%;
  background: var(--lime);
  color: #000;
  font-weight: 900;
  animation: floatUpCenter 4s ease-in-out infinite;
  white-space: nowrap;
  height: 74px;
}
.badge-students .num   { font-size: 2.15rem; font-weight: 900; line-height: 1; }
.badge-students .label { font-size: 1rem; font-weight: 700; opacity: 0.7; }

.badge-years {
  top: 58%;
  left: 34px;
  background: #fff;
  color: var(--purple);
  animation: floatUp2 4.5s ease-in-out 2s infinite;
  text-align: center; /* ← добавьте это */
}
.badge-years .num   { font-size: 2.15rem; font-weight: 900; }
.badge-years .label { font-size: 1rem; font-weight: 700; }

.badge-tutors {
  bottom: 200px;
  right: 60px;
  background: var(--pink);
  color: #fff;
  animation: floatDown 5s ease-in-out 1s infinite;
  text-align: center; /* ← добавьте это */
}
.badge-tutors .num   { font-size: 2.15rem; font-weight: 900; }
.badge-tutors .label { font-size: 1rem; font-weight: 700; opacity: 0.8; }

.badge {
  padding: 12px 14px;
  border-radius: 14px;
}

.badge .num {
  font-size: 1.6rem;
}

.badge .label {
  font-size: 0.8rem;
}

.badge-years {
  padding: 12px 16px;
}

.badge-years .num {
  font-size: 1.6rem;
}

.badge-years .label {
  font-size: 0.8rem;
  line-height: 1;
}

/* ===== WHY / BENTO ===== */
.why-section {
  padding: 96px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 48px;
}
.section-title.white { color: #fff; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 16px;
}

.bento-card {
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.15); }
.bento-card.col2 { grid-column: span 2; min-height: 160px; }
.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; }
.bento-card.lime    { background: var(--lime); }
.bento-card.pink    { background: var(--pink); color: #fff; }
.bento-card.purple2 { background: var(--purple); color: #fff; }

.bento-tutors-img {
  position: absolute;
  right: 70px;
  bottom: 22px;
  height: 92%;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  user-select: none;
}

.bento-search-bar {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50px;
  padding: 10px 20px;
  white-space: nowrap;
  pointer-events: none; z-index: 2;
  min-width: 280px;
}
.bento-search-text {
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.bento-search-subject {
  color: var(--lime);
  font-weight: 700;
}
.bento-search-cursor {
  color: var(--lime);
  font-weight: 300;
  animation: cursorBlink 0.8s step-end infinite;
  margin-left: 1px;
}

.avatars { display: flex; align-items: center; position: relative; z-index: 2; }
.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;
}
.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; }

.bento-big-num   { font-size: 5.18rem; font-weight: 900; color: var(--lime); line-height: 1; }
.bento-big-label { font-size: 1.4rem; font-weight: 600; margin-top: 6px; }
.bento-sub       { font-size: 1.05rem; 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); flex-shrink: 0; }

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

.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: 2.3rem; font-weight: 900; color: #000; line-height: 1.2; }
.coupon-note  { font-size: 1rem; color: rgba(0,0,0,0.6); font-weight: 800; }
.coupon-price {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5.18rem;
  font-weight: 900;
  color: #000;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.checklist { display: flex; flex-direction: column; gap: 8px; }
.check-row { display: flex; align-items: center; gap: 10px; }
.check-ico {
  width: 22px; height: 22px;
  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-label       { font-size: 1.05rem; line-height: 1.3; }
.check-label.done  { color: rgba(255,255,255,0.9); }

.discount-rows { display: flex; flex-direction: column; gap: 6px; }
.discount-row  { display: flex; align-items: center; gap: 8px; }
.discount-label    { font-size: 0.95rem; color: rgba(255,255,255,0.5); width: 88px; line-height: 1; flex-shrink: 0; white-space: nowrap; }
.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: 5.18rem; font-weight: 900; line-height: 1; }
.bento-stat-lbl { font-size: 1.4rem; font-weight: 600; margin-top: -4px; }
.stars-row      { display: flex; align-items: center; gap: 4px; margin-top: 16px; }
.star-icon      { width: 20px; height: 20px; fill: #fff; }

.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: 1.05rem; font-weight: 600; line-height: 1; }
.mini-subj     { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.mini-text     { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.5; }

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

/* ===== STEPS ===== */
.steps-section {
  padding: 100px 0 140px;
  background: var(--purple);
  position: relative;
  overflow: hidden;
}

.steps-desc {
  font-size: 1.15rem;
  max-width: 760px;
  color: rgba(255,255,255,0.65);
  margin-top: -10px;
  margin-bottom: 22px;
  line-height: 1.4;
}

.fmap { margin-top: 32px; }
.steps-mobile { display: none; }

.steps-mobile__item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.steps-mobile__left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 44px; }
.steps-mobile__circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.85rem;
}
.steps-mobile__line { width: 2px; flex: 1; min-height: 12px; background: rgba(255,255,255,0.2); margin: 4px 0; }
.steps-mobile__card { border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.steps-mobile__title { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.steps-mobile__desc  { font-size: 0.82rem; line-height: 1.4; }
.steps-mobile__badge { font-size: 0.72rem; font-weight: 700; margin-top: 3px; }

/* ===== SUBJECTS ===== */
.subjects-section { padding: 96px 0; background: #fff; position: relative; overflow: hidden; }
.subjects-desc    { font-size: 1.15rem; color: #666; margin-bottom: 64px; max-width: 640px; line-height: 1.4; }

.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;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, filter 0.18s, box-shadow 0.22s;
}
.subject-card:hover { filter: brightness(0.93); transform: translateY(-5px); box-shadow: 0 14px 36px rgba(85,51,255,0.25); }

.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: 22px; font-weight: 900; }
.subject-tags  { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.subject-tag   { font-size: 0.75rem; font-weight: 700; padding: 3px 9px; 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: 60px; text-align: center; }
.subjects-note   { color: #888; margin-bottom: 56px; font-size: 1.15rem; }

/* ===== PRICING ===== */
.pricing-section {
  padding: 96px 0 120px;
  background: #f5f4ff;
}

.pricing-title {
  color: var(--purple);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 48px;
}

.pricing-sub {
  color: #555;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 64px 0 32px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
}

.pc-card-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pc-outer-best { position: relative; }

.pc-best-badge {
  background: var(--lime);
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 28px;
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
  display: inline-block;
}

.pc-card {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 20px 16px 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pc-card:hover { border-color: var(--purple); box-shadow: 0 6px 24px rgba(85,51,255,0.13); transform: translateY(-3px); }
.pc-best { background: var(--purple) !important; border-color: var(--purple) !important; box-shadow: 0 8px 40px rgba(85,51,255,0.35) !important; }
.pc-best .pc-label { color: rgba(255,255,255,0.7); }
.pc-best .pc-total { color: #fff; }
.pc-best .pc-per   { color: rgba(255,255,255,0.75); }
.pc-best .pc-cta-hint { color: rgba(255,255,255,0.9); }
.pc-best .pc-badge { background: rgba(255,255,255,0.25); color: #fff; }
.pc-selected { border-color: var(--purple) !important; box-shadow: 0 8px 32px rgba(85,51,255,0.2) !important; }

.pc-label { font-size: 0.78rem; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.1em; }
.pc-total { font-size: 1.75rem; font-weight: 900; color: #111; line-height: 1.1; margin-top: 6px; }
.pc-per   { font-size: 1rem; font-weight: 400; color: #666; }
.pc-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
}
.pc-deco { margin-top: 12px; width: 100%; }
.pc-deco svg { width: 100%; display: block; }
.pc-cta-hint { font-size: 0.75rem; font-weight: 700; color: var(--purple); margin-top: 8px; }

.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
}
.pf-icon { flex-shrink: 0; display: flex; align-items: center; }

.pricing-gift-cta {
  margin-top: 56px;
  text-align: center;
}


/* ===== GIFT MODAL ===== */
.gift-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease;
}

.gift-modal-card {
  background: #fff;
  border-radius: 28px;
  padding: 48px 40px 40px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.gift-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--purple);
  cursor: pointer;
  font-weight: 700;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.gift-modal-close:hover { opacity: 1; }

.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(1rem, 1.8vw, 1.375rem); font-weight: 700; color: var(--purple); margin-bottom: 16px; }
.gift-list  { margin-bottom: 32px; text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; display: flex !important; flex-direction: column; gap: 12px; padding: 0 !important; }
.gift-item  { display: flex !important; align-items: center; gap: 16px; font-size: 1rem; }

.gift-icon-wrap {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.gift-icon-lime   { background: var(--lime); color: #1a1a1a; }
.gift-icon-purple { background: var(--purple); color: #fff; }
.gift-text        { font-weight: 600; color: #1a1a1a; font-size: 1rem; line-height: 1.5; }
.gift-cta-btn     { width: 100%; display: flex; justify-content: center; align-items: center; }

/* ===== REVIEWS ===== */
.reviews-section { padding: 96px 0; background: #fff; position: relative; overflow: hidden; }
.reviews-title   { margin-bottom: 48px; }

.rev-wrap { display: flex; align-items: center; gap: 12px; }
.rev-outer { overflow: hidden; flex: 1; min-width: 0; }
.rev-track { display: flex; transition: transform 0.4s cubic-bezier(.4,0,.2,1); width: 100%; }
.rev-page  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; min-width: 100%; }

.rev-arrow {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  outline: none;
  background: #fff;
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  padding: 0;
}
.rev-arrow:hover:not(:disabled) { background: var(--purple); color: #fff; }
.rev-arrow:disabled { border-color: #ddd; color: #ddd; cursor: default; }

.rev-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.rev-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.rev-dot--on { background: var(--purple); transform: scale(1.25); }

/* Reviews decorative blobs & stars */
.rev-blob {
  position: absolute;
  pointer-events: none;
  border-radius: 60% 40% 50% 50% / 60% 40% 60% 40%;
  opacity: 0.18;
}
.rev-blob-ll {
  bottom: -70px; left: -60px;
  width: 340px; height: 310px;
  background: #5533FF;
  border-radius: 55% 45% 60% 40% / 50% 55% 45% 55%;
}
.rev-blob-lm {
  bottom: 30px; left: 210px;
  width: 200px; height: 180px;
  background: #00CFCF;
  border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%;
  opacity: 0.22;
}
.rev-blob-rl {
  bottom: -70px; right: -50px;
  width: 320px; height: 300px;
  background: #EF2E72;
  border-radius: 50% 50% 45% 55% / 60% 40% 55% 45%;
}
.rev-blob-rm {
  bottom: 40px; right: 230px;
  width: 170px; height: 160px;
  background: #B8E000;
  border-radius: 60% 40% 55% 45% / 45% 60% 40% 55%;
  opacity: 0.22;
}
.rev-star {
  position: absolute;
  pointer-events: none;
}
.rev-star-l {
  bottom: 140px; left: 340px;
  width: 52px; height: 52px;
  opacity: 0.75;
}
.rev-star-r {
  bottom: 150px; right: 350px;
  width: 42px; height: 42px;
  opacity: 0.55;
}

.rep-review-card { background: #f5f4ff; border-radius: 20px; padding: 16px 20px; display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.review-stars { display: flex; gap: 4px; margin-bottom: 8px; }
.review-star  { font-size: 18px; color: var(--purple); }
.rep-review-text { font-size: 1rem; font-style: normal; font-weight: 500; color: #4a4a4a; line-height: 1.35; flex: 1; margin-bottom: 22px; }
.rep-review-name { font-size: 1rem; font-weight: 700; color: #111; border-top: 1px solid #e0e0e0; padding-top: 8px; }

/* ===== FAQ ===== */
.faq-section { padding: 96px 0; background: #fff; }
.faq-layout  { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.faq-image-col { display: flex; align-items: flex-end; justify-content: center; padding-top: 80px; }
.faq-boy-img { width: 100%; max-width: 460px; object-fit: contain; }
.faq-inner   { max-width: none; margin: 0; }
.faq-item    { border-bottom: 2px solid #e5e5e5; }

.faq-summary {
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font);
  color: #111;
  transition: color 0.15s;
}
.faq-summary:hover { color: var(--purple); }
.faq-icon      { font-size: 1.5rem; font-weight: 700; color: var(--purple); flex-shrink: 0; transition: transform 0.2s; }
.faq-icon.open { transform: rotate(45deg); }

.faq-answer {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  padding: 0 0 24px;
  overflow: hidden;
}

.faq-cta { margin-top: 48px; text-align: center; }
.faq-title { margin-bottom: 48px; }

.faq-section {
  padding-bottom: 200px !important;
}
/* ===== CONTACTS ===== */
.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(--lime); }

.contacts-icon { width: 22px; height: 22px; color: var(--lime); 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: 20px; 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: 600; 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; }

.form-success {
  text-align: center;
  padding: 32px 0;
}
.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--lime);
  color: #000;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: #111; }
.form-success p  { font-size: 0.875rem; color: #666; }

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

.tag { font-size: 1rem; font-weight: 700; padding: 8px 18px; border-radius: 999px; }

.bento-big-label { font-size: 1.4rem; font-weight: 600; margin-top: 6px; }

.reviews-section { padding: 96px 0; background: #fff; position: relative; overflow: hidden; }

.faq-boy-img {
  transform: translateY(-70px);
}

.bento-card > div:first-child {
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* Возвращаем нормальный размер первому элементу в лаймовой карточке */
.bento-card.lime > div:first-child {
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  line-height: normal !important;
}

.bento-big-label {
font-size: 1.4rem !important;
font-weight: 600 !important;
}

.bento-stat-lbl {
font-size: 1.4rem !important;
font-weight: 600 !important;
}

.bento-big-num {
font-size: 5.18rem !important;
font-weight: 900 !important;
line-height: 1 !important;
}

.bento-stat-big {
font-size: 5.18rem !important;
font-weight: 900 !important;
line-height: 1 !important;
}

.check-label {
font-size: 1.05rem !important;
}

.bento-sub {
font-size: 1.05rem !important;
}

.badge-years {
  transform: rotate(-6deg);
  animation: floatUp2 4.5s ease-in-out 0s infinite !important;
}

.badge-tutors {
  transform: rotate(4deg);
  animation: floatDown 5s ease-in-out 0s infinite !important;
}

.hero {
  padding-bottom: 40px !important;
}
/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1200px) {
  .container { padding: 0 24px; }
  .pricing-cards { grid-template-columns: repeat(3, 1fr); }
  .pricing-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .site-nav { gap: 16px; font-size: 0.8rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-col { display: none; }
  .hero-title { font-size: clamp(1.75rem, 3.5vw, 2.25rem); white-space: normal; }
  .hero-title .line1 { white-space: normal; }
  .hero-text { padding-bottom: 60px; }
  .bento-card.col2 { grid-column: span 3; }
  .mini-reviews { grid-template-columns: repeat(2, 1fr); }
  .subjects-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.col2, .bento-card.col3 { grid-column: span 2; }
  .mini-reviews { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .burger-btn { display: flex; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.col2, .bento-card.col3 { grid-column: span 1; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-page { grid-template-columns: 1fr; }
  .rev-arrow { display: none; }
  .hero-title { font-size: 1.2rem; white-space: normal; }
  .hero-title-desktop { display: none; }
  .hero-title-mobile { display: block; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .pricing-section { padding: 48px 0 80px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-features-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.875rem; }
  .bento-stat-big { font-size: 3rem; }
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 20px; }
  .why-section { padding: 64px 0; }
  .why-cta { margin-top: 72px; }
  .faq-section { padding: 32px 0 64px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-image-col { display: none; }
  .reviews-section { padding: 64px 0; }
  .hero-blob { display: none; }
  .hero-star { display: none; }
  .hero-pill { display: none; }
  .hero { min-height: auto; padding-bottom: 48px; }
  .hero-container { min-height: auto; }
  .hero-text { padding-bottom: 22px; padding-top: 72px; text-align: center; }
  .hero-desc { max-width: 100%; }
  .d-br { display: none; }
  .hero-text .hero-btns { display: none; }
  .hero-image-col { display: block; min-height: 0; height: auto; margin-top: -40px; }
  .hero-image-col .badge { display: none; }
  .hero-badges-mobile { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 4px 0; margin-top: -10px; }
  .hero-image-clip {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .hero-image-clip img {
    position: relative;
    top: auto;
    left: auto;
    width: 112%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .hero-btns-mobile { display: flex; flex-direction: column; gap: 12px; align-items: stretch; padding-top: 20px; }
  .hero-btns-mobile .btn { text-align: center; }
  .bento-card.pink { flex-direction: column !important; gap: 20px !important; }
  .divider-vert { display: none; }
  .mini-reviews { grid-template-columns: 1fr; }
  .fmap svg { min-width: 700px; width: 700px; }
  .steps-mobile { display: flex !important; flex-direction: column; margin-top: 28px; }
  .fmap { display: none !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.3rem; }
  .section-title { font-size: 1.5rem; }
  .pricing-cards { grid-template-columns: 1fr; }
  .subjects-section .section-title { text-align: center; }
  .subjects-desc { text-align: center; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .subject-card { padding: 16px; gap: 12px; }
  .subject-title { font-size: 0.9rem; }
  .bento-card { padding: 20px; }
  .gift-modal-card { padding: 32px 20px 24px; }
  .faq-summary { font-size: 1rem; padding: 12px 0; }
  .faq-answer { font-size: 0.85rem; }
  .steps-title { font-size: clamp(1.05rem, 4.8vw, 1.4rem); white-space: normal; }
  .steps-desc { font-size: 0.9rem; text-align: center; }
  .steps-section { padding: 44px 0 56px; }
  .bento-stat-big { font-size: 2.5rem; }
  .pf-item { font-size: 0.825rem; }
}

/* Hide injected scripts from rendering as text */
script, noscript { display: none !important; }

/* Final CTA purple section */
.cta-final-section { background: linear-gradient(145deg,#4422ee 0%,#5533FF 60%,#6644ff 100%); padding: 80px 0; text-align: center; }
.cta-final-title { font-size: clamp(1.6rem,4vw,2.8rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; color: #fff; margin-bottom: 14px; }
.cta-final-sub { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; }

.site-nav a {
  color: #111 !important;
}

.btn-lime-lg {
  color: #000 !important;
}

.btn-outline-white {
  color: #fff !important;
}

.btn-outline-white:hover {
  color: #000 !important;
}

.header-search,
.header-search * {
  color: inherit;
}

.header-search-cta {
  color: #fff !important;
}

.header-search-text,
.header-search-subject,
.header-search-cursor {
  color: #111 !important;
}

.header-search-icon {
  color: #111 !important;
}

#rec123456789 {
  display: none;
  position: fixed !important;
  inset: 0;
  z-index: 999999 !important;
  background: rgba(0,0,0,.55);
}

#rec123456789.is-open {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
    .t-header__search,
  .header-search {
    display: none !important;
  }


/* --- Заголовки разделов (кроме Hero) --- */
  .t-section__title,
  .t-title,
  .section-title,
  .pricing-title,
  .contacts-title {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.08 !important;
  }


/* --- Hero заголовок --- */
  .hero-title {
    font-size: 1.75rem !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }
  /* --- Hero описание --- */
  .hero-desc {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7 !important;
    padding-top: 18px !important;
    border-top: 2px solid rgba(184, 224, 0, 0.5) !important;
    margin-top: 20px !important;
  }


/* --- Фото репетиторов — под текстом --- */
  .bento-tutors-img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: contain !important;
    order: 10 !important;
    margin-top: 12px !important;
  }


/* --- Отзывы — горизонтальный свайп --- */
  .reviews-wrap .t-reviews__slider,
  .rev-outer {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }
  .rev-outer::-webkit-scrollbar { display: none; }
  .rev-track {
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    gap: 12px !important;
    padding: 4px 16px 12px !important;
    transition: none !important;
  }
  .rev-page {
    display: contents !important;
  }
  .rep-review-card,
  .t-reviews__item {
    flex: 0 0 78vw !important;
    scroll-snap-align: start !important;
    min-width: 0 !important;
  }
  .rev-arrow,
  .rev-dots {
    display: none !important;
  }
  /* --- STEPS snake --- */
  .steps-section { padding: 44px 0 56px; }
  .steps-desc { font-size: 0.95rem; }
  .fmap { display: none !important; }
  .steps-mobile { display: none !important; }
  .steps-title { font-size: 1.5rem !important; line-height: 1.15 !important; }

  .steps-snake {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 28px;
    padding: 0 4px;
  }
  .steps-snake::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.3) 0px,
      rgba(255,255,255,0.3) 6px,
      transparent 6px,
      transparent 14px
    );
    transform: translateX(-50%);
    z-index: 0;
  }
  .sn-item {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    position: relative;
    z-index: 1;
  }
  .sn-node {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }
  .sn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.88rem;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
    flex-shrink: 0;
  }
  .sn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .sn-text--r { text-align: right; }
  .sn-text--l { text-align: left; }
  .sn-lbl {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    margin-bottom: 1px;
  }
  .sn-title {
    font-size: 0.87rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
  }
  .sn-desc {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.4;
    margin-top: 2px;
  }
}

.tags { 
  display: flex !important; 
  flex-wrap: wrap !important; 
  gap: 8px !important; 
}

.tags .tag { 
  display: inline-block !important;
  font-size: 1rem !important; 
  font-weight: 700 !important; 
  padding: 8px 18px !important; 
  border-radius: 999px !important; 
}

/* Плавающий бейдж в герое */
.badge-tutors .num {
  font-size: 1.5rem !important;
  font-weight: 900 !important;
}

.badge-tutors .label {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
}

.reviews-section {
  padding-top: 90px !important;
  padding-bottom: 150px !important;
}

.rev-wrap {
  min-height: 520px !important;
  padding-bottom: 16px !important;
}

.rep-review-card {
  min-height: 310px !important;
}

.rev-dots,
.reviews-dots,
.slider-dots,
.t-slds__bullets {
  margin-top: 18px !important;
}

.reviews-section {
  padding-top: 90px !important;
  padding-bottom: 150px !important;
}

.rev-wrap {
  min-height: 520px !important;
  transform: translateY(-38px) !important;
}

.rev-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px; !important; /* было 32px — уменьши по вкусу */
}

#why,
#courses,
#pricing,
#reviews,
#contacts,
#steps {
  scroll-margin-top: 80px;
}

.rev-dots { margin-top: 12px !important; }

.why-section .bento-card {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

/* ============================================================
   РЕПЕТИТО — МОБИЛЬНЫЙ CSS
   Вставить в: Tilda → Настройки сайта → Ещё → CSS-стили
   ============================================================ */

/* CSS-переменные (если ещё не объявлены в вашем Tilda CSS) */
:root {
  --purple: #5533FF;
  --lime:   #B8E000;
  --pink:   #EF2E72;
  --dark:   #1a0e66;
}

/* ── 768px и меньше ────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .header-search { display: none !important; }
  .burger-btn { display: flex; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.col2, .bento-card.col3 { grid-column: span 1; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-arrow, .rev-dots { display: none !important; }
  .rev-outer {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }
  .rev-outer::-webkit-scrollbar { display: none; }
  .rev-track {
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    gap: 12px !important;
    padding: 4px 16px 12px !important;
    transition: none !important;
  }
  .rev-page { display: contents !important; }
  .rep-review-card {
    flex: 0 0 78vw !important;
    scroll-snap-align: start !important;
    min-width: 0 !important;
  }
  .hero-title { font-size: 1.7rem !important; font-weight: 900 !important; white-space: normal !important; line-height: 1.12 !important; margin-top: 48px !important; letter-spacing: -0.02em !important; }
  .hero-title-desktop { display: none; }
  .hero-title-mobile { display: block; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .pricing-section { padding: 64px 0; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-features-grid { grid-template-columns: 1fr; }
  .section-title, .pricing-title, .contacts-title {
    font-size: 1.7rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.12 !important;
  }
  .bento-stat-big { font-size: 5.18rem !important; }
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 20px; }
  .why-section { padding: 64px 0; }
  .why-cta { margin-top: 72px; }
  .faq-section { padding: 32px 0 64px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-image-col { display: none; }
  .reviews-section { padding: 64px 0; }
  .hero-blob { display: none; }
  .hero-star { display: none; }
  .hero-pill { display: none; }
  .hero { min-height: auto; padding-bottom: 48px; }
  .hero-container { min-height: auto; }
  .hero-text { padding-bottom: 22px; padding-top: 24px; text-align: left; }
  .hero-desc {
    max-width: 100%;
    font-size: 0.95rem !important;
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.7 !important;
    padding-top: 34px !important;
    border-top: 2px solid rgba(184,224,0,0.5) !important;
    margin-top: -14px !important;
  }
  .d-br { display: none; }
  .hero-text .hero-btns { display: none; }
  .hero-image-col { display: block; min-height: 0; height: auto; margin-top: -100px; }
  .hero-image-col .badge { display: none; }
  .hero-badges-mobile { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 4px 0; margin-top: -40px; }
  .hero-image-clip {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .hero-image-clip img {
    position: relative;
    top: auto; left: auto;
    width: 112%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .hero-btns-mobile { display: flex; flex-direction: column; gap: 12px; align-items: stretch; padding-top: 20px; }
  .hero-btns-mobile .btn { text-align: center; }
  .bento-card.pink { flex-direction: column !important; gap: 20px !important; }
  .divider-vert { display: none; }
  .mini-reviews { grid-template-columns: 1fr; }
  .fmap { display: none !important; }
  .steps-mobile { display: flex !important; flex-direction: column; margin-top: 28px; }
  .bento-tutors-img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: contain !important;
    order: 10 !important;
    margin-top: 12px !important;
  }
  .hero, .why-section, .steps-section, .subjects-section,
  .pricing-section, .reviews-section, .faq-section, .contacts-section {
    scroll-margin-top: 80px;
  }
  .steps-section { padding: 64px 0; overflow: visible; }
  .subjects-section { padding: 64px 0; }
  .steps-desc { font-size: 1.05rem; text-align: left !important; }
  .subjects-desc { font-size: 1.05rem; }
  .subjects-note { font-size: 1.05rem; }
  .m-br { display: block; }
  .steps-title { font-size: 1.7rem !important; line-height: 1.12 !important; }
  .tag { font-size: 0.875rem !important; padding: 6px 12px !important; }
  .coupon-price { font-size: 5.18rem !important; right: 16px !important; }
  .coupon-title { font-size: 1.4rem !important; }
  .bento-sub { text-align: left !important; }
  .bento-sub .dot-lime { display: none !important; }
  .pricing-urgency-wrap { gap: 10px; }
  .pricing-urgency { white-space: normal; text-align: center; font-size: 0.95rem; letter-spacing: 0.04em; flex-shrink: 1; width: 100%; }
  .pricing-urgency-wrap::before, .pricing-urgency-wrap::after { display: none; }
  .pc-best-badge { margin-bottom: 8px; }
  .pricing-gift-cta { display: flex; justify-content: stretch; }
  .pricing-gift-cta .btn { width: 100%; font-size: 1.1rem; justify-content: center; }
  .rev-blob { display: none !important; }
  .rev-star-l {
    bottom: auto !important;
    left: auto !important;
    right: 52px !important;
    top: 38px !important;
    width: 28px !important;
    height: 28px !important;
    opacity: 0.85 !important;
  }
  .rev-star-r {
    bottom: auto !important;
    right: 18px !important;
    top: 18px !important;
    width: 32px !important;
    height: 32px !important;
    opacity: 0.85 !important;
  }
  .faq-cta { display: none !important; }
}

/* ============================================================
   РЕПЕТИТО — МОБИЛЬНЫЙ CSS
   Вставить в: Tilda → Настройки сайта → Ещё → CSS-стили
   ============================================================ */

/* CSS-переменные (если ещё не объявлены в вашем Tilda CSS) */
:root {
  --purple: #5533FF;
  --lime:   #B8E000;
  --pink:   #EF2E72;
  --dark:   #1a0e66;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.col2, .bento-card.col3 { grid-column: span 2; }
  .mini-reviews { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .header-search { display: none !important; }
  .burger-btn { display: flex; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.col2, .bento-card.col3 { grid-column: span 1; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-arrow, .rev-dots { display: none !important; }
  .rev-outer {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }
  .rev-outer::-webkit-scrollbar { display: none; }
  .rev-track {
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    gap: 12px !important;
    padding: 4px 16px 12px !important;
    transition: none !important;
  }
  .rev-page { display: contents !important; }
  .rep-review-card {
    flex: 0 0 78vw !important;
    scroll-snap-align: start !important;
    min-width: 0 !important;
  }
  .hero-title { font-size: 1.7rem !important; font-weight: 900 !important; white-space: normal !important; line-height: 1.12 !important; margin-top: 48px !important; letter-spacing: -0.02em !important; }
  .hero-title-desktop { display: none; }
  .hero-title-mobile { display: block; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .pricing-section { padding: 64px 0; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-features-grid { grid-template-columns: 1fr; }
  .section-title, .pricing-title, .contacts-title {
    font-size: 1.7rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.12 !important;
  }
  .bento-stat-big { font-size: 5.18rem !important; }
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 20px; }
  .why-section { padding: 64px 0; }
  .why-cta { margin-top: 72px; }
  .faq-section { padding: 32px 0 64px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-image-col { display: none; }
  .reviews-section { padding: 64px 0; }
  .hero-blob { display: none; }
  .hero-star { display: none; }
  .hero-pill { display: none; }
  .hero { min-height: auto; padding-bottom: 48px; }
  .hero-container { min-height: auto; }
  .hero-text { padding-bottom: 22px; padding-top: 24px; text-align: left; }
  .hero-desc {
    max-width: 100%;
    font-size: 0.95rem !important;
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.7 !important;
    padding-top: 34px !important;
    border-top: 2px solid rgba(184,224,0,0.5) !important;
    margin-top: -14px !important;
  }
  .d-br { display: none; }
  .hero-text .hero-btns { display: none; }
  .hero-image-col { display: block; min-height: 0; height: auto; margin-top: -100px; }
  .hero-image-col .badge { display: none; }
  .hero-badges-mobile { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 4px 0; margin-top: -40px; }
  .hero-image-clip {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .hero-image-clip img {
    position: relative;
    top: auto; left: auto;
    width: 112%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .hero-btns-mobile { display: flex; flex-direction: column; gap: 12px; align-items: stretch; padding-top: 20px; }
  .hero-btns-mobile .btn { text-align: center; }
  .bento-card.pink { flex-direction: column !important; gap: 20px !important; }
  .divider-vert { display: none; }
  .mini-reviews { grid-template-columns: 1fr; }
  .fmap { display: none !important; }
  .steps-mobile { display: flex !important; flex-direction: column; margin-top: 28px; }
  .bento-tutors-img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: contain !important;
    order: 10 !important;
    margin-top: 12px !important;
  }
  .hero, .why-section, .steps-section, .subjects-section,
  .pricing-section, .reviews-section, .faq-section, .contacts-section {
    scroll-margin-top: 80px;
  }
  .steps-section { padding: 64px 0; overflow: visible; }
  .subjects-section { padding: 64px 0; }
  .steps-desc { font-size: 1.05rem; text-align: left !important; }
  .subjects-desc { font-size: 1.05rem; }
  .subjects-note { font-size: 1.05rem; }
  .m-br { display: block; }
  .steps-title { font-size: 1.7rem !important; line-height: 1.12 !important; }
  .tag { font-size: 0.875rem !important; padding: 6px 12px !important; }
  .coupon-price { font-size: 5.18rem !important; right: 16px !important; }
  .coupon-title { font-size: 1.4rem !important; }
  .bento-sub { text-align: left !important; }
  .bento-sub .dot-lime { display: none !important; }
  .pricing-urgency-wrap { gap: 10px; }
  .pricing-urgency { white-space: normal; text-align: center; font-size: 0.95rem; letter-spacing: 0.04em; flex-shrink: 1; width: 100%; }
  .pricing-urgency-wrap::before, .pricing-urgency-wrap::after { display: none; }
  .pc-best-badge { margin-bottom: 8px; }
  .pricing-gift-cta { display: flex; justify-content: stretch; }
  .pricing-gift-cta .btn { width: 100%; font-size: 1.1rem; justify-content: center; }
  .rev-blob { display: none !important; }
  .rev-star-l {
    bottom: auto !important;
    left: auto !important;
    right: 52px !important;
    top: 38px !important;
    width: 28px !important;
    height: 28px !important;
    opacity: 0.85 !important;
  }
  .rev-star-r {
    bottom: auto !important;
    right: 18px !important;
    top: 18px !important;
    width: 32px !important;
    height: 32px !important;
    opacity: 0.85 !important;
  }
  .faq-cta { display: none !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.7rem !important; }
  .pricing-cards { grid-template-columns: 1fr; }
  .subjects-section .section-title { text-align: left; }
  .subjects-desc { text-align: left; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .subject-card { padding: 16px; gap: 12px; }
  .subject-title { font-size: 0.9rem; }
  .bento-card { padding: 20px; }
  .faq-summary { font-size: 1rem; padding: 12px 0; }
  .faq-answer { font-size: 0.85rem; }
  .steps-desc { font-size: 1.05rem; text-align: left !important; }
  .bento-stat-big { font-size: 2.5rem; }
  .pf-item { font-size: 0.825rem; }
}

/* ── Gift Modal ─────────────────────────────────────── */
.gift-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,14,102,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
  padding: 0;
}
@media (min-width: 769px) {
  .gift-modal-overlay {
    align-items: center;
    padding: 24px;
  }
  .gift-modal-card {
    border-radius: 28px !important;
  }
}
.gift-modal-card {
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 36px 24px 44px;
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: giftSlideUp 0.3s cubic-bezier(.22,.8,.44,1) both;
}
@keyframes giftSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.gift-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--purple);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}
.gift-modal-close:hover { opacity: 1; }
.gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--pink);
  color: #fff;
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 auto 20px;
  letter-spacing: 0.01em;
}
.gift-modal-card .gift-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.gift-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--purple);
  margin: 0 0 24px;
  line-height: 1.3;
  text-align: center;
}
.gift-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.gift-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a2e;
  line-height: 1.4;
}
.gift-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gift-icon-lime   { background: var(--lime); }
.gift-icon-purple { background: var(--purple); }
.gift-modal-cta {
  width: 100%;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.gift-modal-cta:hover { opacity: .88; }

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #f5f3ff;
  padding: 14px 24px;
  width: 100%;
  box-sizing: border-box;
}
.promo-line {
  flex: 1;
  height: 1px;
  background: #ccc;
  max-width: 80px;
}
.promo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a0e66;
  text-align: center;
  white-space: nowrap;
}

.rep-urgency-wrap {
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.rep-urgency-wrap::before,
.rep-urgency-wrap::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(239,46,114,0.25));
}
.rep-urgency-wrap::after {
  background: linear-gradient(to left, transparent, rgba(239,46,114,0.25));
}
.rep-urgency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #EF2E72;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .rep-urgency-wrap::before,
  .rep-urgency-wrap::after { display: none; }
  .rep-urgency {
    white-space: normal;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    width: 100%;
    justify-content: center;
  }
}

.pricing-features-grid,
.pricing-features-title,
.pricing-gift-cta {
  position: relative;
  top: -30px;
}

.pricing-sub {
  position: relative;
  top: -25px;
}

.pricing-gift-cta {
  margin-top: 33px !important;
}

.mobile-menu-nav a,
.mobile-menu-nav a:visited,
.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
  color: #fff !important;
}

.mobile-menu {
  bottom: 0 !important;
  height: 100dvh !important;
}

@media (max-width: 768px) {
  .reviews-section {
    padding-bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding-top: 64px !important;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding-bottom: 32px !important;
  }
}

/* Мобильная змейка: скрыть на десктопе */
.rp-snake-wrap {
  display: none !important;
}

/* На мобилке: показать змейку, скрыть старые варианты */
@media (max-width: 768px) {
  .rp-snake-wrap {
    display: block !important;
  }

  .fmap {
    display: none !important;
  }

  .steps-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .steps-section .steps-title,
  .steps-section .steps-desc,
  .steps-section .fmap,
  .steps-section .steps-mobile {
    display: none !important;
  }

  .steps-section .rp-snake-wrap {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .rp-snake-title {
    font-size: 1.7rem !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    margin: 0 0 24px !important;
  }

  .rp-snake-desc {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.7) !important;
    margin: 0 0 24px !important;
  }
}

.mob-only-br {
  display: none;
}

@media (max-width: 768px) {
  .mob-only-br {
    display: block;
  }
}

.badge-students .num,
.badge-years .num,
.badge-tutors .num {
  font-weight: 950 !important;
}

.badge-students .label,
.badge-years .label,
.badge-tutors .label {
  font-size: 1.02rem !important;
  font-weight: 800 !important;
}

.hero-star {
  left: calc(50% - 90px) !important;
  right: auto !important;
}

.rp-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 1400px) and (max-width: 1500px) {
  .hero-image-col {
    transform: translateY(26px) !important;
  }
}

@media (max-width: 1024px) {
  .why-section .deco-blob,
  .why-section .deco-blob1 {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .subjects-section .deco-blob:first-of-type {
    left: auto !important;
    right: -80px !important;
  }
}

.faq-image-col {
  position: relative;
  top: -50px !important;
}

.faq-image-col img {
  width: 75% !important;
  max-width: none !important;
}

.faq-image-col {
  position: relative;
  top: -7px !important;
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 3400px) and (max-width: 3500px) and (min-height: 1400px) and (max-height: 1500px) {
  .pricing-cta .btn-outline-lg {
    position: relative;
    top: 30px !important;
  }
}

@media screen and (min-width: 3400px) and (max-width: 3500px) and (min-height: 1400px) and (max-height: 1500px) {
  .hero-star {
    margin-left: 45px !important;
  }
}

@media (max-width: 768px) {

  /* === КРУЖКИ === */
  .why-blob-top { display: none !important; }
  .subj-blob-teal { display: none !important; }
  .subj-blob-purple { bottom: auto !important; top: -80px !important; right: -80px !important; }

  /* === ПРЕДМЕТЫ — шрифт подзаголовка и отступы === */
  .subjects-section .section-title { margin-bottom: 44px !important; }
  .subjects-desc { font-size: 1.2rem !important; font-weight: 700 !important; margin-top: -8px !important; margin-bottom: 44px !important; }
  .subjects-note { font-size: 1.15rem !important; font-weight: 700 !important; }

  /* === ЦЕНЫ — баннер срочности === */
  .pricing-urgency-wrap { margin-top: -8px !important; }
  .discount-label { font-size: 1.1rem !important; font-weight: 600 !important; color: rgba(255,255,255,0.85) !important; }

  /* === ЦЕНЫ — "Выгоднее всего" заходит на карточку === */
  .pc-best-badge { margin-bottom: -16px !important; position: relative; z-index: 3; }

  /* === ЦЕНЫ — текст в карточках === */
  .pc-label { font-size: 0.95rem !important; font-weight: 600 !important; }
  .pc-total { font-size: 2.2rem !important; font-weight: 900 !important; }
  .pc-per   { font-size: 1.15rem !important; font-weight: 600 !important; }
}

@media (max-width: 480px) {

  /* === ПРЕДМЕТЫ — ячейки === */
  .subject-title { font-size: 0.95rem !important; font-weight: 900 !important; white-space: nowrap; }
  .subject-tag   { font-size: 0.9rem !important; font-weight: 700 !important; padding: 5px 11px !important; }

  /* === ЦЕНЫ — список "Что вы получаете" === */
  .pricing-sub { font-size: 1rem !important; font-weight: 800 !important; }
  .pf-item     { font-size: 0.875rem !important; font-weight: 700 !important; }
 
}

@media (max-width: 768px) {
  .faq-image-col {
    display: none !important;
  }
}

.hero-desc-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero-desc-top,
  .hero-desc-bottom {
    display: none !important;
  }

  .hero-desc-mobile {
    display: block !important;
  }
}

@media (max-width: 768px) {

  /* Подзаголовок в карточках "Почему мы" */
  .bento-sub { font-size: 1.15rem !important; font-weight: 600 !important; text-align: left !important; }

  /* Описание в герое */
  .hero-desc { font-size: 1.2rem !important; font-weight: 600 !important;
  }
}

@media (max-width: 768px) {

  /* "РЕПЕТИТО — это современный сервис..." */
  .steps-desc { font-size: 1.2rem !important; font-weight: 600 !important; text-align: left !important; }

  /* Заголовок шага — "ОСТАВЬТЕ ЗАЯВКУ" и т.д. */
  .sn-title { font-size: 1rem !important; font-weight: 700 !important; }

  /* Описание шага — "Заполните короткую форму — это меньше минуты." и т.д. */
  .sn-desc { font-size: 0.875rem !important; font-weight: 600 !important; color: rgba(255,255,255,0.75) !important; }

  /* Метка "ШАГ 1 ИЗ 7" и т.д. */
  .sn-lbl { font-size: 0.65rem !important; }
}

@media (max-width: 768px) {

  /* Подзаголовок секции "КАК НАЧАТЬ ЗАНИМАТЬСЯ" */
  /* (это .rp-snake-desc, а не .steps-desc который скрыт) */
  .rp-snake-desc {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.85) !important;
  }

  /* Заголовки шагов в SVG — "ОСТАВЬТЕ ЗАЯВКУ" и т.д. */
  /* (font-weight="800" в SVG — это заголовки) */
  .rp-snake-svg text {
    font-family: 'TildaSans', Arial, sans-serif !important;
  }
}

@media (max-width: 480px) {

  /* === ПРЕДМЕТЫ — название предмета === */
  .subject-title {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  /* === ПРЕДМЕТЫ — теги ОГЭ / ЕГЭ / 5–11 кл. === */
  .subject-tag {
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 5px 11px !important;
  }
}

@media (max-width: 768px) {
  .subjects-desc {
    margin-top: -25px !important;
  }
}

.steps-desc-mobile {
  display: none;
}

@media (max-width: 768px) {
  .steps-desc-desktop {
    display: none !important;
  }

  .steps-desc-mobile {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .rep-urgency-wrap {
    position: relative;
    top: -24px !important;
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    position: relative;
    top: -15px !important;
  }
}

@media (max-width: 768px) {
  .why-cta {
    position: relative;
    top: -7px !important;
  }
}

@media (max-width: 768px) {
  .pc-best-badge {
    font-weight: 700 !important;
  }
}

@media (max-width: 768px) {
  .pricing-sub {
    position: relative;
    top: -40px !important;
  }
}

@media (max-width: 768px) {
  .faq-layout {
    margin-top: -25px !important;
  }
}

@media (max-width: 768px) {
  .pricing-gift-cta {
    transform: translateY(26px) !important;
  }
}

@media (max-width: 768px) {
  .subjects-note {
    position: relative;
    top: -12px !important;
  }

  .subjects-bottom .btn {
    position: relative;
    top: -20px !important;
  }
}

@media (max-width: 768px) {
  .subjects-section {
    padding-bottom: 40px !important;
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    position: relative;
    top: -22px !important;
  }
}

@media (max-width: 768px) {
  .pc-label {
    font-weight: 700 !important;
  }
}

@media (min-width: 1025px) {
  .pricing-gift-cta {
    margin-top: 64px !important;
    padding-top: 0 !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
  }

  .pricing-section {
    padding-bottom: 120px !important;
  }
}