/* iDFroz — лендинг (черновик v2). Только собственная графика: CSS + SVG. */

:root {
  --teal: #0E7060;
  --teal-d: #094C41;
  --teal-dd: #052e27;
  --teal-night: #03201b;
  --mint: #E2F3F0;
  --ice: #3DDC97;
  --cyan: #22C7D6;
  --cream: #F9FAF8;
  --ink: #192A27;
  --grey: #5f706c;
  --line: rgba(25, 42, 39, .10);
  --gold: #E3C27A;
  --orange: #E67E22;
  --orange-bg: #FEF3E8;
  --red: #E74C3C;
  --red-bg: #FDE8E7;
  --green: #27AE60;
  --green-bg: #E8F8F0;
  --radius: 22px;
  --shadow: 0 18px 50px -20px rgba(9, 76, 65, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Морозный узор: редкие снежинки-кристаллы */
  --frost: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round' fill='none'%3E%3Cg transform='translate(36 40)'%3E%3Cpath d='M0-12V12M-10.4-6 10.4 6M-10.4 6 10.4-6M0-7l-3-3M0-7l3-3M0 7l-3 3M0 7l3 3'/%3E%3C/g%3E%3Cg transform='translate(118 112) scale(.7)'%3E%3Cpath d='M0-12V12M-10.4-6 10.4 6M-10.4 6 10.4-6M0-7l-3-3M0-7l3-3M0 7l-3 3M0 7l3 3'/%3E%3C/g%3E%3Cpath d='M100 20l8 8M108 20l-8 8M20 130h10M25 125v10' opacity='.6'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55;
  color: var(--ink); background: var(--cream); overflow-x: hidden;
}
/* Ледяная подложка всего сайта — чтобы «морозное стекло» было видно */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 30vmax at 8% 18%, rgba(34, 199, 214, .13), transparent 70%),
    radial-gradient(40vmax 34vmax at 95% 55%, rgba(61, 220, 151, .13), transparent 70%),
    radial-gradient(50vmax 30vmax at 40% 100%, rgba(14, 112, 96, .10), transparent 70%),
    var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 44px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
p { margin: 0 0 1em; }
.section { padding: clamp(56px, 8vw, 110px) 16px; max-width: 1180px; margin: 0 auto; }
section[id] { scroll-margin-top: 72px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 64px); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--teal); margin-bottom: .6em; }
.kicker.light { color: var(--gold); }
.sub { color: var(--grey); font-size: 19px; }
.bw { text-transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
mark.todo {
  display: inline-block; background: var(--orange-bg); color: #a3520b;
  border: 1px dashed var(--orange); border-radius: 8px; padding: 0 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.7;
}

/* Морозное стекло */
.glass {
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,255,255,.48));
  border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
          backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 14px 40px -20px rgba(9, 76, 65, .35), inset 0 1px 0 rgba(255,255,255,.95);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 24px -10px rgba(14,112,96,.8); }
.btn-gold { background: linear-gradient(180deg, #f3d995, var(--gold) 55%, #cfa956); color: #2b2210; box-shadow: 0 10px 30px -10px rgba(227, 194, 122, .8); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Шапка: морозное стекло ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(14px) saturate(160%);
          backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background .3s, color .3s;
}
.topbar::before { /* иней по краям шапки */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--frost) 0 -40px / 160px 160px repeat-x;
  opacity: .22;
  -webkit-mask: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
          mask: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
}
.topbar::after { /* ледяная кромка */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(34,199,214,.7), rgba(61,220,151,.8), transparent);
}
.topbar.scrolled { background: linear-gradient(180deg, rgba(246,252,251,.86), rgba(236,248,246,.72)); color: var(--ink); }
.topbar.scrolled::before { filter: invert(55%) sepia(30%) hue-rotate(120deg); opacity: .35; }
.brand { position: relative; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 0 18px rgba(61,220,151,.35); }
.topnav { position: relative; display: flex; gap: 22px; margin-left: auto; }
.topnav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .85; }
.topnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.topbar .btn { position: relative; }
@media (max-width: 820px) {
  .topnav { display: none; }
  .topbar .btn { margin-left: auto; }
}

/* =========================================================
   ПЕРВЫЙ ЭКРАН: хай-тек холодильник
   ========================================================= */
.hero {
  position: relative; overflow: hidden; color: #fff; min-height: 100svh;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(34, 199, 214, .20), transparent 70%),
    linear-gradient(180deg, var(--teal-night) 0%, #063a32 55%, #021512 100%);
  padding: 88px 16px 56px;
}
.hall { position: absolute; inset: 0; pointer-events: none; }
.aurora { position: absolute; width: 60vmax; height: 40vmax; border-radius: 50%; filter: blur(70px); opacity: .45; }
.a1 { left: -20vmax; top: -10vmax; background: radial-gradient(circle, rgba(61,220,151,.55), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.a2 { right: -20vmax; top: 10vmax; background: radial-gradient(circle, rgba(34,199,214,.5), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
.hall-rays {
  position: absolute; left: 50%; top: 40%; width: 220vmax; height: 220vmax;
  transform: translate(-50%, -50%) scale(.6);
  background: repeating-conic-gradient(from 0deg, rgba(220, 255, 250, .09) 0deg 4deg, transparent 4deg 14deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 38%);
          mask: radial-gradient(circle, #000 0%, transparent 38%);
  opacity: 0; transition: opacity 1.4s ease .9s, transform 6s ease-out .9s;
}
.hero.is-open .hall-rays { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: rays-spin 80s linear infinite; }
@keyframes rays-spin { to { rotate: 360deg; } }
.hall-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 44%;
  background:
    repeating-linear-gradient(90deg, rgba(61, 220, 151, .13) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, rgba(34, 199, 214, .13) 0 1px, transparent 1px 110px);
  transform: perspective(600px) rotateX(62deg); transform-origin: 50% 0;
  -webkit-mask: linear-gradient(180deg, transparent, #000 40%);
          mask: linear-gradient(180deg, transparent, #000 40%);
}
.snow { position: absolute; inset: 0; }
.flake { position: absolute; top: -10px; border-radius: 50%; background: #fff; opacity: .7; animation: fall linear infinite; }
@keyframes fall { to { transform: translate(var(--sx), 105vh); } }

.hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; display: grid; justify-items: center; text-align: center; }
.eyebrow { letter-spacing: .22em; font-size: 14px; font-weight: 700; color: var(--ice); margin: 0 0 26px; text-shadow: 0 0 16px rgba(61,220,151,.5); }

/* Корпус */
.unit {
  --w: clamp(230px, min(36vw, 38svh), 380px);
  position: relative; width: var(--w); aspect-ratio: 1 / 1.5;
  perspective: 1500px; perspective-origin: 50% 35%;
}
.shell {
  position: absolute; inset: 0; border-radius: calc(var(--w) * .07);
  background: linear-gradient(180deg, #dfe9e7, #a9bcb8 70%, #93a8a4);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.7), inset 0 -8px 20px rgba(0,0,0,.18),
    0 40px 80px -20px rgba(0,0,0,.75), 0 0 80px rgba(61, 220, 151, .16);
}
.led-strip { position: absolute; left: 30%; right: 30%; top: 2.3%; height: 3px; border-radius: 3px; background: var(--ice); box-shadow: 0 0 10px 2px rgba(61,220,151,.7); }
.cavity { position: absolute; left: 4.5%; right: 4.5%; top: 5.5%; height: 61%; transform-style: preserve-3d; }
.freezer {
  position: absolute; left: 4.5%; right: 4.5%; top: 68.5%; bottom: 4%; overflow: hidden;
  border-radius: 4px 4px calc(var(--w) * .045) calc(var(--w) * .045);
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5) 42%, transparent 54%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,.025) 1px 3px),
    linear-gradient(180deg, #eef6f5, #cfdcda);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 2px 6px rgba(0,0,0,.2);
}
.slot { position: absolute; left: 18%; right: 18%; top: 14%; height: 9%; border-radius: 99px; background: linear-gradient(180deg, #5c726e, #98aca8); box-shadow: inset 0 2px 4px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.8); }
.fz-label { position: absolute; right: 8%; bottom: 10%; font-size: calc(var(--w) * .045); font-weight: 700; color: var(--teal); letter-spacing: .04em; }
.frost {
  position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none;
  background: var(--frost) center bottom / 90px 90px, radial-gradient(ellipse at 50% 130%, rgba(255,255,255,.95), rgba(220,245,245,.4) 45%, transparent 70%);
  filter: drop-shadow(0 0 1px rgba(120,190,200,.6));
  opacity: .9;
}
.floor-shadow { position: absolute; left: 6%; right: 6%; bottom: -5%; height: 6%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%); z-index: -1; }

/* Внутри камеры */
.behind {
  position: absolute; inset: 0; overflow: hidden; border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #eaf7f5 55%, #d2ebe7 100%);
  box-shadow: inset 0 0 0 calc(var(--w) * .012) #f4fafa, inset 0 12px 30px rgba(14, 112, 96, .25);
}
.led-top { position: absolute; left: 10%; right: 10%; top: 2%; height: 4px; border-radius: 4px; background: #fff; box-shadow: 0 0 16px 6px rgba(200, 255, 245, .95); }
.glow {
  position: absolute; inset: -30%;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.9), rgba(200, 255, 245, .35) 35%, transparent 60%);
  opacity: 0; transition: opacity 1.2s ease .7s;
}
.fridge {
  position: absolute; inset: 9% 7% 5%;
  display: flex; flex-direction: column; justify-content: space-evenly;
  opacity: .25; transform: scale(.94);
  transition: opacity 1s ease 1s, transform 1.4s ease 1s;
}
.shelf {
  display: flex; justify-content: space-around; align-items: flex-end;
  border-bottom: 3px solid rgba(120, 205, 195, .55);
  box-shadow: 0 2px 0 rgba(255,255,255,.9);
  padding-bottom: 3px; font-size: calc(var(--w) * .075); line-height: 1;
}
.shelf.drawer { background: rgba(34,199,214,.10); border: 1px solid rgba(34,199,214,.3); border-radius: 8px; box-shadow: none; padding: 5px 0; }
.shelf span { display: inline-block; opacity: 0; transform: translateY(12px) scale(.4); transition: opacity .5s ease, transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.mist {
  position: absolute; left: -20%; right: -20%; bottom: -12%; height: 40%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(235, 255, 252, .85), rgba(235,255,252,.25) 45%, transparent 70%);
  filter: blur(8px); opacity: 0; z-index: 4;
}
.sparks { position: absolute; inset: 0; pointer-events: none; }
.spark {
  position: absolute; left: 50%; top: 40%; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 2px rgba(200, 255, 245, .9);
  animation: spark 1.8s ease-out forwards;
}
@keyframes spark {
  0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1); opacity: 0; }
}

/* Двери */
.door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  transform-style: preserve-3d;
  transition: transform 1.7s cubic-bezier(.65, 0, .2, 1) .5s, filter 1.7s ease .5s;
  will-change: transform; z-index: 3;
}
.door-l { left: 0; transform-origin: 0 50%; transform: rotateY(-82deg); }
.door-r { right: 0; transform-origin: 100% 50%; transform: rotateY(82deg); }
.door-face {
  position: absolute; inset: 0; overflow: hidden;
  background:
    linear-gradient(115deg, transparent 28%, rgba(255,255,255,.6) 40%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,.025) 1px 3px),
    linear-gradient(180deg, #f3f9f8 0%, #dbe7e5 55%, #c4d4d1 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), inset 0 -24px 30px rgba(14,112,96,.08);
}
.door-l .door-face { border-radius: calc(var(--w) * .045) 3px 3px 4px; }
.door-r .door-face { border-radius: 3px calc(var(--w) * .045) 4px 3px; }
.handle { position: absolute; top: 16%; height: 58%; width: 5%; border-radius: 99px; background: linear-gradient(90deg, #6d8682, #f1f7f6 45%, #8aa19d); box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.door-l .handle { right: 7%; }
.door-r .handle { left: 7%; }
.display {
  position: absolute; left: 14%; top: 12%; width: 50%; padding: 6% 6% 5%;
  border-radius: calc(var(--w) * .025);
  background: linear-gradient(160deg, #10231f, #071512);
  box-shadow: inset 0 0 0 1px rgba(61,220,151,.35), 0 4px 12px rgba(0,0,0,.25);
  display: grid; grid-template-columns: 1fr auto; align-items: center; font-style: normal;
}
.display b { font-size: calc(var(--w) * .07); color: var(--ice); text-shadow: 0 0 10px rgba(61,220,151,.8); line-height: 1; }
.display small { grid-column: 1; font-size: calc(var(--w) * .035); color: var(--cyan); font-weight: 700; }
.display img { grid-row: 1 / 3; grid-column: 2; width: calc(var(--w) * .07); border-radius: 4px; }
.seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, #eafffb 20%, #fff 50%, #eafffb 80%, transparent);
  box-shadow: 0 0 16px 5px rgba(160, 255, 235, .75);
  opacity: 0; pointer-events: none; z-index: 4;
}

/* Телефон, который выезжает */
.hero-phone {
  position: absolute; left: 70%; bottom: 3%; z-index: 6;
  transform: translate(-50%, 40%); opacity: 0;
  transition: transform 1.1s cubic-bezier(.2, .9, .2, 1) 1.7s, opacity .6s ease 1.7s;
}
.hero-phone .phone { --pw: calc(var(--w) * .42); }
.pop {
  position: absolute; white-space: nowrap; font-size: clamp(11px, 1.2vw, 13px);
  background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 6px 12px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.35);
  opacity: 0; transform: scale(.6); transition: opacity .4s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.pop b { color: var(--orange); }
.pop-2 b { color: var(--teal); }
.pop-1 { right: 78%; top: 14%; transition-delay: 2.5s; }
.pop-2 { right: 74%; top: 50%; transition-delay: 2.9s; }

/* Открытое состояние — по умолчанию (без JS двери просто открыты) */
.unit .glow { opacity: 1; }
.unit .fridge { opacity: 1; transform: none; }
.unit .shelf span { opacity: 1; transform: none; }
.unit .hero-phone { opacity: 1; transform: translate(-50%, 0) rotate(5deg); }
.unit .pop { opacity: 1; transform: none; }
.unit.is-open .door { filter: brightness(.8); }
.js .unit.is-open .mist { animation: mist 3.4s ease-out 1s both; }
@keyframes mist { 0% { opacity: 0; transform: scale(.4) translateY(-20%); } 30% { opacity: .9; } 100% { opacity: 0; transform: scale(1.5) translateY(25%); } }

/* Закрытое состояние — пока JS не скомандует «открыть» */
.js .unit:not(.is-open) .door { transform: rotateY(0); transition-delay: 0s; transition-duration: .9s; }
.js .unit:not(.is-open) .glow { opacity: 0; transition-delay: 0s; }
.js .unit:not(.is-open) .fridge { opacity: .2; transform: scale(.94); transition-delay: 0s; }
.js .unit:not(.is-open) .shelf span { opacity: 0; transform: translateY(12px) scale(.4); transition-delay: 0s !important; }
.js .unit:not(.is-open) .hero-phone { opacity: 0; transform: translate(-50%, 40%); transition-delay: 0s; }
.js .unit:not(.is-open) .pop { opacity: 0; transform: scale(.6); transition-delay: 0s; }
.js .unit.is-ready:not(.is-open) .seam { animation: seam-glow 1.2s ease-in-out infinite alternate; }
.js .unit.is-open .seam { animation: seam-flash .9s ease-out; }
@keyframes seam-glow { from { opacity: .25; } to { opacity: 1; } }
@keyframes seam-flash { 0% { opacity: 1; width: 2px; } 40% { opacity: 1; width: 40px; } 100% { opacity: 0; width: 80px; } }

.hero-copy { margin-top: clamp(40px, 6vw, 60px); max-width: 760px; }
.hero h1 { font-size: clamp(34px, 6vw, 66px); font-weight: 800; margin-bottom: .35em; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.lead { font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.replay { margin-top: 22px; background: none; border: 0; color: rgba(255,255,255,.6); font: inherit; font-size: 14px; cursor: pointer; padding: 8px 12px; border-radius: 8px; }
.replay:hover { color: var(--ice); }
.js .hero-copy > * { animation: rise .9s ease both; }
.js .hero-copy > :nth-child(2) { animation-delay: .15s; }
.js .hero-copy > :nth-child(3) { animation-delay: .3s; }
.js .hero-copy > :nth-child(4) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Полоса доверия ---------- */
.trust { position: relative; background: linear-gradient(90deg, var(--teal-d), var(--teal) 50%, var(--teal-d)); color: #fff; padding: 22px 16px; overflow: hidden; }
.trust::before { content: ""; position: absolute; inset: 0; background: var(--frost) 0 0 / 160px 160px; opacity: .14; }
.trust ul { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: grid; text-align: center; }
.trust b { font-size: 18px; }
.trust span { font-size: 14px; opacity: .8; }
@media (max-width: 760px) { .trust ul { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } }

/* ---------- 3 шага ---------- */
.steps h2 { text-align: center; margin-bottom: 48px; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps-list li { border-radius: var(--radius); padding: 28px; }
.steps-list h3 { font-size: 22px; }
.steps-list p { color: var(--grey); margin: 0; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(145deg, var(--mint), #c9ece6); color: var(--teal); font-weight: 800; font-size: 20px; margin-bottom: 16px; box-shadow: inset 0 1px 0 #fff; }
@media (max-width: 860px) { .steps-list { grid-template-columns: 1fr; } }

/* =========================================================
   О ПРИЛОЖЕНИИ
   ========================================================= */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 80px);
  padding: clamp(36px, 6vw, 72px) 0; border-top: 1px solid var(--line);
}
.feature.flip .f-text { order: 2; }
.tag { display: inline-block; background: rgba(226,243,240,.85); border: 1px solid #fff; color: var(--teal-d); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.f-text p { color: var(--grey); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; font-size: 13px; }
.f-visual { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .f-text { order: 0; }
}

/* ---------- Единый «флагманский» телефон ---------- */
.phone {
  --pw: clamp(260px, 76vw, 310px);
  position: relative; width: var(--pw); font-size: calc(var(--pw) / 22);
  padding: calc(var(--pw) * .022); border-radius: calc(var(--pw) * .16);
  background: linear-gradient(145deg, #55625f, #1a2422 30%, #0e1514 70%, #3c4846);
  box-shadow: 0 40px 70px -30px rgba(9, 50, 44, .7), inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 1px rgba(0,0,0,.4);
}
.phone::before, .phone::after { /* боковые кнопки */
  content: ""; position: absolute; right: -2px; width: 3px; border-radius: 2px; background: #2c3735;
}
.phone::before { top: 22%; height: 9%; }
.phone::after { top: 34%; height: 14%; }
.screen {
  position: relative; overflow: hidden; aspect-ratio: 9 / 17;
  border-radius: calc(var(--pw) * .14); background: var(--cream);
  display: flex; flex-direction: column;
}
.screen > img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }
.sbar {
  flex: 0 0 2.1em; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.6em; font-size: .8em; font-weight: 700; color: var(--ink); background: var(--cream);
  position: relative;
}
.sbar.light { background: #f2efdc; }
.sbar::after { /* фронтальная камера */
  content: ""; position: absolute; left: 50%; top: 50%; width: .9em; height: .9em; transform: translate(-50%, -50%);
  border-radius: 50%; background: #0b0f0f; box-shadow: inset 0 0 0 .15em #222b2a;
}
.sbar i { width: 2.6em; height: .9em; position: relative;
  background:
    linear-gradient(var(--ink), var(--ink)) right center / 1.5em .8em no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / .2em .35em no-repeat,
    linear-gradient(var(--ink), var(--ink)) .3em 100% / .2em .55em no-repeat,
    linear-gradient(var(--ink), var(--ink)) .6em 100% / .2em .75em no-repeat;
  border-radius: 2px;
}

/* --- 1. QR --- */
.ui-qr { background: var(--cream); }
.ui-cam { position: relative; flex: 0 0 50%; background: #1d2a28; display: grid; place-items: center; overflow: hidden; }
.receipt {
  width: 60%; background: #fff; padding: .7em .7em .9em; border-radius: 2px; box-shadow: 0 6px 18px rgba(0,0,0,.4);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 6px) no-repeat, radial-gradient(circle 4px at 50% 100%, transparent 98%, #000) bottom / 10px 6px repeat-x;
          mask: linear-gradient(#000, #000) top / 100% calc(100% - 6px) no-repeat, radial-gradient(circle 4px at 50% 100%, transparent 98%, #000) bottom / 10px 6px repeat-x;
}
.r-head { font-size: .55em; font-weight: 800; text-align: center; letter-spacing: .08em; color: #333; margin-bottom: .5em; }
.r-line { height: .3em; background: #d4dad8; border-radius: 2px; margin-bottom: .35em; }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.qr { width: 66%; margin: .6em auto 0; aspect-ratio: 1; display: grid; grid-template-columns: repeat(21, 1fr); }
.qr i { background: #111; }
.qr i.o { background: transparent; }
.laser { position: absolute; left: 10%; right: 10%; height: 2px; background: #ff5a4a; box-shadow: 0 0 12px 3px rgba(255, 90, 74, .7); top: 20%; }
.cam-corners { position: absolute; inset: 12% 14%; --c: rgba(255,255,255,.85);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 22px 3px, linear-gradient(var(--c), var(--c)) 0 0 / 3px 22px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 22px 3px, linear-gradient(var(--c), var(--c)) 100% 0 / 3px 22px,
    linear-gradient(var(--c), var(--c)) 0 100% / 22px 3px, linear-gradient(var(--c), var(--c)) 0 100% / 3px 22px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 22px 3px, linear-gradient(var(--c), var(--c)) 100% 100% / 3px 22px;
  background-repeat: no-repeat;
}
.ui-list { list-style: none; margin: 0; padding: .8em; display: grid; gap: .55em; align-content: start; }
.ui-list li { display: flex; align-items: center; gap: .6em; background: #fff; border-radius: .9em; padding: .6em .7em; font-size: .9em; box-shadow: 0 2px 6px rgba(0,0,0,.06); opacity: 0; }
.ui-list i { font-style: normal; font-size: 1.25em; }
.ui-list b { flex: 1; font-weight: 600; }
.ui-list em { font-style: normal; font-size: .8em; font-weight: 700; padding: .15em .6em; border-radius: 999px; }
em.ok { background: var(--green-bg); color: var(--green); }
em.warn { background: var(--orange-bg); color: var(--orange); }
.in .laser { animation: laser 2.6s ease-in-out infinite; }
.in .ui-list li { animation: list-in 6s ease infinite; }
.in .ui-list li:nth-child(2) { animation-delay: .25s; }
.in .ui-list li:nth-child(3) { animation-delay: .5s; }
.in .ui-list li:nth-child(4) { animation-delay: .75s; }
@keyframes laser { 0%, 100% { top: 18%; } 50% { top: 80%; } }
@keyframes list-in {
  0%, 8% { opacity: 0; transform: translateX(-16px); }
  16%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

/* --- 2. PDF / фото --- */
.share-scene { position: relative; width: min(420px, 100%); height: 320px; }
.doc { position: absolute; left: 4%; width: 110px; height: 140px; background: rgba(255,255,255,.9); border: 1px solid #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 14px 12px; display: grid; align-content: start; gap: 8px; }
.doc b { font-size: 13px; color: #fff; background: var(--red); border-radius: 6px; padding: 2px 8px; justify-self: start; }
.doc-photo b { background: #3B82F6; }
.doc span { height: 6px; border-radius: 3px; background: #e2e8e6; }
.doc span:nth-child(3) { width: 70%; } .doc span:nth-child(4) { width: 85%; }
.doc-pdf { top: 8%; rotate: -8deg; }
.doc-photo { top: 46%; rotate: 6deg; }
.share-arrow { position: absolute; left: 47%; top: 42%; font-size: 40px; color: var(--teal); font-weight: 800; }
.app-badge { position: absolute; right: 4%; top: 30%; display: grid; justify-items: center; gap: 8px; font-weight: 700; }
.app-badge img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5), 0 0 30px rgba(61,220,151,.3); }
.share-result { position: absolute; right: 0; bottom: 4%; background: var(--teal); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 15px; opacity: 0; }
.in .doc-pdf { animation: fly 4.5s ease-in-out infinite; }
.in .doc-photo { animation: fly 4.5s ease-in-out infinite 2.25s; }
.in .share-arrow { animation: nudge 1.2s ease-in-out infinite; }
.in .app-badge img { animation: gulp 2.25s ease-in-out infinite; }
.in .share-result { animation: pop-loop 2.25s ease infinite; }
@keyframes fly {
  0%, 10% { transform: none; opacity: 1; }
  45% { transform: translate(210px, 20px) scale(.35) rotate(10deg); opacity: 0; }
  46%, 60% { transform: none; opacity: 0; }
  75%, 100% { transform: none; opacity: 1; }
}
@keyframes nudge { 50% { transform: translateX(8px); } }
@keyframes gulp { 0%, 35%, 100% { transform: none; } 45% { transform: scale(1.12); } 55% { transform: scale(.96); } }
@keyframes pop-loop { 0%, 40% { opacity: 0; transform: translateY(10px); } 50%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 480px) {
  .share-scene { height: 300px; }
  .doc { width: 92px; height: 118px; }
  .app-badge img { width: 76px; height: 76px; }
  @keyframes fly {
    0%, 10% { transform: none; opacity: 1; }
    45% { transform: translate(150px, 20px) scale(.35) rotate(10deg); opacity: 0; }
    46%, 60% { transform: none; opacity: 0; }
    75%, 100% { transform: none; opacity: 1; }
  }
}

/* --- 3. Штрихкод --- */
.barcode-scene { display: grid; justify-items: center; gap: 22px; }
.pack {
  position: relative; width: 220px; height: 260px; border-radius: 26px 26px 18px 18px;
  background: linear-gradient(160deg, #ffd9e2, #ff9fb4 70%, #f77f9a);
  box-shadow: var(--shadow); display: grid; align-content: space-between; justify-items: center; padding: 28px 18px 18px; overflow: hidden;
}
.pack::before { content: "🍓"; position: absolute; right: 14px; top: 14px; font-size: 34px; }
.pack-label { font-weight: 800; font-size: 22px; color: #7a1631; text-align: center; line-height: 1.1; }
.barcode { background: #fff; padding: 10px 12px 6px; border-radius: 8px; width: 82%; }
.bars { height: 54px;
  background: repeating-linear-gradient(90deg,
    #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px,
    #111 12px 13px, transparent 13px 16px, #111 16px 18px, transparent 18px 19px, #111 19px 22px, transparent 22px 24px);
}
.digits { font-size: 11px; letter-spacing: .06em; white-space: nowrap; text-align: center; margin-top: 3px; font-family: ui-monospace, Consolas, monospace; }
.beam { position: absolute; left: 0; right: 0; bottom: 30px; height: 70px; background: linear-gradient(180deg, transparent, rgba(255, 60, 60, .25) 48%, #ff3b3b 50%, rgba(255, 60, 60, .25) 52%, transparent); opacity: 0; }
.found { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; border-radius: 16px; padding: 12px 18px; opacity: 0; }
.found i { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.found small { color: var(--grey); }
.in .beam { animation: beam 3.6s ease-in-out infinite; }
.in .found { animation: found 3.6s ease infinite; }
@keyframes beam { 0% { opacity: 0; transform: translateY(-20px); } 15% { opacity: 1; } 40% { opacity: 1; transform: translateY(20px); } 50%, 100% { opacity: 0; } }
@keyframes found { 0%, 42% { opacity: 0; transform: translateY(12px) scale(.95); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* --- 4. Напоминания --- */
.notif {
  position: absolute; left: .5em; right: .5em; top: 2.4em; display: flex; gap: .7em; align-items: center;
  background: rgba(255,255,255,.88); border: 1px solid #fff; border-radius: 1.2em; padding: .7em .8em;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); font-size: .9em; line-height: 1.3;
  transform: translateY(-160%); opacity: 0;
}
.notif img { width: 2.3em; height: 2.3em; border-radius: .6em; flex: none; }
.notif b { display: block; font-size: .85em; color: var(--grey); }
.in .notif { animation: notif 5s cubic-bezier(.2, .9, .3, 1) infinite .6s; }
@keyframes notif { 0% { transform: translateY(-160%); opacity: 0; } 12%, 80% { transform: none; opacity: 1; } 92%, 100% { transform: translateY(-160%); opacity: 0; } }

/* --- 5. Места --- */
.places { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { background: rgba(255,255,255,.7); border: 1px solid #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 14px; padding: 9px 14px; font-weight: 600; font-size: 15px; box-shadow: 0 4px 14px -6px rgba(9,76,65,.25); transition: background .35s, color .35s, transform .35s; }
.chip.active { background: var(--teal); color: #fff; border-color: var(--teal); transform: translateY(-2px); }
.chip.add { border: 1.5px dashed var(--teal); color: var(--teal); background: rgba(226,243,240,.7); }
.js .feature:not(.in) .chip { opacity: 0; transform: translateY(14px); }
.feature.in .chip { animation: rise .5s ease both; }
.feature.in .chip:nth-child(2) { animation-delay: .08s; } .feature.in .chip:nth-child(3) { animation-delay: .16s; }
.feature.in .chip:nth-child(4) { animation-delay: .24s; } .feature.in .chip:nth-child(5) { animation-delay: .32s; } .feature.in .chip:nth-child(6) { animation-delay: .4s; }

/* --- 6. Список покупок --- */
.tap-hint { position: absolute; left: 50%; top: calc(1.68em + (100% - 1.68em) * .194); width: 3.2em; height: 3.2em; margin: -1.6em 0 0 -1.6em; border-radius: 50%; border: 3px solid var(--cyan); }
.in .tap-hint { animation: tap 2s ease-out infinite; }
@keyframes tap { 0% { transform: scale(.4); opacity: 1; } 70%, 100% { transform: scale(2.4); opacity: 0; } }

/* --- 7. Статистика (экран на HTML, без денег) --- */
@property --a { syntax: "<number>"; inherits: true; initial-value: 1; }
.ui-stats { background: #f4f8f7; }
.ui-stats .sbar { background: #f4f8f7; }
.st-title { font-size: 1.55em; font-weight: 800; padding: .25em .75em .45em; color: var(--ink); }
.st-card { background: #fff; margin: 0 .8em .65em; border-radius: 1.1em; padding: .8em .9em; box-shadow: 0 1px 4px rgba(9,76,65,.08); }
.st-h { font-weight: 700; font-size: .95em; margin-bottom: .6em; }
.st-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.st-tiles > div { border-radius: .8em; padding: .55em .2em .5em; text-align: center; display: grid; line-height: 1.2; }
.st-tiles i { font-style: normal; font-size: 1.1em; }
.st-tiles b { font-size: 1.4em; }
.st-tiles span { font-size: .72em; color: var(--grey); }
.t-green { background: var(--green-bg); } .t-green b { color: var(--green); }
.t-red { background: var(--red-bg); } .t-red b { color: var(--red); }
.t-teal { background: var(--mint); } .t-teal b { color: var(--teal); }
.st-row { display: flex; align-items: center; gap: .9em; }
.donut {
  --a: 1; flex: none; width: 6.4em; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--green) 0 calc(var(--fresh) * 3.6deg * var(--a)), var(--orange) 0 calc((var(--fresh) + var(--soon)) * 3.6deg * var(--a)), #eef2f1 0);
}
.donut > div { width: 70%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.donut b { font-size: 1.5em; }
.donut span { font-size: .6em; color: var(--grey); }
.js .feature:not(.in) .donut { --a: 0; }
.feature.in .donut { transition: --a 1.6s cubic-bezier(.3, .8, .3, 1) .2s; }
.legend { list-style: none; padding: 0; margin: 0; flex: 1; display: grid; gap: .4em; font-size: .82em; }
.legend li { display: flex; align-items: center; gap: .5em; }
.legend b { margin-left: auto; }
.legend i { width: .7em; height: .7em; border-radius: 50%; flex: none; }
.c-fresh { background: var(--green); } .c-soon { background: var(--orange); } .c-bad { background: var(--red); }
.bar { display: grid; grid-template-columns: 1fr auto; font-size: .82em; margin-bottom: .5em; row-gap: .25em; }
.bar i { grid-column: 1 / -1; height: .5em; border-radius: 99px; background: #eef2f1; position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--cyan)); transform-origin: left; transition: transform 1.3s cubic-bezier(.3, .8, .3, 1) .4s; }
.js .feature:not(.in) .bar i::after { transform: scaleX(0); }

/* --- 8. Приватность --- */
.vault { position: relative; width: 320px; height: 320px; max-width: 100%; }
.vault-phone { position: absolute; inset: 30%; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(160deg, var(--teal), var(--teal-d)); box-shadow: var(--shadow); }
.vault-phone svg { width: 60%; fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.vault::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 2px dashed rgba(14, 112, 96, .3); }
.orbit { position: absolute; background: rgba(255,255,255,.8); border: 1px solid #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--teal-d); box-shadow: 0 6px 16px -6px rgba(0,0,0,.25); white-space: nowrap; }
.o1 { left: 50%; top: 2%; transform: translateX(-50%); }
.o2 { right: -2%; top: 46%; }
.o3 { left: 50%; bottom: 2%; transform: translateX(-50%); }
.o4 { left: -6%; top: 46%; }
.in .vault-phone { animation: breathe 3s ease-in-out infinite; }
.in .orbit { animation: bob 3s ease-in-out infinite; }
.in .o2 { animation-delay: .5s; } .in .o3 { animation-delay: 1s; } .in .o4 { animation-delay: 1.5s; }
@keyframes breathe { 50% { box-shadow: 0 0 0 14px rgba(14, 112, 96, .12), var(--shadow); } }
@keyframes bob { 50% { translate: 0 -6px; } }

/* ---------- Скачать ---------- */
.dl-card {
  position: relative; overflow: hidden;
  text-align: center; border-radius: 32px; padding: clamp(36px, 6vw, 64px) 20px; color: #fff;
  background: radial-gradient(ellipse at 50% 0%, rgba(61, 220, 151, .25), transparent 60%), linear-gradient(160deg, var(--teal), var(--teal-dd));
  box-shadow: var(--shadow);
}
.dl-card::before { content: ""; position: absolute; inset: 0; background: var(--frost) 0 0 / 160px 160px; opacity: .12; pointer-events: none; }
.dl-card > * { position: relative; }
.dl-card p { color: rgba(255,255,255,.85); }
.dl-icon { margin: 0 auto 18px; border-radius: 22px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 26px 0; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-width: 230px; padding: 12px 22px;
  background: rgba(5, 20, 18, .75); color: #fff; text-decoration: none; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .2s, border-color .2s;
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--gold); }
.store-btn small { display: block; font-size: 12px; opacity: .75; }
.store-btn b { font-size: 20px; }
.store-btn > span:last-child { text-align: left; line-height: 1.2; }
.store-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: #2b2210; }
.store-btn.alt .store-ico { background: rgba(255,255,255,.12); color: #fff; }
.store-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fine { font-size: 14px; }

/* ---------- Спросите ---------- */
.ask { max-width: 860px; }
.ask-card { border-radius: 28px; padding: clamp(22px, 4vw, 40px); }
.ask-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.ask-head img { border-radius: 14px; flex: none; box-shadow: 0 0 20px rgba(61,220,151,.35); }
.ask-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 4px; }
.ask-head p { margin: 0; color: var(--grey); }
.ask-form { display: flex; gap: 10px; }
.ask-form input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid rgba(14,112,96,.25); background: rgba(255,255,255,.85); font: inherit; color: var(--ink);
}
.ask-form input::placeholder { color: #8a9a96; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.ask-chips button { font: inherit; font-size: 14px; color: var(--teal-d); background: rgba(226,243,240,.8); border: 1px solid #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.ask-chips button:hover { background: #fff; }
.ask-log { display: grid; gap: 10px; margin-top: 14px; }
.ask-log:empty { display: none; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 18px; line-height: 1.45; }
.msg.q { justify-self: end; background: var(--teal); color: #fff; border-bottom-right-radius: 6px; }
.msg.a { justify-self: start; background: rgba(255,255,255,.92); border: 1px solid #fff; box-shadow: 0 6px 20px -12px rgba(9,76,65,.4); border-bottom-left-radius: 6px; }
.msg.a small { display: block; font-size: 12px; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.msg.a.typing span::after { content: "▍"; animation: blink .8s steps(1) infinite; color: var(--teal); }
@keyframes blink { 50% { opacity: 0; } }
.ask-note { font-size: 13px; color: var(--grey); margin: 14px 0 0; }
@media (max-width: 520px) { .ask-form { flex-direction: column; } }

/* ---------- Поддержка (компактно) ---------- */
.support .section-head { margin-bottom: 28px; }
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 980px; margin: 0 auto; }
.contact {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  text-decoration: none; color: var(--ink); transition: transform .2s; min-width: 0;
}
a.contact:hover { transform: translateY(-2px); }
.contact b { display: block; font-size: 15px; }
.contact small { display: block; font-size: 13px; color: var(--grey); overflow-wrap: anywhere; }
.c-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); font-size: 18px; color: var(--teal); }
.contact.soon { border: 1.5px dashed rgba(14,112,96,.25); opacity: .6; }
@media (max-width: 900px) { .contacts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .contacts { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Другие продукты (компактно) ---------- */
.prod-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.prod-head h2 { font-size: clamp(24px, 3vw, 30px); margin: 0; }
.prod-head a { font-weight: 700; text-decoration: none; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prod { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; text-decoration: none; color: var(--ink); transition: transform .2s; }
.prod:hover { transform: translateY(-2px); }
.prod b { display: block; font-size: 16px; }
.prod small { display: block; font-size: 13px; color: var(--grey); margin-bottom: 4px; }
.prod-art { flex: none; width: 56px; height: 56px; border-radius: 16px; background-position: center; background-size: 58%; background-repeat: no-repeat; }
.art-guard { background-color: #1d2b3a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23E3C27A' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M32 6 10 14v16c0 14 9.5 23.5 22 28 12.5-4.5 22-14 22-28V14z'/%3E%3Cpath d='m22 32 7 7 13-14'/%3E%3C/svg%3E"); }
.art-home { background-color: #3a2a12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23E3C27A' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M8 30 32 10l24 20'/%3E%3Cpath d='M14 26v28h36V26'/%3E%3Cpath d='M26 42a8 8 0 0 1 12 0M22 37a14 14 0 0 1 20 0'/%3E%3C/svg%3E"); }
.art-biz { background-color: var(--teal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23E3C27A' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='8' y='32' width='22' height='22' rx='3'/%3E%3Crect x='34' y='32' width='22' height='22' rx='3'/%3E%3Crect x='21' y='8' width='22' height='22' rx='3'/%3E%3C/svg%3E"); }
@media (max-width: 860px) { .prod-grid { grid-template-columns: 1fr; } }

/* ---------- Компания ---------- */
.company-card {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, #0b1513, var(--teal-dd)); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 56px);
}
.company-card::before { content: ""; position: absolute; inset: 0; background: var(--frost) 0 0 / 160px 160px; opacity: .1; pointer-events: none; }
.company-card > * { position: relative; }
.company-card h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: .2em; }
.company-card p { color: rgba(255,255,255,.8); max-width: 520px; margin: 0; }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 16px 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; color: var(--grey); font-size: 15px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); font-size: 18px; }
.footer-brand img { border-radius: 7px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--grey); }
.footer p { margin: 0; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Без анимаций для тех, кто их отключил ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ui-list li, .share-result, .found, .notif { opacity: 1; }
  .notif { transform: none; }
  .laser, .beam, .tap-hint, .hall-rays, .snow, .mist { display: none; }
  .replay { display: none; }
}
