:root {
  --bg: #0A1628;
  --bg-2: #0F1E36;
  --text: #EAEEF5;
  --text-2: #9BAAC4;      /* было #7B8BA8 — подняли контраст */
  --text-3: #7E8FAC;      /* было #4E5E7C — сливалось с фоном */
  --text-muted: #5E6E8A;  /* тихий серый для подписей на ярких плашках */
  --accent: #E8946A;
  --accent-2: #6BA4FF;
  --purple: #3D2B5C;
  --blue: #1E2F4F;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

a, button {
  cursor: none;
}

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

/* ==================== CURSOR ==================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #6BA4FF;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              box-shadow 0.2s ease;
  box-shadow: 0 0 22px rgba(107, 164, 255, 0.75),
              0 0 44px rgba(107, 164, 255, 0.35);
  mix-blend-mode: screen;
}

.cursor.hover {
  width: 56px;
  height: 56px;
  background: rgba(107, 164, 255, 0.22);
  box-shadow: 0 0 48px rgba(107, 164, 255, 0.6),
              0 0 90px rgba(107, 164, 255, 0.3);
}

/* ==================== GRADIENT BG ==================== */
.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #14264C 0%, #0B1A30 55%, #06101E 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.5;
  will-change: transform;
  animation: float 14s ease-in-out infinite;
}

.blob-1 {
  width: 620px;
  height: 620px;
  background: #264880;
  top: -220px;
  left: -180px;
}

.blob-2 {
  width: 520px;
  height: 520px;
  background: #4A3270;
  top: 35%;
  right: -160px;
  animation-delay: -3.5s;
  opacity: 0.45;
}

.blob-3 {
  width: 420px;
  height: 420px;
  background: #E8946A;
  bottom: -180px;
  left: 28%;
  animation-delay: -7s;
  opacity: 0.18;
}

.blob-4 {
  width: 480px;
  height: 480px;
  background: #6BA4FF;
  bottom: -120px;
  right: -120px;
  animation-delay: -10.5s;
  opacity: 0.32;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(110px, -90px) scale(1.12); }
  50% { transform: translate(-50px, 60px) scale(0.95); }
  75% { transform: translate(-90px, -40px) scale(1.05); }
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 22, 40, 0.35);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.75);
  border-bottom-color: var(--border);
  padding: 14px 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.logo-dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.25s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-2);
  color: #061327;
}

.btn-primary:hover {
  background: #87b7ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(107, 164, 255, 0.45);
}

.btn-ghost {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

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

.btn-sm {
  padding: 11px 20px;
  font-size: 13px;
}

.btn-lg {
  padding: 17px 30px;
  font-size: 15px;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  padding: 120px 56px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  max-width: 1520px;
  margin: 0 auto;
  position: relative;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  padding: 9px 18px;
  border: 1px solid rgba(232, 148, 106, 0.28);
  border-radius: 999px;
  margin-bottom: 30px;
  background: rgba(232, 148, 106, 0.06);
}

.tag-pulse {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
  color: var(--text);
  transform-style: preserve-3d;
  will-change: transform;
  transform: perspective(1200px) rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.accent {
  background: linear-gradient(135deg, #9EC5FF 0%, #D5B8FF 50%, #FFB088 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  /* Fallback, если браузер не поддерживает background-clip: text */
  -webkit-text-fill-color: transparent;
}

/* На случай если text-fill-color не сработал — оставим светлый цвет как fallback */
@supports not (-webkit-background-clip: text) {
  .accent { color: #D5B8FF; background: none; }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
}

.stat-value {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-2);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 42px;
  background: var(--border);
}

/* ==================== HERO PHOTO ==================== */
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 940px;
  overflow: hidden;
}

/* Фон-кулиса за спиной */
.photo-backdrop {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 900px;
  background: linear-gradient(180deg,
    rgba(30, 58, 106, 0.42) 0%,
    rgba(61, 43, 92, 0.30) 50%,
    rgba(15, 30, 54, 0.10) 100%);
  border-radius: 310px 310px 48px 48px;
  border: 1px solid rgba(107, 164, 255, 0.16);
  z-index: 0;
  overflow: hidden;
  box-shadow:
    inset 0 80px 120px rgba(107, 164, 255, 0.12),
    inset 0 -40px 80px rgba(0, 0, 0, 0.35);
}

/* Вертикальная grid-линия внутри кулисы (техно-фактура) */
.backdrop-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(107, 164, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(107, 164, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.7;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Вертикальный «сценический» свет за спиной */
.photo-stage {
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  height: 900px;
  background: radial-gradient(ellipse at center,
    rgba(107, 164, 255, 0.30) 0%,
    rgba(61, 43, 92, 0.24) 35%,
    transparent 70%);
  filter: blur(70px);
  z-index: 1;
  border-radius: 50%;
}

/* Тёплый halo за головой */
.photo-glow {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
    rgba(107, 164, 255, 0.34) 0%,
    rgba(232, 148, 106, 0.20) 40%,
    transparent 70%);
  filter: blur(50px);
  z-index: 2;
  animation: glow 8s ease-in-out infinite;
}

/* Горизонт / «пол» под фигурой */
.photo-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(6, 16, 30, 0.7) 55%,
    var(--bg) 100%);
  z-index: 4;
  pointer-events: none;
}

@keyframes glow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-img {
  position: relative;
  z-index: 3;
  max-width: none;
  width: 1180px;
  margin-bottom: -20px;
  top: -40px;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.65));
  -webkit-mask-image: linear-gradient(to bottom, black 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 74%, transparent 100%);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}


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

/* ==================== RESPONSIVE (базовое) ==================== */
/* ==================== SECTION BASE ==================== */
.section {
  position: relative;
  padding: 130px 56px;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 80px;
  text-align: left;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  padding: 9px 18px;
  border: 1px solid rgba(232, 148, 106, 0.28);
  border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(232, 148, 106, 0.06);
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
}

/* ==================== REVEAL ANIMATIONS ==================== */

/* Старый класс .reveal — оставляем для совместимости */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(0.19, 1, 0.22, 1),
              transform 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Новая система через data-reveal */
[data-reveal] {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition:
    opacity 1.1s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1.1s cubic-bezier(0.19, 1, 0.22, 1),
    filter 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

[data-reveal="fade-up"]    { transform: translateY(60px); }
[data-reveal="fade-down"]  { transform: translateY(-60px); }
[data-reveal="fade-right"] { transform: translateX(-70px); }
[data-reveal="fade-left"]  { transform: translateX(70px); }
[data-reveal="scale-in"]   { transform: scale(0.88); filter: blur(8px); }
[data-reveal="blur-in"]    { filter: blur(22px); transform: translateY(20px); }
[data-reveal="rotate-in"]  { transform: rotate(-6deg) translateY(40px) scale(0.95); }
[data-reveal="zoom-in"]    { transform: scale(0.6); }
[data-reveal="words"]      { /* контейнер остаётся видимым, анимируем слова */
  opacity: 1;
}

[data-reveal].is-visible {
  opacity: 1;
}

[data-reveal="fade-up"].is-visible,
[data-reveal="fade-down"].is-visible,
[data-reveal="fade-right"].is-visible,
[data-reveal="fade-left"].is-visible,
[data-reveal="scale-in"].is-visible,
[data-reveal="blur-in"].is-visible,
[data-reveal="rotate-in"].is-visible,
[data-reveal="zoom-in"].is-visible {
  transform: none;
  filter: none;
}

/* Поворот слов (по словам) */
.split-words {
  perspective: 800px;
}

.split-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-70deg);
  transform-origin: 50% 100%;
  transition:
    opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

.split-words.is-visible .word {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* ховер-lift для карточек (добавляется к transition) */
.case-card,
.price-card,
.step,
.channel {
  will-change: transform;
}

/* Прятать хромирование курсора у системы, если prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .split-words .word,
  .reveal {
    transition-duration: 0.01ms !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* ==================== ABOUT ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo-frame {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  aspect-ratio: 3 / 4;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo:hover .about-photo-frame img {
  transform: scale(1.04);
}

.about-photo-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 30% 30%,
    rgba(107, 164, 255, 0.28) 0%,
    rgba(232, 148, 106, 0.15) 40%,
    transparent 70%);
  filter: blur(50px);
  z-index: 1;
}

.about-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 18px;
}

.about-lead {
  font-size: 20px !important;
  color: var(--text) !important;
  font-weight: 500;
}

.stack {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stack-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-3);
  margin-bottom: 18px;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-tags span {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s;
}

.stack-tags span:hover {
  border-color: var(--accent-2);
  background: rgba(107, 164, 255, 0.08);
}

/* ==================== CASES ==================== */
.cases-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(15, 30, 54, 0.35);
  backdrop-filter: blur(10px);
  transition: border-color 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover {
  border-color: rgba(107, 164, 255, 0.35);
  transform: translateY(-4px);
}

.case-card--reversed {
  grid-template-columns: 0.9fr 1.1fr;
}

.case-card--reversed .case-preview {
  order: 2;
}

.case-preview {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: linear-gradient(135deg, #1E2F4F 0%, #3D2B5C 100%);
}

.case-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-preview {
  filter: brightness(1.08) saturate(1.1);
}

.case-preview {
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-preview-placeholder {
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-preview-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.5;
}

.case-preview--coffee {
  background: linear-gradient(135deg, #2a1810 0%, #4a3424 50%, #6b4423 100%);
}

.case-preview--auto {
  background:
    repeating-linear-gradient(45deg, rgba(255, 61, 78, 0.02) 0 2px, transparent 2px 20px),
    radial-gradient(ellipse at 70% 20%, rgba(255, 61, 78, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(255, 184, 54, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0B0B0F 0%, #1A1012 50%, #0F0A0A 100%);
}

.case-preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.placeholder-logo {
  font-size: 64px;
  opacity: 0.7;
}

.placeholder-name {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.placeholder-sub {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.6;
}

.case-body {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.case-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(107, 164, 255, 0.12);
  border: 1px solid rgba(107, 164, 255, 0.25);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-type {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
}

.case-title {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.15;
}

.case-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 28px;
}

.case-facts {
  display: flex;
  gap: 28px;
  margin-bottom: 30px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.fact-value {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.fact-label {
  font-size: 12px;
  color: var(--text-3);
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: gap 0.3s, color 0.25s;
  /* Сброс для <button> */
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: none;
}

.case-link:hover {
  gap: 14px;
  color: #9BC5FF;
}

/* ==================== PROCESS ==================== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(15, 30, 54, 0.3);
  transition: border-color 0.35s, transform 0.35s, background 0.35s;
}

.step:hover {
  border-color: rgba(107, 164, 255, 0.3);
  background: rgba(15, 30, 54, 0.5);
  transform: translateY(-6px);
}

.step-num {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.step-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ==================== PRICING ==================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 40px 34px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(15, 30, 54, 0.35);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, transform 0.4s, background 0.4s;
}

.price-card:hover {
  border-color: rgba(107, 164, 255, 0.25);
  transform: translateY(-5px);
}

.price-card--featured {
  background: linear-gradient(180deg,
    rgba(107, 164, 255, 0.1) 0%,
    rgba(61, 43, 92, 0.15) 100%);
  border-color: rgba(107, 164, 255, 0.35);
  box-shadow: 0 40px 80px rgba(107, 164, 255, 0.12);
}

.price-card--featured:hover {
  border-color: rgba(107, 164, 255, 0.5);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--accent-2);
  color: #061327;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(107, 164, 255, 0.35);
}

.price-head {
  margin-bottom: 24px;
}

.price-name {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.price-sub {
  font-size: 13px;
  color: var(--text-3);
}

.price-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.price-value b {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.price-features li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.45;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

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

/* ==================== CALCULATOR ==================== */
.calc-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(15, 30, 54, 0.35);
  padding: 28px 28px 24px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}

.calc-group:hover {
  border-color: rgba(107, 164, 255, 0.22);
}

.calc-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.calc-group-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(107, 164, 255, 0.12);
  color: var(--accent-2);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.calc-group-title {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.calc-group-hint {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10, 22, 40, 0.4);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.calc-option:hover {
  border-color: rgba(107, 164, 255, 0.3);
  background: rgba(15, 30, 54, 0.55);
}

.calc-option input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  margin: 3px 0 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(140, 168, 210, 0.4);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}

.calc-option input[type="checkbox"] {
  border-radius: 6px;
}

.calc-option input:checked {
  border-color: var(--accent-2);
  background: var(--accent-2);
}

.calc-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #061327;
}

.calc-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #061327;
  border-bottom: 2px solid #061327;
  transform: rotate(45deg);
}

.calc-option:has(input:checked) {
  border-color: rgba(107, 164, 255, 0.55);
  background: linear-gradient(180deg,
    rgba(107, 164, 255, 0.12) 0%,
    rgba(61, 43, 92, 0.1) 100%);
  box-shadow: 0 12px 28px rgba(107, 164, 255, 0.08);
}

.calc-option-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.calc-option-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.calc-option-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.45;
}

.calc-option-price {
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: -0.01em;
  white-space: nowrap;
  align-self: center;
}

/* === SUMMARY === */
.calc-summary {
  position: relative;
}

.calc-summary-sticky {
  position: sticky;
  top: 100px;
  padding: 32px 28px;
  border: 1px solid rgba(107, 164, 255, 0.25);
  border-radius: 24px;
  background: linear-gradient(180deg,
    rgba(107, 164, 255, 0.1) 0%,
    rgba(61, 43, 92, 0.18) 100%);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.calc-summary-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.calc-summary-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 6px;
}

.calc-summary-value {
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.calc-summary-old {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-3);
  text-decoration: line-through;
  text-decoration-color: rgba(140, 168, 210, 0.6);
  text-decoration-thickness: 2px;
}

.calc-summary-saved {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 220, 140, 0.12);
  border: 1px solid rgba(56, 220, 140, 0.32);
  color: #7eebad;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.calc-summary-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 24px;
}

.calc-summary-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.calc-summary-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

.calc-summary-cta {
  margin-top: 4px;
}

.calc-summary-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  text-align: center;
}

/* ===== Спецпредложение в шапке summary ===== */
.calc-offer {
  position: relative;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(56, 220, 140, 0.35);
  border-radius: 16px;
  background: linear-gradient(180deg,
    rgba(56, 220, 140, 0.12) 0%,
    rgba(56, 220, 140, 0.04) 100%);
  overflow: hidden;
}

.calc-offer-pulse {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38dc8c;
  box-shadow: 0 0 0 0 rgba(56, 220, 140, 0.6);
  animation: calc-offer-pulse 1.8s infinite;
}

@keyframes calc-offer-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(56, 220, 140, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(56, 220, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 220, 140, 0); }
}

.calc-offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-right: 18px;
}

.calc-offer-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7eebad;
}

.calc-offer-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
}

.calc-offer-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 6px;
}

.calc-offer-old {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-3);
  text-decoration: line-through;
  text-decoration-color: rgba(140, 168, 210, 0.55);
}

.calc-offer-arrow {
  color: #7eebad;
  font-weight: 700;
}

.calc-offer-new {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #7eebad;
}

.calc-offer-unit {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

.calc-offer-note {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ==================== СЛАЙДЕР РАЗМЕРА ==================== */
.calc-slider-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-slider-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.calc-slider-value {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-2) 0%, #b48dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.calc-slider-label {
  font-size: 16px;
  color: var(--text-2);
  font-weight: 500;
}

.calc-slider-hint {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.5;
  margin-top: -4px;
}

/* === Сама дорожка слайдера === */
.calc-slider-track-wrap {
  position: relative;
  height: 36px;
  margin-top: 8px;
  display: flex;
  align-items: center;
}

/* Базовая «серая» дорожка */
.calc-slider-track-wrap::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 999px;
  background: rgba(140, 168, 210, 0.18);
  pointer-events: none;
}

/* Заполненная (синяя) часть */
.calc-slider-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  width: 30%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), #b48dff);
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(107, 164, 255, 0.4);
  transition: width 0.18s ease;
}

/* Сам range — поверх, прозрачный, но активный */
.calc-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  height: 36px;
  margin: 0;
  cursor: grab;
}
.calc-slider:active { cursor: grabbing; }

.calc-slider::-webkit-slider-runnable-track {
  height: 36px;
  background: transparent;
}
.calc-slider::-moz-range-track {
  height: 36px;
  background: transparent;
}

/* Кружок-«ручка» */
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-2);
  box-shadow: 0 6px 18px rgba(107, 164, 255, 0.5),
              0 0 0 6px rgba(107, 164, 255, 0.12);
  cursor: grab;
  margin-top: 4px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.calc-slider:active::-webkit-slider-thumb {
  transform: scale(1.15);
  cursor: grabbing;
  box-shadow: 0 8px 26px rgba(107, 164, 255, 0.6),
              0 0 0 10px rgba(107, 164, 255, 0.18);
}
.calc-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-2);
  box-shadow: 0 6px 18px rgba(107, 164, 255, 0.5),
              0 0 0 6px rgba(107, 164, 255, 0.12);
  cursor: grab;
}

.calc-slider-marks {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
}

/* === Визуальная «стопка» блоков — растёт с ползунком === */
.calc-slider-stack {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
  margin-top: 8px;
}

.calc-stack-cell {
  height: 14px;
  border-radius: 4px;
  background: rgba(140, 168, 210, 0.1);
  border: 1px solid rgba(140, 168, 210, 0.15);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.calc-stack-cell.is-on {
  background: linear-gradient(180deg, rgba(107, 164, 255, 0.45), rgba(180, 141, 255, 0.32));
  border-color: rgba(107, 164, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(107, 164, 255, 0.18);
}

/* === Тоггл «срочно» — растягиваем на всю ширину === */
.calc-option--toggle {
  align-items: center;
}

/* ==================== FAQ ==================== */
.faq .section-header {
  text-align: center;
}

.faq .section-title {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 4px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.25s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover {
  color: var(--accent-2);
}

.faq-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(45deg);
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.faq-answer {
  padding: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 780px;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    height 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    padding 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: height, padding, opacity, transform;
}

.faq-item[open] .faq-answer {
  opacity: 1;
  transform: translateY(0);
}

/* Держим контент доступным для измерения даже когда details закрыт.
   Высотой управляем вручную через JS — чтобы transition заработал. */
.faq-item:not([open]) > .faq-answer {
  display: block;
}

/* ==================== CONTACT ==================== */
.contact-center {
  display: flex;
  justify-content: center;
}

.contact-info {
  width: 100%;
  max-width: 760px;
  text-align: center;
}

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

.contact-lead {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 auto 40px;
  max-width: 560px;
}

.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 30, 54, 0.3);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.channel:hover {
  border-color: rgba(107, 164, 255, 0.3);
  background: rgba(15, 30, 54, 0.55);
  transform: translateY(-3px);
}

.channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(107, 164, 255, 0.12);
  color: var(--accent-2);
  flex-shrink: 0;
}

.channel-icon--wa {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.channel-icon--tg {
  background: rgba(41, 161, 229, 0.15);
  color: #29A1E5;
}

.channel-icon--vk {
  background: rgba(70, 128, 194, 0.15);
  color: #4680C2;
}

.channel-body {
  min-width: 0;
}

.channel-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.channel-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==================== FOOTER ==================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 70px 56px 30px;
  margin-top: 60px;
  background: rgba(6, 16, 30, 0.5);
  position: relative;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}

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

.footer-tag {
  font-size: 14px;
  color: var(--text-2);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-3);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  padding: 7px 0;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-3);
}

/* ==================== RESPONSIVE ==================== */
/* ===== БУРГЕР + МОБИЛЬНОЕ МЕНЮ ===== */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 120;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.burger:hover { background: rgba(255, 255, 255, 0.08); }
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
}
.mobile-menu-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a:active { color: var(--accent); }
.mobile-menu-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  min-width: 260px;
}
.mobile-menu-channels a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
body.menu-open { overflow: hidden; }

/* ==================== РАЗРЕШЕНИЯ ДО 1100px (планшет, лэндскейп) ==================== */
@media (max-width: 1100px) {
  .header { padding: 18px 32px; }
  .header.scrolled { padding: 14px 32px; }
  .hero {
    padding: 120px 32px 40px;
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }
  .hero-content { order: 2; max-width: 100%; }
  .hero-photo { order: 1; min-height: 640px; }
  .hero-img { width: 760px; top: -20px; margin-bottom: -10px; }
  .photo-backdrop { width: 520px; height: 640px; bottom: 30px; border-radius: 240px 240px 40px 40px; }
  .photo-stage { width: 400px; height: 640px; }
  .photo-glow { width: 460px; height: 460px; }
  .nav { gap: 24px; }

  .section { padding: 90px 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-card,
  .case-card--reversed {
    grid-template-columns: 1fr;
  }
  .case-card--reversed .case-preview { order: 0; }
  .case-preview { min-height: 340px; }
  .case-body { padding: 36px; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-channels { grid-template-columns: 1fr; }

  /* Калькулятор: складываем в одну колонку */
  .calc-builder { grid-template-columns: 1fr; gap: 28px; }
  .calc-summary-sticky { position: static; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ==================== ТЕЛЕФОН (до 720px) ==================== */
@media (max-width: 720px) {
  /* Шапка */
  .header { padding: 14px 18px; }
  .header.scrolled { padding: 10px 18px; }
  .logo-text { font-size: 14px; }
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: block; }

  /* Курсор — убираем (работает только на десктопе) */
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }

  /* Тяжёлые декоративные элементы */
  .gradient-bg .blob { opacity: 0.35; filter: blur(60px); }
  .grain { opacity: 0.2; }

  /* ===== HERO ===== */
  .hero {
    padding: 96px 18px 20px;
    gap: 8px;
  }
  .hero-photo {
    min-height: 400px;
    order: 1;
    margin-bottom: -30px;
  }
  .hero-img {
    width: 460px;
    top: -10px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
  }
  .photo-backdrop {
    width: 320px;
    height: 400px;
    bottom: 10px;
    border-radius: 150px 150px 28px 28px;
  }
  .photo-stage { width: 260px; height: 400px; filter: blur(50px); }
  .photo-glow { width: 280px; height: 280px; filter: blur(35px); }
  .photo-floor { height: 110px; }
  .hero-tag {
    font-size: 10px;
    padding: 7px 14px;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
  }
  .hero-title {
    font-size: 40px;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    /* Отключаем 3D-наклон на тачах */
    transform: none !important;
  }
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 100%;
  }
  .hero-content {
    text-align: left;
    order: 2;
  }
  .hero-actions {
    gap: 10px;
    margin-bottom: 38px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { justify-content: center; }

  .hero-stats {
    gap: 18px 24px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .stat-divider { display: none; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 11px; }

  /* ===== СЕКЦИИ ===== */
  .section { padding: 70px 18px; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 32px !important; letter-spacing: -0.025em; }
  .section-tag {
    font-size: 10px;
    padding: 6px 12px;
    letter-spacing: 0.18em;
  }

  /* ===== ОБО МНЕ ===== */
  .about-grid { gap: 28px; }
  .about-photo-frame { max-width: 340px; margin: 0 auto; }
  .about-lead { font-size: 16px; }
  .about-text p { font-size: 15px; }
  .stack-tags span { font-size: 11px; padding: 6px 12px; }

  /* ===== КЕЙСЫ ===== */
  .case-preview { min-height: 260px; }
  .case-body { padding: 24px 22px 28px; }
  .case-title { font-size: 24px; }
  .case-desc { font-size: 14px; }
  .case-meta { gap: 10px; flex-wrap: wrap; }
  .case-tag { font-size: 10px; padding: 5px 10px; }
  .case-type { font-size: 11px; }
  .case-facts {
    flex-wrap: wrap;
    gap: 14px;
  }
  .fact { flex: 1 1 calc(50% - 7px); min-width: 0; }
  .fact-value { font-size: 14px; }
  .fact-label { font-size: 10.5px; }

  /* Уменьшаем мокапы внутри превью */
  .mockup-bar { padding: 8px 10px; font-size: 9.5px; }
  .mockup-bar .dot { width: 7px; height: 7px; }
  .mockup-url { font-size: 9px; padding: 2px 8px; }
  .mockup-nav { padding: 10px 14px; }
  .mockup-logo { font-size: 12px; }
  .mockup-nav-links { font-size: 10px; gap: 12px; }
  .mockup-nav-links span:nth-child(n+3) { display: none; }
  .mockup-title { font-size: 18px; }
  .mockup-sub { font-size: 10px; }
  .mockup-btn { font-size: 9px; padding: 6px 10px; }
  .mockup-eyebrow { font-size: 8.5px; letter-spacing: 0.2em; }
  .menu-row { font-size: 10.5px; padding: 5px 0; }
  .mockup-menu { padding: 6px 14px 8px; }
  .mockup-hero--compact {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 14px 10px !important;
  }
  .mockup-hero--compact .mockup-hero-photo { min-height: 90px; display: none; }
  .calc-head { margin-bottom: 8px; }
  .calc-title { font-size: 16px; }
  .calc-sub { font-size: 10px; }
  .calc-field { font-size: 10px; padding: 6px 10px; }
  .calc-field label { font-size: 9px; }
  .calc-total { font-size: 11px; padding: 8px 12px; }
  .total-value { font-size: 15px; }
  .calc-cta { font-size: 11px; padding: 8px 12px; }

  /* ===== ПРОЦЕСС ===== */
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .step { padding: 24px 22px; }
  .step-num { font-size: 38px; }
  .step-title { font-size: 18px; }
  .step p { font-size: 14px; }

  /* ===== КАЛЬКУЛЯТОР ===== */
  .calc-builder { gap: 22px; }
  .calc-group { padding: 22px 20px 20px; border-radius: 18px; }
  .calc-group-head { gap: 10px; margin-bottom: 16px; }
  .calc-group-num { min-width: 32px; height: 24px; font-size: 11px; }
  .calc-group-title { font-size: 17px; }
  .calc-group-hint { font-size: 11px; }
  .calc-option { padding: 14px 14px; gap: 12px; border-radius: 14px; }
  .calc-option-name { font-size: 14px; }
  .calc-option-desc { font-size: 12.5px; }
  .calc-option-price { font-size: 13px; }

  .calc-slider-value { font-size: 44px; }
  .calc-slider-label { font-size: 14px; }
  .calc-slider-hint  { font-size: 12.5px; }
  .calc-stack-cell   { height: 11px; }

  .calc-summary-sticky { padding: 22px 18px; border-radius: 20px; }
  .calc-summary-tag    { font-size: 11px; }
  .calc-summary-value  { font-size: 30px; }
  .calc-summary-old    { font-size: 16px; }
  .calc-summary-list li { font-size: 13px; }
  .calc-offer { padding: 14px 14px; }
  .calc-offer-new { font-size: 20px; }
  .calc-offer-old { font-size: 14px; }

  /* ===== FAQ ===== */
  .faq-item summary { padding: 20px 22px; font-size: 15px; }
  .faq-item summary span:first-child { padding-right: 12px; }
  .faq-answer { padding: 0 22px; font-size: 14px; line-height: 1.6; }
  .faq-item[open] .faq-answer { padding-bottom: 22px; }
  .faq-chevron { font-size: 20px; }

  /* ===== КОНТАКТЫ ===== */
  .contact-title { font-size: 36px !important; }
  .contact-lead { font-size: 15px; }
  .contact-channels { grid-template-columns: 1fr; gap: 12px; }
  .channel { padding: 16px 18px; gap: 14px; }
  .channel-icon { width: 42px; height: 42px; }
  .channel-title { font-size: 13px; }
  .channel-value { font-size: 15px; }

  /* ===== ФУТЕР ===== */
  .footer { padding: 50px 18px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-col-title { font-size: 13px; }
  .footer-col a { font-size: 14px; }
  .footer-tag { font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 12px; }

  /* ===== КНОПКИ ===== */
  .btn-lg {
    padding: 14px 22px;
    font-size: 15px;
  }
  .btn-sm { padding: 9px 16px; font-size: 13px; }
}

/* ==================== МАЛЕНЬКИЙ ТЕЛЕФОН (до 400px) ==================== */
@media (max-width: 400px) {
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 14px; }
  .section-title { font-size: 28px !important; }
  .contact-title { font-size: 30px !important; }
  .hero-img { width: 400px; }
  .photo-backdrop { width: 280px; }
  .hero-photo { min-height: 360px; }
  .logo-text { display: none; }
}

/* ==================== МОКАПЫ В ПРЕВЬЮ КЕЙСОВ ==================== */
.mockup {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  z-index: 2;
}

/* Браузерная полоска */
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.mockup-bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
}
.dot--r { background: #ff5f56; }
.dot--y { background: #ffbd2e; }
.dot--g { background: #27c93f; }
.mockup-url {
  flex: 1;
  text-align: center;
  padding: 3px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

/* Навигация мокапа */
.mockup-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
}

.mockup-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: #fff;
}

.mockup-logo .logo-mark {
  font-size: 18px;
  opacity: 0.9;
}

.mockup-nav-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.mockup-nav-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(107, 164, 255, 0.22);
  color: #9BC5FF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 1px solid rgba(107, 164, 255, 0.4);
}

/* ===== КОФЕЙНЯ «Ориент» ===== */
.mockup--coffee {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(232, 148, 106, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(61, 43, 92, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, #2a1810 0%, #3a2418 50%, #52321b 100%);
}

.mockup--coffee .mockup-hero {
  padding: 22px 26px 14px;
  flex: 1;
}

/* Split-hero — текст слева, фото справа */
.mockup-hero--split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px 34px 20px !important;
}

.mockup-hero-text {
  min-width: 0;
}

.mockup-hero--split .mockup-title {
  font-size: 30px;
  margin-bottom: 14px;
}

.mockup-hero--split .mockup-sub {
  margin-bottom: 20px;
}

/* Компактная версия для превью-карточки на главной */
.mockup-hero--compact {
  padding: 18px 20px 12px !important;
  gap: 18px;
  grid-template-columns: 1.1fr 1fr;
}
.mockup-hero--compact .mockup-title {
  font-size: 22px;
  margin-bottom: 8px;
}
.mockup-hero--compact .mockup-sub {
  font-size: 11px;
  margin-bottom: 12px;
}
.mockup-hero--compact .mockup-hero-photo {
  min-height: 150px;
}
.mockup-hero--compact .mockup-btn {
  padding: 6px 12px;
  font-size: 10px;
}

.mockup-hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(232, 148, 106, 0.22),
    inset 0 0 0 1px rgba(255, 242, 228, 0.06);
}

.mockup-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.mockup-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(42, 24, 16, 0.55) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 148, 106, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.mockup-hero-photo-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  background: rgba(10, 5, 3, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 148, 106, 0.35);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #E8946A;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

@media (max-width: 720px) {
  .mockup-hero--split {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 22px 16px !important;
  }
  .mockup-hero-photo { min-height: 160px; }
}

.mockup-eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: #E8946A;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.mockup-title {
  font-size: 26px;
  font-weight: 800;
  color: #FFF2E4;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.mockup-sub {
  font-size: 12px;
  color: rgba(255, 242, 228, 0.65);
  margin-bottom: 18px;
}

.mockup-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mockup-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mockup-btn--primary {
  background: #E8946A;
  color: #2a1810;
  box-shadow: 0 8px 24px rgba(232, 148, 106, 0.35);
}

.mockup-btn--ghost {
  border: 1px solid rgba(255, 242, 228, 0.25);
  color: rgba(255, 242, 228, 0.85);
}

.mockup-menu {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 22px 14px;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 12px;
  color: rgba(255, 242, 228, 0.85);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  font-weight: 500;
}
.menu-row:last-child { border-bottom: none; }
.menu-row span:last-child {
  color: #E8946A;
  font-weight: 700;
}

/* ===== АВТОСЕРВИС «Драйв» — спортивный чёрно-красный ===== */
:root {
  --drive-red: #FF3D4E;
  --drive-amber: #FFB836;
  --drive-bg-1: #0B0B0F;
  --drive-bg-2: #1A1012;
}

/* Цвет акцентов у карточки автосервиса — красный вместо синего */
[data-case="drive"] .case-tag {
  background: rgba(255, 61, 78, 0.14);
  border-color: rgba(255, 61, 78, 0.35);
  color: var(--drive-red);
}

[data-case="drive"] .case-link {
  color: var(--drive-red);
}
[data-case="drive"] .case-link:hover {
  color: #FF7785;
}

[data-case="drive"]:hover {
  border-color: rgba(255, 61, 78, 0.35);
}

.mockup--drive {
  background:
    repeating-linear-gradient(45deg, rgba(255, 61, 78, 0.025) 0 2px, transparent 2px 22px),
    radial-gradient(ellipse at 80% 10%, rgba(255, 61, 78, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(255, 184, 54, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, var(--drive-bg-1) 0%, var(--drive-bg-2) 55%, #0F0A0A 100%);
  font-family: 'Inter', sans-serif;
}

.mockup--drive .mockup-bar {
  background: rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(255, 61, 78, 0.12);
}

.mockup--drive .mockup-url {
  background: rgba(255, 61, 78, 0.08);
  color: rgba(255, 210, 210, 0.6);
}

.mockup--drive .mockup-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #fff;
}

.mockup--drive .mockup-logo .logo-mark {
  color: var(--drive-red);
  text-shadow: 0 0 12px rgba(255, 61, 78, 0.6);
}

.mockup--drive .mockup-nav-links { display: none; }

.mockup--drive .mockup-nav-badge {
  background: var(--drive-red);
  color: #fff;
  border: none;
  box-shadow: 0 6px 18px rgba(255, 61, 78, 0.5);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mockup-calc {
  flex: 1;
  padding: 16px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-head {
  margin-bottom: 4px;
}

.calc-title {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.calc-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--drive-red);
  margin-right: 10px;
  vertical-align: -2px;
  box-shadow: 0 0 10px rgba(255, 61, 78, 0.7);
}

.calc-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.calc-field label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 184, 54, 0.7);
  font-weight: 800;
}

.calc-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 61, 78, 0.25);
  border-radius: 6px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.calc-select .chev {
  color: var(--drive-red);
  font-size: 10px;
}

.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding: 12px 14px;
  background: linear-gradient(90deg, rgba(255, 61, 78, 0.18), rgba(255, 184, 54, 0.1));
  border: 1px solid rgba(255, 61, 78, 0.45);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.calc-total::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 61, 78, 0.08));
  pointer-events: none;
}

.total-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.total-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--drive-amber);
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
}

.calc-cta {
  padding: 12px 14px;
  background: var(--drive-red);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(255, 61, 78, 0.45);
  position: relative;
  overflow: hidden;
}

.calc-cta::before {
  content: '→';
  margin-right: 8px;
  color: var(--drive-amber);
}

/* ===== АЛЕКСАНДРА «LED-наращивание» ===== */
.mockup--alexandra {
  background: #0E0E0E;
  color: #F5F5F0;
  font-family: 'Inter', sans-serif;
}

.mockup--alexandra .mockup-bar {
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid #1F1F1F;
}

.mockup--alexandra .mockup-url {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 245, 240, 0.55);
}

.mockup--alexandra .mockup-nav {
  padding: 18px 36px;
  border-bottom: 1px solid #1F1F1F;
}

.mockup--alexandra .mockup-logo {
  font-size: 14px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: #F5F5F0;
}

.mockup--alexandra .mockup-logo .logo-mark {
  color: #E8E35A;
  font-size: 14px;
  opacity: 1;
}

.mockup--alexandra .mockup-nav-links {
  font-size: 11.5px;
  color: rgba(245, 245, 240, 0.7);
  letter-spacing: 0.06em;
}

/* Hero-экран Александры */
.alx-hero {
  flex: 1;
  padding: 44px 56px 30px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.alx-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: #E8E35A;
  font-weight: 500;
  margin-bottom: 18px;
}

.alx-title {
  font-size: 38px;
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -1.2px;
  color: #F5F5F0;
  margin-bottom: 16px;
}

.alx-title .y { color: #E8E35A; }

.alx-sub {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245, 245, 240, 0.65);
  margin-bottom: 22px;
  max-width: 420px;
}

.alx-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(232, 227, 90, 0.35);
  border-radius: 999px;
  font-size: 11px;
  color: #E8E35A;
  margin-bottom: 22px;
  background: rgba(232, 227, 90, 0.06);
}

.alx-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #E8E35A;
  border-radius: 50%;
  box-shadow: 0 0 6px #E8E35A;
}

.alx-ctas {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.alx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 21px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.alx-btn--primary {
  background: #E8E35A;
  color: #0E0E0E;
}

.alx-btn--ghost {
  border: 1px solid #3A3A3A;
  color: #F5F5F0;
}

.alx-trust {
  display: flex;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid #1F1F1F;
}

.alx-trust > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(245, 245, 240, 0.5);
  font-weight: 500;
}

.alx-trust b {
  font-size: 20px;
  font-weight: 400;
  color: #F5F5F0;
  letter-spacing: -0.5px;
}

.alx-visual {
  position: relative;
  height: 100%;
  min-height: 320px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(232, 227, 90, 0.12), rgba(232, 227, 90, 0.02)),
    radial-gradient(ellipse at 30% 20%, rgba(232, 227, 90, 0.18), transparent 60%),
    #151515;
  border: 1px solid #1F1F1F;
  overflow: hidden;
}

.alx-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 55%, rgba(232, 227, 90, 0.25), transparent 40%),
    repeating-linear-gradient(45deg, rgba(232, 227, 90, 0.04) 0 1px, transparent 1px 14px);
  opacity: 0.8;
}

.alx-visual-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(232, 227, 90, 0.4);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #E8E35A;
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(8px);
}

.alx-visual-label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: rgba(245, 245, 240, 0.9);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.alx-visual-label b {
  display: block;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.4px;
  color: #F5F5F0;
  margin-top: 4px;
}

/* Прайс Александры */
.alx-prices {
  flex: 1;
  padding: 40px 56px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #0E0E0E;
}

.alx-prices-head h3 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.08;
  color: #F5F5F0;
  margin: 10px 0 10px;
}

.alx-prices-head p {
  font-size: 12.5px;
  color: rgba(245, 245, 240, 0.55);
  max-width: 440px;
  line-height: 1.5;
}

.alx-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.alx-card {
  padding: 20px 18px 22px;
  background: #151515;
  border: 1px solid #1F1F1F;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alx-card.feature {
  background: linear-gradient(180deg, #1A1A15, #151515);
  border-color: rgba(232, 227, 90, 0.3);
}

.alx-card .tag {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: #8A8A80;
  font-weight: 500;
}

.alx-card.feature .tag { color: #E8E35A; }

.alx-card .name {
  font-size: 13.5px;
  line-height: 1.3;
  color: #F5F5F0;
  font-weight: 500;
  min-height: 36px;
}

.alx-card .hr {
  height: 1px;
  background: #1F1F1F;
  margin: 2px 0;
}

.alx-card .price {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #F5F5F0;
}

.alx-card .dur {
  font-size: 10px;
  color: rgba(245, 245, 240, 0.5);
  letter-spacing: 0.08em;
}

.alx-card .mini-cta {
  margin-top: 4px;
  height: 34px;
  border-radius: 17px;
  background: #E8E35A;
  color: #0E0E0E;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

/* ==================== МОДАЛКА «ПОСМОТРЕТЬ САЙТ» ==================== */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.case-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 24, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.case-modal-inner {
  position: relative;
  width: min(1120px, 94vw);
  height: 92vh;
  max-height: 92vh;
  background: linear-gradient(180deg, rgba(15, 30, 54, 0.95), rgba(10, 22, 40, 0.95));
  border: 1px solid rgba(107, 164, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.case-modal.is-open .case-modal-inner {
  transform: scale(1) translateY(0);
}

.modal-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 18px 28px;
  border-bottom: 1px solid rgba(107, 164, 255, 0.12);
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(8px);
}

.modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Главная область — вертикальный скролл, как настоящий сайт */
.modal-scroll {
  flex: 1;
  overflow-y: auto;
  background: #0A1628;
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 164, 255, 0.3) transparent;
}
.modal-scroll::-webkit-scrollbar { width: 8px; }
.modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(107, 164, 255, 0.3);
  border-radius: 4px;
}

/* Каждая «секция» сайта внутри модалки */
.modal-section {
  position: relative;
}

.modal-section-frame {
  width: 100%;
}

/* Если внутри секции iframe — он растягивается на всю высоту модалки и
   скроллится своим скроллом, как настоящий сайт */
.modal-section-frame:has(> iframe:only-child) {
  height: calc(92vh - 77px); /* 92vh минус шапка модалки */
  min-height: 600px;
}

.modal-section-frame > iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #0A0A0F;
  display: block;
}

/* Когда секция — это мокап (как у кофейни), она занимает всю ширину
   и имеет своё соотношение сторон — выглядит как один экран сайта */
.modal-section-frame > .mockup {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  border-radius: 0;
  min-height: 600px;
}

/* Шрифты внутри мокапов в модалке — крупнее, чем в превью */
.modal-section .mockup-title { font-size: 44px; }
.modal-section .mockup-sub   { font-size: 16px; }
.modal-section .mockup-btn   { font-size: 14px; padding: 12px 22px; }
.modal-section .menu-row     { font-size: 16px; padding: 12px 0; }
.modal-section .calc-select  { font-size: 15px; padding: 14px 18px; }
.modal-section .mockup-logo  { font-size: 19px; }
.modal-section .mockup-nav-links span { font-size: 14px; }

/* Если в секции есть hero — фотография побольше */
.modal-section .mockup-hero--split {
  grid-template-columns: 1.05fr 0.95fr;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .case-modal { padding: 0; align-items: stretch; }
  .case-modal-inner {
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
  }
  .modal-head {
    padding: 14px 14px 14px 18px;
  }
  .modal-title { font-size: 15px; }
  .modal-close {
    width: 36px;
    height: 36px;
  }
  .modal-section-frame:has(> iframe:only-child) {
    height: calc(100dvh - 64px);
    min-height: 0;
  }
  .modal-section-frame > .mockup {
    min-height: 480px;
  }
  .modal-section .mockup-title { font-size: 30px; }
  .modal-section .mockup-sub   { font-size: 14px; }
}
