/* ============================================================
   СВЕТЛАЯ ТЕМА ДЛЯ САЙТА УК «ДОМИКО»
   Подключается ОДНИМ ФАЙЛОМ — не трогает HTML и данные
   ============================================================ */

:root {
  /* === ФОН И ПОВЕРХНОСТИ === */
  --bg: #f5f6fa;
  --bg2: #ffffff;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-hover: rgba(255, 255, 255, 0.95);

  /* === ГРАНИЦЫ === */
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.12);

  /* === ТЕКСТ === */
  --text: #1a1a2e;
  --text2: #5a5a70;
  --text3: #999999;

  /* === АКЦЕНТЫ === */
  --accent: #4f6ef6;
  --accent2: #06d6a0;
  --accent3: #ff6b6b;
  --gradient: linear-gradient(135deg, #4f6ef6 0%, #06d6a0 50%, #4f6ef6 100%);

  /* === РАДИУСЫ === */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* === ТЕНИ (светлая тема — мягкие, едва заметные) === */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 60px rgba(79, 110, 246, 0.08);

  /* === АНИМАЦИЯ === */
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* === СБРОСЫ === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition-smooth), color var(--transition-smooth);
}

/* === ДЕКОРАТИВНЫЙ ФОН (mesh + grid) === */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}
.bg-mesh::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(79, 110, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(6, 214, 160, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
  animation: meshFloat 20s ease-in-out infinite;
}
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -1%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-1deg); }
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* === КОНТЕЙНЕР === */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* === ШАПКА (HEADER) === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}
header.scrolled {
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === НАВИГАЦИЯ === */
nav {
  display: flex;
  gap: 4px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  padding: 4px;
  border: 1px solid var(--border);
}
nav a {
  padding: 10px 20px;
  border-radius: 36px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
nav a:hover,
nav a.active {
  background: var(--bg2);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* === ПРАВАЯ ЧАСТЬ ШАПКИ === */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.btn-icon:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow), var(--shadow-glow);
}

/* === КНОПКА АВАРИЙНОЙ СЛУЖБЫ === */
.emergency-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 40px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  text-decoration: none;
  transition: var(--transition);
}
.emergency-btn:hover {
  background: rgba(255, 107, 107, 0.2);
  box-shadow: 0 0 24px rgba(255, 107, 107, 0.2);
}
.emergency-btn .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); }
  50% { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); }
}
.emergency-btn .phone-num {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.emergency-btn small {
  display: block;
  font-size: 10px;
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hamburger {
  display: none;
}

/* === ГЛАВНЫЙ ЭКРАН (HERO) === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}
.hero-content {
  max-width: 600px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(79, 110, 246, 0.1);
  border: 1px solid rgba(79, 110, 246, 0.3);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -2px;
}
.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--text2);
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* === КНОПКИ === */
.btn {
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(79, 110, 246, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: 0.6s;
}
.btn-primary:hover::before {
  transform: translateX(100%);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 110, 246, 0.6);
}
.btn-secondary {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* === ВИЗУАЛЬНЫЙ БЛОК HERO (орбы, кольца, карточки) === */
.hero-visual {
  position: relative;
  width: 500px;
  height: 500px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orb {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.15;
  filter: blur(60px);
  animation: orbFloat 6s ease-in-out infinite;
  position: absolute;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.15); }
}
.hero-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  animation: ringRotate 20s linear infinite;
  position: absolute;
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-ring:nth-child(3) {
  width: 280px;
  height: 280px;
  animation-direction: reverse;
  animation-duration: 25s;
}
.hero-float-card {
  position: absolute;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.hero-float-card:nth-child(4) {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}
.hero-float-card:nth-child(5) {
  bottom: 15%;
  left: 0;
  animation-delay: 1.5s;
}
.hero-float-card .hfc-stat {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-float-card .hfc-label {
  font-size: 12px;
  color: var(--text2);
  margin-top: 2px;
}

/* === СЕКЦИИ === */
section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text2);
  max-width: 500px;
  margin-bottom: 48px;
}

/* === СТАТИСТИКА === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
  opacity: 0;
  transition: var(--transition);
}
.stat-card:hover::after {
  opacity: 1;
}
.stat-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: translateY(-4px);
}
.stat-card .stat-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.stat-card .stat-num {
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card .stat-label {
  font-size: 13px;
  color: var(--text2);
  margin-top: 4px;
  font-weight: 500;
}

/* === УСЛУГИ === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.service-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow), 0 0 40px rgba(79, 110, 246, 0.1);
  transform: translateY(-6px);
}
.service-card .svc-icon {
  font-size: 36px;
  margin-bottom: 12px;
  transition: var(--transition);
}
.service-card:hover .svc-icon {
  transform: scale(1.2);
}
.service-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.service-card p {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
}

/* === ФОТООТЧЁТЫ === */
.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 16px;
  grid-template-rows: 300px 300px;
}
.photo-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}
.photo-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.photo-item:hover img {
  transform: scale(1.05);
}
.photo-item:nth-child(1) {
  grid-row: span 2;
}
.photo-item:nth-child(2) {
  grid-row: span 1;
}
.photo-item:nth-child(3) {
  grid-row: span 1;
}
.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
.photo-overlay .address {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}
.photo-overlay .type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
}

/* === НОВОСТИ + ГОЛОСОВАНИЕ === */
.news-poll-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.news-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  margin-bottom: 12px;
}
.news-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.news-card .nc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(79, 110, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.news-card .nc-date {
  font-size: 11px;
  color: var(--text3);
  margin-bottom: 2px;
}
.news-card .nc-title {
  font-weight: 500;
  font-size: 14px;
}
.poll-widget {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.poll-widget h3 {
  margin-bottom: 20px;
  font-size: 18px;
}
.poll-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 8px 0;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}
.poll-option:hover {
  border-color: var(--accent);
  background: rgba(79, 110, 246, 0.05);
}
.poll-option.selected {
  border-color: var(--accent);
  background: rgba(79, 110, 246, 0.1);
}
.poll-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.poll-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  transition: 1s;
}

/* === ПАРТНЁРЫ === */
.partners-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.partners-scroll::-webkit-scrollbar {
  height: 3px;
}
.partners-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}
.partner-logo {
  min-width: 160px;
  height: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text2);
  transition: var(--transition);
  scroll-snap-align: start;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.partner-logo:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow);
}

/* === CTA === */
.cta {
  text-align: center;
  padding: 80px 0;
}
.cta h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta p {
  color: var(--text2);
  margin-bottom: 32px;
  font-size: 18px;
}

/* === ПОДВАЛ (FOOTER) === */
footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text3);
}
.footer-grid a,
.footer-grid p {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  display: block;
  margin: 6px 0;
  transition: var(--transition);
}
.footer-grid a:hover {
  color: var(--accent);
}
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text3);
}
.footer-disclosure {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(79, 110, 246, 0.1);
  border: 1px solid rgba(79, 110, 246, 0.3);
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
}

/* === АНИМАЦИЯ ПОЯВЛЕНИЯ === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === АДАПТИВ === */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero p {
    margin: 0 auto 32px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    width: 300px;
    height: 300px;
    margin-top: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .photo-item:nth-child(1) {
    grid-row: span 2;
  }
  .photo-item:nth-child(2) {
    grid-column: 2;
  }
  .photo-item:nth-child(3) {
    grid-column: 1 / span 2;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-poll-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  nav {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .photo-item {
    grid-row: auto !important;
    grid-column: auto !important;
    height: 200px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 36px;
  }
}
/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.mobile-menu a {
    font-size: 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}
@media (max-width: 640px) {
    .hamburger {
        display: block;
    }
    nav {
        display: none;
    }
}

/* ========== МОБИЛЬНАЯ ВЕРСИЯ ========== */
@media (max-width: 768px) {
    /* Шапка — компактная */
    .header-inner {
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .logo {
        font-size: 18px;
        order: 1;
    }
    /* Аварийная — только иконка трубки */
    .emergency-btn {
        order: 2;
        padding: 8px 12px;
        background: rgba(255,107,107,0.15);
        border-radius: 50%;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .emergency-btn .phone-num,
    .emergency-btn small {
        display: none;
    }
    .emergency-btn .pulse {
        width: 10px;
        height: 10px;
    }
    /* Версия для слабовидящих — компактно */
    .header-right {
        order: 3;
        gap: 6px;
    }
    .header-right a.emergency-btn[onclick*="toggleHighContrast"] {
        font-size: 0 !important;
        padding: 8px 10px !important;
        width: auto;
        border-radius: 20px !important;
    }
    .header-right a.emergency-btn[onclick*="toggleHighContrast"] span {
        font-size: 11px !important;
    }
    /* Гамбургер */
    .hamburger {
        display: block;
        order: 4;
        font-size: 26px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text);
    }
    nav {
        display: none;
    }
    /* Hero */
    .hero {
        padding: 100px 0 40px;
        text-align: center;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 14px;
    }
    .hero-visual {
        width: 200px;
        height: 200px;
        margin: 20px auto;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    /* Услуги — в 2 колонки */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Статистика — в 2 колонки */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Новости + опрос */
    .news-poll-grid {
        grid-template-columns: 1fr;
    }
    /* Партнёры */
    .partner-logo {
        min-width: 120px;
        height: 60px;
    }
    /* Футер */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    /* Форма контактов — поля на всю ширину */
    .form-input {
        width: 100% !important;
    }
    /* Файл-кнопка */
    .file-upload-btn {
        padding: 12px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg);
        z-index: 200;
        flex-direction: column;
        padding: 80px 30px;
        gap: 8px;
        overflow-y: auto;
    }
    .mobile-menu a {
        display: block;
        padding: 16px 20px;
        font-size: 18px;
        font-weight: 600;
        color: var(--text);
        text-decoration: none;
        border-radius: 14px;
        background: var(--surface);
        transition: 0.2s;
    }
    .mobile-menu a:active,
    .mobile-menu a:hover {
        background: var(--accent);
        color: #fff;
    }
}
