/* ФОРТ — стили сайта */
/* Шрифты лежат на сайте (без обращений к Google): Manrope и Unbounded, лицензия SIL OFL 1.1 — assets/fonts/OFL.txt */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --navy: #0d1424;
  --ink: #1e263b;
  --ink-2: #3a4560;
  --muted: #6a7590;
  --steel: #50618e;
  --blue: #006bc9;
  --blue-2: #2f8ef0;
  --blue-soft: #e8f1fb;
  --accent: #ffb81c;
  --accent-ink: #1e1500;
  --done: #17a673;
  --paper: #f3f5f8;
  --line: #dfe4ec;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(13, 20, 36, .06), 0 8px 24px rgba(13, 20, 36, .07);
  --shadow-lg: 0 20px 50px rgba(13, 20, 36, .18);
  --f-head: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hdr: 76px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.4vw, 68px); }
h2 { font-size: clamp(24px, 3vw, 38px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--white); padding: 8px 14px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }

/* --- кнопки --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; transition: .2s ease; white-space: nowrap; background: none; }
.btn .i { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #ffc94d; box-shadow: 0 8px 22px rgba(255, 184, 28, .35); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: var(--white); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-more .i { width: 18px; height: 18px; transition: transform .2s; }
.link-more:hover .i { transform: translateX(4px); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.kicker::before { content: ''; width: 28px; height: 6px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.kicker--light { color: var(--accent); }
.lead { font-size: 19px; color: var(--ink-2); }

/* --- логотип --- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__mark { width: 62px; height: auto; flex: none; }
.logo__mark .mk-a { fill: var(--blue); }
.logo__mark .mk-b { fill: var(--ink); }
.logo__text b { display: block; font: 800 26px/1 var(--f-head); letter-spacing: .02em; }
.logo__text small { display: block; font-size: 9.5px; line-height: 1.25; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 4px; }
.logo--light, .hdr--over .logo { color: var(--white); }
.logo--light .mk-a, .hdr--over .logo .mk-a { fill: var(--white); }
.logo--light .mk-b, .hdr--over .logo .mk-b { fill: rgba(255, 255, 255, .55); }
.logo--light small, .hdr--over .logo small { color: rgba(255, 255, 255, .6); }

/* --- шапка --- */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.hdr__nav { display: flex; gap: 6px; margin-left: auto; }
.hdr__nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: .15s; }
.hdr__nav a:hover { color: var(--blue); background: var(--blue-soft); }
.hdr__nav a[aria-current] { color: var(--ink); background: var(--paper); }
.hdr__aside { display: flex; align-items: center; gap: 18px; }
.hdr__tel { font-weight: 700; font-size: 15px; }
.hdr__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; }
.hdr__burger .i { width: 22px; height: 22px; }
.hdr--over { background: transparent; border-color: transparent; backdrop-filter: none; }
.hdr--over .hdr__nav a, .hdr--over .hdr__tel { color: rgba(255, 255, 255, .86); }
.hdr--over .hdr__nav a:hover, .hdr--over .hdr__nav a[aria-current] { color: var(--white); background: rgba(255, 255, 255, .12); }
.hdr--over .hdr__burger { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: var(--white); }
.has-overlay-hdr main { margin-top: calc(var(--hdr) * -1); }
.has-overlay-hdr .phero--objects { padding-top: calc(var(--hdr) + 72px); }
.mnav { position: fixed; z-index: 49; inset: var(--hdr) 0 0; background: var(--navy); color: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 32px; overflow: auto; }
.mnav[hidden] { display: none; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { font: 700 26px/1.2 var(--f-head); padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mnav nav a[aria-current] { color: var(--accent); }
.mnav__contacts { display: flex; flex-direction: column; gap: 14px; font-weight: 700; font-size: 18px; }
.mnav__contacts small { display: block; font-size: 13px; color: rgba(255, 255, 255, .5); font-weight: 500; }

/* --- рельсы (мотив) --- */
.rails { height: 14px; background:
  linear-gradient(var(--steel), var(--steel)) 0 2px / 100% 2px no-repeat,
  linear-gradient(var(--steel), var(--steel)) 0 10px / 100% 2px no-repeat,
  repeating-linear-gradient(90deg, rgba(80, 97, 142, .55) 0 6px, transparent 6px 26px); opacity: .7; }

/* --- секции --- */
.sec { padding: 110px 0; }
.sec--tight { padding: 64px 0; }
.sec--paper { background: var(--paper); }
.sec--dark { background: var(--navy); color: var(--white); }
.sec--dark .kicker { color: var(--accent); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.shead h2 { margin: 0; max-width: 760px; }
.shead .kicker { margin-bottom: 14px; }
.hint { color: var(--muted); font-size: 14px; }
.h-sub { font-size: 22px; margin: 56px 0 24px; }

/* --- главная: hero --- */
.hero { position: relative; min-height: min(100vh, 900px); min-height: min(100svh, 900px); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--navy); }
.hero__slides img, .hero__slides video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 9s linear; }
.hero__slides img.is-on, .hero__slides video.is-on { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 36, .55) 0%, rgba(13, 20, 36, .25) 35%, rgba(13, 20, 36, .85) 78%, var(--navy) 100%), linear-gradient(90deg, rgba(13, 20, 36, .7), transparent 70%); }
.hero__in, .ohero__in, .ahero__in { width: 100%; }
.hero__in { position: relative; padding-top: calc(var(--hdr) + 80px); padding-bottom: 56px; }
.hero h1 { max-width: 900px; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { max-width: 640px; font-size: 19px; color: rgba(255, 255, 255, .82); margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(13, 20, 36, .5); backdrop-filter: blur(10px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px 30px; border-left: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font: 700 clamp(32px, 4vw, 50px)/1 var(--f-head); color: var(--white); margin-bottom: 10px; }
.stat span { font-weight: 700; }
.stat small { color: rgba(255, 255, 255, .55); font-size: 13px; }

/* --- главная: о компании --- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.about__cities { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.about__cities div { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.about__cities b { display: block; font-family: var(--f-head); font-size: 15px; margin-bottom: 4px; }
.about__cities span { font-size: 14px; color: var(--muted); }
.about__media { position: relative; height: 560px; }
.about__media img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about__img1 { inset: 0 18% 22% 0; width: 82%; height: 78%; }
.about__img2 { right: 0; bottom: 0; width: 56%; height: 48%; border: 6px solid var(--white); }
.about__badge { position: absolute; left: -28px; bottom: 36px; background: var(--blue); color: var(--white); padding: 20px 24px; border-radius: var(--radius); max-width: 240px; box-shadow: var(--shadow-lg); }
.about__badge b { display: block; font: 700 30px/1 var(--f-head); margin-bottom: 6px; }
.about__badge span { font-size: 13px; line-height: 1.4; opacity: .9; }

/* --- услуги --- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.svc { position: relative; background: var(--navy); padding: 40px 34px 36px; transition: background .25s; }
.svc:hover { background: #142039; }
.svc__n { position: absolute; top: 28px; right: 30px; font: 600 13px var(--f-head); color: rgba(255, 255, 255, .3); }
.svc__i { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; }
.svc h3 { font-size: 19px; margin-bottom: 12px; }
.svc p { color: rgba(255, 255, 255, .66); font-size: 15px; margin: 0; }

/* --- конструкции --- */
.constr-list { display: grid; gap: 28px; }
.constr { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.constr:nth-child(even) .constr__media { order: 2; }
.constr__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.constr__body { padding: 48px; }
.constr__body h3 { font-size: 24px; }
.constr__body p { color: var(--ink-2); }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { display: flex; gap: 10px; font-weight: 600; font-size: 14.5px; }
.checks .i { color: var(--done); width: 20px; height: 20px; stroke-width: 2.4; }

/* --- преимущества --- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); transition: .25s; }
.adv:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.adv .i { width: 34px; height: 34px; color: var(--blue); margin-bottom: 20px; stroke-width: 1.6; }
.adv h3 { font-size: 17px; }
.adv p { color: var(--muted); font-size: 15px; margin: 0; }

/* --- команда --- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { margin: 0; background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.person img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 22px; }
.person blockquote { margin: 0 0 24px; font-size: 15.5px; color: var(--ink-2); flex: 1; }
.person figcaption b { display: block; font-family: var(--f-head); font-size: 15px; font-weight: 600; }
.person figcaption span { font-size: 13.5px; color: var(--muted); }

/* --- заказчики --- */
.clients { padding: 80px 0; }
.clients__in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: center; }
.clients__in p { color: var(--muted); margin: 0; }
.clients__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.clients__logos figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px; min-height: 180px; }
.clients__logos img { max-height: 90px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: .25s; }
.clients__logos figure:hover img { filter: none; opacity: 1; }
.clients__logos figcaption { font-size: 13px; color: var(--muted); text-align: center; font-weight: 600; }

/* --- CTA --- */
.cta { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -60px; top: -40px; width: 520px; height: 520px; background: url("../img/brand/fort-logo-white.png") no-repeat 0 50% / auto 70%; opacity: .06; pointer-events: none; }
.cta__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 17px; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta__phones { display: flex; gap: 28px; flex-wrap: wrap; }
.cta__phones a { font: 600 18px var(--f-head); }
.cta__phones small { display: block; font: 500 13px var(--f-body); opacity: .7; }

/* --- подвал --- */
.ftr { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.ftr__brand p { margin: 20px 0 14px; max-width: 320px; }
.ftr__mail { color: var(--white); font-weight: 700; }
.ftr h3 { font: 600 15px var(--f-head); color: var(--white); margin-bottom: 14px; }
.ftr h3 small { display: block; font: 500 12.5px var(--f-body); color: rgba(255, 255, 255, .45); margin-top: 4px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a:hover { color: var(--white); }
.ftr__col p { margin: 0 0 8px; }
.ftr__col p a { color: var(--white); font-weight: 700; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .42); }

/* --- шапки внутренних страниц --- */
.phero { position: relative; padding: 72px 0 64px; background: var(--paper); overflow: hidden; }
.phero h1 { margin-bottom: 18px; }
.phero__lead { max-width: 720px; font-size: 18px; color: var(--ink-2); margin: 0; }
.phero__in { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--blue); }
.crumbs > * + *::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs--light { color: rgba(255, 255, 255, .7); }
.crumbs--light a:hover { color: var(--white); }

.phero--objects { background: var(--navy); color: var(--white); padding: 84px 0 72px; }
.phero--objects .phero__lead { color: rgba(255, 255, 255, .75); }
.phero--objects .crumbs { color: rgba(255, 255, 255, .6); }
.phero__mosaic { position: absolute; inset: 0 0 0 44%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; opacity: .55; }
.phero__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.phero--objects::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 42%, rgba(13, 20, 36, .7) 65%, rgba(13, 20, 36, .35)); }
.kpis { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.kpis div { padding: 16px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); min-width: 150px; }
.kpis b { display: block; font: 700 32px/1 var(--f-head); margin-bottom: 6px; }
.kpis span { font-size: 13.5px; color: rgba(255, 255, 255, .65); }

.program { background: var(--blue); color: var(--white); }
.program__in { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.program__num { display: flex; align-items: baseline; gap: 8px; }
.program__num b { font: 800 72px/1 var(--f-head); }
.program__num span { font: 600 26px var(--f-head); opacity: .8; }
.program h2 { font-size: 22px; margin-bottom: 8px; }
.program p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 820px; }

/* --- фильтры --- */
.toolbar { position: sticky; top: var(--hdr); z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); padding: 16px 0 12px; margin: -16px 0 28px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.toolbar__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.toolbar__end { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.toolbar__count { margin: 0; font-size: 13.5px; color: var(--muted); }
.seg { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: .15s; }
.seg button i, .chips button i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.seg button.is-on { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(13, 20, 36, .14); }
.chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: var(--white); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; transition: .15s; }
.chips button:hover { border-color: var(--ink-2); }
.chips button.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips button.is-on i { color: rgba(255, 255, 255, .6); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--active { background: var(--accent); }
.dot--done { background: var(--done); }
.search { flex: 1 1 260px; max-width: 380px; margin-left: auto; position: relative; display: flex; align-items: center; }
.search .i { position: absolute; left: 14px; color: var(--muted); width: 18px; height: 18px; }
.search input { width: 100%; padding: 11px 14px 11px 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); outline: none; transition: .15s; }
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.sort select { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; background: var(--white); font-weight: 600; color: var(--ink); font-size: 13.5px; }
.view { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.view button { border: 0; background: var(--white); width: 38px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.view button.is-on { background: var(--ink); color: var(--white); }
.view .i { width: 17px; height: 17px; }
.empty { text-align: center; padding: 64px 0; color: var(--muted); }

/* --- карточки объектов --- */
.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ocard { min-width: 0; }
.ocard[hidden] { display: none; }
.ocard__link { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ocard__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ocard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.ocard__media img, .ocard__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ocard__link:hover .ocard__media img { transform: scale(1.06); }
.card__photos { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(13, 20, 36, .72); color: var(--white); font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); }
.card__photos .i { width: 15px; height: 15px; }
.ocard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ocard__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.ocard__city { font-size: 13px; color: var(--muted); font-weight: 600; }
.ocard__title { font-size: 19px; margin-bottom: 8px; }
.ocard__desc { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ocard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.card__stage { font: 600 12.5px var(--f-head); color: var(--steel); }
.ocard__go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--blue); }
.ocard__go .i { width: 16px; height: 16px; transition: transform .2s; }
.ocard__link:hover .ocard__go .i { transform: translateX(4px); }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--active { background: #fff4d6; color: #8a5b00; }
.badge--active::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 184, 28, .3); animation: pulse 2s infinite; }
.badge--done { background: #dcf5ea; color: #0c6b49; }
.badge--na { background: var(--paper); color: var(--muted); }
.badge--brand { background: var(--blue); color: var(--white); }
.badge--brand::before { display: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 184, 28, 0); } }

/* заглушка без фото */
.ph { position: relative; display: grid; place-items: center; text-align: center; background:
  linear-gradient(var(--steel), var(--steel)) 50% 0 / 2px 100% no-repeat,
  repeating-linear-gradient(0deg, transparent 0 22px, rgba(80, 97, 142, .25) 22px 30px),
  linear-gradient(135deg, #e7ebf2, #d6dce8); }
.ph::before, .ph::after { content: ''; position: absolute; top: 0; bottom: 0; width: 3px; background: var(--steel); opacity: .6; }
.ph::before { left: 38%; }
.ph::after { right: 38%; }
.ph span { position: relative; z-index: 1; background: rgba(255, 255, 255, .92); padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--steel); }

/* лента: крупная карточка */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat-grid .ocard--lead { grid-column: span 2; grid-row: span 2; }
.feat-grid .ocard--lead .ocard__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.feat-grid .ocard--lead .ocard__body { flex: none; }
.feat-grid .ocard--lead .ocard__title { font-size: 26px; }
.feat-grid .ocard:not(.ocard--lead) .ocard__desc { -webkit-line-clamp: 2; }

/* вид списком */
.obj-grid.is-list { grid-template-columns: 1fr; gap: 14px; }
.obj-grid.is-list .ocard__link { flex-direction: row; }
.obj-grid.is-list .ocard__media { width: 280px; flex: none; aspect-ratio: 16 / 10; }
.obj-grid.is-list .ocard__body { padding: 20px 28px; }
.obj-grid.is-list .ocard__foot { border: 0; padding-top: 0; }

/* --- страница объекта --- */
.ohero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); background: var(--navy); overflow: hidden; }
.ohero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ohero__bg--ph { background: repeating-linear-gradient(0deg, transparent 0 40px, rgba(255, 255, 255, .05) 40px 52px), linear-gradient(135deg, #1e263b, #0d1424); }
.ohero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 36, .35), rgba(13, 20, 36, .2) 40%, rgba(13, 20, 36, .92)); }
.ohero__in { position: relative; padding-top: 140px; padding-bottom: 64px; }
.ohero h1 { max-width: 920px; margin-bottom: 16px; }
.ohero p { max-width: 760px; font-size: 18px; color: rgba(255, 255, 255, .82); margin-bottom: 28px; }
.ohero__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .8); }
.ohero__meta > span:not(.badge) { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .3); }
.ohero .crumbs { margin-bottom: 40px; }
.odet { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.odet__main h2 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; line-height: 1.35; }
.odet__main p { font-size: 17px; color: var(--ink-2); max-width: 720px; }
.odet__aside { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 12px; }
.facts { margin: 0 0 8px; background: var(--paper); border-radius: var(--radius); padding: 8px 24px; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border: 0; }
.facts dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; font-size: 14.5px; }
.omap { margin-top: 32px; }
.omap__ph { position: relative; height: 340px; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-weight: 700; color: var(--blue); border: 1px solid var(--line); background:
  linear-gradient(rgba(0, 107, 201, .06) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, rgba(0, 107, 201, .06) 1px, transparent 1px) 0 0 / 28px 28px, var(--blue-soft); transition: .2s; }
.omap__ph:hover { background-color: #dcebfa; }
.omap__ph .i { width: 36px; height: 36px; stroke-width: 1.5; }
.omap__ph iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 10px; }
.gal__item { position: relative; overflow: hidden; border-radius: 10px; background: var(--paper); cursor: zoom-in; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gal__item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gal__item.is-wide { grid-column: span 2; }
.gal__item.is-tall { grid-row: span 2; }
.gal__item.is-big { grid-column: span 2; grid-row: span 2; }
.gal__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 20, 36, .6); color: var(--white); font: 700 22px var(--f-head); }
.nophotos { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 24px; }
.nophotos .ph { height: 180px; border-radius: 10px; }
.nophotos h2 { font-size: 22px; }
.nophotos p { margin: 0; color: var(--muted); }

.onav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; }
.onav a > span { min-width: 0; }
.onav a { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); font: 600 16px var(--f-head); transition: .2s; }
.onav a:hover { border-color: var(--blue); color: var(--blue); }
.onav small { display: block; font: 600 12.5px var(--f-body); color: var(--muted); margin-bottom: 4px; }
.onav__next { justify-content: flex-end; text-align: right; }
.onav__all { flex-direction: column; justify-content: center; gap: 6px !important; font-size: 13px !important; font-family: var(--f-body) !important; font-weight: 700 !important; }
.obj-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* --- лайтбокс --- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 12, 22, .96); display: grid; grid-template-rows: auto 1fr auto; color: var(--white); opacity: 0; transition: opacity .2s; }
.lb.is-on { opacity: 1; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-weight: 700; font-size: 14px; }
.lb__stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.lb__stage img { max-width: calc(100vw - 160px); max-height: calc(100vh - 190px); object-fit: contain; border-radius: 6px; transition: opacity .2s, transform .25s; user-select: none; -webkit-user-drag: none; }
.lb__stage img.is-loading { opacity: .3; }
.lb__btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); display: grid; place-items: center; transition: .15s; }
.lb__btn:hover { background: rgba(255, 255, 255, .22); }
.lb__btn .i { width: 22px; height: 22px; }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 20px; }
.lb__next { right: 20px; }
.lb__thumbs { display: flex; gap: 6px; padding: 12px 20px 18px; overflow-x: auto; scrollbar-width: thin; justify-content: safe center; }
.lb__thumbs button { flex: none; width: 74px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; opacity: .5; background: none; transition: .15s; }
.lb__thumbs button.is-on { opacity: 1; border-color: var(--accent); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* --- новости --- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ncard[hidden] { display: none; }
.ncard > a { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .25s; }
.ncard > a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ncard__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.ncard__media img, .ncard__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ncard > a:hover .ncard__media img { transform: scale(1.05); }
.ncard__own { position: absolute; left: 12px; top: 12px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ncard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ncard time { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.ncard h3 { font: 700 16.5px/1.35 var(--f-body); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ncard p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.ncard__src { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--blue); }
.ncard__src .i { width: 15px; height: 15px; }

.nlead { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--navy); color: var(--white); border-radius: calc(var(--radius) + 4px); overflow: hidden; margin-bottom: 56px; transition: .25s; }
.nlead:hover { box-shadow: var(--shadow-lg); }
.nlead__media { min-height: 380px; overflow: hidden; }
.nlead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.nlead:hover .nlead__media img { transform: scale(1.04); }
.nlead__body { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-content: center; }
.nlead__body time { font-size: 14px; color: rgba(255, 255, 255, .6); font-weight: 600; }
.nlead__body h2 { font-size: clamp(22px, 2.3vw, 30px); margin: 0; }
.nlead__body p { color: rgba(255, 255, 255, .75); margin: 0 0 10px; }
.toolbar--news { margin-bottom: 28px; }

/* статья */
.ahero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: var(--white); background: var(--navy); overflow: hidden; }
.ahero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ahero__in { position: relative; padding-top: 140px; padding-bottom: 56px; }
.ahero h1 { font-size: clamp(28px, 4vw, 50px); max-width: 1000px; }
.ahero p { max-width: 760px; font-size: 18px; color: rgba(255, 255, 255, .82); margin: 0; }
.adet { display: grid; grid-template-columns: 1fr 360px; gap: 64px; padding-top: 72px; padding-bottom: 24px; align-items: start; }
.prose { max-width: 740px; font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; color: var(--ink); }
.adet__aside { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 12px; }
.brief { background: var(--paper); border-radius: var(--radius); padding: 24px; }
.brief h3 { font-size: 16px; }
.brief .facts { padding: 0; background: none; }
.brief .facts div { grid-template-columns: 110px 1fr; }
.brief__num { margin-top: 8px; padding: 18px 20px; background: var(--blue); color: var(--white); border-radius: 10px; }
.brief__num b { display: block; font: 700 28px var(--f-head); }
.brief__num span { font-size: 13px; opacity: .85; }

/* --- контакты --- */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.office { display: grid; grid-template-rows: auto 260px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.office__body { padding: 32px; }
.office__map { border: 0; border-top: 1px solid var(--line); border-radius: 0; height: auto; }
.clist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.clist li { display: flex; gap: 12px; align-items: flex-start; }
.clist .i { color: var(--blue); margin-top: 2px; }
.clist a { font-weight: 700; }
.clist a:hover { color: var(--blue); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.panel h2 { font-size: 24px; margin-bottom: 24px; }
.deps { list-style: none; padding: 0; margin: 0; }
.deps li { display: grid; grid-template-columns: 1fr auto 32px; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.deps li:last-child { border: 0; }
.deps span { font-size: 14.5px; color: var(--ink-2); }
.deps a { font-weight: 700; color: var(--blue); font-size: 14.5px; }
.reqs { margin: 0 0 24px; }
.reqs div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.reqs dt { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.reqs dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.copy { flex: none; width: 32px; height: 32px; border-radius: 8px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; transition: .15s; }
.copy:hover { background: var(--paper); color: var(--blue); }
.copy .i { width: 16px; height: 16px; }
.copy.is-done { color: var(--done); }
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.form-intro p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.form { display: grid; gap: 16px; background: var(--paper); padding: 36px; border-radius: calc(var(--radius) + 4px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.form input, .form select, .form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; background: var(--white); font-weight: 500; font-size: 15px; outline: none; transition: .15s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.form .check input { width: 18px; height: 18px; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__errors { background: #fde4e4; color: #a12828; border-radius: 10px; padding: 12px 16px; font-weight: 600; font-size: 14.5px; }
.form__errors p { margin: 0; }
.form--sent h3 { font-size: 22px; margin: 0; }
.form--sent p { color: var(--ink-2); margin: 0; }
.form__note { font-size: 14px; color: var(--done); font-weight: 600; margin: 0; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: 0; transition: .25s; z-index: 200; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf h1 { font-size: 120px; color: var(--blue); }

/* --- появление --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- адаптив --- */
@media (max-width: 1180px) {
  .hdr__tel { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid .ocard--lead { grid-row: auto; }
  .news-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --hdr: 66px; }
  .hdr__nav, .hdr__aside { display: none; }
  .hdr__burger { display: inline-flex; }
  .sec { padding: 80px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .about__grid, .clients__in, .cta__in, .odet, .adet, .form-wrap, .contacts-grid, .offices { grid-template-columns: 1fr; gap: 40px; }
  .about__media { height: 460px; }
  .about__badge { left: 16px; }
  .svc-grid, .adv-grid, .team, .obj-grid, .obj-grid--3, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .constr { grid-template-columns: 1fr; }
  .constr:nth-child(even) .constr__media { order: 0; }
  .constr__media img { min-height: 260px; max-height: 340px; }
  .nlead { grid-template-columns: 1fr; }
  .nlead__media { min-height: 260px; }
  .phero__mosaic { inset: 0; opacity: .25; }
  .phero--objects::after { background: linear-gradient(180deg, rgba(13, 20, 36, .7), var(--navy)); }
  .odet__aside, .adet__aside { position: static; }
  .program__in { grid-template-columns: 1fr; gap: 12px; }
  .toolbar { position: static; }
  .search { max-width: none; margin-left: 0; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec { padding: 64px 0; }
  .sec--tight { padding: 44px 0; }
  .logo__mark { width: 50px; }
  .logo__text b { font-size: 22px; }
  .logo__text small { display: none; }
  .hero__in { padding-bottom: 36px; }
  .hero__lead, .lead { font-size: 17px; }
  .stat { padding: 18px 14px 20px; }
  .stat small { display: none; }
  .about__cities, .checks, .form__row { grid-template-columns: 1fr; }
  .about__media { height: 340px; }
  .about__badge { padding: 14px 16px; bottom: 16px; max-width: 200px; }
  .about__badge b { font-size: 24px; }
  .svc-grid, .adv-grid, .team, .obj-grid, .obj-grid--3, .news-grid, .news-grid--4, .feat-grid, .clients__logos { grid-template-columns: 1fr; }
  .feat-grid .ocard--lead { grid-column: auto; }
  .feat-grid .ocard--lead .ocard__media { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
  .feat-grid .ocard--lead .ocard__title { font-size: 20px; }
  .constr__body, .panel, .form, .office__body { padding: 24px; }
  .svc { padding: 30px 24px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
  .shead { margin-bottom: 28px; }
  .kpis div { min-width: 0; flex: 1 1 40%; padding: 12px 14px; }
  .kpis b { font-size: 24px; }
  .program__num b { font-size: 52px; }
  .toolbar__end { margin-left: 0; width: 100%; justify-content: space-between; }
  .seg { width: 100%; }
  .seg button { flex: 1; justify-content: center; padding: 9px 10px; font-size: 13px; }
  .obj-grid.is-list .ocard__link { flex-direction: column; }
  .obj-grid.is-list .ocard__media { width: 100%; }
  .ohero { min-height: 70vh; }
  .ohero__in { padding-top: 110px; padding-bottom: 40px; }
  .facts div { grid-template-columns: 110px 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 6px; }
  .gal__item.is-wide, .gal__item.is-big { grid-column: span 2; }
  .gal__item.is-big { grid-row: span 2; }
  .nophotos { grid-template-columns: 1fr; }
  .onav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .onav__all { display: none !important; }
  .onav a { padding: 16px; font-size: 14px; gap: 10px; }
  .lb__stage img { max-width: 100vw; max-height: calc(100vh - 170px); border-radius: 0; }
  .lb__prev, .lb__next { display: none; }
  .nlead__body { padding: 28px 24px; }
  .deps li { grid-template-columns: 1fr 32px; }
  .deps li span { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
  .reqs div { grid-template-columns: 1fr; gap: 2px; }
  .cta__phones { flex-direction: column; gap: 12px; }
  .cta::after { display: none; }
}

/* --- страницы конструктора --- */
.pb { max-width: 900px; }
.pb > * + * { margin-top: 28px; }
.pb-heading { margin-top: 48px !important; }
.pb-heading--3 { font-size: 20px; }
.prose p, .pb-text p { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 22px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.pb-note { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 10px; padding: 18px 22px; color: var(--ink-2); }
.pb-note p { margin: 0 0 .4em; }
.pb-image { margin: 0; }
.pb-image .gal__item { display: block; border-radius: var(--radius); overflow: hidden; }
.pb-image img { width: 100%; height: auto; }
.pb-image--wide img { max-height: 520px; object-fit: cover; }
.pb-image figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.pb-gallery { grid-auto-rows: 160px; }
.pb-stats { display: flex; flex-wrap: wrap; gap: 14px; }
.pb-stats > div { flex: 1 1 200px; background: var(--blue); color: var(--white); border-radius: var(--radius); padding: 22px 24px; }
.pb-stats b { display: block; font: 700 30px/1.1 var(--f-head); margin-bottom: 6px; }
.pb-stats span { font-size: 14px; opacity: .88; }
.pb-features .pb-num { display: block; font: 600 13px var(--f-head); color: var(--muted); margin-bottom: 12px; }
.pb-docs { list-style: none; padding: 0; display: grid; gap: 10px; }
.pb-docs a { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; }
.pb-docs a:hover { border-color: var(--blue); }
.pb-docs__icon { flex: none; font: 700 12px var(--f-head); background: #fde4e4; color: #a12828; padding: 8px 10px; border-radius: 6px; }
.pb-docs b { display: block; }
.pb-docs small { color: var(--muted); }
.pb-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--paper); border-radius: var(--radius); padding: 28px 32px; }
.pb-cta h2 { font-size: 22px; margin-bottom: 6px; }
.pb-cta p { margin: 0; color: var(--muted); }
.pb-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pb-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-brands span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; }
.pb-more { margin-top: 16px; }
.pb .team, .pb .obj-grid { margin-top: 20px; }
.pb-preview-bar { position: sticky; top: var(--hdr); z-index: 30; background: var(--accent); color: var(--accent-ink); text-align: center; font-weight: 700; padding: 8px 16px; }

/* --- форма заявки --- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__errors { background: #fde4e4; color: #a12828; border-radius: 10px; padding: 12px 16px; font-weight: 600; font-size: 14.5px; }
.form__errors p { margin: 0; }
.form--sent h3 { font-size: 22px; margin: 0; }
.form--sent p { color: var(--ink-2); margin: 0; }
.form [disabled] { opacity: .6; }

/* длинные заголовки статей и страниц конструктора */
.phero--plain h1 { font-size: clamp(30px, 4.2vw, 56px); }
.phero--plain .crumbs span { max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Карточка объекта в боковой панели ===== */
.odw-open, .odw-open body { overflow: hidden; }
.odw { position: fixed; inset: 0; z-index: 90; }
.odw__scrim { position: absolute; inset: 0; background: rgba(13, 20, 36, .55); opacity: 0; transition: opacity .25s; }
.odw__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 100%); background: var(--white); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(40px); opacity: 0; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.odw.is-on .odw__scrim { opacity: 1; }
.odw.is-on .odw__panel { transform: none; opacity: 1; }
.odw__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 10px 24px; border-bottom: 1px solid var(--line); flex: none; }
.odw__pos { font-size: 13px; font-weight: 700; color: var(--muted); }
.odw__nav { display: flex; gap: 6px; }
.odw__btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; transition: background .15s, border-color .15s; }
.odw__btn:hover { background: var(--paper); border-color: var(--steel); }
.odw__btn .i { width: 20px; height: 20px; }
.odw__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; transition: opacity .2s; }
.odw__body.is-loading { opacity: .45; pointer-events: none; }
.odw__head { position: relative; min-height: 300px; display: flex; align-items: flex-end; color: var(--white); background: var(--navy); }
.odw__head--plain { min-height: 0; }
.odw__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.odw__head:not(.odw__head--plain)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 36, .1) 20%, rgba(13, 20, 36, .88)); }
.odw__hin { position: relative; z-index: 1; padding: 28px 32px 26px; }
.odw__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, .85); }
.odw__meta > span:not(.badge) { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); }
.odw__title { font-family: var(--f-head); font-size: clamp(22px, 3vw, 30px); line-height: 1.15; margin: 0 0 8px; color: var(--white); }
.odw__work { margin: 0; color: rgba(255, 255, 255, .85); }
.odw__main { padding: 24px 32px 40px; display: grid; gap: 22px; }
.odw__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.odw__ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); }
.odw__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.odw__ph:hover img { transform: scale(1.05); }
.odw__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 20, 36, .6); color: var(--white); font-weight: 800; font-size: 20px; }
.odw__main .facts { margin: 0; }
.odw__main .omap { margin: 0; }
.odw__acts { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .odw__hin { padding: 22px 18px 20px; }
  .odw__main { padding: 18px 16px 32px; }
  .odw__head { min-height: 240px; }
  .odw__bar { padding-left: 16px; }
  .odw__acts .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .odw__panel, .odw__scrim { transition: none; } }
.odw__panel:focus { outline: none; }

/* ===== Цветной верхний блок новостей и страниц ===== */
.phero--plain { color: var(--white); background:
  radial-gradient(900px 420px at 88% -10%, rgba(47, 142, 240, .35), transparent 60%),
  radial-gradient(700px 360px at 8% 120%, rgba(255, 184, 28, .14), transparent 60%),
  linear-gradient(135deg, #10224a 0%, #0d1424 70%); }
.phero--plain::before { content: ''; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(90deg, var(--accent) 0 28px, transparent 28px 40px); opacity: .9; }
.phero--plain h1 { color: var(--white); }
.phero--plain .phero__lead { color: rgba(255, 255, 255, .8); }
.phero--plain .crumbs { color: rgba(255, 255, 255, .65); }
.phero--plain .crumbs a:hover { color: var(--white); }
.phero--photo { padding: 120px 0 72px; min-height: 460px; display: flex; align-items: flex-end; }
.phero--photo .phero__in { width: 100%; }
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 36, .35), rgba(13, 20, 36, .55) 45%, rgba(13, 20, 36, .92)); }
.phero--photo::before { z-index: 1; }
@media (max-width: 640px) { .phero--photo { padding-top: 96px; min-height: 380px; } }
.hero__slides--video video { transform: none; transition: none; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; flex-basis: 100%; }
.ftr__legal a { color: rgba(255, 255, 255, .6); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.ftr__legal a:hover { color: var(--white); }
.form .check a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
