/* Навигация */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.nav-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; }
.logo-text { display: flex; align-items: center; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; }
.logo-ai { color: var(--coral); } .logo-divider { width: 2px; height: 24px; background: var(--coral); margin: 0 6px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-light); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--coral); }
.nav-cta { background: var(--coral); color: #fff !important; padding: 0.55rem 1.2rem; border-radius: 8px; font-weight: 600 !important; }
.burger { display: none; }
@media (max-width: 900px) { .nav-links { display: none; } .burger { display: block; } }

/* Секции */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--coral); margin-bottom: 0.8rem; }
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); margin-bottom: 3rem; max-width: 600px; }

/* Сетки */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }

/* Футер */
footer { background: var(--dark); color: #94a3b8; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-ddi { color: #fff; }
footer h5 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; font-family: var(--font-heading); }
footer a { display: block; color: #94a3b8; padding: 0.3rem 0; transition: color 0.2s; }
footer a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
/* Мобильное меню */
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px); z-index: 99;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

.mobile-nav-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 300px;
  background: #fff; z-index: 100;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-nav-panel.open { transform: translateX(0); }