/* ============================================================
   ИНЖИНИРИНГОВЫЙ ЦЕНТР «НАС» — стили сайта
   Тёмная индустриальная тема. Адаптивная вёрстка (десктоп/планшет/телефон).

   КАК ПОЛЬЗОВАТЬСЯ ПЕРЕМЕННЫМИ:
   Все цвета, шрифты и отступы вынесены в :root ниже (CSS-переменные).
   Поменяйте значение один раз здесь — оно применится на всём сайте.
   Например, чтобы сменить оранжевый акцент: отредактируйте --orange.
   ============================================================ */

/* ---------- 1) ПЕРЕМЕННЫЕ (единый источник значений) ---------- */
:root {
  /* Фирменные цвета */
  --navy:        #16314D;   /* тёмно-синий (логотип, кнопки) */
  --orange:      #F0791E;   /* основной акцент */
  --orange-600:  #D8650F;   /* оранжевый темнее (наведение) */
  --orange-300:  #FF8A2B;   /* оранжевый светлее (наведение) */

  /* Фоны */
  --bg:    #0E1620;   /* основной фон страницы */
  --bg-2:  #0B131C;   /* фон чередующихся секций */
  --bg-3:  #11202F;   /* фон карточек */
  --ink:   #0A141E;   /* текст на оранжевых кнопках */
  --footer-bg: #080F16;
  --header-h: 70px;  /* высота шапки — уточняется скриптом, см. main.js (для липкого меню) */

  /* Текст */
  --text:    #E7ECF1;  /* основной текст */
  --muted:   #9AA7B4;  /* приглушённый текст */
  --muted-2: #8392A0;  /* ещё приглушённее */
  --faint:   #56616E;  /* самый тусклый (сноски) */

  /* Линии / границы */
  --line:   rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.14);

  /* Шрифты */
  --font-head: 'Oswald', sans-serif;          /* заголовки (узкий, прописные) */
  --font-body: 'Manrope', sans-serif;         /* основной текст */
  --font-mono: 'IBM Plex Mono', monospace;    /* технические подписи */

  /* Геометрия */
  --maxw: 1240px;   /* максимальная ширина контента */
  --pad: 40px;      /* боковые поля на десктопе */
  --radius: 5px;
}

/* ---------- 2) БАЗОВЫЕ СБРОСЫ ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- 3) РАСКЛАДКА ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 72px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Заголовки — «резиновые» размеры через clamp() для адаптива */
h1 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; line-height: 1.05; margin: 0; font-size: clamp(34px, 5.2vw, 58px); }
h2 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; line-height: 1.1;  margin: 0; font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; line-height: 1.15; margin: 0; font-size: 21px; }

.eyebrow { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .2em; color: var(--orange); text-transform: uppercase; margin-bottom: 11px; }
.lead { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.65; color: var(--muted); }
.breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- 4) КНОПКИ ---------- */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-300); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--orange); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--ink); }
.btn--light { background: #fff; color: var(--navy); }

/* ---------- 5) ШАПКА / НАВИГАЦИЯ ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11,19,28,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 13px; padding-bottom: 13px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #14293E; border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.brand__tri { width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 12px solid var(--orange); }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .06em; line-height: 1; }
.brand__name span { color: var(--orange); }
.brand__sub { font-family: var(--font-mono); font-weight: 500; font-size: 9px; letter-spacing: .26em; color: var(--muted-2); margin-top: 3px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #C9D2DB; white-space: nowrap; }
.nav a:hover { color: var(--orange); }
.nav a.is-active { color: var(--orange); }

.header__cta { display: flex; align-items: center; gap: 16px; }
.phone { text-align: right; line-height: 1.1; }
.phone__num { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .03em; white-space: nowrap; }
.phone__name { font-family: var(--font-mono); font-weight: 500; font-size: 9px; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; }
.burger { display: none; background: transparent; border: 1px solid var(--line-2); border-radius: 4px; width: 42px; height: 38px; color: var(--text); font-size: 18px; cursor: pointer; }

/* ---------- 6) ГЕРОЙ (первый экран) ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 78% -10%, #21384F 0%, #122335 44%, #0A141E 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.014) 0 2px, transparent 2px 5px); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 74px 0 78px; }
.hero h1 span { color: var(--orange); }
.hero__p { margin: 22px 0 30px; max-width: 540px; }
.hero__actions { display: flex; gap: 13px; margin-bottom: 34px; flex-wrap: wrap; }
.hero__facts { display: flex; gap: 24px; flex-wrap: wrap; font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; color: var(--muted); }
.hero__facts span b { color: var(--orange); font-weight: 600; }

/* Рамка изображения + анимация «сканера» */
.frame { position: relative; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: var(--bg-3); }
.frame--scan { aspect-ratio: 4/3.4; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.022) 0 11px, transparent 11px 22px); }
.frame__corners::before, .frame__corners::after { content: ""; position: absolute; width: 18px; height: 18px; }
.frame__corners::before { top: 10px; left: 10px; border-left: 2px solid var(--orange); border-top: 2px solid var(--orange); }
.frame__corners::after { bottom: 10px; right: 10px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); }
/*.scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); box-shadow: 0 0 14px 2px rgba(240,121,30,.5); animation: scanY 4.5s ease-in-out infinite; }
@keyframes scanY { 0% { top: 4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 96%; opacity: 0; } }*/
.frame__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: #7C8794; text-transform: uppercase; line-height: 1.7; padding: 16px; }

/* ---------- 7) ПОЛОСА АУДИТОРИИ ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); }
.audience__item { padding: 22px 28px; border-right: 1px solid var(--line); font-weight: 500; font-size: 13px; color: #C9D2DB; }
.audience__item:last-child { border-right: 0; }
.audience__item i { color: var(--orange); font-family: var(--font-mono); font-style: normal; margin-right: 8px; }

/* ---------- 8) УСЛУГИ: краткая сетка ---------- */
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.link-more { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.scard { background: var(--bg); padding: 32px 28px; transition: background .15s; }
.scard:hover { background: #12202E; }
.scard__num { font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--orange); margin-bottom: 16px; }
.scard p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }

/* ---------- 9) УСЛУГИ: подробные блоки ---------- */
.srow { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; padding: 64px 0; }
.srow--rev { grid-template-columns: 1.15fr .85fr; }
.srow__body .tag { font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--orange); letter-spacing: .08em; margin-bottom: 12px; }
.srow__body h2 { margin-bottom: 14px; }
.srow__body p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0 0 20px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.checks div { font-weight: 500; font-size: 13.5px; line-height: 1.5; color: #C9D2DB; }
.checks div::before { content: "›"; color: var(--orange); margin-right: 8px; }

/* Медиа-блок (фото или заглушка) — заполняется из data.js через main.js */
.media { position: relative; aspect-ratio: 4/3.2; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.media__img { width: 100%; height: 100%; object-fit: cover; }
.media__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.022) 0 11px, transparent 11px 22px); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: #7C8794; text-transform: uppercase; line-height: 1.7; padding: 14px; }
.media__ph--glow { background: radial-gradient(circle at 50% 60%, #5a1e08, var(--bg-3) 70%); color: #E0A07A; }
.media__badge { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-weight: 600; font-size: 12px; color: var(--orange); background: rgba(10,18,28,.72); padding: 4px 9px; border-radius: 2px; }

/* ---------- 10) ПРОЦЕСС (шаги) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step__media { margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- 11) ПРЕИМУЩЕСТВА ---------- */
.adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv__item { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: var(--bg-3); }
.adv__item .n { font-family: var(--font-head); font-weight: 600; font-size: 34px; color: var(--orange); margin-bottom: 10px; }
.adv__item h3 { font-size: 17px; margin-bottom: 8px; }
.adv__item p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.adv--bar .adv__item { border: 0; border-left: 2px solid var(--orange); border-radius: 0; background: transparent; padding: 6px 0 6px 18px; }

/* ---------- 12) ЧИПЫ / ТЕГИ ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-family: var(--font-head); font-weight: 600; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #C9D2DB; border: 1px solid var(--line-2); background: transparent; padding: 8px 14px; border-radius: 3px; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.is-active { background: var(--orange); color: var(--bg); border-color: var(--orange); }
.tagline-chips { justify-content: center; }
.tagline-chips .chip { cursor: default; }

/* ---------- 13) ПОРТФОЛИО ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg-3); }
.pcard .media { aspect-ratio: 4/3; border: 0; border-radius: 0; }
.pcard__body { padding: 18px 20px; }
.pcard__body h3 { font-size: 17px; margin-bottom: 6px; }
.pcard__body p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.pcard__tag { position: absolute; top: 10px; left: 10px; font-family: var(--font-mono); font-weight: 600; font-size: 10.5px; color: var(--orange); background: rgba(10,18,28,.78); padding: 4px 8px; border-radius: 2px; text-transform: uppercase; }
.empty { display: none; text-align: center; padding: 50px 0; font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--faint); }

/* ---------- 14) CTA-ПОЛОСА ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--orange) 0%, var(--orange-600) 100%); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 2px, transparent 2px 6px); pointer-events: none; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 56px 0; }
.cta h2 { color: var(--navy); }
.cta p { color: #3A2410; font-weight: 500; margin: 10px 0 0; }
.cta__actions { display: flex; gap: 13px; flex-wrap: wrap; }
.cta--split .cta__inner { display: grid; grid-template-columns: 1fr .9fr; align-items: center; padding: 64px 0; }
/* Слайдер внутри карточек портфолио */
.media {
  position: relative;
  overflow: hidden;
}

.pcard__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.pcard__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Кнопки перелистывания */
.pcard__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard:hover .pcard__nav {
  opacity: 1;
}

.pcard__nav:hover {
  background: var(--orange); /* Использует оранжевый цвет из твоих CSS-переменных */
}

.pcard__nav--prev { left: 8px; }
.pcard__nav--next { right: 8px; }

/* Точки индикаторы */
.pcard__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.pcard__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.pcard__dot.is-active {
  background: var(--orange);
  transform: scale(1.2);
}

/* Оранжевая плашка (РЕВЕРС + ТОКАРНЫЕ) всегда поверх слайдов */
.pcard__tag {
  z-index: 6;
}

/* ---------- 15) ФОРМА ЗАЯВКИ ---------- */
.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; }
.form--panel { background: var(--bg-3); padding: 28px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form textarea { background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font-family: var(--font-body); font-size: 14px; padding: 14px; border-radius: 3px; width: 100%; }
.form textarea { resize: vertical; line-height: 1.5; }
.form .file { border: 1px dashed var(--line-2); border-radius: 3px; padding: 14px; font-family: var(--font-mono); font-size: 12.5px; color: #7C8794; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; text-align: center; }
.form .file input { display: none; }
.form__note { font-size: 11px; line-height: 1.5; color: var(--faint); text-align: center; }
.form__err { margin-top: 2px; padding: 12px 14px; border: 1px solid rgba(240,121,30,.5); background: rgba(240,121,30,.08); border-radius: 3px; font-size: 13px; line-height: 1.5; text-align: center; color: var(--text); }
.form__err a { color: var(--orange); font-weight: 600; text-decoration: none; white-space: nowrap; }
.form__ok { text-align: center; padding: 40px 16px; }
.form__ok .t { font-family: var(--font-head); font-weight: 600; font-size: 23px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.form__ok .d { font-size: 14px; line-height: 1.6; color: var(--muted); }
.form__ok .d small { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }

/* ---------- 16) КОНТАКТЫ ---------- */
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; }
.cinfo { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.crow { background: var(--bg-3); padding: 20px 24px; }
.crow--big { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.crow__k { font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .14em; color: #7C8794; text-transform: uppercase; margin-bottom: 6px; }
.crow__v { font-weight: 500; font-size: 15px; }
.crow__v small { color: var(--faint); font-size: 12px; }
.crow__num { font-family: var(--font-head); font-weight: 700; font-size: 24px; }
.cbtns { display: flex; gap: 11px; }
.cbtns a { flex: 1; text-align: center; background: var(--bg-2); border: 1px solid var(--line-2); color: #C9D2DB; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 13px; border-radius: 3px; }
.cbtns a:hover { border-color: var(--orange); color: var(--orange); }
.map { position: relative; height: 380px; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: var(--bg-2); background-image: repeating-linear-gradient(0deg, rgba(110,170,230,.07) 0 1px, transparent 1px 32px), repeating-linear-gradient(90deg, rgba(110,170,230,.07) 0 1px, transparent 1px 32px); display: flex; align-items: center; justify-content: center; text-align: center; }
.map__pin { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50% 50% 50% 0; background: var(--orange); transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; }
.map__pin i { width: 18px; height: 18px; border-radius: 50%; background: var(--bg-2); transform: rotate(45deg); display: block; }
.map__t { font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; color: #C9D2DB; margin-bottom: 6px; }
.map__d { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: .04em; }

/* О компании: блок контактного лица */
.person { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.person__who { display: flex; align-items: center; gap: 24px; }
.person__ava { width: 84px; height: 84px; border-radius: 50%; background: #14293E; border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: 26px; color: var(--orange); flex: 0 0 auto; }

/* ---------- 17) ПОДВАЛ ---------- */
.footer { background: var(--footer-bg); padding: 50px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer p { font-size: 13.5px; line-height: 1.65; color: var(--muted-2); max-width: 290px; margin: 0; }
.footer__col h4 { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .18em; color: var(--faint); text-transform: uppercase; margin: 0 0 15px; }
.footer__col .links { display: grid; gap: 10px; }
.footer__col .links a { font-weight: 500; font-size: 13.5px; color: #C9D2DB; }
.footer__col .links a:hover { color: var(--orange); }
.footer__phone { font-family: var(--font-head); font-weight: 700; font-size: 19px; display: block; margin-bottom: 8px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; color: var(--faint); letter-spacing: .04em; }

/* ============================================================
   18) АДАПТИВ — планшеты и телефоны
   ============================================================ */

/* Планшет (≤1000px): сужаем поля, прячем телефон-блок в шапке за бургер */
@media (max-width: 1000px) {
  :root { --pad: 24px; }
  .hero__grid { gap: 30px; }
  .scards, .pgrid, .steps { grid-template-columns: repeat(2, 1fr); }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Мобильное меню */
  .burger { display: block; }
  .header__cta .phone, .header__cta .btn { display: none; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 0; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

/* Узкий планшет / большой телефон (≤760px): одна колонка почти везде */
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .hero__grid { grid-template-columns: 1fr; padding: 48px 0 54px; }
  .hero__media { order: -1; }
  .srow, .srow--rev { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .srow__media { order: -1; }
  .contact { grid-template-columns: 1fr; gap: 30px; }
  .cta--split .cta__inner { grid-template-columns: 1fr; gap: 26px; }
  .audience { grid-template-columns: 1fr 1fr; }
  .audience__item:nth-child(2) { border-right: 0; }
}

/* Телефон (≤480px): всё в одну колонку, мельче поля */
@media (max-width: 480px) {
  :root { --pad: 16px; }
  .scards, .pgrid, .steps, .adv, .footer__top { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; }
  .audience__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .scards { border-left: 0; border-right: 0; }
  .form .row2 { grid-template-columns: 1fr; }
  .crow--big { flex-direction: column; align-items: flex-start; }
  .cta__inner { padding: 44px 0; }
  .person__who { gap: 16px; }
}

/* Разрешаем вертикальный скролл страницы при касании слайдера */
.pcard__track {
  touch-action: pan-y;
}

/* На устройствах без мыши (телефоны/планшеты) делаем стрелки всегда слегка видимыми */
@media (hover: none) {
  .pcard__nav {
    opacity: 0.7;
    width: 36px;  /* Увеличиваем область клика под палец */
    height: 36px;
  }
}