@import url("/assets/fonts.css");

/* ==========================================================================
   alpinizm.pro — высотные работы. Дизайн-система
   палитра: графит + тёплая бумага + сигнальный оранжевый
   ========================================================================== */

:root {
  --ink: #0D1417;
  --ink-2: #1B2529;
  --mut: #5B696E;
  --mut-2: #8A979B;
  --paper: #F7F5F0;
  --paper-2: #EFEBE1;
  --card: #FFFFFF;
  --line: #E3DDD0;
  --line-2: #CEC6B4;
  --acc: #DE4F0E;
  --acc-2: #B23E06;
  --acc-soft: #FBEDE4;
  --deep: #0F2A2E;
  --deep-2: #0B2226;
  --ok: #2F6B4F;

  --wrap: 1240px;
  --r: 3px;
  --sh: 0 1px 2px rgba(13, 20, 23, .05), 0 8px 24px -16px rgba(13, 20, 23, .25);
  --font-h: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --font-b: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.62 var(--font-b);
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open, body.lb-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 600; margin: 0; line-height: 1.1; letter-spacing: -.022em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin: 0 0 .35em; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--font-h); letter-spacing: .16em; text-transform: uppercase;
  color: var(--mut);
}
.eyebrow i { width: 22px; height: 2px; background: var(--acc); display: block; }
.eyebrow.on-dark { color: rgba(255, 255, 255, .66); }
.h2 { font-size: clamp(24px, 2.5vw, 34px); }
.h3 { font-size: 20px; }
.lead { font-size: 18.5px; line-height: 1.55; color: var(--mut); }
.num { font-variant-numeric: tabular-nums; }
.mut { color: var(--mut); }

/* ---------- служебное ---------- */
.sec { padding: 84px 0; }
.sec.tight { padding: 56px 0; }
.sec.paper2 { background: var(--paper-2); }
.sec.white { background: var(--card); }
.sec.dark { background: var(--deep); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 0 0 34px; }
.sec-head .t { max-width: 720px; }
.sec-head .h2 { margin: 14px 0 0; }
.sec-head .sub { margin: 14px 0 0; color: var(--mut); font-size: 16.5px; max-width: 620px; }
.sec-head .right { flex: 0 0 auto; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px; border-radius: var(--r);
  font: 600 14.5px/1 var(--font-h); letter-spacing: .01em;
  border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s;
  white-space: nowrap;
}
.btn-acc { background: var(--acc); color: #fff; }
.btn-acc:hover { background: var(--acc-2); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 13.5px; }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1 var(--font-h); color: var(--acc); border-bottom: 1px solid rgba(222, 79, 14, .35);
  padding-bottom: 3px;
}
.btn-link:hover { border-color: var(--acc); }
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }

/* ---------- шапка ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; gap: 22px; height: 38px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .tb-item svg { width: 13px; height: 13px; opacity: .6; }
.topbar .tb-dot { width: 6px; height: 6px; border-radius: 50%; background: #58B368; box-shadow: 0 0 0 3px rgba(88, 179, 104, .18); }
.topbar a:hover { color: #fff; }
.topbar .tb-grow { margin-left: auto; }

.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.hdr.is-stuck { box-shadow: 0 10px 30px -22px rgba(13, 20, 23, .5); }
.hdr-in { display: flex; align-items: center; gap: 26px; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font: 600 19px/1 var(--font-h); letter-spacing: -.02em; }
.logo-name b { color: var(--acc); font-weight: 600; }
.logo-sub { font: 500 9.5px/1 var(--font-h); letter-spacing: .18em; text-transform: uppercase; color: var(--mut); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav > a, .nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: var(--r);
  font: 500 14.5px/1 var(--font-h); color: var(--ink-2); white-space: nowrap;
}
.nav > a:hover, .nav-drop-btn:hover, .nav-drop.open > .nav-drop-btn { background: rgba(13, 20, 23, .05); }
.nav > a.is-on { color: var(--acc); }
.nav-drop { position: relative; }
.nav-drop-btn i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; }
.nav-drop .mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: 720px; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 24px 60px -30px rgba(13, 20, 23, .45);
  padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 26px;
  opacity: 0; visibility: hidden; transition: .18s;
}
.nav-drop.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-h { font: 600 10.5px/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: var(--mut-2); padding: 6px 10px; }
.mega a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 3px; font-size: 14px; }
.mega a:hover { background: var(--paper); color: var(--acc); }
.mega a span { color: var(--mut); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hdr-tel { display: flex; flex-direction: column; line-height: 1; text-align: right; }
.hdr-tel b { font: 600 16px/1 var(--font-h); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hdr-tel span { font-size: 10.5px; color: var(--mut); margin-top: 5px; letter-spacing: .02em; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 3px; position: relative; }
.burger i, .burger i::before, .burger i::after { position: absolute; left: 50%; width: 18px; height: 1.6px; background: var(--ink); transition: .2s; }
.burger i { top: 50%; transform: translate(-50%, -50%); }
.burger i::before, .burger i::after { content: ''; left: 0; }
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }
body.nav-open .burger i { background: transparent; }
body.nav-open .burger i::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger i::after { top: 0; transform: rotate(-45deg); }

/* мобильное меню */
.nav-mob {
  position: fixed; inset: 112px 0 0; z-index: 55; background: var(--paper);
  padding: 24px 28px 60px; overflow-y: auto; display: none;
}
body.nav-open .nav-mob { display: block; }
.nav-mob a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font: 500 17px/1.2 var(--font-h); }
.nav-mob .nm-h { font: 600 10.5px/1 var(--font-h); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin: 22px 0 6px; }
.nav-mob .nm-sub { padding-left: 14px; font-size: 15px; color: var(--ink-2); }
.nav-mob .nm-cta { margin-top: 24px; }
.nav-mob .nm-cta .btn { width: 100%; margin-bottom: 10px; }

/* ---------- герой ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12.5%);
  mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .25) 70%, transparent);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 66px 0 72px; }
.hero-l { max-width: 680px; }
.hero h1 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.05; letter-spacing: -.035em; margin: 20px 0 0; text-wrap: balance; }
.hero h1 em { font-style: normal; position: relative; }
.hero h1 em::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .24em;
  background: rgba(222, 79, 14, .16); z-index: -1;
}
.hero-lead { margin: 22px 0 0; font-size: 17.5px; line-height: 1.58; color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-pts { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-pts li { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--mut); }
.hero-pts b { display: block; font: 600 17px/1.1 var(--font-h); color: var(--ink); letter-spacing: -.01em; margin-bottom: 5px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.hero-r { position: relative; }
.hero-shot { position: relative; aspect-ratio: 4/3.7; border-radius: 4px; overflow: hidden; background: var(--paper-2); box-shadow: 0 40px 80px -50px rgba(13, 20, 23, .6); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 14, 16, .82) 0%, rgba(8, 14, 16, .45) 24%, rgba(8, 14, 16, 0) 58%); }
.hero-badge {
  position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2; color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.hero-badge .hb-t { font: 600 13px/1.3 var(--font-h); letter-spacing: .01em; }
.hero-badge .hb-s { font: 400 11.5px/1.35 var(--font-b); color: rgba(255, 255, 255, .72); margin-top: 4px; max-width: 210px; }
.hero-badge .hb-n { font: 600 34px/1 var(--font-h); letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-align: right; }
.hero-badge .hb-n span { display: block; font: 500 10px/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .65); margin-top: 6px; }
.hero-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--acc); color: #fff; font: 600 10.5px/1 var(--font-h);
  letter-spacing: .14em; text-transform: uppercase; padding: 9px 11px; border-radius: 2px;
}

/* ---------- направления ---------- */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dir {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.dir:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--sh); }
.dir-ph { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.dir-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dir:hover .dir-ph img { transform: scale(1.04); }
.dir-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 16, 18, .22), transparent 45%); }
.dir-n {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 2px;
  background: rgba(255, 255, 255, .9); color: var(--ink);
  font: 600 11.5px/1 var(--font-h); font-variant-numeric: tabular-nums;
}
.dir-body { padding: 17px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.dir-t { font: 600 17.5px/1.25 var(--font-h); letter-spacing: -.015em; }
.dir-m { margin-top: 7px; font-size: 13px; color: var(--mut); }
.dir-f { margin-top: auto; padding-top: 15px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dir-p { font: 600 15px/1 var(--font-h); color: var(--acc); font-variant-numeric: tabular-nums; }
.dir-p span { font-size: 11.5px; color: var(--mut); font-weight: 400; }
.dir-a { font: 600 12.5px/1 var(--font-h); color: var(--mut); display: inline-flex; align-items: center; gap: 5px; }
.dir:hover .dir-a { color: var(--acc); }

/* ---------- прайс-строки ---------- */
.prices { border-top: 1px solid var(--line); }
.prow {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line); position: relative;
}
.prow:hover .prow-t { color: var(--acc); }
.prow-t { font: 500 16px/1.3 var(--font-h); letter-spacing: -.005em; transition: color .15s; }
.prow-d { font-size: 12.5px; color: var(--mut-2); margin-top: 3px; }
.prow-p { font: 600 15.5px/1 var(--font-h); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prow-p small { font-weight: 400; color: var(--mut); font-size: 12px; }
.prow-p.is-ask { font-weight: 500; font-size: 13.5px; color: var(--mut); }

.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 54px; }
.price-col h3 { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); padding: 26px 0 10px; border-bottom: 1px solid var(--line-2); font-family: var(--font-h); }

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.step { padding: 30px 26px 30px 0; border-right: 1px solid rgba(255, 255, 255, .14); position: relative; }
.step:last-child { border-right: 0; }
.step-n { font: 600 12px/1 var(--font-h); color: var(--acc); letter-spacing: .1em; }
.step-t { font: 600 19px/1.25 var(--font-h); margin: 14px 0 10px; color: #fff; letter-spacing: -.01em; }
.step-d { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .62); margin: 0; }

/* ---------- работы ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.work { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 2px; background: var(--paper-2); display: block; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work:hover img { transform: scale(1.05); }
.work::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 16, 18, .5), transparent 55%); opacity: 0; transition: .2s; }
.work:hover::after { opacity: 1; }
.work-cap { position: absolute; left: 12px; right: 12px; bottom: 10px; color: #fff; font: 500 12px/1.3 var(--font-h); opacity: 0; transition: .2s; z-index: 2; }
.work:hover .work-cap { opacity: 1; }

/* ---------- почему мы ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-it { background: var(--card); padding: 26px 24px 28px; }
.why-i { width: 34px; height: 34px; color: var(--acc); }
.why-t { font: 600 16.5px/1.3 var(--font-h); margin: 16px 0 8px; letter-spacing: -.01em; }
.why-d { font-size: 14px; line-height: 1.55; color: var(--mut); margin: 0; }

/* ---------- клиенты ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 54px; }
.logos img { height: 34px; width: auto; opacity: .5; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logos a:hover img { opacity: 1; filter: none; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 500 17px/1.35 var(--font-h); letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font: 400 22px/1 var(--font-h); color: var(--acc);
  flex: 0 0 auto; transition: transform .2s; margin-top: -2px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 40px 22px 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- CTA-полоса ---------- */
.band { background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.band::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 12.5%);
}
.band-in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: 62px 0; }
.band h2 { font-size: clamp(24px, 2.7vw, 36px); letter-spacing: -.03em; }
.band p { margin: 14px 0 0; color: rgba(255, 255, 255, .68); max-width: 520px; }
.band-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.band-tel { font: 600 26px/1 var(--font-h); letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: center; }
.band-tel span { display: block; font: 500 11px/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 9px; }

/* ---------- подвал ---------- */
.foot { background: var(--deep-2); color: rgba(255, 255, 255, .62); font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: 56px 0 44px; }
.foot .logo-name { color: #fff; }
.foot .logo-sub { color: rgba(255, 255, 255, .45); }
.foot-desc { margin: 18px 0 0; font-size: 13.5px; line-height: 1.6; max-width: 300px; color: rgba(255, 255, 255, .5); }
.foot-h { font: 600 10.5px/1 var(--font-h); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .4); margin-bottom: 16px; }
.foot-l { list-style: none; padding: 0; margin: 0; }
.foot-l li { margin: 0 0 9px; }
.foot-l a:hover { color: #fff; }
.foot-c { display: flex; flex-direction: column; gap: 6px; }
.foot-c b { font: 600 17px/1.2 var(--font-h); color: #fff; font-variant-numeric: tabular-nums; }
.foot-c a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0 26px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-size: 12.5px; color: rgba(255, 255, 255, .38); }
.foot-bottom .fb-r { margin-left: auto; display: flex; gap: 22px; }

/* ---------- хлебные крошки ---------- */
.crumbs { padding: 18px 0 0; font-size: 12.5px; color: var(--mut-2); }
.crumbs a:hover { color: var(--acc); }
.crumbs i { margin: 0 7px; font-style: normal; opacity: .6; }

/* ---------- страница направления ---------- */
.phead { background: var(--paper); border-bottom: 1px solid var(--line); padding: 0 0 46px; }
.phead-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: end; padding-top: 26px; }
.phead h1 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.035em; margin: 12px 0 0; }
.phead .lead { margin: 18px 0 0; max-width: 560px; }
.phead-shot { aspect-ratio: 16/11; overflow: hidden; border-radius: 4px; background: var(--paper-2); box-shadow: 0 30px 60px -46px rgba(13, 20, 23, .55); }
.phead-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.phead-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.phead + .sec { padding-top: 54px; }
.phead + .sec > .wrap > .acc-head:first-child { margin-top: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 2px;
  border: 1px solid var(--line-2); font: 500 12.5px/1 var(--font-h); color: var(--ink-2);
}
.chip b { font-weight: 600; font-variant-numeric: tabular-nums; }
.chip.on { background: var(--acc-soft); border-color: rgba(222, 79, 14, .28); color: var(--acc-2); }

/* ---------- две колонки: контент + сайдбар ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }

/* ---------- prose ---------- */
.prose { font-size: 16.8px; line-height: 1.68; color: var(--ink-2); max-width: 760px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(21px, 2.1vw, 26px); margin: 38px 0 14px; letter-spacing: -.02em; color: var(--ink); }
.prose h3 { font-size: 19px; margin: 28px 0 10px; color: var(--ink); }
.prose p { margin: 0 0 1.05em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 22px; margin: 0 0 .5em; }
.prose li::before {
  content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 2px; background: var(--acc);
}
.prose blockquote { margin: 26px 0; padding: 2px 0 2px 22px; border-left: 2px solid var(--acc); font-size: 18px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font: 600 12.5px/1.2 var(--font-h); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.prose img { margin: 24px 0; border-radius: 3px; }

/* ---------- сайдбар услуги ---------- */
.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 22px; }
.pcard-h { font: 600 10.5px/1 var(--font-h); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.pcard-price { margin: 12px 0 0; font: 600 30px/1 var(--font-h); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pcard-price small { font: 500 13px/1 var(--font-h); color: var(--mut); letter-spacing: 0; }
.pcard-note { font-size: 12.5px; color: var(--mut); margin: 8px 0 0; }
.pcard .btn { width: 100%; margin-top: 16px; }
.pcard-tel { display: block; margin-top: 12px; text-align: center; font: 600 17px/1 var(--font-h); font-variant-numeric: tabular-nums; }
.pcard-tel:hover { color: var(--acc); }
.aside-list { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px 8px; }
.aside-list .al-h { font: 600 10.5px/1 var(--font-h); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin-bottom: 12px; }
.aside-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font: 500 14px/1.3 var(--font-h); }
.aside-list a:last-child { border-bottom: 0; }
.aside-list a:hover { color: var(--acc); }
.aside-list a span { color: var(--mut); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- страница цен ---------- */
.ptable { width: 100%; border-collapse: collapse; }
.ptable th {
  text-align: left; font: 600 10.5px/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase;
  color: var(--mut); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line-2);
}
.ptable td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.ptable td:last-child, .ptable th:last-child { text-align: right; padding-right: 0; }
.ptable .pt-n { font: 500 15.5px/1.3 var(--font-h); }
.ptable .pt-n a:hover { color: var(--acc); }
.ptable .pt-p { font: 600 15px/1 var(--font-h); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable .pt-p small { font-weight: 400; color: var(--mut); font-size: 12px; }
.ptable tr:hover .pt-n { color: var(--acc); }

.acc-head { display: flex; align-items: center; gap: 12px; font: 600 12px/1 var(--font-h); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin: 40px 0 12px; }
.acc-head i { width: 18px; height: 2px; background: var(--acc); }
.acc-head a { color: var(--mut); }
.acc-head a:hover { color: var(--acc); }

/* ---------- галерея ---------- */
.gal { columns: 3; column-gap: 12px; }
.gal a { display: block; margin: 0 0 12px; break-inside: avoid; position: relative; overflow: hidden; border-radius: 2px; }
.gal img { width: 100%; display: block; transition: transform .5s; }
.gal a:hover img { transform: scale(1.03); }

/* ---------- просмотрщик ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 13, 15, .94);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
body.lb-open .lb { display: flex; }
.lb-fig { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 2px; }
.lb-cap { color: rgba(255, 255, 255, .6); font-size: 13px; margin-top: 14px; }
.lb button { position: absolute; color: #fff; font-size: 32px; line-height: 1; width: 52px; height: 52px; display: grid; place-items: center; opacity: .7; }
.lb button:hover { opacity: 1; }
.lb-x { top: 18px; right: 18px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- команда ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tm { background: var(--card); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.tm img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.tm-b { padding: 14px 16px 16px; }
.tm-n { font: 600 16px/1.2 var(--font-h); }
.tm-r { font-size: 12.5px; color: var(--mut); margin-top: 4px; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.ct-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ct-k { font: 600 10.5px/1.4 var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.ct-v { font-size: 16.5px; }
.ct-v b { font: 600 20px/1.2 var(--font-h); font-variant-numeric: tabular-nums; }
.ct-v a:hover { color: var(--acc); }
.map-note { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 22px; font-size: 14px; color: var(--mut); }

/* ---------- поиск ---------- */
.search { position: relative; }
.search input {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 3px;
  background: #fff; font: 400 15px/1 var(--font-b); color: var(--ink);
}
.search input::placeholder { color: var(--mut-2); }
.search-out {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 20px 40px -24px rgba(13, 20, 23, .4);
  display: none; max-height: 380px; overflow-y: auto;
}
.search-out.on { display: block; }
.search-it { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.search-it:last-child { border-bottom: 0; }
.search-it:hover { background: var(--paper); }
.search-it-p { color: var(--acc); font: 600 13px/1 var(--font-h); white-space: nowrap; font-variant-numeric: tabular-nums; }
.search-empty { padding: 14px; font-size: 13.5px; color: var(--mut); }
.search-empty a { color: var(--acc); }

/* ---------- плашка «архивная версия» ---------- */
.notice {
  margin: 16px 0 0; padding: 12px 16px; border-left: 2px solid var(--acc);
  background: var(--acc-soft); color: var(--ink-2); font-size: 13.5px; line-height: 1.5;
  border-radius: 0 3px 3px 0;
}
.notice a { color: var(--acc-2); border-bottom: 1px solid rgba(178, 62, 6, .4); }
.notice a:hover { border-color: var(--acc-2); }

/* ---------- пагинация / список услуг ---------- */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.svc a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.svc a:hover .svc-t { color: var(--acc); }
.svc-t { font: 500 15.5px/1.35 var(--font-h); }
.svc-p { color: var(--acc); font: 600 14px/1 var(--font-h); white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc-p.is-ask { color: var(--mut); font-weight: 500; font-size: 12.5px; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav { gap: 0; }
  .nav > a, .nav-drop-btn { padding: 10px 9px; font-size: 14px; }
  .hdr-in { gap: 16px; }
  .hdr-tel span { display: none; }
}
@media (max-width: 1040px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 52px; }
  .hero-r { max-width: 560px; }
  .hero-shot { aspect-ratio: 16/10; }
  .dirs { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .two { grid-template-columns: 1fr; gap: 34px; }
  .aside { position: static; }
  .phead-in { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .band-in { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .band-cta { max-width: 420px; }
  .contacts { grid-template-columns: 1fr; gap: 34px; }
  .nav { display: none; }
  .burger { display: block; }
  .nav-mob { inset: 112px 0 0; }
  .gal { columns: 2; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .sec { padding: 48px 0; }
  .sec.tight { padding: 38px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero-lead { font-size: 16px; }
  .hero-pts { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .hero-pts b { font-size: 16px; }
  .hero-badge .hb-s { display: none; }
  .hero-badge .hb-n { font-size: 28px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .dirs { grid-template-columns: 1fr; gap: 14px; }
  .why { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); padding: 22px 0; }
  .step:last-child { border-bottom: 0; }
  .price-cols { grid-template-columns: 1fr; gap: 0; }
  .svc { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 30px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .foot-bottom .fb-r { margin-left: 0; }
  .topbar-in { height: 34px; font-size: 11.5px; gap: 12px; }
  .topbar .tb-addr, .topbar .tb-hours { display: none; }
  .hdr-in { height: 62px; gap: 10px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-name { font-size: 16.5px; }
  .logo-sub { display: none; }
  .hdr-tel { display: none; }
  .hdr-r .btn { display: none; }
  .nav-mob { inset: 96px 0 0; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .gal { columns: 2; column-gap: 8px; }
  .gal a { margin-bottom: 8px; }
  .phead { padding-bottom: 34px; }
  .phead + .sec { padding-top: 32px; }
  .phead-shot { max-height: 300px; }
  .prose { font-size: 16px; }
  .prose ul { padding-left: 0; }
  .ct-row { grid-template-columns: 1fr; gap: 4px; }
  .lb { padding: 14px; }
  .lb-prev, .lb-next { display: none; }
  .access-note, .map-note { font-size: 13.5px; }
  .band-tel { font-size: 22px; }
  .logos { gap: 24px 30px; }
  .logos img { height: 26px; }
}
@media (max-width: 420px) {
  .works { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .hdr, .topbar, .foot, .band, .nav-mob, .lb { display: none !important; }
  body { background: #fff; }
}
