/* ZERK — Premium design system (Apple / Tesla dark luxury) */
@import './zerk-faq.css';

:root {
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --space-page: clamp(20px, 5vw, 80px);
  --header-h: 52px;
  --max-w: 1200px;
  --text-primary: #f5f5f7;
  --text-muted: #86868b;
  --text-secondary: #a1a1a6;
  --accent: #2997ff;
  --accent-glow: rgba(41, 151, 255, 0.45);
  --glass-bg: rgba(22, 22, 24, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.14);
  --metallic-1: #f5f5f7;
  --metallic-2: #aeaeb2;
  --metallic-3: #636366;
  --metallic-shine: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 42%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  --shadow-lift: 0 32px 64px -12px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 80px rgba(100, 140, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  background: #000;
  color: var(--text-primary);
  letter-spacing: -0.022em;
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
}

body.is-loading { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-stage, .bg-sweep, .hero-grid, .catalog-eyebrow, .catalog-hero h1, .catalog-hero p, .catalog-stats { animation: none !important; }
  [data-reveal], .catalog-preview-card, .catalog-card { opacity: 1 !important; transform: none !important; translate: none !important; }
}

/* ——— Background: cinematic depth + grain ——— */
.bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  background: #000;
  overflow: hidden;
}

.bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(80, 120, 220, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 60%, rgba(140, 100, 200, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(60, 180, 200, 0.05) 0%, transparent 50%);
}

.bg-sweep {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 200deg at 50% 50%,
    transparent 0deg,
    rgba(180, 200, 255, 0.04) 60deg,
    transparent 120deg,
    rgba(255, 255, 255, 0.03) 180deg,
    transparent 240deg
  );
  animation: bg-sweep-rotate 48s linear infinite;
  pointer-events: none;
}

@keyframes bg-sweep-rotate {
  to { transform: rotate(360deg); }
}

.bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, transparent 30%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

/* ——— Typography ——— */
h1, h2, h3, .section-title {
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.metallic-text {
  background: linear-gradient(
    180deg,
    #fff 0%,
    #d1d1d6 35%,
    #8e8e93 55%,
    #f5f5f7 75%,
    #636366 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ——— Glass surfaces ——— */
.glass {
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

.card,
.product,
.video-box,
.catalog-preview-card,
.catalog-card {
  position: relative;
  background: linear-gradient(
    155deg,
    rgba(38, 38, 42, 0.85) 0%,
    rgba(22, 22, 24, 0.92) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    var(--shadow-lift);
  transition:
    transform 0.55s var(--ease-cinematic),
    box-shadow 0.55s var(--ease-cinematic),
    border-color 0.4s;
}

.card::before,
.catalog-preview-card::before,
.catalog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--metallic-shine);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 1;
}

.card:hover::before,
.catalog-preview-card:hover::before,
.catalog-card:hover::before {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .catalog-preview-card:hover,
  .catalog-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      var(--shadow-lift),
      var(--shadow-glow);
    transform: translateY(-8px);
  }
}

/* ——— Header ——— */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  height: var(--header-h);
  padding: 0 var(--space-page);
  padding-top: env(safe-area-inset-top, 0);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease-cinematic), border-color 0.5s, box-shadow 0.5s;
}

header.is-scrolled {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo:hover { opacity: 0.75; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.88;
  transition: opacity 0.25s;
}

.header-nav a:hover { opacity: 1; }
.header-nav .phone { color: var(--accent); font-weight: 500; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0 -10px 0 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.45s var(--ease-cinematic), opacity 0.3s;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(48px) saturate(150%);
  -webkit-backdrop-filter: blur(48px) saturate(150%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: calc(var(--header-h) + env(safe-area-inset-top)) 24px 48px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-cinematic), visibility 0.5s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: clamp(36px, 9vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-decoration: none;
  padding: 14px 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-cinematic), transform 0.6s var(--ease-cinematic), color 0.2s;
}

.mobile-menu.is-open a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu a:active { color: var(--accent); }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 56px) var(--space-page) 100px;
  overflow: hidden;
}

.hero-spotlight {
  position: absolute;
  top: -20%;
  left: 50%;
  width: min(140vw, 900px);
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 50% 80% at 50% 0%,
    rgba(200, 220, 255, 0.18) 0%,
    rgba(100, 140, 255, 0.06) 35%,
    transparent 70%
  );
  pointer-events: none;
  animation: spotlight-breathe 8s ease-in-out infinite alternate;
}

@keyframes spotlight-breathe {
  0% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 0%, transparent 72%);
  opacity: 0.45;
  transform-origin: center top;
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  0% { transform: perspective(600px) rotateX(58deg) translateY(0); }
  100% { transform: perspective(600px) rotateX(58deg) translateY(72px); }
}

.hero-beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(180, 210, 255, 0.5), transparent);
  transform: translateX(-50%);
  filter: blur(0.5px);
  opacity: 0.5;
  animation: beam-pulse 5s ease-in-out infinite;
}

@keyframes beam-pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.65; }
}

.hero-floor {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 120%;
  height: 35%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 55% 100% at 50% 100%,
    rgba(120, 150, 220, 0.12) 0%,
    rgba(60, 80, 120, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 80px);
  min-height: calc(100svh - var(--header-h) - 80px);
  padding-right: min(36vw, 460px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(
      102deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.72) 28%,
      rgba(0, 0, 0, 0.28) 48%,
      rgba(0, 0, 0, 0.04) 62%,
      transparent 78%
    ),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-showcase {
  position: absolute;
  z-index: 1;
  right: -8%;
  top: calc(var(--header-h) + env(safe-area-inset-top) + 64px);
  width: min(74vw, 980px);
  height: clamp(440px, 62vh, 860px);
  transform: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease-cinematic) 0.25s;
}

body.is-loaded .hero-showcase {
  opacity: 1;
}

/* legacy class alias */
.hero-visual {
  position: absolute;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 8px 14px 8px 12px;
  border-radius: 100px;
  background: rgba(41, 151, 255, 0.1);
  border: 1px solid rgba(41, 151, 255, 0.25);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-cinematic) 0.15s, transform 1s var(--ease-cinematic) 0.15s;
}

body.is-loaded .hero-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(44px, 5.8vw, 80px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-cinematic), transform 1s var(--ease-cinematic);
}

body.is-loaded .hero-line:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
body.is-loaded .hero-line:nth-child(2) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
body.is-loaded .hero-line:nth-child(3) { transition-delay: 0.44s; opacity: 1; transform: translateY(0); }
body.is-loaded .hero-line:nth-child(4) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }

.hero-line--brand {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  letter-spacing: 0.18em;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #a8b4ff 50%, #6e8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-line--accent {
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 40%, #6e8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* FAQ — see assets/zerk-faq.css */

.hero-desc {
  color: var(--text-secondary);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-cinematic) 0.7s, transform 1s var(--ease-cinematic) 0.7s;
}

body.is-loaded .hero-desc { opacity: 1; transform: translateY(0); }
.hero-desc strong { color: var(--text-primary); font-weight: 600; }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-cinematic) 0.85s, transform 1s var(--ease-cinematic) 0.85s;
}

body.is-loaded .hero-buttons { opacity: 1; transform: translateY(0); }

.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  animation: hero-float 9s var(--ease-apple) infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-pedestal {
  position: absolute;
  bottom: 6%;
  left: 50%;
  width: 85%;
  height: 14%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(180, 200, 255, 0.35) 0%, transparent 72%);
  filter: blur(28px);
  border-radius: 50%;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring--1 {
  inset: 0;
  border: 1px dashed rgba(140, 170, 255, 0.22);
  box-shadow: inset 0 0 40px rgba(100, 140, 255, 0.06);
  animation: ring-spin 36s linear infinite;
  opacity: 0.6;
}

.hero-ring--2 {
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: ring-spin 24s linear infinite reverse;
}

.hero-ring--3 {
  inset: 26%;
  background: radial-gradient(circle, rgba(100, 140, 255, 0.1) 0%, transparent 68%);
  animation: ring-pulse 6s ease-in-out infinite;
}

@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

.hero-glow {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 140, 255, 0.45) 0%, transparent 68%);
  filter: blur(64px);
  animation: glow-breathe 7s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.18); opacity: 1; }
}

.hero-showcase img,
.hero-visual img {
  width: 112%;
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  margin-top: -2%;
  position: relative;
  z-index: 3;
  filter:
    drop-shadow(0 48px 80px rgba(0, 0, 0, 0.8))
    drop-shadow(0 0 80px rgba(120, 160, 255, 0.22))
    brightness(1.08)
    contrast(1.05);
  will-change: transform;
  transition: filter 0.6s var(--ease-cinematic);
}

.hero-scroll-hint {
  position: absolute;
  bottom: max(32px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  animation: hint-in 1s var(--ease-cinematic) 1.5s forwards, hint-bob 2.8s ease-in-out 2.5s infinite;
}

.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent);
}

@keyframes hint-in { to { opacity: 0.65; } }
@keyframes hint-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ——— Buttons ——— */
.btn {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  border-radius: 980px;
  padding: 14px 28px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: transform 0.4s var(--ease-cinematic), background 0.35s, box-shadow 0.35s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(41, 151, 255, 0.35);
}

.btn-primary:hover {
  background: #147ce5;
  box-shadow: 0 8px 32px rgba(41, 151, 255, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

/* ——— Scroll reveal ——— */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-cinematic), transform 0.9s var(--ease-cinematic);
}

[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

section { position: relative; z-index: 2; }

/* ——— Advantages ——— */
.advantages {
  padding: clamp(88px, 12vw, 140px) var(--space-page);
  max-width: var(--max-w);
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  border-radius: 24px;
  padding: 36px 32px;
}

.card h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ——— Catalog preview cards ——— */
.catalog-preview {
  padding: clamp(88px, 12vw, 140px) var(--space-page);
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}

.catalog-preview__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.catalog-preview__header .section-title { margin-bottom: 0; }

.catalog-preview__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: gap 0.35s var(--ease-cinematic), color 0.25s;
}

.catalog-preview__link:hover { color: var(--text-primary); gap: 14px; }

.catalog-preview__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.catalog-preview__track::-webkit-scrollbar { display: none; }

.catalog-preview-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(28px);
  transition:
    transform 0.65s var(--ease-cinematic),
    box-shadow 0.5s,
    border-color 0.4s,
    opacity 0.6s;
}

.catalog-preview-card.is-visible { opacity: 1; transform: translateY(0); }

.catalog-preview-card__img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(40, 44, 58, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.catalog-preview-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.catalog-preview-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic), filter 0.5s;
  filter: brightness(1.04) contrast(1.02);
}

@media (hover: hover) {
  .catalog-preview-card:hover .catalog-preview-card__img img {
    transform: scale(1.06);
    filter: brightness(1.1) contrast(1.05);
  }
}

.catalog-preview-card__body { padding: 24px 28px 28px; position: relative; z-index: 2; }

.catalog-preview-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.catalog-preview-card__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.catalog-preview-card__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.catalog-preview__fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}

/* ——— Cinematic media section ——— */
.video-section {
  padding: clamp(88px, 12vw, 140px) var(--space-page);
  max-width: var(--max-w);
  margin: 0 auto;
}

.cinematic-block {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  height: clamp(420px, 56vw, 640px);
  background: #0a0a0c;
}

.cinematic-block__media {
  position: absolute;
  inset: 0;
}

.cinematic-block__media img,
.cinematic-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.1);
}

.cinematic-block__sheen {
  position: absolute;
  inset: -50%;
  background: var(--metallic-shine);
  opacity: 0.4;
  animation: sheen-pass 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes sheen-pass {
  0%, 100% { transform: translateX(-30%) rotate(12deg); opacity: 0.2; }
  50% { transform: translateX(30%) rotate(12deg); opacity: 0.5; }
}

.cinematic-block__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 5vw, 64px);
  z-index: 3;
}

.cinematic-block__overlay h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 720px;
}

/* ——— Footer ——— */
footer {
  padding: 64px var(--space-page);
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: -0.01em;
}

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-primary);
}

.footer-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.footer-channels a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-channels a:hover {
  color: var(--text-primary);
}

/* ——— Scrollbar ——— */
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: #0a0a0c; }
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #48484a 0%, #2c2c2e 100%);
  border-radius: 8px;
}

/* ——— Mobile ——— */
@media (max-width: 1068px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }

  header:not(.is-scrolled) {
    background: transparent;
    border-bottom: none;
  }

  .hero-inner {
    align-items: flex-start;
    justify-content: flex-start;
    padding-right: 0;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 28px);
    padding-bottom: max(96px, env(safe-area-inset-bottom));
    min-height: calc(100svh - var(--header-h));
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
    position: relative;
    z-index: 2;
  }

  .hero-showcase {
    left: 50%;
    right: auto;
    top: calc(var(--header-h) + env(safe-area-inset-top) + 8px);
    bottom: auto;
    width: min(100vw, 520px);
    max-width: 100vw;
    height: clamp(340px, 52svh, 560px);
    transform: translateX(-50%);
    align-items: center;
  }

  body.is-loaded .hero-showcase {
    transform: translateX(-50%);
  }

  .hero-showcase img {
    width: 110%;
    max-width: 100%;
    margin-top: 0;
  }

  .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.45) 42%,
        rgba(0, 0, 0, 0.88) 72%,
        #000 100%
      ),
      linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 72%);
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .hero-buttons .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-buttons .btn-primary {
    flex: 1 1 100%;
  }
  .hero-grid { opacity: 0.2; }
  .hero-beam { display: none; }

  .advantages,
  .catalog-preview,
  .video-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-title {
    font-size: clamp(32px, 8vw, 40px);
    text-align: center;
    margin-bottom: 40px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    border-radius: 20px;
    padding: 28px 24px;
    text-align: left;
  }

  @media (hover: hover) {
    .card:hover { transform: none; }
  }

  .catalog-preview__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .catalog-preview__track {
    gap: 16px;
    margin: 0 calc(-1 * var(--space-page));
    padding-left: var(--space-page);
    padding-right: var(--space-page);
    scroll-padding-left: var(--space-page);
  }

  .catalog-preview-card {
    flex: 0 0 min(300px, 88vw);
    border-radius: 20px;
  }

  @media (hover: hover) {
    .catalog-preview-card:hover { transform: none; }
  }

  .catalog-preview__fade { display: none; }

  .cinematic-block {
    height: min(72vh, 520px);
    border-radius: 20px;
  }

  .cinematic-block__overlay {
    padding: 28px 24px;
    justify-content: flex-end;
  }

  .cinematic-block__overlay h2 { text-align: center; max-width: 100%; }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Контент виден сразу (без ожидания JS-анимации) */
  body:not(.is-loaded) .hero-eyebrow,
  body:not(.is-loaded) .hero-line,
  body:not(.is-loaded) .hero-desc,
  body:not(.is-loaded) .hero-buttons,
  body:not(.is-loaded) .hero-showcase {
    opacity: 1;
    transform: none;
  }

  [data-reveal],
  .catalog-preview-card {
    opacity: 1;
    transform: none;
    translate: none;
  }

  /* Меньше нагрузки на GPU */
  .bg-sweep,
  .hero-grid,
  .hero-stage,
  .hero-ring--1,
  .hero-ring--2,
  .hero-ring--3,
  .hero-glow {
    animation: none !important;
  }

  .hero-showcase img {
    will-change: auto;
  }

  .hero-showcase {
    width: min(100vw, 520px);
    max-width: 100vw;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  body.is-loaded .hero-showcase {
    transform: translateX(-50%);
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  .btn,
  .menu-toggle,
  .mobile-dock__item,
  .mobile-menu a {
    touch-action: manipulation;
  }
}

@media (max-width: 734px) {
  :root { --header-h: 48px; }
  .hero { padding-bottom: 88px; }
  .hero-scroll-hint { display: none; }

  .hero-showcase {
    height: clamp(320px, 50svh, 480px);
    width: min(100vw, 480px);
    max-width: 100vw;
    transform: translateX(-50%);
  }

  body.is-loaded .hero-showcase {
    transform: translateX(-50%);
  }

  .hero-showcase img {
    width: 110%;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 44px);
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-buttons .btn-secondary {
    flex: 1 1 calc(50% - 6px);
    padding-left: 12px;
    padding-right: 12px;
    font-size: 13px;
  }
}

@media (min-width: 1400px) {
  .hero-showcase {
    right: -4%;
    width: min(68vw, 1040px);
    height: clamp(480px, 64vh, 920px);
  }

  .hero-inner {
    padding-right: min(40vw, 500px);
  }

  .hero-showcase img {
    width: 115%;
  }
}

@media (min-width: 1069px) {
  .mobile-menu { display: none !important; }
}

/* Каталог: шапка всегда непрозрачная, контент не наезжает на лого и меню */
.catalog-page header {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.catalog-page .header-nav a[href="/collection"] {
  color: var(--text-muted);
  pointer-events: none;
  opacity: 0.55;
}

.catalog-hero {
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 80px) var(--space-page) 64px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.catalog-page .catalog-hero {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 72px);
}

.catalog-page .catalog-hero::before {
  content: '';
  display: block;
  height: 1px;
  margin-bottom: 36px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent);
}

@keyframes catalog-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.catalog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  animation: catalog-fade-up 0.9s var(--ease-cinematic) 0.1s both;
}

.catalog-page .catalog-eyebrow {
  margin-top: 0;
}

.catalog-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35));
}

.catalog-hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 20px;
  animation: catalog-fade-up 0.95s var(--ease-cinematic) 0.2s both;
}

.catalog-hero p {
  max-width: 520px;
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 48px;
  animation: catalog-fade-up 0.95s var(--ease-cinematic) 0.35s both;
}

.catalog-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  animation: catalog-fade-up 0.95s var(--ease-cinematic) 0.5s both;
}

.stat-value {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stat-suffix { font-size: 0.55em; color: var(--text-muted); font-weight: 500; }

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.catalog-toolbar {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0) + 12px);
  z-index: 50;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 var(--space-page);
}

.catalog-page .catalog-toolbar {
  margin-top: 8px;
}

.toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 20px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
}

.filter-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 980px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.25s;
  position: relative;
  z-index: 1;
}

.filter-btn:hover { color: var(--text-primary); }
.filter-btn.is-active { color: #000; }

.filter-indicator {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 980px;
  background: var(--text-primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  transition: transform 0.5s var(--ease-cinematic), width 0.5s var(--ease-cinematic), height 0.5s var(--ease-cinematic);
  z-index: 0;
  pointer-events: none;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 200px;
}

.catalog-search input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.catalog-search input::placeholder { color: var(--text-muted); }
.catalog-search svg { flex-shrink: 0; opacity: 0.45; }

.catalog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-page) 100px;
}

.catalog-layout {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.catalog-layout.is-hidden { display: none; }

.catalog-family {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-family.is-hidden { display: none; }

.catalog-family__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.catalog-family__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.catalog-family__subtitle {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.catalog-family__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.catalog-card__blade {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
}

.catalog-card__model {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.catalog-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.catalog-coming-soon {
  display: none;
  text-align: center;
  padding: 72px 24px;
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
}

.catalog-coming-soon.is-shown { display: block; }

.catalog-coming-soon strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.catalog-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 50%;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  opacity: 0;
  translate: 0 32px;
}

.catalog-card.is-visible {
  opacity: 1;
  translate: 0 0;
  transition:
    transform 0.4s var(--ease-cinematic),
    box-shadow 0.5s,
    border-color 0.4s,
    opacity 0.55s var(--ease-cinematic),
    translate 0.65s var(--ease-cinematic);
}

.catalog-card.is-hidden { display: none; }

@media (hover: hover) and (pointer: fine) {
  .catalog-card:hover {
    transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(-8px);
  }
}

.catalog-card__shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(
    circle 140px at var(--shine-x) var(--shine-y),
    rgba(255, 255, 255, 0.16) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.catalog-card:hover .catalog-card__shine { opacity: 1; }

.catalog-card__sweep {
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-16deg);
  z-index: 4;
  pointer-events: none;
  transition: left 0.7s var(--ease-cinematic);
}

.catalog-card:hover .catalog-card__sweep { left: 130%; }

.catalog-card__media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 33, 45, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-cinematic), filter 0.45s;
  filter: brightness(1.04);
}

/* Каталожные фото с подписью (IL-03 и др.) */
.catalog-card__img--catalog,
.catalog-preview-card__img .catalog-card__img--catalog {
  object-fit: contain;
  object-position: center;
  background: #0a0a0c;
}

.catalog-preview-card__img img.catalog-card__img--catalog {
  object-fit: contain;
  background: #0a0a0c;
}

.catalog-card:hover .catalog-card__media img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.catalog-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

.catalog-card__badge--hit {
  background: var(--text-primary);
  color: #000;
  border-color: transparent;
}

.catalog-card__body {
  padding: 22px 24px 22px;
  position: relative;
  z-index: 2;
}

.catalog-card__code {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.catalog-card__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.catalog-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 14px;
  padding-right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.catalog-card__price {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-left: auto;
}

.catalog-card__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.catalog-card__cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s;
}

.catalog-card:hover .catalog-card__cta { gap: 8px; }

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
  display: none;
}

.catalog-empty.is-shown { display: block; }

.catalog-cta {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 var(--space-page);
}

.catalog-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px 56px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.catalog-cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(120, 160, 255, 0.1) 0%, transparent 55%);
  animation: cta-glow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cta-glow {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.catalog-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  position: relative;
}

.catalog-cta p {
  color: var(--text-secondary);
  margin-top: 8px;
  position: relative;
  font-size: 17px;
}

.btn-order {
  position: relative;
  padding: 14px 28px;
  border-radius: 980px;
  background: var(--text-primary);
  color: #000;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-cinematic), box-shadow 0.35s;
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.12);
}

.btn-order--vk {
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.35) 0%, rgba(76, 117, 163, 0.25) 100%);
  border: 1px solid rgba(81, 129, 184, 0.45);
  color: #e8f0fa;
}

.btn-order--wa {
  background: linear-gradient(135deg, rgba(48, 209, 88, 0.22) 0%, rgba(28, 140, 60, 0.18) 100%);
  border: 1px solid rgba(48, 209, 88, 0.4);
  color: #e8f8ec;
}

.btn-order:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.18);
}

.catalog-page footer {
  text-align: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .catalog-page .catalog-hero {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 56px);
  }

  .catalog-page .catalog-hero::before {
    margin-bottom: 24px;
  }

  .catalog-page .catalog-hero h1 {
    font-size: clamp(36px, 9vw, 48px);
  }

  .catalog-hero { text-align: center; }
  .catalog-hero p { margin-left: auto; margin-right: auto; }
  .catalog-stats { justify-content: center; gap: 32px; }
  .catalog-toolbar { top: calc(var(--header-h) + env(safe-area-inset-top, 0) + 8px); }
  .toolbar-inner {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }
  .filter-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filter-group::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; font-size: 11px; padding: 10px 14px; }
  .catalog-search { min-width: 100%; }
  .catalog-grid { grid-template-columns: 1fr; gap: 12px; }
  .catalog-card:hover { transform: none; }
  .catalog-cta__inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    border-radius: 20px;
  }
  .btn-order { width: 100%; }
}

/* ——— Product page ——— */
.product-page header {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 32px) 24px 80px;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.product-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.product-breadcrumb a:hover { color: var(--text-primary); }

.product-article {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.6s var(--ease-cinematic), translate 0.65s var(--ease-cinematic);
}

.product-article.is-visible {
  opacity: 1;
  translate: 0 0;
}

.product-article__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 32px 28px;
  background: rgba(0, 0, 0, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.product-article__media img {
  width: 100%;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.product-article__content {
  padding: 40px 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-article__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.product-article__title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 14px;
}

.product-article__price {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: -6px 0 16px;
}

.product-article__lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 24px;
  max-width: 42em;
}

.product-specs {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.product-specs__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-specs__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-specs__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.product-details {
  margin-bottom: 28px;
}

.product-details p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.product-details p:last-child { margin-bottom: 0; }

.product-variants {
  margin-bottom: 28px;
}

.product-variants__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.product-variants__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-variants__divider {
  flex: 0 0 100%;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-variant {
  padding: 10px 18px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.product-variant:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.22);
}

.product-variant.is-active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.product-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.product-actions__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-actions__channels .btn-order {
  flex: 1 1 200px;
  text-align: center;
  justify-content: center;
}

.product-actions__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.product-ai-snippet {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  background: rgba(110, 140, 255, 0.06);
  border: 1px solid rgba(110, 140, 255, 0.12);
}

.product-ai-snippet code {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.catalog-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.catalog-cta__actions .btn-order {
  flex: 1 1 160px;
}

.product-actions__back {
  flex: 0 1 auto;
}

.product-not-found {
  text-align: center;
  padding: 64px 32px;
  border-radius: 24px;
  max-width: 480px;
  margin: 48px auto 0;
}

.product-not-found h1 {
  font-size: 28px;
  margin: 0 0 12px;
}

.product-not-found p {
  color: var(--text-muted);
  margin: 0 0 24px;
}

@media (max-width: 900px) {
  .product-article {
    grid-template-columns: 1fr;
  }

  .product-article__media {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 280px;
    padding: 24px 20px;
  }

  .product-article__content {
    padding: 28px 24px 32px;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions__channels,
  .product-actions__channels .btn-order,
  .product-actions__back {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .catalog-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .catalog-cta__actions .btn-order {
    width: 100%;
  }
}

/* ——— ZERK TOOL: URL architecture / nav ——— */
.site-header--sticky {
  position: sticky;
  top: 0;
  z-index: 8000;
}

.logo__mark {
  font-weight: 700;
  letter-spacing: 0.18em;
}

.logo__sub {
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: 0.28em;
  opacity: 0.45;
  font-weight: 500;
}

.nav-mega {
  position: relative;
}

.nav-mega__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.nav-mega__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: min(520px, 92vw);
  padding: 16px;
  border-radius: 16px;
  background: rgba(14, 14, 16, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
}

.nav-mega__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.nav-mega__link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.2s;
}

.nav-mega__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-mega__link-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
}

.nav-mega__link-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.nav-mega__all {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #8eb5e8;
  text-decoration: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text-primary);
}

.category-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--header-h) + 32px) 24px 40px;
}

.category-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.category-hero__intro {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 16px 0 24px;
}

.category-grid-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .catalog-page .category-grid-section {
    padding-bottom: max(100px, calc(env(safe-area-inset-bottom) + 88px));
  }
}

.category-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto 32px;
  padding: 0 24px;
}

.category-link-card {
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.35s var(--ease-cinematic);
}

.category-link-card:hover {
  transform: translateY(-4px);
}

.category-link-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.category-link-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.category-link-card__cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: #8eb5e8;
}

.category-cross {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.category-cross__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.category-cross__card {
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
}

.category-static-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 32px;
}

.category-static {
  padding: 28px;
  border-radius: 16px;
}

.category-static h2 {
  margin: 0 0 12px;
}

.category-static p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-related {
  max-width: 960px;
  margin: 32px auto 0;
  padding: 0 24px;
}

.product-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.product-related__card {
  padding: 12px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-related__card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.product-related__card strong {
  color: #5fe87a;
  font-size: 14px;
}

.zerk-add-btn--inline {
  position: static;
  width: 100%;
  margin: 16px 0;
  opacity: 1;
  transform: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
}

.mobile-dock {
  display: none;
}

@media (max-width: 900px) {
  .nav-mega {
    display: none;
  }

  .header-nav > a:not(.phone) {
    display: none;
  }

  body.catalog-page,
  body.product-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .mobile-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8400;
    justify-content: space-around;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    background: rgba(10, 10, 12, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
  }

  .mobile-dock__item {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 11px;
    padding: 8px 4px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
  }

  .mobile-dock__item span {
    display: block;
  }

  .mobile-dock__item--cart {
    color: #8eb5e8;
  }
}
