/* getfamilybox.ru — FamilyBox. Композиция по WordPress-теме Fixility (светлая, синий акцент), свёрстано заново.
   Сетка — bootstrap.css (container, reboot). Шрифт — Manrope (fonts.css). Иконки — инлайн SVG (.ico). */

:root {
  --ink: #0d1726;
  --ink-2: #3c4a60;
  --muted: #74819a;
  --line: #e4e9f1;
  --soft: #f4f7fc;
  --white: #fff;
  --blue: #1f5eff;
  --blue-d: #1442c9;
  --blue-l: #e9f0ff;
  --navy: #081227;
  --navy-2: #0f1d3a;
  --cyan: #45d3ff;
  --amber: #ffb21e;
  --green: #18b26b;
  --r: 18px;
  --r-lg: 28px;
  --sh-sm: 0 1px 2px rgba(13, 23, 38, .06), 0 2px 8px rgba(13, 23, 38, .05);
  --sh: 0 10px 30px -10px rgba(13, 23, 38, .18), 0 2px 6px rgba(13, 23, 38, .05);
  --sh-lg: 0 30px 60px -20px rgba(13, 23, 38, .35), 0 8px 20px -8px rgba(13, 23, 38, .15);
  --sh-blue: 0 14px 30px -10px rgba(31, 94, 255, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 84px;
}

/* ---------- База ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: inherit; color: var(--ink); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 19px; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-d); text-decoration: none; }
img { max-width: 100%; height: auto; }
picture { display: block; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid rgba(31, 94, 255, .45); outline-offset: 2px; border-radius: 6px; }
@media (min-width: 1280px) { .container { max-width: 1240px; } }
.container { padding-left: 20px; padding-right: 20px; }

.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; display: inline-block; vertical-align: -.25em; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.grad { background: linear-gradient(100deg, var(--blue) 10%, #4c8dff 55%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars { color: var(--amber); letter-spacing: 2px; }
.stars--lg { font-size: 26px; letter-spacing: 4px; margin: 0 0 6px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--cyan); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 14px; border: 1.5px solid transparent;
  font: inherit; font-size: 15.5px; font-weight: 700; letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 20px; height: 20px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 16.5px; border-radius: 16px; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 12px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: linear-gradient(135deg, #3a77ff, var(--blue) 45%, var(--blue-d)); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { color: #fff; box-shadow: 0 18px 36px -12px rgba(31, 94, 255, .7); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn--ghost:hover { color: var(--blue); border-color: rgba(31, 94, 255, .4); }
.btn--light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--white { background: #fff; color: var(--blue-d); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); }
.btn--white:hover { color: var(--blue-d); }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico, a:hover .link-arrow .ico { transform: translateX(4px); }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 26px; }
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(24, 178, 107, .5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(24, 178, 107, .5); } 70% { box-shadow: 0 0 0 9px rgba(24, 178, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 178, 107, 0); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.chips--lg .chip { height: 40px; padding: 0 16px; font-size: 14.5px; background: #fff; box-shadow: var(--sh-sm); }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__mark { width: 44px; height: 44px; filter: drop-shadow(0 6px 12px rgba(31, 94, 255, .35)); transition: transform .4s var(--ease); }
a:hover .logo__mark { transform: rotate(-6deg) scale(1.04); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 23px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.logo__name b { font-weight: 800; color: var(--blue); }
.logo__sub { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__name b { color: var(--cyan); }
.logo--light .logo__sub { color: rgba(255, 255, 255, .5); }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(13, 23, 38, .25); }
.hdr__row { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.hdr__brand { flex: none; }
.nav { flex: 1; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--ink); transition: background-color .2s, color .2s; }
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--blue); background: var(--blue-l); }
.nav__item.is-active > .nav__link { color: var(--blue); }
.nav__item.is-active > .nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue); }
.nav__caret { width: 18px; height: 18px; transition: transform .25s; }
.nav__item:hover .nav__caret { transform: rotate(180deg); }
.nav__sub-toggle { display: none; }
.nav__sub { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.nav__sub a:hover { background: var(--soft); color: var(--blue); }
.nav__sub-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-l); color: var(--blue); flex: none; }
.nav__sub-ico .ico { width: 18px; height: 18px; }
.nav__mobile { display: none; }
.hdr__contact { display: flex; flex-direction: column; align-items: flex-end; padding-left: 26px; border-left: 1px solid var(--line); line-height: 1.2; }
.hdr__phone { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--blue); white-space: nowrap; }
.hdr__addr { font-size: 13px; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.hdr__call, .hdr__toggle { display: none; }

@media (max-width: 1199.98px) {
  .hdr__row { gap: 16px; }
  .nav__link { padding: 0 10px; font-size: 14.5px; }
  .hdr__addr { display: none; }
}
@media (max-width: 991.98px) {
  :root { --hdr: 70px; }
  .hdr__contact { display: none; }
  .hdr__row { justify-content: space-between; }
  .hdr__call, .hdr__toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
  .hdr__call { margin-left: auto; color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: var(--sh-blue); }
  .hdr__call .ico { width: 22px; height: 22px; }
  .hdr__toggle { flex-direction: column; gap: 5px; display: flex; align-items: center; justify-content: center; }
  .hdr__toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .hdr__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hdr__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hdr__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 16px 20px 110px; opacity: 0; transform: translateY(-12px); visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .nav__link { flex: 1; height: 58px; font-size: 18px; padding: 0 4px; background: none !important; }
  .nav__item.is-active > .nav__link::after { display: none; }
  .nav__caret { display: none; }
  .nav__sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 12px; color: var(--ink); cursor: pointer; }
  .nav__sub-toggle .ico { transition: transform .25s; }
  .nav__sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .nav__sub { position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; }
  .nav__sub.is-open { display: block; }
  .nav__sub::before { display: none; }
  .nav__mobile { display: block; padding-top: 22px; }
  .nav__msgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 18px; }
  .nav__mobile p { display: flex; gap: 10px; align-items: center; margin: 0 0 8px; color: var(--ink-2); }
  .nav__mobile p .ico { color: var(--blue); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 400px) { .logo__sub { display: none; } .logo__name { font-size: 21px; } }

/* ---------- Секции ---------- */
.sec { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.sec--soft { background: var(--soft); }
.sec--dark { background: var(--navy); color: rgba(255, 255, 255, .72); overflow: hidden; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head p { font-size: 17.5px; margin: 0; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .eyebrow::after { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 700px; }
.sec-head--row h2 { margin-bottom: 0; }
.sec-head--row p { margin-top: 12px; }

/* ---------- Герой ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); }
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(31, 94, 255, .14), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(69, 211, 255, .12), transparent 60%),
    linear-gradient(180deg, #f6f9ff 0%, #fff 100%); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(13, 23, 38, .09) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero__row { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero__h { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 26px; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 580px; margin-bottom: 36px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .ico { color: var(--blue); }
.hero__trust a { color: var(--ink-2); }
.hero__trust b { color: var(--ink); }

.hero__visual { position: relative; height: 620px; }
.hero__glow { position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from 200deg, rgba(31, 94, 255, .5), rgba(69, 211, 255, .45), rgba(31, 94, 255, .1), rgba(31, 94, 255, .5)); filter: blur(60px); opacity: .55; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero__card { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; background: #fff; padding: 8px; box-shadow: var(--sh-lg); transition: transform .6s var(--ease); }
.hero__card img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 19px; aspect-ratio: 3 / 4; }
.hero__card figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 8px 12px; border-radius: 12px; background: rgba(8, 18, 39, .62); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.hero__card--1 { width: 300px; left: 50%; top: 40px; z-index: 3; transform: translateX(-50%) rotate(1.5deg); }
.hero__card--2 { width: 240px; left: 0; top: 120px; z-index: 2; transform: rotate(-8deg); }
.hero__card--3 { width: 240px; right: 0; top: 150px; z-index: 1; transform: rotate(7deg); }
.hero__card--2 figcaption, .hero__card--3 figcaption { display: none; }
.hero__visual:hover .hero__card--2 { transform: rotate(-11deg) translate(-14px, -6px); }
.hero__visual:hover .hero__card--3 { transform: rotate(10deg) translate(14px, -6px); }
.hero__chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--sh); line-height: 1.2; animation: float 6s ease-in-out infinite; }
.hero__chip b { display: block; font-size: 14.5px; color: var(--ink); }
.hero__chip small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.hero__chip-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, #4c8dff, var(--blue-d)); color: #fff; flex: none; }
.hero__chip-ico--green { background: linear-gradient(135deg, #34d399, #0f9f5c); }
.hero__chip-ico--amber { background: linear-gradient(135deg, #ffcc4d, #f59e0b); }
.hero__chip--a { left: -10px; top: 40px; }
.hero__chip--b { right: -14px; top: 330px; animation-delay: -2s; }
.hero__chip--c { left: 20px; bottom: 30px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 1199.98px) {
  .hero__visual { height: 560px; }
  .hero__card--1 { width: 270px; }
  .hero__card--2, .hero__card--3 { width: 210px; }
}
@media (max-width: 991.98px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__visual { height: 520px; max-width: 560px; width: 100%; margin: 10px auto 0; }
}
@media (max-width: 575.98px) {
  .hero__btns .btn { width: 100%; }
  .hero__visual { height: 430px; }
  .hero__card--1 { width: 220px; top: 30px; }
  .hero__card--2, .hero__card--3 { width: 160px; top: 90px; }
  .hero__chip { padding: 9px 12px 9px 9px; gap: 9px; }
  .hero__chip-ico { width: 34px; height: 34px; border-radius: 11px; }
  .hero__chip b { font-size: 13px; }
  .hero__chip small { font-size: 11.5px; }
  .hero__chip--a { left: 0; top: 0; }
  .hero__chip--b { right: 0; top: 260px; }
  .hero__chip--c { left: 0; bottom: 0; }
}

/* ---------- Бегущая строка ---------- */
.ticker { background: var(--navy); color: #fff; overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.ticker__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font-size: 20px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.ticker span:nth-of-type(3n+2) { color: var(--cyan); }
.ticker i { width: 10px; height: 10px; flex: none; background: var(--blue); transform: rotate(45deg); border-radius: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Услуги ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-l); color: var(--blue); flex: none; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.svc-ico .ico { width: 28px; height: 28px; }
.svc-ico--light { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; overflow: hidden; }
.svc-card::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 94, 255, .12), transparent 70%); opacity: 0; transition: opacity .4s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; color: var(--ink-2); }
.svc-card:hover::after { opacity: 1; }
.svc-card:hover .svc-ico { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.svc-card__title { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.015em; line-height: 1.25; }
.svc-card__text { font-size: 15px; line-height: 1.55; flex: 1; }
.svc-card__more { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: all .3s var(--ease); }
.svc-card:hover .svc-card__more { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateX(4px); }
.svc-feature { grid-column: span 2; grid-row: span 2; position: relative; display: flex; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--sh); }
.svc-feature__img { position: absolute; inset: 0; z-index: -2; }
.svc-feature__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.2s var(--ease); }
.svc-feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 18, 39, .05) 20%, rgba(8, 18, 39, .55) 55%, rgba(8, 18, 39, .95) 100%), linear-gradient(90deg, rgba(20, 66, 201, .35), transparent 60%); }
.svc-feature:hover { color: #fff; }
.svc-feature:hover .svc-feature__img img { transform: scale(1.06); }
.svc-feature__body { margin-top: auto; padding: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.svc-feature__tag { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-top: 6px; }
.svc-feature__title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.svc-feature__text { font-size: 16px; color: rgba(255, 255, 255, .82); max-width: 460px; }
.svc-feature__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; height: 46px; padding: 0 20px; border-radius: 12px; background: #fff; color: var(--blue-d); font-weight: 800; transition: transform .3s var(--ease); }
.svc-feature:hover .svc-feature__more { transform: translateX(6px); }
@media (max-width: 1199.98px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } .svc-feature { grid-row: span 2; } }
@media (max-width: 991.98px) { .svc-grid, .svc-grid--3 { grid-template-columns: repeat(2, 1fr); } .svc-feature { grid-row: auto; min-height: 420px; } }
@media (max-width: 575.98px) { .svc-grid, .svc-grid--3 { grid-template-columns: 1fr; } .svc-feature { grid-column: auto; } .svc-card { padding: 24px; } }

/* список услуг */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-row { display: grid; grid-template-columns: 200px 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.svc-row:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); color: var(--ink-2); }
.svc-row__img { position: relative; overflow: hidden; }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-row:hover .svc-row__img img { transform: scale(1.06); }
.svc-row__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; }
.svc-row__n { position: absolute; right: 24px; top: 18px; font-size: 44px; font-weight: 800; letter-spacing: -.04em; color: var(--soft); line-height: 1; -webkit-text-stroke: 1px var(--line); }
.svc-row__title { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.svc-row__text { font-size: 15px; line-height: 1.55; flex: 1; }
@media (max-width: 991.98px) { .svc-list { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .svc-row { grid-template-columns: 1fr; } .svc-row__img { height: 220px; } }

/* ---------- Почему мы ---------- */
.why__row { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.why__media { position: relative; height: 600px; }
.why__photo { position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); border: 6px solid #fff; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__photo--a { left: 0; top: 0; width: 66%; height: 86%; }
.why__photo--b { right: 0; bottom: 0; width: 46%; height: 56%; }
.why__badge { position: absolute; left: 30px; bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 20px; background: linear-gradient(135deg, #3a77ff, var(--blue-d)); color: #fff; box-shadow: var(--sh-blue); line-height: 1.15; }
.why__badge:hover { color: #fff; transform: translateY(-3px); }
.why__badge b { font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.why__badge span { font-size: 14px; font-weight: 700; max-width: 90px; }
.why__lead { font-size: 17.5px; margin-bottom: 30px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.feat-list li { display: flex; flex-direction: column; gap: 14px; }
.feat-list h3 { margin: 0 0 6px; font-size: 18px; }
.feat-list p { margin: 0; font-size: 15px; line-height: 1.55; }
.feat-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: #fff; color: var(--blue); box-shadow: var(--sh); flex: none; }
.feat-ico .ico { width: 26px; height: 26px; }
@media (max-width: 991.98px) { .why__row { grid-template-columns: 1fr; } .why__media { height: 520px; max-width: 560px; } }
@media (max-width: 575.98px) { .feat-list { grid-template-columns: 1fr; } .why__media { height: 430px; } }

/* ---------- Этапы ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 58px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); z-index: 0; }
.steps li { position: relative; z-index: 1; text-align: center; padding: 30px 24px; border-radius: var(--r-lg); background: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.steps li:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.steps__n { position: absolute; right: 20px; top: 16px; font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .08em; }
.steps__ico { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; background: linear-gradient(135deg, #4c8dff, var(--blue-d)); color: #fff; box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line), var(--sh-blue); }
.steps__ico .ico { width: 28px; height: 28px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.55; }
@media (max-width: 991.98px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Работы ---------- */
.works__glow { position: absolute; width: 900px; height: 600px; right: -200px; top: -200px; background: radial-gradient(closest-side, rgba(31, 94, 255, .35), transparent); pointer-events: none; }
.works .sec-head p { color: rgba(255, 255, 255, .62); }
.works__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.works__grid--page { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work { position: relative; display: block; border-radius: 20px; overflow: hidden; background: var(--navy-2); aspect-ratio: 3 / 4; isolation: isolate; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.work::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 18, 39, .88)); z-index: 0; transition: opacity .4s; }
.work::before { content: ''; position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; z-index: 2; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231f5eff' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z'/%3E%3C/svg%3E") center / 20px no-repeat; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); }
.work:hover img { transform: scale(1.07); }
.work:hover::before { opacity: 1; transform: none; }
.work__cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; }
.work--sm { border-radius: 16px; }
.work.is-hidden { display: none; }
@media (max-width: 1199.98px) { .works__grid { grid-template-columns: repeat(4, 1fr); } .works__grid > .work:nth-child(n+9) { display: none; } .works__grid--page > .work:nth-child(n+9) { display: block; } .works__grid--page > .work.is-hidden { display: none; } }
@media (max-width: 991.98px) { .works__grid, .works__grid--page { grid-template-columns: repeat(3, 1fr); } .works__grid > .work:nth-child(n+7) { display: none; } .works__grid--page > .work:nth-child(n+7) { display: block; } .works__grid--page > .work.is-hidden { display: none; } }
@media (max-width: 575.98px) { .works__grid, .works__grid--page { grid-template-columns: repeat(2, 1fr); gap: 12px; } .work__cap { font-size: 12.5px; left: 10px; right: 10px; bottom: 10px; } }

.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.gallery-filter button { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; transition: all .25s; }
.gallery-filter button span { display: grid; place-items: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--soft); font-size: 12.5px; color: var(--muted); }
.gallery-filter button:hover { border-color: rgba(31, 94, 255, .4); color: var(--blue); }
.gallery-filter button.is-active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.gallery-filter button.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Системы ---------- */
.sys-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sys-card { --sys: var(--blue); position: relative; display: grid; grid-template-columns: 220px 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.sys-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); color: var(--ink-2); }
.sys-card__img { position: relative; overflow: hidden; }
.sys-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sys-card:hover .sys-card__img img { transform: scale(1.06); }
.sys-card__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px; overflow: hidden; }
.sys-card__body::before { content: ''; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sys) 22%, transparent), transparent 70%); }
.sys-card__name { position: relative; font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.sys-card__name::after { content: ''; display: block; width: 46px; height: 4px; border-radius: 4px; background: var(--sys); margin-top: 14px; }
.sys-card__text { font-size: 15.5px; line-height: 1.55; }
.sys-card .link-arrow { margin-top: auto; }
@media (max-width: 1199.98px) { .sys-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .sys-card { grid-template-columns: 1fr; } .sys-card__img { height: 240px; } .sys-card__body { padding: 26px; } }

/* ---------- Отзывы ---------- */
.reviews__row { display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.reviews__score { position: sticky; top: calc(var(--hdr) + 24px); padding: 36px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); text-align: center; }
.reviews__score .eyebrow { justify-content: center; }
.reviews__score .eyebrow::before { display: none; }
.reviews__num { font-size: 96px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--ink); margin: 0 0 6px; }
.reviews__meta { color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.reviews__h { font-size: clamp(28px, 3vw, 38px); margin-bottom: 28px; }
.praise { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.praise__item { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.praise__item:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.praise__item .feat-ico { margin-bottom: 18px; background: var(--blue-l); box-shadow: none; }
.praise__item h3 { margin-bottom: 8px; }
.praise__item p { margin: 0; font-size: 15px; line-height: 1.55; }
.reviews__note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 991.98px) { .reviews__row { grid-template-columns: 1fr; } .reviews__score { position: static; } }
@media (max-width: 575.98px) { .praise { grid-template-columns: 1fr; } }

/* ---------- Вопросы ---------- */
.faq-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-row__head { position: sticky; top: calc(var(--hdr) + 24px); }
.faq-row__head p { font-size: 17px; }
.faq-row__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: 20px; background: var(--soft); border: 1px solid transparent; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.faq__item[open] { background: #fff; border-color: var(--line); box-shadow: var(--sh); }
.faq__item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-size: 17.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), background-color .3s; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink); transition: background-color .3s; }
.faq__plus::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq__item[open] .faq__plus { background: var(--blue); transform: rotate(180deg); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: #fff; }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__a { padding: 0 26px 22px; }
.faq__a p { margin: 0; font-size: 16px; }
@media (max-width: 991.98px) { .faq-row { grid-template-columns: 1fr; } .faq-row__head { position: static; } }

/* ---------- Карта ---------- */
.map-sec { position: relative; min-height: 600px; display: flex; align-items: center; background: #dde3ec; }
.map-sec__map { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, #e6ebf3, #d6deea); }
.map-sec__fallback { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--sh); }
.map-sec__container { position: relative; z-index: 2; pointer-events: none; padding-top: 50px; padding-bottom: 50px; }
.map-card { pointer-events: auto; width: 100%; max-width: 440px; padding: 36px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: var(--sh-lg); }
.map-card h2 { font-size: 34px; margin-bottom: 22px; }
.map-card__list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.map-card__list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--ink); line-height: 1.4; }
.map-card__list small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.map-card__list a { font-size: 20px; font-weight: 800; color: var(--blue); letter-spacing: -.01em; padding-top: 6px; }
.map-card__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-l); color: var(--blue); flex: none; }
.map-card__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map-pin span { position: relative; display: block; width: 36px; height: 46px; }
.map-pin span::before { content: ''; position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #4c8dff, var(--blue-d)); box-shadow: 0 8px 18px rgba(31, 94, 255, .5); }
.map-pin span::after { content: ''; position: absolute; left: 11px; top: 11px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.leaflet-popup-content-wrapper { border-radius: 14px !important; font-family: 'Manrope', sans-serif; }
@media (max-width: 767.98px) {
  .map-sec { display: block; min-height: 0; background: none; }
  .map-sec__map { position: relative; height: 340px; }
  .map-sec__container { padding-top: 0; padding-bottom: 0; margin-top: -60px; }
  .map-card { max-width: none; padding: 28px 24px; }
}

/* ---------- CTA ---------- */
.cta { padding: clamp(60px, 7vw, 100px) 0; }
.cta__box { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: 34px; overflow: hidden; color: rgba(255, 255, 255, .85); isolation: isolate;
  background: radial-gradient(600px 300px at 90% 0%, rgba(69, 211, 255, .45), transparent 60%), linear-gradient(120deg, #1442c9 0%, #1f5eff 55%, #3b82ff 100%); box-shadow: 0 30px 60px -25px rgba(20, 66, 201, .7); }
.cta__box::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 14px; }
.cta p { margin: 0; font-size: 17px; max-width: 520px; }
.cta__btns { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; position: relative; z-index: 1; }
.cta__msgs { display: flex; gap: 10px; }
.cta__bolt { position: absolute; right: -40px; bottom: -70px; width: 300px; height: 300px; fill: rgba(255, 255, 255, .07); z-index: -1; transform: rotate(12deg); }
@media (max-width: 991.98px) { .cta__box { grid-template-columns: 1fr; } .cta__btns { align-items: stretch; } .cta__msgs .btn { flex: 1; } }

/* ---------- Заголовок страницы ---------- */
.ptitle { position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .75); padding: clamp(50px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); isolation: isolate; }
.ptitle::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 15% 120%, rgba(31, 94, 255, .45), transparent 60%), radial-gradient(500px 300px at 60% -20%, rgba(69, 211, 255, .18), transparent 60%); }
.ptitle__photo { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: -2; background-size: cover; background-position: center 45%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 45%, #000 100%); opacity: .75; }
.ptitle__inner { position: relative; }
.ptitle__h { color: #fff; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.04em; margin-bottom: 18px; max-width: 820px; }
.ptitle__lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; font-size: 14px; font-weight: 600; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .5); }
.crumbs li + li::before { content: '/'; color: rgba(255, 255, 255, .3); }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }
@media (max-width: 767.98px) { .ptitle__photo { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; } }

/* ---------- Страница услуги / системы ---------- */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.detail__main { min-width: 0; }
.prose p { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose p:first-child { font-size: 20px; color: var(--ink); font-weight: 600; }
.detail__h { font-size: clamp(26px, 2.6vw, 32px); margin: 50px 0 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--soft); font-weight: 600; color: var(--ink); line-height: 1.45; }
.checks .ico { color: var(--blue); width: 22px; height: 22px; margin-top: 1px; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-steps li { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.mini-steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 14px; background: linear-gradient(135deg, #4c8dff, var(--blue-d)); color: #fff; font-weight: 800; }
.mini-steps p { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.detail__gallery { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 12px; max-width: calc(var(--cols, 4) * 190px); }
.detail__side { position: sticky; top: calc(var(--hdr) + 24px); display: flex; flex-direction: column; gap: 12px; }
.side-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.side-card__img { height: 210px; overflow: hidden; }
.side-card__img img { width: 100%; height: 100%; object-fit: cover; }
.side-card__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.side-card__label { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.side-card__price { margin: 0; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.side-card__note { font-size: 14.5px; line-height: 1.5; margin: 0 0 8px; }
.side-card__meta { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.side-link { --sys: var(--blue); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-radius: 18px; background: var(--soft); color: var(--ink); font-weight: 700; border-left: 4px solid var(--sys); transition: transform .3s var(--ease), box-shadow .3s; }
.side-link:hover { transform: translateX(4px); box-shadow: var(--sh); color: var(--blue); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.feat-card { --sys: var(--blue); padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.feat-card .feat-ico { color: var(--sys); margin-bottom: 16px; }
.feat-card h3 { margin-bottom: 6px; font-size: 18px; }
.feat-card p { margin: 0; font-size: 15px; }
@media (max-width: 1199.98px) { .mini-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991.98px) { .detail { grid-template-columns: 1fr; } .detail__side { position: static; } }
@media (max-width: 575.98px) { .checks, .feat-grid, .mini-steps { grid-template-columns: 1fr; } .detail__gallery { grid-template-columns: repeat(2, 1fr); max-width: none; } }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); color: var(--ink-2); }
.contact-card .feat-ico { margin-bottom: 14px; background: var(--blue-l); box-shadow: none; }
.contact-card__label { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.contact-card__note { font-size: 14px; }
.contact-card--primary { background: linear-gradient(135deg, #3a77ff, var(--blue-d)); border-color: transparent; color: rgba(255, 255, 255, .8); box-shadow: var(--sh-blue); }
.contact-card--primary:hover { color: rgba(255, 255, 255, .8); }
.contact-card--primary .feat-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.contact-card--primary .contact-card__label { color: rgba(255, 255, 255, .65); }
.contact-card--primary .contact-card__value { color: #fff; }
@media (max-width: 1199.98px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Текст, ошибки ---------- */
.text-page { max-width: 820px; }
.text-page h2 { font-size: 26px; margin: 40px 0 14px; }
.error-sec { text-align: center; }
.error-code { font-size: clamp(100px, 16vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin: 0 0 10px; background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Подвал ---------- */
.ftr { background: var(--navy); color: rgba(255, 255, 255, .62); padding-top: clamp(60px, 7vw, 90px); font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.ftr__logo { display: inline-block; margin-bottom: 20px; }
.ftr__about p { max-width: 360px; line-height: 1.65; }
.ftr__rating { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); font-size: 14px; }
.ftr__rating:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.ftr__rating b { color: #fff; }
.ftr__title { color: #fff; font-size: 16px; letter-spacing: 0; margin-bottom: 20px; }
.ftr__links, .ftr__contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ftr__links a { color: rgba(255, 255, 255, .62); }
.ftr__links a:hover { color: #fff; }
.ftr__contacts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.ftr__contacts .ico { color: var(--cyan); margin-top: 1px; }
.ftr__contacts a { color: #fff; font-weight: 800; font-size: 18px; }
.ftr__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ftr__social a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: 14px; }
.ftr__social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.ftr__social .ico { width: 18px; height: 18px; }
.ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 13.5px; }
.ftr__bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; }
.ftr__bottom p { margin: 0; }
.ftr__bottom a { color: rgba(255, 255, 255, .62); }
.ftr__bottom a:hover { color: #fff; }
.ftr__note { color: rgba(255, 255, 255, .4); }
@media (max-width: 991.98px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .ftr__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Плавающее ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--sh-lg); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }
.mobile-bar { display: none; }
@media (max-width: 767.98px) {
  body { padding-bottom: 74px; }
  .mobile-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 95; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 20px; background: rgba(8, 18, 39, .92); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 50px; border-radius: 15px; color: #fff; font-weight: 800; font-size: 14px; }
  .mobile-bar .ico { width: 20px; height: 20px; }
  .mobile-bar__call { background: linear-gradient(135deg, #3a77ff, var(--blue-d)); }
  .mobile-bar__telegram, .mobile-bar__max { background: rgba(255, 255, 255, .08); }
  .to-top { bottom: 96px; right: 16px; width: 44px; height: 44px; }
}

/* ---------- Лайтбокс ---------- */
.lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 60px 70px; background: rgba(5, 10, 22, .94); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb__img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb__cap { margin-top: 16px; color: #fff; font-weight: 700; text-align: center; display: flex; gap: 14px; align-items: center; }
.lb__cap span { color: rgba(255, 255, 255, .5); font-weight: 600; font-size: 14px; }
.lb__close, .lb__prev, .lb__next { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background-color .2s; }
.lb__close:hover, .lb__prev:hover, .lb__next:hover { background: var(--blue); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb .ico { width: 26px; height: 26px; }
body.lb-open { overflow: hidden; }
@media (max-width: 575.98px) { .lb { padding: 60px 10px; } .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; } }

/* ---------- Появление ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transform: translateY(18px); }
.js .hero__card { opacity: 0; }
.js.loaded .hero__card { opacity: 1; transition: opacity .9s var(--ease) .2s, transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero__card { opacity: 1; transform: none; }
}

/* <picture> внутри медиа-контейнеров тянется на всю площадь */
.hero__card picture, .svc-feature__img picture, .svc-row__img picture, .why__photo picture, .work picture, .sys-card__img picture, .side-card__img picture { width: 100%; height: 100%; }
.why__photo { background: #fff; }

/* карточка-призыв в сетке услуг */
.svc-cta { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 32px; border-radius: var(--r-lg); background: var(--navy); color: rgba(255, 255, 255, .7); position: relative; overflow: hidden; isolation: isolate; }
.svc-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 200px at 100% 0%, rgba(31, 94, 255, .55), transparent 70%); }
.svc-cta h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.svc-cta p { margin: 0; font-size: 15px; }
.svc-cta .btn { flex: none; }
@media (max-width: 991.98px) { .svc-cta { flex-direction: column; align-items: flex-start; } }
@media (max-width: 575.98px) { .svc-cta { grid-column: auto; } .svc-cta .btn { width: 100%; } }
.steps li { border: 1px solid var(--line); }
