/* ============ ТОКЕНЫ (из ТЗ, раздел 2 «Дизайн») ============ */
:root {
  --c-main: #008f8b;
  --c-main-hover: #007a77;
  --c-main-15: rgba(0, 143, 139, 0.15);
  --c-main-10: rgba(0, 143, 139, 0.1);
  --c-light: #e8f5f4;
  --c-text: #1f2a2e;
  --c-muted: #5b6b70;
  --c-accent: #f28c28;
  --c-accent-hover: #dd7a1c;
  --c-strike: #9aa5a8;
  --c-white: #fff;
  --c-border: #d4e3e2;
  --c-error: #d2423a;

  --ff: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-body: 16px;
  --lh-body: 1.5;

  --r-btn: 12px;
  --r-card: 16px;
  --r-pill: 999px;
  --btn-h: 56px;
  --header-h: 60px;
  --mobile-bar-h: 64px;

  --container: 1200px;
  --gutter: 16px;

  --shadow-card: 0 8px 24px rgba(31, 42, 46, 0.08);
  --shadow-float: 0 12px 32px rgba(31, 42, 46, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 1024px) {
  :root {
    --header-h: 76px;
    --gutter: 24px;
    --fs-body: 18px;
  }
}

/* ============ СБРОС ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-white);
  padding-top: var(--header-h);
  padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--c-main);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--c-main-hover);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
}

/* ============ ТИПОГРАФИКА ============ */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: 30px;
  line-height: 36px;
}

h2 {
  font-size: 28px;
  line-height: 34px;
}

h3 {
  font-size: 20px;
  line-height: 26px;
}

@media (min-width: 1024px) {
  h1 {
    font-size: 44px;
    line-height: 52px;
  }
  h2 {
    font-size: 36px;
    line-height: 44px;
  }
  h3 {
    font-size: 22px;
    line-height: 28px;
  }
}

.eyebrow {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-main);
}

.legal-note {
  font-size: 13px;
  line-height: 18px;
  color: var(--c-muted);
  text-align: center;
}

.legal-note--center {
  text-align: center;
  margin-top: 24px;
}

.legal-note__contra {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ============ СЕТКА ============ */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: 56px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 88px 0;
  }
}

.section--light {
  background: var(--c-light);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section__head p {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 17px;
  line-height: 26px;
}

@media (min-width: 1024px) {
  .section__head {
    margin-bottom: 44px;
  }
  .section__head p {
    font-size: 19px;
    line-height: 28px;
  }
}

.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ============ ИКОНКИ ============ */
.ico {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--check {
  color: var(--c-main);
}

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 28px;
  border-radius: var(--r-btn);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.btn--primary {
  background: var(--c-main);
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(0, 143, 139, 0.28);
}

.btn--primary:hover {
  background: var(--c-main-hover);
  color: var(--c-white);
}

.btn--accent {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(242, 140, 40, 0.3);
}

.btn--accent:hover {
  background: var(--c-accent-hover);
  color: var(--c-white);
}

.btn--outline {
  background: var(--c-white);
  color: var(--c-main);
  border-color: var(--c-main);
}

.btn--outline:hover {
  background: var(--c-light);
  color: var(--c-main-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--c-muted);
}

.btn--ghost:hover {
  background: var(--c-light);
  color: var(--c-text);
}

.btn--lg {
  font-size: 17px;
  padding: 0 32px;
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

/* ============ БЕЙДЖИ ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge--promo {
  background: var(--c-light);
  color: var(--c-main);
}

.badge--accent {
  background: var(--c-accent);
  color: var(--c-white);
}

.badge--award {
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: var(--shadow-card);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  padding: 8px 14px;
  white-space: normal;
}

.badge--award .ico {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
  fill: var(--c-accent);
}

/* ============ УТИЛИТЫ ============ */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--c-white);
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-float);
}

.skip-link:focus {
  top: calc(var(--header-h) + 8px);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

[hidden] {
  display: none !important;
}
