/* ===== ШРИФТЫ ===== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@400;500;700;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --primary: #1e3a5f;
  --primary-light: #2d5a87;
  --accent: #c17847;
  --accent-light: rgba(193, 120, 71, 0.1);
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Unbounded', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Consolas', monospace;
}

/* ===== БАЗА ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  opacity: 0.6;
}

.nav, section, footer, .modal-overlay {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== НАВИГАЦИЯ ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 1px;
  text-decoration: none;
  min-height: 44px;
  letter-spacing: -0.02em;
}
.logo-text { display: inline-block; white-space: nowrap; }
.logo-cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 400;
  animation: blink 0.8s step-end infinite;
  margin-left: 1px;
  transition: opacity 0.3s;
}
.logo-cursor.hidden { opacity: 0; }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.logo-accent { color: var(--accent); }

.nav-cta {
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--primary-light); }

/* ===== HERO ===== */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background-color: transparent;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(193, 120, 71, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  margin-bottom: 24px;
  color: var(--primary);
}
.hero h1 .accent {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.hero-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-subtitle strong { color: var(--primary); font-weight: 700; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn {
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ===== МОКАП ===== */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
  width: 300px;
  height: 600px;
  background: var(--bg-dark);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.4s;
}
.phone-mockup:hover { transform: perspective(1000px) rotateY(-2deg) rotateX(2deg); }
.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg-dark);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000;
  border-radius: 100px;
  z-index: 2;
}
.phone-content { padding: 50px 16px 16px; color: white; height: 100%; overflow-y: auto; }
.max-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.max-avatar {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: white;
}
.max-title { font-family: var(--display); font-size: 14px; font-weight: 700; }
.max-time { margin-left: auto; font-size: 11px; color: rgba(255, 255, 255, 0.4); }
.max-message {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.max-message-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: #fff;
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em;
}
.max-dot {
  width: 6px; height: 6px; background: #10b981; border-radius: 50%;
}
.max-field { font-size: 12px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; margin-bottom: 4px; }
.max-field b { color: #fff; font-weight: 600; }
.max-message-action {
  margin-top: 10px; padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase;
}

/* ===== СЕКЦИИ ===== */
section { padding: 100px 0; position: relative; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
}
.section-title { font-size: clamp(30px, 4.5vw, 48px); color: var(--primary); margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--text-muted); }

/* ===== ПРОБЛЕМЫ ===== */
.problems { background: rgba(15, 23, 42, 0.96); color: white; }
.problems .section-title { color: white; }
.problems .section-subtitle { color: rgba(255, 255, 255, 0.6); }
.problems .section-tag { background: rgba(255, 255, 255, 0.05); color: var(--accent); border-color: rgba(255, 255, 255, 0.1); }
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.problem-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.problem-card:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-4px); border-color: var(--accent); }
.problem-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.problem-card h3 { font-size: 18px; margin-bottom: 8px; color: white; }
.problem-card p { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-bottom: 12px; }
.problem-solution {
  font-size: 13px; color: rgba(255, 255, 255, 0.9);
  padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}
.problem-solution b { color: var(--accent); }

/* ===== BENTO ===== */
.bento-section { background: rgba(248, 250, 252, 0.9); }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 20px;
  align-items: stretch;
}
.bento-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border-strong);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.bento-item.large {
  grid-column: span 4;
  grid-row: span 2;
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.bento-item.medium { grid-column: span 2; grid-row: span 2; }
.bento-item.small { grid-column: span 2; }
.bento-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.bento-item.large .bento-icon { background: rgba(255, 255, 255, 0.1); color: var(--accent); }
.bento-item h3 { font-size: 20px; margin-bottom: 10px; color: var(--primary); }
.bento-item.large h3 { color: white; font-size: 24px; }
.bento-item p { color: var(--text-muted); font-size: 14px; }
.bento-item.large p { color: rgba(255, 255, 255, 0.8); font-size: 15px; max-width: 440px; }

/* ===== ЧИПЫ В BENTO ===== */
.bento-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
}

.chip-small {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(30, 58, 95, 0.06);
  color: var(--primary);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s, color 0.2s;
}

.bento-item.visible .chip-small {
  opacity: 1;
  transform: translateY(0);
}

.bento-item.visible .chip-small:nth-child(1) { transition-delay: 0.1s; }
.bento-item.visible .chip-small:nth-child(2) { transition-delay: 0.2s; }
.bento-item.visible .chip-small:nth-child(3) { transition-delay: 0.3s; }
.bento-item.visible .chip-small:nth-child(4) { transition-delay: 0.4s; }
.bento-item.visible .chip-small:nth-child(5) { transition-delay: 0.5s; }
.bento-item.visible .chip-small:nth-child(6) { transition-delay: 0.6s; }

.bento-item.large .chip-small {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
}

.bento-item:hover .chip-small {
  background: rgba(193, 120, 71, 0.12);
  color: var(--accent);
}
.bento-item.large:hover .chip-small {
  background: rgba(193, 120, 71, 0.25);
  color: #fff;
}

/* ===== АДРЕС ===== */
.address-section { background: transparent; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 60px; }
.address-card {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border-strong); transition: all 0.3s;
}
.address-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.address-icon {
  width: 44px; height: 44px; background: var(--accent-light); color: var(--accent);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.address-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.address-card p { font-size: 14px; color: var(--text-muted); }
.address-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.compare-col { background: var(--surface); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border-strong); }
.compare-col--accent { background: var(--primary); color: white; border-color: var(--primary); }
.compare-label { font-family: var(--display); font-size: 13px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.compare-col--accent .compare-label { color: var(--accent); }
.compare-col ul { list-style: none; }
.compare-col li { padding: 10px 0; font-size: 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.compare-col--accent li { border-color: rgba(255, 255, 255, 0.15); }
.compare-col li:last-child { border-bottom: none; }
.compare-col li::before { content: '—'; color: var(--text-muted); font-weight: 700; }
.compare-col--accent li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ===== ДОП ===== */
.extra-section { background: rgba(248, 250, 252, 0.9); }
.extra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.extra-card { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border-strong); transition: all 0.3s; }
.extra-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.extra-icon { width: 44px; height: 44px; background: var(--accent-light); color: var(--accent); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.extra-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.extra-card p { font-size: 14px; color: var(--text-muted); }

/* ===== ВЫДЕЛЕННЫЙ БЛОК ===== */
.extra-note {
  position: relative;
  text-align: center;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 32px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  box-shadow: 
    0 0 0 4px rgba(193, 120, 71, 0.1),
    var(--shadow-md);
  animation: pulse-note 2.5s ease-in-out infinite;
  overflow: hidden;
}
.extra-note-pulse {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(193, 120, 71, 0.08) 50%,
    transparent 100%
  );
  animation: shimmer-note 3s ease-in-out infinite;
  pointer-events: none;
}
.extra-note p {
  position: relative;
  z-index: 1;
  margin: 0;
}
@keyframes pulse-note {
  0%, 100% { box-shadow: 0 0 0 4px rgba(193, 120, 71, 0.1), var(--shadow-md); }
  50% { box-shadow: 0 0 0 8px rgba(193, 120, 71, 0.15), var(--shadow-lg); }
}
@keyframes shimmer-note {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* ===== КАК РАБОТАЕТ ===== */
.how { background: transparent; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; }
.step {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border-strong); position: relative; counter-increment: step; transition: all 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 24px; right: 24px;
  font-family: var(--display); font-size: 40px; font-weight: 900;
  color: var(--accent); opacity: 0.15;
}
.step h3 { font-size: 18px; margin-bottom: 12px; color: var(--primary); padding-right: 60px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* ===== ТАРИФЫ ===== */
.pricing { background: rgba(248, 250, 252, 0.9); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border-strong);
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.price-card.featured { background: var(--primary); color: white; border-color: var(--primary); transform: scale(1.02); }
.price-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.price-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--accent); color: white; padding: 6px 14px;
  border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.price-name { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.price-value { display: flex; align-items: baseline; gap: 6px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.price-card.featured .price-value { border-color: rgba(255, 255, 255, 0.15); }
.price-amount { font-family: var(--display); font-size: 40px; font-weight: 700; }
.price-period { font-size: 14px; opacity: 0.6; }
.price-features { list-style: none; margin-bottom: 32px; flex: 1; }
.price-features li { padding: 10px 0; font-size: 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.price-card.featured .price-features li { border-color: rgba(255, 255, 255, 0.15); }
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card.featured .btn-primary { background: var(--accent); color: white; }
.price-card.featured .btn-primary:hover { background: #d48a55; }

/* ===== КОМУ ПОДХОДИТ — ГАЛЕРЕЯ ===== */
.audience {
  background: transparent;
  padding-bottom: 40px;
}
.audience-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 24px 32px;
  max-width: 1240px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.audience-gallery::-webkit-scrollbar { height: 6px; }
.audience-gallery::-webkit-scrollbar-track { background: var(--bg-alt); border-radius: 100px; }
.audience-gallery::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 100px; }
.audience-gallery::-webkit-scrollbar-thumb:hover { background: var(--primary); }
.audience-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border-strong);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  background: var(--bg-alt);
}
.audience-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.audience-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: var(--display);
  font-weight: 700;
}
.audience-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: auto;
}

/* ===== FAQ ===== */
.faq-section { background: rgba(248, 250, 252, 0.9); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface); border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid var(--border-strong); overflow: hidden; }
.faq-question {
  padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-weight: 600; font-size: 16px; color: var(--primary); user-select: none;
}
.faq-toggle {
  width: 28px; height: 28px; background: var(--bg-alt); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; font-size: 18px;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); background: var(--primary); color: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ===== CTA ===== */
.cta {
  background: rgba(30, 58, 95, 0.96);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
  white-space: nowrap;
}
.cta p { font-size: 18px; opacity: 0.85; margin-bottom: 32px; }
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 20px;
  flex-wrap: nowrap;
  align-items: stretch;
}
.cta-form input {
  flex: 1;
  min-width: 160px;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 15px;
  backdrop-filter: blur(10px);
}
.cta-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.cta-form input:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.15); }
.cta-form .btn { flex-shrink: 0; white-space: nowrap; background: var(--accent); color: white; }
.cta-form .btn:hover { background: #d48a55; }
.cta-form .btn:disabled { opacity: 0.7; cursor: not-allowed; }
.cta-note { font-size: 13px; opacity: 0.6; }

/* ===== FOOTER ===== */
.footer {
  background: rgba(15, 23, 42, 0.98);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='xMidYMax slice'%3E%3Cpath d='M0,120 L0,90 L60,90 L60,75 L80,60 L100,75 L100,90 L200,90 L200,70 L220,55 L240,70 L240,90 L400,90 L400,60 L420,45 L440,60 L440,90 L600,90 L600,75 L620,60 L640,75 L640,90 L800,90 L800,70 L820,55 L840,70 L840,90 L1000,90 L1000,75 L1020,60 L1040,75 L1040,90 L1200,90 L1200,120 Z' fill='%23ffffff' opacity='0.03'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; position: relative; z-index: 1; }
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-col h4 { color: white; font-size: 13px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.6); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 16px; position: relative; z-index: 1;
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px);
  z-index: 9999; align-items: center; justify-content: center; animation: fadeIn 0.3s ease;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--radius); padding: 48px 40px 40px;
  max-width: 460px; width: 90%; text-align: center; box-shadow: var(--shadow-lg); animation: modalSlideUp 0.4s ease;
}
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-icon { font-size: 48px; margin-bottom: 16px; display: block; color: var(--accent); }
.modal h2 { font-size: 28px; margin-bottom: 12px; color: var(--primary); }
.modal p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin-bottom: 28px; }

/* ===== АНИМАЦИИ ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== АДАПТИВ ===== */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .phone-mockup { width: 280px; height: 560px; transform: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento-item.large, .bento-item.medium, .bento-item.small { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .audience-gallery { padding: 16px 20px 28px; }
  .audience-card { flex: 0 0 280px; }
  .cta h2 { white-space: normal; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 24px; }
  .stat-value { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .address-compare { grid-template-columns: 1fr; }
  .cta-form { flex-wrap: wrap; max-width: 100%; }
  .cta-form input { min-width: 100%; }
  .cta-form .btn { width: 100%; }
  .audience-gallery { padding: 16px 16px 24px; gap: 16px; }
  .audience-card { flex: 0 0 260px; padding: 24px 20px; min-height: 200px; }
  .audience-card h3 { font-size: 16px; }
  .logo { font-size: 18px; }
  .chip-small { font-size: 10px; padding: 4px 8px; }
}