/* G-Light — стили сайта. Цвета и размеры — в переменных ниже. */
:root {
  --bg: #0a1216;
  --bg-alt: #0d181d;
  --card: rgba(255, 255, 255, .035);
  --card-hover: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --text: #e9eff2;
  --muted: #98a9b2;
  --accent: #7fb8d6;
  --accent-2: #a9d6ec;
  --on-accent: #08141a;
  --radius: 14px;
  --gutter: 20px;
  --max: 1180px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(92, 140, 165, .28), transparent 70%),
    radial-gradient(700px 500px at -10% 30%, rgba(92, 140, 165, .14), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
/* height: auto — чтобы атрибуты width/height в HTML не ломали пропорции */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(34px, 5.2vw, 60px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 22ch; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .02) 20%, rgba(255, 255, 255, .02) 80%, transparent); }
.eyebrow { color: var(--accent); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; }
.note { color: var(--muted); margin-top: 28px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent); font: 600 16px/1 var(--font);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--card-hover); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 18, 22, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 28px; height: 68px; }
/* Логотип-надпись (SVG): буквы цвета текста, молния — фирменный голубой */
.logo { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; }
.logo .wordmark { height: 22px; width: auto; }
.wordmark { display: block; }
.wordmark__dash { fill: var(--accent); }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav__phone { display: none; }
.nav__group { position: relative; }
.nav__drop {
  position: absolute; top: 100%; left: -16px; padding: 12px 0; min-width: 240px;
  background: #0f1c22; border: 1px solid var(--line); border-radius: 12px;
  display: none; flex-direction: column;
}
.nav__drop a { padding: 8px 16px; }
.nav__group:hover .nav__drop, .nav__group:focus-within .nav__drop { display: flex; }
.header__phone { text-decoration: none; font-weight: 600; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); content: ""; transition: .2s;
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Первый экран */
/* Первый экран как титульный слайд: крупный логотип со свечением по центру,
   за ним — мягкий световой «луч» и тонкие линии, как в презентации */
.hero {
  position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 40px;
  background:
    radial-gradient(60% 45% at 50% 22%, rgba(127, 184, 214, .20), transparent 70%),
    linear-gradient(180deg, transparent 0, transparent 70%, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 64px);
}
.hero__center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__kicker { margin: 36px 0 14px; }
.hero__center h1 { font-size: clamp(28px, 3.8vw, 48px); max-width: none; }
.hero__center .lead { margin: 0 auto; }
.hero__areas { margin: 4px 0 0; font-size: clamp(17px, 1.8vw, 22px); color: var(--accent-2); }
.hero__areas span { color: var(--muted); margin: 0 6px; }
/* лёгкая подсветка, без «неона» */
.hero__logo { width: min(520px, 84%); color: #fff; filter: drop-shadow(0 0 28px rgba(127, 184, 214, .16)); }
.hero__logo .wordmark { width: 100%; height: auto; }
/* Сайт ресторанов: логотип без свечения, фоновый «луч» за ним приглушён */
.site-rest .hero__logo { filter: none; }
.site-rest .hero {
  background:
    radial-gradient(60% 45% at 50% 22%, rgba(127, 184, 214, .07), transparent 70%),
    linear-gradient(180deg, transparent 0, transparent 70%, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 64px);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 20px; }

/* Стена заказчиков: плитки «логотип + кто это». Логотипы уже белые (prepare-images, mono) */
.clients__title { color: var(--muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 56px 0 22px; text-align: center; }
.clientwall {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.client {
  background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 30px 18px 20px; min-height: 168px; transition: background .25s;
}
.client:hover { background: #0f1b21; }
/* Заказчики группами (сайт ресторанов): сети — крупно, рестораны и прочие — помельче */
.clientgroup__title { color: var(--accent); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 28px 0 12px; }
.clientgroup__title:first-child { margin-top: 0; }
.clientwall--nets { grid-template-columns: repeat(3, 1fr); }
.clientwall--nets .client { min-height: 210px; }
.clientwall--nets .client img { height: 80px; }
.clientwall--nets .client--tall img { height: 120px; }
.clientwall--4 { grid-template-columns: repeat(4, 1fr); }
.clientwall--4 .client--more:nth-child(4n+3) { grid-column: span 2; } /* плитка «и другие» растягивается, если в ряду осталось место (без пустой клетки) */
.client--more b { font-size: 22px; font-weight: 600; color: var(--muted); }
.clientwall--3 { grid-template-columns: repeat(3, 1fr); }
.clientwall--3 .client { min-height: 140px; }
.client img { height: 54px; width: 78%; object-fit: contain; opacity: .82; transition: opacity .25s; }
.client:hover img { opacity: 1; }
.client--tall img { height: 84px; }
/* очень вытянутые логотипы (Брусника) — даём больше ширины */
.client--wide img { width: 94%; }
.client span { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.section .clientwall { margin-top: 36px; }
.section .clientwall + .grid { margin-top: 18px; }

/* Кейсы: фото + логотип заказчика + факты «объект / сделали / как работали» */
.cases { display: grid; gap: 22px; margin-top: 40px; }
.case {
  display: grid; grid-template-columns: 1.25fr 1fr; background: var(--card);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.case:nth-child(even) .case__media { order: 2; }
.case__media { position: relative; min-height: 400px; overflow: hidden; }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case:hover .case__media img { transform: scale(1.03); }
.case__body { padding: 36px; display: flex; flex-direction: column; }
.case__logos { display: flex; align-items: center; gap: 26px; margin-bottom: 26px; }
.case__logos img { height: 40px; width: auto; max-width: 170px; object-fit: contain; }
.case__logos .case__logo--tall { height: 64px; }
.case h3 { font-size: clamp(22px, 2.2vw, 28px); }
.case__facts { margin: 10px 0 0; display: grid; gap: 16px; }
.case__facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.case__facts dt { color: var(--accent); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.case__facts dd { margin: 4px 0 0; color: #c3d0d6; }
.case__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 24px; }
.case__thumbs img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; width: 100%; }

/* Ползунок «до / после» (js/compare.js): «до» слева, «после» справа, граница в --pos */
.case__media--compare { display: grid; }
.compare { position: relative; overflow: hidden; min-height: 400px; height: 100%; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.case:hover .compare img { transform: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; }
.compare__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--on-accent);
  display: grid; place-items: center; font: 700 20px/1 var(--font); letter-spacing: 2px; box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}
.compare__tag { position: absolute; top: 14px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; pointer-events: none; }
.compare__tag--before { left: 14px; background: rgba(6, 12, 15, .8); }
.compare__tag--after { right: 14px; background: var(--accent); color: var(--on-accent); }
.compare__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; margin: 0; }
.compare__range:focus-visible + .compare__handle, .compare:focus-within .compare__handle { background: var(--accent); }
.case__hint { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
/* Кейс во всю ширину: фото сверху крупно (кадр 3:2), текст ниже в две колонки */
.case--wide { grid-template-columns: 1fr; }
.case--wide .compare { min-height: 0; aspect-ratio: 3 / 2; }
.case--wide .case__body { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; align-items: start; }
.case--wide .case__logos, .case--wide h3 { grid-column: 1 / -1; }
.case--wide .case__facts, .case--wide .case__hint { grid-column: 1; }
.case--wide .case__thumbs { grid-column: 2; grid-row: 3 / span 2; grid-template-columns: repeat(3, 1fr); margin-top: 10px; padding-top: 0; }
/* Для кого: три колонки-аудитории, в каждой — «свои» заказчики как доказательство */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.audience { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.audience__who { color: var(--accent); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.audience__proof { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 15px; }
.audience .ticks { margin-bottom: 22px; }
/* Карточки */
.grid { display: grid; gap: 18px; margin-top: 36px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card--link { text-decoration: none; display: flex; flex-direction: column; transition: background .2s, border-color .2s; }
.card--link:hover { background: var(--card-hover); border-color: rgba(127, 184, 214, .4); }
.more { margin-top: auto; padding-top: 12px; color: var(--accent); font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; color: var(--muted); font-size: 16px; }
.ticks li { padding-left: 22px; position: relative; margin: 6px 0; }
.ticks li::before { content: "↳"; position: absolute; left: 0; color: var(--accent); }

/* Проекты */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.project { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; border: 1px solid var(--line); }
.project--big { grid-column: span 2; }
.project--full { grid-column: 1 / -1; min-height: 480px; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project:hover img { transform: scale(1.03); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6, 12, 15, .92)); }
.project__body { position: relative; z-index: 1; padding: 26px; }
.project__body .ticks { color: #c3d0d6; }
.project__tag { color: var(--accent-2); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 18px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.gallery--2 img { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.ba__title { margin: 48px 0 0; }

/* Этапы */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 20px; }
.steps li::before { content: "0" counter(s); display: block; color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.steps b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15px; }

/* О компании */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; margin-bottom: 20px; }
.about__text p { color: #c3d0d6; }
.about__sign b { display: block; color: var(--text); }
.about__sign span { color: var(--muted); font-size: 14px; }

/* Вопросы */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 36px 22px 0; font-size: 19px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; color: var(--accent); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 12px; }

/* Заявка */
.cta { border-top: 1px solid var(--line); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
/* Контакты: крупный телефон, кнопки мессенджеров с иконками, почта */
.contacts { margin-top: 32px; }
.contacts__label { margin: 22px 0 8px; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.contacts__label:first-child { margin-top: 0; }
.contacts__phone { font-size: clamp(26px, 3vw, 34px); font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.contacts__phone:hover, .contacts__mail:hover { color: var(--accent-2); }
.contacts__mail { font-size: 18px; text-decoration: none; }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.msg {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 10px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text);
  transition: border-color .2s, background .2s, transform .2s;
}
.msg:hover { border-color: rgba(127, 184, 214, .5); background: var(--card-hover); transform: translateY(-1px); }
.msg svg { width: 28px; height: 28px; flex: none; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .25); color: var(--text); font: 16px var(--font);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .invalid, .check.invalid { border-color: #e2846f; color: #f0a594; }
.check { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin: 6px 0 20px; align-items: flex-start; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 14px 0 0; font-size: 15px; min-height: 1.2em; }
.form__status.ok { color: #8fd6a5; }
.form__status.err { color: #f0a594; }

/* Подвал */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.footer a, .footer span { display: block; color: var(--muted); text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: var(--text); }
.footer .logo { display: inline-flex; margin-bottom: 14px; }
.footer__title { color: var(--text); font-weight: 600; margin-bottom: 12px; }
.footer__muted, .footer__legal p { color: var(--muted); }
.quickbar { display: none; }

/* Страницы услуг */
.page-hero { padding: clamp(48px, 7vw, 90px) 0 20px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Увеличение фото по нажатию (js/lightbox.js) */
.gallery img, .ba img, .case__media > img, .case__thumbs img { cursor: zoom-in; transition: opacity .2s; }
.gallery img:hover, .ba img:hover { opacity: .85; }
.gallery img:focus-visible, .ba img:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5, 10, 12, .94);
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.lightbox[hidden] { display: none; }
.lightbox-open { overflow: hidden; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.lightbox__img { max-width: min(1400px, 88vw); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lightbox__cap { color: var(--muted); font-size: 14px; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--text);
  border-radius: 999px; cursor: pointer; display: grid; place-items: center; line-height: 1;
}
.lightbox__close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; font-size: 28px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 32px; }
.lightbox__nav--prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.lightbox__nav--next { right: max(16px, env(safe-area-inset-right, 0px)); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .14); }

/* Было / стало */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; max-width: 900px; }
.ba figure { margin: 0; position: relative; }
.ba img { border-radius: 14px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba figcaption {
  position: absolute; top: 14px; left: 14px; padding: 6px 14px; border-radius: 999px;
  background: rgba(6, 12, 15, .8); font-weight: 600; font-size: 14px;
}
.ba figure + figure figcaption { background: var(--accent); color: var(--on-accent); }
.prose { max-width: 70ch; color: #c3d0d6; }
.prose h2 { color: var(--text); margin-top: 1.6em; }

/* Планшет */
@media (max-width: 1024px) {
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .audiences { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr 1fr; }
  .project--big { grid-column: span 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery--2 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__phone { display: none; }
}

/* Телефон */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav {
    /* шапка с blur становится «рамкой» для fixed, поэтому высоту задаём явно */
    position: fixed; top: 68px; left: 0; right: 0; height: calc(100vh - 68px); background: var(--bg); flex-direction: column;
    padding: 24px var(--gutter); gap: 18px; font-size: 20px; display: none; overflow-y: auto;
  }
  .menu-open .nav { display: flex; }
  .nav a { color: var(--text); }
  .nav__drop { position: static; display: flex; background: none; border: 0; padding: 8px 0 0 14px; min-width: 0; }
  .nav__drop a { font-size: 17px; color: var(--muted); padding: 6px 0; }
  .nav__phone { display: block; color: var(--accent) !important; font-weight: 600; }
  .cta__grid, .about, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero__kicker { margin-top: 30px; }
  .grid--2, .grid--3, .grid--4, .steps, .projects { grid-template-columns: 1fr; }
  .project--big, .project--full { grid-column: auto; }
  .project { min-height: 360px; }
  .clientwall, .clientwall--4 { grid-template-columns: repeat(2, 1fr); border-radius: 14px; }
  .clientwall--4 .client--more:nth-child(4n+3) { grid-column: auto; }
  .clientwall--4 .client--more:nth-child(odd) { grid-column: span 2; } /* на телефоне 2 колонки */
  .clientwall--nets, .clientwall--3 { grid-template-columns: repeat(3, 1fr); }
  .clientwall--nets .client, .clientwall--3 .client { min-height: 110px; padding: 16px 8px 12px; }
  .clientwall--nets .client img { height: 44px; width: 92%; }
  .clientwall--nets .client--tall img { height: 66px; }
  .client { min-height: 128px; padding: 22px 12px 14px; gap: 12px; }
  .client img { height: 40px; }
  .client--tall img { height: 62px; }
  .client span { font-size: 11px; letter-spacing: .08em; }
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__media { order: 0; }
  .case__media { min-height: 260px; }
  /* ползунок: высоту задаёт пропорция от ширины (иначе height:100% растягивал его шире экрана) */
  .case__media--compare { min-height: 0; }
  .compare { min-height: 0; height: auto; aspect-ratio: 1; }
  .case--wide .compare { aspect-ratio: 3 / 2; }
  /* stretch — иначе миниатюры сжимались в полоску (align-items: start от компьютерной сетки) */
  .case--wide .case__body { display: flex; align-items: stretch; }
  .case__body { padding: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .quickbar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(10, 18, 22, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .quickbar a { text-align: center; padding: 16px 4px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--accent-2); }
  .quickbar a + a { border-left: 1px solid var(--line); }
}
