/* =========================================================================
   ШАХМАТЫ БЕЗ ЗЕВКОВ — лендинг онлайн-тренера по шахматам
   Премиальная «шахматная» эстетика: глубокий хвойно-зелёный + латунь/золото
   ========================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Палитра */
  --green-900: #0d2420;   /* почти чёрный хвойный */
  --green-800: #123430;
  --green-700: #17433d;
  --green-600: #1d544c;   /* основной акцент-фон */
  --green-500: #237d6f;   /* кнопки / акцент */
  --green-400: #2f9a87;
  --cream-50:  #f6f4ee;   /* светлый фон секций */
  --cream-100: #efece3;
  --paper:     #ffffff;
  --ink-900:   #14201d;   /* основной текст на светлом */
  --ink-700:   #34423e;
  --ink-500:   #5d6a66;   /* приглушённый текст */
  --gold-500:  #c8a558;   /* латунь / золото — акцент */
  --gold-400:  #d9bd7e;
  --line:      #e2ddd1;   /* границы на светлом */
  --line-dark: rgba(255,255,255,.14);

  /* Текст на тёмном */
  --on-dark:        #f3f1ea;
  --on-dark-muted:  #b9c7c2;

  /* Типографика */
  --font-display: "PT Serif", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Размерная шкала (clamp = адаптивно) */
  --text-hero:  clamp(2.4rem, 6vw, 4.2rem);
  --text-h2:    clamp(1.9rem, 4vw, 3rem);
  --text-h3:    clamp(1.15rem, 2vw, 1.45rem);
  --text-lead:  clamp(1.05rem, 1.6vw, 1.3rem);
  --text-base:  1.0625rem;
  --text-sm:    0.9375rem;
  --text-xs:    0.8125rem;

  /* Радиусы и тени */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(13,36,32,.06);
  --shadow-md: 0 12px 32px rgba(13,36,32,.10);
  --shadow-lg: 0 24px 60px rgba(13,36,32,.16);

  /* Сетка / ритм */
  --maxw: 1140px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --section-y: clamp(4rem, 8vw, 7rem);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--section-y); }
.section--light { background: var(--cream-50); }
.section--paper { background: var(--paper); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: .9rem;
}
.section-title { font-size: var(--text-h2); margin-bottom: .6rem; }
.section-intro { color: var(--ink-500); font-size: var(--text-lead); max-width: 60ch; margin-bottom: 2.6rem; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: var(--text-base);
  padding: .95rem 1.8rem; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-500); color: #fff; box-shadow: 0 8px 20px rgba(35,125,111,.35); }
.btn--primary:hover { background: var(--green-400); box-shadow: 0 12px 26px rgba(35,125,111,.45); transform: translateY(-2px); }
.btn--gold { background: var(--gold-500); color: var(--green-900); box-shadow: 0 8px 20px rgba(200,165,88,.35); }
.btn--gold:hover { background: var(--gold-400); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--on-dark); border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { background: transparent; color: var(--green-700); border: 1.5px solid var(--green-500); }
.btn--outline:hover { background: var(--green-500); color: #fff; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: var(--text-lead); }
.btn--block { width: 100%; }

/* контактные кнопки — единый сдержанный стиль вместо разноцветных мессенджеров */
.contact-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn--contact {
  background: var(--green-800); color: var(--on-dark);
  border: 1px solid var(--line-dark);
  padding: .8rem 1.3rem; font-size: var(--text-sm);
}
.btn--contact:hover { background: var(--green-700); transform: translateY(-2px); }
.btn--contact svg { width: 18px; height: 18px; }
.btn--contact.on-light { background: var(--cream-100); color: var(--green-800); border-color: var(--line); }
.btn--contact.on-light:hover { background: #e6e1d4; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,244,238,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { width: 38px; height: 38px; flex: none; color: var(--green-700); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; color: var(--ink-900); }
.brand__sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--text-xs); color: var(--ink-500); }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { font-size: var(--text-sm); font-weight: 500; color: var(--ink-700); transition: color .15s; }
.nav a:hover { color: var(--green-600); }
.header-cta { display: inline-flex; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; color: var(--on-dark); overflow: hidden; background: var(--green-900); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,36,32,.94) 0%, rgba(13,36,32,.82) 42%, rgba(13,36,32,.55) 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); border: 1px solid var(--line-dark);
  padding: .5rem 1rem; border-radius: var(--r-pill);
  font-size: var(--text-sm); color: var(--on-dark); margin-bottom: 1.6rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); flex:none; }
.hero h1 { font-size: var(--text-hero); margin-bottom: 1.2rem; letter-spacing: -.01em; }
.hero h1 .accent { color: var(--gold-400); }
.hero__lead { font-size: var(--text-lead); color: var(--on-dark); margin-bottom: 1.1rem; max-width: 46ch; }
.hero__sub { color: var(--on-dark-muted); margin-bottom: 2rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__stats .chip {
  background: rgba(255,255,255,.08); border: 1px solid var(--line-dark);
  padding: .45rem 1rem; border-radius: var(--r-pill); font-size: var(--text-sm);
}
.hero__stats .chip b { color: var(--gold-400); }

/* карточка «что получите» */
.hero__card {
  background: var(--paper); color: var(--ink-900);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lg);
}
.hero__card h2 { font-size: var(--text-h3); margin-bottom: 1.3rem; }
.hero__card ul { display: grid; gap: 1rem; }
.hero__card li { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; }
.hero__card .check { color: var(--green-500); margin-top: 2px; flex: none; }
.hero__card .note { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: var(--text-sm); color: var(--ink-500); }

/* ---------- 7. Stats band ---------- */
.stats-band { background: var(--cream-50); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.stat-card .num { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; color: var(--green-700); line-height: 1; }
.stat-card .num small { color: var(--gold-500); }
.stat-card .lbl { color: var(--ink-500); font-size: var(--text-sm); margin-top: .5rem; }

/* ---------- 8. Pain cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.pain-card { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold-500); border-radius: var(--r-md); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.pain-card h3 { font-size: var(--text-h3); margin-bottom: .6rem; color: var(--ink-900); }
.pain-card p { color: var(--ink-500); font-size: var(--text-sm); }

/* ---------- 9. Method (dark) ---------- */
.method { position: relative; color: var(--on-dark); background: var(--green-800); overflow: hidden; }
.method__bg { position: absolute; inset: 0; z-index: 0; }
.method__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.method__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(18,52,48,.85), rgba(13,36,32,.94)); }
.method .container { position: relative; z-index: 1; }
.method .eyebrow { color: var(--gold-400); }
.method .section-title { color: #fff; }
.method .section-intro { color: var(--on-dark-muted); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); margin-top: 2.4rem; }
.step { position: relative; padding-top: 1rem; }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-500); color: var(--green-900); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 1rem; }
.step h3 { color: #fff; font-size: var(--text-h3); margin-bottom: .5rem; }
.step p { color: var(--on-dark-muted); font-size: var(--text-sm); }

/* ---------- 10. About trainer ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: stretch; }
.about-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.8rem,3vw,2.6rem); box-shadow: var(--shadow-md); }
.about-card .quote { font-family: var(--font-display); font-style: italic; font-size: var(--text-lead); color: var(--green-700); border-left: 3px solid var(--gold-500); padding-left: 1.1rem; margin-bottom: 1.6rem; }
.about-card .name { font-weight: 700; color: var(--ink-900); margin-bottom: .2rem; }
.about-card .role { color: var(--ink-500); font-size: var(--text-sm); margin-bottom: 1.4rem; }
.about-list { display: grid; gap: .85rem; }
.about-list li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; color: var(--ink-700); font-size: var(--text-sm); }
.about-list .check { color: var(--green-500); margin-top: 2px; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; min-height: 320px; background: var(--green-800); }
.about-photo img { width:100%; height:100%; object-fit: cover; }

/* ---------- 11. Audience (dark slim) ---------- */
.audience { background: var(--green-700); color: var(--on-dark); }
.audience .eyebrow { color: var(--gold-400); }
.audience .section-title { color: #fff; }
.aud-list { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); margin-top: 1.8rem; }
.aud-item { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 1.5rem; }
.aud-item .ic { color: var(--gold-400); margin-bottom: .8rem; }
.aud-item h3 { color: #fff; font-size: 1.1rem; margin-bottom: .4rem; }
.aud-item p { color: var(--on-dark-muted); font-size: var(--text-sm); }

/* ---------- 12. Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.testi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testi__head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green-600); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; flex: none; }
.testi__name { font-weight: 700; color: var(--ink-900); font-size: var(--text-sm); }
.testi__meta { color: var(--ink-500); font-size: var(--text-xs); }
.testi__stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: .7rem; font-size: .9rem; }
.testi__text { color: var(--ink-700); font-size: var(--text-sm); flex: 1; }
.testi__result { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--green-700); font-weight: 600; font-size: var(--text-sm); }

/* ---------- 13. Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); align-items: stretch; }
.price {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.9rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  position: relative;
}
.price--featured { border: 2px solid var(--gold-500); box-shadow: var(--shadow-md); }
.price__tag { position: absolute; top: -14px; left: 1.9rem; background: var(--gold-500); color: var(--green-900); font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .9rem; border-radius: var(--r-pill); }
.price h3 { font-size: var(--text-h3); color: var(--ink-900); margin-bottom: .4rem; }
.price__desc { color: var(--ink-500); font-size: var(--text-sm); margin-bottom: 1.1rem; min-height: 3em; }
.price__amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem,3vw,2.2rem); color: var(--green-700); margin-bottom: 1.2rem; line-height: 1; }
.price__amount.muted { color: var(--ink-500); font-size: clamp(1.3rem,2.4vw,1.6rem); }
.price ul { display: grid; gap: .7rem; margin-bottom: 1.6rem; flex: 1; }
.price li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; align-items: start; color: var(--ink-700); font-size: var(--text-sm); }
.price li .check { color: var(--green-500); margin-top: 2px; }

.help-banner { margin-top: 2rem; background: var(--green-700); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(1.6rem,3vw,2.2rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.3rem; }
.help-banner h3 { color: #fff; font-size: var(--text-h3); margin-bottom: .4rem; }
.help-banner p { color: var(--on-dark-muted); font-size: var(--text-sm); max-width: 52ch; }

/* ---------- 14. FAQ ---------- */
.faq-list { display: grid; gap: .9rem; max-width: 880px; margin-inline: auto; }
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; background: transparent; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink-900); }
.faq__q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cream-100); color: var(--green-700); display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s, background .2s; }
.faq[open] .faq__q .pm, .faq.open .faq__q .pm { transform: rotate(45deg); background: var(--green-500); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq.open .faq__a { max-height: 320px; }
.faq__a p { padding: 0 1.5rem 1.4rem; color: var(--ink-500); font-size: var(--text-sm); }

/* ---------- 15. Final CTA / form ---------- */
.cta { background: var(--green-900); color: var(--on-dark); position: relative; overflow: hidden; }
.cta::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 80% at 80% 0%, rgba(35,125,111,.35), transparent 60%); }
.cta .container { position: relative; z-index: 1; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.cta__copy .eyebrow { color: var(--gold-400); }
.cta__copy h2 { color: #fff; font-size: var(--text-h2); margin-bottom: 1rem; }
.cta__copy p { color: var(--on-dark-muted); margin-bottom: 1.8rem; max-width: 46ch; }
.cta__trust { display: grid; gap: .8rem; margin-top: 1.6rem; }
.cta__trust li { display: flex; align-items: center; gap: .7rem; color: var(--on-dark); font-size: var(--text-sm); }
.cta__trust .check { color: var(--gold-400); }
.cta__contacts { margin-top: 2rem; }
.cta__contacts .lbl { color: var(--on-dark-muted); font-size: var(--text-sm); margin-bottom: .7rem; }

/* форма */
.form-card { background: var(--paper); color: var(--ink-900); border-radius: var(--r-lg); padding: clamp(1.7rem,3vw,2.4rem); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: var(--text-h3); margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: var(--text-sm); margin-bottom: .45rem; color: var(--ink-900); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: var(--text-base); color: var(--ink-900);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--cream-50);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(35,125,111,.15); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0492f; box-shadow: 0 0 0 3px rgba(192,73,47,.12); }
.field__err { color: #c0492f; font-size: var(--text-xs); margin-top: .35rem; display: none; }
.field.invalid .field__err { display: block; }
.form-promise { margin-top: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--ink-500); }
.form-promise a { color: var(--green-600); text-decoration: underline; }
.form-divider { margin: 1.5rem 0 1rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.form-divider .lbl { font-weight: 600; font-size: var(--text-sm); margin-bottom: .8rem; color: var(--ink-700); }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: var(--text-sm); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e6f4ef; color: #155d4a; border: 1px solid #b7e0d2; }
.form-status.err { background: #fbeae6; color: #8c3320; border: 1px solid #f2c9bd; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--green-900); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.8rem; }
.site-footer .copy { color: var(--on-dark); font-size: var(--text-sm); }
.site-footer .meta { font-size: var(--text-xs); }
.to-top { color: var(--on-dark); font-size: var(--text-sm); border: 1px solid var(--line-dark); padding: .5rem 1.1rem; border-radius: var(--r-pill); transition: background .15s; }
.to-top:hover { background: rgba(255,255,255,.08); }

/* ---------- 17. Mobile sticky CTA ---------- */
.mobile-cta { display: none; }

/* ---------- 18. Burger ---------- */
.burger { display: none; width: 44px; height: 44px; background: transparent; border-radius: var(--r-sm); position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink-900); transition: .25s; }
.burger span:nth-child(1){ top: 15px; } .burger span:nth-child(2){ top: 21px; } .burger span:nth-child(3){ top: 27px; }
.burger.open span:nth-child(1){ top:21px; transform: rotate(45deg);} 
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ top:21px; transform: rotate(-45deg);} 

/* ---------- 19. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } html{scroll-behavior:auto;} }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { margin-top: .5rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); row-gap: 2rem; }
  .cards-3, .testi-grid, .price-grid, .aud-list { grid-template-columns: 1fr 1fr; }
  .about-grid, .cta-grid { grid-template-columns: 1fr; }
  .about-photo { min-height: 280px; order: -1; }
}

@media (max-width: 720px) {
  :root { --section-y: clamp(3rem, 9vw, 4.5rem); }
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: block; }
  /* мобильное меню */
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream-50); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: .9rem .4rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav.open .btn { margin-top: .8rem; }

  .stats-grid, .cards-3, .steps, .testi-grid, .price-grid, .aud-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero__actions .btn { width: 100%; }
  .help-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .help-banner .btn { width: 100%; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }

  /* липкая нижняя кнопка на мобильном */
  .mobile-cta {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(13,36,32,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line-dark);
  }
  .mobile-cta .btn { flex: 1; padding: .9rem 1rem; }
  .mobile-cta .btn--icon { flex: 0 0 52px; }
  body { padding-bottom: 78px; }
}

/* ---------- TRAINER SECTION ---------- */
.trainer-section .section-intro { margin-bottom: 2rem; }

.trainer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.trainer-card__body {
  flex: 1 1 320px;
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
}

.trainer-card__icon {
  flex: none;
  color: var(--green-600);
  padding-top: .2rem;
}

.trainer-card__text h3 {
  font-size: var(--text-h3);
  color: var(--ink-900);
  margin-bottom: 1.1rem;
}

.trainer-features {
  display: grid;
  gap: .75rem;
}

.trainer-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--ink-700);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.trainer-features li svg {
  flex: none;
  margin-top: 2px;
  color: var(--green-500);
}

.trainer-card__cta {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.trainer-card__note {
  font-size: var(--text-sm);
  color: var(--ink-500);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .trainer-card { flex-direction: column; }
  .trainer-card__body { flex-direction: column; gap: 1rem; }
  .trainer-card__cta { width: 100%; }
  .trainer-card__cta .btn { width: 100%; text-align: center; }
}
