/* ===== База: сброс, типографика, кнопки, общие элементы ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; border-radius: 6px; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 128px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.eyebrow--light { color: rgba(255, 255, 255, .75); }
.eyebrow--light::before { background: var(--butter); }

.h2 {
  font: 700 clamp(30px, 4vw, 52px)/1.08 var(--f-body);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h2--light { color: #fff; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2); }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head .eyebrow { width: 100%; margin-bottom: 0; }
.section__head .h2 { flex: 1 1 520px; }
.link-more { font-weight: 600; color: var(--brand); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-more:hover span { transform: translateX(4px); }
.link-more span { transition: transform .2s; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  font: 600 16px/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -12px rgba(100, 93, 171, .8); }
.btn--primary:hover { background: var(--brand-600); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(255, 255, 255, .7); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--accent { background: var(--butter); color: var(--brand-900); }
.btn--accent:hover { background: #ffdd7a; }
.btn--light { background: #fff; color: var(--brand-800); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1.3;
}
.chip svg { width: 18px; height: 18px; flex: none; }
.chip--award { background: #fff; color: var(--brand-800); box-shadow: var(--shadow-sm); }
.chip--award svg { fill: #F5B82E; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-size: 20px; line-height: 1; transition: background .2s, color .2s, border-color .2s;
}
.round-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.slider-nav { display: flex; gap: 10px; }
.slider-nav--light .round-btn { background: transparent; color: #fff; border-color: var(--line-light); }
.slider-nav--light .round-btn:hover { background: #fff; color: var(--brand-800); }

/* ===== Появление блоков ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Нижняя панель на телефоне ===== */
.mob-bar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .mob-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
}
