:root {
  --bg: #f3f4f2;
  --ink: #1b1e1d;
  --muted: #66706c;
  --line: #d9e0dc;
  --teal: #1c4743;
  --teal-2: #245952;
  --card: #ffffff;
  --max: 1120px;
  --sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
[id] { scroll-margin-top: 88px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -48px; background: var(--teal); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 244, 242, 0.92);
  backdrop-filter: blur(10px);
}
.header__bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 14px;
}
.brand svg { display: block; }
.nav { display: flex; align-items: center; gap: 22px; margin-right: auto; }
.nav a { text-decoration: none; color: #5d6763; font-size: 15px; }
.nav a[aria-current="page"] { color: var(--ink); }
.header__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  min-width: 64px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d5dbd7;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}
.menu-btn {
  display: none;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d5dbd7;
  background: #fff;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #f6f7f4;
  text-decoration: none;
  cursor: pointer;
  font-weight: 650;
  font-size: 15px;
}
.btn--line { background: #fff; color: var(--ink); border-color: #d5dbd7; }
.nav__cta { display: none; }
.btn--wide { min-height: 54px; padding: 0 22px; border-radius: 16px; text-align: left; max-width: 420px; }

.hero { padding: 18px 0 0; }
.hero__top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: end;
}
.hero h1 { font-size: clamp(56px, 7vw, 84px); letter-spacing: -0.045em; line-height: 0.95; font-weight: 750; }
.hero__sub { margin-top: 10px; color: #8b938f; font-size: clamp(22px, 2.4vw, 30px); font-weight: 560; letter-spacing: -0.03em; }
.hero__lead { color: var(--muted); font-size: 15px; max-width: min(42ch, 100%); justify-self: end; min-width: 0; }
.hero__actions { display: flex; justify-content: center; gap: 12px; margin: 26px 0 22px; }

.stage {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 250px;
  gap: 16px;
  align-items: end;
  position: relative;
  z-index: 2;
  margin-bottom: -78px;
}
.photo {
  height: 340px;
  border-radius: 22px;
  overflow: hidden;
  background: #ddd;
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }

.panel {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(24, 40, 36, 0.06);
}
.stat { padding: 16px 16px 14px; }
.stat__top { display: flex; align-items: center; gap: 10px; }
.avatars { display: flex; }
.avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }
.stat__top strong { display: block; font-size: 18px; line-height: 1.1; }
.stat__top span { color: var(--muted); font-size: 13px; }
.stat__big { display: flex; gap: 10px; align-items: flex-end; margin-top: 16px; }
.stat__big b { font-size: 42px; letter-spacing: -0.04em; line-height: 0.9; }
.stat__big span { color: var(--muted); font-size: 13px; max-width: 16ch; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 92px; margin-top: 16px; }
.bars i { display: block; border-radius: 8px 8px 4px 4px; background: #d7e4ea; height: var(--h); }
.bars i:last-child { background: #8fb4c4; }
.bars span { display: block; text-align: center; color: #9aa39f; font-size: 12px; font-style: normal; margin-top: 6px; }
.days { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4px; color: #9aa39f; font-size: 12px; text-align: center; }

.side { display: grid; gap: 12px; }
.langs { padding: 14px 14px 12px; }
.langs p { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: #f3f5f4;
  border: 1px solid #e6ebe8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #3e4a46;
}
.lessons { padding: 16px; }
.lessons h2 { font-size: 22px; letter-spacing: -0.03em; margin-bottom: 12px; }
.tag {
  display: block;
  width: fit-content;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e4e9e6;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(20, 40, 36, 0.04);
}

.band {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  background: var(--teal);
  color: #f4f7f5;
  border-radius: 36px;
  padding: 118px 28px 36px;
}
.band__head {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 26px;
}
.band h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.04em; font-weight: 700; max-width: 18ch; }
.chip {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 0 10px 2px;
  line-height: 1.15;
}
.band__head p { color: #d5e2de; font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feature {
  background: var(--teal-2);
  border-radius: 18px;
  padding: 16px 16px 18px;
  min-height: 230px;
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: #d7e4e0; font-size: 14px; }

.results {
  background-color: #f7f8f6;
  background-image:
    linear-gradient(rgba(190, 200, 196, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 200, 196, 0.45) 1px, transparent 1px);
  background-size: 56px 56px;
  padding: 56px 0 28px;
}
.results__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.papers { position: relative; min-height: 320px; }
.sheet-doc {
  position: absolute;
  width: 230px;
  background: #fffef8;
  border: 1px solid #e4e0d4;
  border-radius: 6px;
  box-shadow: 0 16px 30px rgba(30, 40, 36, 0.12);
  padding: 14px;
  color: #3d4a46;
}
.sheet-doc--a { left: 8px; top: 18px; transform: rotate(-8deg); background: #f7f4df; }
.sheet-doc--b { left: 86px; top: 36px; transform: rotate(4deg); }
.sheet-doc b { display: block; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.sheet-doc span { display: block; margin-top: 8px; font-size: 12px; color: #6d756f; }
.lines { margin-top: 12px; display: grid; gap: 6px; }
.lines i { display: block; height: 6px; border-radius: 99px; background: #ece7da; }
.lines i:nth-child(2) { width: 80%; }
.lines i:nth-child(3) { width: 64%; }
.stamp {
  margin-top: 14px;
  width: 46px;
  height: 46px;
  border: 2px solid #1c4743;
  border-radius: 50%;
  color: #1c4743;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: rotate(-12deg);
}
.puzzle { position: absolute; left: 18px; bottom: 8px; width: 92px; filter: drop-shadow(0 8px 10px rgba(20, 40, 36, 0.15)); }
.results h2 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.04em; margin-bottom: 8px; }
.win { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid #d5ddd8; }
.win:first-of-type { border-top: 0; }
.win b { font-size: 28px; color: #b7c0bb; letter-spacing: -0.04em; }
.win h3 { font-size: 18px; margin-bottom: 4px; }
.win p { color: var(--muted); font-size: 14.5px; }
.results .btn { margin-top: 8px; }

.extra { padding: 10px 0 36px; background: #f7f8f6; }
.extra h2 { font-size: clamp(32px, 4vw, 42px); letter-spacing: -0.04em; margin-bottom: 16px; }
.prices, .quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.price, .quote {
  background: #fff;
  border: 1px solid #e6ebe8;
  border-radius: 18px;
  padding: 18px;
  min-width: 0;
}
.price strong { display: block; font-size: 32px; letter-spacing: -0.04em; margin: 8px 0; }
.price p, .quote p { color: var(--muted); }
.price .btn { margin-top: 14px; }
.quote { margin-top: 0; }
.quotes { margin-top: 28px; }
.quote footer { margin-top: 12px; font-weight: 700; }

.footer { padding: 28px 0 22px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.8fr; gap: 18px; }
.footer h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.footer a { display: block; text-decoration: none; color: var(--muted); padding: 3px 0; }
.footer a:hover, .footer a[aria-current="page"] { color: var(--ink); }
.footer p { color: var(--muted); }
.legal { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

.page { padding: 28px 0 10px; }
.page h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.045em; line-height: 1; max-width: 14ch; }
.kicker { color: var(--teal); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.lead { color: var(--muted); max-width: 62ch; margin-top: 12px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 28px; letter-spacing: -0.03em; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 18px; }
.prose p + p, .prose ul { margin-top: 10px; }
.updated { color: var(--muted); margin-top: 8px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: center; margin-top: 28px; }
.split img { width: 100%; height: 320px; object-fit: cover; border-radius: 18px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 14px; margin-top: 22px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-width: 0; }
.info-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.info-list span { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.map { margin-top: 16px; height: 280px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.form { display: grid; gap: 12px; margin-top: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 650; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #d5dbd7;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 12px;
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #9d1c2b; }
.field-error { color: #9d1c2b; font-size: 14px; margin-top: 4px; }
.field-error:empty { display: none; }
.check { display: flex; gap: 8px; align-items: flex-start; }
.check input { margin-top: 4px; }
.form-status { background: #e7f3ea; color: #14532d; padding: 12px 14px; border-radius: 12px; }
.note { color: var(--muted); margin-top: 6px; }

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    margin: 0;
  }
  .nav.is-open { display: flex; }
  .header__bar { position: relative; }
  .hero__top, .stage, .band__head, .features, .results__grid, .prices, .quotes, .footer__grid, .split, .contact-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .hero__lead { justify-self: start; }
  .stage { margin-bottom: 0; }
  .photo { height: 240px; }
  .band { margin-top: 18px; padding: 28px 16px; border-radius: 24px; }
  .papers { min-height: 280px; }
  .header__tools .btn { display: none; }
  .nav.is-open .nav__cta { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
