/* ============================================================
   FERAZH GROUP · спортивно-строительный лэндинг
   Концепция: «разметка поля» · линии, номера, динамика спорта
   ============================================================ */

:root {
  --green: #398235;
  --green-dark: #2c6629;
  --orange: #F2811E;
  --orange-dark: #d96f10;
  --black: #14171A;
  --black-soft: #1d2125;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #f3f4f2;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --radius: 18px;
  --container: 1200px;
  --header-h: 72px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Якоря · с учётом фиксированной шапки */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(242, 129, 30, .35);
}
.btn--orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242, 129, 30, .45); }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; transform: translateY(-2px); }

.btn--line {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--line:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

.btn--lg { padding: 18px 34px; font-size: 16px; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s, box-shadow .35s;
}
.header--solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(20, 23, 26, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo { flex-shrink: 0; position: relative; z-index: 102; display: block; }
.header__logo-img { width: auto; height: 54px; transition: opacity .3s; }
@media (min-width: 720px) { .header__logo-img { height: 62px; } }
.header__logo-img--white { position: absolute; inset: 0; opacity: 1; }
.header__logo-img--color { opacity: 0; }
.header--solid .header__logo-img--white { opacity: 0; }
.header--solid .header__logo-img--color { opacity: 1; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.header__link {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}
.header__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .3s var(--ease-out);
}
.header__link:hover::after { width: 100%; }
.header--solid .header__link { color: var(--black); }

.header__phone {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  transition: color .3s;
}
.header__phone:hover { color: var(--orange); }
.header--solid .header__phone { color: var(--black); }

.header__cta { padding: 12px 22px; font-size: 14px; }

/* Бургер */
.burger {
  display: none;
  position: relative;
  z-index: 102;
  width: 44px; height: 44px;
  background: none; border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s, background .3s;
}
.header--solid .burger span, .header--menu-open .burger span { background: var(--black); }
.header--menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header--menu-open .burger span:nth-child(2) { opacity: 0; }
.header--menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease-out) both;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 23, 26, .55) 0%, rgba(20, 23, 26, .15) 35%, rgba(20, 23, 26, .82) 100%);
}

/* Анимированная разметка */
.hero__lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  mix-blend-mode: screen;
  opacity: .8;
}
.line-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: lineDraw 2.4s var(--ease-out) .6s forwards;
}
@keyframes lineDraw { to { stroke-dashoffset: 0; } }
.line-dot {
  opacity: 0;
  animation: dotPulse 2.4s ease 2.2s infinite;
}
@keyframes dotPulse {
  0% { opacity: 0; transform: scale(.4); transform-origin: center; }
  30% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.2); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 110px 90px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 22px;
  animation: fadeUp .8s var(--ease-out) .2s both;
}
.hero__flag {
  width: 34px; height: 3px;
  background: linear-gradient(90deg, var(--green) 50%, var(--orange) 50%);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 6vw, 72px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line i {
  font-style: normal;
  display: inline-block;
  transform: translateY(110%);
  animation: slideUp .9s var(--ease-out) forwards;
}
.hero__title-line:nth-child(1) i { animation-delay: .3s; }
.hero__title-line:nth-child(2) i { animation-delay: .45s; }
.hero__title-line:nth-child(3) i { animation-delay: .6s; }
@keyframes slideUp { to { transform: translateY(0); } }

.hero__title .accent { color: var(--orange); position: relative; padding-bottom: 6px; }
.hero__underline {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 5px;
  background: var(--green);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: growLine .7s var(--ease-out) 1.35s forwards;
}
@keyframes growLine { to { transform: scaleX(1); } }

.hero__subtitle {
  max-width: 560px;
  font-size: clamp(15px, 2.4vw, 18px);
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 32px;
  animation: fadeUp .8s var(--ease-out) .9s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp .8s var(--ease-out) 1.05s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollHint 1.8s ease infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Бегущая строка ---------- */
.ticker {
  background: var(--green);
  color: #fff;
  overflow: hidden;
  padding-block: 14px;
  transform: rotate(-1.2deg) scale(1.02);
  margin-block: -10px 30px;
  position: relative;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(57, 130, 53, .3);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}
.ticker__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.ticker__track i { font-style: normal; color: var(--orange); font-size: 10px; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- Заголовки секций ---------- */
.section-head { margin-bottom: 44px; }
.section-head__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-head__label::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 5vw, 48px);
  line-height: 1.12;
  text-transform: uppercase;
}
.section-head__sub {
  margin-top: 14px;
  max-width: 540px;
  color: var(--gray);
  font-weight: 500;
}
.section-head--light .section-head__title { color: #fff; }
.section-head--light .section-head__sub { color: rgba(255, 255, 255, .65); }

/* ---------- Услуги ---------- */
.services { padding-block: 60px 30px; }

.service { padding-block: 34px; position: relative; }

.service__inner {
  display: grid;
  gap: 22px;
}

.service__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.service__media > img:first-child {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.service__media:hover > img:first-child { transform: scale(1.05); }

/* Угловая дуга · мотив разметки */
.service__media::after {
  content: "";
  position: absolute;
  right: -1px; top: -1px;
  width: 74px; height: 74px;
  border-left: 3px solid rgba(255, 255, 255, .85);
  border-bottom: 3px solid rgba(255, 255, 255, .85);
  border-bottom-left-radius: 100%;
  pointer-events: none;
}

.service__media-thumb {
  position: absolute;
  left: 14px; bottom: 14px;
  width: min(34%, 170px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 10px 30px rgba(20, 23, 26, .35);
}

.service__body { position: relative; }

.service__num {
  position: absolute;
  right: 0; top: -14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 12vw, 120px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(57, 130, 53, .22);
  pointer-events: none;
  user-select: none;
}

.service__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 3.4vw, 32px);
  line-height: 1.18;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.service__text {
  color: var(--gray);
  font-weight: 500;
  max-width: 460px;
  margin-bottom: 22px;
}
.service__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Разделитель между услугами · пунктир разметки */
.service + .service::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(86%, var(--container));
  border-top: 2px dashed rgba(57, 130, 53, .25);
}

/* ---------- Наши работы (тёмная) ---------- */
.works {
  background: var(--black);
  color: #fff;
  padding-block: 80px;
  margin-top: 40px;
  position: relative;
}
.works::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--orange) 33% 66%, #fff 66%);
}

.works__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.works__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black-soft);
}
.works__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .8s var(--ease-out), filter .5s;
}
.works__item:hover img { transform: scale(1.06); filter: brightness(1.08); }

.works__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(180deg, transparent, rgba(20, 23, 26, .85));
}

/* ---------- Почему мы ---------- */
.why { padding-block: 80px 70px; background: var(--gray-light); }

.why__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 44px;
  counter-reset: step;
}
.why__step {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px 20px 20px;
  border: 1px solid rgba(20, 23, 26, .06);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.why__step:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 23, 26, .1); }
.why__step span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--orange);
}
.why__step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  margin: 8px 0 6px;
}
.why__step p { color: var(--gray); font-size: 14px; font-weight: 500; }

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.why__card {
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out);
}
.why__card:hover { transform: translateY(-4px); }
.why__card::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 110px; height: 110px;
  border: 2px dashed rgba(57, 130, 53, .4);
  border-radius: 50%;
  transition: transform .6s var(--ease-out);
}
.why__card:hover::after { transform: rotate(40deg) scale(1.1); }
.why__card svg {
  width: 40px; height: 40px;
  color: var(--orange);
  margin-bottom: 16px;
}
.why__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.why__card p { color: rgba(255, 255, 255, .7); font-size: 14.5px; font-weight: 500; }

/* ---------- Форма заявки ---------- */
.lead {
  padding-block: 80px;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(242, 129, 30, .12), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(57, 130, 53, .12), transparent 60%),
    var(--white);
}
.lead__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.lead__text { color: var(--gray); font-weight: 500; margin: 14px 0 22px; max-width: 460px; }

.lead__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--green);
  transition: color .3s;
}
.lead__wa:hover { color: var(--green-dark); }
.lead__wa svg { width: 26px; height: 26px; }

.lead__form {
  background: #fff;
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 20px 60px rgba(20, 23, 26, .1);
  border: 1px solid rgba(20, 23, 26, .05);
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 7px;
  color: var(--black);
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--black);
  background: var(--gray-light);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .25s, background .25s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2314171A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green);
  background: #fff;
}
.field input.field--error, .field select.field--error { border-color: #e0442b; }
.field textarea { resize: vertical; min-height: 84px; }

.lead__submit { width: 100%; }
.lead__note { font-size: 12.5px; color: var(--gray); margin-top: 12px; text-align: center; }
.lead__thanks {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(57, 130, 53, .1);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 14.5px;
  text-align: center;
}
.lead__thanks a { text-decoration: underline; }

/* ---------- Контакты + футер ---------- */
.contacts {
  background: var(--black);
  color: #fff;
  padding-top: 70px;
}
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 50px;
}
.contacts__logo { width: 150px; margin-bottom: 18px; }
.contacts__tagline { color: rgba(255, 255, 255, .65); font-weight: 500; max-width: 300px; }

.contacts__list { display: grid; gap: 20px; }
.contacts__label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 4px;
}
.contacts__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2.6vw, 22px);
  transition: color .3s;
}
a.contacts__value:hover { color: var(--orange); }

.footer { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
}
.footer__up { color: rgba(255, 255, 255, .75); font-weight: 700; transition: color .3s; }
.footer__up:hover { color: var(--orange); }

/* ---------- Плавающий WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPing 2.2s ease-out infinite;
}
@keyframes waPing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Reveal-анимации (JS + IntersectionObserver) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-img {
  clip-path: inset(8% 6% 8% 6% round var(--radius));
  opacity: 0;
  transform: translateY(30px) scale(.98);
  transition: clip-path 1s var(--ease-out), opacity .8s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-img.is-visible {
  clip-path: inset(0 0 0 0 round var(--radius));
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Ступенчатая задержка для сеток */
.works__grid .reveal-img:nth-child(2n) { transition-delay: .08s; }
.why__grid .reveal:nth-child(2) { transition-delay: .08s; }
.why__grid .reveal:nth-child(3) { transition-delay: .16s; }
.why__grid .reveal:nth-child(4) { transition-delay: .24s; }
.why__steps .reveal:nth-child(2) { transition-delay: .08s; }
.why__steps .reveal:nth-child(3) { transition-delay: .16s; }
.why__steps .reveal:nth-child(4) { transition-delay: .24s; }

/* ============================================================
   ПЛАНШЕТ ≥ 720px
   ============================================================ */
@media (min-width: 720px) {
  :root { --header-h: 80px; }

  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .works__item--wide { grid-column: span 2; }
  .works__item--wide img { aspect-ratio: 16 / 8; }

  .why__steps { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }

  .lead__inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .lead__form { padding: 34px 30px; }

  .contacts__inner { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .contacts__list { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

/* ============================================================
   ДЕСКТОП ≥ 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .service { padding-block: 46px; }
  .service__inner {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 56px;
  }
  .service--flip .service__media { order: 2; }
  .service--flip .service__body { order: 1; }
  .service__media > img:first-child { aspect-ratio: 16 / 11; }
  .service__num { top: -34px; }

  .works__grid { grid-template-columns: repeat(3, 1fr); }
  .works__item--wide { grid-column: span 2; }
  .works__item--tall { grid-row: span 2; }
  .works__item--tall img { aspect-ratio: auto; height: 100%; }

  .why__steps { grid-template-columns: repeat(4, 1fr); position: relative; }
  /* Линия-эстафета между шагами */
  .why__steps::before {
    content: "";
    position: absolute;
    top: 50%; left: 2%; right: 2%;
    border-top: 2px dashed rgba(57, 130, 53, .3);
    z-index: 0;
  }
  .why__step { z-index: 1; }

  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .why__card { padding: 30px 24px; }

  .lead__inner { gap: 64px; }
}

/* ============================================================
   МОБИЛЬНОЕ МЕНЮ < 900px
   ============================================================ */
@media (max-width: 899px) {
  .burger { display: flex; }

  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .header--menu-open .header__nav { opacity: 1; visibility: visible; }

  .header__link, .header__phone {
    color: var(--black) !important;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .header__cta { padding: 16px 32px; font-size: 16px; }
}

@media (min-width: 900px) {
  .burger { display: none; }
}

/* ============================================================
   ДОСТУПНОСТЬ: prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__img { animation: none; transform: none; }
  .hero__title-line i { transform: none; animation: none; }
  .hero__underline { transform: none; animation: none; }
  .line-draw { stroke-dashoffset: 0; animation: none; }
  .ticker__track { animation: none; }
  .reveal, .reveal-img {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

/* ---------- География ---------- */
.geo {
  padding-block: 74px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  text-align: center;
}
.geo .section-head { margin-inline: auto; }
.geo .section-head__label { color: rgba(255, 255, 255, .8); }
.geo .section-head__title,
.geo .section-head__sub { margin-inline: auto; }
.geo__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}
.geo__chips li {
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  font-weight: 600;
  font-size: 15px;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.geo__chips li:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}
