/* ============================================================
   Контракт365 — design tokens
   ============================================================ */
:root {
  --brand-green-950: #0a1f14;
  --brand-green-900: #123c22;
  --brand-green-800: #1b4c2c;
  --brand-green-700: #266138;
  --brand-green-600: #1f7a44;
  --brand-green-500: #2f9657;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #eef2f7;
  --slate-50: #f8fafc;
  --paper: #ffffff;
  --brand-red-700: #8a1c1f;
  --brand-red-600: #c1272d;
  --brand-red-500: #dd3b40;
  --brand-red-100: #fbe7e7;
  --green-600: #16803d;
  --red-600: #dc2626;
  --white: #ffffff;

  --font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.35);
  --shadow-accent: 0 10px 30px -8px rgba(31, 122, 68, 0.4);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 560ms;

  --container: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
  }
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brand-green-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

::selection { background: var(--brand-red-100); color: var(--brand-green-900); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(180deg, var(--brand-green-600), var(--brand-green-700));
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(18, 60, 34, 0.45); }

.btn-outline-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline-dark:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.08); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none !important; }

.btn-icon {
  width: 1.1em; height: 1.1em;
  flex-shrink: 0;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: var(--space-sm);
  background: var(--brand-green-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--dur-base) var(--ease-out),
              padding var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.5);
  padding-block: 0.6rem;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img { height: 34px; width: auto; display: block; flex-shrink: 0; }
.footer-brand .logo-img { height: 40px; }

.main-nav { display: flex; align-items: center; gap: var(--space-lg); }
.main-nav ul { display: flex; gap: 1rem; }
.main-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out);
  position: relative;
}
.main-nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone svg { width: 1.05em; height: 1.05em; color: var(--brand-red-500); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 1.6rem; height: 1.6rem; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1260px) {
  .main-nav ul, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 101; }
  body.nav-open .mobile-drawer { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.nav-open .nav-toggle .icon-menu { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
  body.nav-open { overflow: hidden; }
}

/* Below this width the logo + CTA + hamburger no longer fit on one row
   (buttons use white-space: nowrap, so they can't shrink to fit).
   The sticky bottom bar already provides the CTA here, so just drop it
   from the header instead of letting it overflow off-screen. */
@media (max-width: 480px) {
  .header-cta { display: none; }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--brand-green-950);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.mobile-drawer ul { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.mobile-drawer a { color: var(--white); text-decoration: none; font-size: 1.4rem; font-weight: 600; font-family: var(--font-heading); }
.mobile-drawer .header-phone { display: flex; font-size: 1.15rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-green-950);
  color: var(--white);
  padding-top: clamp(7rem, 14vw, 9.5rem);
  padding-bottom: clamp(4rem, 10vw, 6rem);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/photos/hero-soldier.jpg");
  background-size: cover;
  background-position: center 35%;
}
.hero-bars::before {
  background-image: url("../assets/photos/bars-squad.jpg");
  background-position: center 30%;
}
.hero-bpla::before {
  background-image: url("../assets/photos/fpv-operator.jpg");
  background-position: center 25%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg,
      rgba(8, 20, 13, 0.96) 0%,
      rgba(8, 20, 13, 0.93) 30%,
      rgba(8, 20, 13, 0.72) 50%,
      rgba(8, 20, 13, 0.4) 68%,
      rgba(8, 20, 13, 0.55) 100%),
    linear-gradient(0deg, rgba(8, 20, 13, 0.55), transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: var(--space-2xl);
  align-items: end;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
  max-width: 16ch;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-red-500);
}
.hero-lede {
  margin-top: var(--space-md);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
}
.hero-cta-row {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* Hero stat cards — echoes the reference's white check-mark cards */
.hero-stats {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; }
}
.hero-stat-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  box-shadow: var(--shadow-sm);
}
.hero-stat-check {
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: var(--brand-green-600);
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1em;
}
.hero-stat-check svg { width: 0.95rem; height: 0.95rem; }
.hero-stat-value { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--brand-green-900); line-height: 1.2; }
.hero-stat-label { font-size: 0.82rem; color: var(--slate-500); margin-top: 0.15em; }

.hero-trust {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero-trust-item svg { width: 1.2em; height: 1.2em; color: var(--brand-green-500); flex-shrink: 0; }

/* Hero form card */
.hero-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  margin-left: auto;
}
@media (max-width: 980px) {
  .hero-form-card { max-width: none; margin-left: 0; }
}
.hero-form-card h2 {
  color: var(--brand-green-900);
  font-size: 1.3rem;
  margin-bottom: 0.35em;
}
.hero-form-card .form-note {
  color: var(--slate-500);
  font-size: 0.88rem;
  margin-bottom: var(--space-md);
}

/* ============================================================
   Form elements (shared: hero card + main section)
   ============================================================ */
.field { margin-bottom: var(--space-sm); }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45em;
}
.on-dark .field label { color: rgba(255, 255, 255, 0.85); }
.on-light .field label { color: var(--brand-green-800); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--brand-green-900);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.on-dark .field input[type="text"],
.on-dark .field input[type="tel"],
.on-dark .field select {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.2);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand-green-600);
  box-shadow: 0 0 0 4px rgba(31, 122, 68, 0.18);
}
.field input.field-error { border-color: var(--red-600); }

.field input[type="number"] { -moz-appearance: textfield; }
.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.field-error-msg {
  display: none;
  color: #fca5a5;
  font-size: 0.8rem;
  margin-top: 0.4em;
}
.on-light .field-error-msg { color: var(--red-600); }
.field.has-error .field-error-msg { display: block; }

.consent-row {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
  margin: var(--space-sm) 0;
  font-size: 0.82rem;
  line-height: 1.4;
}
.on-dark .consent-row { color: rgba(255, 255, 255, 0.65); }
.on-light .consent-row { color: var(--slate-600); }
.consent-row a { color: var(--brand-red-600); text-decoration: underline; text-underline-offset: 2px; }
.on-dark .consent-row a { color: var(--brand-red-500); }
.consent-row input {
  margin-top: 0.2em;
  width: 1.05em; height: 1.05em;
  accent-color: var(--brand-red-600);
  flex-shrink: 0;
  cursor: pointer;
}

/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin-top: var(--space-sm);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  display: none;
  align-items: center;
  gap: 0.6em;
}
.form-status.is-visible { display: flex; }
.form-status.status-ok { background: rgba(22, 128, 61, 0.12); color: #15803d; }
.on-dark .form-status.status-ok { background: rgba(74, 222, 128, 0.14); color: #86efac; }
.form-status.status-err { background: rgba(220, 38, 38, 0.1); color: var(--red-600); }
.on-dark .form-status.status-err { background: rgba(248, 113, 113, 0.14); color: #fca5a5; }
.form-status svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.spinner {
  width: 1.1em; height: 1.1em;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.75; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ============================================================
   Section shell
   ============================================================ */
section { padding-block: var(--space-2xl); }
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}
.section-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red-700);
  margin-bottom: 0.9em;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--brand-green-900);
}
.section-head p {
  margin-top: var(--space-sm);
  color: var(--slate-600);
  font-size: 1.05rem;
}
.section-head.on-dark h2 { color: var(--white); }
.section-head.on-dark p { color: rgba(255,255,255,0.65); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ============================================================
   Roles grid
   ============================================================ */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}
.role-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.role-card-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--slate-100);
}
.role-card-body { padding: var(--space-md); }
.role-icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--brand-green-900);
  color: var(--brand-red-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
}
.role-icon svg { width: 1.6rem; height: 1.6rem; }
.role-card h3 { font-size: 1.05rem; color: var(--brand-green-900); margin-bottom: 0.35em; }
.role-card p { font-size: 0.9rem; color: var(--slate-600); }
.roles-subhead {
  font-size: 1.1rem;
  color: var(--brand-green-900);
  margin: var(--space-lg) 0 var(--space-md);
}
.role-card.more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--slate-100);
  border-style: dashed;
}

/* ============================================================
   Process (numbered — real sequence)
   ============================================================ */
.process {
  background: var(--brand-green-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-block: var(--space-2xl);
  margin-top: var(--space-2xl);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  counter-reset: step;
  position: relative;
}
@media (max-width: 1180px) and (min-width: 881px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 1.7rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18) 15%, rgba(255,255,255,0.18) 85%, transparent);
}
@media (max-width: 880px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
}
.process-step { position: relative; }
.step-num {
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  background: var(--brand-green-800);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brand-red-500);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}
.process-step h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 0.4em; }
.process-step p { color: rgba(255, 255, 255, 0.62); font-size: 0.92rem; }

/* ============================================================
   Benefits
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}
.benefit-item { display: flex; gap: var(--space-sm); }
.benefit-icon {
  width: 2.75rem; height: 2.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-red-100);
  color: var(--brand-red-700);
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 1.4rem; height: 1.4rem; }
.benefit-text h3 { font-size: 1.05rem; color: var(--brand-green-900); margin-bottom: 0.3em; }
.benefit-text p { font-size: 0.92rem; color: var(--slate-600); }
.benefit-text .fill-note {
  display: inline-block;
  margin-top: 0.4em;
  font-size: 0.75rem;
  color: var(--brand-red-700);
  background: var(--brand-red-100);
  padding: 0.15em 0.6em;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* ============================================================
   FAQ — accordion
   ============================================================ */
.faq-accordion {
  max-width: 760px;
  display: grid;
  gap: var(--space-sm);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--brand-green-900);
}
.faq-chevron {
  width: 1.1rem; height: 1.1rem;
  flex-shrink: 0;
  color: var(--slate-500);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); color: var(--brand-red-600); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease-out);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p {
  color: var(--slate-600);
  font-size: 0.95rem;
  max-width: 62ch;
  padding: 0 1.3rem 1.1rem;
}

/* ============================================================
   Region payments cards
   ============================================================ */
.region-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-sm);
}
.region-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.region-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.region-card-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-red-700);
  line-height: 1.15;
}
.region-card-city {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-top: 0.35em;
}
.region-card-top {
  border-color: var(--brand-red-500);
  background: linear-gradient(180deg, var(--brand-red-100), var(--white) 55%);
}
.region-card-top .region-card-value { color: var(--brand-red-600); }
.region-card-badge {
  position: absolute;
  top: -0.6em; left: 50%;
  transform: translateX(-50%);
  background: var(--brand-red-600);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.region-table-note {
  margin-top: var(--space-md);
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ============================================================
   Privilege cards (icon-tile grid)
   ============================================================ */
.privilege-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
@media (max-width: 980px) {
  .privilege-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .privilege-cards { grid-template-columns: 1fr; }
}
.privilege-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.privilege-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.privilege-card-icon {
  width: 3.25rem; height: 3.25rem;
  margin: 0 auto var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--brand-green-900);
  display: flex; align-items: center; justify-content: center;
}
.privilege-card-icon svg { width: 1.6rem; height: 1.6rem; }
.privilege-card h3 { font-size: 1rem; color: var(--brand-green-900); margin-bottom: 0.4em; }
.privilege-card p { font-size: 0.88rem; color: var(--slate-600); }
.privilege-cards-subhead {
  font-size: 1.1rem;
  color: var(--brand-green-900);
  margin: 0 0 var(--space-md);
  text-align: center;
}

/* ============================================================
   Compare table (Контракт vs БАРС)
   ============================================================ */
.compare-table-wrap { overflow-x: auto; max-width: 100%; }
.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--slate-200);
}
.compare-table thead th {
  background: var(--brand-green-900);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--brand-green-900);
  background: var(--slate-50);
  white-space: nowrap;
}
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: none; }

/* ============================================================
   Privileges columns
   ============================================================ */
.privileges-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}
.privilege-col h3 {
  font-size: 1.1rem;
  color: var(--brand-green-900);
  margin-bottom: var(--space-sm);
  padding-bottom: 0.6em;
  border-bottom: 2px solid var(--brand-red-500);
  display: inline-block;
}
.privilege-col ul { display: flex; flex-direction: column; gap: 0.7em; }
.privilege-col li {
  position: relative;
  padding-left: 1.4em;
  font-size: 0.92rem;
  color: var(--slate-600);
}
.privilege-col li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-red-600);
}

/* ============================================================
   Application section
   ============================================================ */
.apply {
  background: linear-gradient(180deg, var(--slate-100), var(--paper));
}
.apply-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
}
@media (max-width: 880px) {
  .apply-card { grid-template-columns: 1fr; }
}
.apply-side {
  background: var(--brand-green-950);
  color: var(--white);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}
#bpla-teaser .apply-side {
  background-image:
    linear-gradient(115deg, rgba(8,20,13,0.95) 15%, rgba(8,20,13,0.8) 45%, rgba(8,20,13,0.55) 75%),
    url("../assets/photos/fpv-operator.jpg");
  background-size: cover;
  background-position: center 30%;
}
#bars .apply-side {
  background-image:
    linear-gradient(115deg, rgba(8,20,13,0.95) 15%, rgba(8,20,13,0.8) 45%, rgba(8,20,13,0.55) 75%),
    url("../assets/photos/bars-squad.jpg");
  background-size: cover;
  background-position: center 35%;
}
.apply-side::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 20%, rgba(193, 39, 45, 0.28), transparent 55%);
  z-index: 0;
}
.apply-side > * { position: relative; z-index: 1; }
.apply-side h2 { font-size: 1.6rem; margin-bottom: var(--space-sm); }
.apply-side p { color: rgba(255, 255, 255, 0.68); font-size: 0.98rem; }
.apply-side ul { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
.apply-side li { display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.apply-side li svg { width: 1.2em; height: 1.2em; color: var(--brand-red-500); flex-shrink: 0; margin-top: 0.15em; }

.apply-form { padding: var(--space-xl) var(--space-lg); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--brand-green-950);
  color: rgba(255, 255, 255, 0.6);
  padding-block: var(--space-xl) var(--space-lg);
  font-size: 0.9rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-md);
}
.footer-brand .logo { margin-bottom: 0.6em; }
.footer-brand p { max-width: 40ch; color: rgba(255, 255, 255, 0.5); }
.footer-links { display: flex; gap: var(--space-2xl); flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 0.9em; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6em; }
.footer-col a { color: rgba(255, 255, 255, 0.55); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-disclaimer {
  margin-top: var(--space-md);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: 90ch;
  line-height: 1.6;
}

/* ============================================================
   Sticky mobile CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 0.7rem var(--space-md);
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (max-width: 640px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 4.2rem; }
}

/* utility */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
