/* ============================================================
   ASYL DEZ — «Арка защиты»
   Ботаническо-чистая арт-дирекция · navy × green · adineue PRO KZ
   ============================================================ */

/* ---------- Шрифты ---------- */
@font-face {
  font-family: 'adineue PRO KZ';
  src: url('assets/fonts/adineuePROKZ-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'adineue PRO KZ';
  src: url('assets/fonts/adineuePROKZ-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'adineue PRO KZ';
  src: url('assets/fonts/adineuePROKZ-Black.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ---------- Токены ---------- */
:root {
  --navy-900: #0C2C42;
  --navy-800: #14425A;
  --navy-700: #1B5674;
  --green: #2E9E6E;
  --green-light: #34AE86;
  --green-deep: #0C664C;
  --teal: #2CA0A0;
  --teal-deep: #256566;
  --light: #F6F8F8;
  --white: #FEFEFE;
  --mint: #EAF4EF;
  --ink: #0C2C42;
  --ink-soft: rgba(12, 44, 66, .72);
  --line: rgba(12, 44, 66, .1);

  --font: 'adineue PRO KZ', 'Helvetica Neue', Arial, sans-serif;
  --radius: 26px;
  --header-h: 74px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .5, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--light);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

::selection { background: var(--green); color: #fff; }

/* тонкое зерно поверх всего */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 90;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
.container-narrow { width: min(860px, 100% - 40px); }

/* ============================================================
   REVEAL-система (JS вешает .in)
   ============================================================ */
[data-rv] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out) var(--d, 0s),
              transform .9s var(--ease-out) var(--d, 0s);
}
[data-rv].in { opacity: 1; transform: none; }

/* ============================================================
   Кнопки
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .35s ease, background .3s ease, color .3s ease;
  will-change: transform;
}
.btn-label { position: relative; z-index: 2; }
.btn-green {
  color: #fff;
  background: linear-gradient(135deg, var(--green-light), var(--green) 55%, var(--green-deep));
  box-shadow: 0 10px 26px -8px rgba(46, 158, 110, .55);
}
.btn-green::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal), var(--green-light));
  opacity: 0; transition: opacity .35s ease;
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(46, 158, 110, .65); }
.btn-green:hover::after { opacity: 1; }
.btn-ghost {
  color: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(254, 254, 254, .35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(52, 174, 134, .9); color: #A8E6CE; }
.btn-lg { padding: 19px 38px; font-size: 17px; }
.btn-sm { padding: 12px 22px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, transform .4s ease;
}
.header.scrolled {
  background: rgba(12, 44, 66, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(254, 254, 254, .08), 0 14px 40px -18px rgba(6, 22, 34, .7);
}
.header.hidden { transform: translateY(-100%); }
.header-in {
  width: min(1280px, 100% - 32px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; color: #fff; }
.brand-text strong { font-weight: 800; font-size: 19px; letter-spacing: .06em; }
.brand-text small { font-weight: 300; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(254,254,254,.6); margin-top: 3px; }

.nav { display: none; margin-inline: auto; gap: 26px; }
.nav a {
  position: relative;
  color: rgba(254, 254, 254, .85);
  font-size: 14.5px;
  font-weight: 300;
  letter-spacing: .03em;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-light), var(--teal));
  transition: right .35s var(--ease-out);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { right: 0; }

.header-cta { display: none; align-items: center; gap: 18px; margin-left: auto; }
.header-phone { color: #fff; font-weight: 700; font-size: 15.5px; letter-spacing: .02em; white-space: nowrap; transition: color .25s; }
.header-phone:hover { color: var(--green-light); }

.burger {
  margin-left: 10px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  gap: 0;
  background: rgba(254,254,254,.08);
  border: 1px solid rgba(254,254,254,.16);
  border-radius: 14px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: #fff;
  margin: 2.5px 0;
  transition: transform .35s var(--ease-out), opacity .25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* мобильное меню */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 95;
  background: linear-gradient(160deg, var(--navy-900), #0A2334 60%, var(--green-deep) 160%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 34px 44px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.mobile-menu-arc {
  position: absolute; left: 50%; bottom: -30vw;
  width: 130vw; height: 130vw;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1.5px solid rgba(52, 174, 134, .25);
  pointer-events: none;
}
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  color: #fff;
  font-weight: 800;
  font-size: clamp(28px, 7.4vw, 40px);
  line-height: 1.3;
  letter-spacing: .01em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .25s;
}
.mobile-menu.open .mobile-nav a {
  opacity: 1; transform: none;
  transition-delay: calc(.06s + var(--i) * .05s), calc(.06s + var(--i) * .05s), 0s;
}
.mobile-nav a:active { color: var(--green-light); }
.mobile-menu-foot {
  margin-top: 38px;
  display: flex; flex-direction: column; gap: 16px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease-out) .38s, transform .5s var(--ease-out) .38s;
}
.mobile-menu.open .mobile-menu-foot { opacity: 1; transform: none; }
.mobile-menu-tel { color: rgba(254,254,254,.85); font-weight: 700; font-size: 19px; text-align: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: clip;
  background: var(--navy-900);
  color: #fff;
  padding: calc(var(--header-h) + 40px) 20px 110px;
}
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 44% at 18% 6%, rgba(27, 86, 116, .75), transparent 70%),
    radial-gradient(46% 38% at 86% 16%, rgba(44, 160, 160, .28), transparent 70%),
    radial-gradient(70% 58% at 50% 108%, rgba(12, 102, 76, .55), transparent 72%),
    radial-gradient(34% 26% at 72% 84%, rgba(52, 174, 134, .22), transparent 70%),
    linear-gradient(180deg, #0A2537, var(--navy-900) 45%, #0B3040);
}
#spores { position: absolute; inset: 0; width: 100%; height: 100%; }

/* купол */
.hero-dome {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: max(120%, 900px);
  height: 78%;
  pointer-events: none;
}
.dome-line {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: domeDraw 2.6s var(--ease-out) forwards;
}
.dome-line-2 { animation-delay: .35s; }
.dome-line-3 { animation-delay: .6s; }
@keyframes domeDraw { to { stroke-dashoffset: 0; } }
.dome-node { opacity: 0; animation: nodeIn .6s ease 2s forwards; }
@keyframes nodeIn { to { opacity: 1; } }

.hero-in {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* каскадный вход контента hero */
.hero-kicker, .hero-sub, .hero-cta, .hero-chips {
  opacity: 0;
  transform: translateY(24px);
  animation: heroUp .9s var(--ease-out) var(--d, 0s) forwards;
}
@keyframes heroUp { to { opacity: 1; transform: none; } }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, .78);
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(254, 254, 254, .16);
  background: rgba(254, 254, 254, .05);
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 0 rgba(52, 174, 134, .6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 174, 134, .55); }
  70% { box-shadow: 0 0 0 11px rgba(52, 174, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 174, 134, 0); }
}

.hero-title {
  margin: 30px 0 24px;
  font-weight: 800;
  font-size: clamp(41px, 9.6vw, 108px);
  line-height: 1.16;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.ht-line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
  margin-bottom: -.06em;
}
.ht-word {
  display: inline-block;
  transform: translateY(112%);
  animation: wordUp 1.05s var(--ease-out) var(--d, 0s) forwards;
}
@keyframes wordUp { to { transform: none; } }
.ht-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(254, 254, 254, .85);
}
.ht-grad {
  background: linear-gradient(100deg, var(--green-light) 10%, #7FD8B5 45%, var(--teal) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 640px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: rgba(254, 254, 254, .82);
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.hero-chips {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: .05em;
  color: rgba(254, 254, 254, .75);
}
.hero-chips svg { width: 19px; height: 19px; color: var(--green-light); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroUp 1s ease 1.6s forwards;
}
.hero-scroll-line {
  width: 1.5px; height: 44px;
  background: linear-gradient(180deg, transparent, var(--green-light));
  overflow: hidden;
  position: relative;
}
.hero-scroll-line::after {
  content: '';
  position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: #fff;
  animation: scrollDrip 1.8s ease-in-out infinite;
}
@keyframes scrollDrip {
  0% { top: -50%; } 100% { top: 110%; }
}
.hero-scroll-txt {
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, .5);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--green-deep);
  color: #DFF2E9;
  overflow: hidden;
  padding: 15px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -26px 0 0;
  position: relative;
  z-index: 4;
  box-shadow: 0 14px 34px -18px rgba(12, 102, 76, .8);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.marquee-track i {
  font-style: normal;
  margin: 0 18px;
  color: var(--green-light);
  font-size: 11px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Секции — общее
   ============================================================ */
.section { position: relative; padding: clamp(76px, 11vw, 130px) 0; }
.section-light { background: var(--light); }
.section-mint { background: var(--mint); }
.section-dark { background: linear-gradient(175deg, var(--navy-900) 30%, #0E3448 75%, #114150); color: #fff; overflow: clip; }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-label {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.sec-label span {
  font-weight: 800;
  font-size: 12px;
  color: var(--teal);
  border: 1px solid rgba(44, 160, 160, .4);
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: .1em;
}
.sec-label-dark { color: var(--green-light); }
.sec-title {
  font-weight: 800;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.22;
  letter-spacing: .003em;
  text-wrap: balance;
}
.sec-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-dark .sec-title em {
  background: linear-gradient(100deg, var(--green-light), #7FD8B5);
  -webkit-background-clip: text;
  background-clip: text;
}
.sec-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
}
.section-dark .sec-sub { color: rgba(254, 254, 254, .72); }

/* декоративные дуги на фоне */
.bg-arc {
  position: absolute;
  pointer-events: none;
}
.bg-arc-right { right: -160px; top: -60px; width: 560px; height: 560px; }

/* ============================================================
   УСЛУГИ
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.svc {
  position: relative;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s ease, border-color .4s ease;
  transform-style: preserve-3d;
}
.svc:hover {
  box-shadow: 0 30px 60px -28px rgba(12, 44, 66, .35);
  border-color: rgba(46, 158, 110, .35);
}
/* дуга-мотив: вырастает при ховере */
.svc::before {
  content: '';
  position: absolute;
  left: 50%; top: -170px;
  width: 340px; height: 340px;
  transform: translateX(-50%) scale(.5);
  border-radius: 50%;
  border: 1.5px solid rgba(46, 158, 110, .0);
  transition: transform .8s var(--ease-out), border-color .5s ease;
  pointer-events: none;
}
.svc:hover::before {
  transform: translateX(-50%) scale(1);
  border-color: rgba(46, 158, 110, .3);
}
.svc-num {
  position: absolute;
  top: 18px; right: 22px;
  font-weight: 800;
  font-size: 58px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(12, 44, 66, .13);
  transition: -webkit-text-stroke-color .4s ease;
}
.svc:hover .svc-num { -webkit-text-stroke-color: rgba(46, 158, 110, .5); }
.svc-icon {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  border-radius: 22px;
  color: var(--green);
  background: linear-gradient(145deg, rgba(46, 158, 110, .12), rgba(44, 160, 160, .1));
  border: 1px solid rgba(46, 158, 110, .2);
  margin-bottom: 22px;
  transition: transform .5s var(--ease-spring), background .4s ease, color .4s ease;
}
.svc:hover .svc-icon {
  transform: translateY(-4px) rotate(-4deg) scale(1.05);
  color: var(--green-deep);
}
.svc-icon svg { width: 44px; height: 44px; }
/* line-draw иконок при появлении */
.dr { stroke-dasharray: 200; stroke-dashoffset: 200; }
.in .dr, .svc.icon-drawn .dr { animation: iconDraw 1.4s var(--ease-out) forwards; }
.in .dr:nth-of-type(2) { animation-delay: .15s; }
.in .dr:nth-of-type(3) { animation-delay: .3s; }
.in .dr:nth-of-type(4) { animation-delay: .45s; }
.in .dr:nth-of-type(5) { animation-delay: .55s; }
@keyframes iconDraw { to { stroke-dashoffset: 0; } }

.svc h3 {
  font-weight: 800;
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.25;
  margin-bottom: 10px;
}
.svc p { color: var(--ink-soft); font-size: 15.5px; max-width: 52ch; }
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 22px;
}
.svc-tags li {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--teal-deep);
  background: rgba(44, 160, 160, .1);
  border: 1px solid rgba(44, 160, 160, .22);
  padding: 5px 12px;
  border-radius: 999px;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--green-deep);
  transition: color .3s ease, gap .3s var(--ease-out);
}
.svc-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.svc-link:hover { color: var(--green); gap: 12px; }
.svc-accent {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800) 70%, var(--teal-deep) 150%);
  border-color: rgba(52, 174, 134, .3);
  color: #fff;
}
.svc-accent p { color: rgba(254, 254, 254, .78); }
.svc-accent .svc-icon { color: var(--green-light); background: rgba(52, 174, 134, .14); border-color: rgba(52, 174, 134, .3); }
.svc-accent .svc-num { -webkit-text-stroke-color: rgba(254, 254, 254, .2); }
.svc-accent .svc-tags li { color: #A8E6CE; background: rgba(52, 174, 134, .13); border-color: rgba(52, 174, 134, .3); }
.svc-accent .svc-link { color: var(--green-light); }
.svc-accent .svc-link:hover { color: #A8E6CE; }
.svc-accent:hover .svc-icon { color: #A8E6CE; }

/* ============================================================
   ОБЪЕКТЫ
   ============================================================ */
.objects-wrap { padding-top: 0; }
.objects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.objects li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  transition: transform .45s var(--ease-out), box-shadow .45s ease, border-color .35s ease, opacity .9s var(--ease-out) var(--d, 0s);
}
.objects li:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 158, 110, .4);
  box-shadow: 0 20px 40px -22px rgba(12, 44, 66, .3);
}
.objects svg {
  width: 34px; height: 34px;
  color: var(--green);
}

/* ============================================================
   ГОРОДА
   ============================================================ */
.cities-domes {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: min(46%, 300px);
  pointer-events: none;
}
.cities {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
/* соединяющая линия маршрута */
.cities::before {
  content: '';
  position: absolute;
  left: 9px; top: 22px; bottom: 22px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--green-light), var(--teal) 60%, transparent);
  opacity: .5;
}
.city {
  position: relative;
  padding: 20px 0 20px 44px;
}
.city-dot {
  position: absolute;
  left: 0; top: 30px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--green-light), var(--green-deep));
  box-shadow: 0 0 0 0 rgba(52, 174, 134, .5);
  animation: pulse 2.6s ease-out infinite;
}
.city h3 {
  font-weight: 800;
  font-size: clamp(30px, 6.4vw, 54px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .01em;
  transition: color .3s ease;
}
.city:hover h3 { color: var(--green-light); }
.city p { margin-top: 6px; color: rgba(254, 254, 254, .62); font-size: 15px; }
.cities-note {
  margin-top: 36px;
  font-size: 14.5px;
  color: rgba(254, 254, 254, .55);
  padding-left: 44px;
}

/* ============================================================
   ПОЧЕМУ МЫ
   ============================================================ */
.counters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 54px;
}
.counter {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.counter strong {
  font-weight: 800;
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1;
  background: linear-gradient(120deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.counter-cap { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }

.trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.trust-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s ease, border-color .4s ease, opacity .9s var(--ease-out) var(--d, 0s);
}
.trust-card::after {
  content: '';
  position: absolute;
  left: 26px; right: 26px; bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--green-light), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.trust-card:hover { transform: translateY(-5px); border-color: rgba(46, 158, 110, .35); box-shadow: 0 26px 50px -26px rgba(12, 44, 66, .3); }
.trust-card:hover::after { transform: scaleX(1); }
.trust-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  color: var(--green);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(46, 158, 110, .12), rgba(44, 160, 160, .09));
  border: 1px solid rgba(46, 158, 110, .2);
  margin-bottom: 18px;
}
.trust-icon svg { width: 32px; height: 32px; }
.trust-card h3 { font-weight: 800; font-size: 20px; margin-bottom: 10px; }
.trust-card p { font-size: 15px; color: var(--ink-soft); }

/* ============================================================
   ЭТАПЫ
   ============================================================ */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.steps-line { display: none; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px 24px 74px;
  transition: transform .5s var(--ease-out), box-shadow .5s ease, opacity .9s var(--ease-out) var(--d, 0s);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(12, 44, 66, .28); }
.step-num {
  position: absolute;
  left: 22px; top: 26px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-light), var(--green-deep));
  box-shadow: 0 8px 18px -6px rgba(46, 158, 110, .6);
}
.step h3 { font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .35s ease, box-shadow .35s ease, opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.faq-item[open] {
  border-color: rgba(46, 158, 110, .4);
  box-shadow: 0 18px 40px -24px rgba(12, 44, 66, .25);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.4;
  transition: color .3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-deep); }
.faq-x {
  position: relative;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(46, 158, 110, .45);
  transition: transform .45s var(--ease-out), background .3s ease, border-color .3s ease;
}
.faq-x::before, .faq-x::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 1.8px;
  border-radius: 2px;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: background .3s ease, transform .45s var(--ease-out);
}
.faq-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-x {
  transform: rotate(135deg);
  background: var(--green);
  border-color: var(--green);
}
.faq-item[open] .faq-x::before, .faq-item[open] .faq-x::after { background: #fff; }
.faq-body {
  padding: 0 22px;
  overflow: hidden;
}
.faq-body p {
  padding-bottom: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 62ch;
}
.faq-body a { color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   ЗАЯВКА
   ============================================================ */
.lead-wrap { overflow: clip; }
.lead-glow {
  position: absolute;
  right: -220px; top: -160px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 174, 134, .22), transparent 65%);
  pointer-events: none;
}
.lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
.lead-info .sec-title { margin-bottom: 26px; }
.lead-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.lead-points li {
  position: relative;
  padding-left: 34px;
  color: rgba(254, 254, 254, .85);
  font-size: 16px;
}
.lead-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.4 3.4L17.5 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat,
    linear-gradient(135deg, var(--green-light), var(--green-deep));
}
.lead-contact { display: flex; flex-direction: column; gap: 4px; }
.lead-tel {
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 34px);
  letter-spacing: .01em;
  color: #fff;
  transition: color .3s ease;
}
.lead-tel:hover { color: var(--green-light); }
.lead-contact span { font-size: 13.5px; color: rgba(254, 254, 254, .55); }

.lead-form {
  position: relative;
  background: rgba(254, 254, 254, .06);
  border: 1px solid rgba(254, 254, 254, .14);
  border-radius: 28px;
  padding: 30px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ff { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ff label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, .6);
}
.ff input, .ff select, .ff textarea {
  width: 100%;
  background: rgba(12, 44, 66, .5);
  border: 1px solid rgba(254, 254, 254, .16);
  border-radius: 14px;
  color: #fff;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 300;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
  appearance: none;
}
.ff select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2334AE86' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.ff input::placeholder, .ff textarea::placeholder { color: rgba(254, 254, 254, .35); }
.ff input:focus, .ff select:focus, .ff textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(52, 174, 134, .22);
}
.ff input.err { border-color: #E4737B; box-shadow: 0 0 0 3px rgba(228, 115, 123, .2); }
.ff textarea { resize: vertical; min-height: 84px; }
.ff-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lead-note { font-size: 12.5px; color: rgba(254, 254, 254, .45); text-align: center; }
.lead-thanks {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: rgba(10, 34, 50, .96);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 30px;
  color: #fff;
  z-index: 3;
}
.lead-thanks[hidden] { display: none; }
.lead-thanks svg { width: 64px; height: 64px; color: var(--green-light); }
.lead-thanks strong { font-weight: 800; font-size: 21px; }
.lead-thanks span { font-size: 14.5px; color: rgba(254, 254, 254, .65); max-width: 34ch; }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contact-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 40px;
}
.contact-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  transition: transform .45s var(--ease-out), border-color .35s ease, box-shadow .45s ease;
}
.contact-links a:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 158, 110, .45);
  box-shadow: 0 20px 42px -24px rgba(12, 44, 66, .3);
}
.contact-links svg { width: 30px; height: 30px; color: var(--green); flex-shrink: 0; }
.contact-links span { display: flex; flex-direction: column; font-weight: 800; font-size: 17px; line-height: 1.3; }
.contact-links small { font-weight: 300; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }

.offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.office {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 18px;
  padding: 20px 18px;
  transition: transform .4s var(--ease-out), box-shadow .4s ease, opacity .9s var(--ease-out) var(--d, 0s);
}
.office:hover { transform: translateY(-4px); box-shadow: 0 18px 38px -22px rgba(12, 44, 66, .28); }
.office h3 { font-weight: 800; font-size: 18px; margin-bottom: 5px; }
.office p { font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: #08202F;
  color: rgba(254, 254, 254, .75);
  padding: 70px 0 30px;
  overflow: clip;
}
.footer-arc {
  position: absolute;
  left: 0; right: 0; top: 0;
  width: 100%; height: 140px;
  pointer-events: none;
}
.footer-in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand img { width: 52px; }
.footer-slogan { margin-top: 16px; font-weight: 800; font-size: 18px; color: #fff; letter-spacing: .02em; }
.footer-legal { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: rgba(254, 254, 254, .45); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contacts a { font-size: 14.5px; transition: color .25s ease; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--green-light); }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts a:first-child { font-weight: 800; font-size: 19px; color: #fff; }
.footer-contacts span { font-size: 12.5px; color: rgba(254, 254, 254, .45); }
.footer-copy {
  border-top: 1px solid rgba(254, 254, 254, .08);
  padding-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(254, 254, 254, .4);
}

/* ============================================================
   Плавающая WhatsApp-кнопка
   ============================================================ */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 80;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--green-light), var(--green-deep));
  box-shadow: 0 12px 30px -8px rgba(46, 158, 110, .7);
  transition: transform .4s var(--ease-spring);
}
.wa-float:hover { transform: scale(1.08) rotate(6deg); }
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.wa-float-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(52, 174, 134, .7);
  animation: waRing 2.4s ease-out infinite;
}
@keyframes waRing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ============================================================
   ПЛАНШЕТ / ДЕСКТОП
   ============================================================ */
@media (min-width: 640px) {
  .objects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .objects li { flex-direction: row; align-items: center; padding: 20px 22px; }
  .counters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; }
  .marquee-track span { font-size: 16px; }
}

@media (min-width: 900px) {
  .services { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .svc { padding: 40px 36px 36px; }
  .svc-wide { grid-column: span 7; }
  .svc:nth-child(2) { grid-column: span 5; }
  .svc:nth-child(3), .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 4; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .steps-line {
    display: block;
    position: absolute;
    left: 3%; right: 3%;
    top: 44px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--green) 12%, var(--teal) 88%, transparent);
    opacity: .4;
  }
  .step { padding: 68px 20px 24px; }
  .step-num { left: 20px; top: 24px; }
  .step:nth-child(odd of .step) { transform: translateY(14px); }
  .step:nth-child(odd of .step):hover { transform: translateY(9px); }
  .lead { grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
  .lead-form { padding: 38px 34px; }
  .cities { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .cities::before {
    left: 9px; right: 9px; top: 39px; bottom: auto;
    width: auto; height: 1.5px;
    background: linear-gradient(90deg, var(--green-light), var(--teal) 55%, transparent);
  }
  .city { padding: 64px 0 0 2px; }
  .city-dot { top: 30px; left: 0; }
  .cities-note { padding-left: 2px; }
  .footer-in { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
  .wa-float { right: 28px; bottom: 28px; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-cta { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }
}

/* хвост ленты не должен давать h-скролл */
@media (max-width: 639.5px) {
  .hero { padding-bottom: 96px; }
  .hero-chips { gap: 12px 18px; }
  .svc-num { font-size: 46px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
    transition-delay: 0s !important;
  }
  [data-rv], .hero-kicker, .hero-sub, .hero-cta, .hero-chips, .ht-word { opacity: 1; transform: none; }
  .dr, .dome-line { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  #spores { display: none; }
}

/* ===== Обогащение фона секций: споры-точки + арка-дуга + мягкий свет ===== */
.section { overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.section::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* светлые/мятные — зелёные точки-споры + свет */
.section-light::before, .section-mint::before {
  background-image:
    radial-gradient(rgba(46,158,110,0.09) 1.1px, transparent 1.3px),
    radial-gradient(circle at 88% -6%, rgba(46,158,110,0.09), transparent 55%);
  background-size: 27px 27px, 100% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
}
/* тёмные — бирюзовые точки + свет */
.section-dark::before {
  background-image:
    radial-gradient(rgba(127,216,181,0.07) 1.1px, transparent 1.3px),
    radial-gradient(circle at 14% 106%, rgba(44,160,160,0.14), transparent 55%);
  background-size: 27px 27px, 100% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
}
/* тонкая дуга-арка (мотив купола) в светлых секциях */
.section-light::after, .section-mint::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: min(120vw, 1300px); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(46,158,110,0.10);
  left: 50%; top: 24%; transform: translateX(-50%);
}
.section-light:nth-of-type(even)::after { border-color: rgba(44,160,160,0.10); top: auto; bottom: 22%; }

/* ===== Спрей-проявление «Объекты» (canvas-аэрозоль) ===== */
.objects { position: relative; }
.objects li {
  opacity: 0; transform: translateY(20px) scale(.9); filter: blur(7px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.2,.9,.3,1.2), filter .45s ease;
}
.objects li.sprayed-in { opacity: 1; transform: none; filter: none; }
.spray-canvas { position: absolute; left: 50%; top: -120px; transform: translateX(-50%); width: 100vw; height: calc(100% + 260px); pointer-events: none; z-index: 5; filter: blur(9px); }
@media (prefers-reduced-motion: reduce) {
  .objects li { opacity: 1; transform: none; filter: none; }
  .spray-canvas { display: none; }
}

/* ============================================================
   v8: KZ/RU · фото · листья · доп. анимации
   ============================================================ */

/* ---------- Переключатель языков ---------- */
.lang {
  display: flex;
  margin-left: auto;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 999px;
  background: rgba(254, 254, 254, .08);
  border: 1px solid rgba(254, 254, 254, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(254, 254, 254, .6);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .1em;
  line-height: 1;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .3s ease, background .3s ease, box-shadow .3s ease;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--green-light), var(--green-deep));
  box-shadow: 0 6px 14px -6px rgba(46, 158, 110, .7);
}
@media (min-width: 1024px) {
  .lang { margin-left: 0; }
}

/* ---------- Hero: парящие фото-карточки ---------- */
.hero-ph {
  position: absolute;
  z-index: 2;
  width: clamp(150px, 13.5vw, 215px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(254, 254, 254, .2);
  box-shadow: 0 34px 80px -24px rgba(3, 14, 22, .85);
  opacity: 0;
  display: none;
  animation: phIn 1.3s var(--ease-out) 1.2s forwards;
  will-change: translate;
}
.hero-ph-l { left: max(2.6vw, 18px); top: 23%; transform: rotate(-5deg); }
.hero-ph-r { right: max(2.6vw, 18px); top: 31%; transform: rotate(5.5deg); animation-delay: 1.38s; }
@keyframes phIn { to { opacity: 1; } }
.hero-ph img {
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 9.6;
  object-fit: cover;
  animation: phFloat 7.5s ease-in-out 2.4s infinite alternate;
}
.hero-ph-r img { animation-duration: 8.5s; animation-delay: 2.9s; }
@keyframes phFloat {
  from { transform: translateY(0) scale(1.06); }
  to   { transform: translateY(-12px) scale(1.06); }
}
.hero-ph::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 44, 66, .18), transparent 40%, rgba(12, 102, 76, .28));
  pointer-events: none;
}
.hero-ph figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 26, 38, .6);
  border: 1px solid rgba(254, 254, 254, .22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-ph-dot {
  width: 7px; height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 10px rgba(52, 174, 134, .9);
}
@media (min-width: 1200px) {
  .hero-ph { display: block; }
}

/* лёгкое дыхание градиент-меша hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-mesh {
    background-size: 130% 130%;
    animation: meshDrift 18s ease-in-out infinite alternate;
  }
  @keyframes meshDrift {
    from { background-position: 0% 0%; }
    to   { background-position: 100% 100%; }
  }
}

/* ---------- Услуги: фото в широкой карточке ---------- */
.svc-ph {
  position: relative;
  margin: -34px -28px 24px;
  height: 200px;
  overflow: hidden;
}
.svc-ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .9s var(--ease-out);
}
.svc:hover .svc-ph img { transform: scale(1.1); }
.svc-ph::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 44, 66, .12), transparent 45%);
  pointer-events: none;
}
.svc-num { z-index: 2; }
.svc-body { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .svc-wide { position: relative; }
  .svc-wide .svc-ph {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 47%;
    height: auto;
    margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%);
    mask-image: linear-gradient(90deg, transparent, #000 34%);
  }
  .svc-wide .svc-ph::after {
    background: linear-gradient(180deg, rgba(12, 44, 66, .1), transparent 40%, rgba(12, 102, 76, .18));
  }
  .svc-wide .svc-body { max-width: 57%; }
}

/* ---------- Почему мы: фото-карточка у заголовка ---------- */
.why-top { display: flex; flex-direction: column; }
.why-ph {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 34px 70px -32px rgba(12, 44, 66, .55);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.why-ph img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1s var(--ease-out);
}
.why-ph:hover img { transform: scale(1.06); }
.why-ph::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 44, 66, .35));
  pointer-events: none;
}
.why-ph figcaption {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(8, 26, 38, .6);
  border: 1px solid rgba(254, 254, 254, .22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .why-top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: clamp(40px, 6vw, 60px);
  }
  .why-top .sec-head { margin-bottom: 0; }
  .why-ph {
    width: 330px;
    flex-shrink: 0;
    margin-bottom: 0;
    transform: rotate(1.6deg);
    transition: transform .6s var(--ease-out), box-shadow .6s ease, opacity .9s var(--ease-out) var(--d, 0s);
  }
  .why-ph:hover { transform: rotate(0deg) translateY(-6px); }
  .why-ph img { aspect-ratio: 3 / 3.4; }
}

/* ---------- Этапы: фото процесса ---------- */
.workshots {
  margin-top: clamp(42px, 6vw, 66px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.wshot {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 54px -30px rgba(12, 44, 66, .5);
}
.wshot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.wshot:hover img { transform: scale(1.07); }
.wshot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(9, 32, 47, .74));
  pointer-events: none;
}
.wshot figcaption {
  position: absolute;
  left: 18px; right: 18px; bottom: 15px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .03em;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(6, 20, 30, .6);
}
@media (min-width: 900px) {
  .workshots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .wshot img { aspect-ratio: 4 / 4.6; }
  .wshot:nth-child(2) { transform: translateY(16px); }
}

/* ---------- Ботанические листья-декор ---------- */
.leaf-float {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .17;
  animation: leafSway 10s ease-in-out infinite alternate;
}
.leaf-a { width: clamp(90px, 11vw, 160px); right: 3%; top: 34px; rotate: 16deg; }
.leaf-b { width: clamp(70px, 8vw, 120px); left: -28px; bottom: 60px; rotate: -26deg; animation-delay: -4s; }
.leaf-c { width: clamp(80px, 9vw, 130px); right: -20px; top: 70px; rotate: -14deg; animation-delay: -2.5s; }
@keyframes leafSway {
  from { transform: rotate(-4deg) translateY(0); }
  to   { transform: rotate(5deg) translateY(14px); }
}

/* ---------- Этапы: линия рисуется при появлении ---------- */
.steps-line[data-rv] {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.7s var(--ease-out) .25s;
}
.steps-line[data-rv].in { transform: scaleX(1); }

/* ---------- Мелочи ---------- */
.marquee:hover .marquee-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .leaf-float, .hero-ph img { animation: none; }
  .hero-ph { opacity: 1; }
  .hero-mesh { animation: none; }
  .steps-line[data-rv] { transform: scaleX(1); }
}

/* ---------- Мобильный хедер: компактнее, всё влезает ---------- */
@media (max-width: 1023.5px) {
  .header-in { gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; }
  .brand-text strong { font-size: 16.5px; }
  .brand-text small { font-size: 9px; letter-spacing: .17em; }
  .lang { padding: 2px; }
  .lang-btn { padding: 7px 10px; font-size: 11.5px; }
  .burger { margin-left: 0; width: 42px; height: 42px; flex-shrink: 0; }
}

/* Кликабельные адреса офисов → 2ГИС (маршрут) */
.city p a, .office p a {
  color: inherit; text-decoration: none;
  border-bottom: 1px dashed currentColor; padding-bottom: 1px;
  transition: color .2s ease, opacity .2s ease;
}
.city p a:hover, .office p a:hover { color: var(--green); border-bottom-color: var(--green); }

/* ============================================================
   v9: видео-апдейт · hero-видео · лицензия · видео-отзывы ·
   работы на объектах · универсальный лайтбокс
   ============================================================ */

/* ---------- Hero: раскладка текст + видео-«телефон» ---------- */
.hero-layout {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
}
.hero-media {
  opacity: 0;
  transform: translateY(24px);
  animation: heroUp .9s var(--ease-out) var(--d, 0s) forwards;
}
.hero-phone {
  position: relative;
  width: clamp(200px, 56vw, 250px);
  padding: 9px;
  border-radius: 34px;
  background: rgba(8, 26, 38, .55);
  border: 1px solid rgba(254, 254, 254, .22);
  box-shadow: 0 44px 90px -30px rgba(3, 14, 22, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 464 / 848;
  object-fit: cover;
  border-radius: 26px;
  background: var(--navy-900);
}
.hero-phone-cap {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 26, 38, .6);
  border: 1px solid rgba(254, 254, 254, .22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .hero-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 5vw, 70px);
  }
  .hero-in {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    align-items: flex-start;
  }
  .hero-title { font-size: clamp(40px, 6.4vw, 84px); }
  .hero-cta, .hero-chips { justify-content: flex-start; }
  .hero-media { flex: 0 0 auto; }
  .hero-phone { width: clamp(232px, 21vw, 296px); transform: rotate(2.4deg); }
  /* видео заняло правую зону: парящие фото-карточки убираем */
  .hero-ph { display: none; }
}

/* ---------- Почему мы: блок гос. лицензии ---------- */
.license {
  position: relative;
  display: grid;
  gap: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 16px;
  overflow: hidden;
}
.license::before {
  content: '';
  position: absolute;
  left: 26px; right: 26px; top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--green-light), var(--teal));
}
.license-info h3 {
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
  margin-bottom: 10px;
}
.license-info p { color: var(--ink-soft); font-size: 15px; max-width: 52ch; }
.license-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.license-hint svg { width: 17px; height: 17px; flex-shrink: 0; }
.license-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}
.license-page {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
  box-shadow: 0 16px 34px -20px rgba(12, 44, 66, .4);
  transition: transform .45s var(--ease-out), box-shadow .45s ease, border-color .35s ease;
}
.license-page img { width: 100%; height: auto; display: block; }
.license-page:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 158, 110, .45);
  box-shadow: 0 24px 48px -22px rgba(12, 44, 66, .45);
}
.license-zoom {
  position: absolute;
  right: 10px; bottom: 10px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 26, 38, .6);
  border: 1px solid rgba(254, 254, 254, .3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .3s ease, transform .35s var(--ease-spring);
}
.license-zoom svg { width: 18px; height: 18px; }
.license-page:hover .license-zoom { background: rgba(46, 158, 110, .8); transform: scale(1.08); }
@media (min-width: 900px) {
  .license {
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: center;
    gap: 44px;
    padding: 36px 34px;
  }
}

/* ---------- Почему мы: карточка препаратов с видео ---------- */
.trust-card-media { display: grid; gap: 22px; }
.trust-video {
  width: min(100%, 235px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  justify-self: center;
  background: var(--navy-900);
  box-shadow: 0 22px 46px -26px rgba(12, 44, 66, .5);
}
@media (min-width: 640px) {
  .trust-card-media {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 225px;
    align-items: center;
    gap: 34px;
  }
  .trust-video { width: 100%; justify-self: end; }
}

/* ---------- Этапы: видео процесса в .workshots ---------- */
.wshot video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--navy-900);
}
@media (min-width: 900px) {
  .wshot video { aspect-ratio: 4 / 4.6; }
}

/* ---------- Видео-отзывы ---------- */
.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
}
.review {
  width: min(100%, 320px);
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy-900);
  border: 1px solid var(--line);
  box-shadow: 0 26px 54px -30px rgba(12, 44, 66, .5);
}
.review video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--navy-900);
}
@media (min-width: 720px) {
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .review { width: 100%; }
  .review:nth-child(2) { transform: translateY(16px); }
}

/* ---------- Объекты: галерея работ (видео по клику) ---------- */
.worksites { margin-top: clamp(48px, 7vw, 76px); }
.worksites-head { max-width: 720px; margin-bottom: 26px; }
.worksites-title {
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.25;
}
.worksites-sub { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; max-width: 58ch; }
.worksites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.worksite {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-900);
  transition: transform .45s var(--ease-out), box-shadow .45s ease, border-color .35s ease,
              opacity .9s var(--ease-out) var(--d, 0s);
}
.worksite img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-out);
}
.worksite::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 32, 47, .5));
  pointer-events: none;
}
.worksite:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 158, 110, .45);
  box-shadow: 0 22px 44px -22px rgba(12, 44, 66, .4);
}
.worksite:hover img { transform: scale(1.06); }
.worksite-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 26, 38, .55);
  border: 1px solid rgba(254, 254, 254, .35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .4s var(--ease-spring), background .3s ease;
}
.worksite-play svg { width: 22px; height: 22px; margin-left: 2px; }
.worksite:hover .worksite-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(46, 158, 110, .8);
}
@media (min-width: 640px) {
  .worksites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .worksites-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
}

/* ---------- Универсальный лайтбокс ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(6, 20, 30, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.lightbox-body {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(94vw, 940px);
  max-height: 88vh;
  transform: scale(.94) translateY(12px);
  transition: transform .45s var(--ease-out);
}
.lightbox.open .lightbox-body { transform: none; }
.lightbox-body img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}
.lightbox-body video {
  height: min(84vh, 780px);
  max-width: 92vw;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  width: 46px; height: 46px;
  border: 1px solid rgba(254, 254, 254, .3);
  border-radius: 50%;
  background: rgba(254, 254, 254, .08);
  cursor: pointer;
  transition: transform .35s var(--ease-spring), background .3s ease;
}
.lightbox-close span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.lightbox-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.lightbox-close:hover { transform: rotate(90deg); background: rgba(46, 158, 110, .6); }

/* ---------- Reduced motion для новых блоков ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-media { opacity: 1; transform: none; animation: none; }
  .hero-phone { transform: none; }
  .review:nth-child(2) { transform: none; }
  .lightbox, .lightbox-body { transition: none; }
}
