/* Тёмная тема eudialytoid: палитра задания — аналитика автострахования */
:root {
  --surface-primary: #020617;
  --surface-secondary: #020617;
  --surface-accent: #0f172a;
  --neutral-50: #010409;
  --neutral-100: #020617;
  --neutral-200: #0f172a;
  --neutral-300: #1e293b;
  --neutral-400: #64748b;
  --neutral-500: #94a3b8;
  --neutral-600: #cbd5e1;
  --neutral-700: #cbd5e1;
  --neutral-800: #e6edf3;
  --neutral-900: #e6edf3;
  --neutral-950: #f8fafc;
  --text-primary: #e6edf3;
  --text-secondary: #94a3b8;
  --text-accent: #22c55e;
  --primary-50: #022c1f;
  --primary-100: #064e3b;
  --primary-200: #047857;
  --primary-300: #34d399;
  --primary-400: #4ade80;
  --primary-500: #22c55e;
  --primary-600: #16a34a;
  --primary-700: #15803d;
  --primary-800: #166534;
  --primary-900: #14532d;
  --accent-300: #7dd3fc;
  --accent-400: #38bdf8;
  --accent-500: #0ea5e9;
  --button-primary-bg: #22c55e;
  --button-primary-text: #020617;
  --button-secondary-bg: #0f172a;
  --button-secondary-text: #e6edf3;
  --border-light: #1e293b;
  --border-medium: #334155;
  --light: #020617;
}

body {
  background-color: #010409 !important;
  color: #e6edf3 !important;
}

.header-style {
  background: #020617 !important;
  border-bottom: 1px solid #1e293b !important;
  box-shadow: 0 1px 0 rgba(56, 189, 248, 0.12);
}

.mobile-menu-overlay {
  background: rgba(1, 4, 9, 0.97) !important;
}

.mobile-menu-overlay .nav-link-mobile {
  color: #e6edf3 !important;
  border-bottom-color: #1e293b !important;
}

.hamburger-line {
  background: #e6edf3 !important;
}

.hero-section-alt {
  background: linear-gradient(135deg, #010409 0%, #020617 45%, #0f172a 100%) !important;
}

.usp-section,
.about-section,
.services-section,
.py-5#blog,
.contact-section-modern,
.leadgen-section-secondary {
  background-color: #010409 !important;
}

.usp-card,
.service-card,
.blog-card,
.leadgen-form-card,
.form-card,
.info-card {
  background: #020617 !important;
  border-color: #1e293b !important;
}

.footer-style {
  background: linear-gradient(180deg, #010409 0%, #020617 100%) !important;
  color: #e6edf3 !important;
}

.footer-disclaimer {
  background: rgba(2, 6, 23, 0.92) !important;
  border-top: 1px solid #1e293b !important;
}

.disclaimer-content,
.disclaimer-content p {
  color: #94a3b8 !important;
}

.brand-link:hover,
.nav-link:hover {
  color: #38bdf8 !important;
}

a {
  color: #38bdf8;
}

a:hover {
  color: #22c55e;
}

.text-muted,
.lead.text-muted,
.text-secondary {
  color: #94a3b8 !important;
}

.form-control,
.form-select {
  background-color: #020617 !important;
  border-color: #334155 !important;
  color: #e6edf3 !important;
}

.form-floating > label {
  color: #94a3b8 !important;
}

.btn-leadgen-submit,
.btn-submit {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #020617 !important;
}

.btn-leadgen-submit:hover,
.btn-submit:hover {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #020617 !important;
}

.article-container .blog-article {
  background: #020617;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #1e293b;
}

.article-container h1,
.article-container h2,
.article-container h3 {
  color: #e6edf3 !important;
}

.article-container p,
.article-container li {
  color: #94a3b8 !important;
}


.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 40rem;
  margin-inline: auto;
  display: none;
  background-color: #020617;
  border: 1px solid #1e293b;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgb(1 4 9 / 0.55);
  padding: 1.5rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__title { font-size: 1.125rem; font-weight: 700; color: #e6edf3; margin-bottom: 0.5rem; }
.cookie-banner__text { color: #94a3b8; font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-panel {
  position: fixed; inset: 0; z-index: 210; display: none;
  align-items: center; justify-content: center; padding: 1rem;
  background-color: rgb(1 4 9 / 0.55);
}
.cookie-panel.is-visible { display: flex; }
.cookie-panel__dialog {
  width: min(100%, 32rem); max-height: min(90vh, 40rem); overflow: auto;
  background-color: #020617; border-radius: 1rem; border: 1px solid #1e293b;
  box-shadow: 0 25px 50px -12px rgb(1 4 9 / 0.55); padding: 1.5rem;
}
.cookie-panel__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cookie-panel__header h2 { font-size: 1.25rem; font-weight: 700; color: #e6edf3; }
.cookie-panel__close {
  width: 44px; height: 44px; border: 1px solid #1e293b; border-radius: 0.5rem;
  background-color: #020617; color: #e6edf3; flex-shrink: 0;
}
.cookie-panel__close:hover { background-color: #061d20; border-color: #22c55e; }
.cookie-panel__text { color: #94a3b8; font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }
.cookie-panel__options { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.cookie-option {
  display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; padding: 1rem;
  border: 1px solid #1e293b; border-radius: 0.75rem; background-color: #061d20;
}
.cookie-option input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: #22c55e; }
.cookie-option__title { font-weight: 700; color: #e6edf3; }
.cookie-option__desc { margin: 0; color: #94a3b8; font-size: 0.875rem; }
.cookie-panel__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-toggle {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 190;
  min-width: 44px; min-height: 44px; padding: 0.7rem 0.95rem; border-radius: 999px;
  border: 1px solid #1e293b; background-color: #22c55e; color: #000000;
  box-shadow: 0 10px 15px -3px rgb(1 4 9 / 0.55); display: inline-flex; align-items: center;
  gap: 0.4rem; font-size: 0.875rem; font-weight: 600;
}
.cookie-toggle:hover { background-color: #1da750; }
.cookie-btn {
  min-height: 44px; padding: 0.625rem 1.25rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cookie-btn--primary { background-color: #22c55e; color: #000000; border: 0; }
.cookie-btn--primary:hover { background-color: #1da750; }
.cookie-btn--secondary { background-color: #061d20; color: #22c55e; border: 1px solid #1e293b; }
.cookie-btn--secondary:hover { border-color: #22c55e; }
.cookie-btn--ghost { background-color: #020617; color: #94a3b8; border: 1px solid #1e293b; }
.cookie-btn--ghost:hover { background-color: #061d20; color: #22c55e; }
@media (min-width: 768px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 5.5rem; margin-inline: 0; }
  .cookie-toggle { right: 1.5rem; bottom: 1.5rem; }
}
