/* ==========================================================================
   АнгарСтрой — дизайн-система
   Индустриальный премиум: графит, тёплый бетон, сигнальный оранжевый.
   ========================================================================== */

:root {
  --ink: #0B0E13;
  --ink-2: #121720;
  --ink-3: #1B222D;
  --paper: #F3F0EA;
  --paper-2: #E9E4DB;
  --white: #FFFFFF;
  --text: #0B0E13;
  --muted: #5B636F;
  --line: rgba(11, 14, 19, .10);
  --line-light: rgba(255, 255, 255, .12);
  --accent: #FF5B14;
  --accent-2: #FFA21F;
  --grad: linear-gradient(120deg, #FF4A0D 0%, #FF7A1A 48%, #FFB224 100%);
  --wa: #25D366;
  --ok: #1F9D55;
  --error: #D93025;

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);

  --shadow-1: 0 1px 2px rgba(11,14,19,.05), 0 4px 14px rgba(11,14,19,.05);
  --shadow-2: 0 2px 4px rgba(11,14,19,.05), 0 12px 32px rgba(11,14,19,.09);
  --shadow-3: 0 4px 10px rgba(11,14,19,.06), 0 24px 60px -10px rgba(11,14,19,.22);
  --glow: 0 10px 34px -8px rgba(255, 91, 20, .65);
  --glow-lg: 0 16px 50px -8px rgba(255, 91, 20, .8);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 16px/1.65 var(--f-body); color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
/* Зерно плёнки поверх всего — даёт «дорогую» фактуру */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Кнопки ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border: 0; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--grad); color: var(--ink); box-shadow: var(--glow);
  font: 600 16px/1 var(--f-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s;
}
.btn::after { /* блик, пробегающий по кнопке */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { box-shadow: var(--glow-lg); }
.btn:hover::after { transform: translateX(120%); }
.btn .icon { transition: transform .45s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn--lg { --h: 60px; padding: 0 32px; font-size: 17px; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--glass {
  background: rgba(255,255,255,.08); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--glass .icon { color: var(--accent-2); }
.btn--wa { background: var(--wa); color: #05301A; box-shadow: 0 10px 30px -10px rgba(37,211,102,.7); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.08); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  transition: background .3s, transform .4s var(--ease), color .3s;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn--wa:hover { background: var(--wa); color: #05301A; }
.icon-btn--ghost:hover { background: var(--white); color: var(--ink); transform: rotate(90deg); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding-bottom: 6px;
  font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent);
}
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(6px); }

/* ---------- Стекло и чипы ---------- */
.glass {
  background: rgba(18, 23, 32, .55); color: var(--white);
  border: 1px solid var(--line-light);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -20px rgba(0,0,0,.55);
}
.glass--light { background: rgba(247, 244, 239, .96); color: var(--text); border-color: rgba(255,255,255,.6); }

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.chip__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip__dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Полоса прокрутки ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
}

/* ---------- Шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--white);
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.header__inner { display: flex; align-items: center; gap: 20px; height: 84px; transition: height .4s var(--ease); }
.header.is-scrolled, .is-minimal .header {
  background: rgba(11, 14, 19, .78); box-shadow: 0 1px 0 rgba(255,255,255,.07), 0 10px 40px -10px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.header.is-scrolled .header__inner { height: 68px; }
.header.is-hidden { transform: translateY(-100%); }

.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: inherit; }
.logo__mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: var(--grad); color: var(--ink); box-shadow: var(--glow);
}
.logo__mark .icon { width: 26px; height: 26px; }
.logo__text { display: flex; flex-direction: column; min-width: 0; }
.logo__name { font: 800 17px/1.1 var(--f-display); letter-spacing: -.01em; }
.logo__sub { font-size: 11.5px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px 0 14px; margin-left: 8px;
  border: 0; border-radius: 999px; cursor: pointer; color: var(--white); font: 600 15px var(--f-body);
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  transition: background .3s;
}
.menu-btn:hover { background: rgba(255,255,255,.16); }
.menu-btn__lines { display: grid; gap: 5px; width: 18px; }
.menu-btn__lines span { height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), width .4s var(--ease); }
.menu-btn__lines span:last-child { width: 60%; }
.menu-btn:hover .menu-btn__lines span:last-child { width: 100%; }

.header__contacts { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; margin-right: 6px; }
.header__phone-num { font: 700 15px/1.2 var(--f-display); letter-spacing: -.01em; }
.header__hours { font-size: 12px; color: rgba(255,255,255,.55); }

/* ---------- Мега-меню ---------- */
.mega {
  position: fixed; inset: 0; z-index: 150; color: var(--white); overflow-y: auto; overscroll-behavior: contain;
  background: rgba(11, 14, 19, .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.mega.is-open { opacity: 1; visibility: visible; }
.mega__bg {
  position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(800px 500px at 90% -10%, rgba(255,91,20,.22), transparent 60%),
              radial-gradient(700px 500px at -10% 110%, rgba(60,90,120,.35), transparent 60%);
}
.mega__inner { position: relative; padding-top: 22px; padding-bottom: 48px; }
.mega__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mega__label { font: 700 clamp(24px, 3vw, 36px) var(--f-display); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.mega__group { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mega.is-open .mega__group { opacity: 1; transform: none; transition-delay: calc(var(--d) * 60ms + 120ms); }
.mega__thumb { position: relative; aspect-ratio: 16 / 7; border-radius: 18px; overflow: hidden; margin-bottom: 12px; background: var(--ink-3); }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega__group:hover .mega__thumb img { transform: scale(1.07); }
.mega__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,14,19,.9), rgba(11,14,19,.1) 70%); }
.mega__title { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font: 700 15px/1.25 var(--f-display); }
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px;
  border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.72); text-decoration: none; font-size: 15px;
  transition: color .3s, padding .4s var(--ease);
}
.mega__list a .icon { width: 16px; height: 16px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); color: var(--accent); }
.mega__list a:hover { color: var(--white); padding-left: 8px; }
.mega__list a:hover .icon { opacity: 1; transform: none; }
.mega__list a[aria-current] { color: var(--accent-2); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  padding-top: 140px; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  position: absolute; inset: -8% 0 auto; width: 100%; height: 116%; object-fit: cover;
  translate: 0 var(--py, 0px); animation: kenburns 22s var(--ease) both;
}
@keyframes kenburns { from { scale: 1.18; } to { scale: 1.04; } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,14,19,.94) 0%, rgba(11,14,19,.78) 36%, rgba(11,14,19,.25) 72%, rgba(11,14,19,.1) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11,14,19,0) 38%),
    linear-gradient(180deg, rgba(11,14,19,.6) 0%, rgba(11,14,19,0) 22%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 20% 60%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 20% 60%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; left: -10%; bottom: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(255,91,20,.38), transparent); filter: blur(20px);
  animation: breathe 8s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.1); opacity: 1; } }

.hero__inner { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero__content { max-width: 900px; }
.hero__title {
  margin: 24px 0; font-weight: 800; font-size: clamp(36px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -.03em;
  text-wrap: balance;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .w > span { display: inline-block; }
.hero__title .w:last-child > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .hero__title .w > span { transform: translateY(110%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes wordUp { to { transform: none; } }

.hero__subtitle { max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255,255,255,.78); }
.hero__bullets { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.hero__bullets li {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 15px; font-weight: 500;
}
.hero__check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--grad); color: var(--ink); flex: none; }
.hero__check .icon { width: 14px; height: 14px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.js .hero__chip, .js .hero__subtitle, .js .hero__bullets li, .js .hero__actions, .js .hero__card {
  opacity: 0; animation: fadeUp 1s var(--ease) forwards;
}
.js .hero__chip { animation-delay: .05s; }
.js .hero__subtitle { animation-delay: .55s; }
.js .hero__bullets li { animation-delay: calc(.7s + var(--i) * .09s); }
.js .hero__actions { animation-delay: 1s; }
.js .hero__card { animation-delay: 1.15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero__card { width: 330px; padding: 22px; border-radius: 24px; display: grid; gap: 18px; }
.hero__card-row { display: flex; gap: 14px; align-items: flex-start; }
.hero__card-row .icon { width: 22px; height: 22px; color: var(--accent-2); margin-top: 2px; }
.hero__card-row b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hero__card-row span { font-size: 15px; }
.hero__card-wa {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px;
  background: var(--wa); color: #05301A; font-weight: 600; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s;
}
.hero__card-wa .icon:last-child { margin-left: auto; transition: transform .4s var(--ease); }
.hero__card-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(37,211,102,.8); }
.hero__card-wa:hover .icon:last-child { transform: translateX(4px); }

/* Бегущая строка услуг */
.ticker {
  position: relative; border-top: 1px solid rgba(255,255,255,.1); overflow: hidden;
  background: rgba(11,14,19,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.ticker__track { display: flex; width: max-content; padding: 20px 0; animation: marquee 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font: 700 clamp(15px, 1.6vw, 22px) var(--f-display); text-transform: uppercase; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4);
}
.ticker__item::after { content: "✦"; color: var(--accent); -webkit-text-stroke: 0; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--paper2 { background: var(--paper-2); }

.shead { margin-bottom: clamp(32px, 4vw, 56px); }
.shead__eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.shead__eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .5; }
.shead__num {
  display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 999px;
  background: var(--grad); color: var(--ink); font: 700 12px var(--f-display); letter-spacing: 0;
}
.shead__title { font-size: clamp(28px, 4vw, 54px); line-height: 1.06; letter-spacing: -.03em; max-width: 20ch; text-wrap: balance; }
.shead--light { color: var(--white); }
.shead--light .shead__eyebrow { color: rgba(255,255,255,.6); }
.shead--row { margin-bottom: 22px; }
.shead__title--sm { font-size: clamp(22px, 2.6vw, 32px); max-width: none; }

/* ---------- О работах ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.about__media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); background: var(--ink-3); }
.about__media img { position: absolute; inset: -10% 0 auto; width: 100%; height: 120%; object-fit: cover; translate: 0 var(--py, 0px); }
.about__media::after { content: ""; position: absolute; inset: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.25); pointer-events: none; }
.about__badge { position: absolute; left: 24px; bottom: 24px; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 20px; }
.about__badge-num { font: 800 44px/1 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__badge span:last-child { max-width: 190px; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.85); }
.about__text p { font-size: 17px; line-height: 1.75; color: var(--muted); }
.about__text .lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; font-weight: 500; color: var(--text); }

/* ---------- Бенто «Что делаем» ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(230px, auto); gap: 20px; }
.bento__card {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 30px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3), inset 0 0 0 1px rgba(255,91,20,.25); }
.bento__card--photo { grid-row: span 2; color: var(--white); background: var(--ink); }
.bento__card:nth-child(4):last-child { grid-column: span 2; }
.bento__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,14,19,.95) 0%, rgba(11,14,19,.35) 55%, rgba(11,14,19,.15) 100%); }
.bento__card--photo:hover .bento__img { transform: scale(1.07); }
.bento__num {
  font: 800 60px/1 var(--f-display); letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(11,14,19,.18); transition: -webkit-text-stroke-color .4s, color .4s;
}
.bento__card:hover .bento__num { -webkit-text-stroke-color: var(--accent); }
.bento__card--photo .bento__num { -webkit-text-stroke-color: rgba(255,255,255,.5); }
.bento__title { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.bento__text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.bento__card--photo .bento__title { font-size: clamp(22px, 2.2vw, 28px); }
.bento__card--photo .bento__text { color: rgba(255,255,255,.75); font-size: 16.5px; }

/* Подсветка, следующая за курсором */
[data-spot]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 26, .16), transparent 45%);
}
[data-spot]:hover::before { opacity: 1; }
[data-spot] > * { position: relative; z-index: 1; }
[data-spot] > .bento__img { position: absolute; z-index: -2; }

/* ---------- Этапы ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--count, 5), 1fr); gap: 28px; }
.steps__line { position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__line span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.steps__item { position: relative; }
.steps__dot {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 24px;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line), 0 0 0 8px var(--paper);
  font: 700 18px var(--f-display); transition: background .6s var(--ease), box-shadow .6s var(--ease), color .6s;
  transition-delay: calc(var(--d) * 120ms + 200ms);
}
.steps__item.is-in .steps__dot { background: var(--grad); color: var(--ink); box-shadow: var(--glow), 0 0 0 8px var(--paper); }
.steps__title { font-size: 18px; margin-bottom: 8px; }
.steps__text { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Почему мы ---------- */
.why { color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.why__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(1.25); }
.why::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(11,14,19,.35) 30%, rgba(11,14,19,.6) 70%, var(--ink) 100%),
              radial-gradient(700px 400px at 85% 20%, rgba(255,91,20,.25), transparent 70%);
}
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card { position: relative; overflow: hidden; padding: 30px; border-radius: 24px; transition: transform .6s var(--ease), border-color .4s; }
.why__card:hover { transform: translateY(-8px); border-color: rgba(255, 122, 26, .55); }
.why__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: var(--ink); box-shadow: var(--glow); }
.why__icon .icon { width: 24px; height: 24px; }
.why__title { font-size: 19px; margin: 26px 0 10px; }
.why__text { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.7); }

/* ---------- FAQ ---------- */
.faq-sec__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-sec__side { position: sticky; top: 110px; }
.ask-card { position: relative; overflow: hidden; padding: 30px; border-radius: 24px; background: var(--ink); color: var(--white); box-shadow: var(--shadow-3); }
.ask-card::before { content: ""; position: absolute; top: -40%; right: -30%; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,91,20,.45), transparent); pointer-events: none; }
.ask-card > * { position: relative; }
.ask-card__title { font: 700 21px var(--f-display); margin-bottom: 8px; }
.ask-card p { color: rgba(255,255,255,.7); font-size: 15px; }
.ask-card__phone { display: block; margin: 4px 0 18px; font: 700 22px var(--f-display); text-decoration: none; }
.faq__item {
  margin-bottom: 12px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition: box-shadow .5s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255,91,20,.35); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px 22px 28px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17.5px; line-height: 1.4; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--paper-2); transition: transform .5s var(--ease), background .4s, color .4s; }
.faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--grad); color: var(--ink); }
.faq__a { padding: 0 28px 24px; color: var(--muted); font-size: 16px; overflow: hidden; }
.faq__a p:last-child { margin: 0; }

/* ---------- Заявка ---------- */
.cta { position: relative; padding: var(--section) 0; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: -10% 0 auto; z-index: -2; width: 100%; height: 120%; object-fit: cover; translate: 0 var(--py, 0px); }
.cta__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,14,19,.96) 0%, rgba(11,14,19,.8) 42%, rgba(11,14,19,.35) 100%),
              radial-gradient(600px 400px at 10% 100%, rgba(255,91,20,.3), transparent 70%);
}
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cta__sub { max-width: 480px; font-size: 18px; color: rgba(255,255,255,.75); }
.cta__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 32px; }
.cta__phone { display: inline-flex; align-items: center; gap: 14px; font: 700 clamp(22px, 2.6vw, 32px) var(--f-display); text-decoration: none; }
.cta__phone .icon { width: 28px; height: 28px; color: var(--accent); }
.cta__wa { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--wa); color: #05301A; font-weight: 600; text-decoration: none; }
.cta__meta { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-size: 15px; }
.cta__meta .icon { width: 18px; height: 18px; color: var(--accent-2); }

.form { position: relative; display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); }
.form__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.form__title { font: 700 21px var(--f-display); }
.form__tag { max-width: 50%; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border: 0; border-radius: 14px; background: var(--white); color: var(--text);
  font: 500 16px var(--f-body); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s; resize: vertical;
}
.field textarea { min-height: 104px; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px rgba(255,91,20,.14); }
.field__label { position: absolute; left: 18px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transition: all .3s var(--ease); }
.field input:focus + .field__label, .field input:not(:placeholder-shown) + .field__label,
.field textarea:focus + .field__label, .field textarea:not(:placeholder-shown) + .field__label { top: 8px; font-size: 12px; font-weight: 600; color: var(--accent); }
.agree { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.agree input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.agree__box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 7px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s; }
.agree__box .icon { width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: all .3s var(--ease); }
.agree input:checked + .agree__box { background: var(--grad); box-shadow: none; }
.agree input:checked + .agree__box .icon { opacity: 1; transform: none; }
.agree input:focus-visible + .agree__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; font-weight: 600; text-align: center; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: var(--error); }

/* ---------- Цены ---------- */
.prices { display: grid; gap: 4px; padding: 12px 28px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow-2); }
.prices__row { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.prices__row:last-child { border: 0; }
.prices__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.prices__value { font: 700 18px var(--f-display); white-space: nowrap; }
.prices__note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* ---------- Перелинковка ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(48px, 6vw, 80px); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: var(--white);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); font-weight: 500; text-decoration: none;
  transition: background .35s, color .35s, transform .45s var(--ease), box-shadow .45s;
}
.pill .icon { width: 16px; height: 16px; color: var(--accent); transition: transform .4s var(--ease); }
.pill:hover { background: var(--ink); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-3); }
.pill:hover .icon { transform: translateX(4px); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); gap: 20px; }
.tile:first-child:nth-last-child(5), .tile:first-child:nth-last-child(2) { grid-column: span 2; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  border-radius: 24px; overflow: hidden; isolation: isolate; color: var(--white); text-decoration: none; background: var(--ink); box-shadow: var(--shadow-2);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img { transform: scale(1.08); }
.tile__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,14,19,.92) 0%, rgba(11,14,19,.2) 60%, rgba(11,14,19,.05) 100%); }
.tile__count { position: absolute; top: 20px; left: 20px; padding: 6px 12px; border-radius: 999px; background: rgba(11,14,19,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 600; }
.tile__title { font: 700 19px/1.25 var(--f-display); max-width: 85%; }
.tile__go {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: rotate(-45deg); transition: transform .5s var(--ease), background .4s, color .4s;
}
.tile:hover .tile__go { transform: none; background: var(--grad); color: var(--ink); }

/* ---------- SEO-статья ---------- */
.article__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.article__toc {
  position: sticky; top: 100px; padding: 26px; border-radius: 24px; background: var(--white);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
}
.article__toc-title { margin-bottom: 14px; font: 700 15px var(--f-display); }
.article__toc ol { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: toc; }
.article__toc li { counter-increment: toc; }
.article__toc li a {
  display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .3s;
}
.article__toc li a::before { content: counter(toc, decimal-leading-zero); font: 700 12px/1.6 var(--f-display); color: var(--accent); }
.article__toc li a:hover, .article__toc li a.is-active { color: var(--text); }
.article__toc-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--accent); }
.article__toc-cta .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.article__toc-cta:hover .icon { transform: translateX(4px); }
.article__body { max-width: 780px; }
.article__intro p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; font-weight: 500; color: var(--text); }
.article__part { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.article__part:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article__intro + .article__part { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.article__h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; }
.article__h-num { flex: none; font: 800 14px var(--f-display); color: var(--accent); }
.article__part p { font-size: 17px; line-height: 1.75; color: #3E4651; }
.article__list { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; gap: 10px; }
.article__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.55; }
.article__dot { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; flex: none; border-radius: 7px; background: var(--grad); color: var(--ink); }
.article__dot .icon { width: 13px; height: 13px; }

/* ---------- Направления (главная) ---------- */
.dirs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.dirs__head .shead { margin-bottom: 0; }
.dirs__sub { max-width: 440px; margin: 0; color: var(--muted); font-size: 17px; }
.dirs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dir {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 480px; padding: 28px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  color: var(--white); background: var(--ink); box-shadow: var(--shadow-2);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.dir:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.dir__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.dir:hover .dir__img { transform: scale(1.07); }
.dir__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(11,14,19,.97) 0%, rgba(11,14,19,.82) 42%, rgba(11,14,19,.25) 75%, rgba(11,14,19,.35) 100%);
  transition: background .6s;
}
.dir__top { display: flex; align-items: center; justify-content: space-between; }
.dir__num { font: 800 54px/1 var(--f-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); transition: -webkit-text-stroke-color .4s; }
.dir:hover .dir__num { -webkit-text-stroke-color: var(--accent-2); }
.dir__count { padding: 6px 12px; border-radius: 999px; background: rgba(11,14,19,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: 12.5px; font-weight: 600; }
.dir__title { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.2; margin-bottom: 16px; }
.dir__title a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.dir__title a:hover { background-size: 100% 2px; }
.dir__list { list-style: none; margin: 0; padding: 0; }
.dir__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px;
  transition: color .3s, padding .4s var(--ease);
}
.dir__list a .icon { width: 16px; height: 16px; color: var(--accent); opacity: .55; transition: transform .4s var(--ease), opacity .3s; }
.dir__list a:hover { color: var(--white); padding-left: 6px; }
.dir__list a:hover .icon { opacity: 1; transform: translateX(4px); }

.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Подвал ---------- */
.footer { position: relative; padding: clamp(72px, 9vw, 120px) 0 28px; background: var(--ink); color: rgba(255,255,255,.62); overflow: hidden; }
.footer::before { content: ""; position: absolute; top: -200px; right: -100px; width: 600px; height: 600px; background: radial-gradient(closest-side, rgba(255,91,20,.16), transparent); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px 32px; }
.footer__about { grid-row: span 2; max-width: 380px; }
.footer__about p { margin-top: 20px; font-size: 15px; }
.logo--footer { color: var(--white); }
.footer__title { margin-bottom: 14px; color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__col a { font-size: 14.5px; text-decoration: none; transition: color .3s; }
.footer__col a:hover { color: var(--accent-2); }
.footer__contacts {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 56px; padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px;
}
.footer__contacts span { display: inline-flex; align-items: center; gap: 10px; }
.footer__contacts .icon { width: 18px; height: 18px; color: var(--accent); }
.footer__phone { color: var(--white); font: 700 clamp(20px, 2.2vw, 26px) var(--f-display); text-decoration: none; }
.footer__giant {
  margin: 36px 0 8px; text-align: center; white-space: nowrap; user-select: none;
  font: 800 clamp(40px, 9.6vw, 140px)/.9 var(--f-display); letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,.4); }

/* ---------- Мобильная панель связи ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
  display: none; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 22px;
  background: rgba(11,14,19,.82); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.1);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.dock.is-visible { transform: none; }
.dock__btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; border-radius: 16px; color: var(--white); font-size: 12px; font-weight: 600; text-decoration: none; }
.dock__btn .icon { width: 22px; height: 22px; }
.dock__btn--wa .icon { color: var(--wa); }
.dock__btn--accent { background: var(--grad); color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 120px 0 80px; background: var(--ink); color: var(--white); text-align: center; overflow: hidden; }
.notfound__glow { position: absolute; left: 50%; top: 45%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,91,20,.4), transparent); animation: breathe 6s ease-in-out infinite alternate; }
.notfound__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.notfound__code { font: 800 clamp(120px, 26vw, 340px)/.85 var(--f-display); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 20px 60px rgba(255,91,20,.35)); }
.notfound__title { margin: 16px 0 12px; font-size: clamp(24px, 3vw, 40px); }
.notfound__text { color: rgba(255,255,255,.65); margin-bottom: 32px; }

/* ---------- Появление при прокрутке ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal="clip"] img { scale: 1.25; transition: scale 1.8s var(--ease); }
.js [data-reveal="clip"].is-in img { scale: 1; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .header__hours { display: none; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .about__grid, .faq-sec__grid, .cta__grid, .article__grid { grid-template-columns: 1fr; }
  .article__toc { position: static; }
  .about__media { aspect-ratio: 16 / 11; }
  .faq-sec__side { position: static; }
  .mega__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--photo { grid-row: auto; grid-column: span 2; min-height: 340px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps__line { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .steps__line span { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .steps__item { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; }
  .steps__dot { grid-row: span 2; margin: 0; }
  .steps__title { align-self: end; padding-top: 4px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .dirs__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__about { grid-column: 1 / -1; grid-row: auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:first-child:nth-last-child(5) { grid-column: span 2; }
}
@media (max-width: 760px) {
  .header__inner { height: 68px; gap: 10px; }
  .header__phone, .header__cta { display: none; }
  .logo__sub { display: none; }
  .logo__mark { width: 38px; height: 38px; border-radius: 12px; }
  .logo__name { font-size: 15px; }
  .menu-btn { margin-left: auto; padding: 0 14px 0 12px; }
  .header__contacts { margin-left: 0; }
  .hero { padding-top: 112px; }
  .hero__img { object-position: 62% center; }
  .hero__shade { background: linear-gradient(0deg, var(--ink) 8%, rgba(11,14,19,.72) 55%, rgba(11,14,19,.55) 100%); }
  .hero__bullets { flex-direction: column; align-items: flex-start; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .why__grid, .mega__grid, .tiles, .footer__grid, .dirs__grid { grid-template-columns: 1fr; }
  .dir { min-height: 420px; padding: 22px; }
  .notfound__actions { flex-direction: column; width: 100%; }
  .tile, .tile:first-child:nth-last-child(5), .tile:first-child:nth-last-child(2) { grid-column: auto; min-height: 220px; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--photo, .bento__card:nth-child(4):last-child { grid-column: auto; }
  .bento__num { font-size: 48px; }
  .faq__q { padding: 18px 18px 18px 20px; font-size: 16px; }
  .faq__a { padding: 0 20px 20px; }
  .form__tag { display: none; }
  .dock { display: grid; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .btn--lg { --h: 56px; padding: 0 22px; font-size: 16px; }
  .menu-btn__label { display: none; }
  .menu-btn { padding: 0 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="clip"] img { scale: 1; }
  .js .hero__title .w > span, .js .hero__chip, .js .hero__subtitle, .js .hero__bullets li, .js .hero__actions, .js .hero__card { opacity: 1; transform: none; }
}
