/* =========================================================
   ККТ05.ru — premium multi-page design system
   Цвета выведены из логотипа (ядро линий #5a0623).
   ========================================================= */

:root {
  --accent-deep:   #5a0623;
  --accent:        #6e0d2c;
  --accent-2:      #9b2740;
  --accent-3:      #c8374f;
  --accent-glow:   #ff4d6d;
  --accent-soft:   #f4e6d8;

  --bg:        #0a0608;
  --bg-2:      #120a0e;
  --surface:   rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.07);
  --stroke:    rgba(255,255,255,.10);
  --stroke-2:  rgba(255,255,255,.16);

  --text:      #f6eef0;
  --text-dim:  #b7a9ad;
  --text-mute: #7d7176;

  --grad-accent: linear-gradient(120deg, var(--accent-3), var(--accent-glow));
  --grad-text:   linear-gradient(100deg, #fff 0%, var(--accent-3) 55%, var(--accent-glow) 100%);
  --shadow-soft: 0 30px 80px -30px rgba(0,0,0,.7);
  --shadow-glow: 0 0 60px -10px rgba(255,77,109,.35);

  --radius: 22px; --radius-sm: 14px; --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Onest', -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
@media (hover:none),(pointer:coarse){ body{cursor:auto;} }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button,input,select,textarea { font-family: inherit; }
button { cursor: pointer; }
@media (pointer:coarse){ button{cursor:pointer;} }
ul,ol { list-style: none; }
::selection { background: var(--accent-glow); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px,9vw,128px) 0; position: relative; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== PRELOADER ===== */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: grid; place-content: center; justify-items: center; gap: 18px; transition: opacity .7s var(--ease), visibility .7s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader img { height: 46px; filter: drop-shadow(0 0 30px rgba(255,77,109,.5)); animation: pulse 1.8s ease-in-out infinite; }
.preloader__bar { width: 160px; height: 3px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 40%; background: var(--grad-accent); border-radius: 3px; animation: load 1.2s var(--ease) infinite; }
@keyframes load { 0%{transform:translateX(-120%);} 100%{transform:translateX(360%);} }
@keyframes pulse { 50%{opacity:.55;} }

/* ===== PAGE TRANSITION ===== */
.page-fade { position: fixed; inset: 0; z-index: 9995; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
.page-fade.is-active { opacity: 1; pointer-events: all; }
body.is-entering main, body.is-entering .footer { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px);} to { opacity:1; transform:none; } }

/* ===== CURSOR ===== */
.cursor,.cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; }
.cursor { width: 7px; height: 7px; background: var(--accent-glow); box-shadow: 0 0 12px var(--accent-glow); transform: translate(-50%,-50%); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(255,77,109,.5); transform: translate(-50%,-50%); transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, background .25s; }
.cursor-ring.is-hover { width: 56px; height: 56px; border-color: var(--accent-glow); background: rgba(255,77,109,.08); }
@media (hover:none),(pointer:coarse){ .cursor,.cursor-ring{display:none;} }

/* ===== AMBIENT BG ===== */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.ambient__mesh { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.ambient__mesh--1 { width: 50vw; height: 50vw; top: -12%; left: -8%; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); animation: float1 22s ease-in-out infinite; }
.ambient__mesh--2 { width: 46vw; height: 46vw; bottom: -16%; right: -10%; background: radial-gradient(circle, var(--accent-2) 0%, transparent 65%); opacity: .38; animation: float2 26s ease-in-out infinite; }
.ambient__mesh--3 { width: 30vw; height: 30vw; top: 40%; left: 50%; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); opacity: .15; animation: float1 30s ease-in-out infinite reverse; }
@keyframes float1 { 50%{transform:translate(8%,10%) scale(1.12);} }
@keyframes float2 { 50%{transform:translate(-9%,-8%) scale(1.08);} }
.ambient__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%); }
.ambient__noise { position: absolute; inset: 0; opacity: .035; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ===== BUTTONS / PILLS ===== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 13px 26px; border-radius: 100px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, background .3s; overflow: hidden; }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--primary { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary::after { content:''; position:absolute; inset:0; background: linear-gradient(120deg,transparent 30%,rgba(255,255,255,.4),transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 0 70px -6px rgba(255,77,109,.55); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--stroke-2); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-3px); border-color: var(--accent-3); }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 100px; background: var(--surface); border: 1px solid var(--stroke); font-size: .82rem; color: var(--text-dim); backdrop-filter: blur(10px); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-glow); box-shadow: 0 0 10px var(--accent-glow); animation: blink 2s infinite; }
@keyframes blink { 50%{opacity:.35;} }

.glass-card { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); backdrop-filter: blur(18px); box-shadow: var(--shadow-soft); position: relative; }
.glass-chip { background: rgba(18,10,14,.7); border: 1px solid var(--stroke-2); border-radius: 100px; padding: 10px 16px; font-size: .82rem; backdrop-filter: blur(14px); box-shadow: var(--shadow-soft); }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 900; transition: background .4s, border-color .4s, padding .4s; padding: 18px 0; border-bottom: 1px solid transparent; }
.navbar.is-scrolled { background: rgba(10,6,8,.72); backdrop-filter: blur(20px) saturate(160%); border-bottom-color: var(--stroke); padding: 12px 0; }
.navbar__inner { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 30px; width: auto; display: block; filter: drop-shadow(0 4px 16px rgba(90,6,35,.55)); transition: transform .4s var(--ease), filter .4s; }
.brand:hover .brand__logo { transform: scale(1.04); filter: drop-shadow(0 6px 22px rgba(255,77,109,.45)); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link { position: relative; padding: 8px 14px; font-size: .92rem; color: var(--text-dim); border-radius: 100px; transition: color .25s; }
.nav__link::after { content:''; position:absolute; left:14px; right:14px; bottom:4px; height:1.5px; background: var(--grad-accent); transform: scaleX(0); transform-origin:left; transition: transform .3s var(--ease); }
.nav__link:hover { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--text); }
.navbar__cta { margin-left: 4px; }
.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px; margin-left: auto; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg);}
.burger.is-open span:nth-child(2){ opacity: 0;}
.burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg);}

/* ===== MOBILE MENU ===== */
.mobile-menu { position: fixed; inset: 0; z-index: 850; background: rgba(10,6,8,.97); backdrop-filter: blur(24px); display: flex; flex-direction: column; padding: 90px 28px 40px; gap: 26px; transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden; }
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__nav a { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid var(--stroke); transition: color .25s, padding-left .25s; }
.mobile-menu__nav a:hover, .mobile-menu__nav a.is-active { color: var(--accent-3); padding-left: 8px; }
.mobile-menu__cta { width: 100%; }
.mobile-menu__contact { display: flex; flex-direction: column; gap: 6px; color: var(--text-dim); margin-top: auto; }
.mobile-menu__contact a:hover { color: var(--accent-3); }
.mobile-menu .brand__logo { height: 30px; }

/* ===== SECTION HEAD ===== */
.section__head { max-width: 660px; margin: 0 auto clamp(40px,6vw,64px); text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 14px; }
.section__title { font-family: 'Unbounded',sans-serif; font-weight: 800; font-size: clamp(1.9rem,4vw,3rem); line-height: 1.08; letter-spacing: -.02em; }
.section__sub { margin-top: 18px; color: var(--text-dim); font-size: 1.06rem; }

/* ===== HERO (home) ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 120px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; width: 100%; }
.hero__title { font-family: 'Unbounded',sans-serif; font-weight: 800; font-size: clamp(2.5rem,5.8vw,4.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 20px; }
.hero__lead { font-size: clamp(1.05rem,1.6vw,1.2rem); color: var(--text-dim); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 40px; }
.hero__meta { display: flex; gap: 38px; flex-wrap: wrap; }
.hero__meta-item strong { display: block; font-family: 'Unbounded',sans-serif; font-weight: 700; font-size: 1.7rem; }
.hero__meta-item span { font-size: .85rem; color: var(--text-mute); }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); display: flex; align-items: center; gap: 10px; }
.hero__scroll span { width: 1px; height: 32px; background: linear-gradient(var(--accent-glow),transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{transform:scaleY(.4);opacity:.4;} 50%{transform:scaleY(1);opacity:1;} }
.hero__visual { position: relative; }
.hero__panel { padding: 26px; }
.hero__panel-top { display: flex; justify-content: space-between; align-items: center; color: var(--text-dim); font-size: .85rem; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: #36d399; box-shadow: 0 0 10px #36d399; animation: blink 1.6s infinite; }
.hero__panel-row { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 8px; }
.hero__panel-row strong { font-family: 'Unbounded',sans-serif; font-size: 1.6rem; color: #fff; }
.hero__spark { width: 100%; height: 90px; }
.hero__spark-line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.is-revealed .hero__spark-line { animation: draw 2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__panel-tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.hero__panel-tags span { font-size: .73rem; padding: 5px 11px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--stroke); color: var(--text-dim); }
.hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; }
.hero__chip-ico { color: var(--accent-3); }
.hero__chip--1 { top: -26px; right: 18px; animation: floaty 5s ease-in-out infinite; }
.hero__chip--2 { bottom: -22px; left: -10px; animation: floaty 6s ease-in-out infinite .5s; }
@keyframes floaty { 50%{transform:translateY(-12px);} }

/* ===== PAGE HERO (inner) ===== */
.page-hero { padding: 160px 0 60px; position: relative; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--text-mute); margin-bottom: 22px; }
.breadcrumbs a:hover { color: var(--accent-3); }
.breadcrumbs span { color: var(--accent-3); }
.page-hero__title { font-family: 'Unbounded',sans-serif; font-weight: 800; font-size: clamp(2.2rem,5vw,3.6rem); line-height: 1.05; letter-spacing: -.02em; max-width: 18ch; }
.page-hero__sub { margin-top: 18px; color: var(--text-dim); font-size: 1.1rem; max-width: 56ch; }

/* ===== MARQUEE ===== */
.brands { padding: 28px 0 8px; }
.brands__label { text-align: center; color: var(--text-mute); font-size: .82rem; letter-spacing: .05em; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scrollX 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--text-mute); white-space: nowrap; transition: color .3s; }
.marquee__track span:hover { color: var(--accent-3); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ===== SERVICE CARDS (home grid) ===== */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card { padding: 32px 28px; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; overflow: hidden; display: block; }
.card::before { content:''; position:absolute; inset:0; background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(255,77,109,.14), transparent 60%); opacity:0; transition: opacity .4s; pointer-events:none; }
.card:hover { transform: translateY(-8px); border-color: var(--stroke-2); box-shadow: 0 40px 90px -40px rgba(90,6,35,.8); }
.card:hover::before { opacity: 1; }
.card__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-content: center; background: linear-gradient(150deg, rgba(155,39,64,.32), rgba(90,6,35,.18)); border: 1px solid var(--stroke); color: var(--accent-3); margin-bottom: 22px; }
.card__ico svg { width: 26px; height: 26px; }
.card h3 { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.26rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: .98rem; margin-bottom: 18px; }
.card__link { color: var(--accent-3); font-weight: 600; font-size: .92rem; }

/* ===== STATS ===== */
.stats { display: grid; grid-template-columns: repeat(4,1fr); padding: 44px 30px; gap: 24px; }
.stats__item { text-align: center; position: relative; }
.stats__item:not(:last-child)::after { content:''; position:absolute; right:-12px; top:10%; height:80%; width:1px; background: var(--stroke); }
.stats__item strong { display: block; font-family: 'Unbounded',sans-serif; font-weight: 800; font-size: clamp(1.9rem,3.4vw,2.8rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__item span { color: var(--text-mute); font-size: .9rem; }

/* ===== WHY ===== */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.why-card { padding: 30px; transition: transform .4s var(--ease), border-color .4s; overflow: hidden; }
.why-card:hover { transform: translateY(-6px); border-color: var(--stroke-2); }
.why-card--wide { grid-column: span 2; }
.why-card h3 { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.25rem; margin-bottom: 12px; }
.why-card p { color: var(--text-dim); }
.why-card__art { position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,77,109,.22), transparent 65%); filter: blur(6px); }
.why-card__art--alt { background: radial-gradient(circle, rgba(155,39,64,.32), transparent 65%); }

/* ===== TIMELINE ===== */
.timeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; position: relative; }
.timeline::before { content:''; position:absolute; top: 22px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg,transparent,var(--accent-2),transparent); }
.timeline__item { padding-top: 56px; position: relative; }
.timeline__num { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; font-family: 'Unbounded',sans-serif; font-weight: 700; font-size: .95rem; background: var(--bg-2); border: 1px solid var(--accent-2); color: var(--accent-3); box-shadow: 0 0 24px -6px rgba(255,77,109,.5); }
.timeline__item h3 { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.1rem; margin-bottom: 8px; }
.timeline__item p { color: var(--text-dim); font-size: .92rem; }

/* ===== CASES + CHART ===== */
.cases { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.cases__chart { grid-row: span 2; padding: 28px; display: flex; flex-direction: column; }
.cases__chart-head { display: flex; justify-content: space-between; align-items: center; color: var(--text-dim); font-size: .92rem; margin-bottom: 26px; }
.cases__chart-badge { font-size: .72rem; padding: 4px 10px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--stroke); }
.chart { position: relative; flex: 1; min-height: 220px; display: flex; align-items: flex-end; }
.chart__bars { display: flex; gap: 40px; align-items: flex-end; width: 100%; height: 100%; justify-content: center; padding: 0 10px 30px; position: relative; z-index: 2; }
.chart__bar { width: 64px; height: 0; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg,var(--surface-2),rgba(255,255,255,.03)); border: 1px solid var(--stroke); position: relative; transition: height 1.2s var(--ease); }
.chart__bar--accent { background: var(--grad-accent); border: none; box-shadow: var(--shadow-glow); }
.is-revealed .chart__bar { height: var(--h); }
.chart__cap { position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); font-size: .82rem; color: var(--text-dim); }
.chart__grid { position: absolute; inset: 0 0 30px 0; display: flex; flex-direction: column; justify-content: space-between; }
.chart__grid i { height: 1px; background: var(--stroke); opacity: .5; }
.cases__chart-note { margin-top: 18px; color: var(--text-dim); font-size: .92rem; }
.cases__chart-note strong { color: var(--accent-3); }
.case { padding: 28px; transition: transform .4s var(--ease), border-color .4s; }
.case:hover { transform: translateY(-6px); border-color: var(--stroke-2); }
.case__tag { display: inline-block; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 14px; }
.case__metric { font-family: 'Unbounded',sans-serif; font-weight: 800; font-size: clamp(1.8rem,3vw,2.4rem); margin-bottom: 8px; }
.case p { color: var(--text-dim); font-size: .92rem; }

/* ===== CTA ===== */
.cta { padding: clamp(40px,6vw,72px); text-align: center; overflow: hidden; }
.cta__glow { position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,77,109,.25), transparent 60%); filter: blur(40px); pointer-events: none; }
.cta h2 { font-family: 'Unbounded',sans-serif; font-weight: 800; font-size: clamp(1.9rem,4vw,3rem); line-height: 1.1; margin-bottom: 16px; position: relative; }
.cta p { color: var(--text-dim); max-width: 50ch; margin: 0 auto 32px; position: relative; }
.cta__form { display: flex; gap: 12px; max-width: 620px; margin: 0 auto; flex-wrap: wrap; position: relative; }
.cta__form input { flex: 1; min-width: 180px; padding: 16px 20px; border-radius: 100px; background: var(--surface); border: 1px solid var(--stroke-2); color: var(--text); font-size: 1rem; transition: border-color .3s, background .3s; }
.cta__form input::placeholder { color: var(--text-mute); }
.cta__form input:focus { outline: none; border-color: var(--accent-3); background: var(--surface-2); }
.cta__hint { font-size: .8rem; color: var(--text-mute); margin-top: 18px; }
.cta__hint.is-error { color: var(--accent-glow); }

/* ===== CATALOG ===== */
.catalog-toolbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 36px; }
.search { position: relative; flex: 1; min-width: 240px; }
.search input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 100px; background: var(--surface); border: 1px solid var(--stroke-2); color: var(--text); font-size: .95rem; transition: border-color .3s, background .3s; }
.search input:focus { outline: none; border-color: var(--accent-3); background: var(--surface-2); }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-mute); }
.select { padding: 14px 18px; border-radius: 100px; background: var(--surface); border: 1px solid var(--stroke-2); color: var(--text); font-size: .92rem; cursor: pointer; }
.select:focus { outline: none; border-color: var(--accent-3); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 100px; background: var(--surface); border: 1px solid var(--stroke); color: var(--text-dim); font-size: .88rem; cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; }
.chip:hover { border-color: var(--accent-3); color: var(--text); }
.chip.is-active { background: var(--grad-accent); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.product-grid--3 { grid-template-columns: repeat(3,1fr); }
.product-card { padding: 18px; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; display: flex; flex-direction: column; overflow: hidden; }
.product-card:hover { transform: translateY(-8px); border-color: var(--stroke-2); box-shadow: 0 40px 90px -40px rgba(90,6,35,.8); }
.product-card__media { position: relative; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, rgba(155,39,64,.18), rgba(18,10,14,.6)); border: 1px solid var(--stroke); aspect-ratio: 4/3; display: grid; place-content: center; margin-bottom: 16px; }
.product-card__media svg { width: 62%; height: 62%; transition: transform .5s var(--ease); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12%; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card:hover .product-card__media svg { transform: scale(1.07) rotate(-2deg); }
.product-card__cat { font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 6px; }
.product-card__name { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.02rem; line-height: 1.25; margin-bottom: 8px; }
.product-card__desc { color: var(--text-mute); font-size: .85rem; margin-bottom: 14px; flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card__price { font-family: 'Unbounded',sans-serif; font-weight: 700; font-size: 1.1rem; }
.product-card__badge { position: absolute; top: 12px; left: 12px; font-size: .7rem; padding: 5px 10px; border-radius: 100px; background: rgba(10,6,8,.7); border: 1px solid var(--stroke-2); backdrop-filter: blur(8px); }
.catalog-empty { text-align: center; padding: 60px 0; color: var(--text-mute); grid-column: 1/-1; }

/* ===== PRODUCT DETAIL ===== */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product__gallery { position: sticky; top: 100px; }
.product__stage { border-radius: var(--radius); background: radial-gradient(120% 120% at 50% 0%, rgba(155,39,64,.2), rgba(18,10,14,.7)); border: 1px solid var(--stroke); aspect-ratio: 1/1; display: grid; place-content: center; overflow: hidden; position: relative; }
.product__stage svg { width: 60%; height: 60%; transition: transform .4s var(--ease); }
.product__stage img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .4s var(--ease); }
.product__stage:hover img { transform: scale(1.08); }
.product__stage:hover svg { transform: scale(1.12); }
.product__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.product__thumb { width: 80px; height: 80px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); display: grid; place-content: center; cursor: pointer; transition: border-color .25s; }
.product__thumb svg { width: 56%; height: 56%; }
.product__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14%; }
.product__thumb.is-active { border-color: var(--accent-3); }
.product__cat { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 12px; }
.product__title { font-family: 'Unbounded',sans-serif; font-weight: 800; font-size: clamp(1.7rem,3.4vw,2.6rem); line-height: 1.1; }
.product__price { font-family: 'Unbounded',sans-serif; font-weight: 700; font-size: 2rem; margin: 20px 0; }
.product__price small { font-size: .9rem; color: var(--text-mute); font-weight: 400; font-family: 'Onest'; }
.product__desc { color: var(--text-dim); margin-bottom: 26px; }
.product__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--stroke); font-size: .94rem; }
.specs th { color: var(--text-mute); font-weight: 500; width: 45%; }
.specs td { color: var(--text); }
.product__features { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 24px 0; }
.product__feature { padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--stroke); }
.product__feature span { display: block; font-size: .8rem; color: var(--text-mute); }
.product__feature strong { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1rem; }

/* ===== SERVICES PAGE ===== */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: clamp(48px,7vw,96px); }
.svc:nth-child(even) .svc__visual { order: -1; }
.svc__visual { border-radius: var(--radius); background: radial-gradient(120% 120% at 30% 0%, rgba(155,39,64,.22), rgba(18,10,14,.6)); border: 1px solid var(--stroke); aspect-ratio: 4/3; display: grid; place-content: center; overflow: hidden; position: relative; box-shadow: var(--shadow-soft); }
.svc__visual svg { width: 50%; height: 50%; }
.svc__visual::after { content:''; position:absolute; inset:0; background: radial-gradient(400px circle at 50% 120%, rgba(255,77,109,.18), transparent 60%); }
.svc__eyebrow { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 12px; }
.svc h3 { font-family: 'Unbounded',sans-serif; font-weight: 700; font-size: clamp(1.5rem,3vw,2.1rem); line-height: 1.12; margin-bottom: 16px; }
.svc p { color: var(--text-dim); margin-bottom: 20px; }
.svc__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.svc__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); }
.svc__list li::before { content:''; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: radial-gradient(circle, var(--accent-3), var(--accent)); box-shadow: 0 0 12px -2px var(--accent-glow); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-card { padding: 30px; transition: transform .4s var(--ease), border-color .4s; }
.value-card:hover { transform: translateY(-6px); border-color: var(--stroke-2); }
.value-card__num { font-family: 'Unbounded',sans-serif; font-weight: 800; font-size: 2rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.value-card h3 { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.15rem; margin: 12px 0 8px; }
.value-card p { color: var(--text-dim); font-size: .94rem; }
.team { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.team-card { padding: 24px; text-align: center; transition: transform .4s var(--ease), border-color .4s; }
.team-card:hover { transform: translateY(-6px); border-color: var(--stroke-2); }
.team-card__ava { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(150deg, var(--accent-2), var(--accent-deep)); display: grid; place-content: center; font-family: 'Unbounded',sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--accent-soft); box-shadow: var(--shadow-glow); }
.team-card h3 { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.05rem; }
.team-card span { color: var(--text-mute); font-size: .88rem; }

/* ===== CONTACTS ===== */
.contacts-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.contact-card { padding: 24px; transition: transform .4s var(--ease), border-color .4s; }
.contact-card:hover { transform: translateY(-5px); border-color: var(--stroke-2); }
.contact-card__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; background: linear-gradient(150deg, rgba(155,39,64,.32), rgba(90,6,35,.18)); border: 1px solid var(--stroke); color: var(--accent-3); margin-bottom: 14px; }
.contact-card__ico svg { width: 22px; height: 22px; }
.socials a svg { width: 20px; height: 20px; }
.contact-card span { font-size: .8rem; color: var(--text-mute); display: block; }
.contact-card a, .contact-card strong { font-size: 1.02rem; font-weight: 600; }
.contact-card a { display: block; }
.contact-card a + a { margin-top: 4px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke); height: 220px; position: relative; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(170deg) brightness(.85); }
.form { padding: 32px; }
.form h3 { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.3rem; margin-bottom: 20px; }
.form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__row label { font-size: .82rem; color: var(--text-mute); }
.form input, .form textarea, .form select { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--stroke-2); color: var(--text); font-size: .95rem; transition: border-color .3s, background .3s; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent-3); background: var(--surface-2); }
.form textarea { resize: vertical; min-height: 110px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; background: var(--surface); border: 1px solid var(--stroke); color: var(--text-dim); transition: all .25s var(--ease); }
.socials a:hover { color: #fff; border-color: var(--accent-3); transform: translateY(-3px); background: var(--surface-2); }

/* ===== LOGO GRID (бренды / интеграции) ===== */
.logo-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.logo-grid__item { padding: 28px 20px; text-align: center; transition: transform .4s var(--ease), border-color .4s; }
.logo-grid__item:hover { transform: translateY(-6px); border-color: var(--stroke-2); }
.logo-grid__name { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.05rem; }
.logo-grid__cat { display: block; color: var(--text-mute); font-size: .82rem; margin-top: 4px; }

/* ===== FAQ ACCORDION ===== */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item { padding: 0 24px; overflow: hidden; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: 1.05rem; }
.faq__q::after { content: '+'; font-size: 1.6rem; color: var(--accent-3); transition: transform .3s var(--ease); line-height: 1; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; opacity: 0; transition: max-height .4s var(--ease), opacity .3s, padding .4s; color: var(--text-dim); }
.faq__item.is-open .faq__a { max-height: 320px; opacity: 1; padding-bottom: 22px; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--stroke); padding-top: 64px; margin-top: 40px; position: relative; background: linear-gradient(180deg,transparent,rgba(90,6,35,.07)); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { color: var(--text-dim); font-size: .92rem; margin-top: 16px; max-width: 34ch; }
.footer__brand .brand__logo { height: 36px; }
.footer__col h4 { font-family: 'Unbounded',sans-serif; font-weight: 600; font-size: .95rem; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-dim); font-size: .92rem; padding: 5px 0; transition: color .25s, padding-left .25s; }
.footer__col a:hover { color: var(--accent-3); padding-left: 5px; }
.footer__addr { display: block; color: var(--text-mute); font-size: .88rem; margin-top: 8px; line-height: 1.7; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 30px; border-top: 1px solid var(--stroke); color: var(--text-mute); font-size: .82rem; flex-wrap: wrap; }

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%,30px); background: var(--bg-2); border: 1px solid var(--accent-2); color: var(--text); padding: 14px 24px; border-radius: 14px; box-shadow: var(--shadow-glow); opacity: 0; visibility: hidden; transition: all .4s var(--ease); z-index: 9990; font-size: .95rem; }
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%,0); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-revealed { opacity: 1; transform: none; }
.reveal[data-delay="1"]{transition-delay:.08s}.reveal[data-delay="2"]{transition-delay:.16s}
.reveal[data-delay="3"]{transition-delay:.24s}.reveal[data-delay="4"]{transition-delay:.32s}
.reveal[data-delay="5"]{transition-delay:.40s}

@media (prefers-reduced-motion: reduce){ *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;} .reveal{opacity:1;transform:none;} }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px){
  .nav, .navbar__cta { display: none; }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__lead { max-width: none; }
  .hero__visual { max-width: 460px; }
  .cards, .product-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid--3 { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .stats__item:nth-child(2)::after { display: none; }
  .timeline { grid-template-columns: repeat(2,1fr); }
  .timeline::before { display: none; }
  .cases { grid-template-columns: 1fr 1fr; }
  .cases__chart { grid-row: auto; grid-column: span 2; }
  .product { grid-template-columns: 1fr; gap: 30px; }
  .product__gallery { position: static; }
  .svc { grid-template-columns: 1fr; gap: 24px; }
  .svc:nth-child(even) .svc__visual { order: 0; }
  .about-grid, .team { grid-template-columns: repeat(2,1fr); }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .container { padding-inline: 18px; }
  .cards, .why-grid, .stats, .timeline, .cases, .footer__inner,
  .product-grid, .product-grid--3, .about-grid, .team,
  .contact-cards, .product__features { grid-template-columns: 1fr; }
  .why-card--wide, .cases__chart { grid-column: auto; }
  .hero__meta { gap: 26px; }
  .stats__item::after { display: none !important; }
  .stats__item:not(:last-child){ border-bottom: 1px solid var(--stroke); padding-bottom: 24px; }
  .footer__bottom { flex-direction: column; }
  .cta__form .btn { width: 100%; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
}
