/* Сайт «Добрый Дом». Дизайн-система по мотивам Airbnb DESIGN.md: теплый коралловый акцент,
   фото в центре, мягкие скругления, одна тень. Шрифты: Unbounded (заголовки) + Golos Text. Mobile-first. */
:root {
  --rausch: #ff5e38;
  --rausch-deep: #e0461f;
  --rausch-soft: #fff1ec;
  --ink: #222222;
  --body: #3f3f3f;
  --muted: #6a6a6a;
  --line: #dddddd;
  --canvas: #ffffff;
  --soft: #f7f7f7;
  --strong: #f2f2f2;
  --night: #16110f;
  --ok: #008a05;
  --warn: #c13515;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 32px;
  --shadow: rgba(0, 0, 0, .02) 0 0 0 1px, rgba(0, 0, 0, .04) 0 2px 6px, rgba(0, 0, 0, .1) 0 4px 8px;
  --shadow-hover: rgba(0, 0, 0, .02) 0 0 0 1px, rgba(0, 0, 0, .06) 0 6px 16px, rgba(0, 0, 0, .12) 0 16px 32px;
  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--canvas); line-height: 1.55; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.18; margin: 0 0 .7rem; letter-spacing: -.025em; font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1128px) { :root { --gutter: 40px; } }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.meta { color: var(--muted); font-size: .85rem; display: block; }
.kicker { display: inline-flex; align-items: center; gap: .45rem; color: var(--rausch-deep); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .8rem; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.note { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 620px; }
.accent-text { color: var(--rausch); }

/* Полоса прогресса чтения */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--rausch), #ffa15c); z-index: 60; pointer-events: none; }

/* Кнопки: 48px, радиус 8px, акцент только на главном действии */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: var(--r-sm); font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease; overflow: hidden; cursor: pointer; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--rausch); color: #fff; }
.btn-primary:hover { background: var(--rausch-deep); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: var(--canvas); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.hero .btn-ghost, .house-hero .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.hero .btn-ghost:hover, .house-hero .btn-ghost:hover { background: rgba(255, 255, 255, .18); }

/* Навигация */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease, color .3s ease; color: #fff; }
.nav.solid { background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 600; text-decoration: none; font-size: 1rem; letter-spacing: -.01em; }
.logo { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--rausch); color: #fff; font-size: 1.05rem; flex: none; transition: transform .4s var(--ease); }
.brand:hover .logo { transform: rotate(-8deg) scale(1.06); }
.menu { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.btn-sos, .btn-login { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .45rem .85rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s ease, transform .2s var(--ease); }
.btn-sos { background: var(--rausch); color: #fff; position: relative; }
.btn-sos::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255, 94, 56, .55); animation: sos-ring 2.4s ease-out infinite; }
@keyframes sos-ring { 70% { box-shadow: 0 0 0 10px rgba(255, 94, 56, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 94, 56, 0); } }
.btn-login { background: rgba(255, 255, 255, .14); color: inherit; border: 1px solid rgba(255, 255, 255, .25); }
.nav.solid .btn-login, body.inner .btn-login { background: var(--canvas); border-color: var(--line); box-shadow: var(--shadow); }
.btn-sos span, .btn-login span { display: none; }
.burger { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .12); border-radius: 999px; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.nav.solid .burger { background: var(--canvas); border-color: var(--line); }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.burger { color: inherit; }
.nav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav.open { background: var(--canvas); color: var(--ink); }
.nav.open .menu { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--canvas); padding: 1rem var(--gutter) 2rem; gap: .25rem; overflow: auto; animation: menu-in .35s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.nav.open .menu a { padding: 1rem .25rem; font-family: var(--display); font-size: 1.2rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-cta { color: var(--rausch-deep); }
@media (min-width: 640px) { .btn-sos span, .btn-login span { display: inline; } }
@media (min-width: 1024px) {
  .burger { display: none; }
  .menu { display: flex; gap: .25rem; margin-left: 1.5rem; }
  .menu a { position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .8rem; border-radius: 999px; transition: background .2s ease; }
  .menu a:hover { background: rgba(127, 127, 127, .14); }
  .menu-cta { display: none; }
}

/* HERO: кадры по прокрутке */
.hero { position: relative; height: 440vh; background: var(--night); color: #fff; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#hero-canvas, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { transition: opacity .4s ease; }
.hero.frames-ready .hero-fallback { opacity: 0; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 17, 15, .8) 0%, rgba(22, 17, 15, .45) 45%, rgba(22, 17, 15, 0) 75%), linear-gradient(0deg, rgba(22, 17, 15, .65) 0%, transparent 35%); }
.hero-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }
.hero-copy { position: relative; height: 100%; display: flex; align-items: center; }
.hero-step { position: absolute; max-width: 600px; opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); pointer-events: none; }
.hero-step.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.hero h1, .hero h2 { color: #fff; font-size: clamp(2.3rem, 7vw, 4.4rem); font-weight: 600; letter-spacing: -.035em; margin-bottom: 1rem; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero p { font-size: clamp(1rem, 2.2vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 480px; }
.muted-h { color: rgba(255, 255, 255, .5); }
.accent { background: linear-gradient(90deg, #ff8a5c, #ffc9a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 500; margin-bottom: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.hero-progress { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: .7rem; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .85); padding: .5rem .9rem; border-radius: 999px; background: rgba(0, 0, 0, .28); backdrop-filter: blur(8px); }
.hp-track { width: min(220px, 40vw); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hp-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rausch), #ffc9a3); }
.scroll-hint { position: absolute; right: var(--gutter); bottom: 26px; display: flex; flex-direction: column; align-items: center; font-size: .75rem; text-decoration: none; color: rgba(255, 255, 255, .8); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.compare { position: absolute; inset: 0; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare input { position: absolute; left: 10%; right: 10%; bottom: 80px; width: 80%; accent-color: var(--rausch); }
@media (max-width: 767px) {
  .hero-shade { background: linear-gradient(0deg, rgba(22, 17, 15, .92) 0%, rgba(22, 17, 15, .55) 50%, rgba(22, 17, 15, .12) 100%); }
  .hero-copy { align-items: flex-end; padding-bottom: 100px; }
  .scroll-hint { display: none; }
}
.hero.static { height: 100vh; height: 100svh; }
.hero.static .hero-progress, .hero.static .scroll-hint, .hero.static #hero-canvas { display: none; }

/* Цифры: плавающая белая панель на стыке с hero */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--canvas); border-radius: var(--r-lg); box-shadow: var(--shadow-hover); overflow: hidden; }
.stat { padding: 1.3rem 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .55em; color: var(--rausch); margin-left: .15rem; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: 1.6rem 1.8rem; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* Секции */
.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 6rem 0; } }
.section.alt { background: var(--soft); }
.head { margin-bottom: 2.2rem; max-width: 760px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; }
.head-row .head { margin-bottom: 0; }
.split, .two-col { display: grid; gap: 2.5rem; align-items: center; }
.two-col { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; } .two-col { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.features { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1.1rem; }
.features li { display: flex; gap: 1rem; }
.features i { flex: none; width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--rausch-soft); color: var(--rausch-deep); font-size: 1.25rem; transition: transform .3s var(--ease); }
.features li:hover i { transform: translateY(-2px) rotate(-6deg); }
.features b { display: block; color: var(--ink); font-weight: 600; }
.features span { color: var(--muted); font-size: .95rem; }
.row-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Фотолента: бесконечная прокрутка двух рядов навстречу */
.band { padding: 3.5rem 0 1rem; overflow: hidden; }
.band .head { margin: 0 auto 1.8rem; padding: 0 var(--gutter); max-width: 1240px; }
.marquee { display: flex; align-items: flex-start; width: max-content; gap: 14px; animation: marquee 60s linear infinite; }
.marquee + .marquee { margin-top: 14px; animation-direction: reverse; animation-duration: 70s; }
.band:hover .marquee { animation-play-state: paused; }
.marquee figure { position: relative; margin: 0; height: clamp(170px, 21vw, 260px); aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; flex: none; background: var(--strong); }
.marquee figure.wide { aspect-ratio: 16 / 9; }
.marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.marquee figure:hover img { transform: scale(1.06); }
.marquee figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; box-shadow: var(--shadow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Год обслуживания: сезоны с автопереключением */
.seasons { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .seasons { grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center; } }
.season-tabs { display: grid; gap: .6rem; }
.season-tab { position: relative; display: flex; gap: .9rem; align-items: center; text-align: left; width: 100%; padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--canvas); font: inherit; color: var(--body); cursor: pointer; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.season-tab i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--strong); color: var(--ink); font-size: 1.2rem; flex: none; transition: background .3s ease, color .3s ease; }
.season-tab b { display: block; color: var(--ink); font-weight: 600; }
.season-tab span { font-size: .9rem; color: var(--muted); }
.season-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--rausch); transform-origin: 0 50%; transform: scaleX(0); }
.season-tab.is-on { border-color: var(--ink); box-shadow: var(--shadow); }
.season-tab.is-on i { background: var(--rausch); color: #fff; }
.season-tab.is-on::after { animation: season-timer 6s linear forwards; }
.seasons.paused .season-tab.is-on::after { animation-play-state: paused; }
@keyframes season-timer { to { transform: scaleX(1); } }
.season-view { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--strong); box-shadow: var(--shadow-hover); }
.season-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s ease, transform 6s linear; }
.season-view img.is-on { opacity: 1; transform: scale(1); }
.season-view .badge-float { position: absolute; left: 16px; top: 16px; z-index: 1; }

/* Плавающий бейдж на фото */
.badge-float { display: inline-flex; align-items: center; gap: .35rem; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: .78rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; box-shadow: var(--shadow); }
.badge-float i { color: var(--rausch); }

/* Карточки */
.cards-3 { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: var(--canvas); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow); margin: 0; transition: box-shadow .3s ease, transform .3s var(--ease); }
.card:hover { box-shadow: var(--shadow-hover); }
.card > i { font-size: 1.5rem; color: var(--rausch); display: inline-block; margin-bottom: .8rem; }
.card p { color: var(--muted); margin: 0; }

/* Услуги: фото сверху, плавающая иконка */
.svc { position: relative; display: flex; flex-direction: column; background: var(--canvas); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .35s ease, transform .35s var(--ease); isolation: isolate; }
.svc:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.svc .pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--strong); }
.svc .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc:hover .pic img { transform: scale(1.07); }
.svc .ico { position: absolute; right: 16px; top: -24px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--canvas); color: var(--rausch); font-size: 1.3rem; box-shadow: var(--shadow-hover); z-index: 1; transition: transform .35s var(--ease); }
.svc:hover .ico { transform: rotate(-8deg) scale(1.08); }
.svc .txt { position: relative; padding: 1.3rem 1.3rem 1.4rem; }
.svc .txt h3 { padding-right: 3rem; }
.svc .txt p { color: var(--muted); margin: 0; font-size: .95rem; }

.quote blockquote { margin: .7rem 0 1rem; font-size: 1rem; color: var(--ink); }
.quote figcaption b { display: block; color: var(--ink); }
.quote figcaption span { color: var(--muted); font-size: .85rem; }
.stars { color: var(--ink); display: flex; gap: .15rem; font-size: .85rem; }

/* Карточки домов в стиле карточек жилья */
.houses { display: grid; gap: 1.6rem 1.2rem; }
@media (min-width: 560px) { .houses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .houses { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .houses { grid-template-columns: repeat(4, 1fr); } }
.house-card { display: flex; flex-direction: column; gap: .7rem; text-decoration: none; color: var(--ink); }
.house-card .ph { position: relative; aspect-ratio: 1 / .95; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(135deg, #ffe6dc, #ffd9c2 60%, #f7f7f7); transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .25s ease, box-shadow .3s ease; will-change: transform; }
.house-card:hover .ph { box-shadow: var(--shadow-hover); }
.house-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.house-card:hover .ph img { transform: scale(1.05); }
.house-card .ph .stub { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(224, 70, 31, .35); font-size: 3.2rem; }
.house-card .ph .badge { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; box-shadow: var(--shadow); }
.house-card .ph .go { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); color: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s var(--ease); }
.house-card:hover .ph .go { opacity: 1; transform: none; }
.house-card .body { display: flex; flex-direction: column; gap: .1rem; }
.house-card .body b { font-size: 1rem; font-weight: 600; }
.house-card .body span { color: var(--muted); font-size: .9rem; }

.list { display: grid; gap: .8rem; margin-top: 1rem; }
.poll { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.4rem; background: var(--canvas); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.poll > div { flex: 1 1 320px; }
.poll p { color: var(--muted); margin: 0; }
.news { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.news p { color: var(--muted); margin: 0; }
.doc { display: flex; gap: .9rem; align-items: center; padding: .95rem 1.1rem; background: var(--canvas); border-radius: var(--r-md); text-decoration: none; box-shadow: var(--shadow); transition: box-shadow .25s ease, transform .25s var(--ease); }
.doc:hover { box-shadow: var(--shadow-hover); transform: translateX(3px); }
.doc i { color: var(--rausch); font-size: 1.3rem; }
.doc b { display: block; color: var(--ink); font-weight: 600; }

.contact-list { display: grid; gap: .8rem; margin: 1rem 0 1.5rem; }
.contact-list > * { display: flex; gap: .9rem; align-items: center; text-decoration: none; }
.contact-list i { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--rausch-soft); color: var(--rausch-deep); flex: none; }
.contact-list b { display: block; color: var(--ink); }
.sos-box { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 1.3rem; display: grid; gap: .6rem; position: relative; overflow: hidden; }
.sos-box::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 94, 56, .5), transparent); animation: glow 4s ease-in-out infinite; }
.sos-box > b { position: relative; color: #fff; font-family: var(--display); font-weight: 500; }
.sos-box > b i { color: var(--rausch); }
.sos-box a { position: relative; display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-sm); padding: .8rem 1rem; transition: background .2s ease; }
.sos-box a:hover { background: rgba(255, 255, 255, .16); }
.sos-box a b { color: #ffab8f; white-space: nowrap; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 320px; background: var(--strong); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Финальный призыв */
.cta-final { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; min-height: 380px; display: flex; align-items: flex-end; }
.cta-final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.2s var(--ease); }
.cta-final.in img { transform: scale(1); }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(22, 17, 15, .85), rgba(22, 17, 15, .1) 70%); }
.cta-final .inner { position: relative; z-index: 2; padding: 2rem 1.5rem; max-width: 640px; }
@media (min-width: 768px) { .cta-final .inner { padding: 3rem; } }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255, 255, 255, .85); }


/* Внутренние страницы: шапка сразу светлая */
body.inner .nav { background: rgba(255, 255, 255, .94); color: var(--ink); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); }
body.inner .burger { background: var(--canvas); border-color: var(--line); }
body.inner main { padding-top: 72px; }

/* Страница дома */
.house-hero { position: relative; background: var(--night); color: #fff; overflow: hidden; margin: 12px var(--gutter) 0; border-radius: var(--r-xl); }
.house-hero .cover { position: absolute; inset: 0; }
.house-hero .cover img { width: 100%; height: 100%; object-fit: cover; opacity: .6; animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.1) translate(-2%, -1%); } }
.house-hero .cover.stub { background: radial-gradient(circle at 80% 20%, rgba(255, 94, 56, .55), transparent 50%), linear-gradient(135deg, #2a1f1c, #16110f); }
.house-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(22, 17, 15, .82), rgba(22, 17, 15, .35) 60%, rgba(22, 17, 15, .1)); }
.house-hero .inner { position: relative; z-index: 2; padding: 4rem 0 2.6rem; }
.house-hero .wrap.inner { padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) { .house-hero .wrap.inner { padding: 6rem 3rem 3.5rem; } }
.house-hero h1 { color: #fff; font-size: clamp(1.9rem, 5.5vw, 3.2rem); }
.house-hero p { color: rgba(255, 255, 255, .85); max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.4rem; }
.chips span { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); padding: .4rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 1rem; }
.crumbs a { color: rgba(255, 255, 255, .9); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery a { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--strong); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s ease; }
.gallery a:hover img { transform: scale(1.05); filter: brightness(.92); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .7rem; font-size: .8rem; color: #fff; background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { background: var(--canvas); border-radius: var(--r-md); padding: .95rem 1.05rem; box-shadow: var(--shadow); }
.fact span { display: block; color: var(--muted); font-size: .8rem; }
.fact b { font-family: var(--display); font-weight: 500; color: var(--ink); font-size: 1.05rem; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 1rem; animation: menu-in .3s var(--ease); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--r-md); }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.4rem; cursor: pointer; }

/* Появление при прокрутке, с каскадом через --d */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-zoom { opacity: 0; transform: scale(.94); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-zoom.in { opacity: 1; transform: none; }

/* ================= Подсветка карточек за курсором (spotlight) ================= */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
/* светящаяся кромка: градиент под курсором, видимый только в рамке 1.5px */
.spot::before { z-index: 4; padding: 1.5px; background: radial-gradient(240px circle at var(--sx, -999px) var(--sy, -999px), var(--rausch), rgba(255, 161, 92, .6) 35%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* мягкий свет внутри карточки */
.spot::after { z-index: 3; background: radial-gradient(360px circle at var(--sx, -999px) var(--sy, -999px), rgba(255, 94, 56, .10), transparent 55%); }
.spot:hover::before, .spot:hover::after, .spot-group:hover .spot::before { opacity: 1; }
.spot-group:hover .spot:not(:hover)::after { opacity: 0; }
@media (hover: none) { .spot::before, .spot::after { display: none; } }

/* ================= Живой телефон ================= */
.iphone-wrap { position: relative; justify-self: center; padding: 10px 26px; }
.iphone-wrap::before { content: ""; position: absolute; inset: 6% -10% 4%; background: radial-gradient(closest-side, rgba(255, 94, 56, .28), rgba(255, 161, 92, .1) 60%, transparent); filter: blur(24px); z-index: -1; animation: glow 7s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.08); opacity: .75; } }
.iphone { position: relative; width: min(318px, 80vw); aspect-ratio: 71.5 / 147; border-radius: 54px; padding: 10px;
  background: linear-gradient(145deg, #5b5a5f, #2b2b2e 30%, #1a1a1c 55%, #4a494e 80%, #222);
  box-shadow: 0 50px 90px -20px rgba(20, 10, 5, .45), 0 18px 36px rgba(0, 0, 0, .18), inset 0 0 0 1.5px rgba(255, 255, 255, .18), inset 0 0 0 5px #111;
  animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(.4deg); } }
.hw { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #333, #6a6a6e); }
.hw-action { left: -3px; top: 17%; height: 30px; }
.hw-vol1 { left: -3px; top: 25%; height: 52px; }
.hw-vol2 { left: -3px; top: 34%; height: 52px; }
.hw-power { right: -3px; top: 28%; height: 80px; background: linear-gradient(270deg, #333, #6a6a6e); }
.iscreen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: #f4f4f6; font-size: 12px; color: var(--ink); }
.istatus { position: absolute; top: 0; left: 0; right: 0; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 32px; z-index: 6; font-size: 14px; }
.istatus b { font-weight: 600; letter-spacing: -.02em; }
.island { position: absolute; left: 50%; top: 11px; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.sicons { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.batt { width: 24px; height: 11px; border-radius: 3px; border: 1px solid rgba(0, 0, 0, .45); padding: 1px; position: relative; }
.batt::after { content: ""; position: absolute; right: -3px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(0, 0, 0, .45); }
.batt span { display: block; height: 100%; width: 78%; background: #222; border-radius: 1.5px; }
.inotif { position: absolute; left: 10px; right: 10px; top: 8px; z-index: 7; display: flex; gap: 9px; align-items: center; padding: 10px 12px; border-radius: 20px; background: rgba(250, 250, 252, .82); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transform: translateY(-130%); opacity: 0; transition: transform .55s var(--ease), opacity .4s ease; }
.inotif.show { transform: none; opacity: 1; }
.nicon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #229ed9; color: #fff; font-size: 17px; flex: none; }
.ntext b { display: flex; justify-content: space-between; font-size: 12px; }
.ntext em { font-style: normal; font-weight: 400; color: #8a8a8e; font-size: 11px; }
.ntext span { display: block; font-size: 12px; line-height: 1.3; color: #333; }
.scenes { position: absolute; inset: 0; }
.scene { position: absolute; inset: 0; padding: 58px 16px 30px; opacity: 0; transform: translateX(30px); transition: opacity .45s ease, transform .55s var(--ease); pointer-events: none; }
.scene.is-on { opacity: 1; transform: none; }
.scene.is-out { opacity: 0; transform: translateX(-30px); }
.app-top { display: flex; align-items: center; gap: 9px; }
.app-top b { display: block; font-size: 14px; }
.app-top small { display: block; color: #8a8a8e; font-size: 11px; }
.app-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.app-logo img { width: 26px; height: auto; display: block; }
.app-bell { margin-left: auto; font-size: 18px; }
.app-hello { font-family: var(--display); font-weight: 500; font-size: 19px; margin: 16px 0 12px; letter-spacing: -.02em; }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-tile { background: #fff; border-radius: 16px; padding: 11px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: transform .15s ease, background .2s ease; }
.app-tile i { font-size: 19px; margin-bottom: 6px; }
.app-tile b { font-size: 13px; }
.app-tile small { color: #8a8a8e; font-size: 10.5px; }
.app-tile.sos { background: var(--rausch); color: #fff; }
.app-tile.sos small { color: rgba(255, 255, 255, .8); }
.app-tile.pressed, .app-chips span.pressed, .app-btn.pressed, .app-photos .add.pressed { transform: scale(.94); }
.app-card { background: #fff; border-radius: 16px; padding: 11px; margin-top: 9px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.app-card b { font-size: 12.5px; }
.app-row { display: flex; justify-content: space-between; align-items: center; }
.app-row em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 99px; }
.app-row em.ok { color: var(--ok); background: #e7f5e8; }
.app-meter { height: 5px; border-radius: 5px; background: #eee; margin-top: 8px; overflow: hidden; }
.app-meter span { display: block; height: 100%; background: var(--ok); border-radius: 5px; }
.app-card.news { display: flex; gap: 10px; align-items: center; padding: 8px; }
.app-card.news img { width: 54px; height: 44px; border-radius: 10px; object-fit: cover; }
.app-card.news small, .muted-s { display: block; color: #8a8a8e; font-size: 10.5px; }
.app-nav { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
.app-nav i { font-size: 18px; color: var(--rausch); }
.app-label { font-size: 11px; color: #8a8a8e; margin: 10px 0 6px; font-weight: 500; }
.app-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.app-chips span { padding: 6px 10px; border-radius: 99px; background: #fff; font-size: 11.5px; font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: background .2s ease, color .2s ease, transform .15s ease; }
.app-chips span.sel { background: var(--ink); color: #fff; }
.app-input { min-height: 74px; background: #fff; border-radius: 14px; padding: 10px; font-size: 12.5px; line-height: 1.4; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.caret { display: inline-block; width: 1.5px; height: 14px; background: var(--rausch); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-photos { display: flex; gap: 8px; }
.app-photos span { width: 58px; height: 58px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; transition: transform .15s ease; }
.app-photos .add { border: 1.5px dashed #c8c8cc; color: #8a8a8e; font-size: 18px; }
.app-photos .pic { transform: scale(0); transition: transform .4s var(--ease); }
.app-photos .pic.show { transform: scale(1); }
.app-photos .pic img { width: 100%; height: 100%; object-fit: cover; }
.app-btn { margin-top: 16px; background: var(--rausch); color: #fff; text-align: center; font-weight: 600; font-size: 13.5px; padding: 12px; border-radius: 14px; transition: transform .15s ease; }
.app-done { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding-bottom: 40px; }
.app-done svg { width: 84px; height: 84px; margin-bottom: 8px; }
.app-done circle { fill: none; stroke: var(--ok); stroke-width: 4; stroke-dasharray: 214; stroke-dashoffset: 214; }
.app-done path { fill: none; stroke: var(--ok); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.scene.is-on .app-done circle { animation: draw .6s var(--ease) .1s forwards; }
.scene.is-on .app-done path { animation: draw .4s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.app-done b { font-family: var(--display); font-weight: 500; font-size: 18px; }
.app-done small { color: #8a8a8e; }
.mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 11.5px; letter-spacing: .02em; background: #fff; padding: 3px 8px; border-radius: 6px; }
.app-track { list-style: none; margin: 12px 0 0; padding: 0 0 0 4px; }
.app-track li { position: relative; padding: 0 0 12px 24px; opacity: .25; transition: opacity .4s ease; }
.app-track li::before { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c8c8cc; background: #f4f4f6; transition: all .3s ease; }
.app-track li::after { content: ""; position: absolute; left: 7px; top: 16px; bottom: 0; width: 2px; background: #e2e2e6; }
.app-track li:last-child::after { display: none; }
.app-track li.on { opacity: 1; }
.app-track li.on::before { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 0 4px rgba(0, 138, 5, .12); }
.app-track b { display: block; font-size: 12.5px; }
.app-track small { color: #8a8a8e; font-size: 10.5px; }
.app-track img { display: block; width: 100%; height: 70px; object-fit: cover; border-radius: 10px; margin-top: 6px; }
.app-stars { display: flex; gap: 4px; justify-content: center; font-size: 20px; color: #ddd; margin-top: 4px; }
.app-stars i { transition: color .2s ease, transform .3s var(--ease); }
.app-stars i.on { color: #ffb400; transform: scale(1.15); }
.finger { position: absolute; z-index: 8; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(34, 34, 34, .18); border: 2px solid rgba(255, 255, 255, .8); box-shadow: 0 4px 14px rgba(0, 0, 0, .2); left: 50%; top: 110%; opacity: 0; transition: left .6s var(--ease), top .6s var(--ease), opacity .3s ease, transform .15s ease; pointer-events: none; }
.finger.show { opacity: 1; }
.finger.tap { transform: scale(.75); background: rgba(255, 94, 56, .35); }
.homebar { position: absolute; bottom: 8px; left: 50%; width: 118px; height: 5px; margin-left: -59px; border-radius: 5px; background: #111; z-index: 6; }

/* ================= Путь заявки ================= */
.flow2 { position: relative; }
.f2-progress { position: relative; height: 8px; border-radius: 8px; background: linear-gradient(90deg, #ff5e38, #ffa15c); box-shadow: 0 0 10px rgba(255, 94, 56, .3); margin: 0 0 2rem; }
.f2-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #6ee7b7, #10b981); box-shadow: 0 0 12px rgba(16, 185, 129, .45); transition: width 2.6s cubic-bezier(.4, 0, .3, 1); }
.f2-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); background-size: 60px 100%; background-repeat: no-repeat; animation: barshine 1.6s linear infinite; }
@keyframes barshine { from { background-position: -60px 0; } to { background-position: calc(100% + 60px) 0; } }
.f2-arrow { position: absolute; top: 50%; left: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; display: grid; place-items: center; background: #10b981; color: #fff; font-size: 1rem; z-index: 2; box-shadow: 0 6px 16px rgba(16, 185, 129, .4); transition: left 2.6s cubic-bezier(.4, 0, .3, 1); }
.f2-arrow::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(16, 185, 129, .45); animation: arrowring 1.4s ease-out infinite; }
.f2-arrow i { animation: arrownudge 1s ease-in-out infinite; }
@keyframes arrowring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@keyframes arrownudge { 50% { transform: translateX(3px); } }
.f2-check { position: absolute; top: 10px; right: 10px; z-index: 6; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #10b981; color: #fff; font-size: 1rem; box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 6px 14px rgba(16, 185, 129, .45); transform: scale(0) rotate(-30deg); opacity: 0; }
.f2.is-done .f2-check { animation: checkpop .55s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes checkpop { to { transform: none; opacity: 1; } }
.f2.is-done .f2-card { box-shadow: var(--shadow), 0 0 0 1.5px rgba(16, 185, 129, .5); }
.f2-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
@media (min-width: 1000px) { .f2-steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.f2 { transition: opacity .5s ease, transform .5s var(--ease), filter .5s ease; opacity: .55; filter: saturate(.4); }
.f2.is-active, .f2.is-done { opacity: 1; filter: none; }
.f2.is-active { transform: translateY(-6px); }
.f2-head { display: flex; gap: .7rem; align-items: center; margin-bottom: .8rem; }
.f2-head b { display: block; color: var(--ink); font-weight: 600; }
.f2-head small { color: var(--muted); font-size: .85rem; }
.f2-num { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--canvas); color: var(--ink); box-shadow: var(--shadow); transition: background .3s ease, color .3s ease; }
.f2-num i { position: absolute; opacity: 0; transform: scale(.4); transition: all .3s var(--ease); }
.f2.is-active .f2-num { background: var(--rausch); color: #fff; box-shadow: 0 0 0 6px rgba(255, 94, 56, .16); }
.f2.is-done .f2-num { background: #10b981; color: #fff; box-shadow: 0 0 0 5px rgba(16, 185, 129, .15); }
.f2.is-done .f2-num span { opacity: 0; }
.f2.is-done .f2-num i { opacity: 1; transform: none; }
.f2-card { position: relative; background: var(--canvas); border-radius: var(--r-lg); padding: 14px; min-height: 176px; box-shadow: var(--shadow); overflow: hidden; font-size: .85rem; transition: box-shadow .4s ease; }
.f2.is-active .f2-card { box-shadow: var(--shadow-hover), 0 0 0 1.5px rgba(255, 94, 56, .5); }
/* 1: чат */
.tg-top { display: flex; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--strong); margin-bottom: 10px; }
.tg-ava { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, #ffa15c, var(--rausch)); font-size: .75rem; }
.tg-top b { display: block; font-size: .8rem; color: var(--ink); }
.tg-top small { color: #229ed9; font-size: .7rem; }
.tg-msg { max-width: 90%; padding: 7px 10px; border-radius: 14px; line-height: 1.35; color: var(--ink); }
.tg-msg.out { margin-left: auto; background: #effdde; border-bottom-right-radius: 4px; }
.tg-msg.out img { width: 100%; height: 56px; object-fit: cover; border-radius: 9px; margin-bottom: 6px; }
.tg-msg small { display: block; text-align: right; color: #4fae4e; font-size: .65rem; }
.tg-msg.in { background: var(--strong); margin-top: 8px; display: inline-flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #999; animation: dots 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes dots { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .4; } }
.f2.is-active .chat .tg-msg.out { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.95); } }
/* 2: карточка заявки */
.ticket { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ticket .mono { background: var(--strong); }
.ticket b { color: var(--ink); font-size: .95rem; line-height: 1.3; }
.f2-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.f2-chips span { font-size: .72rem; padding: 3px 8px; border-radius: 99px; background: var(--strong); color: var(--ink); font-weight: 500; }
.stamp { position: absolute; right: 12px; bottom: 14px; padding: 4px 10px; border: 2px solid var(--ok); color: var(--ok); border-radius: 8px; font-weight: 800; text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; transform: rotate(-8deg) scale(0); opacity: 0; }
.f2.is-active .stamp, .f2.is-done .stamp { animation: stamp .45s cubic-bezier(.3, 1.6, .5, 1) .5s forwards; }
@keyframes stamp { to { transform: rotate(-8deg) scale(1); opacity: 1; } }
/* 3: назначение */
.assign .lbl { color: var(--muted); font-size: .72rem; }
.dd { list-style: none; margin: 6px 0 0; padding: 4px; border-radius: 12px; border: 1px solid var(--line); }
.dd li { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .8rem; }
.dd li small { margin-left: auto; color: var(--muted); font-size: .68rem; }
.ava { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .7rem; font-weight: 700; flex: none; }
.a1 { background: var(--rausch); } .a2 { background: #3b82f6; } .a3 { background: #10b981; }
.f2.is-active .dd li.pick, .f2.is-done .dd li.pick { animation: pick .9s ease .5s forwards; }
@keyframes pick { 40% { background: var(--strong); } 100% { background: var(--rausch-soft); box-shadow: inset 0 0 0 1.5px var(--rausch); } }
.cursor { position: absolute; left: 60%; top: 110%; font-size: 1.1rem; color: var(--ink); opacity: 0; }
.f2.is-active .cursor { animation: cur 1.1s var(--ease) .1s forwards; }
@keyframes cur { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 1; left: 46%; top: 60%; } }
/* 4: фото */
.photo { padding: 0; }
.photo img { width: 100%; height: 100%; min-height: 176px; object-fit: cover; position: absolute; inset: 0; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.f2.is-active .photo img, .f2.is-done .photo img { transform: none; }
.shutter { position: absolute; inset: 0; background: #fff; opacity: 0; z-index: 1; }
.f2.is-active .shutter { animation: flash .5s ease .6s; }
@keyframes flash { 30% { opacity: .9; } }
.ok-badge { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; gap: 5px; align-items: center; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 99px; padding: 5px 10px; font-size: .75rem; font-weight: 600; box-shadow: var(--shadow); transform: translateY(40px); transition: transform .5s var(--ease) .9s; }
.ok-badge i { color: var(--ok); }
.f2.is-active .ok-badge, .f2.is-done .ok-badge { transform: none; }
/* 5: оценка */
.rate { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.rate b { color: var(--ink); }
.stars5 { display: flex; gap: 4px; font-size: 1.5rem; color: #e4e4e4; }
.f2.is-active .stars5 i, .f2.is-done .stars5 i { animation: star .35s var(--ease) forwards; }
.stars5 i:nth-child(1) { animation-delay: .3s !important; } .stars5 i:nth-child(2) { animation-delay: .45s !important; }
.stars5 i:nth-child(3) { animation-delay: .6s !important; } .stars5 i:nth-child(4) { animation-delay: .75s !important; }
.stars5 i:nth-child(5) { animation-delay: .9s !important; }
@keyframes star { 50% { transform: scale(1.35); } 100% { color: #ffb400; } }
.tg-msg.small { font-size: .78rem; opacity: 0; }
.f2.is-active .tg-msg.small, .f2.is-done .tg-msg.small { animation: pop2 .5s var(--ease) 1.2s forwards; }
@keyframes pop2 { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ================= Робот и единая база ================= */
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head.center .lead { margin-left: auto; margin-right: auto; }
.head.center .kicker { justify-content: center; }
.hub-sec { background: #fff; overflow: hidden; }
.hub2 { position: relative; height: 620px; max-width: 1160px; margin: 0 auto; }
.hub2-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub2-lines .wires use { fill: none; stroke: #eee; stroke-width: 2; vector-effect: non-scaling-stroke; }
.hub2-lines .flows use { fill: none; stroke: url(#lg-in); stroke-width: 2; stroke-dasharray: 5 12; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: dash 1.4s linear infinite; }
.hub2-lines .flows.out use { stroke: #444; opacity: .45; }
@keyframes dash { to { stroke-dashoffset: -34; } }
.robot-zone { position: absolute; left: 50%; top: 50%; width: 400px; height: 400px; margin: -200px 0 0 -200px; }
.aura { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 161, 92, .35), rgba(255, 94, 56, .12) 60%, transparent); filter: blur(40px); animation: aura 7s ease-in-out infinite; }
@keyframes aura { 50% { transform: scale(1.12); opacity: .7; } }
.orbit { position: absolute; inset: -30%; width: 160%; height: 160%; opacity: .5; }
.orbit circle { fill: none; stroke: url(#og); stroke-width: 1.2; transform-origin: 310px 310px; }
.orbit .o1 { stroke-dasharray: 2 10; animation: spin 60s linear infinite; }
.orbit .o2 { stroke-dasharray: 40 14 4 14; animation: spin 40s linear infinite reverse; opacity: .7; }
.orbit .o3 { stroke-dasharray: 1 7; animation: spin 25s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.robot { position: relative; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.03) contrast(1.04); border-radius: 24px; }
.glass { background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46)); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); border: 1px solid rgba(255, 255, 255, .75); box-shadow: inset 0 2.5px 4px rgba(255, 255, 255, .8), 0 0 0 1px rgba(0, 0, 0, .04), 0 14px 34px -8px rgba(255, 94, 56, .18); }
.core-pill { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 20px; white-space: nowrap; z-index: 2; }
.core-pill b { display: block; color: var(--ink); font-size: .92rem; font-family: var(--display); font-weight: 500; }
.core-pill small { color: var(--muted); font-size: .75rem; }
.bead { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 1rem; flex: none; background: linear-gradient(135deg, #ff8a5c, #e0461f); box-shadow: 0 4px 12px rgba(255, 94, 56, .35); }
.bead.web { background: linear-gradient(135deg, #ff8a5c, #e0461f); }
.bead.tg { background: linear-gradient(135deg, #37aee2, #1e88c7); box-shadow: 0 4px 12px rgba(34, 158, 217, .35); }
.bead.max { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 4px 12px rgba(139, 92, 246, .35); }
.bead.tel { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 12px rgba(16, 185, 129, .35); }
.bead.disp { background: linear-gradient(135deg, #3f3f46, #18181b); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.bead.dir { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 4px 12px rgba(245, 158, 11, .35); }
.hub2-side { position: absolute; top: 0; bottom: 0; width: 23%; }
.hub2-side.in { left: 0; }
.hub2-side.out { right: 0; }
.side-lbl { position: absolute; top: -6px; left: 0; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hub2-side.out .side-lbl { left: auto; right: 0; }
.gcard { position: absolute; top: var(--y); left: 0; right: 0; transform: translateY(-50%); display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 20px; transition: transform .35s var(--ease); z-index: 2; }
.gcard b { display: block; color: var(--ink); font-size: .86rem; font-weight: 700; letter-spacing: -.01em; }
.gcard small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.gcard .thumb { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; flex: none; }
.gcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.spark { width: 60px; height: 22px; margin-left: auto; }
.spark path { fill: none; stroke: #f59e0b; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 2.4s var(--ease) infinite alternate; }
/* дыхание карточек: у каждой свой период */
.gcard.fa { animation: fa 5s ease-in-out infinite; }
.gcard.fb { animation: fb 5.5s ease-in-out infinite; }
.gcard.fc { animation: fc 4.8s ease-in-out infinite; }
@keyframes fa { 50% { transform: translate(2px, calc(-50% - 8px)); } }
@keyframes fb { 50% { transform: translate(-2px, calc(-50% + 8px)); } }
@keyframes fc { 50% { transform: translate(-1px, calc(-50% - 10px)); } }
.gcard:hover { animation-play-state: paused; transform: translateY(-50%) scale(1.05) rotate(1deg); }
.hub2-side.in .gcard:nth-child(odd):hover { transform: translateY(-50%) scale(1.05) rotate(-1deg); }
@media (max-width: 999px) {
  .hub2 { height: auto; display: grid; gap: 1.2rem; }
  .hub2-lines { display: none; }
  .robot-zone { position: relative; left: auto; top: auto; margin: 0 auto 1rem; width: min(320px, 80vw); height: min(320px, 80vw); order: -1; }
  .hub2-side { position: static; width: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
  .side-lbl { position: static; grid-column: 1 / -1; }
  .gcard { position: relative; top: auto; transform: none; padding: 10px 12px; }
  .gcard.fa, .gcard.fb, .gcard.fc { animation: none; }
  .gcard:hover { transform: none; }
  .gcard .spark { display: none; }
}
@media (max-width: 420px) { .hub2-side { grid-template-columns: 1fr; } .core-pill { padding: 8px 12px 8px 8px; } }

/* ================= Сроки: живой таймер ================= */
.norms { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.norms li { display: flex; align-items: baseline; gap: .9rem; padding: .8rem 1rem; border-radius: var(--r-md); background: var(--canvas); box-shadow: var(--shadow); }
.norms b { font-family: var(--display); font-weight: 500; font-size: 1.35rem; color: var(--rausch); min-width: 3.6rem; }
.sla2 { display: grid; gap: 1rem; }
.sla-panel { background: var(--canvas); border-radius: var(--r-lg); padding: 1.2rem; box-shadow: var(--shadow-hover); }
.sp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-weight: 600; color: var(--ink); }
.sp-head small { font-weight: 500; color: var(--muted); background: var(--strong); padding: 2px 8px; border-radius: 99px; font-size: .72rem; }
.live { display: inline-flex; align-items: center; gap: .5rem; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--rausch); box-shadow: 0 0 0 0 rgba(255, 94, 56, .6); animation: live 1.6s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(255, 94, 56, 0); } }
.sp-body { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; align-items: center; }
@media (max-width: 460px) { .sp-body { grid-template-columns: 1fr; justify-items: center; } }
.ring { position: relative; width: 120px; height: 120px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring .rt { stroke: var(--strong); }
.ring .rf { stroke: var(--rausch); stroke-dasharray: 326.7; stroke-dashoffset: 0; transition: stroke-dashoffset .2s linear, stroke .3s ease; }
.ring.ok .rf { stroke: var(--ok); }
.ring-t { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-t b { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ring-t small { color: var(--muted); font-size: .72rem; }
.elog { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; width: 100%; }
.elog li { display: flex; gap: .7rem; align-items: baseline; font-size: .9rem; color: var(--body); opacity: 0; transform: translateX(-10px); transition: all .45s var(--ease); }
.elog li.on { opacity: 1; transform: none; }
.elog time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); font-size: .82rem; }
.elog em { font-style: normal; font-weight: 600; font-size: .75rem; padding: 1px 7px; border-radius: 99px; }
.elog em.ok { color: var(--ok); background: #e7f5e8; }
.loc { margin-top: 1.1rem; }
.loc-top { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: .45rem; }
.loc-top b { color: var(--ink); font-variant-numeric: tabular-nums; }
.loc-bar { position: relative; height: 10px; border-radius: 10px; background: var(--strong); }
.loc-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--rausch), #ffa15c); transition: width .3s linear; }
.loc-bar i { position: absolute; top: -3px; width: 3px; height: 16px; border-radius: 2px; background: var(--ink); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dn { text-align: center; font-size: .7rem; color: var(--muted); font-weight: 600; }
.cal .d { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-size: .82rem; font-weight: 600; background: var(--soft); color: var(--muted); transition: background .3s ease, color .3s ease, transform .3s var(--ease); }
.cal .d.we { background: transparent; color: #c4c4c4; }
.cal .d.w { background: var(--rausch-soft); color: var(--rausch-deep); }
.cal .d.a { background: var(--rausch); color: #fff; transform: scale(1.08); box-shadow: 0 6px 14px rgba(255, 94, 56, .35); }
.cal-foot { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin-top: .9rem; font-size: .8rem; color: var(--muted); }
.cal-foot b { margin-left: auto; color: var(--ink); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; }
.dot.w { background: var(--rausch-soft); box-shadow: inset 0 0 0 1px rgba(255, 94, 56, .3); }
.dot.a { background: var(--rausch); }

/* ================= Отзывы: бегущие колонки ================= */
.tcols { display: grid; gap: 1rem; height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
@media (min-width: 700px) { .tcols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tcols { grid-template-columns: repeat(3, 1fr); } }
.tcol { overflow: hidden; }
.tcol.c2 { display: none; } .tcol.c3 { display: none; }
@media (min-width: 700px) { .tcol.c2 { display: block; } }
@media (min-width: 1000px) { .tcol.c3 { display: block; } }
.tcol-track { display: flex; flex-direction: column; gap: 1rem; animation: tscroll 26s linear infinite; }
.tcol.c2 .tcol-track { animation-duration: 34s; animation-delay: -9s; }
.tcol.c3 .tcol-track { animation-duration: 30s; animation-delay: -17s; }
.tcols:hover .tcol-track { animation-play-state: paused; }
@keyframes tscroll { to { transform: translateY(calc(-50% - .5rem)); } }
.tcard { margin: 0; padding: 1.4rem; border-radius: var(--r-lg); background: var(--canvas); box-shadow: var(--shadow); transition: box-shadow .3s ease, transform .3s var(--ease); }
.tcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.tcard blockquote { margin: .7rem 0 1rem; color: var(--ink); line-height: 1.55; }
.tcard .stars { color: #ffb400; }
.tcard figcaption { display: flex; gap: .7rem; align-items: center; }
.tava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, #ffa15c, var(--rausch)); flex: none; }
.tcard figcaption b { display: block; color: var(--ink); }
.tcard figcaption small { color: var(--muted); font-size: .85rem; }

/* ================= Мобильные карточки услуг (темные, фото в углу) ================= */
.svc-glow { display: none; }
@media (max-width: 699px) {
  #services { background: #120d0b; }
  #services .head h2 { color: #fff; }
  #services .kicker { color: #ffa07f; }
  .svc { background: #0b0807; border: 1px solid rgba(255, 255, 255, .09); box-shadow: none; min-height: 190px; transition: border-color .3s ease, transform .3s var(--ease); }
  .svc:hover, .svc:active { border-color: rgba(255, 94, 56, .35); transform: translateY(-4px); }
  .svc-glow { display: block; position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, rgba(255, 94, 56, .18), rgba(11, 8, 7, .8) 55%, #000); }
  .svc .pic { position: absolute; right: -18px; bottom: -18px; width: 13rem; height: 13rem; aspect-ratio: auto; border-radius: 50%; opacity: .4; z-index: 0; transition: opacity .4s ease, transform .6s var(--ease); -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); }
  .svc.in .pic { opacity: .55; transform: scale(1.05); }
  .svc .txt { z-index: 1; padding: 1.5rem 1.4rem 1.6rem; max-width: 80%; }
  .svc .txt h3 { color: #ffe0d2; padding-right: 0; font-size: 1.1rem; }
  .svc .txt h3::after { content: ""; display: block; width: 24px; height: 2px; margin-top: .7rem; background: rgba(255, 94, 56, .7); }
  .svc .txt p { color: rgba(253, 240, 236, .7); }
  .svc .ico { position: static; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 50%; background: transparent; border: 1px solid rgba(255, 94, 56, .35); color: #ffa07f; box-shadow: none; }
}


/* ================= Hero: больше информации и ночная сцена ================= */
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.hero-facts span { padding: .45rem .8rem; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); font-size: .9rem; color: rgba(255, 255, 255, .85); }
.hero-facts b { color: #fff; font-family: var(--display); font-weight: 500; margin-right: .25rem; }
.hero-list { list-style: none; padding: 0; margin: .4rem 0 1rem; display: grid; gap: .5rem; }
.hero-list li { display: flex; gap: .6rem; align-items: center; font-size: 1.05rem; color: rgba(255, 255, 255, .92); opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .5s var(--ease); }
.hero-list i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #10b981; color: #fff; font-size: .95rem; flex: none; box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); }
.hero-step.is-active .hero-list li { opacity: 1; transform: none; }
.hero-step.is-active .hero-list li:nth-child(2) { transition-delay: .12s; }
.hero-step.is-active .hero-list li:nth-child(3) { transition-delay: .24s; }
.hero-step.is-active .hero-list li:nth-child(4) { transition-delay: .36s; }
.hero .small-note { font-size: .95rem; color: rgba(255, 255, 255, .7); }
.hero-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: 1rem; max-width: 560px; }
.hero-cards div { display: flex; flex-direction: column; gap: .15rem; padding: .8rem; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s var(--ease); }
.hero-cards i { font-size: 1.2rem; color: #ffb38f; margin-bottom: .25rem; }
.hero-cards b { font-size: .92rem; }
.hero-cards span { font-size: .78rem; color: rgba(255, 255, 255, .7); line-height: 1.3; }
.hero-step.is-active .hero-cards div { opacity: 1; transform: none; }
.hero-step.is-active .hero-cards div:nth-child(2) { transition-delay: .12s; }
.hero-step.is-active .hero-cards div:nth-child(3) { transition-delay: .24s; }
@media (max-width: 560px) { .hero-cards { grid-template-columns: 1fr; } .hero-cards div { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; padding: .6rem .8rem; } .hero-cards i { margin: 0; } }
.hero-sos { display: inline-flex; align-items: center; gap: .8rem; margin-top: .4rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 18px; text-decoration: none; background: rgba(255, 94, 56, .22); border: 1px solid rgba(255, 140, 110, .45); backdrop-filter: blur(10px); }
.hero-sos i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--rausch); color: #fff; animation: sos-ring 2.4s ease-out infinite; }
.hero-sos small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .75); }
.hero-sos b { font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: #fff; }
.hero .hp-track { position: relative; overflow: visible; }
.hero .hp-track i { position: absolute; top: -3px; width: 2px; height: 10px; border-radius: 2px; background: rgba(255, 255, 255, .5); }
.hp-label { opacity: .55; transition: opacity .3s ease, color .3s ease; }
.hp-label.on { opacity: 1; }
.hp-label.moon.on { color: #ffd98a; }
.hero.is-night .hp-fill { background: linear-gradient(90deg, var(--rausch), #ffb199 60%, #ffd98a); }
.hero.is-night .hero-shade { background: linear-gradient(90deg, rgba(8, 10, 30, .78) 0%, rgba(8, 10, 30, .35) 45%, rgba(8, 10, 30, 0) 75%), linear-gradient(0deg, rgba(8, 10, 30, .6) 0%, transparent 35%); transition: background .6s ease; }
@media (max-width: 767px) {
  .hero-facts span { font-size: .8rem; padding: .35rem .6rem; }
  .hero-list li { font-size: .95rem; }
  .hp-label.moon i { display: none; }
}

/* ================= Живые нормативы и лента событий ================= */
.norms li { position: relative; align-items: center; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s ease; }
.norms li:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.norms li > div { flex: 1; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.norms li b { min-width: 0; font-variant-numeric: tabular-nums; }
.n-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; font-size: 1.1rem; }
.n-ico.red { background: linear-gradient(135deg, #ff7a52, #e0461f); box-shadow: 0 6px 14px rgba(255, 94, 56, .3); animation: nudge 2.4s ease-in-out infinite; }
.n-ico.amber { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 6px 14px rgba(245, 158, 11, .3); animation: nudge 2.4s ease-in-out .8s infinite; }
.n-ico.blue { background: linear-gradient(135deg, #60a5fa, #2563eb); box-shadow: 0 6px 14px rgba(37, 99, 235, .3); animation: nudge 2.4s ease-in-out 1.6s infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(-10deg) scale(1.08); } 90% { transform: rotate(8deg); } }
.n-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0, 0, 0, .05); }
.n-timer i { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, #10b981, #f59e0b 70%, #ff5e38); transform-origin: 0 50%; transform: scaleX(0); animation: ntimer var(--dur, 6s) linear infinite; }
@keyframes ntimer { from { transform: scaleX(0); } 92% { transform: scaleX(1); opacity: 1; } to { transform: scaleX(1); opacity: 0; } }
.sys-feed { margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: var(--r-lg); background: #16110f; color: #fff; box-shadow: 0 20px 40px -12px rgba(22, 17, 15, .45); }
.sf-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; font-weight: 600; }
.sf-head small { font-weight: 500; font-size: .72rem; color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); padding: 2px 8px; border-radius: 99px; }
.sf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; min-height: 190px; }
.sf-list li { display: flex; gap: .65rem; align-items: flex-start; padding: .55rem .65rem; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: .86rem; line-height: 1.35; animation: sfin .55s var(--ease); transition: opacity .5s ease; }
.sf-list li:nth-child(n+4) { opacity: .45; }
.sf-list li:nth-child(n+5) { display: none; }
.sf-list li i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; font-size: .85rem; }
.sf-list li time { display: block; font-size: .72rem; color: rgba(255, 255, 255, .5); }
.sf-list .t-amber i { background: rgba(245, 158, 11, .2); color: #fbbf24; }
.sf-list .t-red i { background: rgba(255, 94, 56, .22); color: #ff8a66; }
.sf-list .t-green i { background: rgba(16, 185, 129, .2); color: #34d399; }
.sf-list .t-blue i { background: rgba(56, 189, 248, .2); color: #7dd3fc; }
@keyframes sfin { from { opacity: 0; transform: translateY(-12px) scale(.97); background: rgba(255, 94, 56, .25); } }

/* ================= Вход и активация ================= */
body.auth-page main { padding-top: 72px; }
body.auth-page .footer { display: none; }
.auth { display: grid; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); }
@media (min-width: 1000px) { .auth { grid-template-columns: minmax(460px, 1fr) 1.15fr; } }
.auth-form-col { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem var(--gutter) 1.5rem;
  background: radial-gradient(600px 400px at 0% 0%, rgba(255, 94, 56, .08), transparent 60%), radial-gradient(500px 400px at 100% 100%, rgba(255, 161, 92, .08), transparent 60%), var(--canvas); }
.auth-card { width: 100%; max-width: 440px; animation: authin .7s var(--ease); }
@keyframes authin { from { opacity: 0; transform: translateY(18px); } }
.auth-card h1 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin: .8rem 0 .5rem; }
.auth-lead { color: var(--muted); margin: 0 0 1.4rem; }
.auth-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px; background: var(--rausch-soft); color: var(--rausch-deep); font-size: .82rem; font-weight: 600; }
.auth-badge.warn { background: #fff4e5; color: #b25d00; }
.auth-row { display: grid; gap: 0 .8rem; }
@media (min-width: 520px) { .auth-row { grid-template-columns: 1fr 1fr; } }
.auth-field { margin-bottom: 1rem; }
.auth-field > label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.auth-input { position: relative; display: flex; align-items: center; }
.auth-input > i { position: absolute; left: 14px; color: var(--muted); font-size: 1.05rem; pointer-events: none; transition: color .2s ease; }
.auth-input input { width: 100%; height: 52px; padding: 0 1rem 0 2.6rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--canvas); border: 1px solid #c1c1c1; border-radius: var(--r-sm); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.auth-input.has-toggle input { padding-right: 3rem; }
.auth-input input:hover { border-color: var(--ink); }
.auth-input input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.auth-input:focus-within > i { color: var(--rausch); }
.pw-toggle { position: absolute; right: 6px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.1rem; }
.pw-toggle:hover { background: var(--soft); color: var(--ink); }
.auth-hint { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.auth-ferr { font-size: .85rem; color: var(--warn); margin-top: .35rem; }
.auth-error { display: flex; gap: .55rem; align-items: flex-start; padding: .8rem 1rem; margin-bottom: 1rem; border-radius: var(--r-sm); background: #fff1ee; color: var(--warn); border: 1px solid #ffd2c7; animation: shake .45s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.auth-check { display: flex; gap: .7rem; align-items: flex-start; margin: .4rem 0 1.2rem; font-size: .9rem; color: var(--body); cursor: pointer; }
.auth-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rausch); flex: none; }
.auth-btn { position: relative; overflow: hidden; width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: .6rem; border: 0; border-radius: var(--r-sm); background: linear-gradient(90deg, #ff5e38, #e0461f); color: #fff; font: inherit; font-weight: 600; font-size: 1.02rem; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease; box-shadow: 0 10px 24px -8px rgba(255, 94, 56, .55); }
.auth-btn:hover { box-shadow: 0 14px 30px -8px rgba(255, 94, 56, .7); }
.auth-btn:active { transform: scale(.98); }
.auth-btn i { transition: transform .25s var(--ease); }
.auth-btn:hover i { transform: translateX(4px); }
.auth-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.auth-btn:hover::after { transform: translateX(120%); }
.auth-btn.is-busy { opacity: .8; cursor: progress; }
.auth-btn.is-busy span::after { content: "..."; }
.auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.6rem 0 1rem; color: var(--muted); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-alt { display: flex; gap: .9rem; align-items: center; padding: 1rem; border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease); }
.auth-alt:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.auth-alt b { display: block; }
.auth-alt small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: .15rem; }
.auth-alt > i { margin-left: auto; color: var(--muted); }
.auth-alt-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--rausch-soft); color: var(--rausch-deep); font-size: 1.2rem; flex: none; }
.auth-foot { margin: 1.2rem 0 0; font-size: .92rem; }
.auth-foot a { color: var(--ink); }
.auth-help { max-width: 440px; width: 100%; margin: 1.6rem 0 0; font-size: .85rem; color: var(--muted); }
.auth-help a { color: var(--ink); font-weight: 600; }
.auth-visual { position: relative; display: none; overflow: hidden; color: #fff; }
@media (min-width: 1000px) { .auth-visual { display: block; } }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: kenburns 22s ease-in-out infinite alternate; }
.auth-visual-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 30, .88) 0%, rgba(8, 10, 30, .35) 55%, rgba(8, 10, 30, .15) 100%); }
.auth-visual-copy { position: absolute; left: 3rem; right: 3rem; bottom: 3rem; }
.auth-visual-copy h2 { color: #fff; font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin: .8rem 0 1.4rem; }
.auth-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.auth-perks li { display: flex; gap: .7rem; align-items: center; padding: .8rem .9rem; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(12px); opacity: 0; animation: perkin .7s var(--ease) forwards; animation-delay: var(--d); }
.auth-perks i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #ff8a5c, #e0461f); font-size: 1.05rem; flex: none; }
.auth-perks b { display: block; font-size: .92rem; }
.auth-perks small { display: block; font-size: .76rem; color: rgba(255, 255, 255, .72); line-height: 1.3; }
@keyframes perkin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { to { transform: scale(1.1) translate(-2%, -1%); } }

/* Вход по номеру телефона */
.auth-steps { list-style: none; display: flex; gap: .4rem; padding: 0; margin: .9rem 0 0; }
.auth-steps li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem .3rem .3rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .8rem; font-weight: 600; }
.auth-steps span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); font-size: .75rem; }
.auth-steps li.now { background: var(--rausch-soft); color: var(--rausch-deep); }
.auth-steps li.now span { background: var(--rausch); color: #fff; }
.auth-steps li.done { color: #0f7a43; background: #e8f7ee; }
.auth-steps li.done span { background: #10b981; color: #fff; }
.auth-how, .auth-guide { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; font-size: .88rem; color: var(--muted); }
.auth-how li { display: flex; gap: .5rem; align-items: flex-start; }
.auth-how i { color: var(--rausch); }
.auth-guide { counter-reset: g; margin: 0 0 1.2rem; }
.auth-guide li { counter-increment: g; display: flex; gap: .7rem; align-items: flex-start; color: var(--body); font-size: .95rem; }
.auth-guide li::before { content: counter(g); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--rausch-soft); color: var(--rausch-deep); font-weight: 700; font-size: .8rem; flex: none; }
.auth-btn.tg { background: linear-gradient(90deg, #37aee2, #1e88c7); box-shadow: 0 10px 24px -8px rgba(34, 158, 217, .55); }
.auth-wait { display: flex; align-items: center; gap: .6rem; justify-content: center; margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }
.dot-pulse { width: 10px; height: 10px; border-radius: 50%; background: #1e88c7; box-shadow: 0 0 0 0 rgba(30, 136, 199, .6); animation: live 1.4s ease-out infinite; }
.auth-note { display: flex; gap: .5rem; padding: .7rem .9rem; margin-bottom: 1rem; border-radius: var(--r-sm); background: #eef6ff; color: #1e5a99; font-size: .9rem; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin: 0 0 1.2rem; }
.otp input { width: 100%; aspect-ratio: 1 / 1.15; max-height: 64px; text-align: center; font: inherit; font-family: var(--display); font-size: 1.6rem; font-weight: 500; color: var(--ink); border: 1px solid #c1c1c1; border-radius: 12px; outline: none; background: var(--canvas); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.otp input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); transform: translateY(-2px); }
.otp.full input { border-color: #10b981; box-shadow: 0 0 0 2px rgba(16, 185, 129, .35); }
.auth-row-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 1rem; }
.auth-row-links form, .auth-foot { margin: 0; }
.link-btn { border: 0; background: none; padding: .3rem 0; font: inherit; font-size: .9rem; color: var(--ink); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--rausch-deep); }
.nowrap { white-space: nowrap; }
.auth-credit { max-width: 440px; width: 100%; margin: .6rem 0 0; font-size: .78rem; color: var(--muted); }
.auth-credit a { color: var(--ink); font-weight: 600; }

/* ================= Подвал: копирование реквизитов, документы ================= */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: .7rem 1.1rem; border-radius: 12px; background: #222; color: #fff; font-size: .9rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: opacity .25s ease, transform .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Документы */
.legal-wrap { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .legal-wrap { grid-template-columns: 280px 1fr; align-items: start; } .legal-nav { position: sticky; top: 96px; } }
.legal-nav { display: grid; gap: .4rem; }
.legal-nav a { display: flex; gap: .6rem; align-items: center; padding: .8rem 1rem; border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: var(--soft); font-weight: 500; font-size: .92rem; }
.legal-nav a.active { background: var(--rausch-soft); color: var(--rausch-deep); font-weight: 600; }
.legal-text { max-width: 760px; }
.legal-text h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.legal-text h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal-text p, .legal-text li { color: var(--body); line-height: 1.7; }
.legal-text ul { padding-left: 1.2rem; }
.auth-consent { margin: .8rem 0 0; font-size: .78rem; color: var(--muted); }
.auth-consent a, .auth-check a { color: var(--ink); }

/* Карта на странице дома */
.house-map { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-hover); background: var(--strong); }
.house-map iframe { display: block; width: 100%; height: 440px; border: 0; }
.house-map-card { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 520px; display: flex; gap: .9rem; align-items: center; padding: .8rem .9rem; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: var(--shadow-hover); }
.house-map-card b { display: block; color: var(--ink); }
.house-map-card small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.house-map-card .btn { margin-left: auto; min-height: 42px; padding: .5rem 1rem; flex: none; }
.bead-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; font-size: 1.2rem; background: linear-gradient(135deg, #ff8a5c, #e0461f); box-shadow: 0 6px 14px rgba(255, 94, 56, .35); }
@media (max-width: 600px) { .house-map iframe { height: 360px; } .house-map-card { flex-wrap: wrap; } .house-map-card .btn { margin-left: 0; width: 100%; } }

/* Логотип */
.logo-img { width: 46px; height: auto; flex: none; transition: transform .4s var(--ease); filter: drop-shadow(0 2px 6px rgba(255, 94, 56, .25)); }
.brand:hover .logo-img { transform: translateY(-2px) scale(1.05); }
.nav:not(.solid) .logo-img { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }

/* ================= Логотип: один, двухцветный ================= */
.logo-img { width: 60px; }
.nav .brand { gap: .75rem; font-size: 1.08rem; }
/* над темным hero темные части логотипа получают светлую обводку, чтобы не терялись на фото */
.nav:not(.solid):not(.open) .logo-img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 1px rgba(255, 255, 255, .9)) drop-shadow(0 0 8px rgba(255, 255, 255, .35)); }
body.inner .nav .logo-img, .nav.solid .logo-img { filter: none; }
@media (max-width: 640px) { .logo-img { width: 50px; } }

/* ================= Контакты ================= */
.contacts2 { position: relative; overflow: hidden; }
.contacts2::before { content: ""; position: absolute; right: -200px; top: -120px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 94, 56, .08), transparent); pointer-events: none; }
.c2-grid { position: relative; display: grid; gap: 1.2rem; }
@media (min-width: 1000px) { .c2-grid { grid-template-columns: 5fr 7fr; gap: 1.5rem; align-items: start; } }
.c2-left, .c2-right { display: grid; gap: 1.2rem; min-width: 0; }
.c2-office { background: var(--canvas); border-radius: var(--r-lg); box-shadow: var(--shadow-hover); padding: 1.2rem; }
.c2-office-head { display: flex; gap: .8rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.c2-office-head b { display: block; color: var(--ink); }
.c2-office-head small { color: var(--muted); font-size: .85rem; }
.c2-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--rausch-soft); color: var(--rausch-deep); font-size: 1.2rem; flex: none; }
.c2-rows { list-style: none; margin: 0; padding: 0; }
.c2-rows li + li { border-top: 1px dashed var(--line); }
.c2-rows a, .c2-rows li > div { display: flex; gap: .85rem; align-items: center; padding: .85rem .2rem; text-decoration: none; color: var(--ink); border-radius: 12px; transition: background .2s ease, padding .25s var(--ease); }
.c2-rows a:hover { background: var(--soft); padding-left: .6rem; }
.c2-rows i { font-size: 1.15rem; color: var(--rausch); width: 22px; text-align: center; flex: none; }
.c2-rows small { display: block; color: var(--muted); font-size: .78rem; }
.c2-rows b { font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.c2-go { margin-left: auto; font-style: normal; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); transition: background .2s ease, transform .25s var(--ease); flex: none; }
.c2-go i { color: var(--ink); font-size: .9rem; width: auto; }
.c2-rows a:hover .c2-go { background: var(--rausch); transform: rotate(45deg); }
.c2-rows a:hover .c2-go i { color: #fff; }

.c2-sos { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 1.2rem; color: #fff; background: radial-gradient(420px 260px at 100% 0%, rgba(255, 94, 56, .35), transparent 60%), linear-gradient(160deg, #2a1d19, #16110f 60%); box-shadow: 0 24px 50px -18px rgba(22, 17, 15, .55); }
.c2-sos-head { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.c2-sos-head b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.c2-sos-head small { color: rgba(255, 255, 255, .6); font-size: .82rem; }
.c2-sos-head .live i { width: 12px; height: 12px; }
.c2-247 { margin-left: auto; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 94, 56, .2); border: 1px solid rgba(255, 140, 110, .45); color: #ffb49c; font-weight: 700; font-size: .85rem; }
.c2-sos-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.c2-sos-list a { display: flex; align-items: center; gap: .75rem; padding: .7rem .75rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); text-decoration: none; color: #fff; transition: background .2s ease, transform .25s var(--ease), border-color .2s ease; }
.c2-sos-list a:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 140, 110, .4); transform: translateX(3px); }
.c2-sos-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #ffb49c; flex: none; }
.c2-sos-t { flex: 1; min-width: 0; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.c2-sos-list b { font-weight: 600; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.c2-call { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--rausch); color: #fff; flex: none; box-shadow: 0 6px 14px rgba(255, 94, 56, .45); transition: transform .25s var(--ease); }
.c2-sos-list a:hover .c2-call { transform: scale(1.1) rotate(-12deg); }
.c2-sos-note { margin: .9rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.c2-sos-note i { color: #ffb49c; }
.c2-sos-note a { color: #fff; font-weight: 600; }
@media (max-width: 420px) { .c2-sos-t { font-size: .85rem; } .c2-sos-list b { font-size: .9rem; } .c2-call { display: none; } }

.c2-map { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--strong); box-shadow: var(--shadow-hover); }
.c2-map iframe { display: block; width: 100%; height: 400px; border: 0; }
.c2-map-card { position: absolute; left: 14px; right: 14px; bottom: 14px; max-width: 520px; display: flex; gap: .8rem; align-items: center; padding: .75rem .8rem; border-radius: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); box-shadow: var(--shadow-hover); }
.c2-map-card b { display: block; color: var(--ink); }
.c2-map-card small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.c2-map-card .btn { margin-left: auto; min-height: 42px; padding: .5rem 1rem; flex: none; }
@media (max-width: 600px) { .c2-map iframe { height: 340px; } .c2-map-card { flex-wrap: wrap; } .c2-map-card .btn { width: 100%; margin: 0; } }

.c2-qr-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .c2-qr-row { grid-template-columns: 1fr 1fr; } }
.c2-qr { display: flex; gap: 1rem; align-items: center; padding: 1rem; border-radius: var(--r-lg); background: var(--canvas); box-shadow: var(--shadow); transition: box-shadow .3s ease, transform .3s var(--ease); }
.c2-qr:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.c2-qr-code { position: relative; width: 116px; height: 116px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); flex: none; }
.c2-qr-code svg { width: 100%; height: 100%; display: block; }
.c2-qr-badge { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: .95rem; box-shadow: 0 0 0 4px #fff; }
.c2-qr.tg .c2-qr-badge { background: linear-gradient(135deg, #37aee2, #1e88c7); }
.c2-qr.max .c2-qr-badge { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.c2-qr-soon { position: absolute; inset: 8px; border-radius: 8px; display: grid; place-content: center; justify-items: center; gap: .2rem; color: var(--muted); background: repeating-linear-gradient(45deg, var(--soft) 0 8px, #fff 8px 16px); font-size: 1.3rem; }
.c2-qr-soon small { font-size: .72rem; font-weight: 600; }
.c2-qr.soon .c2-qr-badge { top: auto; bottom: -10px; margin-top: 0; }
.c2-qr-text { min-width: 0; }
.c2-qr-text b { display: block; color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.c2-qr-text small { color: var(--muted); font-size: .82rem; }
.c2-qr-text p { margin: .35rem 0 .6rem; font-size: .85rem; color: var(--body); line-height: 1.4; }
.c2-qr-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .85rem; transition: gap .25s var(--ease), filter .2s ease; }
.c2-qr.tg .c2-qr-btn { background: #229ed9; }
.c2-qr.max .c2-qr-btn { background: #7c3aed; }
.c2-qr-btn:hover { gap: .6rem; filter: brightness(1.08); }
.c2-qr-hint { margin: -.2rem 0 0; font-size: .82rem; color: var(--muted); display: flex; gap: .45rem; align-items: center; }
@media (max-width: 559px) { .c2-qr-code { width: 96px; height: 96px; } .c2-qr-hint { display: none; } }

/* ================= Подвал ================= */
.footer { position: relative; overflow: hidden; background: var(--soft); border-top: 1px solid var(--line); color: var(--body); padding: 3.5rem 0 1.4rem; }
.f-glow { position: absolute; left: -160px; bottom: -220px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 94, 56, .1), transparent); pointer-events: none; }
.f-watermark { position: absolute; right: -60px; bottom: -40px; width: 520px; height: auto; opacity: .045; pointer-events: none; }
.f-top { position: relative; display: grid; gap: 2rem; }
@media (min-width: 760px) { .f-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .f-top { grid-template-columns: 1.35fr .8fr .95fr 1.5fr; gap: 2.5rem; } }
.f-brand .brand { color: var(--ink); font-size: 1.15rem; gap: .75rem; }
.f-brand .logo-img { width: 64px; }
.f-brand p { margin: 1rem 0 1.2rem; color: var(--muted); font-size: .92rem; max-width: 360px; }
.f-quick { display: grid; gap: .5rem; max-width: 320px; }
.f-quick a { display: flex; gap: .7rem; align-items: center; padding: .6rem .8rem; border-radius: 14px; background: var(--canvas); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 600; transition: transform .25s var(--ease), box-shadow .25s ease; }
.f-quick a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.f-quick i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--rausch-soft); color: var(--rausch-deep); flex: none; }
.f-quick a.sos i { background: var(--rausch); color: #fff; }
.f-quick small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); }
.f-social { display: flex; gap: .5rem; margin-top: .8rem; }
.f-social a { display: inline-flex; gap: .4rem; align-items: center; padding: .45rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none; color: #fff; transition: transform .2s var(--ease); }
.f-social a:hover { transform: translateY(-2px); }
.f-social .tg { background: #229ed9; }
.f-social .max { background: #7c3aed; }
.f-col { display: flex; flex-direction: column; gap: .15rem; }
.f-col h4, .f-req h4 { margin: .3rem 0 .8rem; font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.f-col a { position: relative; align-self: flex-start; padding: .32rem 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.f-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; border-radius: 2px; background: var(--rausch); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.f-col a:hover::after { transform: scaleX(1); }
.f-org { margin: 0 0 .6rem; font-weight: 700; color: var(--ink); }
.f-chips { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.f-chip { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .05rem; padding: .55rem 2.2rem .55rem .8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--canvas); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.f-chip.wide { grid-column: 1 / -1; }
.f-chip small { font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.f-chip b { font-size: .98rem; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.f-chip i { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); color: var(--muted); transition: color .2s ease, transform .2s ease; }
.f-chip:hover { border-color: var(--rausch); box-shadow: 0 0 0 3px rgba(255, 94, 56, .12); }
.f-chip:hover i { color: var(--rausch); transform: translateY(-50%) scale(1.12); }
.f-chip.copied { border-color: #10b981; background: #ecfdf5; }
.f-chip.copied i { color: #10b981; }
.f-chip.copied i::before { content: "\f272"; }
.f-license { display: flex; gap: .7rem; align-items: center; margin-top: .5rem; padding: .7rem .8rem; border-radius: 12px; text-decoration: none; color: var(--ink); background: linear-gradient(135deg, var(--rausch-soft), #fff); border: 1px solid rgba(255, 94, 56, .25); transition: box-shadow .2s ease, transform .25s var(--ease); }
.f-license:hover { box-shadow: 0 8px 20px -8px rgba(255, 94, 56, .45); transform: translateY(-2px); }
.f-license > i:first-child { font-size: 1.4rem; color: var(--rausch); }
.f-license small { display: block; font-size: .74rem; color: var(--muted); }
.f-license b { font-size: .95rem; }
.f-license.copied { border-color: #10b981; }
.f-ext { margin-left: auto; color: var(--muted); }
.f-meta { margin: .8rem 0 0; display: grid; gap: .45rem; }
.f-meta div { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .85rem; }
.f-meta dt { color: var(--muted); }
.f-meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.f-bottom { position: relative; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.f-dev a { color: var(--ink); font-weight: 700; text-decoration: none; background: linear-gradient(var(--rausch), var(--rausch)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.f-dev a:hover { background-size: 100% 2px; }
.brand span { white-space: nowrap; }
@media (max-width: 400px) { .nav .brand { font-size: .95rem; gap: .5rem; } .nav .logo-img { width: 44px; } .nav-actions { gap: .35rem; } }
.gis-link { color: var(--rausch-deep); font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(224, 70, 31, .35); transition: border-color .2s ease; }
.gis-link:hover { border-bottom-color: currentColor; }
.gis-link i { font-size: .8em; }
.menu a, .btn-sos, .btn-login { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1240px) { .menu { margin-left: .6rem; gap: 0; } .menu a { padding: .5rem .55rem; font-size: .9rem; } .nav-actions { gap: .4rem; } .btn-sos, .btn-login { padding: .45rem .7rem; font-size: .85rem; } }
@media (min-width: 1024px) and (max-width: 1120px) { .btn-sos span { display: none; } }

/* ================= Согласие на cookie ================= */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 720px; margin: 0 auto; display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: 20px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 24px 60px -12px rgba(22, 17, 15, .35); transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s ease; }
.cookie.show { transform: none; opacity: 1; }
.cookie-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, #ff8a5c, #e0461f); box-shadow: 0 8px 18px rgba(255, 94, 56, .35); animation: cookie-wobble 3s ease-in-out 1.5s infinite; }
@keyframes cookie-wobble { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-5deg); } }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text b { display: block; color: var(--ink); font-size: .98rem; }
.cookie-text p { margin: .2rem 0 0; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.cookie-text a { color: var(--ink); font-weight: 600; }
.cookie-actions { display: flex; flex-direction: column; gap: .4rem; flex: none; }
.cookie-btn { min-height: 40px; padding: .5rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--canvas); color: var(--ink); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; white-space: nowrap; transition: background .2s ease, border-color .2s ease, transform .15s ease; }
.cookie-btn:hover { border-color: var(--ink); }
.cookie-btn:active { transform: scale(.97); }
.cookie-btn.primary { border-color: transparent; color: #fff; background: linear-gradient(90deg, #ff5e38, #e0461f); box-shadow: 0 8px 18px -6px rgba(255, 94, 56, .55); }
.cookie-btn.primary:hover { filter: brightness(1.05); }
@media (max-width: 640px) {
  .cookie { flex-wrap: wrap; gap: .8rem; padding: .9rem; bottom: 10px; left: 10px; right: 10px; }
  .cookie-ico { width: 40px; height: 40px; }
  .cookie-text { flex-basis: calc(100% - 56px); }
  .cookie-actions { flex-direction: row; width: 100%; }
  .cookie-actions .cookie-btn { flex: 1; }
}

/* заглушка вместо карты до согласия */
.embed-ph { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; padding: 1rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 94, 56, .08), transparent 50%), repeating-linear-gradient(0deg, transparent 0 38px, rgba(0, 0, 0, .04) 38px 39px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(0, 0, 0, .04) 38px 39px), var(--soft); }
.embed-ph > i { font-size: 2rem; color: var(--rausch); }
.embed-ph b { color: var(--ink); }
.embed-ph span { color: var(--muted); font-size: .85rem; margin-bottom: .4rem; }
.c2-map-card, .house-map-card { z-index: 2; }
.c2-map .embed-ph, .house-map .embed-ph { padding-bottom: 96px; }
@media (max-width: 600px) { .c2-map .embed-ph, .house-map .embed-ph { justify-content: flex-start; padding: 1.4rem 1rem 0; } }

/* на телефоне карточка адреса под картой, а не поверх нее */
@media (max-width: 600px) {
  .c2-map-card, .house-map-card { position: relative; left: auto; right: auto; bottom: auto; max-width: none; border-radius: 0; box-shadow: none; background: var(--canvas); backdrop-filter: none; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .c2-map-card > span:not(.bead-ico), .house-map-card > span:not(.bead-ico) { flex: 1; min-width: 0; }
  .c2-map .embed-ph { bottom: auto; height: 340px; }
  .house-map .embed-ph { bottom: auto; height: 360px; }
  .c2-map .embed-ph, .house-map .embed-ph { justify-content: center; padding: 1rem; }
}

/* ---------- Важная информация и объявления ---------- */
.important { position: relative; padding: 44px 0 40px; background:
    radial-gradient(900px 260px at 12% 0%, rgba(255, 94, 56, .16), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 94, 56, .045) 0 14px, transparent 14px 28px),
    var(--rausch-soft);
  border-bottom: 1px solid rgba(255, 94, 56, .18); overflow: hidden; }
.important::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 22px, var(--rausch) 22px 44px); }
.imp-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; margin-bottom: 22px; }
.imp-head h2 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.imp-head .kicker { margin-bottom: 2px; }
.imp-note { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: .95rem; max-width: 640px; }
.imp-note a { color: var(--rausch-deep); font-weight: 600; }
@media (min-width: 900px) { .imp-head { grid-template-columns: auto auto 1fr; } .imp-note { grid-column: 3; justify-self: end; text-align: right; margin: 0; } }
.imp-beacon { position: relative; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--rausch); color: #fff; font-size: 1.9rem; box-shadow: 0 10px 24px rgba(255, 94, 56, .35); }
.imp-beacon::after { content: ""; position: absolute; inset: -6px; border-radius: 22px; border: 2px solid var(--rausch); opacity: 0; animation: imp-ping 2.2s var(--ease) infinite; }
@keyframes imp-ping { 0% { transform: scale(.85); opacity: .7; } 80%, 100% { transform: scale(1.25); opacity: 0; } }

.imp-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.imp-list.single { grid-template-columns: minmax(0, 760px); }
@media (max-width: 700px) {
  .important .imp-list:not(.single) { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .important .imp-list::-webkit-scrollbar { display: none; }
  .important .ann-card { scroll-snap-align: start; }
}

.ann-card { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px 18px 18px 20px; border-radius: var(--r-lg); background: var(--canvas); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); overflow: hidden; }
.ann-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--rausch); }
.ann-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.ann-when { width: 72px; height: 82px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; align-content: center; line-height: 1; text-align: center; }
.ann-when b { font-family: var(--display); font-size: 2rem; font-weight: 600; letter-spacing: -.03em; }
.ann-when small { font-size: .78rem; text-transform: uppercase; color: #ffb29f; margin-top: 4px; letter-spacing: .06em; }
.ann-when em { font-style: normal; font-size: .68rem; color: rgba(255, 255, 255, .6); margin-top: 3px; text-transform: lowercase; }
.ann-when i { font-size: 1.8rem; color: #ffb29f; }
.ann-main { min-width: 0; }
.ann-kind { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--rausch-deep); }
.ann-main h3 { font-size: 1.12rem; margin: 4px 0 6px; line-height: 1.25; }
.ann-time { margin: 0 0 6px; font-weight: 600; color: var(--ink); font-size: .93rem; display: flex; gap: 6px; align-items: center; }
.ann-time i { color: var(--rausch); }
.ann-text { margin: 0 0 8px; color: var(--body); font-size: .93rem; }
.ann-houses { margin: 0; font-size: .82rem; color: var(--muted); display: flex; gap: 6px; align-items: baseline; }
.ann-houses a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(34, 34, 34, .25); text-underline-offset: 3px; }
.ann-houses a:hover { color: var(--rausch-deep); }
.ann-card[data-kind="snow"] .ann-when { background: linear-gradient(160deg, #1f3a5f, #0f1f35); }
.ann-card[data-kind="snow"] .ann-when small, .ann-card[data-kind="snow"] .ann-when i { color: #a9d6ff; }
.ann-card[data-kind="snow"]::after { content: "\2744"; position: absolute; right: 14px; top: 6px; font-size: 3.4rem; color: rgba(31, 58, 95, .06); pointer-events: none; }
@media (max-width: 420px) { .ann-card { grid-template-columns: 58px 1fr; gap: 12px; padding: 14px 14px 14px 16px; } .ann-when { width: 58px; height: 68px; } .ann-when b { font-size: 1.6rem; } }

.house-anns { padding-bottom: 0; }
.news-grid { max-width: 820px; }
.important { padding-bottom: 96px; }
.ann-houses { display: block; position: relative; padding-left: 20px; line-height: 1.5; }
.ann-houses > i { position: absolute; left: 0; top: 2px; }
.ann-houses a { white-space: nowrap; }

/* ---------- Цифры: иконки и анимации ---------- */
.stat { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; transition: background .3s ease; }
.stat:hover { background: var(--rausch-soft); }
.stat b { grid-column: 2; line-height: 1.05; }
.stat > span:not(.stat-ico) { grid-column: 2; }
.stat-ico { grid-row: 1 / span 2; position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--rausch-soft); color: var(--rausch); font-size: 1.4rem; }
.stat-ico i { position: relative; z-index: 1; display: block; }
@media (max-width: 480px) { .stat { column-gap: 10px; } .stat-ico { width: 42px; height: 42px; border-radius: 13px; font-size: 1.15rem; } }

.stats-grid.reveal .stat { opacity: 0; transform: translateY(14px); }
.stats-grid.in .stat { animation: stat-in .7s var(--ease) calc(var(--i) * 120ms) both; }
.stats-grid.in .stat-ico { animation: ico-pop .65s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i) * 120ms + 180ms) both; }
@keyframes stat-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ico-pop { 0% { transform: scale(.4) rotate(-18deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* дом: спокойно "дышит" */
.ico-house i { animation: ico-float 4.5s ease-in-out 1.2s infinite; }
@keyframes ico-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
/* дверь: приоткрывается */
.ico-door { perspective: 120px; }
.ico-door i { transform-origin: 30% 50%; animation: door-swing 5s ease-in-out 1.4s infinite; }
@keyframes door-swing { 0%, 60%, 100% { transform: rotateY(0); } 72%, 88% { transform: rotateY(-38deg); } }
/* 24/7: точка "на связи" */
.ico-live .live-dot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 2px var(--rausch-soft); z-index: 2; }
.ico-live .live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #16a34a; animation: live-ping 2s ease-out infinite; }
@keyframes live-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
/* 5 минут: дуга на циферблате = 5 минут из 60 */
.ico-timer svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ico-timer circle { fill: none; stroke-width: 3; }
.ico-timer .track { stroke: rgba(255, 94, 56, .18); }
.ico-timer .arc { stroke: var(--rausch); stroke-linecap: round; stroke-dasharray: 5 60; stroke-dashoffset: 5; }
.stats-grid.in .ico-timer .arc { animation: arc-draw 1.2s var(--ease) .9s forwards; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
.ico-timer i { font-size: .95em; animation: tick 2s steps(1) 2.2s infinite; }
@keyframes tick { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(6deg); } }

/* ---------- Карточки услуг: иконка по смыслу и анимация ---------- */
.svc .ico { overflow: visible; }
.svc .ico::before { content: ""; position: absolute; inset: -5px; border-radius: 18px; border: 2px solid rgba(255, 94, 56, .35); opacity: 0; transform: scale(.85); transition: opacity .35s ease, transform .35s var(--ease); pointer-events: none; }
.svc:hover .ico::before { opacity: 1; transform: scale(1); }
.svc .ico i { display: block; }
.svc.in .ico { animation: ico-pop .65s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0ms) + 250ms) both; }
.ico-engineer i { transform-origin: 70% 70%; animation: wiggle 4s ease-in-out 1.5s infinite; }
.ico-power i { animation: flicker 3.2s linear 1s infinite; }
.ico-clean i { animation: twinkle 2.6s ease-in-out 1s infinite; }
.ico-yard i { transform-origin: 50% 100%; animation: sway 3.6s ease-in-out 1s infinite; }
.ico-sos i { animation: beat 1.8s ease-in-out 1s infinite; }
.ico-facade i { animation: stack 3.4s cubic-bezier(.34, 1.56, .64, 1) 1.2s infinite; }
.ico-snow i { animation: spin-slow 8s linear infinite; }
.svc:hover .ico i { animation-duration: 1.1s; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-16deg); } 84% { transform: rotate(12deg); } 92% { transform: rotate(-6deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 8% { opacity: .35; } 10% { opacity: 1; } 14% { opacity: .5; } 16% { opacity: 1; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.18) rotate(12deg); opacity: .75; } }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
@keyframes stack { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-5px); } 80% { transform: translateY(0) scaleY(.9); } 88% { transform: translateY(0) scaleY(1); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.stat .stat-ico { font-size: 1.45rem; color: var(--rausch); }
@media (max-width: 480px) { .stat .stat-ico { font-size: 1.2rem; } }
