:root {
  --g-950: #071b0b;
  --g-900: #0b2a12;
  --g-800: #12391b;
  --g-700: #1b4d26;
  --brand: #007a00;
  --accent: #6fd36f;
  --accent-2: #a6f0a6;
  --tg: #2aabee;
  --bg: #ffffff;
  --tint: #f3f6f2;
  --ink: #0d1a10;
  --muted: #55625a;
  --line: #dde4dc;
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
svg { width: 20px; height: 20px; flex: none; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
button { font-family: var(--font); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.section { padding: 104px 0; position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--g-900); color: #fff; }
.section__head { margin-bottom: 44px; }
.section__lead { color: var(--muted); font-size: 18px; margin: 0; max-width: 640px; }
.section--dark .section__lead { color: #b7c9ba; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 16px; }
.note { font-size: 13px; color: #94aa98; margin: 12px 0 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* Первый экран появляется сразу, без ожидания прокрутки */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 14px; font: 700 16px var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--g-950); box-shadow: 0 8px 24px -8px rgba(111, 211, 111, .6); }
.btn--accent:hover { background: var(--accent-2); box-shadow: 0 12px 30px -8px rgba(111, 211, 111, .8); }
.btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--outline { border-color: var(--brand); color: var(--brand); margin-top: 36px; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--tg { background: var(--tg); color: #fff; box-shadow: 0 8px 24px -8px rgba(42,171,238,.7); }
.btn--tg:hover { background: #45b9f2; }
.btn--tg:hover svg { transform: none; }
.btn--link { background: none; color: var(--muted); padding: 12px; font-weight: 600; font-size: 14px; }
.btn--link:hover { color: var(--brand); transform: none; }
.btn--block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(7, 27, 11, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__name { font-size: 25px; font-weight: 900; letter-spacing: .02em; }
.logo__sub { font-size: 9px; font-weight: 800; letter-spacing: .13em; color: var(--accent); margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: #cfdcd1; padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255,255,255,.08); }
.header__right { display: flex; align-items: center; gap: 12px; }
.header__phone { font-weight: 800; text-decoration: none; white-space: nowrap; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; transition: transform .2s var(--ease); }
.icon-btn:hover { transform: scale(1.08); }
.icon-btn--tg { background: var(--tg); color: #fff; }
.lang { display: flex; background: rgba(255,255,255,.08); border-radius: 10px; padding: 3px; }
.lang button { background: none; border: 0; color: #b7c9ba; font-weight: 700; font-size: 12px; padding: 7px 9px; border-radius: 7px; cursor: pointer; transition: background .2s, color .2s; }
.lang button.is-active { background: var(--accent); color: var(--g-950); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* Hero */
.hero { background: var(--g-900); color: #fff; padding: 96px 0 104px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.hero__glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(111,211,111,.28), transparent 65%); top: -200px; right: -120px; filter: blur(10px); animation: float 12s ease-in-out infinite; pointer-events: none; }
@keyframes float { 50% { transform: translate(-60px, 60px) scale(1.1); } }
.hero__inner { display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(42px, 6.6vw, 80px); font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 40px rgba(111,211,111,.45); }
.hero__rotate { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: #cfdcd1; margin: 0 0 18px; min-height: 1.5em; }
.hero__rotate b { color: #fff; border-bottom: 3px solid var(--accent); }
.hero__rotate b::after { content: "|"; color: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__sub { font-size: 18px; color: #b7c9ba; max-width: 580px; margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); color: #e2ece3; }
.chips li::before { content: "✓ "; color: var(--accent); }

.hero__card { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 30px; backdrop-filter: blur(8px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--accent); background: rgba(111,211,111,.12); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(111,211,111,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(111,211,111,0); } 100% { box-shadow: 0 0 0 0 rgba(111,211,111,0); } }
.hero__card-title { font-size: 23px; font-weight: 800; margin: 0 0 6px; }
.hero__card p { color: #cfdcd1; margin: 0 0 20px; }
/* Контактные плитки: телефон и Telegram в одном стиле */
.ctiles { display: grid; gap: 10px; }
.ctile { --c: var(--accent); display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; text-decoration: none; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.ctile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); }
.ctile--tg { --c: var(--tg); }
.ctile__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: var(--g-950); }
.ctile--tg .ctile__icon { color: #fff; }
.ctile__icon svg { width: 22px; height: 22px; }
.ctile__body { min-width: 0; }
.ctile__body small { display: block; font-size: 12px; font-weight: 600; color: #9fb7a3; margin-bottom: 2px; }
.ctile__body b { display: block; font-size: clamp(17px, 1.7vw, 20px); font-weight: 800; white-space: nowrap; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.ctile__arrow { flex: none; margin-left: auto; width: 18px; height: 18px; color: var(--c); opacity: .7; transition: transform .2s var(--ease), opacity .2s; }
.ctile:hover .ctile__arrow { transform: translateX(4px); opacity: 1; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #7f9884; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.1); }

/* Stats */
.stats { background: var(--brand); color: #fff; padding: 40px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 900; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat > span { font-size: 15px; color: #d7f0d7; font-weight: 500; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { --mx: 50%; --my: 50%; position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; background: #fff; text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(111,211,111,.18), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 40px -20px rgba(0,80,0,.25); }
.service:hover::before { opacity: 1; }
.service__icon { width: 52px; height: 52px; border-radius: 14px; background: #e6f4e6; color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; transition: background .3s, color .3s, transform .3s var(--ease); }
.service:hover .service__icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service__icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 14px; margin: 0 0 18px; flex: 1; }
.service__price { font-weight: 800; color: var(--brand); font-size: 15px; }
.service__go { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 12px; transition: color .2s; }
.service__go svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.service:hover .service__go { color: var(--brand); }
.service:hover .service__go svg { transform: translateX(4px); }

/* Sign builder */
.sign { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: stretch; }
.sign__stage { position: relative; border-radius: 24px; overflow: hidden; min-height: 420px; display: flex; --c: #ffffff; --size: 90px; }
.sign__wall { flex: 1; display: grid; place-items: center; padding: 48px 28px; transition: background .6s; background:
  repeating-linear-gradient(0deg, transparent 0 59px, rgba(0,0,0,.25) 59px 60px),
  repeating-linear-gradient(90deg, transparent 0 119px, rgba(0,0,0,.18) 119px 120px),
  linear-gradient(180deg, #2a2f2c, #1a1e1b); }
.sign__stage[data-time="day"] .sign__wall { background:
  repeating-linear-gradient(0deg, transparent 0 59px, rgba(0,0,0,.08) 59px 60px),
  repeating-linear-gradient(90deg, transparent 0 119px, rgba(0,0,0,.06) 119px 120px),
  linear-gradient(180deg, #c9cfc9, #aab2ab); }
.sign__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--c) 22%, transparent), transparent 60%); opacity: 1; transition: opacity .6s; }
.sign__stage[data-time="day"]::after, .sign__stage[data-mode="none"]::after { opacity: 0; }
.sign__text { font-weight: 900; font-size: var(--size); line-height: 1; letter-spacing: .04em; text-transform: uppercase; text-align: center; word-break: break-word; transition: color .4s, text-shadow .4s, font-size .25s var(--ease); color: var(--c);
  text-shadow: 1px 1px 0 rgba(0,0,0,.35), 2px 2px 0 rgba(0,0,0,.35), 3px 3px 0 rgba(0,0,0,.35), 4px 4px 0 rgba(0,0,0,.35); }
.sign__stage[data-time="night"][data-mode="front"] .sign__text { text-shadow: 0 0 6px var(--c), 0 0 22px var(--c), 0 0 48px var(--c), 3px 3px 0 rgba(0,0,0,.4); color: color-mix(in srgb, var(--c) 30%, #fff); animation: flicker 6s infinite; }
.sign__stage[data-mode="halo"] .sign__text { color: #1c1f1d; text-shadow: 1px 1px 0 #333, 2px 2px 0 #2a2a2a, 3px 3px 0 #222; }
.sign__stage[data-time="night"][data-mode="halo"] .sign__text { text-shadow: 0 0 2px #000, 0 0 18px var(--c), 0 0 36px var(--c), 0 0 70px var(--c); }
.sign__stage[data-time="day"][data-mode="halo"] .sign__text { color: #2a2d2b; }
@keyframes flicker { 0%, 92%, 96%, 100% { opacity: 1; } 94% { opacity: .82; } }
.sign__ruler { position: absolute; left: 16px; top: 16px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,.45); padding: 6px 10px; border-radius: 8px; backdrop-filter: blur(6px); }
.toggle { position: absolute; right: 16px; top: 16px; display: flex; background: rgba(0,0,0,.45); border-radius: 10px; padding: 3px; backdrop-filter: blur(6px); }
.toggle button { border: 0; background: none; color: #cfdcd1; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.toggle button.is-active { background: #fff; color: var(--g-950); }
.sign__panel { background: var(--g-800); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 28px; }
.sign__panel .field span { color: #b7c9ba; }
.sign__panel .field b { color: #fff; }
.sign__panel input:not([type=range]) { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.seg { display: flex; gap: 6px; background: rgba(255,255,255,.06); padding: 4px; border-radius: 12px; }
.seg button { flex: 1; border: 0; background: none; color: #cfdcd1; padding: 10px 8px; border-radius: 9px; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .2s, color .2s; }
.seg button.is-active { background: var(--accent); color: var(--g-950); }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; border: 3px solid transparent; background: var(--sw); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.swatches button:hover { transform: scale(1.12); }
.swatches button.is-active { border-color: #fff; box-shadow: 0 0 16px var(--sw); }
.sign__price { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin-top: 6px; }
.sign__price small { display: block; color: #94aa98; font-size: 13px; }
.sign__price output { display: block; font-size: 28px; font-weight: 900; color: var(--accent); line-height: 1.2; font-variant-numeric: tabular-nums; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 28px; right: 28px; top: 38px; height: 3px; border-radius: 3px; background: var(--line); }
.steps::after { background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.steps li { position: relative; z-index: 1; }
.steps span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid var(--line); color: var(--brand); font-weight: 900; font-size: 16px; margin: 10px 0 20px; transition: background .3s, border-color .3s, color .3s; }
.steps li.done span { background: var(--accent); border-color: var(--accent); color: var(--g-950); }
.steps b { display: block; font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.calc .section__lead { margin-bottom: 28px; }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.field b { color: var(--ink); }
.field input:not([type=range]):not([type=checkbox]), .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font: 500 16px var(--font); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(111,211,111,.25); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--fill, 50%), rgba(127,140,130,.3) var(--fill, 50%)); outline: none; margin: 10px 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: grab; box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: transform .15s; }
input[type=range]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: grab; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select button { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink); transition: all .2s; }
.chips-select button:hover { border-color: var(--brand); }
.chips-select button.is-active { background: var(--g-900); color: #fff; border-color: var(--g-900); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.calc__extras { border-top: 1px solid var(--line); padding-top: 20px; }
.calc__result { background: var(--g-900); color: #fff; border-radius: 24px; padding: 32px; position: sticky; top: 96px; overflow: hidden; }
.calc__result::before { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(111,211,111,.25), transparent 70%); }
.calc__result > * { position: relative; }
.calc__result > p:first-child { margin: 0; color: #b7c9ba; font-weight: 600; }
.calc__result output { display: block; font-size: clamp(32px, 4vw, 46px); font-weight: 900; color: var(--accent); margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.calc__detail { font-size: 14px; color: #cfdcd1; margin: 0 0 16px; }
.calc__note { font-size: 13px; color: #94aa98; margin: 0 0 24px; }
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.04); } }

/* Tabs */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink); transition: all .2s; }
.tabs button:hover { border-color: var(--brand); }
.tabs button.is-active { background: var(--g-900); color: #fff; border-color: var(--g-900); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } }

/* Works */
/* С какими сферами не работаем */
.eyebrow--dark { color: var(--brand); }
.ns-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ns-item { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; min-width: 0; animation: rowIn .45s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.ns-item__icon { position: relative; flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fdeced; color: #c4343a; }
.ns-item__icon svg { width: 24px; height: 24px; }
.ns-item__icon::after { content: ""; position: absolute; inset: 9px; border: 2.5px solid #e5484d; border-radius: 50%; background: linear-gradient(45deg, transparent calc(50% - 1.25px), #e5484d calc(50% - 1.25px), #e5484d calc(50% + 1.25px), transparent calc(50% + 1.25px)); opacity: .9; }
.ns-item b { font-size: 15px; font-weight: 700; line-height: 1.3; min-width: 0; }
.ns-note { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; padding: 18px 20px; border-radius: 16px; background: #fff; border-left: 4px solid var(--brand); color: var(--muted); font-size: 15px; max-width: 760px; }
.ns-note svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }

/* Instagram филиалов под портфолио */
.ig-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 28px; }
.ig-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; min-width: 0; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.ig-link:hover { border-color: #d6249f; transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(214, 36, 159, .5); }
.ig-link__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ig-link__icon svg { width: 22px; height: 22px; }
.ig-link__body { min-width: 0; }
.ig-link__body small { display: block; font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.ig-link__body b { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-link__arrow { flex: none; margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease); }
.ig-link:hover .ig-link__arrow { transform: translateX(4px); color: #d6249f; }
.branch__actions .is-ig { background: rgba(214, 36, 159, .18); color: #f7c4e6; }
.branch__actions .is-ig:hover { background: rgba(214, 36, 159, .3); }
.work-filters { display: grid; gap: 4px; }
.tabs[hidden] { display: none; }
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.work { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--g-900); color: #fff; font: inherit; text-align: left; cursor: zoom-in; animation: rowIn .45s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.work img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.work__meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(4, 16, 7, .82)); }
.work__tag { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.work__title { font-weight: 800; font-size: 19px; }

/* Просмотр фото на весь экран */
.lb { border: 0; padding: 0; background: transparent; max-width: min(1200px, 100vw); max-height: 100vh; width: 100%; overflow: visible; }
.lb::backdrop { background: rgba(3, 12, 5, .92); }
.lb figure { margin: 0; display: grid; gap: 12px; padding: 16px; }
.lb img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 12px; background: #000; }
.lb figcaption { color: #fff; display: flex; flex-direction: column; gap: 2px; padding-inline: 4px; }
.lb figcaption small { color: var(--accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.lb figcaption b { font-size: 18px; }
.lb__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb__btn:hover { background: rgba(255,255,255,.28); }
.lb__btn:focus-visible { outline: 3px solid var(--accent); }
.lb__close { top: 24px; right: 24px; }
.lb__prev { left: 24px; top: 40%; }
.lb__next { right: 24px; top: 40%; }
.lb__prev[hidden], .lb__next[hidden] { display: none; }

/* FAQ */
.faq details { background: #fff; border-radius: 16px; margin-bottom: 10px; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; overflow: hidden; }
.faq details[open] { border-color: var(--accent); box-shadow: 0 10px 30px -18px rgba(0,80,0,.3); }
.faq summary { padding: 20px 24px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 20px; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--g-950); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); animation: rowIn .35s var(--ease); }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.branches { display: grid; gap: 14px; }
.branch { background: var(--g-800); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 22px 24px; transition: border-color .3s, transform .3s var(--ease); }
.branch:hover { border-color: rgba(111,211,111,.5); transform: translateX(4px); }
.branch__city { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.branch__phone { display: block; font-size: 24px; font-weight: 900; text-decoration: none; margin-bottom: 4px; }
.branch__addr { display: inline-flex; align-items: center; gap: 6px; color: #cfdcd1; font-size: 15px; text-decoration: none; }
.branch__addr svg { width: 16px; height: 16px; color: var(--accent); }
.branch__addr:hover { color: #fff; }
.branch__actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.branch__actions a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none; padding: 9px 14px; border-radius: 10px; background: rgba(255,255,255,.07); transition: background .2s; }
.branch__actions a:hover { background: rgba(255,255,255,.14); }
.branch__actions a svg { width: 16px; height: 16px; }
.branch__actions .is-tg { background: rgba(42,171,238,.18); color: #bfe6fb; }
.branch__actions .is-tg:hover { background: rgba(42,171,238,.3); }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field.is-error input { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.15); }
.field__err { display: block; color: #e5484d; font-size: 13px; font-weight: 600; margin-top: 6px; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading svg { display: none; }
.btn.is-loading::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(7,27,11,.25); border-top-color: var(--g-950); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__done { text-align: center; padding: 12px 0; animation: rowIn .5s var(--ease); }
.form__done h3 { font-size: 26px; font-weight: 900; margin: 18px 0 8px; }
.form__done p { color: var(--muted); margin: 0 0 24px; }
.form__check { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: var(--accent); color: var(--g-950); display: grid; place-items: center; animation: pop .5s var(--ease); }
.form__check svg { width: 38px; height: 38px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .25s var(--ease) forwards; }
.form__check--tg { background: var(--tg); color: #fff; }
.form__check--tg svg { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; width: 34px; height: 34px; }
#leadTgText { font-size: 14px; background: var(--tint); resize: none; text-align: left; }
.form__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.socials { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.socials a { display: inline-flex; align-items: center; gap: 8px; color: #cfdcd1; text-decoration: none; font-weight: 600; }
.socials a:hover { color: #fff; }
.socials svg { color: var(--tg); }

.footer { background: var(--g-950); color: #94aa98; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; padding: 24px 20px; flex-wrap: wrap; }

/* Floating Telegram + mobile bar */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--tg); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(42,171,238,.7); transition: transform .25s var(--ease); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--tg); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.mbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translate(-50%, 20px); background: var(--g-950); color: #fff; padding: 14px 20px; border-radius: 14px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--g-950); flex-direction: column; gap: 0; padding: 8px 20px 20px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .header__right { margin-left: auto; }
  .burger { display: block; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .sign { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero__inner, .calc, .contacts { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps::before, .steps::after { display: none; }
  .calc__result { position: static; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .sign__stage { min-height: 300px; }
  .fab { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(7,27,11,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.08); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #e2ece3; text-decoration: none; font-size: 12px; font-weight: 700; padding: 6px; border-radius: 12px; }
  .mbar .mbar__tg { background: var(--tg); color: #fff; }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header__phone, .icon-btn--tg { display: none; }
  .services, .works { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__card, .calc__result, .form, .sign__panel { padding: 22px; }
  .ctile { padding: 12px 14px; gap: 12px; }
  .ns-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ns-item { flex-direction: column; text-align: center; gap: 10px; padding: 16px 10px; }
  .ns-item b { font-size: 13.5px; }
  .ctile__body b { font-size: 18px; }
  .seg button { font-size: 12px; padding: 10px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
