/* ============================================================
   ВОДОЛЕЙ-СТАЙЛ — Единая таблица стилей
   ============================================================ */

/* ==================== БАЗА ==================== */
:root {
  --color-bg: #fafaf7;
  --color-surface: #ffffff;
  --color-dark: #0f1a24;
  --color-text: #1e2a35;
  --color-muted: #6b7785;
  --color-accent: #4a1a7a;
  --color-accent-light: #6c3ca3;
  --color-error: #c0392b;
  --color-success: #1e7a4a;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 26, 36, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 26, 36, 0.09);
  --shadow-lg: 0 25px 60px rgba(15, 26, 36, 0.14);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ==================== ЛОГОТИП ==================== */
.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.logo:hover { opacity: 0.8; }
.logo img {
  height: 44px;
  width: auto;
  max-width: 220px;
}

/* ==================== ХЕДЕР ==================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 26, 36, 0.06);
  transition: var(--transition);
}
header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(250, 250, 247, 0.98);
}

.nav {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 24px;
}

/* Основное меню (десктоп) — по центру между лого и телефонами */
.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-muted);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after { width: 100%; }

/* Мобильные телефоны — скрыты на десктопе */
.nav-mobile-phones { display: none; }

/* Телефоны в хедере (десктоп) */
.nav-phones {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.nav-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-phone-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.nav-phone-number {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.nav-phone:hover .nav-phone-number,
.nav-phone:hover .nav-phone-label { color: var(--color-accent); }

.nav-cta {
  padding: 10px 22px;
  background: var(--color-dark);
  color: #fff;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 26, 122, 0.3);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: 170px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(74, 26, 122, 0.08), transparent 70%);
  border-radius: 50%;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -300px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184, 148, 95, 0.10), transparent 70%);
  border-radius: 50%;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(74, 26, 122, 0.08);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.12rem;
  color: var(--color-muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: var(--color-dark);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 26, 36, 0.2);
}
.btn-primary:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(74, 26, 122, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid rgba(15, 26, 36, 0.15);
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
}
.btn svg { transition: transform var(--transition); }
.btn:hover svg { transform: translateX(4px); }

.hero-stats { display: grid; gap: 16px; }
.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
  border: 1px solid rgba(15, 26, 36, 0.04);
}
.stat-card:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(74, 26, 122, 0.1), rgba(108, 60, 163, 0.06));
}
.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.85rem; color: var(--color-muted); }

/* ==================== СЕКЦИИ ==================== */
section { padding: 90px 0; }

.section-head {
  max-width: 820px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-head p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* ==================== ПРОЕКТЫ ==================== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.project-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 26, 36, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-card:hover::before { transform: scaleX(1); }

.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.tag-b2b { background: rgba(74, 26, 122, 0.1); color: var(--color-accent); }
.tag-retail { background: rgba(184, 148, 95, 0.14); color: #8a6a35; }
.tag-brand { background: rgba(15, 26, 36, 0.07); color: var(--color-dark); }

.project-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.project-card p {
  color: var(--color-muted);
  font-size: 0.94rem;
  flex-grow: 1;
  margin-bottom: 20px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-accent);
  transition: gap var(--transition);
}
.project-card:hover .project-link { gap: 14px; }

/* ==================== ПРЕИМУЩЕСТВА ==================== */
.features-section { background: var(--color-surface); }
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 32px;
}
.feature { text-align: center; }
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(74, 26, 122, 0.08), rgba(108, 60, 163, 0.04));
  font-size: 1.7rem;
  transition: var(--transition);
}
.feature:hover .feature-icon {
  transform: translateY(-6px) rotate(-4deg);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}
.feature h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--color-muted); font-size: 0.92rem; }

/* ==================== КОНТАКТЫ / CTA ==================== */
.contact-section { padding: 0 0 100px; }
.contact-box {
  background: linear-gradient(135deg, var(--color-dark) 0%, #16232e 100%);
  border-radius: 28px;
  padding: 70px 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74, 26, 122, 0.3), transparent 70%);
  border-radius: 50%;
}
.contact-box::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(184, 148, 95, 0.2), transparent 70%);
  border-radius: 50%;
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.contact-info p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.contact-features { list-style: none; display: grid; gap: 16px; }
.contact-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.contact-features .cf-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-phones {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-phones-title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.contact-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  transition: var(--transition);
  color: #fff;
}
.contact-phone:hover { transform: translateX(6px); }
.contact-phone-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.contact-phone:hover .contact-phone-icon { background: var(--color-accent); }
.contact-phone-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.contact-phone-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
.contact-phone-number {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

/* Форма */
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  color: var(--color-text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}
.form-field label .req { color: var(--color-accent); }
.form-field label .opt {
  color: var(--color-muted);
  font-weight: 400;
  font-size: 0.8rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(15, 26, 36, 0.12);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text);
  transition: var(--transition);
  background: #fff;
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(74, 26, 122, 0.1);
}
.form-field textarea { min-height: 100px; resize: vertical; }

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 22px;
}
.consent-field input[type="checkbox"] {
  width: 20px; height: 20px;
  margin-top: 1px;
  accent-color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
}
.consent-field label {
  font-size: 0.85rem;
  color: var(--color-muted);
  cursor: pointer;
  line-height: 1.5;
}
.consent-field label a {
  color: var(--color-accent);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-submit {
  width: 100%;
  padding: 15px 30px;
  background: var(--color-dark);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.form-submit:hover:not(:disabled) {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(74, 26, 122, 0.35);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(30, 122, 74, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(30, 122, 74, 0.2);
}
.form-message.error {
  display: block;
  background: rgba(192, 57, 43, 0.08);
  color: var(--color-error);
  border: 1px solid rgba(192, 57, 43, 0.2);
}

/* ==================== ФУТЕР ==================== */
footer {
  background: var(--color-surface);
  border-top: 1px solid rgba(15, 26, 36, 0.06);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--color-muted);
  font-size: 0.92rem;
  max-width: 320px;
  margin-top: 16px;
}
.footer-logo { display: inline-flex; align-items: center; }
.footer-logo img { height: 40px; width: auto; max-width: 200px; }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a {
  font-size: 0.94rem;
  color: var(--color-text);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col a:hover { color: var(--color-accent); }
.footer-phone-label {
  color: var(--color-muted);
  font-weight: 500;
  margin-right: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(15, 26, 36, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--color-muted);
}

/* ==================== АНИМАЦИИ ==================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== СТРАНИЦА ПОЛИТИКИ ==================== */
.policy-page {
  background: var(--color-bg);
  line-height: 1.7;
}

/* Хедер политики — на всю ширину экрана */
.policy-page header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 26, 36, 0.06);
}

.policy-page .header-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.policy-page .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

/* Кнопка «На главную» */
.policy-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-dark);
  color: #fff;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  flex-shrink: 0;
}
.policy-page .back-link:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 26, 122, 0.3);
}

/* Телефоны на странице политики (переиспользуем общие стили .nav-phones,
   но добавляем центрирование по горизонтали для этой страницы) */
.policy-page .nav-phones {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
}

/* Заголовок страницы */
.page-header {
  padding: 70px 0 40px;
  text-align: center;
  border-bottom: 1px solid rgba(15, 26, 36, 0.06);
}
.page-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-header p {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Контент политики */
.policy-content {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 56px 60px;
  box-shadow: var(--shadow-md);
  margin: 50px 0 70px;
}
.policy-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 26, 36, 0.06);
  color: var(--color-dark);
}
.policy-content h2:first-of-type { margin-top: 0; }
.policy-content p {
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: 0.97rem;
}
.policy-content ol {
  margin: 12px 0 20px 0;
  padding-left: 0;
  list-style: none;
  counter-reset: item;
}
.policy-content ol > li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 14px;
  counter-increment: item;
  color: var(--color-text);
  font-size: 0.97rem;
}
.policy-content ol > li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0; top: 0;
  width: 36px;
  text-align: right;
  font-weight: 700;
  color: var(--color-accent);
}
.policy-content ul {
  margin: 12px 0 20px 0;
  padding-left: 0;
  list-style: none;
}
.policy-content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--color-text);
  font-size: 0.97rem;
}
.policy-content ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.policy-content a { color: var(--color-accent); text-decoration: underline; }
.policy-content strong { font-weight: 700; color: var(--color-dark); }

.policy-note {
  background: rgba(74, 26, 122, 0.05);
  border-left: 3px solid var(--color-accent);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.94rem;
  color: var(--color-text);
}
.policy-note strong { color: var(--color-accent); }

/* Футер политики */
.policy-footer {
  background: var(--color-surface);
  border-top: 1px solid rgba(15, 26, 36, 0.06);
  padding: 40px 0 32px;
  text-align: center;
}
.policy-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.policy-footer-inner img {
  height: 36px;
  width: auto;
  max-width: 180px;
  opacity: 0.85;
}
.footer-contacts {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 8px 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: var(--transition);
}
.footer-contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.footer-contact-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.footer-contact:hover .footer-contact-number,
.footer-contact:hover .footer-contact-label { color: var(--color-accent); }

/* ==================== АДАПТИВ: ПЛАНШЕТЫ ==================== */
@media (max-width: 1000px) {
  .nav-phones { display: none; }
  .nav-menu { gap: 22px; }
  .nav-links { gap: 22px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ==================== АДАПТИВ: МОБИЛЬНЫЕ ==================== */
@media (max-width: 720px) {
  .nav {
    height: 68px;
    justify-content: space-between;
    gap: 0;
  }

  .nav-phones,
  .nav-cta { display: none; }

  .burger { display: flex; }

  /* Мобильное меню — единый выпадающий блок */
  .nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    padding: 8px 24px 24px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(15, 26, 36, 0.06);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

  .nav-menu.open { display: flex; }

  .nav-links {
    flex-direction: column;
    gap: 0;
    margin: 0;
    flex: none;
  }

  .nav-links li { border-bottom: 1px solid rgba(15, 26, 36, 0.06); }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
    color: var(--color-text);
  }
  .nav-links a::after { display: none; }

  /* Телефоны внутри мобильного меню — показываются только когда меню открыто */
  .nav-mobile-phones {
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 26, 36, 0.08);
  }
  .nav-mobile-phones .nav-phone { align-items: flex-start; }
  .nav-mobile-phones .nav-phone-number { font-size: 1.05rem; }

  .policy-page .header-inner { padding: 0 20px; }
  .policy-page .nav { height: 68px; }

  .logo img { height: 34px; max-width: 170px; }

  .hero { padding: 130px 0 70px; }
  section { padding: 64px 0; }
  .contact-box { padding: 40px 24px; }
  .form-card { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .policy-content { padding: 36px 26px; margin: 36px 0 50px; }
  .policy-content h2 { font-size: 1.15rem; margin: 30px 0 14px; }
  .policy-content ol > li { padding-left: 36px; }
  .policy-content ol > li::before { width: 28px; }
  .policy-page .nav { height: 68px; }
  .page-header { padding: 50px 0 30px; }
  .footer-contacts { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn { padding: 13px 24px; font-size: 0.92rem; }
  .stat-card { padding: 20px 22px; }
  .project-card { padding: 26px 24px; }
  .logo img { height: 30px; max-width: 150px; }
  .contact-box { padding: 32px 18px; }
  .form-card { padding: 22px 18px; }
  .policy-content { padding: 28px 20px; }
  .policy-content p,
  .policy-content ol > li,
  .policy-content ul li { font-size: 0.93rem; }
  .policy-page .back-link span { display: none; }
  .policy-page .back-link::after { content: '←'; font-size: 1.1rem; }
}