/* ФОРВАРД ИТ — стили сайта-визитки. Палитра: белый + тёмно-зелёный. */

/* ───────────────────────── Шрифты (self-hosted, без внешних CDN) ───────────────────────── */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ───────────────────────── Переменные ───────────────────────── */
:root {
  --green-950: #06231a;
  --green-900: #0a2e22;
  --green-800: #0d3b2c;
  --green-700: #0f4d38;
  --green-600: #156a4b;
  --green-500: #1d8a60;
  --green-400: #34a978;
  --green-100: #e7f1ec;
  --green-050: #f3f8f5;

  --ink: #0c1d16;
  --muted: #4c5e57;
  --paper: #ffffff;
  --paper-2: #f6f9f7;
  --line: #e0e8e3;
  --line-strong: #c8d6cf;

  --shadow-sm: 0 1px 2px rgba(10, 46, 34, .06), 0 6px 18px rgba(10, 46, 34, .05);
  --shadow-md: 0 10px 40px rgba(10, 46, 34, .10);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --header-h: 76px;

  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Unbounded', 'Manrope', sans-serif;
}

/* ───────────────────────── База ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }

::selection { background: var(--green-500); color: #fff; }

/* ───────────────────────── Раскладка ───────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin: 0 0 22px;
}
/* Номер блока в одном стиле во всех секциях — цвет и размер наследуются от подписи */
.eyebrow::before {
  content: attr(data-num);
  font-size: inherit;
  color: currentColor;
  opacity: .55;
}
.eyebrow--light { color: var(--green-400); }

.section-title {
  font-size: clamp(30px, 4.4vw, 52px);
  max-width: 18ch;
}
.section-lead {
  margin-top: 22px;
  max-width: 56ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
}

/* ───────────────────────── Шапка ───────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

/* Логотип (текстовый) */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
  color: #fff;
  transition: color .35s ease;
}
.header.is-solid .logo,
.logo--dark { color: var(--ink); }
/* Знак логотипа без подложки — цвет подстраивается под фон */
.logo__mark {
  width: 30px; height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--green-400);
}
.logo__mark svg { width: 30px; height: 30px; }
.header.is-solid .logo__mark { color: var(--green-600); }
.logo b { font-weight: 700; }
.logo span { opacity: .55; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  transition: color .25s ease;
  position: relative;
}
.header.is-solid .nav__link { color: var(--muted); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--green-500);
  transition: width .28s ease;
}
.nav__link:hover { color: #fff; }
.header.is-solid .nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--green-600);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .2s ease, background .25s ease;
}
.nav__cta:hover { background: var(--green-500); transform: translateY(-1px); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.header.is-solid .burger { border-color: var(--line-strong); }
.burger span {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  background: #fff;
  transition: .3s;
}
.header.is-solid .burger span { background: var(--ink); }

/* Затемнение-размытие фона под открытым бургер-меню */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 35, 26, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; }
/* Блокировка прокрутки страницы при открытом меню */
body.is-nav-open { overflow: hidden; }

@media (min-width: 769px) {
  .nav-backdrop { display: none; }
}

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  color: #fff;
  overflow: hidden;
  background: var(--green-950);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
  transform: scale(1.04);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(29, 138, 96, .35), transparent 55%),
    linear-gradient(180deg, rgba(6, 35, 26, .55) 0%, rgba(6, 35, 26, .78) 55%, var(--green-950) 100%);
}
.hero .container { position: relative; z-index: 1; width: 100%; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 30px;
}
.hero__tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 4px rgba(52, 169, 120, .25);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7.4vw, 96px);
  letter-spacing: -.03em;
  max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--green-400); }
.hero__sub {
  margin-top: 28px;
  max-width: 52ch;
  font-size: clamp(17px, 1.9vw, 22px);
  color: rgba(255, 255, 255, .82);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__meta {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
  max-width: 840px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 30px;
}
.hero__meta dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
  overflow-wrap: break-word;
}
.hero__meta dd {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .7);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--green-500); color: #fff; }
.btn--primary:hover { background: var(--green-400); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.btn--dark { background: var(--green-700); color: #fff; }
.btn--dark:hover { background: var(--green-600); transform: translateY(-2px); }

/* ───────────────────────── О компании ───────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: stretch;
}
.about__text p:not(.eyebrow) { color: var(--muted); margin: 0 0 22px; }
.about__text p.about__lead {
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  margin: 26px 0 22px;
}
.about__points {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.about__points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--ink);
}
.about__points svg { width: 22px; height: 22px; flex: none; color: var(--green-500); margin-top: 2px; }

.about__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 460px;
  background: var(--green-900);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(6, 35, 26, .05), rgba(6, 35, 26, .55));
  mix-blend-mode: multiply;
}
.about__badge {
  position: absolute;
  left: 22px; bottom: 22px;
  z-index: 2;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.about__badge b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--green-700);
}
.about__badge span { display: block; font-size: 13px; color: var(--muted); }

/* ───────────────────────── Услуги ───────────────────────── */
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.section--paper .card { background: #fff; }
.card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-050);
  color: var(--green-600);
  margin-bottom: 24px;
  transition: background .3s ease, color .3s ease;
}
.card:hover .card__icon { background: var(--green-600); color: #fff; }
.card__icon svg { width: 28px; height: 28px; }
/* Иконка из ассета (Lucide) через маску — цвет наследуется от родителя (currentColor) */
.ico {
  display: block;
  width: 28px; height: 28px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.ico--corp     { -webkit-mask-image: url('../icons/building-2.svg'); mask-image: url('../icons/building-2.svg'); }
.ico--web      { -webkit-mask-image: url('../icons/globe.svg');      mask-image: url('../icons/globe.svg'); }
.ico--mobile   { -webkit-mask-image: url('../icons/smartphone.svg'); mask-image: url('../icons/smartphone.svg'); }
.ico--integr   { -webkit-mask-image: url('../icons/workflow.svg');   mask-image: url('../icons/workflow.svg'); }
.ico--server   { -webkit-mask-image: url('../icons/server.svg');     mask-image: url('../icons/server.svg'); }
.ico--monitor  { -webkit-mask-image: url('../icons/monitor.svg');    mask-image: url('../icons/monitor.svg'); }
.ico--database { -webkit-mask-image: url('../icons/database.svg');   mask-image: url('../icons/database.svg'); }
.ico--devops   { -webkit-mask-image: url('../icons/infinity.svg');   mask-image: url('../icons/infinity.svg'); }
.ico--api      { -webkit-mask-image: url('../icons/webhook.svg');    mask-image: url('../icons/webhook.svg'); }

.card h3 { font-size: 23px; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.card__list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.card__list li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-050);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ───────────────────────── Технологии ───────────────────────── */
.tech {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tech__group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper);
  transition: border-color .3s ease, transform .3s ease;
}
.tech__group:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tech__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.tech__head svg { width: 22px; height: 22px; color: var(--green-600); }
.tech__head .ico { width: 22px; height: 22px; color: var(--green-600); }
.tech__head h3 { font-size: 16px; letter-spacing: 0; }
.tech__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech__tags span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--green-050);
  padding: 7px 14px;
  border-radius: 10px;
}

/* ───────────────────────── Подход ───────────────────────── */
.approach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.step:hover { background: rgba(255, 255, 255, .08); border-color: rgba(52, 169, 120, .5); transform: translateY(-5px); }
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--green-400);
  letter-spacing: .1em;
}
.step__num::before { content: '0' counter(step); }
.step h3 {
  color: #fff;
  font-size: 22px;
  margin: 14px 0 10px;
}
.step p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15.5px; }

/* Тёмная секция «Подход» */
.section--dark {
  position: relative;
  background: var(--green-950);
  color: #fff;
  overflow: hidden;
}
.section--dark .section-title { color: #fff; }
.section--dark .section-lead { color: rgba(255, 255, 255, .72); }
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--dark-bg, none);
  background-size: cover;
  background-position: center;
  opacity: .12;
}
/* Путь задаём в CSS, чтобы url() резолвился относительно этого файла */
#approach { --dark-bg: url('../img/approach.jpg'); }
.section--dark > .container { position: relative; z-index: 1; }

/* ───────────────────────── Полоса-призыв ───────────────────────── */
.cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  padding: clamp(36px, 5vw, 60px);
  border-radius: 26px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 40px); }
.cta p:not(.eyebrow) { margin: 26px 0 0; color: rgba(255, 255, 255, .8); max-width: 44ch; }
.cta__side { display: flex; flex-direction: column; gap: 14px; }
.cta__line {
  display: flex; align-items: center; gap: 14px;
  font-size: 17px; font-weight: 600;
}
.cta__line svg { width: 22px; height: 22px; color: var(--green-400); flex: none; }
.cta__line a:hover { color: var(--green-400); }

/* ───────────────────────── Подвал / Контакты ───────────────────────── */
.footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, .78);
  padding-block: clamp(60px, 8vw, 96px) 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer .logo { color: #fff; margin-bottom: 22px; }
.footer__about { max-width: 40ch; font-size: 15px; color: rgba(255, 255, 255, .62); }
.footer__contacts-wrap { margin-top: 40px; }
.footer h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-400);
  margin: 0 0 20px;
}
.footer__req { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; }
.footer__req li { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.footer__req b { color: rgba(255, 255, 255, .92); font-weight: 700; }
/* Реквизиты в 2 колонки */
.footer__req--cols {
  display: block;
  columns: 2;
  column-gap: 48px;
}
.footer__req--cols li {
  break-inside: avoid;
  margin-bottom: 16px;
}
.footer__req--cols li:last-child { margin-bottom: 0; }
.footer__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.footer__contacts a, .footer__contacts li > span {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 16px;
  transition: color .25s ease;
}
.footer__contacts svg { width: 22px; height: 22px; color: var(--green-400); flex: none; margin-top: 2px; }
.footer__contacts a:hover { color: var(--green-400); }
.footer__contacts small { display: block; font-size: 12px; color: rgba(255, 255, 255, .5); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--green-400); }

/* ───────────────────────── Анимации появления ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ───────────────────────── Адаптив ───────────────────────── */
@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 0; aspect-ratio: 16 / 11; max-width: 560px; width: 100%; }
  .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Бургер-меню появляется на планшетах (≤768px) */
@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: block; }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__link {
    color: var(--ink);
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
  .nav.is-open .nav__link::after { display: none; }
  .nav.is-open .nav__cta { margin-top: 16px; justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .services { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__req--cols { columns: 1; }
}
