/* ============================================
   АСЯ ДРОЗДОВА — КОУЧ ДЛЯ МАМ В ЭМИГРАЦИИ
   style.css
   ============================================ */

/* Bebas Neue — визуальный fallback для Benzin, подключается сразу */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&display=swap');

/*
  BENZIN BOLD — основной шрифт для заголовков.
  Скачайте файлы шрифта и положите в папку /fonts/:
    fonts/Benzin-Bold.woff2
    fonts/Benzin-Bold.woff
  Скачать: https://www.paratype.ru/fonts/pt/benzin
*/
@font-face {
  font-family: 'Benzin';
  src: url('../fonts/Benzin-Bold.woff2') format('woff2'),
       url('../fonts/Benzin-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* — Variables — */
:root {
  --white:       #FFFFFF;

  --blue-900:    #1E4D63;
  --blue-700:    #2E6D8A;
  --blue-500:    #4E8FA8;
  --blue-300:    #89BDD0;
  --blue-100:    #C2DCE9;
  --blue-50:     #E6F2F8;

  --beige-700:   #B89060;
  --beige-500:   #CDA97A;
  --beige-200:   #E8D5B4;
  --beige-100:   #F2E8D6;
  --beige-50:    #FAF5EC;

  --gray-900:    #1A2330;
  --gray-700:    #2D3748;
  --gray-500:    #4A5568;
  --gray-400:    #718096;
  --gray-200:    #DDE3EA;
  --gray-100:    #F0F4F7;

  --heading: 'Benzin', 'Bebas Neue', Impact, sans-serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w:   1120px;
  --radius:  18px;
  --radius-sm: 10px;
  --shadow:  0 4px 28px rgba(30, 77, 99, 0.08);
  --shadow-hover: 0 10px 48px rgba(30, 77, 99, 0.14);
  --ease:    all 0.24s ease;
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* — Typography — */
h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--gray-900);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--gray-500); line-height: 1.78; }

/* — Layout — */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 28px; }
.section--blue  { background: var(--blue-50); }
.section--beige { background: var(--beige-50); }
.section--gray  { background: var(--gray-100); }
.section--dark  { background: var(--gray-900); }

/* — Tag / Badge — */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.tag--beige { color: var(--beige-700); background: var(--beige-50); border-color: var(--beige-200); }
.tag--gray  { color: var(--gray-500);  background: var(--gray-100); border-color: var(--gray-200); }

/* — Section intro — */
.section__intro { max-width: 600px; margin-bottom: 60px; }
.section__intro h2 { margin-bottom: 14px; }
.section__intro p  { font-size: 1.05rem; }

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue-900);
  color: var(--white);
}
.btn--primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline {
  background: transparent;
  color: var(--blue-900);
  border: 1.5px solid var(--blue-100);
}
.btn--outline:hover { background: var(--blue-50); border-color: var(--blue-300); }
.btn--beige {
  background: var(--beige-50);
  color: var(--gray-700);
  border: 1.5px solid var(--beige-200);
}
.btn--beige:hover { background: var(--beige-100); }
.btn--large { padding: 16px 36px; font-size: 0.95rem; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: var(--ease);
}
.nav__links a:hover { color: var(--blue-900); }
.nav__links .btn { margin-left: 4px; }

/* ============================================
   HERO — INDEX
   ============================================ */
.hero {
  padding: 88px 28px 80px;
  background: var(--white);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.hero__meta-item {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__meta-item:not(:last-child)::after {
  content: '·';
  color: var(--blue-100);
  margin-left: 6px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--blue-500); }
.hero__sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 40px;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__visual { position: relative; }
.hero__photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--beige-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__photo-placeholder {
  font-family: var(--heading);
  font-style: italic;
  color: var(--blue-300);
  font-size: 1rem;
  text-align: center;
  padding: 32px;
  line-height: 1.7;
}
.hero__stat {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow);
}
.hero__stat strong {
  display: block;
  font-family: var(--heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--gray-900);
}
.hero__stat span { font-size: 0.78rem; color: var(--gray-400); margin-top: 2px; display: block; }

/* ============================================
   WHO SECTION
   ============================================ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.who-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--ease);
}
.who-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.who-card__icon { font-size: 1.7rem; margin-bottom: 16px; }
.who-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.who-card p { font-size: 0.9rem; }

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--ease);
}
.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-100);
  transition: var(--ease);
}
.product-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-hover); }
.product-card:hover::after { background: var(--blue-500); }
.product-card h3 { margin: 8px 0 12px; font-size: 1.3rem; }
.product-card p { flex: 1; font-size: 0.9rem; margin-bottom: 24px; }
.product-card__price {
  font-family: var(--heading);
  font-size: 1.8rem;
  color: var(--blue-900);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.product-card__price del {
  font-size: 1.1rem;
  color: var(--gray-400);
  font-weight: 400;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

/* ============================================
   STORY
   ============================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.story-text h2 { margin-bottom: 24px; }
.story-text p  { margin-bottom: 16px; }
.timeline { display: flex; flex-direction: column; }
.timeline__item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}
.timeline__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 33px;
  bottom: 0;
  width: 1px;
  background: var(--blue-100);
}
.timeline__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 2px solid var(--blue-100);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-500);
}
.timeline__body h4 { font-family: var(--heading); font-size: 1.1rem; margin-bottom: 3px; }
.timeline__body p  { font-size: 0.86rem; color: var(--gray-400); }

/* ============================================
   VALUES
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  padding: 28px 24px;
  border-left: 3px solid var(--blue-100);
  transition: var(--ease);
}
.value-card:hover { border-color: var(--blue-500); }
.value-card h4 { font-family: var(--heading); font-size: 1.3rem; margin-bottom: 8px; }
.value-card p  { font-size: 0.88rem; }

/* ============================================
   EDUCATION
   ============================================ */
.edu-list { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.edu-item {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--ease);
}
.edu-item:hover { border-color: var(--blue-100); }
.edu-year {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-500);
  padding-top: 2px;
  min-width: 40px;
  white-space: nowrap;
}
.edu-body h4 { font-family: var(--body); font-size: 0.92rem; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.edu-body p  { font-size: 0.84rem; }

/* ============================================
   FORM
   ============================================ */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.span2 { grid-column: span 2; }
.form-label { font-size: 0.8rem; font-weight: 500; color: var(--gray-500); }
.form-input,
.form-select,
.form-textarea {
  font-size: 0.92rem;
  color: var(--gray-700);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--ease);
  outline: none;
  width: 100%;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-50); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; justify-content: center; margin-top: 20px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 56px 28px 32px;
}
.footer__inner { max-width: var(--max-w); margin: 0 auto; }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer__logo {
  font-family: var(--heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer__sub { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer__links { display: flex; flex-direction: column; gap: 6px; }
.footer__links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__links a:hover { color: var(--white); }
.footer__socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 100px;
  transition: var(--ease);
}
.footer__link:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ============================================
   PAGE HERO (product pages)
   ============================================ */
.page-hero {
  padding: 72px 28px 64px;
  background: var(--blue-50);
  border-bottom: 1px solid var(--blue-100);
}
.page-hero__inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 32px;
  transition: var(--ease);
}
.page-hero__back:hover { color: var(--blue-900); }
.page-hero h1 { max-width: 760px; margin-bottom: 18px; }
.page-hero__lead { font-size: 1.1rem; color: var(--gray-500); max-width: 620px; margin-bottom: 36px; }
.page-hero__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.page-hero__tag {
  font-size: 0.8rem;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ============================================
   PRODUCT DETAIL LAYOUT
   ============================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.detail-main h3 { margin-bottom: 20px; }
.detail-main h3:not(:first-child) { margin-top: 48px; }

/* Request list */
.request-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 48px; }
.request-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: var(--ease);
}
.request-list li:hover { border-color: var(--blue-100); background: var(--white); }
.request-list li::before {
  content: '→';
  color: var(--blue-500);
  font-weight: 600;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 1px;
}

/* Rules list */
.rules-list { display: flex; flex-direction: column; gap: 10px; }
.rules-list li {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-500);
  padding: 4px 0;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 12px;
}
.rules-list li:last-child { border-bottom: none; }
.rules-list li::before { content: '✓'; color: var(--blue-500); font-weight: 700; flex-shrink: 0; }

/* Sidebar */
.sidebar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: sticky;
  top: 84px;
  box-shadow: var(--shadow);
}
.sidebar h3 { font-size: 1.5rem; margin-bottom: 20px; }
.sidebar-details { margin-bottom: 24px; }
.sidebar-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.85rem;
}
.sidebar-detail:last-child { border-bottom: none; }
.sidebar-detail__label { color: var(--gray-400); }
.sidebar-detail__val   { font-weight: 500; color: var(--gray-700); }
.sidebar-price {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.sidebar-price__amount {
  font-family: var(--heading);
  font-size: 2.6rem;
  color: var(--blue-900);
  display: block;
  line-height: 1;
}
.sidebar-price__del {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-bottom: 4px;
  display: block;
}
.sidebar-price__note { font-size: 0.78rem; color: var(--gray-400); margin-top: 6px; display: block; }
.sidebar-promo {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.82rem;
  color: #92400E;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#days-left { font-weight: 700; }
.sidebar-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Webinar coming soon */
.coming-soon {
  text-align: center;
  padding: 60px 28px;
  max-width: 560px;
  margin: 0 auto;
}
.coming-soon h2 { margin-bottom: 16px; }
.coming-soon p  { margin-bottom: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .who-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer__top { flex-direction: column; gap: 28px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .products-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.span2 { grid-column: span 1; }
  .values-grid { grid-template-columns: 1fr; }
  .nav__links a:not(.btn) { display: none; }
  .page-hero { padding: 56px 20px 48px; }
}

/* ── ВЕБИНАР-БАННЕР ─────────────────────────── */
.webinar-banner {
  background: linear-gradient(90deg, #1A2330 0%, #2E6D8A 100%);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.webinar-banner__text {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.webinar-banner__text strong { color: #fff; }
.webinar-banner .btn {
  background: #fff;
  color: #1A2330;
  font-size: 0.82rem;
  padding: 10px 22px;
  white-space: nowrap;
}
.webinar-banner .btn:hover { background: #f5f0e8; }
@media (max-width: 640px) {
  .webinar-banner { flex-direction: column; text-align: center; gap: 12px; }
}

/* ── SCROLL PROGRESS + BACK TO TOP ─────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 2000;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: #2E6D8A;
  transition: width 0.1s linear;
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 32px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1.5px solid #DDE3EA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
  z-index: 1000;
}
.back-to-top--visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.15); border-color: #89BDD0; }
