/* ==============================
   1. БАЗА: ПАЛИТРА И ТОКЕНЫ
============================== */

:root {
  /* Фон */
  --bg: #020617;
  --bg-elevated: #0b1120;
  --bg-soft: #0f172a;

  /* Акцентный цвет (медный / оранжево-медный) */
  --primary: #f97316;
  --primary-soft: #fed7aa;
  --primary-dark: #ea580c;
  --secondary: #fb923c;
  --gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);

  /* Текст */
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --text-light: #f9fafb;
  --light: #ffffff;
  --dark: #1f2937;

  /* Структура */
  --border-subtle: rgba(148, 163, 184, 0.25);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.7);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;

  --max-width: 1120px;
}

/* ==============================
   2. СБРОС И БАЗОВАЯ ТИПОГРАФИЯ
============================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 30%, #000 100%);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

/* Контейнер */
.container {
  max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ==============================
   3. HERO СЕКЦИЯ
============================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(
      120deg, 
      rgba(2, 6, 23, 0.96), 
      rgba(2, 6, 23, 0.85), 
      rgba(11, 17, 32, 0.95)
    ),
    url('../img/bg.png') center/cover no-repeat;
  background-attachment: fixed;
    color: var(--text);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.22), transparent 55%),
              radial-gradient(circle at 100% 0%, rgba(30, 64, 175, 0.26), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
    position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0;
}

.hero-grid {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-content {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-tagline span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #15803d);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.32);
  flex-shrink: 0;
}

.hero-subline {
  margin: 8px 0 14px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.hero-logo {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(249, 115, 22, 0.4);
  font-style: italic;
  opacity: 0.95;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-light);
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  max-width: 100%;
}

.hero-highlight {
  background: linear-gradient(120deg, #fed7aa, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.2));
}

.highlight {
  background: linear-gradient(120deg, #f97316, #fb923c, #fed7aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  text-shadow: 0 4px 20px rgba(249, 115, 22, 0.5);
  filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.3));
}

.hero-description {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
  max-width: 720px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
    align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 0;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--text-muted) !important;
  font-weight: 500;
  line-height: 1.5;
}

.hero-meta *,
.hero-meta span,
.hero-meta > span,
.hero-meta span:first-child,
.hero-meta span:last-child,
.hero-meta span:nth-child(odd),
.hero-meta span:nth-child(even),
.hero-meta span:nth-child(1),
.hero-meta span:nth-child(2),
.hero-meta span:nth-child(3),
.hero-meta span:nth-child(4),
.hero-meta span:nth-child(5),
.hero-meta span:nth-child(6),
.hero-meta span:nth-child(7) {
  color: var(--text-muted) !important;
}

.hero-meta span:not(:first-child):not(:last-child) {
  opacity: 0.6;
  color: var(--text-muted) !important;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
    margin: 0;
}

.hero-price {
  font-size: 20px;
    color: var(--light);
  font-weight: 500;
  text-align: center;
}

.price-old {
  text-decoration: line-through;
  font-size: 1em;
    position: relative;
  color: var(--light) !important;
}

.price-new {
  font-weight: 700;
  font-size: 1em;
  color: var(--light) !important;
  margin-left: 4px;
}

.hero-cta-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
  max-width: 360px;
  line-height: 1.5;
}

.hero-benefits {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.hero-benefits li {
    position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text);
    line-height: 1.6;
}

.hero-benefits li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
    color: var(--primary);
  font-weight: 700;
}

.hero-rating-card {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px;
    border-radius: 20px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-rating-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
}

.hero-rating-label {
  font-size: 0.8rem;
  color: var(--text);
}

/* Правая часть (фото) */
.hero-right {
    position: relative;
}

.hero-photo-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: radial-gradient(circle at top, #1f2937, #020617);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.7);
  min-height: 360px;
}

.hero-photo {
    width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}

/* Старые классы для совместимости */

.hero-label {
  display: inline-flex;
    align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: radial-gradient(circle at left, rgba(249, 115, 22, 0.08), transparent);
  color: var(--primary-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.benefit-item {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.benefit-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
    padding: 20px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
    margin-top: 20px;
}

.rating-badge i {
    font-size: 2rem;
    color: var(--primary);
}

.rating-score {
    font-size: 2rem;
    font-weight: 900;
  color: var(--light);
    display: block;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.rating-info p {
    font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
    margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ==============================
   4. КНОПКИ
============================== */

.cta-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #0b0f19;
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.45);
}

.cta-button:hover,
.btn:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(249, 115, 22, 0.55);
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #0b0f19;
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.45);
  font-size: clamp(1rem, 2vw, 1.15rem);
  padding: 20px 40px;
  white-space: nowrap;
    font-weight: 700;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-light);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: rgba(249, 115, 22, 0.6);
  background: rgba(249, 115, 22, 0.1);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-light);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: rgba(37, 211, 102, 0.6);
  background: rgba(37, 211, 102, 0.1);
  transform: translateY(-1px);
}

.cta-button.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.55);
  }
  50% {
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.75);
  }
}

/* ==============================
   5. ОБЩИЕ СЕКЦИИ
============================== */

.section-title {
  font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 800;
    text-align: center;
    color: var(--light);
  letter-spacing: 0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
  color: var(--text-muted);
    margin-bottom: 60px;
  line-height: 1.7;
}

/* ==============================
   6. PROBLEM & SOLUTION
============================== */

.problem-solution {
    padding: 100px 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.problem-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
    padding: 40px 30px;
    text-align: center;
  backdrop-filter: blur(18px);
  transition: transform var(--transition-fast);
}

.problem-card:hover {
  transform: translateY(-4px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  color: var(--primary);
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  color: var(--light);
  font-weight: 700;
}

.problem-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.solution-box {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(251, 146, 60, 0.1));
  border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 60px 40px;
    border-radius: 30px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.solution-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
  color: var(--light);
  font-weight: 800;
}

.solution-title i {
  color: var(--primary);
  margin-right: 10px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-item {
    text-align: center;
}

.solution-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
  color: var(--primary);
}

.solution-item h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--light);
  font-weight: 700;
}

.solution-item p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* ==============================
   7. ADVANTAGES SECTION
============================== */

.advantages {
    padding: 100px 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.advantage-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
    padding: 35px 30px;
    text-align: center;
  backdrop-filter: blur(18px);
  transition: transform var(--transition-fast);
}

.advantage-card:hover {
  transform: translateY(-4px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--light);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.advantage-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--light);
    font-weight: 700;
}

.advantage-card p {
  color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* ==============================
   8. TEACHERS SECTION
============================== */

/* ==============================
   11. TEACHERS SECTION
============================== */

.teachers {
  padding: 80px 0 72px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.7), #020617);
}

.teachers-header {
  text-align: center;
  margin-bottom: 40px;
}

.teachers-grid {
    display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* Карточка преподавателя */

.teacher-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.86));
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

/* Фото сверху */

.teacher-photo-wrap {
  position: relative;
  overflow: hidden;
  max-height: 320px;
}

.teacher-photo {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Бейдж «строгий / ламповый» */

.teacher-tag {
    position: absolute;
  right: 18px;
  top: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0b0f19;
    font-weight: 600;
  background: #f97316;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.teacher-tag--strict {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.teacher-tag--warm {
  background: linear-gradient(135deg, #fb923c, #f97316);
}

.teacher-tag--energy {
  background: linear-gradient(135deg, #f97316, #facc15);
}

.teacher-tag--drive {
  background: linear-gradient(135deg, #f97316, #dc2626);
}

/* Тело карточки */

.teacher-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.teacher-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
}

.teacher-exp {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: var(--primary-soft);
}

/* Список навыков */

.teacher-list {
    list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.teacher-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.teacher-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-soft);
}

/* Описание */

.teacher-text {
  margin: 6px 0 10px;
    font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Кнопка */

.teacher-cta {
  align-self: flex-start;
  margin-top: 4px;
  padding-inline: 22px;
}

/* Hover всей карточки */

.teacher-card:hover {
  border-color: rgba(249, 115, 22, 0.65);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

/* Адаптив */

@media (max-width: 1024px) {
  .teachers-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .teachers {
    padding: 64px 0 60px;
  }

  .teacher-body {
    padding: 18px 16px 18px;
  }
}

/* ==============================
   9. BEFORE/AFTER SECTION
============================== */

.before-after {
    padding: 100px 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.transformation-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78));
  border-radius: var(--radius-lg);
    padding: 30px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: transform var(--transition-fast);
}

.transformation-card:hover {
  transform: translateY(-4px);
}

.transform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.person-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--light);
  font-weight: 700;
}

.occupation {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.transform-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.before-block,
.after-block {
    padding: 20px;
    border-radius: 12px;
}

.before-block {
  background: rgba(249, 115, 22, 0.1);
  border-left: 4px solid var(--primary);
}

.after-block {
  background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22c55e;
}

.before-block .label,
.after-block .label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.before-block .label {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
}

.after-block .label {
  background: linear-gradient(135deg, #22c55e, #10b981);
    color: var(--light);
}

.before-block p,
.after-block p {
  color: var(--text-muted);
    line-height: 1.6;
}

.arrow-transform {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    display: none;
}

/* ==============================
   10. TIMELINE SECTION
============================== */

.timeline {
    padding: 120px 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
    position: relative;
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.timeline-progress-line {
    position: absolute;
    left: 50%;
    top: 80px;
    bottom: 80px;
    width: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-road {
    position: relative;
    z-index: 2;
}

.timeline-milestone {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
    position: relative;
}

.timeline-milestone:nth-child(odd) {
    flex-direction: row;
}

.timeline-milestone:nth-child(even) {
    flex-direction: row-reverse;
}

.milestone-icon {
    width: 80px;
    height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--light);
  box-shadow: 0 10px 40px rgba(249, 115, 22, 0.4);
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.timeline-milestone:hover .milestone-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 60px rgba(249, 115, 22, 0.6);
}

.milestone-card {
    flex: 1;
    max-width: 450px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78));
    padding: 35px 40px;
  border-radius: var(--radius-lg);
    margin: 0 40px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: all 0.4s ease;
}

.timeline-milestone:hover .milestone-card {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.4);
}

.milestone-badge {
    display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    padding: 6px 16px;
  border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.milestone-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
  color: var(--light);
    margin-bottom: 12px;
}

.milestone-card p {
    font-size: 1.1rem;
  color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.milestone-achievement {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
  background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.milestone-achievement i {
    font-size: 1.2rem;
}

/* ==============================
   9.5. PATH SECTION (NEW COMPACT VERSION)
============================== */

.path {
    padding: 80px 0;
    position: relative;
}

.section-description {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.path-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.path-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 18px 18px 16px;
    transition: all var(--transition-fast);
}

.path-card:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 115, 22, 0.4);
}

.path-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.4);
    margin-bottom: 8px;
}

.path-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
}

.path-text {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.path-result {
    margin: 0;
    font-size: 0.88rem;
    color: var(--primary-soft);
    font-weight: 500;
}

/* ==============================
   11. PROGRAM SECTION
============================== */

.program {
    padding: 100px 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.program-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78));
  border-radius: var(--radius-lg);
    padding: 40px 30px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: transform var(--transition-fast);
}

.program-card:hover {
  transform: translateY(-4px);
}

.program-badge {
    display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    padding: 8px 20px;
  border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.program-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
  color: var(--light);
    margin-bottom: 25px;
}

.program-results,
.program-content {
    margin-bottom: 25px;
}

.program-results h4,
.program-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
  color: var(--light);
    margin-bottom: 15px;
}

.results-list {
    list-style: none;
    margin-bottom: 20px;
}

.results-list li {
    padding: 10px 0;
  color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
  font-size: 0.95rem;
}

.results-list li i {
    color: #22c55e;
    font-size: 1.2rem;
    margin-top: 2px;
}

.program-content p {
  color: var(--text-muted);
    line-height: 1.6;
  font-size: 0.95rem;
}

/* ==============================
   12. PRICING SECTION
============================== */

.pricing {
    padding: 100px 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.comparison-box {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 40px 30px;
  border-radius: var(--radius-lg);
    margin-bottom: 50px;
  backdrop-filter: blur(18px);
}

.comparison-box h3 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
  color: var(--light);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.comparison-item {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78));
    padding: 25px;
    border-radius: 15px;
    text-align: center;
  border: 1px solid var(--border-subtle);
}

.comparison-item.negative i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 15px;
}

.comparison-item p {
  color: var(--text-muted);
    line-height: 1.5;
  font-size: 0.95rem;
}

.pricing-offer {
    max-width: 800px;
    margin: 0 auto 40px;
}

.pricing-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.85));
  border-radius: var(--radius-lg);
    padding: 50px 40px;
    border: 3px solid transparent;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.pricing-card.featured {
    border-color: var(--primary);
}

.pricing-badge {
    display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    padding: 8px 24px;
  border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 900;
  background: linear-gradient(120deg, #f97316, #fb923c, #fed7aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1.2rem;
  color: var(--text-muted);
    margin-top: 5px;
}

.pricing-features h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
  color: var(--light);
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 25px;
}

.pricing-features ul li {
    padding: 12px 0;
  color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
}

.pricing-features ul li i {
    color: #22c55e;
    font-size: 1.3rem;
    margin-top: 2px;
}

.pricing-note {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 20px;
    border-radius: 12px;
  color: var(--text-muted);
    line-height: 1.6;
    display: flex;
    gap: 12px;
}

.pricing-note i {
    color: var(--primary);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==============================
   13. FAQ SECTION
============================== */

/* ==============================
   13. FAQ SECTION (ACCORDION)
============================== */

.faq {
  padding: 80px 0;
}

.faq .section-title {
  color: var(--light);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item.active {
  border-color: rgba(249, 115, 22, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  min-height: 44px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-light);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
  background: rgba(15, 23, 42, 1);
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-light);
  flex: 1;
}

.faq-question i {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  padding-top: 4px;
}

/* ==============================
   14. GUARANTEES SECTION
============================== */

.guarantees {
  padding: 72px 0 64px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.75), #020617);
}

.guarantees-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 8px 0 0;
}

/* Сетка карточек */

.guarantees-grid {
    display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Карточка гарантии */

.guarantee-card {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.82));
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  padding: 24px 22px 22px;
  overflow: hidden;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

/* Иконка сверху */

.guarantee-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
    align-items: center;
    justify-content: center;
  background: radial-gradient(circle at top, #f97316, #ea580c);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.55);
  margin-bottom: 16px;
}

.guarantee-icon span {
  font-size: 1.35rem;
}

/* Заголовок и текст */

.guarantee-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
}

.guarantee-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.guarantee-text strong {
  color: var(--primary-soft);
  font-weight: 500;
}

/* Hover-эффект лёгкий */

.guarantee-card:hover {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(-1px);
}

/* Адаптив */

@media (max-width: 960px) {
  .guarantees {
    padding: 64px 0 56px;
  }
}

@media (max-width: 640px) {
  .guarantees-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .guarantee-card {
    padding: 20px 18px 18px;
  }
}

/* ==============================
   15. SOCIAL BUTTONS IN FORM
============================== */

.social-buttons {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
}

.social-buttons-label {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.social-btn--vk {
  background: #0077ff;
  color: white;
}

.social-btn--vk:hover {
  background: #0066dd;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 119, 255, 0.4);
}

.social-btn--whatsapp {
  background: #25d366;
  color: white;
}

.social-btn--whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.social-btn i {
  font-size: 1.1rem;
}

@media (max-width: 640px) {
  .social-buttons-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   16. GALLERY SECTION
============================== */

.gallery-section {
    padding: 100px 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
  border-radius: var(--radius-md);
    cursor: pointer;
    aspect-ratio: 1;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  transition: transform var(--transition-fast);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.3);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-load-more {
    display: block;
    margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
  border-radius: var(--radius-pill);
    cursor: pointer;
  transition: transform var(--transition-fast);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.gallery-load-more:hover {
    transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5);
}

.gallery-load-more.hidden {
    display: none;
}

/* ==============================
   16. LIGHTBOX
============================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid var(--border-subtle);
    color: var(--light);
    width: 50px;
    height: 50px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(18px);
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(249, 115, 22, 0.9);
  border-color: var(--primary);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light);
  background: rgba(15, 23, 42, 0.9);
    padding: 10px 20px;
  border-radius: var(--radius-pill);
    font-weight: 600;
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
}

/* ==============================
   17. FINAL CTA SECTION
============================== */

/* ==============================
   17. SIGNUP SECTION (FORM)
============================== */

.signup {
  padding: 80px 0 88px;
  background: 
    radial-gradient(circle at top, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.9)),
    url('../img/bg_2.png') center center / cover no-repeat;
  background-attachment: fixed;
  position: relative;
}

.signup-grid {
    display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

/* Левая часть */

.signup-info {
  text-align: left;
}

.signup-info .section-title {
  margin-bottom: 12px;
  text-align: left;
  line-height: 1.2;
}

.signup-info .section-description {
  max-width: 420px;
  text-align: left;
}

.signup-benefits {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.signup-benefits li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.signup-benefits li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-soft);
}

/* Правая часть — карточка формы */

.signup-form-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.86));
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  padding: 22px 22px 20px;
  max-width: 420px;
    margin-left: auto;
}

.signup-form-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-light);
}

.signup-form-subtitle {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Поля формы */

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.signup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.signup-field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.signup-field input {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  padding: 10px 12px;
  font-size: 0.95rem;
  color: var(--text-light);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.signup-field input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.signup-field input:focus {
  border-color: rgba(249, 115, 22, 0.8);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4);
  background: rgba(15, 23, 42, 0.98);
}

/* Кнопка и подпись */

.signup-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.signup-consent {
  margin: 8px 0 0;
}

.signup-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}

.signup-consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary);
}

.signup-consent-label a {
  color: var(--primary);
  text-decoration: none;
}

.signup-consent-label a:hover {
  text-decoration: underline;
}

.signup-note {
  margin: 8px 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.signup-note a {
  color: var(--primary);
  text-decoration: none;
}

.signup-note a:hover {
  text-decoration: underline;
}

.signup-social {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.signup-social-label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
    text-align: center;
}

.signup-social-buttons {
    display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.signup-social-btn {
  flex: 1;
  min-width: 140px;
  justify-content: center;
  font-size: 0.85rem;
}

/* ВКонтакте - фирменный синий */
.signup-social-vk,
.location-vk {
  background: #0077FF !important;
  border-color: #0077FF !important;
  color: #ffffff !important;
}

.signup-social-vk:hover,
.location-vk:hover {
  background: #0066DD !important;
  border-color: #0066DD !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* WhatsApp - фирменный зелёный */
.signup-social-wa {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #ffffff !important;
}

.signup-social-wa:hover {
  background: #20BA5A !important;
  border-color: #20BA5A !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .signup-social-buttons {
    flex-direction: column;
  }

  .signup-social-btn {
    width: 100%;
  }
}

.form-message {
    display: none;
  padding: 12px;
  border-radius: 12px;
    text-align: center;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Адаптив */

@media (max-width: 960px) {
  .signup {
    padding: 68px 0 72px;
  }

  .signup-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .signup-form-card {
    margin: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .signup {
    padding: 50px 0 56px;
    background-attachment: scroll;
  }

  .signup-grid {
    gap: 24px;
  }

  .signup-info {
    margin-bottom: 8px;
  }

  .signup-info .section-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .signup-info .section-description {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .signup-benefits {
    font-size: 0.9rem;
    margin-top: 16px;
  }

  .signup-benefits li {
    margin-bottom: 8px;
  }

  .signup-form-card {
    padding: 20px 18px 18px;
    margin: 0;
    max-width: 100%;
  }

  .signup-form-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .signup-form-subtitle {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .signup-field input {
    font-size: 16px; /* Предотвращает зум на iOS */
    padding: 14px 16px;
    min-height: 48px;
    border-radius: 12px;
  }

  .signup-submit {
    min-height: 52px;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 24px;
  }

  .signup-social-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .signup-social-btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.9rem;
  }

  .signup-consent-label {
    font-size: 0.75rem;
    line-height: 1.6;
  }
}

.form-message.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

/* ==============================
   18. REVIEWS SECTION
============================== */

/* ==============================
   12. REVIEWS SECTION (NEW)
============================== */

.reviews {
  padding: 72px 0 64px;
}

.reviews-head {
  text-align: center;
  margin-bottom: 32px;
}

.reviews-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.2rem);
  color: var(--light);
}

.reviews-head p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ОБОЛОЧКА СЛАЙДЕРА */

.reviews-slider-shell {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
}

/* ВАЖНО: обрезаем только на wrapper-е, а не на треке */
.reviews-track-wrapper {
  overflow: hidden;
  flex: 1 1 auto;
}

/* Трек с карточками */
.reviews-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  transition: transform 0.35s ease;
}

/* КАРТОЧКИ ОТЗЫВОВ */

.review-card {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 карточки на десктопе, 2*20px = 40 gap */
  max-width: 360px;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* аватар / буква не обрезаются */

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
    margin-bottom: 10px;
}

.review-avatar,
.review-header .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: #0b0f19;
  background: linear-gradient(135deg, #fed7aa, #f97316);
}

.review-name,
.review-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
}

.review-meta,
.review-header .occupation {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.review-text {
  margin: 6px 0 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.review-stars,
.review-card .stars {
  font-size: 0.85rem;
  color: #f97316;
}

.review-card .stars {
  margin-top: auto;
}

/* СТРЕЛКИ — минималистичные */

.reviews-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
    color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
}

.reviews-arrow:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(249, 115, 22, 0.7);
  transform: translateY(-1px);
}

/* ТОЧКИ: без пунктирных линий, просто маленькие кружки */

.reviews-dots {
    display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 8px;
}

.reviews-dot {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.reviews-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  transition: background 0.18s ease, transform 0.18s ease;
  display: block;
}

.reviews-dot--active::before,
.reviews-dot.active::before {
  background: #f97316;
  transform: scale(1.1);
}

/* ССЫЛКА НА ЯНДЕКС */

.reviews-more {
    display: block;
  text-align: center;
  margin-top: 4px;
  font-size: 0.9rem;
  color: #f97316;
    text-decoration: none;
  transition: color 0.18s ease;
}

.reviews-more:hover {
  color: #ea580c;
}

/* АДАПТИВ */

@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 calc((100% - 20px) / 2); /* 2 карточки */
  }
}

@media (max-width: 640px) {
  .reviews-slider-shell {
    gap: 8px;
  }

  .reviews-arrow {
    display: none; /* на мобиле можно оставить чисто свайп/точки */
  }

  .review-card {
    flex: 0 0 100%; /* по одной карточке */
    max-width: none;
  }

  .reviews-dots {
    margin-top: 16px;
    gap: 8px;
  }
}

.review-text.collapsed {
  max-height: 4.5em;
  line-height: 1.5em;
  overflow: hidden;
  position: relative;
}

.review-text.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2em;
  background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.98));
}

.expand-button {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
  border-radius: 8px;
}

.expand-button:hover {
  color: var(--secondary);
}

.expand-button.expanded i {
  transform: rotate(180deg);
}

.stars {
  font-size: 1.2rem;
  color: var(--primary);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid var(--border-subtle);
    color: var(--light);
  width: 50px;
  height: 50px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(18px);
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(249, 115, 22, 0.9);
  border-color: var(--primary);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-dots {
    display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--border-subtle);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.slider-dot.active {
  background: var(--primary);
}

.yandex-reviews-widget {
    text-align: center;
    margin: 40px 0;
}

.yandex-link-orange {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
    text-decoration: none;
  transition: color var(--transition-fast);
}

.yandex-link-orange:hover {
    color: var(--secondary);
}

/* ==============================
   19. MAP SECTION
============================== */

/* ==============================
   19. LOCATION SECTION
============================== */

.location {
  padding: 72px 0 80px;
}

.location-header {
    text-align: center;
  margin-bottom: 24px;
}

/* Карта */

.location-map-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
}

.location-map {
  width: 100%;
  height: 360px;
  border: none;
}

/* Контактная карточка под картой */

.location-card {
  max-width: 980px;
  margin: -32px auto 0; /* лёгкий наплыв на карту */
  padding: 20px 22px 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(15,23,42,0.98), rgba(15,23,42,0.88));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

/* Текстовая часть */

.location-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.location-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.location-value {
  font-size: 0.95rem;
  color: var(--text-light);
}

.location-value a {
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.18s ease;
}

.location-value a:hover {
    color: var(--primary);
}

/* Кнопки */

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.location-wa,
.location-vk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Адаптив */

@media (max-width: 960px) {
  .location {
    padding-bottom: 64px;
  }

  .location-map {
    height: 300px;
  }

  .location-card {
    margin-top: 16px; /* без наплыва, чтоб не ломалось */
  }

  .location-info {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .location {
    padding: 60px 0 64px;
  }

  .location-map {
    height: 280px;
  }

  .location-card {
    padding: 18px 16px 16px;
    margin-top: 12px;
  }

  .location-info {
    gap: 12px;
  }

  .location-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .location-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 0.95rem;
  }
}

/* ==============================
   20. FOOTER
============================== */

.footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  background: #020617;
  padding: 18px 0 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-weight: 600;
  color: #f9fafb;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-legal {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-legal > div {
  margin-bottom: 4px;
}

.footer-links {
  margin-top: 6px;
}

.footer-links a {
  color: var(--primary);
    text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--primary-soft);
  text-decoration: underline;
}

.footer-links span {
  color: var(--text-muted);
  margin: 0 4px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.footer-link {
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.18s ease;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-dot {
  opacity: 0.4;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-btn {
  padding-inline: 14px;
  font-size: 0.82rem;
}

.footer-wa-btn,
.footer-vk-btn {
  padding-inline: 16px;
  font-size: 0.82rem;
}

.footer-vk-btn {
  background: #0077FF !important;
  color: #ffffff !important;
  border-color: #0077FF !important;
}

.footer-vk-btn:hover {
  background: #0066DD !important;
  border-color: #0066DD !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.footer-wa-btn {
  background: #25D366 !important;
  color: #ffffff !important;
  border-color: #25D366 !important;
}

.footer-wa-btn:hover {
  background: #20BA5A !important;
  border-color: #20BA5A !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* мобилка */

@media (max-width: 768px) {
.footer {
    padding: 20px 0 24px;
  }

  .footer-inner {
    align-items: flex-start;
    gap: 16px;
  }

  .footer-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .footer-btn,
  .footer-wa-btn,
  .footer-vk-btn {
    justify-content: center;
    width: 100%;
    min-height: 48px;
    font-size: 0.9rem;
  }

  .footer-legal {
    margin-top: 12px;
    font-size: 0.7rem;
    line-height: 1.6;
  }

  .footer-contacts {
    gap: 8px;
  }
}

/* ==============================
   21. COOKIE CONSENT POPUP
============================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 16px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
    display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  min-width: 250px;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-consent-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.18s ease;
}

.cookie-consent-link:hover {
  color: var(--primary-soft);
  text-decoration: underline;
}

.cookie-consent-accept {
  padding: 10px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cookie-consent {
    padding: 14px 16px;
  }

  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-consent-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-consent-accept {
    width: 100%;
    justify-content: center;
  }
}

/* ==============================
   22. PRIVACY PAGE
============================== */

.privacy-page {
  padding: 100px 0 80px;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.86));
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.privacy-content h1 {
    font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 8px;
}

.privacy-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 32px;
}

.privacy-section {
  margin-bottom: 32px;
}

.privacy-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 12px;
}

.privacy-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.privacy-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.privacy-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-soft);
  font-weight: 700;
}

.privacy-list li strong {
  color: var(--text-light);
}

.privacy-list li a {
  color: var(--primary);
    text-decoration: none;
}

.privacy-list li a:hover {
  text-decoration: underline;
}

.privacy-back {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 640px) {
  .privacy-page {
    padding: 80px 0 60px;
  }

  .privacy-content {
    padding: 28px 20px;
  }

  .privacy-content h1 {
    font-size: 1.6rem;
  }

  .privacy-section h2 {
    font-size: 1.1rem;
  }
}

/* ==============================
   23. MODAL FORM POPUP (устарело - используется lead-modal.css)
============================== */

/* Старый код удален - теперь используется .lead-modal из lead-modal.css */

/* Старые стили удалены - используется .floating-cta из lead-modal.css */

/* Старые медиа-запросы для .modal-overlay и .floating-button удалены */

  .modal-content {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 85vh !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden !important;
    animation: slideUp 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
  }

  .modal-form-card {
    padding: 20px 20px 24px !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .modal-form-title {
    font-size: 1.25rem !important;
    margin-bottom: 6px !important;
    padding-right: 40px !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  .modal-form-subtitle {
    font-size: 0.8rem !important;
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  .modal-close {
    top: 16px !important;
    right: 16px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    font-size: 1.2rem !important;
  }

  .modal-form-card::before {
    top: 8px !important;
    width: 32px !important;
    height: 3px !important;
  }

  .modal-form {
    gap: 12px !important;
  }

  .signup-field input {
    font-size: 16px !important;
    padding: 12px 14px !important;
    min-height: 48px !important;
  }

  .signup-submit {
    min-height: 50px !important;
    font-size: 0.95rem !important;
    margin-top: 2px !important;
    padding: 14px 20px !important;
  }

  .signup-social {
    margin: 6px 0 0 !important;
  }

  .signup-social-label {
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
  }

  .signup-social-btn {
    min-height: 46px !important;
    font-size: 0.85rem !important;
    padding: 12px 18px !important;
  }

  .signup-consent {
    margin: 10px 0 0 !important;
  }

  .signup-consent-label {
    font-size: 0.68rem !important;
    line-height: 1.4 !important;
    gap: 8px !important;
  }

  .signup-consent-label input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin-top: 1px !important;
  }
}

@media (max-width: 480px) {
  .floating-button {
    left: 16px;
    right: 16px;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    bottom: 16px;
    padding: 14px 18px;
    font-size: 0.9rem;
    box-sizing: border-box;
  }
}

@media (max-width: 360px) {
  .floating-button {
    left: 12px;
    right: 12px;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    bottom: 12px;
    padding: 14px 16px;
    font-size: 0.85rem;
    box-sizing: border-box;
  }

  .modal-overlay {
    padding: 0;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 95vh;
    margin: 0;
    border-radius: 24px 24px 0 0;
    overflow: visible;
    animation: slideUp 0.3s ease-out;
    box-sizing: border-box;
  }

  .modal-form-card {
    padding: 32px 20px 28px;
    border-radius: 24px 24px 0 0;
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    width: 100%;
    position: relative;
  }

  .modal-form-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .modal-form-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
  }

  .modal-overlay.closing .modal-content {
    animation: slideDown 0.3s ease-in;
  }

  @keyframes slideUp {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes slideDown {
    from {
      transform: translateY(0);
      opacity: 1;
    }
    to {
      transform: translateY(100%);
      opacity: 0;
    }
  }

  /* Индикатор свайпа вниз */
  .modal-form-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(148, 163, 184, 0.5);
    border-radius: 2px;
    z-index: 10;
    pointer-events: none;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(10px);
  }

  .modal-form {
    gap: 14px !important;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
  }

  .signup-field {
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
  }

  .signup-field input {
    font-size: 16px !important;
    padding: 14px 16px !important;
    min-height: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
  }

  .signup-submit {
    min-height: 52px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-top: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 24px !important;
  }

  .signup-social {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 8px 0 0 !important;
  }

  .signup-social-label {
    font-size: 0.85rem !important;
    margin-bottom: 10px !important;
  }

  .signup-social-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .signup-social-btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
    padding: 14px 20px !important;
  }

  .signup-consent {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 12px 0 0 !important;
  }

  .signup-consent-label {
    font-size: 0.7rem !important;
    line-height: 1.5 !important;
    gap: 10px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex !important;
    align-items: flex-start !important;
    margin: 0 !important;
  }

  .signup-consent-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
  }

  .signup-consent-label span {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 360px) {
  .modal-form-card {
    padding: 24px 14px 20px;
  }

  .modal-form-title {
    font-size: 1.2rem;
  }

  .modal-form-subtitle {
    font-size: 0.8rem;
  }

  .signup-field input {
    padding: 12px 14px;
  }

  .signup-consent-label {
    font-size: 0.7rem;
  }
}

  .signup-social-btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.9rem;
  }

  .signup-consent-label {
    font-size: 0.75rem;
    line-height: 1.6;
    gap: 10px;
  }

  .signup-consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }

  .faq-question {
    padding: 16px 20px;
  }
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* ==============================
   21. FLOATING BUTTON
============================== */

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    border: none;
    padding: 18px 30px;
    font-size: 1rem;
    font-weight: 700;
  border-radius: var(--radius-pill);
    cursor: pointer;
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
    z-index: 1000;
  transition: all var(--transition-fast);
    display: none; /* Скрыто на десктопе по умолчанию */
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
  min-width: 56px;
  min-height: 56px;
}

.floating-button:hover {
    transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.5);
}

.floating-button.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100px);
}

.floating-button i {
    font-size: 1.2rem;
}

/* ==============================
   22. UTILITIES
============================== */

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* ==============================
   23. АДАПТИВ
============================== */

@media (max-width: 1024px) {
  .hero-inner {
    padding: 60px 0;
  }

    .hero-grid {
    max-width: 100%;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-content {
    gap: 20px;
    }

    .hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
    }

  .hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .reviews-slider-container {
        padding: 0 60px;
    }

    .reviews-slider .review-card {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

  .solution-grid {
    grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    .container {
        padding: 0 16px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

    * {
      -webkit-tap-highlight-color: rgba(249, 115, 22, 0.1);
    }

  .hero-inner {
    padding: 50px 0;
  }

    .hero {
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }

  .hero-content {
    gap: 18px;
    }

    .hero {
        min-height: auto;
      padding: 40px 0 50px;
    }

    .hero-inner {
      padding: 40px 0;
    }

    .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 16px;
    }

    .hero-description {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    max-width: 100%;
        margin-bottom: 20px;
  }

  .hero-meta {
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    gap: 6px 10px;
    margin-bottom: 20px;
  }

  .hero-cta-row {
    gap: 12px;
  }

  .btn-primary {
    padding: 18px 28px;
    font-size: clamp(0.95rem, 3vw, 1.05rem);
    white-space: normal;
    min-height: 48px;
    width: 100%;
    max-width: 100%;
    line-height: 1.4;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-price {
    font-size: 18px;
    text-align: center;
  }

  .price-new {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .hero::before {
    background: linear-gradient(
      120deg,
      rgba(2, 6, 23, 0.98),
      rgba(2, 6, 23, 0.9),
      rgba(2, 6, 23, 0.98)
    );
    }

    .hero-title {
    font-size: 2.1rem;
    margin-bottom: 16px;
    }

    .hero-description {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-tagline {
    font-size: 0.72rem;
    padding: 4px 12px;
  }

  .hero-subline {
    font-size: 0.85rem;
    }

    .hero-label {
        font-size: 0.75rem;
        padding: 6px 15px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
    }

    .rating-badge {
        padding: 15px 20px;
        gap: 10px;
    }

    .rating-score {
        font-size: 1.5rem;
    }

    .benefit-item {
        font-size: 0.9rem;
        margin: 10px 0;
    color: rgba(255, 255, 255, 0.95);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .advantages,
    .teachers,
    .problem-solution,
    .timeline,
    .program,
    .pricing,
    .faq,
    .guarantees,
    .gallery-section,
    .reviews,
    .signup,
    .location,
    .before-after,
    .path {
        padding: 60px 0;
    }

    .advantages-grid,
    .problems-grid,
    .faq-grid,
    .transformation-grid,
    .program-grid,
    .comparison-grid,
    .guarantees-grid,
    .path-list,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantages-grid {
      gap: 16px;
    }

    .advantage-card,
    .problem-card,
    .teacher-card,
    .transformation-card,
    .program-card,
    .guarantee-card,
    .faq-item {
        padding: 25px 20px;
    }

    .advantage-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .guarantee-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .transform-content {
        gap: 15px;
    }

    .arrow-transform {
        display: block;
        margin: 10px 0;
    }

    .timeline {
        padding: 80px 0;
    }

    .timeline-progress-line {
        left: 20px;
        transform: none;
    }

    .timeline-milestone {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
        margin-bottom: 50px;
    }

    .milestone-icon {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .milestone-card {
        margin: 20px 0 0 0;
        max-width: 100%;
        padding: 25px 20px;
    }

    .milestone-card h3 {
        font-size: 1.5rem;
    }

    .milestone-card p {
        font-size: 1rem;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-container h3 {
        font-size: 1.75rem;
    }

    .reviews-slider-container {
        padding: 0 50px;
    }

    .reviews-slider .review-card {
        flex: 0 0 100%;
        width: 100%;
    }

    .slider-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

  .gallery-item {
    aspect-ratio: 1;
  }


    .teacher-image {
        height: 350px;
    }

    .teacher-info {
        padding: 25px 20px;
    }

    .teacher-info h3 {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 16px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    .container {
        padding: 0 16px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

  .hero {
    background-position: center center;
    background-size: cover;
    min-height: auto;
    padding: 30px 0 40px;
  }

  .hero-inner {
    padding: 30px 0;
  }

  .hero::before {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.75) 50%,
      rgba(0, 0, 0, 0.85) 100%
    );
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .hero-logo {
      font-size: 1rem;
      margin-bottom: 10px;
    }

    .hero-meta {
      font-size: 0.8rem;
      gap: 4px 8px;
      margin-bottom: 16px;
    }

    .hero-price {
      font-size: 16px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.95);
    }

    .cta-button {
        padding: 14px 25px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .advantage-card,
    .problem-card,
    .teacher-card,
    .transformation-card,
    .program-card,
    .guarantee-card,
    .faq-item {
        padding: 18px 16px;
    }

    .advantage-card h3,
    .guarantee-title {
        font-size: 1rem;
    }

    .advantage-card p,
    .guarantee-text {
        font-size: 0.85rem;
    }

    .solution-box {
        padding: 30px 20px;
    }

    .solution-title {
        font-size: 1.3rem;
    }

    .form-container {
        padding: 25px 15px;
    }

    .form-container h3 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select {
    padding: 14px 16px;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
    }

    .signup-field input,
    .modal-form input {
      font-size: 16px;
      min-height: 48px;
      padding: 12px 14px;
    }

    .teacher-image {
        height: 300px;
    }

    .teacher-info h3 {
        font-size: 1.2rem;
    }

    .milestone-card h3 {
        font-size: 1.3rem;
    }

    .milestone-card p {
        font-size: 0.95rem;
    }

    .price-value {
        font-size: 2rem;
    }

    .pricing-features ul li {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.95rem;
    }

    .lightbox-prev,
    .lightbox-next {
    width: 44px;
    height: 44px;
        font-size: 1.2rem;
    }

    .lightbox-close {
    width: 44px;
    height: 44px;
        top: 10px;
        right: 10px;
    }

    .reviews-slider-container {
        padding: 0 40px;
    }

    .slider-arrow {
    width: 44px;
    height: 44px;
        font-size: 1rem;
    }


    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-item {
      aspect-ratio: 4/3;
    }

    .rating-badge {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    background: rgba(15, 23, 42, 0.9);
  }
}

@media (max-width: 360px) {
  .hero {
    background-position: center center;
    min-height: auto;
    padding: 24px 0 32px;
  }

  .hero-inner {
    padding: 24px 0;
  }

  .hero::before {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.8) 50%,
      rgba(0, 0, 0, 0.9) 100%
    );
  }

  .hero-title {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .hero-logo {
    font-size: 0.95rem;
  }

  .hero-meta {
    font-size: 0.75rem;
    gap: 4px 6px;
  }

  .hero-price {
    font-size: 15px;
  }

  .container {
    padding: 0 12px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .btn-primary {
    padding: 16px 20px;
    font-size: 0.88rem;
    min-height: 52px;
    line-height: 1.35;
  }

  .floating-button {
    bottom: 12px;
    right: 12px;
    padding: 12px 18px;
    font-size: 0.85rem;
    min-width: 56px;
    min-height: 56px;
  }

  .floating-button span {
    display: inline;
  }

  .signup-form-card,
  .modal-form-card {
    padding: 18px 16px 16px;
  }

  .location-card {
    padding: 16px 14px 14px;
  }

  .footer {
    padding: 18px 0 20px;
    }
}
