/* ═══════════════════════════════════════════════════════════════════
   STUDIO KODO v2 — Unbounded + Onest, scrub-by-scroll video hero
   ═══════════════════════════════════════════════════════════════════ */

/* ░░░ DESIGN TOKENS ░░░ */
:root {
  /* Colors */
  --bg: #0A0A0B;
  --surface: #131316;
  --surface-2: #1C1C20;
  --border: #26262B;
  --border-2: #34343B;

  --text: #F5F5F7;
  --text-muted: #9999A0;
  --text-dim: #5C5C63;

  --accent: #C9F95D;
  --accent-2: #B5E84A;
  --accent-dim: #94B844;

  --glow-sm: 0 0 20px rgba(201, 249, 93, 0.15);
  --glow-md: 0 0 40px rgba(201, 249, 93, 0.25);
  --glow-lg: 0 0 80px rgba(201, 249, 93, 0.35);
  --lift: 0 8px 32px rgba(0, 0, 0, 0.4);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.2s;
  --t-base: 0.4s;
  --t-slow: 0.7s;

  --container: 1280px;
  --pad-x: 20px;
  --section-py: 64px;

  /* Шрифты */
  --font-display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --font-body: 'Onest', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

@media (min-width: 640px) {
  :root { --pad-x: 32px; --section-py: 96px; }
}
@media (min-width: 1024px) {
  :root { --pad-x: 48px; --section-py: 128px; }
}

/* ░░░ RESET ░░░ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }
ul { list-style: none; }

::selection { background: var(--accent); color: var(--bg); }

/* ░░░ LAYOUT ░░░ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
}

/* ░░░ TYPOGRAPHY HELPERS ░░░ */
.section-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-caption::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.5vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 640px;
}
@media (min-width: 768px) {
  .section-sub { font-size: 1.125rem; }
}

.section-head { margin-bottom: 48px; }
@media (min-width: 768px) { .section-head { margin-bottom: 72px; } }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.section-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.section-link:hover { border-color: var(--accent); }

/* ░░░ BUTTONS ░░░ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
  user-select: none;
  position: relative;
}
.btn-sm { min-height: 44px; padding: 11px 20px; font-size: 0.9375rem; }
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: var(--glow-md);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cursor.active { opacity: 1; }

.cursor-dot {
  position: absolute;
  top: -3px; left: -3px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.15s var(--ease-out);
}
.cursor-ring {
  position: absolute;
  top: -16px; left: -16px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201, 249, 93, 0.5);
  border-radius: 50%;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              top 0.3s var(--ease-out), left 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out),
              background 0.3s var(--ease-out);
}
.cursor.hover .cursor-ring {
  width: 56px;
  height: 56px;
  top: -28px;
  left: -28px;
  background: rgba(201, 249, 93, 0.08);
  border-color: var(--accent);
}
.cursor.hover .cursor-dot {
  transform: scale(1.8);
}

/* Скрыть кастомный курсор на тач-устройствах */
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0);
  backdrop-filter: blur(0);
  transition: background var(--t-base) var(--ease),
              backdrop-filter var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
@media (min-width: 1024px) { .hdr-inner { height: 76px; } }

.hdr-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0;
}
.hdr-logo-mark {
  color: var(--accent);
  font-size: 1.25rem;
  text-shadow: 0 0 12px rgba(201, 249, 93, 0.6);
  transition: transform var(--t-base) var(--ease-out);
  line-height: 1;
}
.hdr-logo:hover .hdr-logo-mark { transform: rotate(45deg); }
.hdr-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.hdr-logo-sup {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hdr-logo-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.hdr-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 1024px) { .hdr-nav { display: flex; } }
.hdr-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
  position: relative;
}
.hdr-nav a:hover { color: var(--text); }
.hdr-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base) var(--ease-out);
}
.hdr-nav a:hover::after { transform: scaleX(1); }

.hdr-cta { display: none; }
@media (min-width: 1024px) { .hdr-cta { display: inline-flex; } }

.hdr-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 12px;
  margin-right: -10px;
}
@media (min-width: 1024px) { .hdr-burger { display: none; } }
.hdr-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease-out);
  transform-origin: center;
}
.hdr-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hdr-burger.open span:nth-child(2) { opacity: 0; }
.hdr-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.hdr-mobile {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 32px var(--pad-x);
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease-out);
  z-index: 99;
  overflow-y: auto;
}
.hdr-mobile.open { transform: translateX(0); }
.hdr-mobile nav { display: flex; flex-direction: column; gap: 4px; }
.hdr-mobile nav a {
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.hdr-mobile-cta {
  color: var(--accent) !important;
  margin-top: 16px;
  border-bottom: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLL HERO — Видео + текст по скроллу
   ═══════════════════════════════════════════════════════════════════ */
.scroll-hero {
  position: relative;
  height: 400vh; /* высота скролла = 4 экрана */
}

.scroll-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.scroll-hero-video-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  top: 0; left: 0;
}

.scroll-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.scroll-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 0%, rgba(10, 10, 11, 0) 50%, rgba(10, 10, 11, 0.3) 100%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.scroll-hero-sticky.active .scroll-hero-overlay {
  opacity: 1;
}

.scroll-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.scroll-hero-sticky.text-stage .scroll-hero-grid {
  opacity: 1;
}
#gridCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.scroll-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.scroll-hero-sticky.text-stage .scroll-hero-content {
  opacity: 1;
  pointer-events: auto;
}

.scroll-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
}
@media (min-width: 1024px) {
  .scroll-hero-inner {
    grid-template-columns: minmax(280px, 1fr) 1.4fr;
    gap: 80px;
    align-items: center;
  }
}

.scroll-hero-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scroll-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.scroll-hero-logo {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 13vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text);
  padding-bottom: 0.08em;
  overflow: visible;
}

.scroll-hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scroll-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.scroll-hero-title .accent {
  color: var(--accent);
}
.scroll-hero-title .nowrap {
  white-space: nowrap;
}

.scroll-hero-sub {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 500px;
}
@media (min-width: 768px) {
  .scroll-hero-sub { font-size: 1.0625rem; }
}

.scroll-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Подсказка про скролл, видна только до начала анимации */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.scroll-hero-sticky.scrolled .scroll-hint {
  opacity: 0;
}
.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.scroll-hint-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint-line::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
  background: rgba(255, 255, 255, 0.9);
  animation: scrollLine 1.6s linear infinite;
}
@keyframes scrollLine {
  0% { top: -16px; }
  100% { top: 32px; }
}

/* ═══════════════════════════════════════════════════════════════════
   METRICS
   ═══════════════════════════════════════════════════════════════════ */
.metrics {
  background: var(--bg);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .metrics { padding: 64px 0; }
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.metric-lbl {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.35;
}
@media (min-width: 768px) {
  .metric-lbl { font-size: 0.9375rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   NICHES — Sticky-заголовок + список с hover
   ═══════════════════════════════════════════════════════════════════ */
.niches-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .niches-wrap {
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
  }
}

.niches-sticky {
  position: relative;
}
@media (min-width: 1024px) {
  .niches-sticky {
    position: sticky;
    top: 120px;
  }
}

.niches-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.niche-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base) var(--ease);
  position: relative;
}
@media (min-width: 640px) {
  .niche-row { gap: 32px; padding: 32px 0; }
}
.niche-row::before {
  content: '';
  position: absolute;
  inset: 0 -16px;
  background: linear-gradient(90deg, rgba(201, 249, 93, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
  border-radius: var(--r-md);
}
.niche-row:hover::before { opacity: 1; }

.niche-row-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  width: 32px;
}

.niche-row-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.niche-row-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.niche-row-body p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 540px;
}
@media (min-width: 768px) {
  .niche-row-body p { font-size: 1rem; }
}

.niche-row-tag {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .niche-row-tag { display: inline-flex; align-items: center; }
}

.niche-row-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   CASES
   ═══════════════════════════════════════════════════════════════════ */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}
.case-card:hover {
  border-color: var(--border-2);
  transform: translateY(-6px);
  box-shadow: var(--lift);
}

.case-card-preview {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.case-card-mock {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-out);
}
.case-card:hover .case-card-mock {
  transform: scale(1.05);
}
.case-card-mock[data-mock="barber"] {
  background:
    linear-gradient(135deg, rgba(201, 249, 93, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(232, 197, 71, 0.15) 0%, transparent 50%),
    repeating-linear-gradient(45deg, #1a1a1a 0, #1a1a1a 2px, #18181b 2px, #18181b 8px);
}
.case-card-mock[data-mock="dental"] {
  background:
    linear-gradient(135deg, rgba(201, 249, 93, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(75, 156, 211, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #1f2937 0%, #111827 100%);
}
.case-card-mock[data-mock="beauty"] {
  background:
    linear-gradient(135deg, rgba(201, 249, 93, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 60% 40%, rgba(232, 180, 184, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, #2a1f2a 0%, #1a1418 100%);
}
.case-card-mock[data-mock="auto"] {
  background:
    linear-gradient(135deg, rgba(201, 249, 93, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(249, 115, 22, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #15202b 0%, #0d1620 100%);
}
.case-card-mock::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(245, 245, 247, 0.1);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.03) 0%, transparent 100%);
}

.case-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201, 249, 93, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  mix-blend-mode: screen;
  pointer-events: none;
}
.case-card:hover .case-card-glow {
  opacity: 1;
}

.case-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) { .case-card-body { padding: 32px; } }

.case-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-card-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.case-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (min-width: 768px) { .case-card-title { font-size: 1.5rem; } }

.case-card-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.case-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.case-card-meta .dot { opacity: 0.5; }

/* ═══════════════════════════════════════════════════════════════════
   TARIFFS
   ═══════════════════════════════════════════════════════════════════ */
.tariffs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .tariffs-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
}
@media (min-width: 1024px) { .tariffs-grid { gap: 24px; } }

.tariff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: all var(--t-base) var(--ease-out);
}
@media (min-width: 1024px) { .tariff-card { padding: 40px 32px; } }
.tariff-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}

.tariff-card-featured {
  border-color: rgba(201, 249, 93, 0.4);
  background: linear-gradient(180deg, rgba(201, 249, 93, 0.04) 0%, var(--surface) 100%);
  box-shadow: var(--glow-sm);
}
.tariff-card-featured:hover { box-shadow: var(--glow-md); }

.tariff-card-badge {
  position: absolute;
  top: -10px;
  right: 24px;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
}

.tariff-card-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.tariff-card-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tariff-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tariff-card-amount {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
}
.tariff-card-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tariff-card-deadline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.tariff-card-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.tariff-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.tariff-card-list li {
  font-size: 0.9375rem;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
  color: var(--text);
}
.tariff-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.tariff-card-btn {
  width: 100%;
  margin-top: auto;
}

.tariffs-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.tariffs-note svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════════
   WHY
   ═══════════════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  position: relative;
  transition: transform var(--t-base) var(--ease-out);
}
.why-card:hover {
  transform: translateY(-4px);
}
.why-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--accent);
  transition: width var(--t-base) var(--ease-out);
}
.why-card:hover::before { width: 100%; }
.why-card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.why-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.why-card-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════════ */
.process-list {
  display: flex;
  flex-direction: column;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: padding var(--t-base) var(--ease);
}
@media (min-width: 768px) {
  .process-step {
    grid-template-columns: 80px 1fr;
    gap: 48px;
    padding: 40px 0;
  }
}
.process-step:last-child { border-bottom: none; }
.process-step:first-child { padding-top: 0; }
.process-step:hover { padding-left: 16px; }

.process-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
@media (min-width: 768px) { .process-step-num { font-size: 3.5rem; } }

.process-step-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .process-step-title { font-size: 1.625rem; } }

.process-step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 720px;
}

.process-step-time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  max-width: 900px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--t-fast) var(--ease);
}
@media (min-width: 768px) {
  .faq-item summary { font-size: 1.1875rem; padding: 28px 0; }
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--t-base) var(--ease-out);
}
.faq-icon::before {
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%; top: 0;
  height: 100%; width: 1.5px;
  transform: translateX(-50%);
}
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); }

.faq-answer {
  padding: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.faq-answer p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-wrap { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.contact-left .section-title { margin-bottom: 24px; }

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
}
.contact-channel:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateX(4px);
}
.contact-channel svg { color: var(--accent); flex-shrink: 0; }
.contact-channel-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.contact-channel-val {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) { .contact-form { padding: 40px; } }

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.contact-form-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 8px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input {
  height: 56px;
  padding: 0 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 16px;
  transition: border-color var(--t-fast) var(--ease);
}
.form-field input::placeholder { color: var(--text-dim); }
.form-field input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-submit { width: 100%; margin-top: 4px; }
.form-note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-dim);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 2fr; gap: 64px; }
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
}
.footer-logo-mark {
  color: var(--accent);
  font-size: 1.75rem;
  text-shadow: 0 0 12px rgba(201, 249, 93, 0.6);
  line-height: 1;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.footer-logo-sup {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-logo-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-ttl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.footer-divider {
  color: var(--text-dim);
  opacity: 0.5;
}
[data-business-inn] { font-family: var(--font-mono); }

/* ═══════════════════════════════════════════════════════════════════
   FORM CONSENT CHECKBOX
   ═══════════════════════════════════════════════════════════════════ */
.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  margin-top: 4px;
  padding: 4px 0;
}
.form-consent input[type="checkbox"] {
  appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-2);
  border-radius: 4px;
  background: var(--bg);
  margin-top: 2px;
  cursor: pointer;
  position: relative;
  transition: all var(--t-fast) var(--ease);
}
.form-consent input[type="checkbox"]:hover {
  border-color: var(--accent);
}
.form-consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.form-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: rotate(45deg);
}
.form-consent span {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.form-consent a {
  color: var(--text);
  border-bottom: 1px solid var(--border-2);
  transition: border-color var(--t-fast) var(--ease);
}
.form-consent a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 200;
  background: rgba(19, 19, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--lift);
  animation: cookieSlideIn 0.5s var(--ease-out);
}
@media (min-width: 768px) {
  .cookie-banner {
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 720px;
    padding: 20px 24px;
  }
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 640px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
}
.cookie-banner-inner p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  flex-grow: 1;
}
.cookie-banner-inner a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.cookie-banner-inner a:hover {
  border-color: var(--accent);
}
.cookie-banner button {
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }

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

/* ═══════════════════════════════════════════════════════════════════
   INNER PAGES (portfolio, case, legal, 404)
   ═══════════════════════════════════════════════════════════════════ */
.inner-main {
  padding-top: 100px;
}
@media (min-width: 1024px) {
  .inner-main { padding-top: 120px; }
}

.back-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
}
.back-link:hover { color: var(--accent); }

.inner-hero { padding-bottom: 32px; }

/* ─── PORTFOLIO LIST ───────────────────────────────── */
.portfolio-list { padding-top: 0; }
.cases-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .cases-grid-full { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 1280px) {
  .cases-grid-full { grid-template-columns: repeat(3, 1fr); }
}

.case-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.case-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── CASE DETAIL ──────────────────────────────────── */
.case-detail-head {
  margin: 32px 0 48px;
}
.case-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.case-detail-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.case-detail-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.case-detail-lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 800px;
}

.case-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .case-detail-meta { grid-template-columns: repeat(5, 1fr); gap: 32px; }
}
.case-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-meta-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.case-meta-val {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.case-result {
  background: var(--surface);
  border: 1px solid rgba(201, 249, 93, 0.3);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--glow-sm);
}
.case-result-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.case-result-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.3;
}

.case-screenshots {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 64px;
}
.case-screenshot {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.case-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}
.case-screenshots-empty {
  padding: 60px 24px;
  background: var(--surface);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 64px;
}

/* ─── CTA ROW ──────────────────────────────────────── */
.cta-row {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201, 249, 93, 0.06) 0%, transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta-row-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* ─── LEGAL DOCS ───────────────────────────────────── */
.legal-doc {
  max-width: 800px;
  padding-top: 32px;
  padding-bottom: 80px;
}
.legal-head {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  margin-top: 24px;
}
.legal-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
}
.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 40px 0 16px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 16px; }
.legal-body ul { margin: 16px 0 16px 24px; padding-left: 0; list-style-type: disc; }
.legal-body li { margin-bottom: 8px; padding-left: 4px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.legal-body a:hover { border-color: var(--accent); }

.legal-contacts { list-style: none !important; margin-left: 0 !important; }
.legal-contacts li::before { content: ''; }

.mono { font-family: var(--font-mono); }

/* ─── 404 / 500 ────────────────────────────────────── */
.error-main {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 100px 0 40px;
}
.error-inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 0 60px rgba(201, 249, 93, 0.25);
}
.error-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.error-text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
