/* allevardit — тёмная палитра: #020617 фон, #111827 поверхности, #22C55E / #60A5FA акценты, #E5E7EB текст */
:root {
  --primary-50: #0f172a;
  --primary-100: #111827;
  --primary-200: #1e293b;
  --primary-300: #334155;
  --primary-400: #22c55e;
  --primary-500: #22c55e;
  --primary-600: #16a34a;
  --primary-700: #15803d;
  --primary-800: #14532d;
  --primary-900: #052e16;
  --primary-950: #020617;
  --neutral-50: #020617;
  --neutral-100: #0f172a;
  --neutral-200: #1e293b;
  --neutral-300: #334155;
  --neutral-400: #64748b;
  --neutral-500: #94a3b8;
  --neutral-600: #cbd5e1;
  --neutral-700: #e2e8f0;
  --neutral-800: #f1f5f9;
  --neutral-900: #e5e7eb;
  --neutral-950: #f8fafc;
  --surface-primary: #111827;
  --surface-secondary: #0f172a;
  --surface-accent: #1e293b;
  --text-primary: #e5e7eb;
  --text-secondary: #94a3b8;
  --text-accent: #60a5fa;
  --button-primary-bg: #22c55e;
  --button-primary-text: #020617;
  --button-secondary-bg: #1e293b;
  --button-secondary-text: #e5e7eb;
  --border-light: #334155;
  --border-medium: #475569;
}

body {
  background: #020617 !important;
  color: #e5e7eb !important;
}

.header-featured {
  background: rgba(17, 24, 39, 0.92) !important;
  border-bottom-color: rgba(34, 197, 94, 0.25) !important;
  backdrop-filter: blur(12px);
}

.header-featured.scrolled {
  background: rgba(15, 23, 42, 0.98) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
}

.sitename-featured {
  color: #e5e7eb !important;
}

.sitename-featured:hover {
  color: #22c55e !important;
}

.logo-accent-featured {
  background: linear-gradient(90deg, #22c55e, #60a5fa) !important;
}

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

.decorative-dot-featured {
  background: #60a5fa !important;
}

.nav-link-featured:hover,
.nav-link-featured.active {
  color: #22c55e !important;
  background: rgba(34, 197, 94, 0.12) !important;
}

.link-underline-featured {
  background: #22c55e !important;
}

@media (min-width: 992px) {
  .nav-link-featured {
    color: #cbd5e1 !important;
  }
}

/* Выпадающее меню «Темы» */
.site30-nav-details {
  position: relative;
}

.site30-nav-details > summary {
  list-style: none;
  cursor: pointer;
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1.19rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: 8px;
}

.site30-nav-details > summary::-webkit-details-marker {
  display: none;
}

@media (min-width: 992px) {
  .site30-nav-details > summary {
    font-size: 0.94rem;
    padding: 0.75rem 1.25rem;
  }
}

.site30-nav-details[open] > summary {
  color: #22c55e !important;
  background: rgba(34, 197, 94, 0.12);
}

.site30-mega {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0 0.5rem 0.5rem;
  margin-top: 0.25rem;
  border-left: 2px solid rgba(96, 165, 250, 0.35);
}

@media (min-width: 992px) {
  .site30-mega {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    padding: 0.65rem 0.75rem;
    margin-top: 0;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #111827;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    border-left: 1px solid #334155;
    z-index: 10050;
  }
}

.site30-mega a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  display: block;
}

.site30-mega a:hover {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
}

.minimal_hero_title,
.light_section_title,
.display-4,
.display-5 {
  color: #f8fafc !important;
}

.premium_body_large,
.web_body_base,
.lead,
.studio_section_subtitle {
  color: #cbd5e1 !important;
}

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

.hero-container,
.usp-section,
#about,
.services-section,
#blog,
.leadgen-section-secondary,
.contact-section-variant {
  background: #020617 !important;
}

.usp-card,
.service-card-inner,
.blog-card,
.leadgen-form-card,
.contact-form-wrapper,
.contact-info-wrapper,
.about-feature-card {
  background: #111827 !important;
  border-color: #334155 !important;
}

.service-card-featured .service-card-inner {
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
}

.btn-hero-primary {
  background: #22c55e !important;
  color: #020617 !important;
  border: none !important;
}

.btn-hero-secondary {
  border-color: #60a5fa !important;
  color: #60a5fa !important;
}

.btn-hero-secondary:hover {
  background: rgba(96, 165, 250, 0.12) !important;
}

.btn-leadgen-submit {
  background: linear-gradient(135deg, #22c55e, #15803d) !important;
  color: #020617 !important;
  border: none !important;
}

.footer-variant {
  background: linear-gradient(165deg, #020617 0%, #0f172a 45%, #111827 100%) !important;
}

.brand-name,
.column-title {
  color: #e5e7eb !important;
}

.brand-name::after {
  background: #22c55e !important;
}

.column-title::before {
  background: #60a5fa !important;
}

.brand-description,
.footer-links a,
.contact-text {
  color: #94a3b8 !important;
}

.footer-links a:hover {
  color: #22c55e !important;
}

.contact-item {
  background: #0f172a !important;
  border-left-color: #60a5fa !important;
}

.decorative-badge {
  background: linear-gradient(135deg, #22c55e, #15803d) !important;
}

.decorative-badge i {
  color: #020617 !important;
}

.disclaimer-text p {
  color: #9ca3af !important;
}

.copyright-text {
  color: #fff !important;
}

.form-control,
.form-select {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #e5e7eb !important;
}

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

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

.icon-wrapper {
  background: #111827 !important;
  border: 1px solid #334155 !important;
}

.icon-wrapper i {
  color: #60a5fa !important;
}

.hero-decoration-blob,
.usp-decoration {
  opacity: 0.35;
}

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

.article-container .blog-article p,
.article-container .blog-article li {
  color: #cbd5e1 !important;
}

.article-container .blog-article blockquote {
  border-left: 4px solid #22c55e;
  padding-left: 1rem;
  color: #94a3b8 !important;
}

/* Отдельный блок важной информации перед футером */
.site30-prefooter-important {
  background: #0f172a;
  border-top: 1px solid #334155;
}

.site30-important-heading {
  color: #e5e7eb;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.site30-prefooter-important .disclaimer-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8 !important;
}

.site30-prefooter-important .disclaimer-text p:last-child {
  margin-bottom: 0;
}


.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 40rem;
  margin-inline: auto;
  display: none;
  background-color: #111827;
  border: 1px solid #334155;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgb(18 26 12 / 0.25);
  padding: 1.5rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__title { font-size: 1.125rem; font-weight: 700; color: #e5e7eb; 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(18 26 12 / 0.55);
}
.cookie-panel.is-visible { display: flex; }
.cookie-panel__dialog {
  width: min(100%, 32rem); max-height: min(90vh, 40rem); overflow: auto;
  background-color: #111827; border-radius: 1rem; border: 1px solid #334155;
  box-shadow: 0 25px 50px -12px rgb(18 26 12 / 0.25); 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: #e5e7eb; }
.cookie-panel__close {
  width: 44px; height: 44px; border: 1px solid #334155; border-radius: 0.5rem;
  background-color: #111827; color: #e5e7eb; flex-shrink: 0;
}
.cookie-panel__close:hover { background-color: #132d2e; 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 #334155; border-radius: 0.75rem; background-color: #132d2e;
}
.cookie-option input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: #22c55e; }
.cookie-option__title { font-weight: 700; color: #e5e7eb; }
.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 #334155; background-color: #22c55e; color: #020617;
  box-shadow: 0 10px 15px -3px rgb(18 26 12 / 0.25); 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: #020617; border: 0; }
.cookie-btn--primary:hover { background-color: #1da750; }
.cookie-btn--secondary { background-color: #132d2e; color: #22c55e; border: 1px solid #334155; }
.cookie-btn--secondary:hover { border-color: #22c55e; }
.cookie-btn--ghost { background-color: #111827; color: #94a3b8; border: 1px solid #334155; }
.cookie-btn--ghost:hover { background-color: #132d2e; 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; }
}
