/* ============================================================
   Неслова — дизайн-система
   Big idea: «Не слова, а результат». Смело, тепло, доверительно.
   ============================================================ */

:root {
  --ink: #1c1622;
  --ink-2: #423b4e;
  --muted: #6f6879;
  --bg: #ffffff;
  --cream: #fbf5ef;
  --cream-2: #f3e9df;
  --line: #ece3d9;
  --line-2: #e0d6ca;

  --brand: #5b2a86;     /* глубокий фиолет */
  --brand-2: #9b2f7a;
  --accent: #f0533b;    /* коралл — действие */
  --accent-2: #ff7a4d;
  --accent-press: #d63f2a;
  --gold: #f2b33d;      /* доверие/рейтинг */
  --ok: #1f9d6b;

  --hero-grad: linear-gradient(125deg, #2a1140 0%, #5b2a86 44%, #b23a6e 80%, #f0533b 116%);
  --accent-grad: linear-gradient(120deg, #f0533b 0%, #ff7a4d 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(28, 22, 34, .10);
  --shadow-lg: 0 26px 70px rgba(43, 17, 64, .22);
  --container: 1160px;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.6vw, 4.05rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: var(--ink-2); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--cream { background: var(--cream); }
.section--ink { background: #1c1622; color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #cfc6d6; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: #f3e9f6; padding: 7px 14px; border-radius: 100px;
}
.section--ink .eyebrow { color: #ffd9c9; background: rgba(255, 255, 255, .12); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--ink-2); }
.center { text-align: center; }
.measure { max-width: 720px; margin-inline: auto; }
.text-accent { color: var(--accent); }
.text-grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1.02rem; line-height: 1;
  padding: 17px 30px; border-radius: 100px; border: 2px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
  white-space: nowrap; text-align: center;
}
.btn--accent { background: var(--accent-grad); color: #fff; box-shadow: 0 12px 30px rgba(240, 83, 59, .38); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(240, 83, 59, .5); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 12px 20px; font-size: .95rem; }
.btn--lg { padding: 20px 38px; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(28, 22, 34, .08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.35rem; letter-spacing: -.03em; }
.logo__mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-grad); color: #fff; font-size: 1rem; font-weight: 900;
  box-shadow: 0 6px 16px rgba(240, 83, 59, .4); transform: translateY(-1px);
}
.logo--light, .logo--light .logo__text { color: #fff; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; font-size: .98rem; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a:hover { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .2s var(--ease); }
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero-grad); color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 85% 10%, rgba(255, 255, 255, .14), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: clamp(48px, 7vw, 88px) 0; }
.hero h1 { color: #fff; }
.hero h1 .underline { background: linear-gradient(transparent 62%, rgba(240, 83, 59, .55) 0); }
.hero__sub { color: #ead9f2; font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin-top: 22px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: #e3d3ee; font-size: .95rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust span::before { content: "✓"; color: var(--gold); font-weight: 900; }
.hero__card {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(8px);
}
.hero__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: rgba(255,255,255,.06); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 18px; bottom: 18px; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-weight: 700; font-size: .95rem;
}
.hero__badge b { color: var(--accent); }

/* ---------- Полоса цифр ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat__num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.03em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: .98rem; margin-top: 4px; }

/* ---------- Сетки/карточки ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section__head.center { margin-inline: auto; }
.section__head .lead { margin-top: 14px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: #f3e9f6; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 1rem; }

/* боли */
.pain { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.pain::before { content: "“"; font-size: 2rem; line-height: .7; color: var(--accent); font-weight: 900; }

/* выбор трека */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.track {
  position: relative; border-radius: var(--radius); padding: 34px; color: #fff; overflow: hidden;
  min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  transition: transform .25s var(--ease);
}
.track:hover { transform: translateY(-5px); }
.track--w { background: linear-gradient(160deg, rgba(122,46,143,.82), rgba(194,65,122,.78)), url(/assets/img/track-women.png) center/cover; }
.track--m { background: linear-gradient(160deg, rgba(42,35,80,.82), rgba(61,111,176,.72)), url(/assets/img/track-men.png) center/cover; }
.track h3 { color: #fff; font-size: 1.5rem; }
.track p { color: rgba(255, 255, 255, .85); margin: 8px 0 16px; }
.track__link { font-weight: 800; color: #fff; display: inline-flex; gap: 8px; align-items: center; }
.track__link::after { content: "→"; transition: transform .2s var(--ease); }
.track:hover .track__link::after { transform: translateX(5px); }

/* результаты */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checklist li::before { content: "✓"; flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-grad); color: #fff; font-size: .85rem; font-weight: 900; margin-top: 1px; }

/* шаги */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 18px; }
.step__n { font-size: 3rem; font-weight: 900; line-height: 1; color: var(--cream-2); letter-spacing: -.04em; }
.section--ink .step__n { color: rgba(255,255,255,.16); }
.step h3 { margin: 8px 0 6px; }
.step p { font-size: .98rem; }

/* цены */
.price-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card--featured { border-color: var(--accent); box-shadow: var(--shadow-lg); position: relative; }
.price-card--featured::before { content: "Хит"; position: absolute; top: -13px; left: 30px; background: var(--accent-grad); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; }
.price-card h3 { font-size: 1.25rem; }
.price-card .price { font-size: 2.1rem; font-weight: 900; letter-spacing: -.03em; margin: 12px 0 4px; }
.price-card .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price-card .price-note { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.price-card .checklist { margin-bottom: 26px; }
.price-card .checklist li { font-weight: 500; font-size: .98rem; }
.price-card .btn { margin-top: auto; }

/* почему мы */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 1.4rem; }
.section--ink .feature h3 { font-size: 1.2rem; }
.feature p { font-size: 1rem; }

/* отзывы */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.testi__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testi__text { color: var(--ink); font-weight: 500; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--hero-grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.testi__name { font-weight: 700; font-size: .98rem; }
.testi__meta { color: var(--muted); font-size: .88rem; }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.08rem; color: var(--ink); position: relative; }
.faq__q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--accent); transition: transform .25s var(--ease); }
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a p { padding-bottom: 22px; padding-right: 30px; }

/* блог-превью */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16/10; background: var(--cream-2); object-fit: cover; width: 100%; }
.post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__tag { font-size: .8rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.post__body h3 { margin: 8px 0 10px; font-size: 1.15rem; }
.post__body p { font-size: .96rem; flex: 1; }
.post__more { margin-top: 14px; font-weight: 700; color: var(--accent); }

/* CTA + форма */
.cta { background: var(--hero-grad); color: #fff; border-radius: clamp(20px, 4vw, 34px); padding: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; }
.cta p { color: #ead9f2; margin-top: 12px; }
.cta__perks { margin-top: 22px; display: grid; gap: 10px; }
.cta__perks li { display: flex; gap: 10px; color: #f3e7fa; font-weight: 600; }
.cta__perks li::before { content: "✓"; color: var(--gold); font-weight: 900; }

.form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form__row { margin-bottom: 14px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .18s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240, 83, 59, .12); }
.form textarea { min-height: 92px; resize: vertical; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 6px 0 16px; }
.form__consent input { width: auto; margin-top: 3px; }
.form__consent a { color: var(--brand); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { text-align: center; font-size: .84rem; color: var(--muted); margin-top: 12px; }
.form__success { display: none; text-align: center; padding: 30px 10px; }
.form__success.is-on { display: block; }
.form__success .ok { font-size: 3rem; }
.form.is-sent .form__fields { display: none; }

/* ---------- Подвал ---------- */
.site-footer { background: #16121c; color: #cfc6d6; padding: clamp(48px, 6vw, 72px) 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__tagline { color: #b3a9bf; margin: 16px 0; font-size: .98rem; }
.footer__social { color: var(--accent-2); font-weight: 700; }
.footer__col h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col a, .footer__link { display: block; color: #b3a9bf; padding: 5px 0; font-size: .96rem; transition: color .15s; }
.footer__col a:hover, .footer__link:hover { color: #fff; }
.footer__contact .btn { margin-bottom: 14px; }
.footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 12px; }
.footer__legal a { color: #cfc6d6; text-decoration: underline; }
.footer__disclaimer { font-size: .82rem; color: #837a90; max-width: 880px; }
.footer__copy { font-size: .85rem; color: #837a90; }

/* ---------- Reveal-анимации ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* центрированный герой (тематические страницы) */
.hero--center .hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero--center .hero__sub, .hero--center .hero__cta { margin-inline: auto; }
.hero--center .hero__trust { justify-content: center; }

/* читаемый текст (юр.страницы, статьи) */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { margin: 34px 0 12px; }
.prose h3 { margin: 24px 0 8px; font-size: 1.2rem; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose .lead { color: var(--ink); font-weight: 600; }
.page-head { background: var(--cream); padding: clamp(48px, 7vw, 84px) 0 clamp(28px, 4vw, 40px); }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head p { margin-top: 12px; max-width: 720px; }

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; }
  .cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s var(--ease); z-index: 90;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .grid--2, .grid--3, .grid--4, .tracks, .stats, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
