:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --text: #E5E7EB;
  --muted: #94A3B8;
  --primary: #64748B;
  --secondary: #38BDF8;
  --accent: #22C55E;
  --border: rgba(229,231,235,0.12);
  --font: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", Helvetica, Arial, sans-serif;
  --style-bold: bold;
  --style-vibrant: vibrant;
  --style-high-contrast: high contrast;
  --style-modern: modern;
  --style-raw: raw;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  background-image:
    linear-gradient(165deg, var(--bg) 0%, #1a2744 42%, var(--bg) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(229, 231, 235, 0.02) 18px,
      rgba(229, 231, 235, 0.02) 19px
    );
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.disclosure-banner {
  position: relative;
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  border: none;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 50%,
    #ffffff 50%,
    #ffffff 100%
  );
  overflow: hidden;
}

.disclosure-banner span {
  display: inline-block;
  max-width: 1100px;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 50%,
    #0F172A 50%,
    #0F172A 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  height: 54px;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link img {
  height: 32px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav-desktop a {
  color: var(--text);
  padding: 4px 8px;
  transition: background 0.2s ease;
}

.nav-desktop a:hover {
  background: rgba(229, 231, 235, 0.08);
  color: var(--text);
}

.nav-desktop .nav-sep {
  color: var(--muted);
  padding: 0 2px;
  font-weight: 400;
  user-select: none;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 3px solid #000000;
  box-shadow: 3px 3px 0 #000000;
  cursor: pointer;
  padding: 8px;
}

.burger-btn span {
  display: block;
  height: 3px;
  background: var(--text);
  width: 100%;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  background: var(--surface);
  border-left: 4px solid #000000;
  box-shadow: -8px 0 0 #000000;
  z-index: 200;
  padding: 72px 24px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.nav-mobile.open {
  display: flex;
  transform: translateX(0);
}

.nav-mobile a {
  color: var(--text);
  font-family: var(--font);
  font-weight: 800;
  font-size: 18px;
  padding: 12px 8px;
  border-bottom: 2px solid var(--border);
}

.site-footer {
  background: var(--surface);
  border-top: 4px solid #000000;
  padding: 48px 24px 32px;
  margin-top: auto;
  position: relative;
  flex-shrink: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40px,
    rgba(34, 197, 94, 0.04) 40px,
    rgba(34, 197, 94, 0.04) 41px
  );
  pointer-events: none;
}

.footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
  align-items: center;
}

.footer-badges img {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-requisites {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 780px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--surface);
  border: 4px solid #000000;
  box-shadow: 8px 8px 0 #000000;
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.modal-box h2 {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--accent);
}

.modal-box p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 14px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  font-family: var(--font);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 18px;
  border: 3px solid #000000;
  box-shadow: 4px 4px 0 #000000;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000000;
}

.btn-primary {
  background: var(--accent);
  color: #0F172A;
}

.btn-secondary {
  background: var(--primary);
  color: var(--text);
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 4px solid #000000;
  box-shadow: 6px 6px 0 #000000;
  padding: 18px;
  z-index: 900;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.page-main h1 {
  font-family: var(--font);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-main h2 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--secondary);
}

.page-main h3 {
  font-family: var(--font);
  font-size: 18px;
  margin: 20px 0 10px;
}

.page-main p,
.page-main li {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
}

.page-main ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

.contact-form label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 3px solid #000000;
  box-shadow: 3px 3px 0 #000000;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  color: #f87171;
  font-size: 13px;
  font-weight: 700;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 24px;
  padding: 20px;
  background: var(--accent);
  color: #0F172A;
  border: 4px solid #000000;
  box-shadow: 5px 5px 0 #000000;
  font-family: var(--font);
  font-weight: 800;
}

.form-success.visible {
  display: block;
}

.decor-img {
  max-width: 100%;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  border: 3px solid #000000;
  box-shadow: 5px 5px 0 #000000;
}

.decor-wrap {
  overflow: hidden;
  max-width: 100%;
}

@media (max-width: 375px) {
  .decor-img {
    max-height: 200px;
  }

  .disclosure-banner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .header-inner,
  .page-main,
  .footer-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-accent {
  from {
    transform: translateX(-12px);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes pulse-border {
  0%,
  100% {
    box-shadow: 4px 4px 0 #000000;
  }
  50% {
    box-shadow: 6px 6px 0 var(--accent);
  }
}
