:root {
  --bg: #0e1410;
  --bg-alt: #131c16;
  --surface: #19241c;
  --surface-2: #1f2c23;
  --line: #2c3a2f;
  --text: #e8efe7;
  --muted: #9bab9c;
  --accent: #6e8b3d;      /* olive */
  --accent-2: #8fae4f;
  --gold: #d4a843;
  --gold-soft: #e7c873;
  --danger: #c0563b;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Roboto", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text { font-family: "Oswald", "Roboto", sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: 0.3px; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }

.center { text-align: center; }
.mt { margin-top: 26px; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: var(--radius-sm);
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1rem;
  letter-spacing: 0.6px; text-transform: uppercase; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #2a2102; box-shadow: 0 8px 24px rgba(212, 168, 67, 0.28); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(212, 168, 67, 0.45); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-block { width: 100%; }
.center-buttons { justify-content: center; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(14, 20, 16, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.logo-mark { color: var(--gold); display: flex; }
.logo-text { font-size: 1.08rem; letter-spacing: 1px; white-space: nowrap; line-height: 1; }
.logo-text b { color: var(--gold); font-weight: 700; }

.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color .15s ease; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-family: "Oswald", sans-serif; font-weight: 600; color: var(--text); white-space: nowrap; }
.header-phone:hover { color: var(--gold); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; padding: 76px 0 40px;
  background:
    linear-gradient(180deg, rgba(12, 18, 13, 0.74) 0%, rgba(14, 20, 16, 0.9) 100%),
    url("../img/hero-bg.webp") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, transparent 0 49.5%, rgba(110,139,61,.06) 49.5% 50.5%, transparent 50.5%);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; color: var(--gold-soft); font-family: "Oswald", sans-serif;
  letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 16px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; text-transform: uppercase; }
.hero-lead { font-size: 1.12rem; color: #cdd8cc; margin: 18px 0 28px; max-width: 560px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow);
}
.stat-num { display: block; font-family: "Oswald", sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.stat-label { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
.disclaimer-mini { margin-top: 26px; color: var(--muted); font-size: 0.82rem; }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-tag {
  display: inline-block; color: var(--accent-2); font-family: "Oswald", sans-serif;
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 12px;
}
.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); text-transform: uppercase; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }
.subhead { font-size: 1.3rem; margin: 42px 0 20px; text-transform: uppercase; color: var(--text); }

/* ===== Grids ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.prose p { margin-bottom: 16px; color: #cfdace; }

.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 30px; color: #d4dfd3; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 4px; background: var(--accent); box-shadow: inset 0 0 0 2px rgba(0,0,0,.15);
}
.feature-list li::after {
  content: ""; position: absolute; left: 5px; top: 9px; width: 4px; height: 8px;
  border: solid #0e1410; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ===== Cards ===== */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card.sm { padding: 20px; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; height: 40px; padding: 0 12px; margin-bottom: 14px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px;
  font-family: "Oswald", sans-serif; font-weight: 700; color: var(--gold); font-size: 1rem;
}
.doc-num, .step-num { font-family: "Oswald", sans-serif; }
.doc-num { color: var(--accent-2); font-size: 1.4rem; font-weight: 700; display: block; margin-bottom: 6px; }

.spec { position: relative; }
.spec.featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(212,168,67,.08), var(--surface)); }
.spec-badge {
  position: absolute; top: -11px; left: 20px; background: var(--gold); color: #2a2102;
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 100px; text-transform: uppercase;
}

/* mini cards (numbers) */
.mini-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; display: flex; flex-direction: column; gap: 8px;
}
.mini-card.highlight { border-color: var(--gold); background: linear-gradient(180deg, rgba(212,168,67,.1), var(--surface)); }
.mini-num { font-family: "Oswald", sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.mini-card span:last-child { color: var(--muted); font-size: 0.9rem; }

/* ===== Table ===== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.compare thead th { background: var(--surface-2); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .5px; color: var(--gold-soft); }
.compare td:first-child { color: var(--muted); }
.compare tbody tr:hover { background: rgba(110,139,61,.07); }
.compare td:not(:first-child) { text-align: center; }

/* ===== BPLA ===== */
.bpla { background:
  radial-gradient(900px 400px at 15% 0%, rgba(110,139,61,.16), transparent 60%), var(--bg); }
.bpla-roles .card { padding: 18px; }
.bpla-roles .card h3 { font-size: 1.05rem; }

/* ===== Images ===== */
.feature-img {
  display: block; width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.media-row { align-items: center; }
.media-row .feature-img { max-height: 420px; object-fit: cover; }
.mb { margin-bottom: 28px; }
.spec-thumb {
  width: 100%; height: 160px; object-fit: cover; border-radius: 10px;
  margin-bottom: 14px; border: 1px solid var(--line);
}
.region-img {
  width: 100%; height: 180px; object-fit: cover; border-radius: 10px;
  margin-bottom: 18px; border: 1px solid var(--line);
}

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
}
.step-num {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--accent); color: #0e1410; font-size: 1.4rem; font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ===== Regions ===== */
.regions { gap: 24px; }
.region-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.region-card .muted.small { margin-top: auto; padding-top: 8px; }
.region-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.region-head h3 { font-size: 1.6rem; text-transform: uppercase; }
.region-total { font-family: "Oswald", sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.region-sub { color: var(--muted); margin: 4px 0 18px; }
.region-list { list-style: none; display: grid; gap: 0; margin-bottom: 16px; }
.region-list li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.region-list li:last-child { border-bottom: none; }
.region-list span { color: var(--muted); }
.region-list b { font-family: "Oswald", sans-serif; color: var(--text); white-space: nowrap; }

/* ===== Apply ===== */
.apply { background:
  radial-gradient(800px 400px at 85% 100%, rgba(212,168,67,.12), transparent 60%), var(--bg-alt); }
.apply-box {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.apply-text { background: linear-gradient(160deg, var(--surface-2), var(--surface)); padding: 44px 38px; }
.apply-text h2 { font-size: 1.9rem; text-transform: uppercase; }
.apply-text p { color: var(--muted); margin: 16px 0 26px; }
.apply-contacts { list-style: none; display: grid; gap: 14px; }
.apply-contacts > li > a { font-family: "Oswald", sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.messengers { display: flex; gap: 12px; }
.msg, .msg-link { border: 1px solid var(--line); padding: 8px 16px; border-radius: 8px; color: var(--text); font-weight: 500; transition: .15s; }
.msg:hover, .msg-link:hover { border-color: var(--accent-2); color: var(--accent-2); }

.apply-form { background: var(--surface); padding: 38px; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.field input, .field select {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; color: var(--text); font-size: 1rem; font-family: inherit; width: 100%;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent-2); }
.field input::placeholder { color: #5d6b5e; }
.field select option { background: var(--bg); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.form-msg { font-size: 0.92rem; min-height: 1em; }
.form-msg.ok { color: var(--accent-2); }
.form-msg.err { color: var(--danger); }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-family: "Oswald", sans-serif;
  font-weight: 500; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; }
.faq-body p { color: var(--muted); }

/* ===== Final CTA ===== */
.final-cta { background:
  radial-gradient(900px 400px at 50% 120%, rgba(110,139,61,.2), transparent 60%), var(--bg); }
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; }
.final-cta .hero-buttons { margin-top: 28px; }

/* ===== Footer ===== */
.site-footer { background: #0a0f0b; border-top: 1px solid var(--line); padding: 50px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer-col h4 { font-size: 1rem; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; letter-spacing: 1px; }
.footer-col a { display: block; color: var(--muted); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.logo-footer { margin-bottom: 14px; }
.footer-msgs { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.footer-msgs .msg-link { padding: 8px 18px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  position: relative; padding: 64px 0 52px; text-align: center;
  background:
    linear-gradient(180deg, rgba(12, 18, 13, 0.82) 0%, rgba(19, 28, 22, 0.94) 100%),
    url("../img/hero-bg.webp") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; font-weight: 700; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 16px auto 0; font-size: 1.04rem; }
.breadcrumbs { font-size: 0.84rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { color: var(--text); }

/* Teaser CTA link under sections */
.section-cta { text-align: center; margin-top: 36px; }

/* Home teaser cards link */
.teaser-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-family: "Oswald", sans-serif; font-weight: 600; margin-top: 8px; }
.teaser-link:hover { color: var(--gold-soft); }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; width: 100%; max-width: 460px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow); max-height: 92vh; overflow: auto; animation: modalPop .2s ease;
}
@keyframes modalPop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; color: var(--muted); font-size: 1.9rem; line-height: 1; cursor: pointer; padding: 4px; }
.modal-close:hover { color: var(--text); }
.modal-card h2 { font-size: 1.5rem; text-transform: uppercase; }
.modal-sub { color: var(--muted); margin: 10px 0 20px; font-size: .95rem; }
.modal-form { background: none; padding: 0; }
body.modal-open { overflow: hidden; }

/* Mobile nav drawer (slides in from the right) */
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 55;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav {
    display: flex; position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(80vw, 300px); flex-direction: column; gap: 2px; align-items: stretch;
    background: var(--bg-alt); border-left: 1px solid var(--line);
    padding: 80px 22px 24px; margin-left: 0; z-index: 60;
    transform: translateX(100%); transition: transform .28s ease;
    box-shadow: -12px 0 40px rgba(0,0,0,.5); overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .burger { display: flex; margin-left: auto; position: relative; z-index: 65; }
  .header-cta .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .apply-box { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .cards-3, .cards-4, .cards-2, .steps, .regions, .footer-inner { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .apply-text, .apply-form { padding: 28px 22px; }
  .region-card { padding: 24px 20px; }
  .logo-text { font-size: 1rem; }
}
