/* =========================================================
   Print-X — стили лендинга. Чёрный / белый / красный акцент.
   ========================================================= */
:root {
  --red: #e30613;
  --red-dark: #b8040f;
  --black: #0d0d0d;
  --ink: #161616;
  --graphite: #232323;
  --gray-900: #2b2b2b;
  --gray-600: #6b6b6b;
  --gray-400: #a3a3a3;
  --gray-200: #e6e6e6;
  --gray-100: #f3f3f1;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --container: 1280px;
  --font-head: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 24px; border-radius: var(--btn-r, 999px); font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 2px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(227, 6, 19, .7); }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn--white { background: #fff; color: var(--black); }
.btn--white:hover { background: var(--black); color: #fff; }
.btn--outline-white { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-white:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn .ico:last-child:not(:first-child) { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(4px); }

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); color: var(--hfg, var(--ink));
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.has-hbg { background: var(--hbg); backdrop-filter: none; }
.header--static { position: relative; }
.header.is-scrolled { border-color: rgba(0, 0, 0, .08); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .35); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { flex: none; display: block; }
.logo img { height: var(--logo-h, 48px); width: auto; max-width: 260px; object-fit: contain; }
:root { --header-h: max(76px, calc(var(--logo-h, 48px) + 24px)); }

/* кнопка Telegram в шапке: стили выбираются в админке */
.tgbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  padding: 10px 18px; border-radius: var(--btn-r, 999px); font-weight: 700; font-size: 14px; line-height: 1.2;
  border: 2px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.tgbtn:hover { transform: translateY(-2px); }
.tgbtn .ico { width: 18px; height: 18px; }
.tgbtn--dark { background: var(--tgbg, var(--black)); color: var(--tgfg, #fff); }
.tgbtn--dark .ico { color: var(--tgfg, #2aa3e0); }
.tgbtn--accent { background: var(--tgbg, var(--red)); color: var(--tgfg, #fff); }
.tgbtn--outline { border-color: var(--tgbg, currentColor); color: var(--tgfg, inherit); }
.tgbtn--outline .ico { color: #2aa3e0; }
.tgbtn--outline:hover { background: var(--tgbg, var(--black)); border-color: var(--tgbg, var(--black)); color: #fff; }
.tgbtn--link { padding: 8px 4px; color: var(--tgfg, inherit); }
.tgbtn--link .ico { color: var(--tgbg, #2aa3e0); width: 22px; height: 22px; }
.tgbtn--icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; background: var(--tgbg, #2aa3e0); color: var(--tgfg, #fff); }
.tgbtn--icon .ico { width: 22px; height: 22px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav > a {
  position: relative; padding: 8px 12px; font-weight: 600; font-size: 15px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav > a:hover { background: var(--gray-100); }
.nav > a.is-current { color: var(--red); }
.nav__mobile-contacts { display: none; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.header__phone .ico { color: var(--red); }
.header__phone:hover { color: var(--red); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--hfg, var(--black)); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--hbg, #fff); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; color: #fff; background: var(--black); overflow: hidden;
  height: calc(var(--hero-h, 100) * 1vh - var(--header-h)); height: calc(var(--hero-h, 100) * 1svh - var(--header-h));
  min-height: min(600px, calc(var(--hero-h, 100) * 6px)); max-height: 960px; display: flex; flex-direction: column;
}
.hero .hero__shade { opacity: var(--shade, 1); }
.hero .hero__tag, .hero .hero__text, .hero .hero__h1, .hero .hero__dot { color: inherit; }
.hero .hero__text { opacity: .85; }
.hero .hero__h1, .hero .hero__dot { opacity: .75; }
.hero .hero__dot:hover, .hero .hero__dot.is-active { opacity: 1; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .62) 42%, rgba(0, 0, 0, .1) 78%),
              linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 38%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; padding-bottom: 150px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85);
  padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.hero__num { background: var(--red); color: #fff; border-radius: 999px; padding: 4px 10px; font-family: var(--font-head); font-size: 12px; letter-spacing: 0; }
.hero__title {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 5.4vw, 76px); letter-spacing: -.02em;
  max-width: 14ch; margin: 26px 0 22px; text-wrap: balance;
}
.hero__text { font-size: clamp(16px, 1.4vw, 20px); max-width: 560px; color: rgba(255, 255, 255, .82); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
/* анимация текста при смене слайда */
.hero__slide .hero__tag, .hero__slide .hero__title, .hero__slide .hero__text, .hero__slide .hero__btns { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__tag { opacity: 1; transform: none; transition-delay: .15s; }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .28s; }
.hero__slide.is-active .hero__text { opacity: 1; transform: none; transition-delay: .4s; }
.hero__slide.is-active .hero__btns { opacity: 1; transform: none; transition-delay: .52s; }

.hero__top { position: relative; z-index: 3; padding-top: 26px; pointer-events: none; }
.hero__h1 {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font); font-weight: 600;
  font-size: 14px; letter-spacing: .02em; color: rgba(255, 255, 255, .72); line-height: 1.4;
}
.mark { width: 28px; height: 28px; flex: none; color: var(--black); }
.mark--hero { color: #fff; width: 30px; height: 30px; }

.hero__controls { position: relative; z-index: 3; margin-top: auto; padding-bottom: 34px; display: flex; align-items: flex-end; gap: 30px; }
.hero__dots { display: flex; gap: 18px; flex: 1; min-width: 0; }
.hero__dot { flex: 1; min-width: 0; text-align: left; padding-top: 10px; color: rgba(255, 255, 255, .55); transition: color .3s; }
.hero__dot:hover, .hero__dot.is-active { color: #fff; }
.hero__dot-label { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 10px; }
.hero__dot-bar { display: block; height: 3px; background: rgba(255, 255, 255, .22); border-radius: 3px; overflow: hidden; }
.hero__dot-bar i { display: block; height: 100%; width: 0; background: var(--red); }
.hero__dot.is-done .hero__dot-bar i { width: 100%; background: rgba(255, 255, 255, .7); }
.hero__arrows { display: flex; align-items: center; gap: 10px; flex: none; }
.hero__counter { font-family: var(--font-head); font-size: 13px; color: rgba(255, 255, 255, .6); margin-right: 8px; }
.hero__counter b { color: #fff; font-size: 18px; }
.hero__arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .35); transition: background .25s, border-color .25s;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__arrow .ico { width: 22px; height: 22px; }

/* ---------- бегущая строка ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(0); }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker span { font-family: var(--font-head); font-weight: 700; font-size: clamp(16px, 1.8vw, 24px); text-transform: uppercase; white-space: nowrap; padding: 0 22px; }
.ticker i { display: inline-flex; opacity: .85; } .ticker i .ico { width: 16px; height: 16px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- преимущества ---------- */
.adv { border-bottom: 1px solid var(--gray-200); }
.adv__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.adv__item { padding: 46px 28px; border-left: 1px solid var(--gray-200); }
.adv__item:first-child { border-left: 0; padding-left: 0; }
.adv__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 6px; }
.adv__value small { font-size: .42em; color: var(--red); letter-spacing: 0; }
.adv__label { margin-top: 14px; color: var(--gray-600); font-size: 15px; max-width: 240px; }

/* ---------- секции ---------- */
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section--dark { background: var(--black); color: #fff; }
.section--gray { background: var(--gray-100); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-head--row .sec-text { max-width: 420px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--red); margin-bottom: 18px; }
.kicker .mark { width: 22px; height: 22px; }
.section--dark .kicker .mark { color: #fff; }
.sec-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4vw, 54px); letter-spacing: -.02em; text-wrap: balance; }
.sec-text { margin-top: 20px; font-size: 18px; color: var(--gray-600); }
.section--dark .sec-text { color: rgba(255, 255, 255, .65); }

/* ---------- услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; padding: 34px 32px 36px; border-radius: var(--radius); background: var(--gray-100);
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black);
  clip-path: circle(0% at 100% 0%); transition: clip-path .6s var(--ease);
}
.service:not(.service--cta):hover { color: #fff; transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.service:not(.service--cta):hover::before { clip-path: circle(150% at 100% 0%); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 34px; }
.service__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--white); color: var(--red); transition: background .4s, color .4s; }
.service__icon .ico { width: 32px; height: 32px; }
.service:hover .service__icon { background: var(--red); color: #fff; }
.service__num { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gray-400); }
.service:hover .service__num { -webkit-text-stroke-color: rgba(255, 255, 255, .4); }
.service__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.service__text { font-size: 15.5px; color: var(--gray-600); transition: color .4s; }
.service:hover .service__text { color: rgba(255, 255, 255, .7); }
.service__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.service__list li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--gray-200); transition: background .4s, border-color .4s; }
.service:hover .service__list li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.service--cta { background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.service--cta::before { display: none; }
.service--cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .12);
}
.service--cta .service__text { color: rgba(255, 255, 255, .85); }
.service--cta:hover .service__text { color: #fff; }
.service__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- продукция ---------- */
.products { display: flex; flex-wrap: wrap; gap: 12px; }
.products li {
  font-weight: 600; font-size: clamp(15px, 1.3vw, 18px); padding: 14px 22px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.products li:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px) rotate(-1.5deg); }

/* ---------- галерея ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1.5px solid var(--gray-200);
  transition: background .25s, color .25s, border-color .25s;
}
.filter sup { font-size: 11px; color: var(--gray-400); margin-left: 2px; }
.filter:hover { border-color: var(--black); }
.filter.is-active { background: var(--black); border-color: var(--black); color: #fff; }
.filter.is-active sup { color: var(--red); }
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
.gallery__item { margin: 0; animation: pop .5s var(--ease) both; }
.gallery__item.is-hidden { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.gallery__link { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--gray-100); }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.gallery__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)); opacity: 0; transition: opacity .35s; }
.gallery__zoom {
  position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; transform: scale(.4); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.gallery__link:hover img { transform: scale(1.07); }
.gallery__link:hover::after { opacity: 1; }
.gallery__link:hover .gallery__zoom { transform: scale(1); opacity: 1; }
.gallery__item figcaption { margin-top: 12px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.gallery__item figcaption small { display: block; font-weight: 500; font-size: 13px; color: var(--gray-600); margin-top: 2px; }

/* ---------- CTA ---------- */
.cta { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .08); }
.cta::before { width: 420px; height: 420px; left: -160px; top: -200px; }
.cta::after { width: 520px; height: 520px; right: -140px; bottom: -330px; }
.cta { padding: clamp(64px, 7vw, 96px) 0; }
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.02em; max-width: 16ch; }
.cta__text { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 520px; }
.cta__btns { display: flex; flex-direction: column; gap: 12px; flex: none; }

/* ---------- этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); border: 1.5px solid var(--gray-200); background: var(--card, transparent); color: var(--card-fg, inherit); transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: var(--black); transform: translateY(-4px); }
.step__num { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--black); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 26px; }
.step:hover .step__num { background: var(--red); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 56px; right: -23px; width: 24px; height: 1.5px; background: var(--gray-200);
}
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--gray-600); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--card, var(--white)); color: var(--card-fg, inherit); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font-weight: 700; font-size: 18px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-100); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__a { padding: 0 26px 24px; color: var(--gray-600); }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; }
.contacts--nomap { grid-template-columns: minmax(0, 640px); }
.contacts__card { background: var(--card, var(--black)); color: var(--card-fg, #fff); border-radius: var(--radius); padding: 38px; display: flex; flex-direction: column; gap: 26px; }
.contacts__row { display: flex; gap: 18px; }
.contacts__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--red); }
.contacts__ico .ico { width: 22px; height: 22px; }
.contacts__row small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .5); margin-bottom: 4px; font-weight: 700; }
.contacts__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2vw, 24px); display: block; transition: color .2s; }
.contacts__big:hover { color: var(--red); }
.contacts__tg { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .7); }
.contacts__tg:hover { color: #fff; }
.contacts__tg .ico { color: #2aa3e0; }
.contacts__card address, .contacts__card p { color: rgba(255, 255, 255, .88); }
.contacts__map { border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--gray-100); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(1) contrast(1.05); transition: filter .4s; }
.contacts__map:hover iframe { filter: none; }

/* ---------- подвал ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, .7); padding: 70px 0 30px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 20px; }
.footer__logo img { height: 46px; width: auto; max-width: 100%; object-fit: contain; }
.footer.has-pt { padding-top: var(--pt); } .footer.has-pb { padding-bottom: var(--pb); }
.footer.has-fg .footer__contacts a:not(.footer__tg), .footer.has-fg .footer__tg { color: inherit; }
.footer.has-fg .footer__bottom { color: inherit; opacity: .6; }
.footer__inner--nonav { grid-template-columns: 1.4fr 1.2fr; }

/* ---------- настройки блоков из админки ---------- */
.service { background: var(--card, var(--gray-100)); }
.service:not(.service--cta) { color: var(--card-fg, inherit); }
.blk.has-pt { padding-top: var(--pt); }
.blk.has-pb { padding-bottom: var(--pb); }
.has-fg .sec-text, .has-fg .adv__label, .has-fg .gallery__item figcaption small, .has-fg .cta__text { color: inherit; opacity: .75; }
.has-fg .sec-title, .has-fg .cta__title, .has-fg .ticker span { color: inherit; }
.has-card-fg .service__text, .has-card-fg .step p, .has-card-fg .faq__a, .has-card-fg .contacts__card address,
.has-card-fg .contacts__card p, .has-card-fg .contacts__row small, .has-card-fg .contacts__tg { color: inherit; opacity: .78; }
.has-fg .filter { border-color: currentColor; }
.blk[style*="--card"] .service__list li, .has-card-fg .service__list li { background: transparent; border-color: rgba(128, 128, 128, .4); }
.has-fg .service__num { -webkit-text-stroke-color: currentColor; opacity: .35; }
body.no-anim .reveal { opacity: 1 !important; transform: none !important; }
body.no-anim .ticker__track { animation: none; }
.footer__brand p { max-width: 380px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start; }
.footer__nav a:hover, .footer__contacts a:hover { color: #fff; }
.footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__contacts a:not(.footer__tg) { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; }
.footer__tg { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.footer__tg .ico { color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; font-size: 13px; color: rgba(255, 255, 255, .45); }
.footer__up:hover { color: #fff; }

/* ---------- мобильная панель ---------- */
.quickbar { display: none; }

/* ---------- лайтбокс ---------- */
.lb { position: fixed; inset: 0; z-index: 1000; background: #0a0a0a; display: flex; flex-direction: column; animation: fade .3s; touch-action: none; }
.lb[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lb__stage { flex: 1; position: relative; overflow: hidden; display: grid; place-items: center; cursor: zoom-in; }
.lb.is-zoomed .lb__stage { cursor: grab; }
.lb.is-dragging .lb__stage { cursor: grabbing; }
.lb__img { max-width: 92vw; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); object-fit: contain; user-select: none; -webkit-user-drag: none; transform-origin: 50% 50%; transition: transform .35s var(--ease), opacity .25s; border-radius: 6px; }
.lb.is-dragging .lb__img, .lb.no-anim .lb__img { transition: opacity .25s; }
.lb__img.is-loading { opacity: 0; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 28px; color: #fff; }
.lb__caption b { display: block; font-size: 16px; }
.lb__caption small { color: rgba(255, 255, 255, .55); font-size: 13px; }
.lb__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lb__count { font-family: var(--font-head); font-size: 13px; color: rgba(255, 255, 255, .6); margin-right: 8px; }
.lb__btn { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; font-size: 18px; transition: background .2s; }
.lb__btn:hover { background: var(--red); }
.lb__btn .ico { width: 22px; height: 22px; }
.lb__nav {
  position: absolute; top: calc(50% - 60px); width: 58px; height: 58px; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, .1); display: grid; place-items: center; transition: background .2s;
}
.lb__nav:hover { background: var(--red); }
.lb__nav .ico { width: 26px; height: 26px; }
.lb__nav--prev { left: 22px; } .lb__nav--next { right: 22px; }
.lb.is-zoomed .lb__nav { opacity: 0; pointer-events: none; }
body.lb-open { overflow: hidden; }

/* ---------- появление при скролле ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1200px) {
  .nav > a { padding: 8px 9px; font-size: 14px; }
  .header__phone span { display: none; }
  .header__phone { width: 42px; height: 42px; justify-content: center; border-radius: 50%; background: var(--gray-100); }
  .gallery { grid-template-columns: repeat(min(var(--cols, 4), 3), 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: max(68px, calc(var(--logo-hm, 38px) + 22px)); }
  .container { padding: 0 24px; }
  .logo img { height: var(--logo-hm, 38px); max-width: 190px; }
  .burger { display: block; }
  .nav {
    /* шапка с backdrop-filter — контейнер для fixed, поэтому высота задаётся явно */
    position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 49;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; gap: 0; padding: 24px; background: var(--hbg, var(--white)); overflow-y: auto;
    opacity: 0; transform: translateY(-14px); visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav > a { font-family: var(--font-head); font-size: 26px; font-weight: 700; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--gray-200); }
  .nav > a:hover { background: none; color: var(--red); }
  .nav__mobile-contacts { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
  .nav__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
  .nav__phone .ico { color: var(--red); }
  .menu-open { overflow: hidden; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
  .adv__item { padding: 34px 24px; border-top: 1px solid var(--gray-200); }
  .adv__item:nth-child(-n+2) { border-top: 0; }
  .adv__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap .sec-head { position: static; }
  .contacts { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__btns { flex-direction: row; flex-wrap: wrap; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__dot-label { display: none; }
  .hero__dots { gap: 8px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .header__actions .btn--sm span { display: none; }
  .header__actions .btn--sm { width: 42px; height: 42px; padding: 0; }
  .header__actions .btn--sm .ico { width: 20px; height: 20px; }
  .hero { min-height: min(560px, calc(var(--hero-h, 100) * 5.6px)); height: calc(var(--hero-h, 100) * 1svh - var(--header-h) - 64px); }
  .blk.has-ptm { padding-top: var(--ptm); }
  .blk.has-pbm { padding-bottom: var(--pbm); }
  .footer.has-ptm { padding-top: var(--ptm); } .footer.has-pbm { padding-bottom: var(--pbm); }
  .cta { padding: 64px 0; }
  .contacts--nomap { grid-template-columns: 1fr; }
  .tgbtn--dark span, .tgbtn--accent span, .tgbtn--outline span { display: none; }
  .tgbtn--dark, .tgbtn--accent, .tgbtn--outline { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
  .tgbtn--link span { display: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .35) 100%); }
  .hero__bg { object-position: 72% 30%; }
  .hero__content { justify-content: flex-end; padding-top: 80px; padding-bottom: 100px; }
  .hero__top { padding-top: 18px; }
  .hero__h1 { font-size: 12.5px; }
  .hero__btns { margin-top: 26px; }
  .hero__btns .btn { flex: 1 1 auto; }
  .hero__btns .btn--lg { padding: 15px 20px; font-size: 15px; }
  .hero__controls { padding-bottom: 22px; gap: 14px; align-items: center; }
  .hero__counter { display: none; }
  .hero__arrow { width: 44px; height: 44px; }
  .hero__tag { font-size: 11.5px; }
  .sec-head--row { flex-direction: column; align-items: flex-start; gap: 0; }
  .sec-text { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px 24px 30px; }
  .service--cta { min-height: 0; }
  .gallery { grid-template-columns: repeat(min(var(--cols, 4), 2), 1fr); gap: 12px; }
  .gallery__item figcaption { font-size: 13.5px; margin-top: 8px; }
  .gallery__zoom { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px 26px; padding: 0 18px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .products { gap: 8px; }
  .products li { padding: 10px 16px; }
  .contacts__card { padding: 28px 22px; }
  .contacts__map, .contacts__map iframe { min-height: 340px; }
  .faq__item summary { font-size: 16px; padding: 18px 20px; }
  .faq__a { padding: 0 20px 20px; }
  .lb__nav { display: none; }
  .lb__bar { padding: 12px 16px; }
  .lb__img { max-width: 100vw; border-radius: 0; }

  .quickbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px);
    border-top: 1px solid var(--gray-200); transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .quickbar.is-visible { transform: none; }
  .quickbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; font-weight: 800; font-size: 15px; background: var(--black); color: #fff; }
  .quickbar__btn--red { background: var(--red); }
  .quickbar:has(> :only-child) { grid-template-columns: 1fr; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 560px) {
  .adv__grid { grid-template-columns: 1fr 1fr; }
  .adv__item { padding: 26px 14px; }
  .adv__label { font-size: 13.5px; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; }
  .cta__btns { flex-direction: column; width: 100%; }
  .cta__btns .btn { width: 100%; }
  .hero__dots { display: none; }
  .hero__controls { justify-content: flex-end; }
  .hero__counter { display: inline; }
  .hero__title { margin: 18px 0 14px; }
}

@media (max-width: 380px) {
  .logo img { height: 36px; }
  .header__inner { gap: 12px; }
  .header__actions { gap: 8px; }
}

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