/* ===================================================
   НАГЛЯД UA — style.css
   Themes: dark | light | mono
   Font sizes: small | normal | large | xlarge
   =================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');

/* ══════════════════════════════════════════════
   CSS CUSTOM PROPERTIES — ТЕМНА ТЕМА (default)
   ══════════════════════════════════════════════ */
:root {
  /* Кольори */
  --bg-primary:    #0b0f1a;
  --bg-secondary:  #111827;
  --bg-card:       rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --text-primary:  #f0f6fc;
  --text-secondary:#8b949e;
  --text-muted:    #4a5568;
  --accent:        #e8a020;
  --accent-dark:   #b87d18;
  --accent-light:  #fbbf24;
  --accent-rgb:    232, 160, 32;
  --border:        rgba(255,255,255,0.08);
  --border-hover:  rgba(232,160,32,0.4);
  --shadow:        0 4px 32px rgba(0,0,0,0.5);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.3);
  --nav-bg:        rgba(11,15,26,0.92);
  --glass-bg:      rgba(255,255,255,0.04);
  --glass-border:  rgba(255,255,255,0.08);
  --input-bg:      rgba(255,255,255,0.05);
  --input-border:  rgba(255,255,255,0.12);
  --footer-bg:     #070b13;
  --scroll-btn-bg: var(--accent);

  /* Типографіка */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.05rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;

  /* Відступи та форми */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
}

/* ── СВІТЛА ТЕМА ── */
[data-theme="light"] {
  --bg-primary:    #f4f7fb;
  --bg-secondary:  #ffffff;
  --bg-card:       rgba(0,0,0,0.03);
  --bg-card-hover: rgba(0,0,0,0.06);
  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-muted:    #94a3b8;
  --accent:        #d97706;
  --accent-dark:   #b45309;
  --accent-light:  #f59e0b;
  --accent-rgb:    217,119,6;
  --border:        rgba(0,0,0,0.08);
  --border-hover:  rgba(217,119,6,0.4);
  --shadow:        0 4px 24px rgba(0,0,0,0.08);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.08);
  --nav-bg:        rgba(244,247,251,0.95);
  --glass-bg:      rgba(255,255,255,0.7);
  --glass-border:  rgba(0,0,0,0.08);
  --input-bg:      #ffffff;
  --input-border:  rgba(0,0,0,0.15);
  --footer-bg:     #f4f7fb;
  --scroll-btn-bg: var(--accent);
}

/* ── МОНОХРОМНА ТЕМА ── */
[data-theme="mono"] {
  --bg-primary:    #0e0e0e;
  --bg-secondary:  #181818;
  --bg-card:       rgba(255,255,255,0.06);
  --bg-card-hover: rgba(255,255,255,0.1);
  --text-primary:  #ffffff;
  --text-secondary:#aaaaaa;
  --text-muted:    #555555;
  --accent:        #ffffff;
  --accent-dark:   #cccccc;
  --accent-light:  #eeeeee;
  --accent-rgb:    255,255,255;
  --border:        rgba(255,255,255,0.12);
  --border-hover:  rgba(255,255,255,0.4);
  --shadow:        0 4px 32px rgba(0,0,0,0.6);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.4);
  --nav-bg:        rgba(14,14,14,0.95);
  --glass-bg:      rgba(255,255,255,0.05);
  --glass-border:  rgba(255,255,255,0.12);
  --input-bg:      rgba(255,255,255,0.06);
  --input-border:  rgba(255,255,255,0.15);
  --footer-bg:     #050505;
  --scroll-btn-bg: #ffffff;
}
[data-theme="mono"] .btn--accent { color: #000 !important; }
[data-theme="mono"] .scroll-top { color: #000; }

/* ── РОЗМІРИ ШРИФТУ ── */
[data-font-size="small"]  { --fs-base:1rem;   --fs-sm:0.8rem;   --fs-lg:1rem;    --fs-xl:1.1rem;   --fs-2xl:1.3rem;  --fs-3xl:1.6rem;  --fs-4xl:2rem;    --fs-5xl:2.6rem;  --fs-6xl:3.2rem; }
[data-font-size="normal"] { --fs-base:1rem;   --fs-sm:0.875rem; --fs-lg:1.125rem;--fs-xl:1.25rem;  --fs-2xl:1.5rem;  --fs-3xl:1.875rem;--fs-4xl:2.25rem; --fs-5xl:3rem;    --fs-6xl:3.75rem; }
[data-font-size="large"]  { --fs-base:1.15rem;--fs-sm:1rem;     --fs-lg:1.3rem;  --fs-xl:1.45rem;  --fs-2xl:1.7rem;  --fs-3xl:2.1rem;  --fs-4xl:2.6rem;  --fs-5xl:3.4rem;  --fs-6xl:4.2rem; }
[data-font-size="xlarge"] { --fs-base:1.3rem; --fs-sm:1.125rem; --fs-lg:1.5rem;  --fs-xl:1.65rem;  --fs-2xl:1.9rem;  --fs-3xl:2.35rem; --fs-4xl:2.9rem;  --fs-5xl:3.75rem; --fs-6xl:4.6rem; }

/* ── ЗМЕНШЕНІ АНІМАЦІЇ ── */
[data-reduce-motion="true"] *,
[data-reduce-motion="true"] *::before,
[data-reduce-motion="true"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* ══════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: var(--fs-base);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: var(--fs-base);
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.section {
  padding-block: clamp(64px, 8vw, 120px);
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.section__tag::before,
.section__tag::after {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.6;
}

.section__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section__sub {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--lg { padding: 15px 32px; font-size: var(--fs-base); border-radius: var(--radius-lg); }
.btn--full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════
   LOGO
   ══════════════════════════════════════════════ */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__icon svg { flex-shrink: 0; }
.logo__img { width: 44px; height: 44px; object-fit: contain; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.logo__text { display: flex; align-items: baseline; gap: 2px; }
.logo__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.logo__ua {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: var(--fs-sm);
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════
   ПАНЕЛЬ ДОСТУПНОСТІ
   ══════════════════════════════════════════════ */
.access-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.5);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.footer__socials { display: flex; gap: 8px; flex-wrap: wrap; }

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.footer__social::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}
.footer__social:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.footer__social:hover::before { opacity: 1; }

/* Facebook — синій */
.footer__social--fb:hover { box-shadow: 0 4px 16px rgba(24,119,242,0.5); }
.footer__social--fb::before { background: #1877f2; }

/* Instagram — градієнт */
.footer__social--ig:hover { box-shadow: 0 4px 16px rgba(225,48,108,0.5); }
.footer__social--ig::before { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* YouTube — червоний */
.footer__social--yt:hover { box-shadow: 0 4px 16px rgba(255,0,0,0.4); }
.footer__social--yt::before { background: #ff0000; }

/* X (Twitter) — чорний */
.footer__social--x:hover { box-shadow: 0 4px 16px rgba(255,255,255,0.15); }
.footer__social--x::before { background: #000; }
[data-theme="light"] .footer__social--x::before { background: #14171a; }

/* Telegram — синій */
.footer__social--tg:hover { box-shadow: 0 4px 16px rgba(0,136,204,0.5); }
.footer__social--tg::before { background: linear-gradient(135deg, #2ca5e0 0%, #0083c1 100%); }

/* Моно — скасовуємо кольори брендів */
[data-theme="mono"] .footer__social::before { background: rgba(255,255,255,0.15) !important; }
[data-theme="mono"] .footer__social:hover { box-shadow: 0 4px 16px rgba(255,255,255,0.1) !important; }

/* Іконки у nav-посиланнях футера */
.footer__link {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer__link:hover { color: var(--accent); }
.footer__link--phone { color: var(--accent); font-weight: 600; }
.footer__link--phone:hover { color: var(--accent-light); }
.access-toggle:hover {
  transform: scale(1.1) rotate(30deg);
  box-shadow: 0 6px 28px rgba(var(--accent-rgb), 0.7);
}

.access-panel {
  position: fixed;
  bottom: 24px;
  left: 86px;
  z-index: 999;
  width: 300px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  transform: translateX(-20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  transform-origin: bottom left;
}
.access-panel.is-open {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.access-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: none;
}
.access-overlay.is-open { display: block; }

.access-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.access-panel__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
}
.access-panel__close {
  color: var(--text-secondary);
  transition: color var(--transition);
  padding: 4px;
}
.access-panel__close:hover { color: var(--accent); }

.access-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.access-section:last-of-type { border-bottom: none; margin-bottom: 16px; padding-bottom: 0; }

.access-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.access-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.access-btn {
  flex: 1;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  font-weight: 600;
  background: var(--bg-card);
  transition: all var(--transition);
}
.access-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.access-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
[data-theme="mono"] .access-btn.active { color: #000; }

.font-group { gap: 4px; }
.font-btn { font-size: var(--fs-sm); font-weight: 700; padding: 8px 6px; }

/* Тогл перемикач */
.access-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.toggle-switch { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-thumb {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background var(--transition);
  cursor: pointer;
}
.toggle-thumb::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
}
.toggle-switch input:checked + .toggle-thumb { background: var(--accent); }
.toggle-switch input:checked + .toggle-thumb::after { transform: translateX(18px); }

.access-reset {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: all var(--transition);
  background: transparent;
}
.access-reset:hover { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.nav__link:hover, .nav__link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.header__cta {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  padding: 10px 20px;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb),0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: glowFloat 8s ease-in-out infinite;
}
.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.15) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}
.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.08) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  animation-delay: -4s;
}

@keyframes glowFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px,-20px) scale(1.05); }
}

.hero__particles {
  position: absolute;
  inset: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(60px, 8vw, 100px);
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb),0.1);
  border: 1px solid rgba(var(--accent-rgb),0.2);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.8); }
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(var(--fs-3xl), 6vw, var(--fs-6xl));
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.hero__title--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="mono"] .hero__title--accent {
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(var(--fs-base), 1.5vw, var(--fs-lg));
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__stat { display: flex; flex-direction: column; gap: 3px; }
.hero__stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.hero__stat-label { font-size: var(--fs-xs); color: var(--text-secondary); }
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Декоративний щит */
.hero__shield {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 28vw, 500px);
  opacity: 0.75;
  animation: shieldFloat 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shieldFloat {
  0%,100% { transform: translateY(-50%) rotate(-2deg); }
  50%      { transform: translateY(calc(-50% - 20px)) rotate(2deg); }
}

/* Плаваючі бейджі навколо щита */
.hero__shield-badge {
  position: absolute;
  background: var(--glass-bg, rgba(15,23,42,0.8));
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(var(--accent-rgb),0.1);
  pointer-events: none;
  z-index: 2;
}
.hero__shield-badge--1 {
  top: 8%;
  left: -30%;
  animation: shieldBadge1 5s ease-in-out infinite;
}
.hero__shield-badge--2 {
  bottom: 28%;
  right: -8%;
  animation: shieldBadge1 5s ease-in-out infinite 1.7s;
}
.hero__shield-badge--3 {
  bottom: 8%;
  left: -20%;
  animation: shieldBadge1 5s ease-in-out infinite 3.3s;
}
@keyframes shieldBadge1 {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}

/* ══════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════ */
.about { background: var(--bg-secondary); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.about__visual { position: relative; }
.about__img-wrap {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
}

.about__img-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(var(--accent-rgb),0.08) 0%,
    rgba(var(--accent-rgb),0.02) 100%
  );
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--accent-rgb),0.12);
}

.about__img-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.about__img-card-text {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  text-align: center;
  max-width: 200px;
}

.about__badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}
.about__badge-icon { font-size: var(--fs-lg); }
.about__badge-float--1 { bottom: 15%; left: -16%; animation: badgeFloat 4s ease-in-out infinite; }
.about__badge-float--2 { top: 10%; right: -14%; animation: badgeFloat 4s ease-in-out infinite 1.3s; }
.about__badge-float--3 { top: 60%; right: -18%; animation: badgeFloat 4s ease-in-out infinite 2.6s; }

@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.about__content { }
.about__text {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about__text strong { color: var(--accent); font-weight: 700; }

.about__list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
.services { background: var(--bg-primary); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb),0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  transition: all var(--transition);
}
.service-card:hover .service-card__icon {
  background: rgba(var(--accent-rgb),0.2);
  transform: scale(1.05);
}

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card__text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.service-card__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
}
.service-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ══════════════════════════════════════════════
   WHY US
   ══════════════════════════════════════════════ */
.why-us { background: var(--bg-secondary); }

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.why-card__num {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: rgba(var(--accent-rgb),0.15);
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--transition);
}
.why-card:hover .why-card__num { color: rgba(var(--accent-rgb),0.3); }

.why-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.why-card__text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   STATS
   ══════════════════════════════════════════════ */
.stats {
  position: relative;
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--bg-primary);
  overflow: hidden;
}
.stats__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(var(--accent-rgb),0.05) 0%,
    transparent 60%
  );
}
.stats__glow {
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb),0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  filter: blur(40px);
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.stat-item:hover {
  border-color: rgba(var(--accent-rgb),0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(var(--accent-rgb),0.15);
}

.stat-item__icon { font-size: 2rem; margin-bottom: 12px; }
.stat-item__num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: 900;
  color: var(--accent);
  display: inline;
  line-height: 1;
}
.stat-item__suffix {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.7;
}
.stat-item__label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */
.contact { background: var(--bg-secondary); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* Форма */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.12);
}
.form-select {
  cursor: pointer;
  color-scheme: dark;
  /* Фікс темного дропдауну — явно встановлюємо кольори */
}
[data-theme="light"] .form-select { color-scheme: light; }
[data-theme="mono"]  .form-select { color-scheme: dark; }

/* Стиль option-елементів */
.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  padding: 8px 12px;
}
[data-theme="light"] .form-select option {
  background: #ffffff;
  color: #0f172a;
}
.form-textarea { resize: vertical; min-height: 100px; }

.form-msg {
  margin-top: 12px;
  font-size: var(--fs-sm);
  text-align: center;
  min-height: 20px;
  border-radius: var(--radius-sm);
  padding: 0;
  transition: all var(--transition);
}
.form-msg.success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
  padding: 10px;
}
.form-msg.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
  padding: 10px;
}

/* Контактна інфо */
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
}
.contact-info__card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: rgba(var(--accent-rgb),0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-info__value {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}
.contact-info__link { transition: color var(--transition); }
.contact-info__link:hover { color: var(--accent); }

.contact-map {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 160px;
}
.contact-map__placeholder {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  text-align: center;
  padding: 24px;
}
.contact-map__placeholder span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  border: 1px dashed var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding-top: 0; /* хвиля замість border-top відступу */
  position: relative;
}
.footer__wave {
  width: 100%;
  height: 60px;
  overflow: hidden;
  background: var(--footer-bg);
}
.footer__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 16px;
  max-width: 260px;
}

/* Гаряча лінія у футері */
.footer__hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  transition: all var(--transition);
  margin-bottom: 20px;
}
.footer__hotline:hover {
  background: rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.25);
}
.footer__hotline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.footer__hotline-label {
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
[data-theme="mono"] .footer__hotline-label { color: #000; }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 18px;
  margin-top: 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.footer__bottom-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--scroll-btn-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb),0.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all var(--transition);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(var(--accent-rgb),0.5); }
[data-theme="mono"] .scroll-top { color: #000; }

/* ══════════════════════════════════════════════
   АНІМАЦІЇ ПОЯВИ
   ══════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════
   PARTICLE (CSS)
   ══════════════════════════════════════════════ */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particleAnim var(--dur, 8s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes particleAnim {
  0%   { opacity:0; transform:translateY(0) scale(0.5); }
  20%  { opacity:0.6; }
  80%  { opacity:0.3; }
  100% { opacity:0; transform:translateY(-120px) scale(1.5); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services__grid  { grid-template-columns: repeat(2, 1fr); }
  .why-us__grid    { grid-template-columns: repeat(2, 1fr); }
  .stats__grid     { grid-template-columns: repeat(2, 1fr); }
  .about__inner    { grid-template-columns: 1fr; }
  .about__visual   { display: none; }
  .contact__inner  { grid-template-columns: 1fr; }
  .footer__inner   { grid-template-columns: 1fr; }
  .hero__shield    { display: none; }
}

@media (max-width: 768px) {
  .services__grid  { grid-template-columns: 1fr; }
  .why-us__grid    { grid-template-columns: 1fr; }
  .stats__grid     { grid-template-columns: repeat(2, 1fr); }
  .footer__nav     { grid-template-columns: 1fr 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .hero__stats     { gap: 16px; }
  .hero__stat-divider { display: none; }
  .access-panel    { 
    left: 16px; 
    bottom: 90px;
    width: calc(100vw - 32px);
    max-width: 360px;
  }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 890;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav__list   { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link   { padding: 12px 16px; font-size: var(--fs-base); display: block; }
  .header__cta { display: none; }
  .burger      { display: flex; }
}

@media (max-width: 480px) {
  .stats__grid     { grid-template-columns: 1fr 1fr; }
  .footer__nav     { grid-template-columns: 1fr; }
  .hero__actions   { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}
