/* ============================================
   Уборка39 — style.css (v8.2 Final Fix)
   Исправлено: Идеальное центрирование и выравнивание меню
   ============================================ */

:root {
  --primary: #0f4c81;
  --primary-dark: #0a355c;
  --accent: #2ecc71;
  --accent-hover: #27ae60;
  --bg: #f8f9fa;
  --text: #1e293b;
  --text-light: #64748b;
  --card: #ffffff;
  --space: clamp(1rem, 2vw + 0.5rem, 2.5rem);
  --radius: 8px;
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gold: #fbbf24;
  --font: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== СБРОС И БАЗА ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
button { font-family: inherit; }
ul { list-style: none; }

.container { padding: var(--space); max-width: 1200px; margin: 0 auto; }
.bg-light { background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%); }

h1, h2, h3 { font-family: var(--font); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw + 1rem, 3.5rem); }
h2 { text-align: center; font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 2rem; }

/* ===== HEADER (ЖЕСТКАЯ 3-СТРУКТУРА) ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem var(--space);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(15, 76, 129, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  gap: 1rem;
}
.site-header.scrolled { padding: 0.4rem var(--space); box-shadow: 0 4px 24px rgba(15, 76, 129, 0.12); }

/* ЛЕВАЯ КОЛОНКА: Лого
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; z-index: 1001; }
.logo:hover { opacity: 0.9; }
.logo-broom-circle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; flex-shrink: 0; }
.logo-broom-circle i { font-size: 16px; animation: broom-sweep 4s ease-in-out infinite; transform-origin: bottom center; }
@keyframes broom-sweep { 0%, 100% { transform: rotate(0deg); } 20% { transform: rotate(-4deg); } 40% { transform: rotate(2deg); } 60% { transform: rotate(-2deg); } 80% { transform: rotate(3deg); } }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title { font-family: var(--font); font-weight: 700; font-size: 1.5rem; color: var(--primary); letter-spacing: -0.01em; }
.logo-subtitle { font-family: var(--font); font-size: 0.75rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 1px; white-space: nowrap; }
 */
 
/* ===== LOGO WITH IMAGE ===== */
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; flex-shrink: 0; z-index: 1001; }
.logo:hover { opacity: 0.9; }
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%; /* Если лого круглое — оставьте, если квадратное — уберите */
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-subtitle {
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 2px;
  white-space: nowrap;
}

/* Адаптив логотипа */
@media (max-width: 1024px) {
  .logo-img { width: 36px; height: 36px; }
  .logo-title { font-size: 1.25rem; }
}
@media (max-width: 850px) {
  .logo-subtitle { display: none; } /* Скрываем на планшетах */
}
@media (max-width: 600px) {
  .logo-img { width: 32px; height: 32px; }
  .logo-title { font-size: 1.15rem; }
}




/* ЦЕНТРАЛЬНАЯ КОЛОНКА: Меню */
.main-nav {
  flex: 1 1 auto; /* Занимает всё доступное место */
  display: none; /* Скрыто на мобильных по умолчанию */
  justify-content: center; /* Центрирует содержимое */
  align-items: center;
}
/* Мобильное полноэкранное меню */
.main-nav.active {
  display: flex;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100vh;
  flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 2rem; z-index: 1000;
}
.nav-link {
  padding: 1rem; font-size: 1.2rem; width: 100%; text-align: center;
  border-bottom: 1px solid #f1f5f9; color: var(--text); font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.nav-link:last-child { border-bottom: none; }
.nav-link:hover { color: var(--primary); background: rgba(15, 76, 129, 0.06); }
.nav-link.active { color: var(--accent); font-weight: 600; }

/* ПРАВАЯ КОЛОНКА: Кнопки */
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; z-index: 1001; }
.header-right { display: flex; align-items: center; gap: 0.4rem; }
.header-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 40px; padding: 0 1rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: all var(--transition); white-space: nowrap; border: none; cursor: pointer; }
.header-btn span { display: inline; }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; box-shadow: 0 3px 10px rgba(15, 76, 129, 0.2); }
.btn-secondary { background: rgba(15, 76, 129, 0.1); color: var(--primary); }
.btn-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%); color: #fff; box-shadow: 0 3px 10px rgba(46, 204, 113, 0.2); }
.header-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.header-cta i { animation: gentle-wiggle 3.5s ease-in-out infinite; display: block; }
@keyframes gentle-wiggle { 0%, 100% { transform: rotate(0) translateY(0); } 15% { transform: rotate(-5deg) translateY(-1px); } 30% { transform: rotate(4deg) translateY(-1px); } 45% { transform: rotate(-3deg) translateY(0); } 60% { transform: rotate(2deg) translateY(0); } 75% { transform: rotate(0) translateY(-1px); } }
.header-cta:hover i { animation: none; transform: scale(1.15); }
.burger { background: none; border: none; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; padding: 0.4rem; color: var(--primary); width: 40px; height: 40px; border-radius: var(--radius); z-index: 1002; }
.burger:hover { background: rgba(15, 76, 129, 0.08); }

/* ===== ДЕСКТОП: ГОРИЗОНТАЛЬНОЕ МЕНЮ (≥851px) ===== */
@media (min-width: 851px) {
  .main-nav {
    display: flex !important; /* Всегда видно */
    flex-direction: row !important; /* ← СТРОГО ГОРИЗОНТАЛЬНО */
    justify-content: center !important;
    align-items: center !important;
    gap: 0.3rem !important;
    padding: 0.5rem 1rem !important;
    background: rgba(255,255,255,0.85) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    /* Убираем всё, что могло ломать выравнивание */
    position: static !important; top: auto !important; left: auto !important;
    width: auto !important; height: auto !important;
    margin: 0 !important; transform: none !important;
    box-shadow: none !important; z-index: auto !important;
  }
  .nav-link {
    padding: 0.5rem 0.8rem !important; font-size: 0.95rem !important;
    width: auto !important; border-bottom: none !important;
    position: relative !important;
  }
  .nav-link::after {
    display: block !important; content: '' !important; position: absolute !important;
    bottom: 4px !important; left: 50% !important; width: 0 !important; height: 2px !important;
    background: var(--accent) !important; border-radius: 2px !important;
    transition: width 0.3s ease, left 0.3s ease !important; transform: translateX(-50%) !important;
  }
  .nav-link:hover::after { width: 60% !important; }
  .nav-link.active::after { width: 100% !important; }
  .burger { display: none !important; }
}

/* ===== АДАПТИВ КНОПОК ===== */
@media (max-width: 1024px) {
  .header-btn span { display: none !important; }
  .header-btn { width: 40px !important; height: 40px !important; padding: 0 !important; justify-content: center !important; }
}
@media (max-width: 850px) {
  .logo-title { font-size: 1.3rem; }
  .logo-subtitle { display: none; }
}
@media (max-width: 600px) {
  .btn-secondary { display: none; }
  .header-btn { width: 36px !important; height: 36px !important; }
  .logo-title { font-size: 1.1rem; }
}

/* ===== ОСТАЛЬНЫЕ СТИЛИ ===== */
.parallax-wrapper { position: relative; overflow: hidden; min-height: 85vh; display: flex; align-items: center; justify-content: center; padding: 4rem var(--space); background: linear-gradient(135deg, rgba(15,76,129,0.55) 0%, rgba(10,53,92,0.65) 100%), url('img/main.webp') center/cover no-repeat scroll; animation: heroFadeIn 0.8s ease-out; }
@keyframes heroFadeIn { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
.parallax-wrapper::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(46,204,113,0.12) 0%, transparent 60%); pointer-events: none; animation: glowPulse 8s ease-in-out infinite alternate; }
@keyframes glowPulse { from { opacity: 0.7; } to { opacity: 1; } }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 850px; color: #fff; font-family: var(--font); }
.hero-content h1 { font-family: var(--font); text-shadow: 0 3px 12px rgba(0,0,0,0.45); font-weight: 700; letter-spacing: -0.03em; }
.hero-content p { text-shadow: 0 2px 6px rgba(0,0,0,0.4); font-size: 1.15rem; opacity: 0.95; font-weight: 400; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) { .parallax-wrapper { background-attachment: fixed; } }

.cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: var(--accent); color: #fff; padding: 1rem 2rem; border-radius: var(--radius); text-decoration: none; font-family: var(--font); font-weight: 600; border: 2px solid transparent; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(46, 204, 113, 0.25); background: var(--accent-hover); }
.cta-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cta-btn.secondary { background: #fff; color: var(--primary); }
.cta-btn.secondary:hover { background: #f8fafc; transform: translateY(-3px); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

.messenger-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.messenger-btn { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; font-size: 1.7rem; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.25); transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease; position: relative; overflow: hidden; }
.messenger-btn::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s ease; }
.messenger-btn:hover { transform: translateY(-7px) scale(1.12); box-shadow: 0 14px 30px rgba(0,0,0,0.35); }
.messenger-btn:hover::after { opacity: 1; }
.messenger-btn:active { transform: translateY(-2px) scale(0.98); }
.btn-wa { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }
.btn-tg { background: linear-gradient(135deg, #0088cc 0%, #006699 100%); }
.btn-max { background: linear-gradient(135deg, #6c5ce7 0%, #5a4fcf 100%); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: var(--card); padding: 1.8rem; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; gap: 0.8rem; font-family: var(--font); }
.card h3 { font-family: var(--font); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.3rem; }
@media (hover: hover) { .card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); } }

.stats-section { padding: 3rem var(--space); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.stat-card { text-align: center; padding: 1.8rem 1.2rem; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.stat-icon { font-size: 2.2rem; margin-bottom: 0.8rem; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-number { font-family: var(--font); font-size: 2.5rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 0.4rem; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.95rem; color: var(--text-light); font-weight: 500; font-family: var(--font); }

.slogan-banner { width: 100%; background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%); border-top: 2px solid rgba(46, 204, 113, 0.2); border-bottom: 2px solid rgba(46, 204, 113, 0.2); padding: 2rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
.slogan-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(15,76,129,0.03) 0%, transparent 40%); pointer-events: none; }
.slogan-text { max-width: 900px; margin: 0 auto; font-family: var(--font); font-size: clamp(1.05rem, 2.5vw, 1.3rem); font-weight: 600; color: var(--primary); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.8rem; position: relative; z-index: 1; }
.slogan-text i { color: var(--accent); font-size: 1.4rem; flex-shrink: 0; }

.contact-form { max-width: 480px; margin: 0 auto; display: grid; gap: 0.9rem; font-family: var(--font); }
.form-field { display: grid; gap: 0.35rem; }
.form-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.95rem; color: var(--text); }
.form-label i { color: var(--primary); font-size: 1rem; width: 1.2rem; text-align: center; }
.contact-form input, .contact-form select { padding: 0.85rem 1rem; border: 1px solid #cbd5e0; border-radius: 10px; font-size: 1rem; transition: border-color var(--transition), box-shadow var(--transition); background: #fff; width: 100%; font-family: var(--font); }
.contact-form select { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%231e293b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.6rem center; background-size: 14px; padding-right: 2rem; }
.contact-form input:focus, .contact-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.08); outline: none; }
.checkbox { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; cursor: pointer; margin-top: 0.2rem; }
.checkbox input { width: auto; margin: 0; accent-color: var(--primary); }
.checkbox span { display: flex; align-items: center; gap: 0.4rem; }
.contact-form button[type="submit"] { margin-top: 0.3rem; position: relative; }
.contact-form button[type="submit"]:disabled { opacity: 0.7; cursor: wait; }
.form-status { font-size: 0.9rem; margin-top: 0.5rem; text-align: center; min-height: 1.2em; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #e53e3e; }
.contact-messengers { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.08); width: 100%; }

.reviews-section { position: relative; }
.reviews-viewport { overflow: hidden; padding: 0.5rem var(--space) 1.5rem; position: relative; mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); }
.reviews-track { display: flex; gap: 1.5rem; width: max-content; animation: scroll-left 130s linear infinite; will-change: transform; }
.reviews-viewport:hover .reviews-track, .reviews-viewport:focus-within .reviews-track { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.review-card { flex: 0 0 clamp(280px, 80vw, 380px); background: var(--card); padding: 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.9rem; border-left: 3px solid var(--accent); font-family: var(--font); }
.review-card p { font-style: italic; margin: 0; font-size: 0.98rem; line-height: 1.5; }
.review-author { font-weight: 600; color: var(--primary); margin-top: auto; display: flex; align-items: center; gap: 0.4rem; font-size: 0.92rem; }
.rating-badge { text-align: center; margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1rem 1.5rem; background: linear-gradient(135deg, #fffbe6 0%, #fff 100%); border-radius: var(--radius); border: 1px solid rgba(251, 191, 36, 0.25); }
.stars { color: var(--gold); font-size: 1.8rem; line-height: 1; display: flex; gap: 2px; }
.stars i { transition: transform 0.2s; }
.stars i.filled { filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.35)); }
.rating-text { font-family: var(--font); font-weight: 700; color: var(--text); font-size: 1.4rem; }
.rating-subtext { font-size: 0.9rem; color: var(--text-light); }

.scroll-top { position: fixed; bottom: 2rem; left: 2rem; z-index: 99; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--primary); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25); opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3); }

.fcw-widget { position: fixed; bottom: 2rem; right: 2rem; z-index: 99; display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem; }
.fcw-main-btn { width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--primary); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); animation: fcw-pulse 3s ease-in-out infinite; }
@keyframes fcw-pulse { 0%, 100% { box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25); } 50% { box-shadow: 0 6px 18px rgba(15, 76, 129, 0.4); } }
.fcw-main-btn:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3); animation: none; }
.fcw-main-btn.active { transform: rotate(25deg); background: var(--accent); animation: none; }
.fcw-options { display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem; opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.95); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); pointer-events: none; }
.fcw-options.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.fcw-option { width: 48px; height: 48px; border-radius: 50%; border: none; color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: all 0.3s ease; text-decoration: none; position: relative; }
.fcw-option:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.fcw-wa { background: #25D366; } .fcw-tg { background: #0088cc; } .fcw-phone { background: #4CAF50; }
.fcw-tooltip { position: absolute; right: 58px; top: 50%; transform: translateY(-50%); background: #1e293b; color: #fff; padding: 0.4rem 0.8rem; border-radius: 6px; font-size: 0.8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 100; }
.fcw-tooltip::before { content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); border: 4px solid transparent; border-left-color: #1e293b; }
.fcw-option:hover .fcw-tooltip { opacity: 1; }
@media (max-width: 768px) {
  .scroll-top { bottom: 1.5rem; left: 1.5rem; width: 44px; height: 44px; }
  .fcw-widget { bottom: 1.5rem; right: 1.5rem; }
  .fcw-main-btn, .fcw-option { width: 44px; height: 44px; font-size: 1.1rem; }
  .fcw-tooltip { display: none; }
}

.site-footer { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); color: #e2e8f0; padding: 3rem var(--space) 1.5rem; margin-top: 2rem; border-top: 3px solid var(--accent); position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(46,204,113,0.1) 0%, transparent 50%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto 2rem; position: relative; z-index: 1; }
.footer-col h3 { color: #fff; font-family: var(--font); font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col p, .footer-col a { font-size: 0.95rem; line-height: 1.7; color: #cbd5e1; }
.footer-col a { text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: #94a3b8; position: relative; z-index: 1; line-height: 1.5; }
.footer-bottom p { margin: 0.3rem 0; }
.footer-bottom a { color: #a0c8ff; text-decoration: underline; transition: color var(--transition); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-col a { justify-content: center; }
  .footer-col p { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin: 0.2rem 0; }
  .footer-bottom { padding-top: 1rem; font-size: 0.85rem; }
  #licnt36A8 { width: 77px !important; height: 27px !important; }
}

.scroll-animate { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--transition), transform 0.6s var(--transition); }
.scroll-animate.is-visible { opacity: 1; transform: translateY(0); }
.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }

@media (max-width: 768px) {
  .parallax-wrapper { min-height: 80vh; padding: 3rem 1rem; background-attachment: scroll; }
  .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .hero-content p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-btn { width: 100%; max-width: 320px; justify-content: center; }
  .reviews-viewport { padding: 0.5rem 0 1.5rem; }
  .contact-form { max-width: 100%; }
  .messenger-row { gap: 0.8rem; }
  .messenger-btn { width: 60px; height: 60px; font-size: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .stat-number { font-size: 2rem; }
  .stat-icon { font-size: 1.8rem; }
}
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scroll-animate { opacity: 1; transform: none; }
  .parallax-wrapper { background-attachment: scroll !important; animation: none !important; }
  .parallax-wrapper::before { animation: none !important; }
  .reviews-track { animation: none !important; transform: none !important; }
  .messenger-btn:hover { transform: none; box-shadow: none; }
  .nav-link::after { display: none; }
  .scroll-top { transition: none; }
  .header-cta i { animation: none !important; }
  .fcw-main-btn { animation: none !important; }
  .logo-broom-circle i { animation: none !important; }
}
/* ===== FOOTER COUNTERS ===== */
.counters-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px; /* Небольшой интервал между счётчиками */
  margin: 0.8rem 0 0;
  flex-wrap: wrap;
}
.counter-link {
  display: inline-block;
  opacity: 0.7; /* Полупрозрачность по умолчанию */
  transition: opacity 0.2s ease;
  line-height: 0; /* Убирает лишние отступы у картинок */
}
.counter-link:hover {
  opacity: 1; /* Полная видимость при наведении */
}
.counter-link img {
  display: block; /* Убирает артефакты inline-изображений */
}

/* Адаптив для очень узких экранов */
@media (max-width: 400px) {
  .counters-wrapper { gap: 8px; }
  .counter-link img { width: 77px; height: 27px; }
}