/* ==========================================================================
   Jify Studio — лендинг
   Тёмная тема, акцент #4f8cff, фиолетовый #8b5cf6.
   Порядок: токены → база → шапка → hero → секции → кейсы → контакты →
   подвал → анимации → адаптивность.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Токены
   -------------------------------------------------------------------------- */
:root {
  --bg: #06080f;
  --bg-elevated: #0a0f1c;
  --surface: rgba(16, 23, 40, 0.72);
  --surface-solid: #101625;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f4f6ff;
  --muted: #9aa5bf;
  --muted-2: #6e7a96;

  --accent: #4f8cff;
  --accent-2: #8b5cf6;
  --accent-3: #22d3ee;
  --green: #3ddc97;
  --amber: #ffb86b;
  --danger: #ff6b8a;

  --gradient: linear-gradient(120deg, #4f8cff 0%, #8b5cf6 55%, #c084fc 100%);
  --gradient-soft: linear-gradient(135deg, rgba(79, 140, 255, 0.16), rgba(139, 92, 246, 0.16));

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1180px;
  --header-h: 72px;

  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 20px 60px -20px rgba(79, 140, 255, 0.55);
}

/* --------------------------------------------------------------------------
   2. База
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(79, 140, 255, 0.35);
  color: #fff;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 118px);
}

.section--tight {
  padding-block: clamp(56px, 7vw, 88px);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

/* --------------------------------------------------------------------------
   3. Фон
   -------------------------------------------------------------------------- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1100px 650px at 82% -12%, rgba(79, 140, 255, 0.2), transparent 65%),
    radial-gradient(850px 520px at -5% 24%, rgba(139, 92, 246, 0.14), transparent 65%),
    var(--bg);
}

.site-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.site-orb--blue {
  width: 460px;
  height: 460px;
  top: -160px;
  right: 8%;
  background: rgba(79, 140, 255, 0.35);
}

.site-orb--violet {
  width: 380px;
  height: 380px;
  top: 42%;
  left: -140px;
  background: rgba(139, 92, 246, 0.24);
  animation-delay: -7s;
}

.site-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, #000 10%, transparent 78%);
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   4. Кнопки и бейджи
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow:
    0 14px 32px -16px rgba(79, 140, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn--primary:hover {
  box-shadow:
    0 20px 44px -16px rgba(79, 140, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--primary:hover .icon {
  transform: translateX(3px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn--sm {
  padding: 10px 17px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.btn--lg {
  padding: 16px 26px;
  font-size: 0.98rem;
  border-radius: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(79, 140, 255, 0.28);
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.08);
  color: #9fc0ff;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.14);
}

.eyebrow-extra {
  white-space: nowrap;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   5. Шапка
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(6, 8, 15, 0.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 8, 15, 0.86);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 10px;
}

.brand-mark {
  width: 32px;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(79, 140, 255, 0.3));
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.brand-word em {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.2vw, 16px);
}

.nav-link {
  position: relative;
  padding: 9px 6px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
  margin-top: 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.nav-toggle-box {
  display: grid;
  gap: 5px;
  width: 19px;
  margin-inline: auto;
}

.nav-toggle-box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 5, 10, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 7vw, 88px) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.hero-copy {
  max-width: 640px;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(2.5rem, 4.6vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 540px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.visual-glow {
  position: absolute;
  inset: 6% -4% 4% 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(79, 140, 255, 0.24), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}

.browser-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 550px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(19, 27, 48, 0.97), rgba(7, 11, 22, 0.99));
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.browser-dots span:first-child { background: rgba(255, 107, 138, 0.7); }
.browser-dots span:nth-child(2) { background: rgba(255, 184, 107, 0.7); }
.browser-dots span:nth-child(3) { background: rgba(61, 220, 151, 0.7); }

.browser-url {
  color: var(--muted-2);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.browser-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 600;
}

.browser-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.12);
}

.browser-body {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 342px;
}

.browser-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.side-logo {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
}

.side-item {
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.side-item--active {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(79, 140, 255, 0.6);
}

.side-avatar {
  width: 20px;
  height: 20px;
  margin-top: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.5), rgba(139, 92, 246, 0.5));
}

.browser-main {
  padding: 18px 100px 18px 18px;
}

.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.dash-kicker {
  color: var(--muted-2);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dash-head h2,
.dash-title {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 4px 8px;
  border: 1px solid rgba(79, 140, 255, 0.2);
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.1);
  color: #9fc0ff;
  font-size: 0.56rem;
}

.dash-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8px;
}

.dash-card {
  display: flex;
  flex-direction: column;
  min-height: 68px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.dash-card--wide {
  grid-row: span 2;
  min-height: 144px;
}

.dash-card > span {
  color: var(--muted-2);
  font-size: 0.55rem;
}

.dash-card strong {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.dash-card--wide strong {
  font-size: 1.5rem;
}

.dash-card small {
  color: var(--muted-2);
  font-size: 0.54rem;
}

.dash-up {
  color: var(--green) !important;
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-top: auto;
  padding-top: 8px;
}

.dash-chart i {
  flex: 1;
  height: 20%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.85), rgba(139, 92, 246, 0.18));
}

.dash-chart i:nth-child(1) { height: 34%; }
.dash-chart i:nth-child(2) { height: 52%; }
.dash-chart i:nth-child(3) { height: 44%; }
.dash-chart i:nth-child(4) { height: 66%; }
.dash-chart i:nth-child(5) { height: 58%; }
.dash-chart i:nth-child(6) { height: 78%; }
.dash-chart i:nth-child(7) { height: 72%; }
.dash-chart i:nth-child(8) { height: 92%; }
.dash-chart i:nth-child(9) { height: 84%; }
.dash-chart i:nth-child(10) { height: 100%; }

.dash-tasks {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.dash-task {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.6rem;
  color: #cdd6ea;
}

.task-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.task-dot--green { background: var(--green); }
.task-dot--blue { background: var(--accent); }
.task-dot--violet { background: var(--accent-2); }

.task-pill {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.1);
  color: #83e8bd;
  font-size: 0.5rem;
}

.task-pill--work {
  background: rgba(79, 140, 255, 0.12);
  color: #9fc0ff;
}

/* Телефон */
.phone-card {
  position: absolute;
  z-index: 3;
  right: -92px;
  bottom: -30px;
  width: 190px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: #05080e;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: phone-float 7s ease-in-out infinite alternate;
}

.phone-speaker {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 2;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: #020305;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  min-height: 360px;
  padding: 42px 13px 12px;
  border-radius: 24px;
  background:
    radial-gradient(220px 180px at 100% 0%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(200px 160px at 0% 20%, rgba(79, 140, 255, 0.25), transparent 70%),
    linear-gradient(165deg, #101a30, #070b14);
  overflow: hidden;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b8c3da;
  font-size: 0.55rem;
}

.phone-signal {
  letter-spacing: 0.1em;
  color: #8fa0c0;
}

.phone-greeting {
  margin-top: 18px;
  color: #c0cbdf;
  font-size: 0.62rem;
}

.phone-balance {
  margin-top: 4px;
}

.phone-balance > span {
  display: block;
  color: #7d8aa5;
  font-size: 0.52rem;
}

.phone-balance strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.phone-balance small {
  color: var(--green);
  font-size: 0.5rem;
}

.phone-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 52px;
  margin-top: 14px;
  padding-top: 6px;
}

.phone-chart i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.9), rgba(139, 92, 246, 0.16));
}

.phone-chart i:nth-child(1) { height: 32%; }
.phone-chart i:nth-child(2) { height: 46%; }
.phone-chart i:nth-child(3) { height: 38%; }
.phone-chart i:nth-child(4) { height: 62%; }
.phone-chart i:nth-child(5) { height: 55%; }
.phone-chart i:nth-child(6) { height: 76%; }
.phone-chart i:nth-child(7) { height: 70%; }
.phone-chart i:nth-child(8) { height: 88%; }

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 12px;
}

.phone-actions span {
  padding: 7px 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #dce5f7;
  font-size: 0.5rem;
  text-align: center;
}

.phone-actions span:first-child {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}

.phone-tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: 14px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.phone-tabbar i {
  width: 12px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.phone-tabbar i.is-active {
  background: var(--accent);
}

.float-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(11, 17, 31, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  animation: badge-float 6s ease-in-out infinite alternate;
}

.float-badge strong {
  display: block;
  font-size: 0.64rem;
  line-height: 1.3;
}

.float-badge small {
  display: block;
  color: var(--muted-2);
  font-size: 0.55rem;
  line-height: 1.3;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}

.float-icon svg {
  width: 15px;
  height: 15px;
}

.float-icon--tg {
  background: rgba(79, 140, 255, 0.16);
  color: #8fb7ff;
}

.float-icon--stack {
  background: rgba(139, 92, 246, 0.16);
  color: #c4a8ff;
}

.float-badge--tg {
  left: -26px;
  bottom: 104px;
  animation-delay: -2s;
}

.float-badge--stack {
  top: 18px;
  right: -14px;
}

.hero-tech {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.75rem;
}

.hero-tech-label {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-tech span:not(.hero-tech-label) {
  transition: color 0.2s var(--ease);
}

.hero-tech span:not(.hero-tech-label):hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   7. Заголовки секций
   -------------------------------------------------------------------------- */
.section-head {
  margin-bottom: clamp(34px, 4.5vw, 52px);
}

.section-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 32px;
  margin-top: 16px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.section-head--center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center p {
  margin: 14px auto 0;
}

.section-head--center h2 {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   8. Услуги
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(79, 140, 255, 0.07), transparent 70%),
    var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 140, 255, 0.32);
}

.service-card:hover::before {
  opacity: 1;
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  border: 1px solid var(--line);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-icon--blue {
  background: rgba(79, 140, 255, 0.12);
  color: #8fb7ff;
}

.service-icon--violet {
  background: rgba(139, 92, 246, 0.12);
  color: #c4a8ff;
}

.service-icon--cyan {
  background: rgba(34, 211, 238, 0.1);
  color: #7ee8f7;
}

.service-icon--amber {
  background: rgba(255, 184, 107, 0.1);
  color: #ffc98c;
}

.service-num {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 9px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tags li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
  font-size: 0.66rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. Процесс
   -------------------------------------------------------------------------- */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.process-step {
  position: relative;
  padding: 0 6px;
}

.process-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid rgba(79, 140, 255, 0.28);
  border-radius: 50%;
  background: #0b1120;
  color: #9fc0ff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 0 0 7px rgba(6, 8, 15, 0.9);
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.03rem;
  letter-spacing: -0.015em;
}

.process-step p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.process-time {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-2);
  font-size: 0.64rem;
}

/* --------------------------------------------------------------------------
   10. Кейсы
   -------------------------------------------------------------------------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.3);
}

.case-visual {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.6;
}

.case-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 25%, transparent, rgba(6, 8, 15, 0.5) 78%);
}

.case-visual--blue {
  background: linear-gradient(140deg, rgba(79, 140, 255, 0.34), rgba(14, 22, 42, 0.9) 70%);
}

.case-visual--violet {
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.34), rgba(18, 14, 34, 0.92) 70%);
}

.case-visual--cyan {
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.2), rgba(9, 25, 34, 0.94) 70%);
}

.case-visual--amber {
  background: linear-gradient(140deg, rgba(255, 184, 107, 0.2), rgba(31, 22, 12, 0.94) 70%);
}

.case-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(6, 8, 15, 0.55);
  backdrop-filter: blur(8px);
  color: #c9d3e8;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Мокапы в кейсах */
.case-phone {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: -28px;
  width: 128px;
  height: 196px;
  padding: 22px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px 24px 0 0;
  background: linear-gradient(160deg, #152139, #080c16);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8);
}

.case-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 34px;
  height: 4px;
  border-radius: 99px;
  background: #03050a;
  transform: translateX(-50%);
}

.case-phone-line {
  display: block;
  width: 46px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.case-phone strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

.case-phone-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 38px;
  margin-top: 12px;
}

.case-phone-bars i {
  flex: 1;
  height: 30%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #4f8cff, rgba(139, 92, 246, 0.2));
}

.case-phone-bars i:nth-child(1) { height: 30%; }
.case-phone-bars i:nth-child(2) { height: 52%; }
.case-phone-bars i:nth-child(3) { height: 42%; }
.case-phone-bars i:nth-child(4) { height: 72%; }
.case-phone-bars i:nth-child(5) { height: 100%; }

.case-phone-pill {
  display: block;
  width: 100%;
  height: 20px;
  margin-top: 14px;
  border-radius: 7px;
  background: rgba(79, 140, 255, 0.24);
}

.case-browser {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 22px;
  left: 26px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(8, 12, 22, 0.86);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.case-browser-bar {
  display: block;
  height: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.case-browser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 9px;
}

.case-browser-grid span {
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.22), rgba(255, 255, 255, 0.03));
}

.case-chat {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 7px;
}

.chat-bubble {
  width: fit-content;
  max-width: 88%;
  padding: 7px 10px;
  border-radius: 10px 10px 10px 3px;
  font-size: 0.62rem;
  line-height: 1.4;
}

.chat-bubble--bot {
  border: 1px solid rgba(79, 140, 255, 0.2);
  background: rgba(79, 140, 255, 0.12);
  color: #cfe0ff;
}

.chat-bubble--user {
  justify-self: end;
  border-radius: 10px 10px 3px 10px;
  background: rgba(139, 92, 246, 0.24);
  color: #eadfff;
}

.case-flow {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 30px;
}

.flow-node {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 10, 18, 0.7);
  color: #d6def0;
  font-size: 0.64rem;
}

.flow-node--accent {
  border-color: rgba(79, 140, 255, 0.4);
  background: rgba(79, 140, 255, 0.16);
  color: #cfe0ff;
  box-shadow: 0 0 24px rgba(79, 140, 255, 0.2);
}

.flow-arrow {
  color: var(--muted-2);
  font-size: 0.8rem;
}

.case-body {
  padding: clamp(20px, 2.6vw, 26px);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-body h3 {
  margin-top: 9px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.case-body > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.62;
}

.case-results {
  display: flex;
  gap: 30px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.case-results strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-results span {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.66rem;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   11. О студии
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.about-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  letter-spacing: -0.04em;
}

.about-copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-copy > p + p {
  margin-top: 12px;
}

.about-list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #c2cbdd;
  font-size: 0.87rem;
  line-height: 1.55;
}

.about-list svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--green);
}

.about-panel {
  display: grid;
  gap: 14px;
}

.about-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(139, 92, 246, 0.16), transparent 70%),
    linear-gradient(155deg, rgba(24, 30, 52, 0.9), rgba(10, 14, 26, 0.92));
  box-shadow: var(--shadow-md);
}

.about-quote {
  display: block;
  height: 24px;
  color: rgba(139, 92, 246, 0.7);
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.9;
}

.about-card > p {
  margin-top: 8px;
  color: #dbe2f2;
  font-size: 0.94rem;
  line-height: 1.7;
}

.about-author {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-author img {
  width: 30px;
  height: auto;
}

.about-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.84rem;
}

.about-author span {
  display: block;
  color: var(--muted-2);
  font-size: 0.7rem;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-facts div {
  padding: 15px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.about-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.about-facts span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.62rem;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   12. Контакты
   -------------------------------------------------------------------------- */
.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(79, 140, 255, 0.24);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(79, 140, 255, 0.2), transparent 65%),
    radial-gradient(600px 360px at 100% 100%, rgba(139, 92, 246, 0.18), transparent 65%),
    linear-gradient(150deg, #111932, #080c16 72%);
  box-shadow: var(--shadow-md);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.04em;
}

.contact-copy > p {
  max-width: 500px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-cards {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.contact-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

a.contact-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(79, 140, 255, 0.32);
  transform: translateX(3px);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.contact-icon svg {
  width: 17px;
  height: 17px;
}

.contact-icon--tg {
  background: rgba(79, 140, 255, 0.14);
  color: #8fb7ff;
}

.contact-icon--mail {
  background: rgba(139, 92, 246, 0.14);
  color: #c4a8ff;
}

.contact-icon--globe {
  background: rgba(34, 211, 238, 0.1);
  color: #7ee8f7;
}

.contact-text small {
  display: block;
  color: var(--muted-2);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-text strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact-text span {
  display: block;
  color: var(--muted-2);
  font-size: 0.64rem;
  line-height: 1.4;
}

.contact-arrow {
  width: 15px;
  height: 15px;
  color: var(--muted-2);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

a.contact-card:hover .contact-arrow {
  color: var(--accent);
  transform: translate(1px, -1px);
}

.contact-card--static {
  cursor: default;
}

/* --------------------------------------------------------------------------
   13. Подвал
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 12, 0.65);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.8fr);
  gap: 32px;
  padding-bottom: 38px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand > p {
  max-width: 330px;
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-nav > span,
.footer-contacts > span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-contacts a,
.footer-contacts p {
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: var(--text);
}

.footer-contacts p {
  margin: 2px 0 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   14. Анимации появления
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal="right"] {
  transform: translateX(26px);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.js [data-delay="1"] { --reveal-delay: 70ms; }
.js [data-delay="2"] { --reveal-delay: 140ms; }
.js [data-delay="3"] { --reveal-delay: 210ms; }
.js [data-delay="4"] { --reveal-delay: 280ms; }

@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, 30px, 0) scale(1.08); }
}

@keyframes phone-float {
  from { transform: translateY(0) rotate(-1deg); }
  to { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes badge-float {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   15. Адаптивность
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: 100%;
    max-width: 620px;
    min-height: 520px;
    margin-inline: auto;
  }

  .float-badge--tg {
    left: -12px;
  }

  .float-badge--stack {
    right: -6px;
  }

  .section-head-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .about-panel {
    max-width: 620px;
  }
}

@media (max-width: 1280px) {
  :root {
    --header-h: 66px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(340px, 88vw);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 22px 24px 28px;
    border-left: 1px solid var(--line);
    background: rgba(8, 12, 22, 0.98);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: -30px 0 70px -30px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.25s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s;
    overflow-y: auto;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(79, 140, 255, 0.1);
  }

  .nav-cta {
    display: inline-flex;
    width: 100%;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .process-grid::before {
    display: none;
  }

  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .contact-cards {
    max-width: 520px;
  }
}

@media (max-width: 860px) {
  .services-grid,
  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-visual {
    height: 200px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section-head h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .hero {
    padding-top: 40px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 10.5vw, 2.8rem);
    letter-spacing: -0.04em;
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-points {
    gap: 8px 14px;
    font-size: 0.72rem;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .browser-card {
    margin-inline: auto;
  }

  .browser-body {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 300px;
  }

  .browser-side {
    gap: 13px;
    padding: 12px 0;
  }

  .browser-main {
    padding: 13px;
  }

  .dash-head h2 {
    font-size: 0.88rem;
  }

  .dash-grid {
    gap: 6px;
  }

  .dash-card {
    padding: 8px;
  }

  .dash-card--wide {
    min-height: 124px;
  }

  .dash-card--wide strong {
    font-size: 1.25rem;
  }

  .dash-chart {
    height: 38px;
  }

  .dash-task {
    font-size: 0.54rem;
    padding: 6px 7px;
  }

  .phone-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 140px;
    margin: -32px 4px 0 auto;
    padding: 5px;
    border-radius: 24px;
    animation: none;
  }

  .phone-screen {
    min-height: 276px;
    padding: 32px 10px 9px;
    border-radius: 19px;
  }

  .phone-speaker {
    top: 10px;
    width: 34px;
    height: 3px;
  }

  .phone-greeting {
    margin-top: 12px;
  }

  .phone-balance strong {
    font-size: 0.95rem;
  }

  .phone-chart {
    height: 38px;
    margin-top: 9px;
  }

  .phone-actions {
    margin-top: 8px;
  }

  .phone-actions span {
    padding: 5px 3px;
    font-size: 0.44rem;
  }

  .phone-tabbar {
    margin-top: 9px;
    padding-top: 7px;
  }

  .float-badge {
    display: none;
  }

  .hero-tech {
    gap: 8px 16px;
    font-size: 0.68rem;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .process-step {
    padding-left: 62px;
  }

  .process-num {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .about-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .eyebrow-extra {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-visual {
    min-height: 400px;
  }

  .brand-word {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 29px;
  }

  .browser-url {
    display: none;
  }

  .browser-live {
    margin-left: auto;
  }

  .phone-card {
    width: 124px;
    margin-top: -28px;
  }

  .phone-screen {
    min-height: 252px;
  }

  .phone-balance strong {
    font-size: 0.85rem;
  }

  .phone-chart {
    height: 32px;
  }

  .dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dash-card--wide {
    grid-row: auto;
    min-height: 112px;
  }

  .dash-tasks {
    display: none;
  }

  .case-results {
    gap: 20px;
  }

  .about-card {
    padding: 22px;
  }

  .contact-panel {
    padding: 24px 18px;
  }

  .contact-card {
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    padding: 10px;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }
}

/* --------------------------------------------------------------------------
   16. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
