/* ===== 3 зрадн — сторінка-візитівка ===== */
:root {
  --bg: #0d0f0b;
  --panel: #1a1f16;
  --line: #2c3426;
  --olive: #4b5a3a;
  --olive-2: #6b7c50;
  --khaki: #b7ad8a;
  --text: #e8e6dc;
  --muted: #9aa08e;
  --accent: #f2c230;
  --accent-ink: #141205;
  --head: "Russo One", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.mono { font-family: var(--mono); letter-spacing: .08em; }


/* Камуфляжний фон — піксельний */
.camo {
  position: fixed; inset: 0; z-index: 0; opacity: .2; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 0%, var(--bg) 75%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' shape-rendering='crispEdges'%3E%3Cg fill='%234b5a3a'%3E%3Crect x='0' y='0' width='24' height='12'/%3E%3Crect x='36' y='12' width='24' height='24'/%3E%3Crect x='72' y='0' width='12' height='36'/%3E%3Crect x='12' y='48' width='36' height='12'/%3E%3Crect x='60' y='60' width='24' height='24'/%3E%3Crect x='0' y='72' width='12' height='24'/%3E%3C/g%3E%3Cg fill='%236b7c50'%3E%3Crect x='24' y='24' width='12' height='12'/%3E%3Crect x='48' y='48' width='12' height='12'/%3E%3Crect x='84' y='48' width='12' height='24'/%3E%3Crect x='24' y='84' width='24' height='12'/%3E%3C/g%3E%3Cg fill='%232a3322'%3E%3Crect x='60' y='0' width='12' height='12'/%3E%3Crect x='0' y='24' width='12' height='24'/%3E%3Crect x='36' y='72' width='12' height='12'/%3E%3C/g%3E%3C/svg%3E");
}

/* Картка-візитівка */
.card {
  position: relative; z-index: 1;
  max-width: 640px; margin: 0 auto;
  padding: 48px 16px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

/* ===== Радар ===== */
.radar {
  position: relative; width: min(340px, 82vw); aspect-ratio: 1;
  border-radius: 50%; margin-bottom: 32px;
  background: radial-gradient(circle, rgba(75, 90, 58, .4) 0%, rgba(13, 15, 11, .92) 70%);
  box-shadow: 0 0 0 1px var(--olive), 0 0 0 6px rgba(13,15,11,.9), 0 0 0 7px rgba(242,194,48,.35), 0 0 80px rgba(242, 194, 48, .1);
}
.radar__ring { position: absolute; border: 1px solid rgba(183, 173, 138, .22); border-radius: 50%; }
.r1 { inset: 14%; } .r2 { inset: 26%; } .r3 { inset: 38%; }
.radar__cross::before, .radar__cross::after { content: ""; position: absolute; background: rgba(183, 173, 138, .18); }
.radar__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(242, 194, 48, .45), rgba(242, 194, 48, 0) 70deg, transparent 360deg);
  animation: sweep 4s linear infinite;
}
.blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #39ff14; box-shadow: 0 0 6px #39ff14, 0 0 16px #39ff14; animation: blip 4s ease-out infinite; opacity: 0; }
.b1 { top: 30%; left: 66%; animation-delay: .6s; }
.b2 { top: 64%; left: 72%; animation-delay: 1.6s; }
.b3 { top: 66%; left: 27%; animation-delay: 2.8s; }
.radar__emblem { position: absolute; width: 30%; left: 35%; top: 33%; filter: drop-shadow(0 0 14px rgba(0,0,0,.8)); }
.radar__labels { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.radar__txt { font: 700 6.2px var(--mono); letter-spacing: .32em; fill: var(--accent); }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: 0; transform: scale(.5); } 8% { opacity: 1; transform: scale(1.3); } 40% { opacity: .2; transform: scale(1); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .radar__sweep, .blip { animation: none; } .blip { opacity: 1; } }

/* ===== Текст ===== */
.tag { color: var(--accent); font-size: .78rem; margin: 0 0 12px; }
h1 {
  font: 400 clamp(1.6rem, 5.2vw, 2.4rem)/1.15 var(--head);
  text-transform: uppercase; letter-spacing: .01em; margin: 0 0 10px;
}
.sub { color: var(--khaki); margin: 0 0 16px; max-width: 48ch; }
.sub a { color: inherit; }
.sub a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.lead { color: var(--text); font-weight: 800; letter-spacing: .03em; max-width: 52ch; margin: 0 0 28px; }
h1 .lc { text-transform: none; }

/* ===== Кнопки ===== */
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 .92rem/1 var(--body); text-transform: uppercase; letter-spacing: .05em;
  padding: 16px 24px; text-decoration: none !important; transition: transform .15s, background .15s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #ffd34d; }
.btn--ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 2px var(--olive-2); }
button.btn { border: 0; cursor: pointer; }
.btn--ghost:hover { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btns .ph { outline-offset: 5px; }
@media (max-width: 480px) { .btns { flex-direction: column; width: 100%; } .btn { width: 100%; } }

/* ===== Контакти ===== */
.contacts {
  list-style: none; padding: 0; margin: 0 0 28px; width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); background: rgba(26, 31, 22, .85);
  position: relative;
}
.contacts::before, .contacts::after { content: ""; position: absolute; width: 14px; height: 14px; border: solid var(--accent); }
.contacts::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.contacts::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.contacts li { padding: 18px 12px; display: flex; flex-direction: column; gap: 6px; }
.contacts li + li { border-left: 1px solid var(--line); }
.contacts__lbl { color: var(--muted); font-size: .72rem; }
.contacts__val { color: var(--text); font-weight: 700; font-size: .98rem; align-self: center; }
.contacts__val:hover { color: var(--accent); }
@media (max-width: 560px) {
  .contacts { grid-template-columns: 1fr; }
  .contacts li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ===== Соцмережі ===== */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.social {
  padding: 10px 16px; border: 1px solid var(--olive-2); color: var(--text);
  font-weight: 700; font-size: .9rem; text-decoration: none !important; transition: .2s;
}
.social:hover { border-color: var(--accent); color: var(--accent); }

.foot { color: var(--muted); font-size: .72rem; line-height: 1.9; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===== Сторінка «Вакансії» ===== */
.page { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 20px 16px 40px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 36px; }
.topbar__back { color: var(--khaki); font-weight: 700; font-size: .95rem; }
.topbar__back:hover { color: var(--accent); }
.topbar__brand { display: flex; align-items: center; gap: 8px; color: var(--accent); font: 400 1.05rem var(--head); text-decoration: none !important; }
.topbar__brand img { width: 28px; height: auto; }

.page__head { text-align: center; margin-bottom: 40px; }
.page__head h1 { margin-bottom: 16px; }
.page__intro { color: var(--khaki); font-size: 1.08rem; max-width: 62ch; margin: 0 auto; }

.block { margin-bottom: 40px; }
.block__title {
  display: flex; align-items: center; gap: 12px;
  font: 400 clamp(1.2rem, 3.6vw, 1.6rem)/1.2 var(--head); text-transform: uppercase; margin: 0 0 18px;
}
.block__title .mono { color: var(--accent); font-size: .8rem; padding: 3px 7px; border: 1px solid var(--accent); }

.box {
  position: relative; background: rgba(26, 31, 22, .88); border: 1px solid var(--line);
  padding: 22px; margin-bottom: 16px;
}
.box::before, .box::after { content: ""; position: absolute; width: 14px; height: 14px; border: solid var(--accent); }
.box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.box::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.box__title { color: var(--accent); font-size: .78rem; margin: 0 0 14px; font-weight: 700; }
.box p:last-child { margin-bottom: 0; }
.box--cta { background: linear-gradient(160deg, rgba(38, 45, 29, .95), rgba(26, 31, 22, .9)); }

.jobs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.jobs li { position: relative; padding-left: 26px; color: var(--text); }
.jobs li::before { content: "▸"; position: absolute; left: 4px; top: 0; color: var(--accent); }
.jobs b { color: var(--text); }

.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pay__item { background: rgba(13, 15, 11, .92); padding: 20px 14px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.pay__num { font: 400 clamp(1.15rem, 3.4vw, 1.5rem)/1.1 var(--head); color: var(--accent); }
.pay__lbl { color: var(--muted); font-size: .85rem; }
@media (max-width: 560px) { .pay { grid-template-columns: 1fr; } }

.bigphone { display: inline-block; font: 400 clamp(1.8rem, 6vw, 2.4rem)/1.1 var(--head); color: var(--text); text-decoration: none !important; }
.bigphone:hover { color: var(--accent); }
.muted { color: var(--muted); margin: 6px 0 16px; }
.btns--left { justify-content: flex-start; margin-bottom: 0; }
.page > .btns { margin-top: 8px; }
.page .foot { text-align: center; }

/* ===== Сторінка «Підтримати» ===== */
.progress { height: 14px; background: var(--bg); border: 1px solid var(--line); margin: 16px 0 8px; overflow: hidden; }
.progress__bar { height: 100%; background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, #d9ab1f 10px 20px); }
.progress__lbl { font-size: .85rem; color: var(--muted); margin: 0; }

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.amount { position: relative; cursor: pointer; }
.amount input { position: absolute; opacity: 0; pointer-events: none; }
.amount span {
  display: block; text-align: center; padding: 14px 8px;
  border: 1px solid var(--olive-2); background: rgba(13, 15, 11, .6);
  font: 400 1.1rem var(--head); color: var(--text); transition: .15s;
}
.amount:hover span { border-color: var(--accent); }
.amount input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.amount input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 420px) { .amounts { grid-template-columns: repeat(2, 1fr); } }

.field { display: block; margin-bottom: 16px; text-align: left; }
.field__lbl { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.field__input {
  width: 100%; padding: 14px 16px; font: 600 1.05rem var(--body); color: var(--text);
  background: rgba(13, 15, 11, .8); border: 1px solid var(--olive-2); border-radius: 0;
}
.field__input:focus { outline: none; border-color: var(--accent); }
.field__input::placeholder { color: #6d7263; }

.btn--block { width: 100%; }
.donate__total { font-size: 1.05rem; margin: 0 0 12px; }
.donate__total b { color: var(--accent); font-family: var(--head); font-weight: 400; font-size: 1.3rem; }
.donate__msg { min-height: 1.4em; color: var(--accent); font-size: .92rem; margin: 10px 0 0; }
.donate__note { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }

.reqs { margin: 0; }
.reqs div { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.reqs div:last-child { border-bottom: 0; }
.reqs dt { color: var(--muted); font-size: .9rem; }
.reqs dd { margin: 0; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .reqs div { grid-template-columns: 1fr; gap: 4px; } }
.copy {
  font: 700 .75rem var(--mono); letter-spacing: .05em; color: var(--accent);
  background: transparent; border: 1px solid var(--accent); padding: 5px 10px; cursor: pointer;
}
.copy:hover { background: var(--accent); color: var(--accent-ink); }
.more { margin: 14px 0 0; font-weight: 700; }

/* Блоки, що показуються лише за наявності даних (js/show.js) */
[data-show-if]:not(.on), [hidden] { display: none !important; }
.soon p { margin: 0 0 10px; }
.soon .btns { margin: 16px 0 0; }

/* ===== Анкета ===== */
.req { color: var(--accent); }
.small-note { color: var(--muted); font-size: .92rem; margin: 12px 0 0; }
.fs { margin: 0 0 22px; min-width: 0; }
.fs legend.block__title { float: left; width: 100%; margin-bottom: 18px; }
.fs legend + * { clear: both; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
select.field__input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
select.field__input option, select.field__input optgroup { background: #1a1f16; color: var(--text); }
textarea.field__input { resize: vertical; min-height: 70px; font-weight: 400; font-size: 1rem; }
input[type="date"].field__input { color-scheme: dark; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 14px; border: 1px solid var(--olive-2);
  background: rgba(13, 15, 11, .6); font-weight: 600; font-size: .9rem; transition: .15s;
}
.chip:hover span { border-color: var(--accent); }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin-top: 8px; font-size: .95rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }

.invalid .field__input { border-color: #ff6b4a; }
.invalid .field__lbl, .consent.invalid { color: #ff8a70; }

.submit .donate__msg { margin: 0 0 10px; }
.done .bigphone { font-size: 1.6rem; }

/* ===== Банка дивізіону ===== */
.sbir__photo {
  margin: 0 0 20px; aspect-ratio: 16 / 9; overflow: hidden;
  background: repeating-linear-gradient(45deg, rgba(13,15,11,.7) 0 12px, rgba(26,31,22,.7) 12px 24px);
  display: grid; place-items: center;
}
.sbir__photo img { width: 100%; height: 100%; object-fit: cover; }
.sbir__ph { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); text-align: center; padding: 12px; }
.sbir__ph .mono { color: var(--accent); font-size: .9rem; }
.sbir__title { font: 400 clamp(1.2rem, 3.6vw, 1.6rem)/1.25 var(--head); margin: 0 0 12px; }
.sbir__desc p { margin: 0 0 12px; color: var(--text); }
.sbir__desc p:last-child { margin-bottom: 0; }
.pay + .progress { margin-top: 18px; }
.jarnum { font-size: clamp(1.3rem, 5vw, 1.9rem); margin: 0 0 16px; overflow-wrap: anywhere; }
.box--cta .reqs { margin-top: 18px; }
