:root {
  --ink: #1a1e1a;
  --ink-soft: #3d4a3d;
  --paper: #e8ede4;
  --paper-2: #f5f8f2;
  --line: #bcc9b2;
  --accent: #2b5f2b;
  --accent-soft: #dde8d6;
  --gold: #7a8f5c;
  --radius: 14px;
  --font-d: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-b: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1180px, 92vw);
  margin-inline: auto;
}
section {
  position: relative;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}

/* ===== HEADER & NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 238, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a {
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: transform .18s, background .2s;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn.accent {
  background: var(--accent);
  border-color: var(--accent);
}
.btn.accent:hover {
  background: #1f4a1f;
}
.btn.ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.hero-badge .ic {
  background: var(--accent-soft);
  color: var(--accent);
}
.checks .ck {
  background: var(--accent);
}
.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  padding: 74px 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 100px;
}
.hero h1 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 22px 0 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.stat .n {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -.02em;
}
.stat .l {
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-visual {
  position: relative;
}
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #ece5d7, #ece5d7 12px, #e6ddcb 12px, #e6ddcb 24px);
  color: #9a917c;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px dashed #cdc3ab;
  border-radius: var(--radius);
  text-align: center;
  padding: 18px;
}
.hero-visual .ph {
  aspect-ratio: 4/5;
  border-radius: 22px;
}
.hero-badge {
  position: absolute;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .25);
  display: flex;
  gap: 11px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}
.hero-badge .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.hb1 {
  top: 24px;
  left: -26px;
  animation: float 5s ease-in-out infinite;
}
.hb2 {
  bottom: 34px;
  right: -22px;
  animation: float 5s ease-in-out infinite .8s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== MARQUEE ===== */
.marquee {
  border-block: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  background: var(--paper-2);
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll 26s linear infinite;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 24px;
  color: #bdb39b;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 60px;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.sec {
  padding: 90px 0;
}
.sec-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.sec-head .tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-head h2 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 12px 0 14px;
}
.sec-head p {
  font-size: 18px;
  color: var(--ink-soft);
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .28);
}
.card .ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.card h3 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 9px;
  letter-spacing: -.01em;
}
.card p {
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* списки в карточках */
.card .checks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card .checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.card .checks .ck {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.card .checks li strong {
  color: var(--ink);
  font-weight: 600;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 20px;
}
.about h2 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -.02em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.about p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.tag-inline {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .05em;
}
.checks {
  list-style: none;
  display: grid;
  gap: 13px;
  margin-top: 24px;
}
.checks li {
  display: flex;
  gap: 12px;
  font-weight: 500;
  font-size: 16px;
}
.checks .ck {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  margin-top: 1px;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: s;
}
.step {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step::before {
  counter-increment: s;
  content: "0" counter(s);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 46px;
  color: var(--accent);
  opacity: .22;
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}
.step h4 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 7px;
}
.step p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ===== VACANCIES ===== */
.vac-list {
  display: grid;
  gap: 14px;
}
.vac {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: border-color .2s, transform .2s;
}
.vac:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.vac h4 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 6px;
}
.vac-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 13px;
}
.vac .apply {
  white-space: nowrap;
}

/* ===== PERKS ===== */
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.perk .ic {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: #1d212b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.perk h4 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}
.perk p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ===== QUOTE ===== */
.quote {
  background: var(--ink);
  color: #fff;
  border-radius: 26px;
  padding: 64px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
}
.quote .ph {
  aspect-ratio: 1;
  width: 160px;
  border-radius: 50%;
  border-color: #3a3f4c;
  background: repeating-linear-gradient(45deg, #23272f, #23272f 12px, #2c313b 12px, #2c313b 24px);
  color: #6b7280;
}
.quote blockquote {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.quote cite {
  display: block;
  font-style: normal;
  font-size: 15px;
  color: #9aa1ad;
  margin-top: 20px;
  font-family: var(--font-b);
}

/* ===== APPLY FORM ===== */
.apply-sec {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.form-info h2 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.02em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.form-info p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.contact-row {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}
.contact-row .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 20px;
}
form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--paper-2);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #e24b4a;
  box-shadow: 0 0 0 4px #fcebeb;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field .err {
  display: none;
  color: #c0392b;
  font-size: 12.5px;
  margin-top: 5px;
}
.field .err.show {
  display: block;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.file-drop {
  border: 1.5px dashed #cdc3ab;
  border-radius: 11px;
  padding: 22px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14.5px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.file-drop:hover,
.file-drop.drag {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.consent {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 6px 0 20px;
}
.consent input {
  margin-top: 3px;
}
.form-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 11px;
  font-weight: 500;
  font-size: 14.5px;
}
.form-msg.show {
  display: block;
}
.form-msg.ok {
  background: var(--accent-soft);
  color: #9a3415;
}
.form-msg.bad {
  background: #ffe6e0;
  color: #b03114;
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: #c3c9d4;
  padding: 60px 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
footer .logo {
  color: #fff;
  margin-bottom: 14px;
}
footer p {
  font-size: 14.5px;
  line-height: 1.7;
}
.foot-col h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 15px;
  margin-bottom: 10px;
  color: #a8aebb;
  transition: color .2s;
}
.foot-col a:hover {
  color: #fff;
}
.foot-bot {
  border-top: 1px solid #2a2f3a;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
  color: #7e8597;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #313743;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #a8aebb;
  transition: .2s;
}
.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px -6px rgba(43, 95, 43, .12);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
  line-height: 1.4;
}
.faq-question:hover {
  background: var(--accent-soft);
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--accent);
  box-shadow: 0 4px 20px -6px rgba(43, 95, 43, .15);
}
.faq-question .faq-icon {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-soft);
  transition: transform 0.3s ease, background 0.2s, border-color 0.2s;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(.4, 0, .2, 1);
}
.faq-answer > div {
  overflow: hidden;
}
.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer p {
  padding: 2px 20px 18px 20px;
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.faq-answer ul {
  list-style: none;
  margin: 0;
  padding: 0 20px 18px 20px;
}
.faq-answer ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.faq-answer ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.faq-answer strong {
  color: var(--ink);
}

/* ===== QUOTE + FAQ GRID ===== */
.quote-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  align-items: start;
}
.quote-faq-grid .quote {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  position: sticky;
  top: 90px;
}
.quote-faq-grid .quote .ph {
  aspect-ratio: 1;
  width: 100px;
  border-radius: 50%;
  border-color: #3a3f4c;
  background: repeating-linear-gradient(45deg, #23272f, #23272f 12px, #2c313b 12px, #2c313b 24px);
  color: #6b7280;
  flex-shrink: 0;
}
.quote-faq-grid .quote img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.quote-faq-grid .quote blockquote {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  color: #e8ede4;
}
.quote-faq-grid .quote cite {
  display: block;
  font-style: normal;
  font-size: 13.5px;
  color: #6b7280;
  font-family: var(--font-b);
  line-height: 1.5;
}
.quote-faq-grid .faq-block {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
}
.quote-faq-grid .faq-block .sec-head {
  max-width: 100%;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.quote-faq-grid .faq-block .sec-head h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 6px;
}
.quote-faq-grid .faq-block .sec-head p {
  font-size: 15px;
  margin: 0;
}
.quote-faq-grid .faq-list .faq-item {
  background: var(--paper);
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] {
  display: none;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal-box {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  width: min(680px, 100%);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, .4);
  animation: modal-in .25s cubic-bezier(.2, .8, .2, 1);
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.modal-head h2 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: none;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  transition: background .2s, color .2s;
}
.modal-close:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.modal-body {
  overflow-y: auto;
  padding: 24px 28px 32px;
  scroll-behavior: smooth;
}
.modal-body h3 {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 8px;
  color: var(--ink);
}
.modal-body p,
.modal-body ul {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 6px;
}
.modal-body ul {
  padding-left: 22px;
}
.modal-body ul li {
  margin-bottom: 4px;
}
.modal-body a {
  color: var(--accent);
  text-decoration: underline;
}
.modal-updated {
  margin-top: 28px !important;
  font-size: 13px !important;
  color: #9aa1ad !important;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ============================================================
   МЕДИА-ЗАПРОСЫ (все собраны здесь, без дублей)
   ============================================================ */

@media (max-width: 900px) {
  /* скрываем навигацию и кнопку в хедере по умолчанию */
  .nav-links,
  .nav .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

  /* сетки */
  .hero-grid,
  .about-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
  }
  .cards,
  .steps,
  .perks {
    grid-template-columns: 1fr 1fr;
  }
  .quote {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
    justify-items: center;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ===== МОБИЛЬНОЕ МЕНЮ (открытое состояние) ===== */
  .nav-links {
    display: none; /* перекрываем предыдущий display */
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
    gap: 16px;
    z-index: 100;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 8px 0;
    width: 100%;
  }

  /* ===== КНОПКА "Оставить заявку" ВНУТРИ МЕНЮ ===== */
  .nav .btn {
    display: none; /* скрыта по умолчанию */
  }
  .nav .btn.open {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    box-sizing: border-box;

    /* убираем зелёный фон, делаем как текст */
    background: transparent !important;
    border: none !important;
    color: var(--ink-soft) !important;
    padding: 8px 0 !important;
    font-weight: 500;
    font-size: 15px;
    border-radius: 0;
    box-shadow: none;
  }
  .nav .btn.open:hover {
    color: var(--ink) !important;
    background: transparent !important;
    transform: none;
  }

  /* ===== ЦИТАТА + FAQ НА МОБИЛЬНЫХ ===== */
  .quote-faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .quote-faq-grid .quote {
    position: static;
    padding: 28px 24px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .quote-faq-grid .quote .ph,
  .quote-faq-grid .quote img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
  }
  .quote-faq-grid .faq-block {
    padding: 24px 18px;   /* ← только отступы, без лишних переопределений */
    background: var(--paper-2); /* ← сохраняем фон, как на десктопе */
    border: 1px solid var(--line);
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .cards,
  .steps,
  .perks,
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .vac {
    grid-template-columns: 1fr;
  }
  .hero-badge {
    display: none;
  }
  .quote {
    padding: 30px 24px;
  }
  .quote-faq-grid .quote {
    flex-direction: column;
    align-items: flex-start;
  }
  .quote-faq-grid .faq-block {
    padding: 20px 14px;
  }
  .faq-question {
    padding: 15px 16px;
    font-size: 14.5px;
  }
  .faq-answer p {
    padding: 2px 16px 16px;
    font-size: 14px;
  }
  .faq-answer ul {
    padding: 0 16px 16px;
  }
  .modal-box {
    border-radius: 16px;
    max-height: 92vh;
  }
  .modal-head {
    padding: 18px 18px 14px;
  }
  .modal-body {
    padding: 18px 18px 24px;
  }
}
.text-center {
    text-align: center;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
/* ===== МОДАЛКА: Специальный контракт БПЛА ===== */
.modal-box.modal-wide {
  max-width: 820px;
}

.bpla-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bpla-section h3 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.bpla-section p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Сетка 3 колонки для гарантий */
.bpla-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bpla-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 18px;
}

.bpla-card .bpla-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.bpla-card h4 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.bpla-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.bpla-card p strong {
  color: var(--ink);
}

/* Две колонки: Обучение + Преимущества */
.bpla-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bpla-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bpla-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.bpla-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.bpla-list li strong {
  color: var(--ink);
}

/* Документы */
.bpla-docs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bpla-doc {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
}

.bpla-doc-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.bpla-doc strong {
  font-size: 14.5px;
}

.bpla-doc p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 2px 0 0;
  line-height: 1.5;
}

/* Блок "Важно!" */
.bpla-warning {
  display: flex;
  gap: 14px;
  background: #fef9e7;
  border: 1.5px solid #f1c40f;
  border-radius: 12px;
  padding: 18px 22px;
}

.bpla-warning-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.bpla-warning strong {
  color: var(--ink);
}

.bpla-warning div {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
  .bpla-grid {
    grid-template-columns: 1fr;
  }
  .bpla-two-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .modal-box.modal-wide {
    max-width: 95vw;
  }
  .bpla-doc {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .bpla-warning {
    flex-direction: column;
    gap: 8px;
  }
}