﻿/* =========================================================
   DIESEL.HELP — design system 2026
   Light / dark themes, motion, shadows, responsive
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --font-display: 'Oswald', 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Manrope', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;

  --accent: #ffd21e;
  --accent-2: #ffb100;
  --accent-soft: rgba(255, 210, 30, .14);
  --accent-text: #ffd21e;
  --accent-ink: #17130a;
  --ok: #22c55e;
  --ok-soft: rgba(34, 197, 94, .14);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, .12);

  --radius: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 76px;

  --ease: cubic-bezier(.2, .75, .25, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);
  --t-slow: .6s var(--ease);
}

[data-theme="dark"] {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --surface: #11141b;
  --surface-2: #161a23;
  --surface-3: #1d222d;
  --text: #eef1f6;
  --text-soft: #c7ced9;
  --muted: #929cab;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --header-bg: rgba(8, 10, 14, .78);
  --img-bg: #eef1f5;
  --glow: rgba(255, 210, 30, .2);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 16px 40px -16px rgba(0, 0, 0, .75);
  --shadow-lg: 0 34px 80px -30px rgba(0, 0, 0, .95);
  --shadow-accent: 0 18px 50px -18px rgba(255, 210, 30, .35);
  --grid-line: rgba(255, 255, 255, .035);
  --hero-glow-1: rgba(255, 210, 30, .16);
  --hero-glow-2: rgba(60, 130, 255, .1);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3f5f8;
  --bg-2: #eaeef4;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #eef2f7;
  --text: #0e131b;
  --text-soft: #26303d;
  --muted: #5d6878;
  --border: rgba(14, 19, 27, .09);
  --border-strong: rgba(14, 19, 27, .18);
  --header-bg: rgba(255, 255, 255, .8);
  --img-bg: #eef2f7;
  --glow: rgba(255, 178, 0, .18);
  --shadow-sm: 0 2px 8px rgba(20, 32, 51, .06);
  --shadow-md: 0 18px 42px -20px rgba(20, 32, 51, .22);
  --shadow-lg: 0 36px 80px -32px rgba(20, 32, 51, .28);
  --shadow-accent: 0 18px 46px -18px rgba(255, 178, 0, .45);
  --accent-text: #a06f00;
  --grid-line: rgba(14, 19, 27, .04);
  --hero-glow-1: rgba(255, 178, 0, .22);
  --hero-glow-2: rgba(40, 110, 255, .08);
  color-scheme: light;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #17130a; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 1000;
  background: var(--accent); color: #17130a; padding: 10px 18px; border-radius: 8px;
  font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
p { text-wrap: pretty; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 60ch; }
.text-accent { color: var(--accent); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.gradient-text {
  background: linear-gradient(100deg, var(--accent) 10%, #fff2a8 45%, var(--accent) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradientShift 7s linear infinite;
}
[data-theme="light"] .gradient-text {
  background: linear-gradient(100deg, #b57b00 10%, #ffb100 45%, #b57b00 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), #fff2a8);
  z-index: 1001; pointer-events: none;
}

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: height .3s var(--ease), background .3s, box-shadow .3s;
}
.header.is-scrolled { height: 64px; box-shadow: var(--shadow-md); }
.header__inner { display: flex; align-items: center; gap: 26px; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3), 0 0 0 1px var(--border);
  flex: none;
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text);
}
.brand__name b { color: var(--accent-text); font-weight: 700; }
.brand__tag { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; display: inline-flex; align-items: center;
  padding: 10px 12px; border-radius: 9px; font-size: .86rem; font-weight: 600;
  color: var(--muted); transition: color var(--t-fast), background var(--t-fast);
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.theme-toggle {
  position: relative; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
  overflow: hidden;
}
.theme-toggle:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle svg { width: 19px; height: 19px; transition: transform .5s var(--ease), opacity .25s; }
.theme-toggle .icon-sun { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.4); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(.4); }

.header__phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: .95rem; color: var(--text);
  padding: 10px 14px; border-radius: 10px;
  transition: color var(--t-fast), background var(--t-fast);
}
.header__phone:hover { color: var(--accent-text); background: var(--accent-soft); }
.header__phone svg { width: 16px; height: 16px; color: var(--accent); }

.burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.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); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 800; font-size: .9rem; line-height: 1.1;
  letter-spacing: .01em; text-align: center; cursor: pointer; overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px) scale(.995); }
.btn--primary {
  background: linear-gradient(180deg, #ffdb4d, var(--accent) 55%, #f2bd00);
  color: var(--accent-ink);
  box-shadow: 0 12px 28px -12px rgba(255, 190, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .65);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn--primary::after {
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn--primary:hover::after { left: 130%; }
.btn--ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--wa { background: #25d366; color: #03230f; box-shadow: 0 12px 28px -14px rgba(37, 211, 102, .65); }
.btn--wa:hover { transform: translateY(-2px); background: #2be26f; }
.btn--tg { background: #229ed9; color: #fff; box-shadow: 0 12px 28px -14px rgba(34, 158, 217, .7); }
.btn--tg:hover { transform: translateY(-2px); background: #35aee7; }
.btn--sm { padding: 10px 16px; border-radius: 9px; font-size: .8rem; }
.btn--lg { padding: 18px 34px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }

/* ---------- badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; line-height: 1;
  background: var(--surface-3); color: var(--text-soft); border: 1px solid var(--border);
}
.badge--ok { background: #16a34a; color: #fff; border-color: #16a34a; box-shadow: 0 4px 14px -6px rgba(22, 163, 74, .8); }
.badge--out { background: #dc2626; color: #fff; border-color: #dc2626; box-shadow: 0 4px 14px -6px rgba(220, 38, 38, .75); }
.badge--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 4px 14px -6px rgba(255, 190, 0, .65); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--ok i { animation: pulse 2.4s infinite; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 110px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section__title { margin-bottom: 12px; }
.section__sub { color: var(--muted); max-width: 62ch; font-size: .98rem; }
.section__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .85rem; color: var(--text); white-space: nowrap; transition: color var(--t-fast), gap var(--t-fast); }
.section__link:hover { color: var(--accent-text); gap: 12px; }
.section__link svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 60px; overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none;
}
.hero__glow--1 {
  width: 720px; height: 720px; right: -140px; top: -220px;
  background: radial-gradient(circle, var(--hero-glow-1), transparent 65%);
  animation: floatSlow 14s ease-in-out infinite;
}
.hero__glow--2 {
  width: 560px; height: 560px; left: -220px; bottom: -200px;
  background: radial-gradient(circle, var(--hero-glow-2), transparent 65%);
  animation: floatSlow 18s ease-in-out infinite reverse;
}
.hero__engine {
  position: absolute; right: -6%; top: 50%; width: min(760px, 62vw); transform: translateY(-50%);
  opacity: .13; z-index: -1; pointer-events: none;
  filter: grayscale(.2) contrast(1.05) drop-shadow(0 40px 80px rgba(0, 0, 0, .5));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}
[data-theme="light"] .hero__engine { opacity: .16; mix-blend-mode: multiply; }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: clamp(30px, 5vw, 70px); }
.hero__content { position: relative; z-index: 2; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.hero__pill b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.hero__pill b i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
[data-theme="light"] .hero__pill b { color: #8a6400; }

.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; display: block; }
.hero h1 .hero__accent { display: inline; color: var(--accent-text); background: linear-gradient(90deg, var(--accent), rgba(255, 210, 30, .12)) left bottom / 100% .1em no-repeat; padding-bottom: .06em; }

.hero__lead { font-size: clamp(1rem, 1.5vw, 1.16rem); color: var(--muted); max-width: 49ch; margin-bottom: 30px; }
.hero__lead strong { color: var(--text); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 42px); }
.stat { position: relative; padding-left: 18px; }
.stat::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(var(--accent), transparent); }
.stat__num { font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.35rem); font-weight: 700; color: var(--text); line-height: 1; letter-spacing: .01em; }
.stat__num span { color: var(--accent-text); }
.stat__label { margin-top: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* hero visual */
.hero__visual { position: relative; z-index: 1; }
.hero__card {
  position: relative; border-radius: 28px; padding: 18px;
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(255, 210, 30, .16), transparent 55%),
    linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: rotate(-1.2deg);
  transition: transform .6s var(--ease);
}
.hero__card:hover { transform: rotate(0deg) translateY(-4px); }
.hero__card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 29px; padding: 1px;
  background: linear-gradient(140deg, rgba(255, 210, 30, .5), transparent 35%, transparent 70%, rgba(255, 210, 30, .22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.hero__photo {
  position: relative; border-radius: 20px; overflow: hidden; background: var(--img-bg);
  aspect-ratio: 4 / 3.2;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.2s var(--ease); }
.hero__card:hover .hero__photo img { transform: scale(1.09); }
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 30% 20%, transparent, rgba(0, 0, 0, .16));
  pointer-events: none;
}
.hero__card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 6px 4px; }
.hero__card-foot b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.hero__card-foot span { font-size: .72rem; color: var(--muted); }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  font-size: .76rem; font-weight: 700; line-height: 1.2;
  animation: floatY 6s ease-in-out infinite;
}
.float-chip--1 { top: 8%; left: -7%; animation-delay: -.4s; }
.float-chip--2 { bottom: 14%; right: -6%; animation-delay: -2.4s; }
.float-chip--3 { bottom: -13%; left: 7%; animation-delay: -4s; }
.float-chip__icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); flex: none;
}
[data-theme="light"] .float-chip__icon { color: #9a7000; }
.float-chip__icon svg { width: 17px; height: 17px; }
.float-chip small { display: block; font-weight: 600; color: var(--muted); font-size: .66rem; }

/* ---------- marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 18px 0;
  border-block: 1px solid var(--border); background: var(--surface-2);
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--surface-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--surface-2), transparent); }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.marquee__item svg { width: 16px; height: 16px; color: var(--accent); }
.marquee__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .5; }

/* ---------- category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 22px 20px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cat-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 80% at 100% 0%, var(--accent-soft), transparent 60%);
  transition: opacity var(--t);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(255, 210, 30, .35); }
.cat-card:hover::before { opacity: 1; }
.cat-card__icon {
  position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); transition: transform var(--t), background var(--t);
}
[data-theme="light"] .cat-card__icon { color: #9a7000; background: rgba(255, 178, 0, .14); }
.cat-card:hover .cat-card__icon { transform: scale(1.07) rotate(-4deg); }
.cat-card__icon svg { width: 24px; height: 24px; }
.cat-card__name { position: relative; font-family: var(--font-display); font-size: 1.03rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.cat-card__meta { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: .74rem; color: var(--muted); font-weight: 700; }
.cat-card__arrow { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--muted); transition: all var(--t-fast); }
.cat-card:hover .cat-card__arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateX(3px); }
.cat-card__arrow svg { width: 13px; height: 13px; }

/* ---------- product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(255, 210, 30, .3); }
.product-card__media {
  position: relative; aspect-ratio: 4 / 3; background: var(--img-bg); overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; z-index: 2; }
.product-card__brand { background: rgba(8, 10, 14, .72); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: rgba(255, 255, 255, .16); }
.product-card__fav {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: #17130a; border: 0;
  opacity: 0; transform: translateY(-4px); transition: all var(--t-fast);
}
.product-card:hover .product-card__fav { opacity: 1; transform: none; }
.product-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.product-card__cat { font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.product-card__title { font-family: var(--font-body); font-size: .95rem; font-weight: 800; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.product-card__title a { transition: color var(--t-fast); }
.product-card__title a:hover { color: var(--accent); }
.product-card__sku { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); }
.product-card__sku b { color: var(--text-soft); font-weight: 600; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.product-card__price { font-family: var(--font-display); font-size: 1.16rem; font-weight: 700; letter-spacing: .02em; }
.product-card__price small { display: block; font-family: var(--font-body); font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.product-card__price--ask { font-size: .88rem; color: var(--text-soft); }
.product-card__go {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--text); border: 1px solid var(--border);
  transition: all var(--t-fast); flex: none;
}
.product-card__go:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateX(2px); }
.product-card__go svg { width: 15px; height: 15px; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 26px 24px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent-soft), transparent); color: var(--accent);
  border: 1px solid rgba(255, 210, 30, .2);
}
[data-theme="light"] .service-card__icon { color: #9a7000; }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.08rem; line-height: 1.2; }
.service-card p { font-size: .88rem; color: var(--muted); flex: 1; }
.service-card__link { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; color: var(--text); transition: color var(--t-fast), gap var(--t-fast); }
.service-card__link:hover { color: var(--accent-text); gap: 11px; }
.service-card__link svg { width: 14px; height: 14px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(255, 210, 30, .3); }
.step__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--border-strong); letter-spacing: .02em;
  margin-bottom: 15px; transition: -webkit-text-stroke-color var(--t);
}
.step:hover .step__num { -webkit-text-stroke-color: var(--accent); }
.step h3 { font-size: 1rem; margin-bottom: 7px; }
.step p { font-size: .84rem; color: var(--muted); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feature {
  display: flex; gap: 14px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
[data-theme="light"] .feature__icon { color: #9a7000; }
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { font-family: var(--font-body); font-size: .92rem; font-weight: 800; text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.feature p { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ---------- split / about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.split__visual { position: relative; }
.split__photo { border-radius: 26px; overflow: hidden; background: var(--img-bg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.split__photo img { width: 100%; height: 100%; object-fit: cover; }
.split__badge {
  position: absolute; right: -18px; bottom: 26px; padding: 18px 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.split__badge b { font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1; }
.split__badge span { font-size: .72rem; color: var(--muted); line-height: 1.4; }
.ticks { display: grid; gap: 12px; margin: 24px 0 30px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--text-soft); }
.ticks svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq details[open] { border-color: rgba(255, 210, 30, .35); box-shadow: var(--shadow-md); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: .94rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  color: var(--accent-text); flex: none; transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 20px 20px; color: var(--muted); font-size: .9rem; max-width: 72ch; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: clamp(32px, 5vw, 58px);
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(255, 210, 30, .16), transparent 55%),
    linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
  border-radius: 50%; border: 1px solid rgba(255, 210, 30, .18);
  box-shadow: 0 0 0 60px rgba(255, 210, 30, .04), 0 0 0 120px rgba(255, 210, 30, .02);
  pointer-events: none;
}
.cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--muted); max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.contact-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(255, 210, 30, .35); }
.contact-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
[data-theme="light"] .contact-card__icon { color: #9a7000; }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-card p { font-size: .98rem; font-weight: 800; color: var(--text); word-break: break-word; }
.contact-card small { font-size: .74rem; color: var(--muted); }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: .76rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { transition: color var(--t-fast); }
.crumbs a:hover { color: var(--accent-text); }
.crumbs span[aria-current] { color: var(--text-soft); }
.crumbs svg { width: 11px; height: 11px; opacity: .5; }

/* ---------- catalog page ---------- */
.page-head { padding: calc(var(--header-h) + 46px) 0 34px; position: relative; overflow: hidden; }
.page-head::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 100% at 20% 0%, #000, transparent 80%);
  mask-image: radial-gradient(80% 100% at 20% 0%, #000, transparent 80%);
}
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 70ch; }

.catalog-toolbar {
  position: sticky; top: 64px; z-index: 40;
  display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 10px; align-items: center;
  margin-bottom: 22px; padding: 12px; border-radius: 16px;
  background: var(--header-bg); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 40px 0 42px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: .9rem; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search__clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; display: none; place-items: center; color: var(--muted); }
.search.has-value .search__clear { display: grid; }
.search__clear:hover { color: var(--text); background: var(--surface-3); }

.select-wrap { position: relative; }
.select-wrap select {
  height: 46px; padding: 0 38px 0 14px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: .84rem; font-weight: 600; appearance: none; cursor: pointer;
}
.select-wrap::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font-size: .78rem; font-weight: 700;
  transition: all var(--t-fast); white-space: nowrap;
}
.chip:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px rgba(255, 190, 0, .8); }
.chip small { opacity: .65; font-weight: 700; margin-left: 4px; }

.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: .8rem; color: var(--muted); }
.catalog-meta b { color: var(--text); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.empty {
  display: none; flex-direction: column; align-items: center; gap: 12px;
  padding: 70px 20px; text-align: center; color: var(--muted);
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
}
.empty.is-visible { display: flex; }
.empty svg { width: 44px; height: 44px; color: var(--accent); }
.empty h3 { color: var(--text); }
.empty p { font-size: .88rem; }

/* ---------- product page ---------- */
.product { padding: calc(var(--header-h) + 42px) 0 0; }
.product__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.product__media {
  position: relative; border-radius: 26px; overflow: hidden;
  background: var(--img-bg); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media .badge { position: absolute; top: 16px; left: 16px; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product__thumb { width: 74px; height: 60px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--img-bg); opacity: .65; transition: all var(--t-fast); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb:hover, .product__thumb.is-active { border-color: var(--accent); opacity: 1; }

.product__info { position: sticky; top: calc(64px + 22px); }
.product__cat { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.product h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.product__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.product__price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 20px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 20px; }
.product__price { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1; }
.product__price small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 700; color: var(--muted); margin-top: 6px; letter-spacing: .06em; text-transform: uppercase; }
.product__price-note { font-size: .72rem; color: var(--muted); text-align: right; max-width: 16ch; line-height: 1.4; }
.product__desc { color: var(--muted); font-size: .94rem; margin-bottom: 22px; }
.product__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.product__actions .btn--block { grid-column: 1 / -1; }
.product__specs { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.product__specs dl { display: grid; }
.product__specs div { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; padding: 13px 16px; font-size: .84rem; }
.product__specs div + div { border-top: 1px solid var(--border); }
.product__specs dt { color: var(--muted); }
.product__specs dd { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.copy-btn { width: 26px; height: 26px; border-radius: 7px; display: inline-grid; place-items: center; color: var(--muted); background: var(--surface-3); transition: all var(--t-fast); }
.copy-btn:hover { color: var(--accent); }
.copy-btn svg { width: 13px; height: 13px; }
.product__note { display: flex; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(255, 210, 30, .22); font-size: .78rem; color: var(--text-soft); }
.product__note svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }
[data-theme="light"] .product__note svg { color: #9a7000; }
.product__related { padding: clamp(50px, 6vw, 80px) 0 0; }

/* ---------- prose (about/services/privacy) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 34px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.prose ul { list-style: none; display: grid; gap: 9px; margin: 14px 0 18px; }
.prose ul li { position: relative; padding-left: 24px; margin: 0; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text-soft); }

/* ---------- footer ---------- */
.footer { position: relative; padding: 54px 0 30px; background: var(--bg-2); border-top: 1px solid var(--border); margin-top: clamp(60px, 8vw, 100px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer h4 { font-family: var(--font-body); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer a { color: var(--text-soft); font-size: .86rem; transition: color var(--t-fast); }
.footer a:hover { color: var(--accent-text); }
.footer__links { display: grid; gap: 9px; }
.footer__brand p { color: var(--muted); font-size: .86rem; max-width: 34ch; margin: 14px 0 18px; }
.footer__socials { display: flex; gap: 8px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: all var(--t-fast); }
.footer__socials a:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer__socials svg { width: 17px; height: 17px; }
.footer__contact { display: grid; gap: 10px; font-size: .86rem; }
.footer__contact b { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); letter-spacing: .04em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .74rem; color: var(--muted); }
.footer__bottom a { font-size: .74rem; }
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- mobile sticky bar ---------- */
.mobile-bar {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--header-bg); border-top: 1px solid var(--border);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.mobile-bar .btn { flex: 1; padding: 13px 12px; font-size: .82rem; }

/* ---------- reveal / motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@keyframes gradientShift { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatSlow { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, 30px) scale(1.05); } }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; } 50% { opacity: .6; box-shadow: 0 0 0 4px transparent; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .products, .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer__grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .burger { display: flex; }
  .header__actions { margin-left: auto; }
  .nav.is-open {
    display: flex; position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; margin: 0;
    padding: 14px var(--gutter) 22px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); animation: navIn .25s var(--ease);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open a { padding: 13px 12px; font-size: 1rem; border-radius: 10px; }
  .nav.is-open a::after { display: none; }
  .nav.is-open .nav__cta { margin-top: 8px; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__content { text-align: left; }
  .hero__stats { gap: 22px; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product__grid { grid-template-columns: 1fr; }
  .product__info { position: static; }
  .product__media { max-width: 640px; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .split { grid-template-columns: 1fr; }
  .split__visual { max-width: 560px; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .catalog-toolbar { top: 60px; grid-template-columns: 1fr 1fr; }
  .catalog-toolbar .search { grid-column: 1 / -1; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 640px) {
  :root { --radius: 16px; }
  h1 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .brand__tag { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.15rem; }
  .header__inner { gap: 10px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card { padding: 16px; gap: 10px; }
  .cat-card__icon { width: 40px; height: 40px; border-radius: 11px; }
  .cat-card__icon svg { width: 20px; height: 20px; }
  .cat-card__name { font-size: .88rem; }
  .products, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card__body { padding: 12px 12px 14px; }
  .product-card__title { font-size: .84rem; }
  .product-card__cat { font-size: .6rem; }
  .product-card__go { width: 32px; height: 32px; }
  .product-card__price { font-size: 1rem; }
  .services, .features, .steps, .contacts { grid-template-columns: 1fr; }
  .feature { padding: 18px; }
  .hero__stats { gap: 18px; }
  .stat { padding-left: 13px; }
  .stat__num { font-size: 1.55rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .float-chip { padding: 8px 10px; font-size: .66rem; }
  .float-chip__icon { width: 28px; height: 28px; border-radius: 8px; }
  .float-chip--1 { left: -2%; }
  .float-chip--2 { right: -2%; }
  .float-chip--3 { bottom: -10%; left: 0; }
  .hero__card { transform: none; }
  .split__badge { right: 8px; bottom: 12px; padding: 12px 16px; }
  .split__badge b { font-size: 1.5rem; }
  .catalog-toolbar { top: 56px; grid-template-columns: 1fr; }
  .select-wrap select { width: 100%; }
  .catalog-meta { flex-direction: column; align-items: flex-start; }
  .product__actions { grid-template-columns: 1fr; }
  .product__price-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product__price-note { text-align: left; max-width: none; }
  .section { padding: 52px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .footer__grid > :last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
  .faq summary { padding: 15px 16px; font-size: .88rem; }
  .faq__answer { padding: 0 16px 16px; }
}

/* ---------- forms ---------- */
.form-card {
  padding: clamp(22px, 4vw, 34px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  font-size: .9rem; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.form-note { font-size: .72rem; color: var(--muted); margin-top: 10px; }

.service-list { display: grid; gap: 14px; }
.service-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: start;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(255,210,30,.3); }
.service-row__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
[data-theme="light"] .service-row__icon { color: #9a7000; }
.service-row__icon svg { width: 30px; height: 30px; }
.service-row h2 { font-size: clamp(1.2rem, 2vw, 1.55rem); margin-bottom: 8px; }
.service-row p { color: var(--muted); font-size: .9rem; max-width: 74ch; }
.service-row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.service-row__tags span { font-size: .68rem; font-weight: 700; color: var(--text-soft); background: var(--surface-2); border: 1px solid var(--border); padding: 5px 9px; border-radius: 999px; }
.service-row__cta { align-self: center; }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-row__cta { justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- light-theme refinements ---------- */
[data-theme="light"] .hero {
  background:
    radial-gradient(75% 65% at 78% 18%, rgba(255, 190, 0, .16), transparent 62%),
    radial-gradient(60% 60% at 8% 92%, rgba(30, 90, 200, .05), transparent 60%),
    linear-gradient(180deg, #f9fafc 0%, #eef1f5 100%);
}
[data-theme="light"] .hero__grid { opacity: .85; }
[data-theme="light"] .hero__engine { opacity: .3; }
[data-theme="light"] .hero__card {
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(255, 190, 0, .18), transparent 55%),
    linear-gradient(150deg, #ffffff, #f6f8fb);
  border-color: rgba(14, 19, 27, .12);
}
[data-theme="light"] .marquee { background: #ffffff; }
[data-theme="light"] .marquee::before { background: linear-gradient(90deg, #ffffff, transparent); }
[data-theme="light"] .marquee::after { background: linear-gradient(-90deg, #ffffff, transparent); }
[data-theme="light"] .header { box-shadow: 0 1px 0 rgba(14, 19, 27, .05); }
[data-theme="light"] .header.is-scrolled { box-shadow: var(--shadow-md); }
[data-theme="light"] .theme-toggle { background: #fff; }
[data-theme="light"] .product-card__media img { filter: saturate(1.02); }
[data-theme="light"] .footer { background: #e9edf3; }

/* ---------- catalog hierarchy / new logo ---------- */
.footer__logo {
  display: block; height: 74px; width: auto; margin-bottom: 14px;
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
.filter-groups { display: grid; gap: 12px; margin-bottom: 26px; }
.filter-group { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: start; }
.filter-group__label {
  padding-top: 10px; font-family: var(--font-display); font-size: .76rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.filter-group .chips { margin: 0; }
.category-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.brand-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.brand-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; flex: none; white-space: nowrap;
  border: 1px solid var(--border); background: var(--surface); font-size: .8rem; font-weight: 800;
  color: var(--text-soft); transition: all var(--t-fast);
}
.brand-pill:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-1px); }
.brand-pill span { color: var(--muted); font-weight: 700; }
.category-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.category-count { font-size: .8rem; color: var(--muted); font-weight: 700; }
.product-card__sku b { word-break: break-all; }
@media (max-width: 640px) {
  .filter-group { grid-template-columns: 1fr; gap: 6px; }
  .filter-group__label { padding-top: 0; }
  .footer__logo { height: 62px; }
}

/* ---------- footer cookies ---------- */
.footer__cookies {
  margin-top: 28px; font-size: .74rem; line-height: 1.55; color: var(--muted);
}
.footer__cookies a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.footer__cookies a:hover { color: var(--accent-text); }

/* ---------- cookie notice ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg); color: var(--text-soft);
  font-size: .8rem; line-height: 1.45;
}
.cookie-bar.is-hidden { display: none; }
.cookie-bar__text { flex: 1; }
.cookie-bar__ok {
  flex: none; padding: 9px 20px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: .8rem; transition: background var(--t-fast), transform var(--t-fast);
}
.cookie-bar__ok:hover { background: var(--accent-hover, #ffe040); transform: translateY(-1px); }
@media (max-width: 900px) { .cookie-bar { bottom: 78px; } }
@media (max-width: 640px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 76px; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .cookie-bar__ok { width: 100%; padding: 11px 18px; }
}
