/* Be More Russian — направление «Soft Blush».
   Вёрстка только мобильная: контейнер не тянется шире 600px,
   на широких экранах просто центрируется. */

:root {
  --accent: #D4547E;
  --accent-dark: #AE3A61;
  --blush: #FBEDF1;
  --blush-deep: #F0E4E8;
  --surface: #F7F6F8;
  --surface-2: #EDEAF0;
  --line: #EAE7EE;
  --line-soft: #EDEAF0;
  --ink: #33303A;
  --ink-2: #5C5666;
  --ink-3: #6E6878;
  --ink-4: #8B8496;

  --shell: 600px;
  --pad: 20px;      /* поля текстовых секций */
  --pad-card: 12px; /* поля секций-карточек */
  --r-section: 28px;
  --r-card: 24px;
  --r-small: 18px;

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #EFEDF1; /* поле вокруг контейнера на широких экранах */
  -webkit-font-smoothing: antialiased;
}

/* Контейнер: дальше 600px не растёт */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  background: #FFFFFF;
  min-height: 100vh;
  padding-bottom: 96px; /* место под липкую панель */
}

@media (min-width: 620px) {
  .shell { box-shadow: 0 0 60px rgba(51, 48, 58, 0.08); }
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon--accent { width: 26px; height: 26px; color: var(--accent); }

/* --- Шапка --- */
.header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 12px var(--pad);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.brand__dot { width: 26px; height: 26px; border-radius: 999px; background: var(--accent); }
.brand__name { font-family: var(--serif); font-size: 18px; letter-spacing: -0.005em; }
.header__cta {
  background: var(--accent); color: #FFFFFF; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; min-height: 44px;
  display: inline-flex; align-items: center;
}
.header__cta:hover { background: var(--accent-dark); color: #FFFFFF; }

/* --- Кнопки --- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 16px 24px; border-radius: 999px;
  font-size: 17px; font-weight: 700; text-align: center;
}
.btn + .btn { margin-top: 10px; }
.btn--primary { background: var(--accent); color: #FFFFFF; }
.btn--primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn--white { background: #FFFFFF; color: var(--ink); font-size: 16px; }
.btn--white:hover { color: var(--ink); background: #F4F1F5; }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); font-size: 16px; }
.btn--outline:hover { color: #FFFFFF; background: var(--ink); }

/* --- Первый экран --- */
.hero {
  margin: 10px var(--pad-card) 0;
  background: var(--blush);
  border-radius: var(--r-section);
  padding: 30px 22px 26px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF; color: var(--accent);
  padding: 8px 15px 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
}
.badge svg { width: 15px; height: 15px; stroke-width: 2; }
.hero h1 { font-size: 41px; line-height: 1.06; letter-spacing: -0.01em; margin-top: 18px; }
.hero__lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin-top: 16px; }
.hero .btn--primary { margin-top: 24px; }
.hero__photo {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%;
  border-radius: 22px; background: var(--blush-deep); margin-top: 24px;
}
.hero__note {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 16px; font-size: 14px; color: #7B7486;
}
.hero__note svg { width: 15px; height: 15px; stroke-width: 2; }

/* --- Секции --- */
.section { padding: 46px var(--pad) 40px; }
.section h2 { font-size: 31px; line-height: 1.12; letter-spacing: -0.005em; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.eyebrow + h2 { margin-top: 9px; }

/* Ценности */
.benefits { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.benefit {
  background: var(--surface); border-radius: 20px; padding: 20px;
  display: flex; gap: 15px; align-items: flex-start;
}
.benefit__icon {
  width: 42px; height: 42px; border-radius: 999px; background: var(--blush);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.benefit__icon svg { width: 21px; height: 21px; }
.benefit h3 { font-size: 19px; }
.benefit p { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin-top: 5px; }

/* --- Об учителе --- */
.teacher {
  margin: 0 var(--pad-card);
  background: var(--surface);
  border-radius: var(--r-section);
  padding: 34px 22px;
}
.teacher__photo {
  display: block; width: 132px; height: 132px; object-fit: cover;
  border-radius: 999px; background: var(--surface-2);
}
.teacher .eyebrow { margin-top: 22px; }
.teacher h2 { font-size: 30px; line-height: 1.14; margin-top: 9px; }
.teacher p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-top: 12px; }
.teacher h2 + p { margin-top: 15px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.stats li { background: #FFFFFF; border-radius: var(--r-small); padding: 17px 16px; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 27px; color: var(--accent); line-height: 1; }
.stats span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 7px; line-height: 1.4; }

.channel {
  background: #FFFFFF; border-radius: var(--r-small); padding: 16px 18px; margin-top: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--ink);
}
.channel:hover { color: var(--ink); }
.channel__left { display: flex; align-items: center; gap: 12px; }
.channel__left b { display: block; font-size: 15px; font-weight: 700; }
.channel__left small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.channel__btn {
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 11px 18px;
  font-size: 14px; font-weight: 700; white-space: nowrap; min-height: 44px;
  display: inline-flex; align-items: center;
}

/* --- Тарифы --- */
.tabs { display: flex; margin-top: 20px; background: #F0EDF2; border-radius: 999px; padding: 5px; }
.tab {
  flex-grow: 1; border: 0; background: transparent; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 700; color: #7B7486;
  padding: 13px 0; min-height: 44px; border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab.is-active { background: #FFFFFF; color: var(--ink); }

.plans { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.plans[hidden] { display: none; }
.plan { border: 1px solid var(--line); border-radius: var(--r-card); padding: 25px 21px; }
.plan--featured {
  border: 0; background: var(--blush);
  box-shadow: 0 14px 30px rgba(212, 84, 126, 0.14);
}
.plan__tag {
  display: inline-block; background: var(--accent); color: #FFFFFF; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.07em; font-weight: 700; padding: 6px 12px;
  margin-bottom: 12px;
}
.plan h3 { font-size: 24px; }
.plan__desc { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin-top: 7px; }
.plan__price { display: flex; align-items: baseline; gap: 9px; margin-top: 14px; }
.plan__price b { font-family: var(--serif); font-weight: 400; font-size: 45px; line-height: 1; }
.plan__price span { font-size: 14px; color: var(--ink-4); }
.plan__meta { font-size: 14px; color: var(--ink-4); margin-top: 6px; }
.plan .btn { margin-top: 20px; }

/* --- Вопросы --- */
.faq { margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-size: 16px; font-weight: 700; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 18px; height: 18px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B8496' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { font-size: 15px; line-height: 1.55; color: var(--ink-3); padding: 0 28px 18px 0; }

/* --- Финальный призыв --- */
.cta {
  margin: 0 var(--pad-card);
  background: var(--accent); color: #FFFFFF;
  border-radius: var(--r-section); padding: 42px 22px; text-align: center;
}
.cta h2 { font-size: 36px; line-height: 1.1; }
.cta p { font-size: 16px; line-height: 1.55; margin-top: 15px; color: #FAE2EA; }
.cta .btn { margin-top: 24px; color: var(--accent); }
.cta .btn:hover { color: var(--accent-dark); }

/* --- Подвал --- */
.footer { padding: 28px var(--pad) 24px; text-align: center; font-size: 14px; color: var(--ink-4); }
.footer__channel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; color: var(--ink); min-height: 44px;
}
.footer p { margin-top: 4px; }
.footer__telegram a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; font-weight: 700; color: var(--ink);
}
.footer__telegram a:hover { color: var(--accent); }
.footer__copy { margin-top: 8px; }

/* --- Липкая панель --- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line-soft);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.sticky.is-visible { transform: translateY(0); }
.sticky__inner {
  max-width: var(--shell); margin: 0 auto;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
}
.sticky__text { flex-grow: 1; }
.sticky__text b { display: block; font-size: 15px; font-weight: 700; }
.sticky__text small { display: block; font-size: 13px; color: var(--ink-4); }
.sticky__btn {
  background: var(--accent); color: #FFFFFF; border-radius: 999px;
  padding: 15px 24px; font-size: 15px; font-weight: 700; white-space: nowrap;
  min-height: 44px; display: inline-flex; align-items: center;
}
.sticky__btn:hover { background: var(--accent-dark); color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
