/* ==========================================================================
   «Я помогаю» — стили сайта
   Палитра взята с ленты медали «За помощь фронту»: изумруд, красный, серебро,
   плюс хаки и камуфляж.
   ========================================================================== */

:root {
  --bg-deep: #04170f;
  --forest: #0a2f23;
  --forest-2: #0d3c2d;
  --emerald: #1c9b78;
  --emerald-2: #2fc79b;
  --red: #e1262e;
  --red-2: #ff5a3c;
  --fire-1: #fff3b0;
  --fire-2: #ffb42b;
  --silver: #d5d9dc;
  --khaki: #9a9a5c;
  --khaki-dark: #5b5f35;
  --sand: #d9cfa3;
  --ink: #f3f7f2;
  --muted: #b8c9bf;
  --panel: linear-gradient(160deg, rgba(9, 52, 39, .80), rgba(4, 26, 19, .76));
  --line: rgba(213, 217, 220, .16);
  --radius: 22px;
  --ribbon: linear-gradient(90deg, #d5d9dc 0 12%, #e1262e 12% 24%, #2fc79b 24% 76%, #e1262e 76% 88%, #d5d9dc 88% 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Bahnschrift", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
}
img, video, svg { max-width: 100%; display: block; }
a { color: var(--emerald-2); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--fire-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(1180px, 100% - clamp(32px, 8vw, 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hide-sm { }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Живой фон ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-deep); }
.bg-gradient {
  position: absolute; inset: -20%;
  background: linear-gradient(115deg, #041a12 0%, #0b4a39 14%, #1c9b78 28%, #0f5a46 42%, #3f4a24 54%, #0d4636 66%, #25b58c 79%, #5a1c20 89%, #0b3b2e 96%, #041a12 100%);
  background-size: 360% 360%;
  animation: gradShift 38s ease-in-out infinite alternate;
  opacity: .92;
}
.bg-camo {
  position: absolute; inset: 0;
  background: url("/img/camo.svg") 0 0 / 640px 640px;
  opacity: .20;
  animation: camoDrift 120s linear infinite;
}
.bg-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.bg-blob.b1 { width: 46vw; height: 46vw; left: -12vw; top: -8vw; background: radial-gradient(circle, #2fc79b 0, transparent 68%); animation: blobA 26s ease-in-out infinite alternate; }
.bg-blob.b2 { width: 40vw; height: 40vw; right: -10vw; top: 30vh; background: radial-gradient(circle, #e1262e 0, transparent 68%); opacity: .2; animation: blobB 32s ease-in-out infinite alternate; }
.bg-blob.b3 { width: 52vw; height: 52vw; left: 20vw; bottom: -22vw; background: radial-gradient(circle, #9a9a5c 0, transparent 68%); opacity: .38; animation: blobC 36s ease-in-out infinite alternate; }
#embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(2, 12, 8, .5) 100%); }

@keyframes gradShift { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
@keyframes camoDrift { to { background-position: 640px 320px; } }
@keyframes blobA { to { transform: translate(18vw, 22vh) scale(1.2); } }
@keyframes blobB { to { transform: translate(-22vw, -18vh) scale(1.15); } }
@keyframes blobC { to { transform: translate(-16vw, -14vh) scale(1.25); } }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(3, 20, 14, .92), rgba(3, 20, 14, .72));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ribbon); background-size: 220% 100%; animation: ribbonSlide 12s linear infinite; opacity: .95; }
.site-header.scrolled { box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-medal { width: auto; height: 62px; margin-top: -2px; transform-origin: 50% 0; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.brand-medal.m1 { animation: swing 5.2s ease-in-out infinite; }
.brand-medal.m2 { animation: swing 6.4s ease-in-out -2.2s infinite; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 4vw, 34px); letter-spacing: .02em; text-transform: uppercase;
  background: linear-gradient(100deg, #fff 0%, #d5d9dc 35%, #ffd0b0 50%, #fff 65%, #d5d9dc 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.brand-sub { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { position: relative; color: var(--silver); padding: 10px 12px; font-weight: 600; font-size: 15px; border-radius: 10px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; padding: 0; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes swing { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(-7deg); } }
@keyframes shimmer { to { background-position: -250% 0; } }
@keyframes ribbonSlide { to { background-position: -220% 0; } }

/* ---------- Кнопки с «огнём» ---------- */
.btn {
  --glow: 255, 110, 40;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.7em; border: 0; border-radius: 999px; cursor: pointer;
  font: 800 15px/1.1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: #fff; text-align: center;
  background: linear-gradient(180deg, #ff7a45 0%, #e1262e 52%, #a30f1a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 8px rgba(80, 0, 0, .4), 0 8px 22px rgba(225, 38, 46, .45), 0 0 26px rgba(var(--glow), .42);
  transition: transform .3s var(--ease), box-shadow .35s, filter .3s;
  animation: btnPulse 2.6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: #fff; transform: translateY(-3px) scale(1.04); filter: saturate(1.15) brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -3px 8px rgba(80, 0, 0, .4), 0 14px 34px rgba(225, 38, 46, .6), 0 0 48px rgba(var(--glow), .75); }
.btn:active { transform: translateY(0) scale(.98); }
.btn::after { /* блик */
  content: ""; position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) -160% 0 / 60% 100% no-repeat;
  mix-blend-mode: soft-light; transition: background-position .8s var(--ease);
}
.btn:hover::after { background-position: 260% 0; }
.btn > * { position: relative; z-index: 2; }
.btn-sm { padding: .7em 1.2em; font-size: 13px; }
.btn-lg { padding: 1.1em 2em; font-size: 16px; }
.btn-block { width: 100%; }

.btn-green { --glow: 47, 199, 155; background: linear-gradient(180deg, #3fe0b2 0%, #1c9b78 55%, #0e6a50 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 8px rgba(0, 50, 35, .45), 0 8px 22px rgba(28, 155, 120, .45), 0 0 26px rgba(var(--glow), .4); }
.btn-green:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -3px 8px rgba(0, 50, 35, .45), 0 14px 34px rgba(28, 155, 120, .6), 0 0 48px rgba(var(--glow), .75); }
.btn-ghost { --glow: 213, 217, 220; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(213, 217, 220, .45); backdrop-filter: blur(6px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0); animation: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; box-shadow: 0 0 30px rgba(213, 217, 220, .35); }

@keyframes btnPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 8px rgba(80, 0, 0, .4), 0 8px 22px rgba(225, 38, 46, .4), 0 0 20px rgba(var(--glow), .30); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 8px rgba(80, 0, 0, .4), 0 8px 26px rgba(225, 38, 46, .55), 0 0 40px rgba(var(--glow), .6); }
}

/* языки пламени (создаются скриптом) */
.btn-fire { overflow: visible; }
.flames { position: absolute; left: 6%; right: 6%; bottom: calc(100% - 10px); height: 0; z-index: 0; pointer-events: none; }
.flames i {
  position: absolute; bottom: 0; width: 26px; height: 40px; margin-left: -13px;
  border-radius: 50% 50% 46% 46% / 72% 72% 28% 28%;
  background: radial-gradient(ellipse at 50% 85%, var(--fire-1) 0, var(--fire-2) 32%, #ff5a1f 62%, rgba(225, 38, 46, 0) 100%);
  filter: blur(2.2px); transform-origin: 50% 100%; opacity: .0; transform: scale(.4);
  animation: flame 1.15s ease-in-out infinite;
}
.flames i:nth-child(1) { left: 6%;  animation-delay: -.1s; animation-duration: 1.0s; }
.flames i:nth-child(2) { left: 22%; animation-delay: -.5s; animation-duration: 1.3s; }
.flames i:nth-child(3) { left: 38%; animation-delay: -.3s; animation-duration: .9s; }
.flames i:nth-child(4) { left: 54%; animation-delay: -.8s; animation-duration: 1.2s; }
.flames i:nth-child(5) { left: 70%; animation-delay: -.2s; animation-duration: 1.05s; }
.flames i:nth-child(6) { left: 86%; animation-delay: -.6s; animation-duration: 1.25s; }
.btn-fire:hover .flames i, .btn-fire:focus-visible .flames i { opacity: .95; }
.btn-fire .flames i { opacity: .38; }
.btn-fire:hover .flames i { height: 56px; width: 32px; margin-left: -16px; }
@keyframes flame {
  0%   { transform: scale(.55, .5) translateY(0) skewX(0); }
  25%  { transform: scale(.9, 1.0) translateY(-6px) skewX(5deg); }
  50%  { transform: scale(.7, .8) translateY(-2px) skewX(-6deg); }
  75%  { transform: scale(1, 1.15) translateY(-9px) skewX(4deg); }
  100% { transform: scale(.55, .5) translateY(0) skewX(0); }
}
.spark { position: fixed; z-index: 400; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fff7c4, #ffb42b 55%, rgba(255, 90, 31, 0)); box-shadow: 0 0 10px 2px rgba(255, 150, 40, .8); animation: sparkFly 0.9s ease-out forwards; }
@keyframes sparkFly { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }

/* ---------- Секции и заголовки ---------- */
.section { position: relative; padding: clamp(40px, 6.5vw, 80px) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.kicker { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--red-2); margin-bottom: 12px; text-shadow: 0 0 18px rgba(255, 90, 60, .55); }
.section-head h2 { font-size: clamp(30px, 5.4vw, 52px); font-weight: 800; text-transform: uppercase; margin-bottom: 18px; text-shadow: 0 4px 24px rgba(0, 0, 0, .45); }
.section-head h2::after { content: ""; display: block; height: 8px; width: 0; margin: 18px auto 0; border-radius: 4px; background: var(--ribbon); transition: width 1.1s var(--ease) .25s; }
.section-head.in h2::after { width: 140px; }
.section-head p { color: var(--muted); font-size: 1.08em; margin: 0; }

.panel {
  position: relative; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ribbon); opacity: .9; }
.panel-pad { padding: clamp(22px, 3.5vw, 40px); }

/* ---------- Появление блоков ---------- */
[data-anim] { opacity: 0; filter: blur(6px); transform: translateY(44px) scale(.97);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s); }
[data-anim="left"]  { transform: translateX(-70px) scale(.97); }
[data-anim="right"] { transform: translateX(70px) scale(.97); }
[data-anim="zoom"]  { transform: scale(.82); }
[data-anim="flip"]  { transform: perspective(900px) rotateX(24deg) translateY(30px); transform-origin: 50% 100%; }
[data-anim].in { opacity: 1; filter: none; transform: none; }
[data-anim].settled { transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s; }
.tilt.in.settled { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out, box-shadow .35s, border-color .35s; }
.lift.in.settled:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(47, 199, 155, .25); border-color: rgba(47, 199, 155, .5); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background: url("/img/camo.svg") center / 560px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .25); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 rgba(255, 90, 60, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(255, 90, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 60, 0); } }
.hero-title { font-size: clamp(54px, 11vw, 124px); font-weight: 900; text-transform: uppercase; margin: 22px 0 12px; line-height: .95; letter-spacing: .01em; }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(40px) rotateX(-70deg); animation: wordIn .9s var(--ease) forwards; background: linear-gradient(100deg, #fff 10%, #d5d9dc 40%, #ffd0b0 55%, #fff 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .w:nth-child(1) { animation-delay: .1s, 0s; }
.hero-title .w:nth-child(2) { animation-delay: .3s, 0s; }
.hero-title .w { animation-name: wordIn, shimmer; animation-duration: .9s, 7s; animation-fill-mode: forwards, none; animation-iteration-count: 1, infinite; animation-timing-function: var(--ease), linear; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: #e3ede6; max-width: 56ch; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px 20px; margin: 30px 0 34px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts li { padding: 10px 16px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); font-size: 15px; color: var(--silver); backdrop-filter: blur(6px); }
.hero-facts b { color: #fff; font-family: var(--font-head); font-size: 1.35em; margin-right: 6px; }

.hero-stage { position: relative; aspect-ratio: 1 / 1.05; display: grid; place-items: center; }
.hero-stage .ring { position: absolute; inset: 6%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(225, 38, 46, .0), rgba(225, 38, 46, .75), rgba(213, 217, 220, .8), rgba(47, 199, 155, .8), rgba(225, 38, 46, 0));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  animation: spin 14s linear infinite; filter: drop-shadow(0 0 14px rgba(47, 199, 155, .7)); }
.hero-stage .ring.r2 { inset: 16%; animation-direction: reverse; animation-duration: 20s; opacity: .7; }
.hero-stage .glow { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(47, 199, 155, .5), rgba(225, 38, 46, .22) 55%, transparent 72%); filter: blur(24px); animation: glowPulse 4.5s ease-in-out infinite; }
.hero-medals { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: clamp(4px, 2vw, 22px); width: 86%; }
.hero-medals img { width: 46%; height: auto; filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(255, 255, 255, .12)); transform-origin: 50% 0; }
.hero-medals .hm1 { animation: swing 6s ease-in-out infinite; margin-top: 8%; }
.hero-medals .hm2 { width: 34.84%; animation: swing 7.3s ease-in-out -3s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glowPulse { 50% { transform: scale(1.18); opacity: .75; } }

/* ---------- Новость дня ---------- */
.news-banner { padding: clamp(10px, 2vw, 24px) 0 clamp(30px, 5vw, 56px); }
.news-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 30px); align-items: start; }
.news-badge { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 20px; font-size: 34px; background: linear-gradient(160deg, #ff7a45, #c3151f); box-shadow: 0 0 30px rgba(255, 90, 60, .55); animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) scale(1.06); } }
.news-card h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.news-meta { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); font-weight: 700; margin-bottom: 8px; }
.news-text { white-space: pre-line; color: #e3ede6; margin-bottom: 14px; }
.link-arrow { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Как помочь ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); counter-reset: none; }
.path { padding: clamp(22px, 2.8vw, 32px); display: flex; flex-direction: column; }
.path-ico { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; font-size: 34px; margin-bottom: 16px; background: linear-gradient(145deg, rgba(47, 199, 155, .35), rgba(47, 199, 155, .08)); border: 1px solid rgba(47, 199, 155, .5); }
.path:nth-child(2) .path-ico { background: linear-gradient(145deg, rgba(154, 154, 92, .45), rgba(154, 154, 92, .1)); border-color: rgba(217, 207, 163, .5); }
.path:nth-child(3) .path-ico { background: linear-gradient(145deg, rgba(225, 38, 46, .45), rgba(225, 38, 46, .1)); border-color: rgba(255, 90, 60, .55); }
.path h3 { font-size: 26px; text-transform: uppercase; }
.path .tag { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; flex: 1; }
.steps li { position: relative; counter-increment: step; padding: 0 0 22px 58px; color: #e3ede6; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 800 20px var(--font-head); color: #fff; background: linear-gradient(160deg, var(--emerald-2), #0e6a50); box-shadow: 0 0 0 4px rgba(47, 199, 155, .18), 0 6px 14px rgba(0, 0, 0, .35); }
.path:nth-child(2) .steps li::before { background: linear-gradient(160deg, #b9b86f, #6c6f3a); box-shadow: 0 0 0 4px rgba(217, 207, 163, .18), 0 6px 14px rgba(0, 0, 0, .35); }
.path:nth-child(3) .steps li::before { background: linear-gradient(160deg, #ff7a45, #b3121c); box-shadow: 0 0 0 4px rgba(255, 90, 60, .2), 0 6px 14px rgba(0, 0, 0, .35); }
.steps li::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 2px; width: 2px; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .05)); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease) calc(var(--i, 0) * .25s + .4s); }
.steps li:last-child::after { display: none; }
.path.in .steps li::after { transform: scaleY(1); }
.steps b { color: #fff; }
.steps a { text-decoration: underline; text-decoration-color: rgba(47, 199, 155, .5); text-underline-offset: 3px; }
.path-foot { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.path-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- Нужные вещи ---------- */
.needs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.need { padding: 24px 22px; text-align: left; }
.need .ico { width: 64px; height: 64px; display: grid; place-items: center; font-size: 34px; border-radius: 18px; margin-bottom: 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s; }
.need:hover .ico { transform: rotate(-8deg) scale(1.15); background: rgba(47, 199, 155, .2); }
.need h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 6px; }
.need p { color: var(--muted); font-size: 15px; margin: 0; }
.needs-cta { text-align: center; margin-top: 36px; }

/* ---------- Сбор ---------- */
.collect { position: relative; }
.collect-card { text-align: center; padding: clamp(28px, 5vw, 56px); border: 1px solid rgba(255, 140, 60, .45);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .45), 0 0 60px rgba(225, 38, 46, .25); }
.collect-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 75%; background: radial-gradient(ellipse at 50% 100%, rgba(255, 110, 40, .30), transparent 70%); pointer-events: none; animation: fireBreath 3.4s ease-in-out infinite; }
@keyframes fireBreath { 0%, 100% { opacity: .55; transform: scaleY(.9); } 50% { opacity: 1; transform: scaleY(1.1); } }
.collect-card > * { position: relative; z-index: 1; }
.collect-label { font: 700 15px var(--font-head); letter-spacing: .3em; text-transform: uppercase; color: var(--fire-2); }
.collect-title { font-size: clamp(28px, 5vw, 50px); font-weight: 800; margin: 12px auto 14px; max-width: 20ch; text-shadow: 0 0 30px rgba(255, 120, 40, .45); }
.collect-desc { color: #e3ede6; max-width: 60ch; margin: 0 auto 26px; }
.progress { max-width: 640px; margin: 0 auto 26px; }
.progress-top { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.progress-bar { height: 22px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); overflow: hidden; padding: 3px; }
.progress-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #e1262e, #ff7a45, #ffd36b); position: relative; transition: width 1.8s var(--ease); box-shadow: 0 0 20px rgba(255, 140, 60, .8); overflow: hidden; }
.progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%) -100% 0 / 50% 100% no-repeat; animation: barShine 2.4s linear infinite; }
@keyframes barShine { to { background-position: 250% 0; } }
.collect-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.collect-empty { color: var(--muted); }

/* ---------- Стольник ---------- */
.stolnik-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(18px, 3vw, 36px); align-items: start; }
.stolnik-grid > div:first-child { position: sticky; top: 100px; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 1 / 1; box-shadow: 0 22px 50px rgba(0, 0, 0, .45); touch-action: pan-y; }
.slides { display: flex; height: 100%; transition: transform .8s var(--ease); }
.slides figure { margin: 0; flex: 0 0 100%; height: 100%; display: grid; place-items: center; background: #061a12; }
.slides img { width: 100%; height: 100%; object-fit: contain; }
.slider-btn { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0, 0, 0, .55); color: #fff; font-size: 22px; backdrop-filter: blur(6px); transition: background .2s, transform .2s; z-index: 2; }
.slider-btn:hover { background: var(--red); transform: scale(1.1); }
.slider-btn.prev { left: 10px; } .slider-btn.next { right: 10px; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dots button { width: 10px; height: 10px; border-radius: 6px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.dots button[aria-current="true"] { width: 28px; background: var(--red-2); }

.tuesday-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-weight: 700; margin-bottom: 18px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.tuesday-badge.today { background: linear-gradient(90deg, #e1262e, #ff7a45); border-color: transparent; color: #fff; box-shadow: 0 0 30px rgba(255, 90, 60, .7); animation: btnPulse 1.8s infinite; }
.pay { padding: clamp(22px, 3vw, 34px); }
.pay h3 { font-size: clamp(24px, 3.2vw, 32px); text-transform: uppercase; }
.pay-amount { display: inline-block; font-family: var(--font-head); font-weight: 900; color: #fff; padding: 0 .35em; border-radius: 10px; background: linear-gradient(160deg, #e1262e, #a30f1a); box-shadow: 0 0 20px rgba(225, 38, 46, .55); }
.pay-body { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin-top: 18px; }
.qr-box { text-align: center; }
.qr-frame { position: relative; width: 190px; padding: 12px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 4px rgba(47, 199, 155, .5), 0 14px 34px rgba(0, 0, 0, .5); transition: transform .4s var(--ease); }
.qr-frame:hover { transform: scale(1.06) rotate(-1.5deg); }
.qr-frame img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; }
.qr-frame::after { content: ""; position: absolute; left: 12px; right: 12px; top: 12px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--red), transparent); box-shadow: 0 0 14px 3px rgba(225, 38, 46, .8); animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 14px; } 50% { top: calc(100% - 17px); } }
.qr-caption { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 190px; margin-inline: auto; }
.phone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 4px; padding: 14px 16px; border-radius: 16px; background: rgba(0, 0, 0, .32); border: 1px dashed rgba(213, 217, 220, .35); }
.phone-num { font: 800 clamp(20px, 3vw, 26px) var(--font-head); letter-spacing: .04em; color: #fff; }
.copy-btn { margin-left: auto; }
.pay-comment { margin: 12px 0 0; font-size: 15px; color: var(--silver); }
.pay-comment b { color: #fff; background: rgba(47, 199, 155, .22); padding: 2px 8px; border-radius: 8px; }

/* ---------- Посылки и счётчик ---------- */
.parcel-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(18px, 3vw, 40px); align-items: center; }
.parcel-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 54px rgba(0, 0, 0, .5); background: #0a1a14; aspect-ratio: 4 / 3; }
.parcel-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.parcel-photo:hover img { transform: scale(1.06); }
.parcel-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font-size: 15px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8)); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.thumbs button { flex: 0 0 auto; width: 84px; height: 64px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .65; background: none; transition: opacity .2s, border-color .2s, transform .2s; scroll-snap-align: start; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: 1; transform: translateY(-3px); }
.thumbs button[aria-current="true"] { border-color: var(--red-2); opacity: 1; }
.parcel-copy h3 { font-size: clamp(24px, 3.4vw, 34px); text-transform: uppercase; }
.parcel-copy ul { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; }
.parcel-copy li { padding-left: 34px; position: relative; color: #e3ede6; }
.parcel-copy li::before { content: "✔"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; background: var(--emerald); color: #fff; box-shadow: 0 0 12px rgba(47, 199, 155, .6); }

.counter-band { position: relative; padding: clamp(36px, 6vw, 70px) 0; }
.counter-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); }
.counter-box { position: relative; width: clamp(110px, 16vw, 170px); aspect-ratio: 1; display: grid; place-items: center; font-size: clamp(60px, 9vw, 96px); }
.counter-box::before, .counter-box::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(47, 199, 155, .5); animation: radar 3s ease-out infinite; }
.counter-box::after { animation-delay: 1.5s; }
@keyframes radar { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.counter-box .parcel-ico { animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .5)); }
@keyframes bob { 50% { transform: translateY(-12px) rotate(4deg); } }
.counter-label { font: 700 15px var(--font-head); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.digits { display: flex; flex-wrap: wrap; gap: clamp(6px, 1vw, 12px); margin: 10px 0 8px; }
.digit { position: relative; width: clamp(48px, 9vw, 92px); height: clamp(66px, 12vw, 124px); display: grid; place-items: center; font: 900 clamp(40px, 8vw, 84px) var(--font-head); border-radius: 14px; color: #fff;
  background: linear-gradient(180deg, #164e3d 0, #0b2f24 50%, #082219 50%, #0e3a2c 100%); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 24px rgba(0, 0, 0, .45), inset 0 0 20px rgba(47, 199, 155, .15); text-shadow: 0 0 22px rgba(47, 199, 155, .8); overflow: hidden; }
.digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(0, 0, 0, .55); }
.counter-sub { color: #e3ede6; margin: 0; font-size: 1.05em; }

/* ---------- Видео, госпиталь, награды (превью) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); align-items: center; }
.video-card { border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 24px 54px rgba(0, 0, 0, .5); position: relative; }
.video-card video { width: 100%; max-height: 72vh; background: #000; }
.video-card .vtitle { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); pointer-events: none; z-index: 1; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.video-grid { align-items: start; }
.video-grid .video-card video { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(12px, 2vw, 22px); }
.photo { position: relative; display: block; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0a1a14; cursor: zoom-in; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .9s var(--ease), filter .5s; }
.photo.tall img { aspect-ratio: 3 / 4; }
.photo.sq img { aspect-ratio: 1; }
.photo.contain img { object-fit: contain; background: #0d1f18; }
.photo:hover img { transform: scale(1.08); filter: brightness(1.08) saturate(1.1); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%) -150% 0 / 60% 100% no-repeat; transition: background-position .9s var(--ease); pointer-events: none; }
.photo:hover::after { background-position: 250% 0; }
.photo figcaption { color: #fff; position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px; font-size: 14px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82)); transform: translateY(60%); opacity: 0; transition: transform .45s var(--ease), opacity .45s; }
.photo:hover figcaption, .photo:focus-visible figcaption { transform: none; opacity: 1; }
@media (hover: none) { .photo figcaption { transform: none; opacity: 1; } }

.photo-grid.masonry { display: block; column-count: 3; column-gap: clamp(12px, 2vw, 22px); }
.photo-grid.masonry .photo { margin: 0 0 clamp(12px, 2vw, 22px); break-inside: avoid; }
.photo-grid.masonry .photo img { aspect-ratio: auto; height: auto; }
@media (max-width: 900px) { .photo-grid.masonry { column-count: 2; } }
@media (max-width: 520px) { .photo-grid.masonry { column-count: 1; } }

.patches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: clamp(14px, 2vw, 26px); }
.patch { display: block; background: none; border: 0; padding: 0; cursor: zoom-in; border-radius: 50%; transition: transform .5s var(--ease), filter .4s; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }
.patch:hover { transform: rotate(-6deg) scale(1.1); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .65)) drop-shadow(0 0 22px rgba(47, 199, 155, .5)); }
.patch img { width: 100%; height: auto; aspect-ratio: 1; }

.help-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.help-card { padding: 26px 24px; }
.help-card .ico { font-size: 38px; margin-bottom: 10px; }
.help-card h3 { font-size: 22px; text-transform: uppercase; }
.help-card p { color: var(--muted); margin: 0; font-size: 15.5px; }

.page-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(10px, 2vw, 24px); text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(36px, 7vw, 74px); text-transform: uppercase; font-weight: 900; text-shadow: 0 4px 30px rgba(0, 0, 0, .55); }
.page-hero p { color: #e3ede6; max-width: 62ch; margin: 0 auto; font-size: 1.1em; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--silver); }

/* ---------- Мессенджеры ---------- */
.msg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.6vw, 30px); max-width: 920px; margin-inline: auto; }
.msg { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: clamp(20px, 3vw, 30px); }
.msg .qr-frame { width: 150px; padding: 9px; }
.msg h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 6px; }
.msg p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(47, 199, 155, .55); box-shadow: 0 0 34px rgba(47, 199, 155, .15); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 1.05em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; background: rgba(255, 255, 255, .1); transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--red); }
.faq .ans { padding: 0 22px 20px; color: #e3ede6; animation: ansIn .5s var(--ease); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Контакты ---------- */
.contacts-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(18px, 3vw, 40px); align-items: center; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-bottom: 24px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .ci { flex: 0 0 52px; height: 52px; display: grid; place-items: center; font-size: 24px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.contact-list small { display: block; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.contact-list strong { font: 800 clamp(20px, 3vw, 28px) var(--font-head); }
.contacts-art { text-align: center; }
.contacts-art img { width: 70%; margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: bob 5s ease-in-out infinite; }

/* ---------- Подвал ---------- */
.site-footer { position: relative; margin-top: 40px; padding: 56px 0 30px; background: linear-gradient(180deg, rgba(2, 12, 8, .0), rgba(2, 12, 8, .85) 30%); border-top: 0; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--ribbon); background-size: 40% 100%; animation: ribbonSlide 10s linear infinite; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--silver); }
.footer-grid a:hover { color: #fff; }
.footer-brand { font: 900 34px var(--font-head); text-transform: uppercase; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; }

.fab-call { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; display: none; place-items: center; font-size: 28px; color: #fff; background: linear-gradient(180deg, #3fe0b2, #1c9b78 60%, #0e6a50); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 0 rgba(47, 199, 155, .7); animation: fabPing 2.2s infinite; }
.fab-call:hover { color: #fff; }
@keyframes fabPing { 70% { box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 20px rgba(47, 199, 155, 0); } 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 0 rgba(47, 199, 155, 0); } }
.to-top { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(3, 20, 14, .8); color: #fff; font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; backdrop-filter: blur(8px); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); background: var(--red); }

/* ---------- Лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; background: rgba(2, 10, 7, .92); backdrop-filter: blur(8px); padding: 20px; }
.lightbox.open { display: grid; animation: fadeIn .3s; }
.lightbox img { max-width: min(96vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); animation: zoomIn .45s var(--ease); object-fit: contain; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--silver); padding: 0 70px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .1); color: #fff; font-size: 24px; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox button:hover { background: var(--red); transform: scale(1.1); }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 14px; top: 50%; translate: 0 -50%; } .lb-next { right: 14px; top: 50%; translate: 0 -50%; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.85); } }

.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 40px; z-index: 600; padding: 12px 22px; border-radius: 999px; background: #0e6a50; color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s, translate .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; translate: -50% 0; }

.skeleton { min-height: 120px; border-radius: var(--radius); background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .12) 50%, rgba(255, 255, 255, .04) 70%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -300% 0; } }
.empty { text-align: center; color: var(--muted); padding: 30px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1060px) {
  .nav a { padding: 10px 8px; font-size: 14px; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .site-header .btn-sm { display: none; }
  .nav { position: fixed; left: 0; right: 0; top: 76px; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 20px; background: rgba(3, 20, 14, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); max-height: calc(100vh - 76px); overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 10px; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav a::after { display: none; }
  .paths { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-cta, .hero-facts { justify-content: center; }
  .hero-stage { max-width: 440px; margin-inline: auto; width: 100%; order: -1; aspect-ratio: 1 / .9; }
  .stolnik-grid, .parcel-grid, .split, .contacts-card { grid-template-columns: 1fr; }
  .stolnik-grid > div:first-child { position: static; }
  .slider { max-width: 560px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fab-call { display: grid; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .msg-grid { grid-template-columns: 1fr; }
  .brand-medal { height: 52px; }
  .brand-sub { display: none; }
  .header-in { gap: 10px; min-height: 68px; }
  .nav { top: 68px; max-height: calc(100vh - 68px); }
  .pay-body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .counter-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .digits { justify-content: center; }
  .news-card { grid-template-columns: 1fr; }
  .news-badge { width: 60px; height: 60px; font-size: 28px; }
  .hero-cta .btn { width: 100%; }
  .msg { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .copy-btn { margin-left: 0; width: 100%; }
  .collect-actions .btn { width: 100%; }
  .hero-hide-sm { display: none; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 22px; }
  .brand-medal { height: 44px; }
  .brand { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  [data-anim] { opacity: 1; filter: none; transform: none; }
  .hero-title .w { opacity: 1; transform: none; }
}

[hidden] { display: none !important; }
