/* ─────────────────────────────────────────────
   MONOLIT — construction & design-build
   Индустриальная палитра: графит, бетон, сигнальный жёлтый.
   Узкие заголовки Oswald, острые углы, «чертёжные» детали.
   ───────────────────────────────────────────── */
:root {
  --paper: #eceae4;
  --paper-2: #e2dfd7;
  --ink: #141516;
  --ink-2: #2a2c2e;
  --graphite: #1c1e20;
  --muted: #74716a;
  --yellow: #f5c400;
  --line: rgba(20, 21, 22, .14);
  --line-dark: rgba(255, 255, 255, .12);
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.2, .75, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; border-radius: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }
body.no-scroll { overflow: hidden; }

/* ── Типографика ── */
.h2 { margin: 0; font: 600 clamp(44px, 6.4vw, 104px)/.95 var(--head); text-transform: uppercase; letter-spacing: -.01em; }
.yellow { color: var(--yellow); }
.tag { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tag::before { content: ""; width: 10px; height: 10px; background: var(--yellow); }
.section--dark .tag { color: rgba(255, 255, 255, .55); }
.head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 900px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.head__lead { margin: 22px 0 0; max-width: 560px; font-size: 18px; color: var(--muted); }

/* ── Кнопки ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 30px;
  background: var(--yellow); color: var(--ink); font: 600 15px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.btn:hover { color: var(--yellow); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--line { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line::before { background: var(--yellow); }
.btn--line:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--yellow); }
.btn--sm { padding: 13px 20px; font-size: 13px; }
.btn--full { width: 100%; }

/* ── Навигация ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--pad); color: #fff; transition: background .35s, color .35s, padding .35s, box-shadow .35s; }
.nav.is-solid { background: var(--paper); color: var(--ink); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--yellow); color: var(--ink); font: 700 22px/1 var(--head); }
.logo__word { font: 600 20px/1 var(--head); letter-spacing: .22em; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font: 500 14px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; opacity: .8; transition: opacity .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__phone { font: 500 15px/1 var(--head); letter-spacing: .06em; }
.lang { display: flex; box-shadow: inset 0 0 0 1px currentColor; }
.lang button { padding: 8px 11px; font: 600 12px/1 var(--head); letter-spacing: .1em; opacity: .6; transition: background .25s, color .25s, opacity .25s; }
.lang button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); opacity: 1; }
.burger { display: none; width: 44px; height: 44px; position: relative; background: var(--yellow); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 90px var(--pad) 40px; background: var(--ink); color: #fff; transform: translateY(-100%); transition: transform .6s var(--ease); }
.sheet a:not(.sheet__phone) { font: 600 46px/1.15 var(--head); text-transform: uppercase; }
.sheet a:not(.sheet__phone):hover { color: var(--yellow); }
.sheet__phone { margin-top: 26px; color: var(--yellow); font: 500 20px var(--head); }
.menu-open .sheet { transform: none; }
.menu-open .nav { color: #fff; background: transparent; box-shadow: none; }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 130px var(--pad) 0; color: #fff; background: var(--ink); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,21,22,.92) 0%, rgba(20,21,22,.6) 45%, rgba(20,21,22,.15) 100%), linear-gradient(0deg, rgba(20,21,22,.9) 0%, transparent 40%); }
.hero__blueprint { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bp-grid path { stroke: rgba(255,255,255,.07); stroke-width: 1; fill: none; }
.bp-lines path, .bp-lines circle { fill: none; stroke: var(--yellow); stroke-width: 1.2; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s var(--ease) .5s forwards; opacity: .75; }
.bp-text text { fill: var(--yellow); font: 500 13px var(--head); letter-spacing: .14em; opacity: 0; animation: fade .8s 2.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: .85; } }
.hero__content { position: relative; z-index: 2; align-self: center; max-width: 960px; }
.hero__title { margin: 0 0 30px; font: 700 clamp(64px, 11vw, 188px)/.86 var(--head); text-transform: uppercase; letter-spacing: -.015em; }
.hero__title .row { display: block; overflow: hidden; }
.hero__title .row > span { display: inline-block; transform: translateY(105%); animation: rowUp 1.1s var(--ease) .15s forwards; }
.hero__title .row:nth-child(2) > span { animation-delay: .3s; }
@keyframes rowUp { to { transform: none; } }
.hero__lead { max-width: 560px; margin: 0 0 38px; font-size: 18px; color: rgba(255, 255, 255, .78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.up { opacity: 0; transform: translateY(20px); animation: up .9s var(--ease) forwards; }
.hero__lead.up { animation-delay: .55s; } .hero__cta.up { animation-delay: .7s; } .tag.up { animation-delay: .05s; }
@keyframes up { to { opacity: 1; transform: none; } }
.hero__stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 0; margin-top: 60px; border-top: 1px solid var(--line-dark); }
.hero__stats > div { padding: 26px 48px 30px 0; margin-right: 48px; border-right: 1px solid var(--line-dark); }
.hero__stats b { display: block; font: 600 clamp(38px, 4vw, 58px)/1 var(--head); }
.hero__stats > div > span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.hero__stats .hero__live { border: 0; margin: 0; padding-right: 0; justify-self: end; align-self: center; display: flex; align-items: center; gap: 12px; }
.hero__live i { width: 10px; height: 10px; border-radius: 50%; background: #ff4d3d; box-shadow: 0 0 0 0 rgba(255, 77, 61, .6); animation: live 1.8s infinite; }
.hero__live span { margin: 0 !important; color: #fff !important; font: 500 14px var(--head) !important; letter-spacing: .1em; text-transform: uppercase; }
@keyframes live { 70% { box-shadow: 0 0 0 12px rgba(255, 77, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 61, 0); } }

/* ── Бегущая строка ── */
.ticker { overflow: hidden; background: var(--yellow); padding: 18px 0; }
.ticker__track { display: inline-block; white-space: nowrap; padding-left: 100%; font: 600 clamp(20px, 2.4vw, 30px)/1 var(--head); text-transform: uppercase; letter-spacing: .06em; animation: tick 34s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ── Секции ── */
.section { position: relative; padding: clamp(84px, 12vw, 170px) var(--pad); }
.section--dark { background: var(--ink); color: #fff; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── О компании ── */
.intro__statement { max-width: 1200px; margin: 0 0 clamp(56px, 8vw, 110px); font: 500 clamp(28px, 3.6vw, 54px)/1.18 var(--head); text-transform: uppercase; letter-spacing: -.005em; }
.intro__statement mark { background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 100% 32% no-repeat; color: inherit; padding: 0 .08em; }
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__img { margin: 0; aspect-ratio: 4 / 3.3; overflow: hidden; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.intro__facts { list-style: none; margin: 0; padding: 0; }
.intro__facts li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 30px 0; border-top: 1px solid var(--line); }
.intro__facts li:last-child { border-bottom: 1px solid var(--line); }
.intro__facts b { font: 600 34px/1 var(--head); color: var(--yellow); -webkit-text-stroke: 1px var(--ink); }
.intro__facts h3 { margin: 0 0 8px; font: 600 24px/1.15 var(--head); text-transform: uppercase; }
.intro__facts p { margin: 0; color: var(--muted); }

/* ── Услуги ── */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.svc { position: relative; display: grid; grid-template-columns: 80px 1fr 1fr 60px; gap: 24px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line-dark); cursor: default; }
.svc::before { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: 0; }
.svc > * { position: relative; z-index: 1; transition: color .35s; }
.svc__no { font: 500 18px var(--head); color: rgba(255,255,255,.4); }
.svc h3 { margin: 0; font: 600 clamp(28px, 3.4vw, 50px)/1 var(--head); text-transform: uppercase; }
.svc p { margin: 0; color: rgba(255, 255, 255, .6); font-size: 15px; max-width: 460px; }
.svc__arrow { justify-self: end; width: 48px; height: 48px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-dark); transition: transform .45s var(--ease), background .35s; }
.svc__arrow svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.svc__img { display: none; }
@media (hover: hover) {
  .svc:hover::before { transform: scaleY(1); }
  .svc:hover > * { color: var(--ink); }
  .svc:hover .svc__no, .svc:hover p { color: rgba(20, 21, 22, .7); }
  .svc:hover .svc__arrow { transform: rotate(-45deg); background: var(--ink); color: var(--yellow); }
}
/* Картинка, которая следует за курсором над списком услуг */
.svc-float { position: fixed; top: 0; left: 0; z-index: 30; width: 300px; height: 210px; margin: 0; pointer-events: none; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .4s var(--ease); }
.svc-float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }

/* ── Проекты ── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 12px 18px; box-shadow: inset 0 0 0 1px var(--line); font: 500 14px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; transition: background .25s, color .25s, box-shadow .25s; }
.filters button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--yellow); box-shadow: none; }
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.proj { position: relative; grid-column: span 4; display: block; text-align: left; overflow: hidden; background: var(--ink); color: #fff; transition: opacity .4s, transform .5s var(--ease); }
.proj:nth-child(5n + 1) { grid-column: span 7; }
.proj:nth-child(5n + 2) { grid-column: span 5; }
.proj__img { aspect-ratio: 4 / 3; overflow: hidden; }
.proj:nth-child(5n + 1) .proj__img, .proj:nth-child(5n + 2) .proj__img { aspect-ratio: 16 / 10.4; }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.proj:hover .proj__img img { transform: scale(1.06); filter: brightness(.7); }
.proj__body { position: absolute; inset: auto 0 0; padding: 24px; background: linear-gradient(transparent, rgba(20,21,22,.92)); }
.proj__cat { display: inline-block; margin-bottom: 10px; padding: 5px 9px; background: var(--yellow); color: var(--ink); font: 600 11px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.proj h3 { margin: 0 0 6px; font: 600 26px/1.05 var(--head); text-transform: uppercase; }
.proj__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: rgba(255,255,255,.7); }
.proj__open { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-size: 22px; transform: scale(0) rotate(-90deg); transition: transform .45s var(--ease); }
.proj:hover .proj__open, .proj:focus-visible .proj__open { transform: none; }

/* ── Модальное окно ── */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 11, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal__box { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; width: min(1200px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); animation: pop .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.modal__img { margin: 0; min-height: 420px; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; }
.modal__cat { align-self: flex-start; padding: 6px 10px; background: var(--yellow); font: 600 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.modal h3 { margin: 18px 0 14px; font: 600 clamp(32px, 3.4vw, 48px)/1 var(--head); text-transform: uppercase; }
.modal__desc { color: var(--muted); margin: 0 0 26px; }
.modal__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 30px; border-top: 1px solid var(--line); }
.modal__specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.modal__specs div:nth-child(odd) { padding-right: 16px; }
.modal__specs dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.modal__specs dd { margin: 4px 0 0; font: 600 22px/1.1 var(--head); }
.modal__nav { margin-top: auto; display: flex; gap: 10px; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; background: var(--ink); color: var(--yellow); font-size: 28px; line-height: 1; }

/* ── Этапы ── */
.process__track { position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 28px; height: 2px; background: var(--line-dark); }
.process__line i { display: block; height: 100%; width: 100%; background: var(--yellow); transform: scaleX(var(--p, 0)); transform-origin: left; }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.step { position: relative; padding-top: 80px; }
.step::before { content: attr(data-n); position: absolute; top: 0; left: 0; width: 58px; height: 58px; display: grid; place-items: center; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line-dark); font: 600 20px var(--head); transition: background .4s, color .4s; }
.step.is-done::before { background: var(--yellow); color: var(--ink); box-shadow: none; }
.step h3 { margin: 0 0 10px; font: 600 24px/1.1 var(--head); text-transform: uppercase; }
.step p { margin: 0 0 14px; font-size: 15px; color: rgba(255, 255, 255, .62); }
.step small { font: 500 13px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }

/* ── Калькулятор ── */
.est { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; box-shadow: 0 1px 0 var(--line); }
.est__form { padding: clamp(24px, 4vw, 52px); display: grid; gap: 36px; align-content: start; }
.field__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font: 500 14px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field__value { font: 600 28px/1 var(--head); color: var(--ink); letter-spacing: 0; }
.field__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--muted); }
.field--row { display: flex; gap: 28px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 240px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; box-shadow: inset 0 0 0 1px var(--line); }
.seg--small { grid-template-columns: repeat(3, 1fr); }
.seg button { box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.seg button { position: relative; padding: 18px 14px; font: 500 15px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; text-align: left; box-shadow: 1px 0 0 var(--line); transition: background .25s, color .25s; }
.seg button small { display: block; margin-top: 6px; font: 400 12px/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--yellow); }
.seg button[aria-checked="true"] small { color: rgba(255,255,255,.6); }
.seg--small button { padding: 14px 12px; }
input[type="range"] { width: 100%; height: 4px; appearance: none; -webkit-appearance: none; background: linear-gradient(90deg, var(--ink) var(--fill, 0%), var(--paper-2) var(--fill, 0%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; background: var(--yellow); border: 3px solid var(--ink); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 0; cursor: grab; }
.stepper { display: inline-grid; grid-template-columns: 52px 64px 52px; box-shadow: inset 0 0 0 1px var(--line); }
.stepper button { height: 54px; font-size: 22px; transition: background .2s; }
.stepper button:hover { background: var(--yellow); }
.stepper output { display: grid; place-items: center; font: 600 24px var(--head); box-shadow: 1px 0 0 var(--line), -1px 0 0 var(--line); }
.est__out { display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 4vw, 52px); background: var(--ink); color: #fff; }
.est__out small { display: block; margin-bottom: 8px; font: 500 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.est__price b { display: block; font: 600 clamp(38px, 4vw, 60px)/1 var(--head); color: var(--yellow); }
.est__price span { display: block; margin-top: 8px; color: rgba(255,255,255,.6); font-size: 14px; }
.est__time b { font: 600 30px/1 var(--head); }
.est__bars { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.bar__head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; color: rgba(255,255,255,.75); }
.bar__head b { font-weight: 600; color: #fff; }
.bar__track { height: 6px; background: rgba(255,255,255,.08); }
.bar__fill { height: 100%; background: var(--yellow); width: var(--w, 0%); transition: width .8s var(--ease); }
.est__out .btn { margin-top: auto; }
.est__out .btn::before { background: #fff; }
.est__out .btn:hover { color: var(--ink); }

/* ── Гарантии ── */
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why__big { display: flex; align-items: flex-end; gap: 18px; }
.why__num { font: 700 clamp(200px, 26vw, 400px)/.78 var(--head); color: var(--yellow); }
.why__big p { margin: 0 0 .4em; font: 600 clamp(32px, 3.6vw, 56px)/1 var(--head); text-transform: uppercase; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); box-shadow: 0 0 0 1px var(--line-dark); }
.why__item { padding: 32px; background: var(--ink); transition: background .35s; }
.why__item:hover { background: var(--graphite); }
.why__item svg { width: 40px; height: 40px; margin-bottom: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.6; stroke-linecap: square; }
.why__item h3 { margin: 0 0 8px; font: 600 22px/1.15 var(--head); text-transform: uppercase; }
.why__item p { margin: 0; font-size: 15px; color: rgba(255,255,255,.6); }

/* ── Отзыв ── */
.quote figure { max-width: 1100px; margin: 0 auto; }
.quote blockquote { position: relative; margin: 0 0 36px; font: 500 clamp(26px, 3.2vw, 46px)/1.22 var(--head); text-transform: uppercase; }
.quote blockquote::before { content: "“"; position: absolute; left: -.05em; top: -.62em; font-size: 3em; line-height: 1; color: var(--yellow); z-index: -1; }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote figcaption img { width: 60px; height: 60px; object-fit: cover; filter: grayscale(1); }
.quote figcaption b { display: block; font: 600 18px var(--head); text-transform: uppercase; letter-spacing: .04em; }
.quote figcaption span { color: var(--muted); font-size: 14px; }

/* ── Контакты ── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; filter: grayscale(1); }
.contact__info, .contact__card { position: relative; min-width: 0; }
.contact__info > p { color: rgba(255,255,255,.7); font-size: 18px; max-width: 460px; margin: 28px 0 40px; }
.contact__list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact__list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.contact__list dt { font: 500 13px var(--head); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); padding-top: 2px; }
.contact__list dd { margin: 0; }
.contact__list a:hover { color: var(--yellow); }
.contact__card { padding: clamp(24px, 4vw, 48px); background: var(--paper); color: var(--ink); align-self: start; }
.form { display: grid; gap: 20px; }
.form > *, .form__row > * { min-width: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; }
.form label > span, .form__label { font: 500 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form__label { display: block; margin-bottom: 10px; }
.form input:not([type="checkbox"]):not([type="file"]), .form select, .form textarea {
  width: 100%; padding: 15px 16px; border: 0; border-radius: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 400 16px var(--body); transition: box-shadow .25s;
}
.form textarea { resize: vertical; min-height: 96px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.form .is-invalid { box-shadow: inset 0 0 0 2px #d23b2a !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 11px 14px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; font: 500 14px/1 var(--head); letter-spacing: .04em; transition: background .2s, color .2s; }
.chips button[aria-checked="true"] { background: var(--ink); color: var(--yellow); box-shadow: none; }
.file { display: flex !important; align-items: center; gap: 14px !important; padding: 14px 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; border: 1px dashed transparent; transition: background .2s; }
.file:hover { background: #fffbe6; }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file input:focus-visible + .file__icon { outline: 3px solid var(--yellow); }
.file__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; background: var(--yellow); font: 600 22px/1 var(--head); }
.file__text { font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; font-family: var(--body) !important; color: var(--ink) !important; }
.check { display: flex !important; align-items: flex-start; gap: 12px !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.check span { font: 400 14px/1.4 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink-2) !important; }
.form__error { min-height: 1.2em; margin: -6px 0 0; color: #c0321f; font-size: 14px; font-weight: 500; }
.form__ok { padding: 30px 0; text-align: center; animation: up .7s var(--ease); }
.ok__mark { display: block; width: 76px; height: 76px; margin: 0 auto 22px; background: var(--yellow); position: relative; }
.ok__mark::after { content: ""; position: absolute; left: 26px; top: 16px; width: 18px; height: 34px; border: solid var(--ink); border-width: 0 5px 5px 0; transform: rotate(45deg); }
.form__ok h3 { margin: 0 0 12px; font: 600 36px/1 var(--head); text-transform: uppercase; }
.ok__text { color: var(--muted); max-width: 440px; margin: 0 auto 26px; }

/* ── Футер ── */
.footer { padding: 30px var(--pad) 28px; background: var(--ink); color: rgba(255,255,255,.55); overflow: hidden; }
.footer__word { font: 700 clamp(90px, 23vw, 380px)/.8 var(--head); text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); user-select: none; letter-spacing: .02em; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; }

/* ── Адаптив ── */
@media (max-width: 1160px) {
  .nav__links, .nav__phone { display: none; }
  .burger { display: block; }
  .process__steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .process__line { display: none; }
}
@media (max-width: 900px) {
  .intro__grid, .est, .why, .contact, .modal__box { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 50px 1fr 48px; padding: 26px 0; }
  .svc p { grid-column: 2 / 3; grid-row: 2; }
  .svc__arrow { grid-row: 1 / 3; grid-column: 3; }
  .svc__img { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 8; overflow: hidden; }
  .svc__img img { width: 100%; height: 100%; object-fit: cover; }
  .svc-float { display: none; }
  .proj, .proj:nth-child(5n + 1), .proj:nth-child(5n + 2) { grid-column: span 6; }
  .proj .proj__img, .proj:nth-child(5n + 1) .proj__img, .proj:nth-child(5n + 2) .proj__img { aspect-ratio: 4 / 3.2; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__stats > div { padding-right: 16px; margin-right: 16px; }
  .hero__stats .hero__live { grid-column: 1 / -1; justify-self: start; padding: 0 0 26px; }
  .modal__img { min-height: 260px; max-height: 42vh; }
}
@media (max-width: 700px) {
  .seg:not(.seg--small) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav .btn--sm { display: none; }
  .logo__word { font-size: 17px; }
  .tag { letter-spacing: .1em; font-size: 11px; gap: 8px; }
  .tag::before { width: 8px; height: 8px; }
  .hero { padding-top: 110px; }
  .hero__stats > div { margin-right: 10px; padding: 18px 10px 20px 0; }
  .hero__stats > div > span { font-size: 12px; }
  .proj, .proj:nth-child(5n + 1), .proj:nth-child(5n + 2) { grid-column: 1 / -1; }
  .process__steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 4px; }
  .modal { padding: 0; }
  .modal__box { max-height: 100vh; height: 100%; }
  .modal__specs dd { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .up { opacity: 1; transform: none; }
  .hero__title .row > span { transform: none; }
}
