@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* Sirin Stencil — open-licensed (SIL OFL 1.1) display stencil face, self-hosted.
   Used only for the two hero headlines; body/nav headings stay on Barlow
   Condensed since Sirin only ships a single Regular weight. */
@font-face {
  font-family: "Sirin Stencil";
  src: url('/fonts/SirinStencil-Regular.woff2') format('woff2'),
       url('/fonts/SirinStencil-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #21231a;
  --bg-alt: #292b1f;
  --panel: #34371f;
  --ink: #0f100b;
  --rule: #454735;
  --rule-soft: #343626;
  --olive: #4b5320;
  --khaki: #9a9578;
  --accent: #c9a227;
  --accent-dim: #8f7420;
  --text: #f3f1e6;
  --text-dim: #bcb79f;
  --text-faint: #8a8569;
  --font-body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Segoe UI", Roboto, Arial, sans-serif;
  --font-stencil: "Sirin Stencil", "Barlow Condensed", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Film-grain overlay — breaks up flat vector fills so the page doesn't read
   as smooth/plastic. Pure CSS noise, no photo dependency. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; }
a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

/* Camo texture — real tiled blotch pattern (public/camo.svg), not a gradient glow */
.camo-bg {
  position: relative;
  background:
    linear-gradient(180deg, rgba(33,35,26,0.55), rgba(33,35,26,0.62)),
    url('/camo.svg');
  background-size: auto, 480px 380px;
  background-repeat: repeat, repeat;
  background-position: 0 0, 0 0;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 22, 15, 0.94);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.logo span { color: var(--accent); }
nav.main-nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
nav.main-nav a:hover { color: var(--accent); border-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { font-weight: 700; text-decoration: none; color: var(--text); white-space: nowrap; }

/* Mobile nav toggle — injected by script.js, hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons — stencil-tag shape (clipped corner), not a rounded SaaS pill */
.btn {
  display: inline-block;
  position: relative;
  font-family: var(--font-display);
  border: 1.5px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  padding: 13px 26px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); }
.btn-outline { background: transparent; border-color: var(--khaki); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 0.78rem; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }

/* Hero */
.hero { padding: 64px 0 52px; border-bottom: 1px solid var(--rule); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 {
  font-family: var(--font-stencil);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero h1 .hl { color: var(--accent); }
.hero p.lead { color: var(--text-dim); font-size: 1.05rem; max-width: 46ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

/* Stat row — flat, divided by rules, no card boxes */
.stat-row {
  display: flex;
  border-top: 1px solid var(--rule);
}
.stat-card {
  flex: 1;
  padding: 18px 18px 0 0;
  border-right: 1px solid var(--rule);
}
.stat-card:last-child { border-right: none; padding-right: 0; }
.stat-card .num { font-size: 1.3rem; font-weight: 800; color: var(--accent); display: block; }
.stat-card .label { font-size: 0.78rem; color: var(--text-dim); margin-top: 4px; display: block; }

/* Duotone treatment — every photo on the site is graded into the same
   olive/khaki palette so it reads as part of the design, not a pasted-in
   stock photo. Applied via filter (no image-editing tool needed). */
.photo-duotone {
  filter: saturate(0.8) brightness(0.95) contrast(1.08);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) brightness(0.95) contrast(1.08);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(33,35,26,0.5));
}

.vacancy-hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 340px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
@media (max-width: 700px) {
  .vacancy-hero-img-wrap { aspect-ratio: 4 / 3; max-height: 260px; }
}
.vacancy-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) brightness(0.95) contrast(1.08);
}
.vacancy-hero-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 75%, rgba(33,35,26,0.45));
}

/* Section heading */
.section { padding: 60px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow,
.page-hero .eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-transform: uppercase;
  margin: 10px 0 12px;
}
.section-head p { color: var(--text-dim); margin: 0; }

/* Card grid — real cards: rounded corners, contained image, soft shadow,
   hover lift. Matches the reference's card component in the dark palette. */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  padding: 24px 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 10px 26px rgba(0,0,0,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 16px 34px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,162,39,0.35);
  border-color: var(--accent);
}
.card .icon {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}
.card .card-img {
  display: block;
  width: calc(100% + 44px);
  height: 190px;
  object-fit: cover;
  margin: -24px -22px 18px;
  filter: saturate(0.8) brightness(0.95) contrast(1.08);
}
.card h3 { margin: 0 0 12px; font-size: 1.08rem; text-transform: uppercase; letter-spacing: 0.01em; }
.card ul { margin: 0; padding-left: 18px; color: var(--text-dim); font-size: 0.92rem; }
.card ul li { margin-bottom: 7px; }
.card p { color: var(--text-dim); font-size: 0.92rem; margin: 0 0 12px; }
.card .price { font-weight: 800; color: var(--accent); font-size: 0.9rem; }
.card a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-size: 0.88rem; }

/* Standalone card used outside grids (CTA boxes, FAQ answers etc.) */
.card.standalone {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 30px 26px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 10px 26px rgba(0,0,0,0.6);
}

.directions .card { display: flex; flex-direction: column; }
.directions .price { margin-top: auto; padding-top: 14px; }

/* Process timeline — numbered rows, not boxed cards */
.steps { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.step .step-num {
  flex: none;
  width: 2.2rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step h4 { margin: 0 0 4px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.step p { margin: 0; color: var(--text-dim); font-size: 0.9rem; }
.steps-5, .steps { grid-template-columns: none; }

/* Cities — plain text list, no pill soup */
.city-chips {
  columns: 3;
  column-gap: 24px;
}
.city-chip {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--text-dim);
  font-size: 0.92rem;
  break-inside: avoid;
}

/* Form */
.form-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); text-transform: uppercase; margin: 0 0 14px; }
.form-copy p { color: var(--text-dim); margin: 0 0 20px; }
.form-copy .phone-block {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.form-copy .phone-block .phone-link { font-size: 1.2rem; }
.form-copy .phone-block .hours { display: block; font-size: 0.82rem; color: var(--text-dim); margin-top: 4px; }

form#lead-form {
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  padding: 30px;
}
form#lead-form .field { margin-bottom: 16px; }
form#lead-form label { display: block; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
form#lead-form input,
form#lead-form select,
form#lead-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 11px 13px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
form#lead-form input:focus,
form#lead-form select:focus,
form#lead-form textarea:focus { outline: none; border-color: var(--accent); }
form#lead-form textarea { resize: vertical; min-height: 70px; }
form#lead-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23bcb79f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}
form#lead-form select:invalid { color: var(--text-dim); }
form#lead-form option { background: var(--bg); color: var(--text); }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 18px; cursor: pointer; }
form#lead-form .consent input {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--khaki);
  border-radius: 4px;
  background: var(--bg-alt);
  cursor: pointer;
  position: relative;
  transition: border-color .15s, background .15s;
}
form#lead-form .consent input:hover { border-color: var(--accent); }
form#lead-form .consent input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
form#lead-form .consent input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid var(--ink);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
form#lead-form .consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent span { padding-top: 2px; }
.consent a { color: var(--accent); }

.form-status { margin-top: 12px; font-size: 0.88rem; min-height: 1.2em; }
.form-status.ok { color: #9fcf6b; }
.form-status.err { color: #e08a6a; }

/* Lead quiz — one question per screen, modelled on the zarodiny.pro flow */
.quiz-dots { display: flex; gap: 6px; }
.quiz-dot { flex: 1; height: 4px; border-radius: 2px; background: var(--rule); transition: background 0.2s ease; }
.quiz-dot.is-active { background: var(--accent); }

.quiz-q { margin: 0 0 6px; font-size: 1.15rem; text-transform: none; }
.quiz-hint { margin: 0 0 20px; color: var(--text-dim); font-size: 0.86rem; }
.quiz-step { min-height: 150px; }

.quiz-row { display: flex; gap: 12px; }
.quiz-row input { flex: 1; }
.quiz-row .btn { flex: none; white-space: nowrap; }

.quiz-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.quiz-pills:not(.quiz-pills-grid) .quiz-pill { flex: 1; min-width: 120px; }
.quiz-pills-grid { display: grid; grid-template-columns: repeat(3, 1fr); }

.quiz-pill {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 14px 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.quiz-pill:hover { border-color: var(--khaki); }
.quiz-pill.is-selected { border-color: var(--accent); background: rgba(201, 162, 39, 0.14); color: var(--accent); }

.quiz-other-input { width: 100%; margin-top: 12px; }

.quiz-recap {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 12px 14px;
  margin: 0 0 20px;
}

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.quiz-back {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  padding: 0;
}
.quiz-back:hover { color: var(--accent); }
.quiz-progress-text { color: var(--text-faint); font-size: 0.78rem; margin-left: auto; }

/* Footer */
footer.site-footer { border-top: 1px solid var(--rule); padding: 48px 0 30px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; margin-bottom: 30px; }
.footer-grid h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul a { text-decoration: none; color: var(--text-dim); font-size: 0.9rem; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-legal { border-top: 1px solid var(--rule); padding-top: 22px; font-size: 0.76rem; color: var(--text-faint); line-height: 1.7; }
.footer-legal a { color: var(--text-faint); text-decoration: underline; }

.placeholder { color: var(--accent); font-style: normal; }

/* Inner-page hero */
.page-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-family: var(--font-stencil); font-weight: 400; letter-spacing: 0.01em; font-size: clamp(1.5rem, 3.2vw, 2.3rem); text-transform: uppercase; margin: 10px 0 14px; }
.page-hero p { color: var(--text-dim); max-width: 62ch; margin: 0; }
.page-hero .stat-row { max-width: 680px; margin-top: 28px; }

/* Numbered section blocks — flat, top rule, no box */
.numbered-block { padding: 8px 0 36px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.numbered-block:last-of-type { border-bottom: none; }
.numbered-block .n {
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.numbered-block h3 { margin: 0 0 14px; font-size: 1.3rem; text-transform: uppercase; }
.numbered-block p { color: var(--text-dim); margin: 0 0 12px; }
.numbered-block ul { color: var(--text-dim); padding-left: 20px; }
.numbered-block li { margin-bottom: 8px; }

.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 18px 0; border-top: 1px solid var(--rule-soft); }
.req-item { padding: 14px 16px 14px 0; border-right: 1px solid var(--rule-soft); }
.req-item:last-child { border-right: none; }
.req-item strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 0.92rem; }
.req-item span { color: var(--text-dim); font-size: 0.86rem; }

.table-wrap { overflow-x: auto; margin: 16px 0; }
table.contraindications { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.contraindications th, table.contraindications td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule-soft); color: var(--text-dim); }
table.contraindications th { color: var(--text); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.04em; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }

/* Callout / pull-quote — the "accent highlight" the site was missing */
.callout {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  color: var(--text);
  font-size: 1.02rem;
}
.callout strong { color: var(--accent); }
.callout p { margin: 0; }

/* FAQ accordion — flat, divider only */
.faq-list { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--rule); }
details.faq-item { border-bottom: 1px solid var(--rule); padding: 18px 0; }
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; flex: none; }
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item p { color: var(--text-dim); margin: 14px 0 0; font-size: 0.92rem; }

/* Contact section */
#lead-form-section { scroll-margin-top: 90px; }
.contact-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy .eyebrow-badge {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.contact-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); text-transform: uppercase; margin: 0 0 12px; }
.contact-copy > p { color: var(--text-dim); margin: 0 0 18px; }
.contact-copy ul.checklist { list-style: none; padding: 0; margin: 0 0 26px; }
.contact-copy ul.checklist li { padding-left: 22px; position: relative; color: var(--text-dim); font-size: 0.92rem; margin-bottom: 11px; }
.contact-copy ul.checklist li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.stats-strip { display: flex; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.stats-strip .stat { flex: 1; padding: 16px 16px 16px 0; border-right: 1px solid var(--rule); }
.stats-strip .stat:last-child { border-right: none; }
.stats-strip .stat strong { display: block; font-size: 1.3rem; color: var(--accent); }
.stats-strip .stat span { font-size: 0.78rem; color: var(--text-dim); }

/* Vacancy detail spec row */
.vacancy-specs { display: flex; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 26px 0 40px; }
.spec-card { flex: 1; padding: 18px 16px 18px 0; border-right: 1px solid var(--rule); }
.spec-card:last-child { border-right: none; }
.spec-card strong { display: block; color: var(--accent); font-size: 1.1rem; margin-bottom: 4px; }
.spec-card span { color: var(--text-dim); font-size: 0.82rem; }

.tag-list { margin: 12px 0 0; color: var(--text-dim); font-size: 0.9rem; line-height: 2; }
.tag-list .tag { color: var(--text-dim); }
.tag-list .tag:not(:last-child)::after { content: " · "; color: var(--text-faint); }

/* Blog listing — list rows, not card grid */
.article-grid { border-top: 1px solid var(--rule); }
.article-card {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.article-card .topic { color: var(--accent); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.article-card h3 { margin: 8px 0 6px; font-size: 1.12rem; color: var(--text); text-transform: none; }
.article-card p { margin: 0; color: var(--text-dim); font-size: 0.9rem; }
.article-card:hover h3 { color: var(--accent); }

/* City list on Пункты отбора */
.city-grid { border-top: 1px solid var(--rule); }
.city-card { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.city-card strong { font-weight: 700; }
.city-card span { color: var(--text-dim); font-size: 0.86rem; }

.legal-page .container { max-width: 800px; }
.legal-page h2 { margin-top: 34px; font-size: 1.15rem; text-transform: uppercase; }
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 0.94rem; }
.legal-page strong { color: var(--text); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-section .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 4px 20px 14px;
  }
  nav.main-nav.is-open { display: flex; }
  nav.main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 1.05rem;
  }
  nav.main-nav a:last-child { border-bottom: none; }

  .req-grid { grid-template-columns: 1fr; }
  .req-item { border-right: none; border-bottom: 1px solid var(--rule-soft); }
  .info-grid { grid-template-columns: 1fr; }
  .contact-section .container { grid-template-columns: 1fr; }
  .stats-strip { flex-direction: column; }
  .stats-strip .stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .vacancy-specs { flex-direction: column; }
  .spec-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .article-grid { grid-template-columns: 1fr; }
  .city-chips { columns: 2; }
  .stat-row { flex-direction: column; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 12px; }
}

@media (max-width: 420px) {
  .header-cta .phone-link { display: none; }
  .city-chips { columns: 1; }
}

@media (max-width: 400px) {
  .header-inner { gap: 10px; }
  .logo { font-size: 1.05rem; }
  .header-cta .btn-sm { padding: 8px 12px; font-size: 0.7rem; letter-spacing: 0.04em; }
}

@media (max-width: 480px) {
  .quiz-row { flex-direction: column; }
  .quiz-pills-grid { grid-template-columns: repeat(2, 1fr); }
}
