/* =========================================================
   BelovStroy KZ — styles
   ========================================================= */
:root {
  --navy-900: #0E141D;
  --navy-800: #131B26;
  --navy-700: #1B2533;   /* логотип */
  --navy-600: #253244;
  --navy-500: #3A4A60;
  --bronze:   #C8925E;   /* логотип */
  --bronze-600: #B07A47;
  --bronze-100: #F3E6D8;
  --paper:    #F5F1EA;
  --bg:       #FFFFFF;
  --bg-muted: #F4F1EC;
  --text:     #1B2533;
  --text-2:   #5A6677;
  --line:     #E4DED4;

  --font-display: "Russo One", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--bronze); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--accent { background: var(--bronze); color: var(--navy-900); }
.btn--accent:hover { background: #D6A273; transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(200,146,94,.7); }
.btn--ghost { border-color: rgba(245,241,234,.3); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(245,241,234,.06); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--bronze); margin-bottom: 20px;
}
.eyebrow__dot { width: 8px; height: 8px; background: var(--bronze); transform: rotate(45deg); }
.eyebrow--dark { color: var(--bronze-600); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { position: relative; flex-shrink: 0; width: 210px; }
.logo { width: 100%; height: auto; transition: opacity .35s; }
.logo--dark { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 600; color: rgba(245,241,234,.85); }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); }
.nav__phone-mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { font-weight: 700; color: var(--paper); font-size: 15px; white-space: nowrap; }

.header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); height: 68px; }
.header.is-scrolled .logo--light { opacity: 0; }
.header.is-scrolled .logo--dark { opacity: 1; }
.header.is-scrolled .nav { color: var(--text-2); }
.header.is-scrolled .nav a:hover { color: var(--text); }
.header.is-scrolled .header__phone { color: var(--text); }
.header.is-scrolled .burger span { background: var(--text); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--paper); margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(200,146,94,.16), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgba(58,74,96,.5), transparent 60%),
    var(--navy-800);
  color: var(--paper);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(245,241,234,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,241,234,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4.3vw, 60px); line-height: 1.06; letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__lead { margin-top: 28px; max-width: 540px; font-size: 19px; color: rgba(245,241,234,.72); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__stats { list-style: none; padding: 0; margin: 56px 0 0; display: flex; gap: 48px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; padding-left: 18px; border-left: 2px solid var(--bronze); }
.hero__stats strong { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--paper); }
.hero__stats span { margin-top: 8px; font-size: 14px; line-height: 1.35; color: rgba(245,241,234,.6); }

.hero__visual { position: relative; width: 100%; max-width: 500px; margin-left: auto; padding: 0 0 56px 56px; }
.hero__photo { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { aspect-ratio: 4 / 5; opacity: 0; animation: fadeUp 1s .2s var(--ease) forwards; }
.hero__photo--sub { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 6px solid var(--navy-800); opacity: 0; animation: fadeUp 1s .5s var(--ease) forwards; }
.hero__visual::before { content: ""; position: absolute; right: -18px; top: -18px; width: 45%; height: 45%; border-top: 2px solid var(--bronze); border-right: 2px solid var(--bronze); border-radius: 0 var(--radius) 0 0; opacity: .7; }

.hero__badge {
  position: absolute; right: -20px; bottom: 96px;
  padding: 18px 22px; border-radius: var(--radius-sm);
  background: rgba(19,27,38,.7); border: 1px solid rgba(245,241,234,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  opacity: 0; animation: fadeUp .8s .9s var(--ease) forwards;
}
.hero__badge-top { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--bronze); font-weight: 700; }
.hero__badge-main { display: block; margin-top: 6px; font-weight: 700; line-height: 1.3; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(245,241,234,.35); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--bronze); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(14px) } }

/* =========================================================
   TICKER
   ========================================================= */
.ticker { background: var(--bronze); color: var(--navy-900); overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; gap: 32px; width: max-content; animation: ticker 32s linear infinite; font-family: var(--font-display); text-transform: uppercase; font-size: 20px; letter-spacing: .02em; }
.ticker__track i { font-style: normal; font-size: 12px; align-self: center; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding: 120px 0; }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--navy-800); color: var(--paper); overflow: hidden; }
.section__head { max-width: 760px; margin-bottom: 64px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4.2vw, 54px); text-transform: uppercase; letter-spacing: -.005em; color: var(--navy-700); }
.section__title--light { color: var(--paper); }
.section__lead { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 620px; }
.section__lead--light { color: rgba(245,241,234,.7); }

/* ---------- Services ---------- */
.svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(27,37,51,.35); border-color: transparent; }
.svc__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-muted); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 24px 24px 26px; }
.svc__num { position: absolute; right: 22px; top: 24px; font-family: var(--font-display); font-size: 14px; color: var(--line); transition: color .3s; }
.svc:hover .svc__num { color: var(--bronze); }
.svc h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; padding-right: 32px; }
.svc p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.svc__more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--bronze-600); }
.svc__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(4px); }
.svc--plain { background: var(--navy-800); border-color: var(--navy-800); color: var(--paper); }
.svc--plain .svc__icon { aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--bronze); background: radial-gradient(circle at 50% 60%, rgba(200,146,94,.16), transparent 60%), linear-gradient(rgba(245,241,234,.05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(245,241,234,.05) 1px, transparent 1px) 0 0 / 28px 28px; }
.svc--plain .svc__icon svg { width: 72px; height: 72px; transition: transform .45s var(--ease); }
.svc--plain:hover .svc__icon svg { transform: scale(1.1); }
.svc--plain p { color: rgba(245,241,234,.65); }
.svc--plain .svc__num { color: rgba(245,241,234,.25); }
.svc--plain .svc__more { color: var(--bronze); }

.swipe-hint { display: none; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.swipe-hint svg { color: var(--bronze-600); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0) } 50% { transform: translateX(4px) } }

/* ---------- Details ---------- */
.details__inner { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.details__intro .btn { margin-top: 36px; }
.details__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 16px; }
.detail { position: relative; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--navy-700); text-align: left; color: var(--paper); }
.detail--2 { grid-row: 2 / span 2; grid-column: 2; }
.detail--1 { grid-row: 1 / span 2; grid-column: 1; }
.detail--3 { grid-row: 1; grid-column: 2; }
.detail--4 { grid-row: 3; grid-column: 1; }
.detail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.detail:hover img { transform: scale(1.06); }
.detail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,20,29,.85), rgba(14,20,29,0) 55%); }
.detail__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-size: 13px; line-height: 1.4; color: rgba(245,241,234,.75); }
.detail__cap strong { display: block; font-size: 16px; color: var(--paper); margin-bottom: 2px; }

/* ---------- Why ---------- */
.why::after { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(200,146,94,.18), transparent 70%); pointer-events: none; }
.why__inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.why__intro { position: sticky; top: 120px; }
.why__intro .btn { margin-top: 36px; }
.why__list { list-style: none; margin: 0; padding: 0; }
.why__item { display: flex; gap: 28px; padding: 32px 0; border-top: 1px solid rgba(245,241,234,.12); }
.why__item:last-child { border-bottom: 1px solid rgba(245,241,234,.12); }
.why__num { font-family: var(--font-display); font-size: 16px; color: var(--bronze); padding-top: 4px; min-width: 32px; }
.why__item h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.why__item p { color: rgba(245,241,234,.65); }

/* ---------- Projects ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { height: 42px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: none; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s; color: var(--text-2); }
.filter:hover { border-color: var(--navy-700); color: var(--text); }
.filter.is-active { background: var(--navy-700); border-color: var(--navy-700); color: var(--paper); }

.projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project { border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.project:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(27,37,51,.35); border-color: transparent; }
.project--wide { grid-column: span 2; }
.project.is-hidden { display: none; }
.project__open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; color: inherit; }
.project__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-muted); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media img { transform: scale(1.05); }
.project--wide .project__media { aspect-ratio: auto; height: 100%; min-height: 0; }
.project__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.project--wide .project__open { display: grid; grid-template-rows: 1fr auto; }
.project--wide .project__media--duo { aspect-ratio: 8 / 5; }
.project__count { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(14,20,29,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--paper); font-size: 12px; font-weight: 700; }
.project__body { display: flex; flex-direction: column; padding: 20px 22px 24px; }
.project__tag { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--bronze-600); margin-bottom: 8px; }
.project__title { display: block; font-size: 19px; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.project__text { display: block; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr auto; background: rgba(10,14,20,.96); color: var(--paper); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; }
.lb__title { font-weight: 800; font-size: 16px; }
.lb__counter { font-size: 14px; color: rgba(245,241,234,.55); margin-left: 12px; font-weight: 600; }
.lb__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 72px; touch-action: pan-y; }
.lb__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; transition: opacity .25s; }
.lb__img.is-loading { opacity: .25; }
.lb__cap { padding: 14px 24px 22px; text-align: center; font-size: 15px; color: rgba(245,241,234,.8); min-height: 1.5em; }
.lb__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(245,241,234,.2); background: rgba(245,241,234,.06); color: var(--paper); cursor: pointer; transition: background .2s, border-color .2s; }
.lb__btn:hover { background: var(--bronze); border-color: var(--bronze); color: var(--navy-900); }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 16px; } .lb__next { right: 16px; }
.lb__btn[hidden] { display: none; }
body.lb-open { overflow: hidden; }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; position: relative; }
.step { position: relative; }
.step__num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-700); color: var(--bronze); font-family: var(--font-display); font-size: 20px; margin-bottom: 24px; box-shadow: 0 0 0 8px var(--bg-muted); transition: background .3s, color .3s; }
.step:hover .step__num { background: var(--bronze); color: var(--navy-900); }
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-2); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.calc__card { background: var(--navy-800); color: var(--paper); border-radius: 24px; padding: 44px; box-shadow: 0 40px 80px -40px rgba(19,27,38,.6); }
.calc__group { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.calc__group legend { padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 15px; color: rgba(245,241,234,.7); }
.calc__group output { color: var(--bronze); font-family: var(--font-display); font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(245,241,234,.2); font-weight: 700; font-size: 15px; transition: all .2s; }
.chip:hover span { border-color: rgba(245,241,234,.5); }
.chip input:checked + span { background: var(--bronze); border-color: var(--bronze); color: var(--navy-900); }
.chip input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 3px; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--bronze) var(--p, 8%), rgba(245,241,234,.15) var(--p, 8%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 6px solid var(--bronze); cursor: grab; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 6px solid var(--bronze); cursor: grab; }
.range__labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: rgba(245,241,234,.45); }

.calc__result { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(245,241,234,.12); }
.calc__label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: rgba(245,241,234,.55); font-weight: 700; }
.calc__price { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); color: var(--bronze); margin: 6px 0 4px; line-height: 1.1; }
.calc__sub { font-size: 14px; color: rgba(245,241,234,.55); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--bronze); box-shadow: 0 16px 40px -24px rgba(27,37,51,.3); }
.faq__item summary { list-style: none; cursor: pointer; padding: 24px 64px 24px 28px; font-weight: 800; font-size: 18px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--bg-muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2533' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--bronze-100); }
.faq__item p { padding: 0 28px 26px; color: var(--text-2); }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(800px 500px at 100% 0%, rgba(200,146,94,.14), transparent 60%), var(--navy-800); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact__list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.contact__list span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--bronze); font-weight: 700; margin-bottom: 6px; }
.contact__list a, .contact__list p { font-size: 17px; font-weight: 600; color: var(--paper); }
.contact__list a:hover { color: var(--bronze); }

.form { background: var(--bg); color: var(--text); border-radius: 24px; padding: 44px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.form__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 26px; margin-bottom: 28px; color: var(--navy-700); }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--bg-muted); font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2533' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); background-color: var(--bg); box-shadow: 0 0 0 4px rgba(200,146,94,.18); }
.field.is-invalid input { border-color: #C2453A; background-color: #FDF3F2; }
.form .btn { margin-top: 8px; }
.form__note { margin-top: 14px; font-size: 13px; color: var(--text-2); text-align: center; }
.form__status { margin-top: 12px; font-weight: 700; text-align: center; min-height: 1em; }
.form__status.is-ok { color: #2E7D4F; }
.form__status.is-err { color: #C2453A; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(245,241,234,.6); padding: 48px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer__logo { width: 190px; height: auto; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.footer__nav a:hover { color: var(--bronze); }
.footer__copy { font-size: 14px; }
.footer__social { display: flex; align-items: center; gap: 12px; }
.footer__social a:not(.footer__phone) { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(245,241,234,.2); color: var(--paper); transition: all .25s; }
.footer__social a:not(.footer__phone):hover { background: var(--bronze); border-color: var(--bronze); color: var(--navy-900); }
.footer__phone { margin-left: 6px; font-weight: 700; color: var(--paper); }
.footer__phone:hover { color: var(--bronze); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8 } 100% { transform: scale(1.6); opacity: 0 } }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   3D (Three.js)
   ========================================================= */
.hero__3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__3d.is-ready { opacity: 1; }
.has-3d .hero > .hero__grid { display: none; }
/* затемнение под текстом — сцена не мешает читать */
.has-3d .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(19,27,38,.92) 0%, rgba(19,27,38,.7) 32%, rgba(19,27,38,0) 62%); }
.has-3d .hero__inner { z-index: 1; }
.has-3d .hero__scroll { z-index: 1; }

/* Фото в первом экране — объёмный параллакс за курсором */
.hero__visual { transform-style: preserve-3d; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.hero__photo--sub { translate: 0 0 70px; }
.hero__badge { translate: 0 0 110px; }

/* 3D-наклон карточек с бликом */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting { transition: transform .12s linear, box-shadow .45s, border-color .3s; }
.tilt-glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), rgba(255,255,255,0) 55%); mix-blend-mode: soft-light; }
.tilt.is-tilting .tilt-glare { opacity: 1; }
.project { position: relative; }

/* ---------- 3D-галерея ---------- */
.showcase { padding-bottom: 72px; background: radial-gradient(1000px 520px at 50% 75%, rgba(200,146,94,.14), transparent 65%), var(--navy-800); }
.showcase .section__head { margin-bottom: 8px; }
.showcase__lead { max-width: 440px; margin-top: 0; }
.showcase__stage { position: relative; height: min(78vh, 760px); min-height: 520px; outline: none; }
.showcase__stage:focus-visible { box-shadow: inset 0 0 0 2px var(--bronze); }
.showcase__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.showcase__canvas.is-grabbing { cursor: grabbing; }
.showcase__ui { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; pointer-events: none; }
.showcase__ui > * { pointer-events: auto; }
.showcase__info { max-width: 520px; opacity: 0; transform: translateY(10px); text-shadow: 0 2px 18px rgba(14,20,29,.9), 0 1px 3px rgba(14,20,29,.8); }
.showcase__info.is-in { animation: scIn .6s var(--ease) forwards; }
@keyframes scIn { to { opacity: 1; transform: none; } }
.showcase__tag { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--bronze); }
.showcase__title { display: block; margin-top: 8px; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; text-transform: uppercase; color: var(--paper); }
.showcase__count { display: block; margin-top: 6px; font-size: 14px; color: rgba(245,241,234,.6); }
.showcase__ctrls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.showcase__btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(245,241,234,.25); background: rgba(19,27,38,.6); color: var(--paper); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.showcase__btn:hover { border-color: var(--bronze); background: rgba(200,146,94,.15); transform: scale(1.06); }
.showcase__hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(245,241,234,.5); pointer-events: none; }
.showcase__hint svg { color: var(--bronze); animation: nudge 1.6s ease-in-out infinite; }
.no-js .showcase { display: none; }

@media (max-width: 960px) {
  .has-3d .hero::after { background: linear-gradient(180deg, rgba(19,27,38,.2) 0%, rgba(19,27,38,.42) 40%, rgba(19,27,38,.2) 100%); }
  .hero__visual { transform: none; }
  .hero__3d { height: 100vh; height: 100svh; }
}
@media (max-width: 640px) {
  .showcase { padding-bottom: 32px; }
  .showcase__stage { height: 540px; min-height: 0; }
  .showcase__ui { flex-direction: column; align-items: stretch; gap: 16px; bottom: 8px; }
  .showcase__info { text-align: center; max-width: none; }
  .showcase__ctrls { justify-content: center; }
  .showcase__open { flex: 1; max-width: 220px; }
  .showcase__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual { transform: none !important; }
  .tilt { transform: none !important; }
}

/* ---------- 3D-точки (общие) ---------- */
.spots { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.spot { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; transition: opacity .3s; will-change: transform; }
.spot span { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--bronze); color: var(--navy-900); font-weight: 800; font-size: 13px; box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 6px 18px -4px rgba(0,0,0,.5); transition: transform .3s var(--ease), background .3s; }
.spot span::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--bronze); animation: spotPulse 2.2s infinite; }
.spot:hover span, .spot.is-active span { transform: scale(1.2); background: var(--paper); }
@keyframes spotPulse { 0% { transform: scale(1); opacity: .9 } 100% { transform: scale(2.1); opacity: 0 } }

/* ---------- Стена в разрезе ---------- */
.wall { position: relative; background: var(--bg-muted); }
.wall__sticky { position: relative; padding: 110px 0; }
.wall__inner { position: relative; z-index: 1; }
.wall__text { max-width: 430px; }
.wall__lead { font-size: 16.5px; }
.wall__layers { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.wall__layer { display: flex; gap: 14px; padding: 10px 12px; border-radius: 12px; transition: background .4s, opacity .4s; }
.wall__layer strong { display: block; font-size: 16px; color: var(--navy-700); }
.wall__layer span:not(.wall__num) { display: block; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.wall__num { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); font-weight: 800; font-size: 13px; color: var(--text-2); transition: all .4s; }
.wall__stage { display: none; }
.has-wall-3d .wall { height: 320vh; }
.has-wall-3d .wall__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--header-h) + 16px) 0 16px; overflow: hidden; display: flex; align-items: center; }
.has-wall-3d .wall__stage { display: block; position: absolute; top: var(--header-h); bottom: 0; left: 40%; right: 0; }
.has-wall-3d .wall__layer { opacity: .45; }
.has-wall-3d .wall__layer.is-active { opacity: 1; background: #fff; box-shadow: 0 14px 30px -18px rgba(27,37,51,.35); }
.wall__layer.is-active .wall__num { background: var(--bronze); border-color: var(--bronze); color: var(--navy-900); }
.wall__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wall .spot span { box-shadow: 0 0 0 2px #fff, 0 6px 18px -4px rgba(27,37,51,.45); }
.wall .spot { pointer-events: none !important; }

/* ---------- Инженерия в 3D ---------- */
.lab { background: radial-gradient(800px 600px at 75% 50%, rgba(200,146,94,.13), transparent 65%), var(--navy-900); }
.lab__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.lab__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.lab__tab { height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(245,241,234,.2); background: none; color: rgba(245,241,234,.75); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s; }
.lab__tab:hover { border-color: rgba(245,241,234,.5); color: var(--paper); }
.lab__tab.is-active { background: var(--bronze); border-color: var(--bronze); color: var(--navy-900); }
.lab__parts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 2px; }
.lab__part { width: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 10px 12px; border: 0; border-radius: 12px; background: none; color: var(--paper); text-align: left; cursor: pointer; transition: background .25s; }
.lab__part:hover { background: rgba(245,241,234,.05); }
.lab__part-num { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(200,146,94,.6); color: var(--bronze); font-weight: 800; font-size: 12.5px; transition: all .25s; }
.lab__part-body strong { display: block; font-size: 15.5px; font-weight: 700; }
.lab__part-body span { display: block; max-height: 0; overflow: hidden; font-size: 14px; line-height: 1.5; color: rgba(245,241,234,.65); transition: max-height .4s var(--ease), margin .4s; }
.lab__parts li.is-active .lab__part { background: rgba(245,241,234,.07); }
.lab__parts li.is-active .lab__part-num { background: var(--bronze); color: var(--navy-900); border-color: var(--bronze); }
.lab__parts li.is-active .lab__part-body span { max-height: 90px; margin-top: 4px; }
.lab__stage { position: relative; height: 680px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(rgba(245,241,234,.03) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(245,241,234,.03) 1px, transparent 1px) 0 0 / 40px 40px; border: 1px solid rgba(245,241,234,.08); }
.lab__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.lab__canvas.is-grabbing { cursor: grabbing; }
.lab__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(245,241,234,.5); pointer-events: none; white-space: nowrap; }
.lab__hint svg { color: var(--bronze); animation: nudge 1.6s ease-in-out infinite; }
.no-js .lab, .no-3d .lab, .lab.is-fallback { display: none; }

@media (max-width: 960px) {
  .lab__inner { grid-template-columns: 1fr; gap: 24px; }
  .lab__intro { display: contents; }
  .lab__intro > * { order: 0; }
  .lab__stage { order: 1; height: 520px; }
  .lab__parts { order: 2; margin-top: 0; }
  .lab__tabs { margin-top: 4px; }
}
@media (max-width: 640px) {
  .lab__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .lab__tabs::-webkit-scrollbar { display: none; }
  .lab__tab { flex-shrink: 0; height: 40px; padding: 0 14px; }
  .lab__stage { height: 440px; margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .spot { left: -13px; top: -13px; width: 26px; height: 26px; }
  .spot span { font-size: 12px; }

  .has-wall-3d .wall__sticky { align-items: flex-end; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .has-wall-3d .wall__stage { left: 0; top: var(--header-h); bottom: 38%; }
  .has-wall-3d .wall__text .eyebrow, .has-wall-3d .wall__lead { display: none; }
  .has-wall-3d .wall__text .section__title { font-size: 24px; }
  .has-wall-3d .wall__layers { margin-top: 12px; }
  .has-wall-3d .wall__layer { display: none; }
  .has-wall-3d .wall__layer.is-active { display: flex; }
  .wall__sticky { padding: 56px 0; }
}

/* ---------- Готовая сантехника ---------- */
.plumb { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.plumb__lead { max-width: 480px; margin-top: 0; }
.plumb__stage { position: relative; height: min(72vh, 680px); min-height: 460px; border-radius: var(--radius); overflow: hidden; background: radial-gradient(900px 500px at 50% 60%, #fff, #efe9df 75%); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(27,37,51,.35); }
.plumb__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.plumb__canvas.is-grabbing { cursor: grabbing; }
.plumb__legend { position: absolute; left: 18px; top: 16px; z-index: 2; list-style: none; margin: 0; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; border-radius: 12px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; color: var(--navy-700); pointer-events: none; }
.plumb__legend li { display: flex; align-items: center; gap: 8px; }
.plumb__legend i { width: 18px; height: 6px; border-radius: 3px; }
.plumb__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); pointer-events: none; white-space: nowrap; }
.plumb__hint svg { color: var(--bronze-600); animation: nudge 1.6s ease-in-out infinite; }
.plumb__facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plumb__facts li { display: flex; gap: 14px; align-items: flex-start; padding-left: 16px; border-left: 2px solid var(--bronze); }
.plumb__facts strong { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--navy-700); }
.plumb__facts span { font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.no-js .plumb, .no-3d .plumb, .plumb.is-fallback { display: none; }
@media (max-width: 960px) { .plumb__facts { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 640px) {
  .plumb__stage { height: 460px; min-height: 0; margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .plumb__legend { left: 12px; right: 12px; top: 10px; justify-content: center; font-size: 12px; gap: 4px 12px; padding: 8px 10px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1320px) {
  .header__phone { display: none; }
}

@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .svcs, .projects { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--navy-800); padding: 12px 24px 28px; color: var(--paper);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    box-shadow: 0 30px 50px -20px rgba(0,0,0,.5);
  }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(245,241,234,.08); font-size: 17px; }
  .nav a::after { display: none; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .header.is-scrolled .nav { color: var(--paper); }
  .header.is-scrolled .nav a:hover { color: var(--bronze); }
  .nav__phone-mobile { display: block; color: var(--bronze); border-bottom: 0 !important; }
  .header__logo { width: 170px; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; margin: 16px auto 0; }
  .hero__scroll { display: none; }
  .svcs { grid-template-columns: repeat(2, 1fr); }
  .details__inner { grid-template-columns: 1fr; gap: 48px; }
  .why__inner, .calc, .faq, .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .why__intro { position: static; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 88px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 32px; }
  .section__title { font-size: clamp(26px, 7.6vw, 32px); }
  .section__lead { margin-top: 14px; font-size: 16px; }
  .eyebrow { margin-bottom: 14px; font-size: 12px; }
  .btn { height: 52px; }

  /* Hero */
  .hero { min-height: 0; padding: calc(var(--header-h) + 28px) 0 48px; }
  .hero__title { font-size: clamp(26px, 7.8vw, 32px); }
  .hero__lead { margin-top: 18px; font-size: 16px; }
  .hero__cta { margin-top: 28px; gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin-top: 32px; }
  .hero__stats li { padding-left: 10px; }
  .hero__stats strong { font-size: 24px; }
  .hero__stats span { font-size: 11.5px; }
  .hero__visual { max-width: 340px; margin-top: 8px; padding: 0 0 36px 36px; }
  .hero__visual::before { right: -8px; top: -10px; }
  .hero__photo--main { aspect-ratio: 5 / 5.6; }
  .ticker { padding: 13px 0; }
  .ticker__track { font-size: 15px; gap: 22px; }

  /* Services — горизонтальная лента со свайпом */
  .svcs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; scrollbar-width: none; }
  .svcs::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 78%; scroll-snap-align: start; }
  .svcs .reveal { opacity: 1; transform: none; }
  .svc__body { padding: 18px 18px 20px; }
  .svc h3 { font-size: 18px; }
  .svc p { font-size: 14.5px; }
  .swipe-hint { display: flex; }

  /* Details */
  .details__intro .btn { width: 100%; margin-top: 24px; }
  .details__grid { grid-auto-rows: 120px; gap: 8px; }
  .detail__cap { left: 10px; right: 10px; bottom: 9px; font-size: 11.5px; }
  .detail__cap strong { font-size: 13.5px; }

  /* Projects — компактная сетка в 2 колонки */
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; height: 40px; padding: 0 16px; }
  .projects { grid-template-columns: 1fr 1fr; gap: 10px; }
  .project { border-radius: var(--radius-sm); }
  .project__body { padding: 11px 12px 13px; }
  .project__tag { font-size: 9.5px; letter-spacing: .06em; margin-bottom: 5px; }
  .project__title { font-size: 14.5px; margin-bottom: 0; }
  .project__text { display: none; }
  .project--wide .project__text { display: block; margin-top: 6px; font-size: 13px; }
  .project__count { left: 8px; top: 8px; padding: 4px 8px; font-size: 11px; gap: 4px; }
  .project--wide .project__media--duo { aspect-ratio: 16 / 11; }

  /* Principles */
  .why__inner { gap: 32px; }
  .why__intro .btn { width: 100%; margin-top: 24px; }
  .why__item { gap: 16px; padding: 20px 0; }
  .why__item h3 { font-size: 18px; margin-bottom: 4px; }
  .why__item p { font-size: 15px; }

  /* Process */
  .process { grid-template-columns: 1fr; row-gap: 22px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .step__num { grid-row: span 2; margin: 0; width: 48px; height: 48px; font-size: 18px; box-shadow: 0 0 0 6px var(--bg-muted); }
  .step h3 { font-size: 17px; margin-bottom: 2px; }
  .step p { font-size: 14.5px; }

  /* Calculator, FAQ, contacts */
  .calc, .faq, .contact__inner { gap: 32px; }
  .calc__card, .form { padding: 24px 18px; border-radius: 18px; }
  .calc__group { margin-bottom: 24px; }
  .chip span { height: 42px; padding: 0 16px; font-size: 14px; }
  .calc__result .btn { width: 100%; }
  .faq__item summary { font-size: 16px; padding: 18px 54px 18px 18px; }
  .faq__item summary::after { right: 16px; }
  .faq__item p { padding: 0 18px 20px; font-size: 15px; }
  .contact__list { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 28px; }
  .contact__list a, .contact__list p { font-size: 15px; }
  .form__title { font-size: 22px; margin-bottom: 20px; }
  .footer { padding: 36px 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 22px; }

  /* Lightbox */
  .lb__top { padding: 12px 12px 12px 16px; }
  .lb__title { font-size: 14px; }
  .lb__stage { padding: 0 8px; }
  .lb__prev, .lb__next { top: auto; bottom: -58px; transform: none; }
  .lb__prev { left: 16px; } .lb__next { right: 16px; }
  .lb__cap { padding: 14px 76px 22px; font-size: 14px; }

  /* Нижняя панель вместо плавающей кнопки */
  .wa-float { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -12px rgba(19,27,38,.25); transition: transform .3s var(--ease); }
  .mbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; font-weight: 800; font-size: 15px; }
  .mbar__btn--call { background: var(--navy-700); color: var(--paper); }
  .mbar__btn--wa { background: #25D366; color: #fff; }
  body.lb-open .mbar, body.menu-open .mbar { transform: translateY(110%); }
}

/* На сенсорных экранах не «залипают» ховер-эффекты */
@media (hover: none) {
  .svc:hover, .project:hover { transform: none; box-shadow: none; }
  .svc:hover .svc__media img, .project:hover .project__media img, .detail:hover img { transform: none; }
  .btn--accent:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
