/* pyromorphit — палитра: #0284C7 основной, #16A34A акцент, #F8FAFC фон, #111827 текст */
:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-primary-rgb: 248, 250, 252;
  --text-inverse: #ffffff;
  --border-interactive: #0284c7;
  --radius-medium: 0.5rem;
  --radius-large: 1rem;
  --ease-default: ease;
  --duration-base: 0.28s;
  --primary-50: #e0f2fe;
  --primary-100: #bae6fd;
  --primary-200: #7dd3fc;
  --primary-300: #38bdf8;
  --primary-400: #0ea5e9;
  --primary-500: #0284c7;
  --primary-600: #0369a1;
  --primary-700: #075985;
  --primary-800: #0c4a6e;
  --primary-900: #082f49;
  --primary-rgb: 2, 132, 199;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #111827;
  --surface-primary: #f8fafc;
  --surface-secondary: #f1f5f9;
  --surface-accent: #e0f2fe;
  --text-primary: #111827;
  --text-secondary: #334155;
  --text-accent: #075985;
  --button-primary-bg: #0284c7;
  --button-primary-text: #ffffff;
  --button-secondary-bg: #f1f5f9;
  --button-secondary-text: #111827;
  --border-light: #cbd5e1;
  --border-medium: #64748b;
  --shadow-button-hover: 0 6px 18px rgba(2, 132, 199, 0.28);
}

body {
  background-color: var(--surface-primary);
  color: var(--text-primary);
}

.btn-primary,
.btn-leadgen-submit {
  background-color: var(--button-primary-bg) !important;
  border-color: var(--primary-600) !important;
  color: #fff !important;
}

.btn-outline-secondary {
  color: var(--primary-700) !important;
  border-color: var(--primary-400) !important;
}

.text-accent-green {
  color: #16a34a !important;
}

.legal-page .blog-article h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-page .blog-article ul {
  padding-left: 1.25rem;
}

.site-disclaimer-boot {
  background: #e2e8f0;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  padding: 2.5rem 0;
}
.site-disclaimer-boot p {
  color: #334155;
  max-width: 980px;
  margin: 0 auto 1rem;
}


.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 40rem;
  margin-inline: auto;
  display: none;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  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: #111827; margin-bottom: 0.5rem; }
.cookie-banner__text { color: #334155; 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: #f8fafc; border-radius: 1rem; border: 1px solid #cbd5e1;
  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: #111827; }
.cookie-panel__close {
  width: 44px; height: 44px; border: 1px solid #cbd5e1; border-radius: 0.5rem;
  background-color: #f8fafc; color: #111827; flex-shrink: 0;
}
.cookie-panel__close:hover { background-color: #daecf6; border-color: #0284c7; }
.cookie-panel__text { color: #334155; 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 #cbd5e1; border-radius: 0.75rem; background-color: #daecf6;
}
.cookie-option input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: #0284c7; }
.cookie-option__title { font-weight: 700; color: #111827; }
.cookie-option__desc { margin: 0; color: #334155; 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 #cbd5e1; background-color: #0284c7; color: #ffffff;
  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: #0270a9; }
.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: #0284c7; color: #ffffff; border: 0; }
.cookie-btn--primary:hover { background-color: #0270a9; }
.cookie-btn--secondary { background-color: #daecf6; color: #0284c7; border: 1px solid #cbd5e1; }
.cookie-btn--secondary:hover { border-color: #0284c7; }
.cookie-btn--ghost { background-color: #f8fafc; color: #334155; border: 1px solid #cbd5e1; }
.cookie-btn--ghost:hover { background-color: #daecf6; color: #0284c7; }
@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; }
}
