/**
 * Theme Name:        237bsp
 * Theme URI:         https://kovgen.digital/237bsp
 * Description:       237bsp - ЗСУ.
 * Version:           1.0.0
 * Author:            KOVGEN
 * Author URI:        https://kovgen.digital/
 * Tags:              block-patterns, full-site-editing
 * Text Domain:       237bsp
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */



@font-face {
  font-family: 'volya'; /* A name you choose to use later */
  src: url('fonts/Volja-Black.woff2') format('woff2'),
       url('Volja-Black.woff') format('woff'); /* Path to your files */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Controls font loading behavior */
}

h2 {
    font-family: 'volya';
}
.logo img {
    max-width: 70px;
}
.logo {
font-family: volya;
}
a {
    color: white;
}
.logo h1 {
    margin-left: 15px;
}
.logo a {
    text-decoration: none;
}
body {
    color: white;
    min-height: 100vh;
    background: #800000;
    font-family: "Play", sans-serif;
    margin: 0;
    padding-top: 129px;
}
article.job_card.reveal {
    background: #800000;
}
.navigation li {
    line-height: 47px;
}
.max_width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
ul.menu {
    list-style-type: none;
    display: flex;
}
.top_head {
    display: grid;
    grid-template-columns: auto auto auto;
}
ul.menu a {
    padding: 5px 15px;
    text-decoration: none;
    font-family: volya;
}
.logo span {
    font-size: 27px;
}
.logo {
    display: flex;
    vertical-align: middle;
}
.content_general {
    margin: 50px 0;
}

.grouped {
    display: grid;
    grid-template-columns: 1fr 1fr;
}


/* ====== HEADER ANIMATION ====== */
header .logo img {
  opacity: 0;
  transform: scale(0.85);
  animation: logoIn 900ms ease-out forwards;
  animation-delay: 150ms;
  border-bottom: 2px dashed white;
}

@keyframes logoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ====== H1 LETTERS ====== */
header h1 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  animation: letterIn 650ms cubic-bezier(.2,.9,.2,1) forwards;
}

/* затримки для кожної літери */
header h1 span:nth-child(1) { animation-delay: 350ms; }
header h1 span:nth-child(2) { animation-delay: 430ms; }
header h1 span:nth-child(3) { animation-delay: 510ms; }
header h1 span:nth-child(4) { animation-delay: 620ms; }
header h1 span:nth-child(5) { animation-delay: 700ms; }
header h1 span:nth-child(6) { animation-delay: 780ms; }
header h1 span:nth-child(7) { animation-delay: 860ms; }
header h1 span:nth-child(8) { animation-delay: 940ms; }
header h1 span:nth-child(9) { animation-delay: 1020ms; }

@keyframes letterIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ====== MENU ITEMS ====== */
header .menu li {
  opacity: 0;
  transform: translateX(20px);
  animation: menuIn 700ms ease-out forwards;
}

/* затримки меню */
header .menu li:nth-child(1) { animation-delay: 1050ms; }
header .menu li:nth-child(2) { animation-delay: 1150ms; }
header .menu li:nth-child(3) { animation-delay: 1250ms; }
header .menu li:nth-child(4) { animation-delay: 1350ms; }

@keyframes menuIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ====== ADVANCED HEADER LINE (як “сканер”) ====== */
header .advanced_header {
  position: relative;
  overflow: hidden;
}

header .advanced_header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0%;
  background: rgba(255,255,255,0.65);
  animation: lineIn 900ms ease-out forwards;
  animation-delay: 1400ms;
}

@keyframes lineIn {
  to { width: 100%; }
}

/* ====== OPTIONAL: легке мерехтіння лого ====== */
header .logo img:hover {
  transition: 250ms ease;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.25));
}

/* ====== ACCESSIBILITY ====== */
@media (prefers-reduced-motion: reduce) {
  header .logo img,
  header h1 span,
  header .menu li,
  header .advanced_header::before {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    width: 100% !important;
  }
}


/* ===== Typewriter Base ===== */
.typewriter p,
.typewriter li {
  opacity: 0;
  transform: translateY(8px);
}

/* коли активується */
.typewriter.is-typing p,
.typewriter.is-typing li {
  opacity: 1;
  transform: translateY(0);
}

/* текст друкується через clip-path */
.typewriter p,
.typewriter li {
  display: block;
  overflow: hidden;
  white-space: normal;
  clip-path: inset(0 100% 0 0);
}

/* анімація “друку” */
.typewriter.is-typing p,
.typewriter.is-typing li {
  animation: typeReveal 900ms steps(40, end) forwards;
}

/* затримки по абзацах */
.typewriter.is-typing p:nth-of-type(1) { animation-delay: 0ms; }
.typewriter.is-typing p:nth-of-type(2) { animation-delay: 950ms; }
.typewriter.is-typing p:nth-of-type(3) { animation-delay: 1850ms; }
.typewriter.is-typing p:nth-of-type(4) { animation-delay: 2700ms; }
.typewriter.is-typing p:nth-of-type(5) { animation-delay: 5200ms; }
.typewriter.is-typing p:nth-of-type(6) { animation-delay: 6100ms; }

/* затримки по пунктах списку */
.typewriter.is-typing ul li:nth-child(1) { animation-delay: 3600ms; }
.typewriter.is-typing ul li:nth-child(2) { animation-delay: 3950ms; }
.typewriter.is-typing ul li:nth-child(3) { animation-delay: 4300ms; }
.typewriter.is-typing ul li:nth-child(4) { animation-delay: 4650ms; }
.typewriter.is-typing ul li:nth-child(5) { animation-delay: 5000ms; }

@keyframes typeReveal {
  to { clip-path: inset(0 0% 0 0); }
}

/* ===== Cursor (миготіння) тільки на активному блоці ===== */
.typewriter.is-typing p:last-child::after {
  content: "▋";
  display: inline-block;
  margin-left: 6px;
  opacity: 1;
  animation: blink 700ms steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ===== Трохи “військового” стилю ===== */
.typewriter .strong {
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  .typewriter p,
  .typewriter li {
    opacity: 1 !important;
    clip-path: none !important;
    animation: none !important;
  }
  .typewriter p:last-child::after {
    content: "" !important;
  }
}








.hud_left {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 18px;
  align-items: start;
}

/* сама вертикальна панель */
.hud_left .hud_accent {
  position: relative;
  width: 18px;
  min-height: 100%;
}

/* основна вертикальна лінія */
.hud_left .hud_accent::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}

/* “сканер” */
.hud_left .hud_accent::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 42px;
  border-radius: 4px;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(255,255,255,0.75),
    transparent
  );

  animation: hudScan 2.1s ease-in-out infinite;
  opacity: 0.9;
}

/* маленькі маркери */
.hud_left .hud_text {
  position: relative;
}

.hud_left .hud_text::before,
.hud_left .hud_text::after {
  content: "";
  position: absolute;
  left: -28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}

.hud_left .hud_text::before {
  top: 6px;
  animation: dotPulse 2.4s ease-in-out infinite;
}

.hud_left .hud_text::after {
  top: 36px;
  animation: dotPulse 2.4s ease-in-out infinite;
  animation-delay: 600ms;
}

/* ===== Animations ===== */

@keyframes hudScan {
  0%   { top: 0%; opacity: 0; }
  15%  { opacity: 1; }
  50%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: calc(100% - 42px); opacity: 0; }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50%      { transform: scale(1.4); opacity: 0.65; }
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .hud_left {
    grid-template-columns: 14px 1fr;
    gap: 14px;
  }
  .hud_left .hud_text::before,
  .hud_left .hud_text::after {
    left: -22px;
  }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  .hud_left .hud_accent::after,
  .hud_left .hud_text::before,
  .hud_left .hud_text::after {
    animation: none !important;
  }
}


.h2_glitch {
  position: relative;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 40px 0 18px;
  opacity: 0;
  transform: translateY(10px);
  animation: glitchIn 650ms ease-out forwards;
}

.h2_glitch::before,
.h2_glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.55;
  clip-path: inset(0 0 0 0);
}

.h2_glitch::before {
  transform: translateX(-2px);
  animation: glitch1 700ms steps(2) 1;
}

.h2_glitch::after {
  transform: translateX(2px);
  animation: glitch2 700ms steps(2) 1;
}

@keyframes glitchIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glitch1 {
  0% { clip-path: inset(0 0 70% 0); }
  30% { clip-path: inset(40% 0 20% 0); }
  60% { clip-path: inset(10% 0 55% 0); }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}

@keyframes glitch2 {
  0% { clip-path: inset(60% 0 0 0); }
  35% { clip-path: inset(15% 0 45% 0); }
  70% { clip-path: inset(55% 0 10% 0); }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}




#drone {
    transform-origin: 200px 200px;
    filter: drop-shadow(0 12px 18px rgba(0,0,0,.45));
  }

  /* Пропелери */
  .prop {
    transform-box: fill-box;
    transform-origin: center;
    animation: spin 0.22s linear infinite;
  }

  /* Легке тремтіння корпусу */
  .body-wobble {
    animation: wobble 1.2s ease-in-out infinite;
    transform-origin: center;
  }

  /* Пульс сенсора */
  .pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse 1.2s ease-in-out infinite;
  }

  /* Світло */
  .blink {
    animation: blink 0.9s ease-in-out infinite;
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  @keyframes wobble {
    0%,100% { transform: rotate(-1.5deg) translateY(0px); }
    50%     { transform: rotate(1.5deg) translateY(2px); }
  }

  @keyframes pulse {
    0%,100% { transform: scale(1); opacity: 0.35; }
    50%     { transform: scale(1.35); opacity: 0.15; }
  }

  @keyframes blink {
    0%,100% { opacity: 1; }
    50%     { opacity: 0.25; }
  }

  /* Дим/потік повітря */
  .air {
    opacity: .25;
    animation: air 1.1s ease-in-out infinite;
  }

  @keyframes air {
    0%   { transform: translateY(0px); opacity: .18; }
    50%  { transform: translateY(6px); opacity: .30; }
    100% { transform: translateY(0px); opacity: .18; }
  }



  .jobs_section {
  padding: 70px 0;
}

.jobs_head {
  margin-bottom: 26px;
}

.jobs_subtitle {
  opacity: 0.75;
  max-width: 720px;
  line-height: 1.5;
  margin-top: 8px;
}

/* grid */
.jobs_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1100px) {
  .jobs_grid { grid-template-columns: repeat(2, 1fr); }
  .side svg {
    margin: -205px 0;
}
}
@media (max-width: 640px) {
  .jobs_grid { grid-template-columns: 1fr; }
}

/* ===== CARD ===== */
.job_card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
  transition: 250ms ease;
}

/* HUD line */
.job_card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0%;
  background: rgba(255,255,255,0.65);
  transition: 300ms ease;
}

.job_card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

.job_card:hover::before {
  height: 100%;
}

/* top row */
.job_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.job_tag {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.02);
}

.job_salary {
  font-size: 12px;
  opacity: 0.65;
}

.job_card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}

.job_card p {
  opacity: 0.75;
  line-height: 1.45;
  margin: 0 0 14px;
}

/* button */
.job_btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
  color: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 220ms ease;
}

.job_btn:hover {
  background: rgba(255,255,255,0.08);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: 700ms cubic-bezier(.2,.9,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MODAL ===== */
.job_modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.job_modal.is-open {
  display: block;
}

.job_modal_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
}

.job_modal_box {
  max-height: 90vh;
  position: relative;
  max-width: 860px;
  width: calc(100% - 24px);
  margin: 6vh auto;
  border-radius: 22px;
  background: rgba(18,18,18,0.96);
  border: 1px solid rgba(255,255,255,0.14);
  overflow-y: scroll;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);

  animation: modalIn 260ms ease-out;
}

@keyframes modalIn {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.job_modal_close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: inherit;
  cursor: pointer;
}

.job_modal_head {
  padding: 22px 22px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.job_modal_tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 10px;
}

.job_modal_head h3 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 900;
}

.job_modal_salary {
  opacity: 0.85;
  font-weight: 700;
  margin-bottom: 4px;
}

.job_modal_type {
  opacity: 0.6;
  font-size: 14px;
}

.job_modal_body {
  padding: 18px 22px 22px;
}

.job_modal_body p {
  opacity: 0.85;
  line-height: 1.6;
  margin: 0 0 16px;
}

.job_modal_cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .job_modal_cols { grid-template-columns: 1fr; }
}

.job_modal_col h4,
.job_modal_block h4 {
  margin: 0 0 10px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.job_modal_col ul,
.job_modal_block ul {
  margin: 0;
  padding-left: 18px;
  opacity: 0.85;
  line-height: 1.55;
}

.job_modal_block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.job_modal_contact {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

.job_modal_actions {
  display: flex;
  gap: 12px;
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 640px) {
  .job_modal_actions { flex-direction: column; }
}

.job_modal_apply {
  flex: 1;
  text-align: center;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: inherit;
}

.job_modal_secondary {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  color: inherit;
  cursor: pointer;
}

@media (max-width: 1240px) {
    .grouped {
        display: block;
    }
    .navigation {
        display: none;
    }
svg {
    max-width: 100%;
}
}





/* ===== CONTACTS SECTION ===== */
.contacts_section {
  padding: 70px 0;
}

.contacts_head {
  margin-bottom: 26px;
}

.contacts_subtitle {
  opacity: 0.75;
  max-width: 720px;
  line-height: 1.5;
  margin-top: 8px;
}

/* grid */
.contacts_grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 960px) {
  .contacts_grid {
    grid-template-columns: 1fr;
  }
}

/* ===== LEFT PANEL ===== */
.contacts_panel {
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

/* HUD line */
.contacts_panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(255,255,255,0.35);
}

.contact_block {
  padding: 12px 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  margin-bottom: 14px;
}

.contact_label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}

.contact_value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  color: inherit;
  margin-bottom: 10px;
  opacity: 0.92;
}

.contact_value:hover {
  opacity: 1;
  text-decoration: underline;
}

.contact_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.contact_btn {
  display: inline-block;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: inherit;
  transition: 220ms ease;
}

.contact_btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
}

.contact_btn.ghost {
  background: rgba(255,255,255,0.02);
}

.contact_note {
  margin-top: 14px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  line-height: 1.55;
  opacity: 0.85;
}

/* ===== FORM ===== */
.contacts_form_wrap {
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.contacts_form_wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(255,255,255,0.65);
}

.contacts_form {
  padding: 12px;
}

.form_row {
  margin-bottom: 14px;
}

.form_row label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}

.form_row input,
.form_row textarea,
.form_row select {
  width: 100%;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.15);
  color: inherit;
  outline: none;
  transition: 220ms ease;
}

.form_row textarea {
  resize: vertical;
  min-height: 120px;
}

.form_row input:focus,
.form_row textarea:focus,
.form_row select:focus {
  border-color: rgba(255,255,255,0.30);
  background: rgba(0,0,0,0.22);
}

.form_actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form_submit {
  flex: 1;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
  color: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: 220ms ease;
}

.form_submit:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
}

.form_alt {
  opacity: 0.75;
  text-decoration: none;
  font-weight: 700;
  color: inherit;
}

.form_alt:hover {
  text-decoration: underline;
  opacity: 0.95;
}

.form_success {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  opacity: 0.9;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: 700ms cubic-bezier(.2,.9,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}




/* ===== FAQ ===== */
.faq_section {
  padding: 70px 0;
}

.faq_head {
  margin-bottom: 22px;
}

.faq_subtitle {
  opacity: 0.75;
  max-width: 720px;
  line-height: 1.5;
  margin-top: 8px;
}

.faq_grid {
  display: grid;
  gap: 12px;
}

/* item */
.faq_item {
  width: 100%;
  text-align: left;
  border-radius: 22px;
  padding: 16px 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 220ms ease;
}

/* left accent line */
.faq_item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(255,255,255,0.35);
}

.faq_item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.05);
}

/* question row */
.faq_q {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.35;
}

.faq_q span {
  opacity: 0.95;
}

/* icon */
.faq_icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  position: relative;
  opacity: 0.75;
  transition: 250ms ease;
}

.faq_icon::before,
.faq_icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.faq_icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* answer */
.faq_a {
  margin-top: 0px;
  max-height: 0px;
  overflow: hidden;
  opacity: 0;
  line-height: 1.55;
  font-weight: 600;
  transition: 420ms cubic-bezier(.2,.9,.2,1);
  padding-right: 26px;
}
html {
  scroll-behavior: smooth;
  margin: 0;
} 
header {
    background: #800000;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}
/* OPEN */
.faq_item.is-open .faq_a {
  margin-top: 12px;
  max-height: 260px;
  opacity: 0.85;
}

.faq_item.is-open .faq_icon {
  transform: rotate(45deg);
  opacity: 1;
}

/* reveal animation reuse */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: 700ms cubic-bezier(.2,.9,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .faq_item,
  .faq_a,
  .reveal {
    transition: none !important;
  }
}






.fire-cta{
  display:inline-flex;
  align-items:center;
  gap:12px;
  z-index: 999;
  padding:14px 22px;
  border-radius:16px;

  font-weight:800;
  letter-spacing:.6px;
  text-transform:uppercase;
  text-decoration:none;

  color:#fff;
  background:#800000;

  border:1px solid rgba(255,120,0,.35);

  box-shadow:
    0 0 20px rgba(255,90,0,.18),
    0 0 60px rgba(255,0,0,.10);

  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.fire-cta {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
.fire-cta:hover{
  transform: translateY(-2px);
  border-color: rgba(255,120,0,.7);
  box-shadow:
    0 0 28px rgba(255,90,0,.35),
    0 0 90px rgba(255,0,0,.18);
}

/* 🔥 ЖИВИЙ ВОГНИК */
.fire-emoji{
  display:inline-block;
  font-size:20px;
  transform-origin: 50% 70%;
  animation: flame 1.1s infinite;
  filter: drop-shadow(0 0 8px rgba(255,120,0,.55));
}

/* робимо анімацію "палаючою" */
@keyframes flame{
  0%{
    transform: rotate(-8deg) scale(1);
    filter: drop-shadow(0 0 6px rgba(255,120,0,.35));
  }
  25%{
    transform: rotate(8deg) scale(1.08) translateY(-1px);
    filter: drop-shadow(0 0 10px rgba(255,60,0,.55));
  }
  50%{
    transform: rotate(-6deg) scale(1.02) translateY(0px);
    filter: drop-shadow(0 0 14px rgba(255,120,0,.65));
  }
  75%{
    transform: rotate(6deg) scale(1.12) translateY(-2px);
    filter: drop-shadow(0 0 12px rgba(255,0,0,.55));
  }
  100%{
    transform: rotate(-8deg) scale(1);
    filter: drop-shadow(0 0 6px rgba(255,120,0,.35));
  }
}



/* ===========================
   MOBILE BOTTOM NAV — 237 BPS
   =========================== */

.mobile-bottom-nav{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

  padding: 10px;
  border-radius: 18px;

  background: rgba(10, 14, 18, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 140, 0, .18);

  box-shadow:
    0 10px 40px rgba(0,0,0,.45),
    0 0 40px rgba(255, 90, 0, .08);

  /* iPhone safe area */
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

/* приховати на десктопі */
@media (min-width: 992px){
  .mobile-bottom-nav{ display:none; }
}

.mbn-link{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 6px;
  padding: 10px 8px;

  text-decoration: none;
  border-radius: 14px;

  color: rgba(255,255,255,.78);

  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.mbn-ico{
  font-size: 18px;
  line-height: 1;
}

.mbn-text{
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .2px;
  text-transform: uppercase;
}

/* активний пункт */
.mbn-link.is-active{
  background: linear-gradient(90deg, rgba(255,120,0,.18), rgba(255,0,0,.12));
  color: #fff;

  box-shadow:
    0 0 18px rgba(255, 120, 0, .14),
    inset 0 0 0 1px rgba(255,120,0,.18);
}

.mbn-link:active{
  transform: scale(.97);
}

/* щоб меню не перекривало контент */
body{
  padding-bottom: 90px;
}
header {
    border-bottom: 2px dashed white;
}