:root {
  --green-800: #115F22;
  --green-700: #17792E;
  --green-600: #1A8A2B;
  --green-500: #4CBF3E;
  --green-200: #C4E9B4;
  --green-100: #DEF4D3;
  --green-50: #F0FAEA;

  --ink: #12241A;
  --ink-2: #3B5340;
  --muted: #718771;
  --line: #E5EFDF;
  --soft: #F5FBF1;

  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --r-xl: 40px;
  --r-pill: 999px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: clamp(40px, 5.4vw, 64px);
  --s-20: clamp(48px, 6.6vw, 80px);
  --s-30: clamp(64px, 9.6vw, 120px);

  --header-h: clamp(58px, 5.2vw, 76px);

  /* fluid type scale */
  --t-h1: clamp(30px, 4vw + 16px, 64px);
  --t-h2: clamp(27px, 2.2vw + 20px, 46px);
  --t-h3: clamp(23px, 1.9vw + 16px, 40px);
  --t-h4: clamp(22px, 1.1vw + 18px, 32px);
  --t-panel: clamp(26px, 2.2vw + 18px, 44px);
  --t-card: clamp(19px, .4vw + 17px, 22px);
  --t-lead: clamp(16px, .35vw + 15px, 19px);

  --gutter: clamp(16px, 4vw, 40px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + var(--s-6));
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  position: relative;
  overflow-x: clip;
  background: #fff;
  color: var(--ink);
  -webkit-tap-highlight-color: rgba(26, 138, 43, .14);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, .hero__title, .head__title, .scrow__title, .panel__title, .cta__title {
  overflow-wrap: break-word;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: max(var(--gutter), var(--safe-l)) max(var(--gutter), var(--safe-r));
}
.wrap--narrow { max-width: 900px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 var(--s-6);
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  max-width: 100%;
}

.btn--sm { height: 42px; padding: 0 var(--s-5); font-size: 14px; }
.btn--lg { height: 56px; padding: 0 var(--s-8); font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-700); }

.btn--white { background: #fff; color: var(--green-700); }
.btn--white:hover { background: var(--green-50); }

.btn--ico { gap: var(--s-3); padding-left: var(--s-5); }
.btn__ico { display: flex; width: 22px; height: 22px; flex-shrink: 0; }
.btn__ico svg { width: 22px; height: 22px; }

.btn--glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); }
.btn--glass:hover { background: rgba(255, 255, 255, .26); }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.logo__mark { width: 38px; height: 38px; }
.logo__mark svg { width: 38px; height: 38px; }
.logo__text { font-size: 16px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav a { font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--muted); }
.nav a:hover { color: var(--green-700); }

.header__actions { display: flex; align-items: center; gap: var(--s-5); flex-shrink: 0; }

.header__contacts { display: flex; align-items: center; gap: var(--s-4); flex-shrink: 0; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: clamp(15px, 1vw + 12px, 18px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}

.header__phone:hover { color: var(--green-700); }
.header__phone-ico { display: flex; width: 18px; height: 18px; color: var(--green-600); }
.header__phone-ico svg { width: 18px; height: 18px; }

.header__ims { display: flex; align-items: center; gap: var(--s-2); }

.him {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(18, 36, 26, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}

.him svg { width: 21px; height: 21px; }
.him:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18, 36, 26, .22); }
.him--wa { background: #25D366; }
.him--tg { background: #29A9EB; }
.him--max { background: linear-gradient(135deg, #4A90E2 0%, #9B59D6 100%); }
.him--tg svg { transform: translateX(-1px); }

.burger { display: none; width: 42px; height: 42px; position: relative; }

.burger span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 25px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.pill-label {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 var(--s-4);
  border-radius: var(--r-pill);
  background: var(--green-50);
  color: var(--green-600);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.pill-label--light { background: rgba(255, 255, 255, .2); color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.dim { color: var(--muted); }

.deco { position: absolute; border-radius: 50%; pointer-events: none; }
.deco--a { top: -150px; right: -70px; width: 400px; height: 400px; background: rgba(255, 255, 255, .08); }
.deco--b { bottom: -190px; left: -90px; width: 360px; height: 360px; background: rgba(255, 255, 255, .07); }
.deco--c { top: -120px; right: 8%; width: 320px; height: 320px; background: rgba(255, 255, 255, .34); }
.deco--d { bottom: -160px; left: -60px; width: 300px; height: 300px; background: rgba(255, 255, 255, .26); }

.hero { padding: var(--s-4) max(var(--s-4), var(--safe-l)) var(--s-20) max(var(--s-4), var(--safe-r)); }

.hero__card {
  position: relative;
  border-radius: var(--r-xl);
  background-image: linear-gradient(145deg, #52C043 0%, #2A9E33 52%, #16752A 100%);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-12);
  align-items: center;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: var(--s-16) clamp(20px, 3.4vw, 48px);
}

.hero__copy { position: relative; }

.hero__title {
  margin: var(--s-5) 0 var(--s-5);
  font-size: var(--t-h1);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: #fff;
}

.hero__sub { max-width: 540px; font-size: var(--t-lead); color: rgba(255, 255, 255, .85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: var(--s-3);
  margin-top: var(--s-8);
  max-width: 460px;
}

.hstat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: var(--s-4) clamp(14px, 3.4vw, 20px);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
}

.hstat__val { font-size: clamp(17px, 1.4vw + 13px, 23px); font-weight: 700; letter-spacing: -.02em; color: #fff; overflow-wrap: break-word; }
.hstat__cap { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .74); }

.hero__media { position: relative; }

picture { display: contents; }

.hero__photo {
  width: 100%;
  height: clamp(240px, 40vw + 90px, 580px);
  object-fit: cover;
  border-radius: var(--r-lg);
}

.hero__float {
  position: absolute;
  left: -32px;
  bottom: -24px;
  display: flex;
  flex-direction: column;
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
}

.hero__float-ico { width: 40px; height: 40px; margin-bottom: var(--s-3); }
.hero__float-ico svg { width: 40px; height: 40px; }
.hero__float-val { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.hero__float-cap { font-size: 14px; color: var(--muted); }

.section { padding: var(--s-20) 0; }
.section--soft { background: var(--soft); }

.head { max-width: 760px; margin-bottom: var(--s-12); }
.head--tight { margin-top: var(--s-12); margin-bottom: var(--s-8); }
.head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

.head__title {
  margin-top: var(--s-5);
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.head__title--sm { margin-top: 0; font-size: var(--t-h4); }
.head__sub { margin-top: var(--s-5); font-size: clamp(16px, .3vw + 15px, 18px); color: var(--muted); }

.cards { display: grid; gap: var(--s-6); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.tile {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r);
  background: var(--soft);
}

.tile--plain { background: #fff; border: 1px solid var(--line); }

.tile--accent {
  background: linear-gradient(155deg, #52C043, #16752A);
  color: #fff;
}

.tile--accent .tile__text { color: rgba(255, 255, 255, .82); }

.tile__ico { width: 64px; height: 64px; margin-bottom: var(--s-8); }
.tile__ico svg { width: 64px; height: 64px; }
.tile--accent .tile__ico,
.bento__item--accent .tile__ico {
  width: 88px;
  height: 88px;
}

.tile--accent .tile__ico svg,
.bento__item--accent .tile__ico svg { width: 88px; height: 88px; }

.tile__title { margin-bottom: var(--s-3); font-size: var(--t-card); font-weight: 600; line-height: 1.28; letter-spacing: -.02em; }
.tile__text { font-size: 16px; color: var(--muted); }

.showcase {
  display: flex;
  flex-direction: column;
  gap: var(--s-20);
  padding: clamp(20px, 4.4vw, 64px);
  border-radius: var(--r-xl);
  background: var(--soft);
}

.scrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-16);
  align-items: stretch;
}

.scrow--flip .scrow__media { order: -1; }

.scrow__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 460px; padding: var(--s-4) 0; }

.scrow__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.scrow__eyebrow::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 3px var(--soft);
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.scrow__title {
  margin: var(--s-5) 0;
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--ink);
}

.scrow__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.scrow__text + .scrow__text { margin-top: var(--s-4); }

.scrow__btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  margin-top: var(--s-8);
  padding: 0 var(--s-6);
  border-radius: var(--r-pill);
  background: #fff;
  border: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.scrow__btn:hover { border-color: var(--green-600); color: var(--green-700); }

.scrow__media {
  position: relative;
  min-height: 340px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.scrow__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.scrow__open {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}

.scrow__open svg { width: 20px; height: 20px; }
.scrow__open:hover { background: var(--green-600); color: #fff; }

.answer {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--s-10);
  align-items: start;
  padding: var(--s-10);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.answer__side { display: flex; flex-direction: column; gap: var(--s-4); }

.answer__word {
  font-size: 92px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.05em;
  background: linear-gradient(140deg, #52C043, #157A2B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.answer__word--sm { font-size: 56px; letter-spacing: -.03em; }

.answer__law {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 32px;
  padding: 0 var(--s-4);
  border-radius: var(--r-pill);
  background: var(--green-50);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-600);
}

.answer__body { display: flex; flex-direction: column; gap: var(--s-5); }
.answer__body p { font-size: 17px; color: var(--ink-2); }
.answer__body em { font-style: normal; font-weight: 700; color: var(--ink); }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }

.way {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}


.way__media { position: relative; }
.way__media img { width: 100%; height: clamp(180px, 26vw, 220px); object-fit: cover; }

.way__num {
  position: absolute;
  left: var(--s-6);
  bottom: var(--s-6);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  font-size: 17px;
  font-weight: 700;
  color: var(--green-600);
  letter-spacing: .02em;
}

.way__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-8); }
.way__title { margin-bottom: var(--s-4); font-size: var(--t-card); font-weight: 600; line-height: 1.24; letter-spacing: -.02em; }
.way__text { flex: 1; font-size: 16px; color: var(--muted); }
.way__list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-8); }

.way__list li {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 var(--s-4);
  border-radius: var(--r-pill);
  background: var(--green-50);
  font-size: 14px;
  font-weight: 500;
  color: var(--green-700);
}

.stepgrid { display: grid; grid-template-columns: 360px 1fr; gap: var(--s-16); align-items: start; }
.stepgrid__head { position: sticky; top: calc(var(--header-h) + var(--s-8)); }
.stepgrid__list { display: flex; flex-direction: column; }

.stepx {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-8);
}

.stepx::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 70px;
  bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-200), var(--line));
}

.stepx:last-child { padding-bottom: 0; }
.stepx:last-child::before { display: none; }

.stepx__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--green-100);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--green-600);
}

.stepx__body { padding-top: var(--s-3); }
.stepx__title { margin-bottom: var(--s-2); font-size: var(--t-card); font-weight: 600; letter-spacing: -.02em; }
.stepx__text { max-width: 620px; font-size: 16px; color: var(--muted); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-6); }

.bento__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: var(--s-10);
  border-radius: var(--r);
  background: var(--soft);
  grid-column: span 2;
  overflow: hidden;
}


.bento__item--photo { grid-column: span 4; padding: 0; }
.bento__item--wide { grid-column: span 6; min-height: 0; }

.bento__item--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.bento__item--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 12, 0) 25%, rgba(8, 28, 12, .55) 65%, rgba(8, 28, 12, .78) 100%);
}

.bento__overlay {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: var(--s-16) var(--s-10) var(--s-10);
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 28, 12, 0) 0%, rgba(8, 28, 12, .74) 32%, rgba(8, 28, 12, .92) 100%);
}

.bento__overlay .bento__text { color: rgba(255, 255, 255, .84); }

.bento__item--accent {
  background: linear-gradient(155deg, #52C043, #16752A);
  color: #fff;
}

.bento__item--accent .bento__text { color: rgba(255, 255, 255, .82); }
.bento__item--accent .tile__ico { margin-bottom: var(--s-6); }
.bento__item--accent .tile__ico + .bento__title { margin-top: 0; }

.bento__title { margin-bottom: var(--s-3); font-size: var(--t-card); font-weight: 600; line-height: 1.24; letter-spacing: -.02em; }
.bento__text { font-size: 16px; color: var(--muted); }

.notice {
  display: flex;
  gap: var(--s-6);
  align-items: center;
  margin-top: var(--s-6);
  padding: var(--s-8) var(--s-10);
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
}

.notice__ico { flex-shrink: 0; width: 56px; height: 56px; }
.notice__ico svg { width: 56px; height: 56px; }
.notice p { font-size: 16px; color: var(--ink-2); }

.geo {
  position: relative;
  padding: clamp(20px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.geo__map { position: relative; margin: 0 auto var(--s-8); }
.geo__svg { width: 100%; height: auto; overflow: visible; }
.geo__outline { fill: none; stroke: #99CE88; stroke-width: 1.3; stroke-linejoin: round; opacity: .45; }

.lead__line { stroke: var(--green-500); stroke-width: 1.4; stroke-dasharray: 4 4; opacity: .5; fill: none; }
.lead__end { fill: var(--green-500); opacity: .5; }

.mk { cursor: pointer; outline: none; }

.mk__halo {
  fill: var(--green-600);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.mk__ring { fill: #fff; stroke: var(--green-500); stroke-width: 2; }
.mk__dot { fill: var(--green-600); }

.mk--main .mk__ring { stroke-width: 2.6; stroke: var(--green-600); }
.mk:hover .mk__halo,
.mk:focus-visible .mk__halo,
.mk.is-active .mk__halo { opacity: .22; }

.mk:hover .mk__ring,
.mk:focus-visible .mk__ring,
.mk.is-active .mk__ring { stroke: var(--green-800); }

.mk.is-active .mk__dot { fill: var(--green-800); }

.geo__callout {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5) var(--s-3) var(--s-3);
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  white-space: nowrap;
  pointer-events: none;
}

.geo__callout-ico { flex-shrink: 0; width: 34px; height: 34px; }
.geo__callout-ico svg { width: 34px; height: 34px; }
.geo__callout-text { display: flex; flex-direction: column; }
.geo__callout-city { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.geo__callout-note { font-size: 13px; color: var(--muted); }

.geo__tip {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: var(--s-3) var(--s-4);
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%) translateY(-18px);
}

.geo__tip.is-shown { opacity: 1; }
.geo__tip-city { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.geo__tip-note { font-size: 13px; color: rgba(255, 255, 255, .7); }

.geo__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.geo__stat { display: flex; align-items: baseline; gap: var(--s-4); }
.geo__stat b { font-size: clamp(28px, 1.6vw + 22px, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.geo__stat span { font-size: 15px; line-height: 1.4; color: var(--muted); }

.geo__pills { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-8) 0 var(--s-6); }

.geo__row {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 var(--s-5);
  border-radius: var(--r-pill);
  background: var(--soft);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  outline: none;
}

.geo__row:hover, .geo__row:focus-visible, .geo__row.is-active { background: var(--green-600); color: #fff; }
.geo__row-note { display: none; }
.geo__foot { font-size: 14px; color: var(--muted); }

.panel {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background-image: linear-gradient(155deg, #B5DEA4 0%, #CDEBBF 48%, #E4F4DA 100%);
  overflow: hidden;
}

.panel__head { position: relative; max-width: 620px; margin-bottom: var(--s-8); }

.panel__title {
  font-size: var(--t-panel);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
}

.panel__sub { margin-top: var(--s-5); font-size: clamp(16px, .3vw + 15px, 18px); color: rgba(255, 255, 255, .9); }

.panel__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
}

.panel__card {
  padding: var(--s-8);
  border-radius: var(--r);
  background: #fff;
}

.panel__card--photo { grid-column: 1 / -1; padding: 0; overflow: hidden; }
.panel__card--photo img { display: block; width: 100%; height: clamp(180px, 28vw, 240px); object-fit: cover; object-position: center 68%; }

.panel__num { display: block; margin-bottom: var(--s-6); font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.panel__cardtitle { margin-bottom: var(--s-3); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.panel__cardtext { font-size: 15px; color: var(--muted); }

.faq { display: flex; flex-direction: column; gap: var(--s-3); }
.faq__item { border-radius: var(--r); background: var(--soft); }
.faq__item[open] { background: #fff; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 56px;
  padding: var(--s-5) clamp(20px, 3vw, 32px);
  font-size: clamp(16px, .4vw + 15px, 18px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__ico {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
}

.faq__ico::before, .faq__ico::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-2);
  transform: translate(-50%, -50%);
}

.faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__ico::before, .faq__ico::after .faq__item[open] .faq__ico { background: var(--green-600); }
.faq__item[open] .faq__ico::before { background: #fff; }
.faq__item[open] .faq__ico::after { transform: translate(-50%, -50%) rotate(0deg); background: #fff; }

.faq__a { height: 0; overflow: hidden; }
.faq__a p { padding: 0 clamp(20px, 3vw, 32px) var(--s-6); font-size: 16px; color: var(--muted); }

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: var(--s-12);
  align-items: start;
  padding: var(--s-12);
  border-radius: var(--r-xl);
  background-image: linear-gradient(145deg, #52C043 0%, #2A9E33 52%, #16752A 100%);
  overflow: hidden;
}

.cta__info { position: relative; min-width: 0; color: #fff; }
.cta > .form { min-width: 0; }
.cta__title { margin: var(--s-6) 0 var(--s-5); font-size: var(--t-panel); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.cta__sub { max-width: 460px; font-size: clamp(16px, .3vw + 15px, 18px); color: rgba(255, 255, 255, .85); }
.cta__list { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-8); }
.cta__list li { display: flex; align-items: center; gap: var(--s-3); font-size: 16px; color: rgba(255, 255, 255, .92); }

.cta__list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.cta__contacts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-10); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  height: 46px;
  padding: 0 var(--s-5) 0 var(--s-2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .16);
  border: 1.5px solid rgba(255, 255, 255, .32);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.chip:hover { background: rgba(255, 255, 255, .28); }

.chip__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}

.chip__ico svg { width: 18px; height: 18px; }
.chip__ico:has(use[href='#br-max']) svg { width: 22px; height: 22px; }

.footer__col a { display: inline-flex; align-items: center; gap: var(--s-2); }
.footer__ico { flex-shrink: 0; width: 18px; height: 18px; }
.footer__ico svg { width: 18px; height: 18px; }

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: clamp(20px, 3.4vw, 40px);
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
}

.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }

.field__input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 var(--s-5);
  border-radius: var(--r-sm);
  background: var(--soft);
  border: 1.5px solid transparent;
  font-size: 16px;
  outline: none;
}

.field__input::placeholder { color: #A0B79A; }
.field__input:focus { background: #fff; border-color: var(--green-600); }
.field__input.is-invalid { border-color: #DC2626; background: #fff; }

.field__error { display: none; font-size: 13px; font-weight: 500; color: #DC2626; }
.field__error.is-shown { display: block; }


.consent { display: flex; align-items: flex-start; gap: var(--s-3); cursor: pointer; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-600); cursor: pointer; }
.consent span { font-size: 14px; line-height: 1.5; color: var(--muted); }

.form__note { font-size: 14px; color: var(--muted); text-align: center; }

.form__ok a { color: inherit; text-decoration: underline; }

.form__ok {
  padding: var(--s-5);
  border-radius: var(--r-sm);
  background: var(--green-50);
  font-size: 15px;
  font-weight: 600;
  color: var(--green-700);
  text-align: center;
}

.footer { padding: var(--s-16) 0 var(--s-8); background: var(--soft); }

.footer__top { display: grid; grid-template-columns: 340px 1fr; gap: var(--s-12); padding-bottom: var(--s-10); }
.footer__desc { margin: var(--s-6) 0 var(--s-5); font-size: 15px; color: var(--muted); }
.footer__phone { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }

.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.footer__col { display: flex; flex-direction: column; gap: var(--s-3); }
.footer__coltitle { margin-bottom: var(--s-1); font-size: 14px; font-weight: 700; }
.footer__col a { min-height: 24px; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--ink); }

.footer__legal { padding: var(--s-8) 0; border-top: 1px solid var(--line); }
.footer__legal p { max-width: 940px; font-size: 13px; line-height: 1.6; color: #9AB294; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--s-6);
  padding-top: var(--s-8);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ================= hero contacts ================= */

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
  color: #fff;
}

.hero__phone-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255, 255, 255, .34);
  color: #fff;
}

.hero__phone-ico svg { width: 22px; height: 22px; }

.hero__phone-num {
  font-size: clamp(26px, 3.1vw + 12px, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.hero__phone-cap { margin-top: var(--s-2); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .78); }

/* ================= floating messengers ================= */

.fab {
  position: fixed;
  z-index: 95;
  right: max(12px, var(--safe-r));
  bottom: calc(18px + var(--safe-b));
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.fab__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(18, 36, 26, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}

.fab__btn svg { width: 30px; height: 30px; }
.fab__btn:hover { transform: scale(1.07); box-shadow: 0 14px 30px rgba(18, 36, 26, .34); }
.fab__btn:active { transform: scale(.96); }

.fab__btn--wa { background: #25D366; }
.fab__btn--tg { background: #29A9EB; }
.fab__btn--tg svg { transform: translateX(-1px); }
.fab__btn--max { background: linear-gradient(135deg, #4A90E2 0%, #9B59D6 100%); }
.fab__btn--call { background: var(--green-600); color: #fff; }
.fab__btn--call svg { width: 26px; height: 26px; }

.fab__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
}

.fab__btn--wa { color: #25D366; }
.fab__btn--tg { color: #29A9EB; }
.fab__btn--max { color: #9B59D6; }
.fab__btn--wa::after { animation: fabPulse 2.6s ease-out infinite; }

@keyframes fabPulse {
  0% { opacity: .55; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.45); }
  100% { opacity: 0; transform: scale(1.45); }
}

.fab__tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(6px);
  transition: opacity .18s ease, transform .18s ease;
}

.fab__btn:hover .fab__tip, .fab__btn:focus-visible .fab__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

body.is-menu-open .fab { opacity: 0; pointer-events: none; }

/* ================= responsive ================= */

@media (max-width: 1520px) {
  .header__actions .btn { display: none; }
  .nav { gap: var(--s-5); }
  .header__inner { gap: var(--s-5); }
}

@media (max-width: 1240px) {
  .nav { gap: var(--s-4); }
  .stepgrid { grid-template-columns: 300px 1fr; gap: var(--s-10); }
  .cta { grid-template-columns: 1fr 470px; gap: var(--s-10); }
}

/* ---- tablet / burger ---- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }

  .nav.is-open {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    padding: var(--s-4) max(var(--s-6), var(--safe-l)) calc(var(--s-8) + var(--safe-b)) max(var(--s-6), var(--safe-r));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: var(--s-3) 0;
    font-size: 17px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open a:last-child { border-bottom: 0; }

  .hero__inner { grid-template-columns: 1fr; gap: var(--s-12); }
  .hero__sub { max-width: none; }
  .hero__stats { max-width: none; }

  .stepgrid { grid-template-columns: 1fr; gap: var(--s-8); }
  .stepgrid__head { position: static; }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: 1fr; }
  .way__text { flex: none; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__item { grid-column: span 1; }
  .bento__item--photo, .bento__item--wide { grid-column: 1 / -1; }

  .panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel__card--photo img { height: 200px; }
  .cta { grid-template-columns: 1fr; }
  .cta__sub { max-width: none; }
  .footer__top { grid-template-columns: 1fr; gap: var(--s-12); }
}

/* ---- large phone / small tablet ---- */
@media (max-width: 860px) {
  .cards--3 { grid-template-columns: 1fr; }
  .showcase { gap: var(--s-16); border-radius: var(--r-lg); }
  .scrow { grid-template-columns: 1fr; gap: var(--s-8); }
  .scrow__media { aspect-ratio: 4 / 3; min-height: 0; }
  .scrow--flip .scrow__media { order: 0; }
  .scrow__copy { max-width: none; }

  .bento { grid-template-columns: 1fr; }
  .bento__item, .bento__item--photo { grid-column: span 1; min-height: 0; }
  .bento__item--photo { min-height: 300px; }
  .bento__item--accent { min-height: 0; }

  .geo__meta { grid-template-columns: 1fr; gap: var(--s-5); }
  .geo__callout { display: none; }
  .panel__grid { grid-template-columns: 1fr; }
  .notice { flex-direction: column; align-items: flex-start; gap: var(--s-5); padding: var(--s-8); }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-10) var(--s-6); }
}

/* ---- footer nav ---- */
@media (max-width: 720px) {
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); }

  .footer__col--contacts {
    grid-column: 1 / -1;
    padding-top: var(--s-8);
    border-top: 1px solid var(--line);
  }

  .footer__col a { min-height: 36px; }
}

/* ---- phones ---- */
@media (max-width: 560px) {
  body { font-size: 16px; }

  .header__inner { gap: var(--s-4); }
  .header__actions .btn { display: none; }
  .logo__mark, .logo__mark svg { width: 34px; height: 34px; }
  .logo__text { font-size: 15px; }

  .hero { padding: var(--s-2) max(var(--s-2), var(--safe-l)) var(--s-16) max(var(--s-2), var(--safe-r)); }
  .hero__card { border-radius: var(--r-lg); }
  .hero__inner { gap: var(--s-10); padding: var(--s-10) var(--s-5) var(--s-12); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .stepx { grid-template-columns: 50px 1fr; gap: var(--s-4); }
  .stepx::before { left: 24px; top: 58px; }
  .stepx__num { width: 50px; height: 50px; font-size: 20px; }

  .tile, .bento__item { padding: var(--s-8); }
  .bento__item--photo { padding: 0; }
  .way__body { padding: var(--s-6); }
  .scrow__open { top: var(--s-4); right: var(--s-4); width: 44px; height: 44px; }

  .geo__tip { display: none; }
  .panel, .cta { border-radius: var(--r-lg); }
  .cta { padding-inline: var(--s-4); }
  .form { padding: var(--s-6) var(--s-5); }
  .footer__bottom { flex-direction: column; gap: var(--s-2); }
}

/* ---- very narrow phones ---- */
@media (max-width: 380px) {
  .hero__stats { grid-template-columns: 1fr; }
  .logo__text { font-size: 14px; }
  .pill-label { font-size: 12px; padding: 0 var(--s-3); }
}

/* ---- short landscape phones ---- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero__photo { height: clamp(200px, 44vh, 320px); }
  .nav.is-open { max-height: calc(100dvh - var(--header-h)); }
}

@media (hover: none) {
  .scrow__btn:hover { border-color: var(--line); color: var(--ink); }
  .chip:hover { background: rgba(255, 255, 255, .16); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* nav phone: only inside the opened mobile menu */
.nav .nav__phone { display: none; }

@media (max-width: 1080px) {
  .nav.is-open .nav__phone {
    display: flex;
    margin-top: var(--s-3);
    font-size: 19px;
    font-weight: 700;
    color: var(--green-700);
    border-bottom: 0;
  }
}


/* ---- header contacts / floating buttons: адаптив ---- */
@media (max-width: 1080px) {
  .header__contacts { gap: var(--s-3); }
  .header__phone { display: inline-flex; }
}

@media (max-width: 860px) {
  .header__actions .btn { display: none; }
}

/* две строки в шапке: логотип сверху, телефон и мессенджеры под ним */
@media (max-width: 700px) {
  :root { --header-h: 104px; }

  .header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--s-4);
    row-gap: 2px;
  }

  .logo { grid-column: 1; grid-row: 1; }
  .header__actions { grid-column: 2; grid-row: 1; }
  .header__contacts { grid-column: 1 / -1; grid-row: 2; }
  .header__phone { font-size: 19px; }
  .header__phone-ico, .header__phone-ico svg { width: 20px; height: 20px; }
  .him { width: 36px; height: 36px; }
  .him svg { width: 20px; height: 20px; }

  .fab__btn { width: 52px; height: 52px; }
  .fab__btn svg { width: 27px; height: 27px; }
  .fab { gap: 10px; right: max(10px, var(--safe-r)); bottom: calc(12px + var(--safe-b)); }
  .fab__tip { display: none; }
}

@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
  .hero__phone-ico { width: 40px; height: 40px; }
}

@media (max-width: 380px) {
  :root { --header-h: 100px; }
  .header__phone { font-size: 17px; gap: 6px; }
  .him { width: 33px; height: 33px; }
  .him svg { width: 18px; height: 18px; }
  .fab__btn { width: 48px; height: 48px; }
  .fab__btn svg { width: 25px; height: 25px; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .fab__btn { width: 44px; height: 44px; }
  .fab__btn svg { width: 23px; height: 23px; }
  .fab { gap: 8px; bottom: calc(10px + var(--safe-b)); }
}
