/* ============================================================
   Елена Шаманова — Ораторское искусство онлайн
   Стиль: Enton-inspired (Navy + Red)
   Адаптивность: Desktop 1100px / Tablet 900px / Mobile 480px
   ============================================================ */

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

:root {
  --red:   #E8112D;
  --navy:  #0D1B3E;
  --white: #ffffff;
  --gray:  #F4F5F7;
  --text:  #0D1B3E;
  --muted: #6B7280;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.5;
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo .mark {
  width: 32px; height: 32px;
  background: var(--red);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo .mark svg { width: 18px; height: 18px; }
.nav-logo span { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #fff; background: rgba(232,17,45,0.2); }

.nav-cta {
  background: var(--red); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 10px 22px; border-radius: 6px;
  border: none; cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.88; }

/* Бургер-кнопка — скрыта на десктопе */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.burger:hover { background: rgba(255,255,255,0.08); }
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
  transform-origin: center;
}

/* Бургер — анимация открытия */
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню — выпадающее */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 199;
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.15s;
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.mobile-menu a.active { color: #fff; background: rgba(232,17,45,0.2); }
.mobile-menu .mobile-cta {
  margin-top: 12px;
  background: var(--red);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
}
.mobile-menu .mobile-cta:hover { opacity: 0.88; background: var(--red); }

/* ── STRIPE ───────────────────────────────────────────────── */
.stripe { height: 6px; background: var(--red); }

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(232,17,45,0.08);
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,17,45,0.15);
  border: 1px solid rgba(232,17,45,0.35);
  color: var(--red);
  font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 4px;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px; width: fit-content;
}
.page-hero h1 {
  font-size: 44px; font-weight: 800;
  color: #fff; letter-spacing: -1px;
  line-height: 1.1; margin-bottom: 12px;
}
.page-hero h1 .accent { color: var(--red); }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 520px; }

/* ── SECTION HELPERS ──────────────────────────────────────── */
.section { padding: 72px 48px; max-width: 1100px; margin: 0 auto; }
.section-full { padding: 72px 48px; }
.section-full .inner { max-width: 1100px; margin: 0 auto; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.label::before { content: ''; width: 20px; height: 2px; background: var(--red); }

.title {
  font-size: 36px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.8px;
  line-height: 1.15; margin-bottom: 12px;
}
.subtitle { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 48px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-red {
  background: var(--red); color: #fff;
  padding: 14px 28px; border-radius: 6px;
  border: none; cursor: pointer;
  font-size: 14px; font-weight: 700; letter-spacing: 0.3px;
  transition: opacity 0.2s; display: inline-block; text-decoration: none;
}
.btn-red:hover { opacity: 0.88; }
.btn-navy {
  background: var(--navy); color: #fff;
  padding: 14px 28px; border-radius: 6px;
  border: none; cursor: pointer; font-size: 14px; font-weight: 700;
  transition: opacity 0.2s; display: inline-block; text-decoration: none;
}
.btn-navy:hover { opacity: 0.88; }
.btn-outline {
  background: transparent; color: var(--navy);
  padding: 14px 28px; border-radius: 6px;
  border: 2px solid var(--navy); cursor: pointer;
  font-size: 14px; font-weight: 600;
  transition: all 0.2s; display: inline-block; text-decoration: none;
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ── CTA FORM ─────────────────────────────────────────────── */
.cta-section { background: var(--red); padding: 72px 48px; }
.cta-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.cta-section h2 {
  font-size: 40px; font-weight: 800; color: #fff;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 12px;
}
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.cta-form { display: flex; flex-direction: column; gap: 12px; }
.cta-form input {
  padding: 14px 18px; border-radius: 6px;
  border: none; font-size: 14px;
  background: rgba(255,255,255,0.15); color: #fff; outline: none;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.55); }
.cta-form button {
  background: var(--navy); color: #fff;
  padding: 14px; border-radius: 6px;
  border: none; cursor: pointer;
  font-size: 14px; font-weight: 700; transition: opacity 0.2s;
}
.cta-form button:hover { opacity: 0.88; }
.cta-note { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 4px; }
.cta-note a { color: rgba(255,255,255,0.65); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--navy); padding: 40px 48px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo .mark {
  width: 28px; height: 28px; background: var(--red);
  border-radius: 5px; display: flex; align-items: center; justify-content: center;
}
.footer-logo span { font-size: 16px; font-weight: 700; color: #fff; }
.footer p { font-size: 12px; color: rgba(255,255,255,0.4); }
.flinks { display: flex; gap: 20px; }
.flinks a {
  font-size: 13px; color: rgba(255,255,255,0.5);
  text-decoration: none; font-weight: 500; transition: color 0.2s;
}
.flinks a:hover { color: #fff; }

/* ── VIDEO ────────────────────────────────────────────────── */
.video-wrap {
  position: relative; padding-bottom: 56.25%;
  height: 0; overflow: hidden; border-radius: 10px; background: #000;
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #111; color: rgba(255,255,255,0.4);
  font-size: 13px; gap: 10px;
}
.video-placeholder .play-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center; justify-content: center;
}
.video-placeholder .play-icon svg { width: 22px; height: 22px; margin-left: 4px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { display: flex; flex-direction: column; }
.review-card .review-meta { padding: 12px 0 0; }
.review-card .review-meta strong { font-size: 14px; font-weight: 700; color: var(--navy); display: block; }
.review-card .review-meta span { font-size: 12px; color: var(--muted); }


/* ════════════════════════════════════════════════════════════
   АДАПТИВНОСТЬ — ПЛАНШЕТ (до 900px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Nav */
  .nav { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  /* Hero на мобильном */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 32px 20px 24px; order: 1; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }
  .hero-stats { margin-top: 24px; padding-top: 20px; gap: 20px; }
  .stat-val { font-size: 22px; }
  .hero-right { order: 2; height: 380px; }
  .hero-right img { object-position: top center; }

  /* Шрифты */
  .title { font-size: 28px; }
  .subtitle { font-size: 15px; margin-bottom: 32px; }

  /* Page hero */
  .page-hero { padding: 40px 24px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 14px; }

  /* Sections */
  .section { padding: 48px 24px; }
  .section-full { padding: 48px 24px; }

  /* CTA */
  .cta-section { padding: 48px 24px; }
  .cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-section h2 { font-size: 30px; }

  /* Footer */
  .footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
  .flinks { flex-wrap: wrap; justify-content: center; }

  /* Grids → 2 колонки */
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }

  /* Скрыть фото "Обо мне" на планшете и мобильном */
  .about-photo-wrap { display: none; }
  .about-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════
   АДАПТИВНОСТЬ — МОБИЛЬНЫЙ (до 480px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* Шрифты */
  .title { font-size: 24px; letter-spacing: -0.3px; }
  .subtitle { font-size: 14px; margin-bottom: 24px; }

  /* Page hero */
  .page-hero { padding: 32px 16px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 13px; }

  /* Sections */
  .section { padding: 36px 16px; }
  .section-full { padding: 36px 16px; }

  /* CTA */
  .cta-section { padding: 36px 16px; }
  .cta-section h2 { font-size: 24px; }
  .cta-section p { font-size: 14px; }
  .cta-form input { padding: 13px 14px; font-size: 14px; }
  .cta-form button { padding: 13px; font-size: 14px; }

  /* Buttons */
  .btn-red, .btn-navy, .btn-outline { padding: 12px 20px; font-size: 13px; }

  /* Grids → 1 колонка */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding: 24px 16px; gap: 12px; }
  .footer p { font-size: 11px; }
  .flinks { gap: 12px; }
  .flinks a { font-size: 12px; }

  /* Label */
  .label { font-size: 10px; }
}
