:root {
  --bg: #f3efe6;
  --bg-deep: #e7e0d2;
  --ink: #1c2218;
  --ink-soft: #4a5344;
  --olive: #2f3d2a;
  --olive-deep: #1a2418;
  --khaki: #9a8b6a;
  --sand: #d6ccb8;
  --crimson: #8f2a2a;
  --crimson-hot: #a83535;
  --line: rgba(28, 34, 24, 0.12);
  --white: #faf8f3;
  --radius: 2px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(154, 139, 106, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--crimson);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--crimson-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(250, 248, 243, 0.45);
}

.btn-ghost:hover {
  background: rgba(250, 248, 243, 0.1);
  border-color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  /* Same horizontal inset as .wrap — header doesn't shift between pages */
  padding: 0 max(1.25rem, calc((100% - 1120px) / 2));
  background: rgba(243, 239, 230, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 172px;
  height: 56px;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 0;
  color: transparent;
  background: url("../img/logo-voyskovik.png") left center / contain no-repeat;
}

.logo-mark {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--olive);
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--olive-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 24, 16, 0.88) 0%, rgba(18, 24, 16, 0.55) 48%, rgba(18, 24, 16, 0.25) 100%),
    linear-gradient(0deg, rgba(18, 24, 16, 0.82) 0%, rgba(18, 24, 16, 0.35) 42%, transparent 62%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  padding-bottom: 0;
}

.hero-content {
  width: min(780px, calc(100% - 2.5rem));
  margin: 0 auto 0 clamp(1.25rem, 4vw, 2.5rem);
  padding: calc(var(--header-h) + 3.5rem) 0 0;
  animation: riseIn 1s var(--ease) both;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.lead {
  max-width: 38ch;
  font-size: 1.08rem;
  color: rgba(250, 248, 243, 0.86);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-usp {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  border-top: 1px solid rgba(250, 248, 243, 0.22);
  background: rgba(12, 16, 11, 0.72);
  backdrop-filter: blur(10px);
  animation: riseIn 1.1s var(--ease) 0.12s both;
}

.hero-usp li {
  padding: clamp(1.15rem, 2.8vw, 1.65rem) clamp(1rem, 2.2vw, 1.5rem);
  border-right: 1px solid rgba(250, 248, 243, 0.14);
}

.hero-usp li:last-child {
  border-right: none;
}

.hero-usp__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.55rem;
  color: #faf8f3;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-usp__text {
  display: block;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(250, 248, 243, 0.82);
  max-width: 18ch;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Featured vacancy (охранник) */
.feature-vacancy {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.feature-vacancy__media {
  position: absolute;
  inset: 0;
}

.feature-vacancy__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-vacancy__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 24, 16, 0.9) 0%, rgba(18, 24, 16, 0.58) 50%, rgba(18, 24, 16, 0.28) 100%),
    linear-gradient(0deg, rgba(18, 24, 16, 0.78) 0%, transparent 48%);
}

.feature-vacancy__content {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto 0 clamp(1.25rem, 4vw, 2.5rem);
}

.feature-vacancy .eyebrow {
  color: #d4a0a0;
}

.brand--sm {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.feature-vacancy h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  max-width: 20ch;
  margin-bottom: 1rem;
}

.feature-vacancy .lead {
  margin-bottom: 1.25rem;
}

.checklist--light li {
  color: rgba(250, 248, 243, 0.92);
}

.blog-head-cta {
  margin-top: 0.75rem;
}

/* Offer */
.offer {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.offer-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 14ch;
}

.offer-copy p {
  color: var(--ink-soft);
  max-width: 36ch;
}

.offer-figures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.offer-figures li {
  background: rgba(250, 248, 243, 0.7);
  padding: 1.5rem 1.35rem;
}

.figure {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.figure-label {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* Rear */
.rear {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 70vh;
  background: var(--olive-deep);
  color: var(--white);
}

.rear-media {
  min-height: 420px;
  overflow: hidden;
}

.rear-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.rear-copy {
  width: auto;
  max-width: none;
  margin: 0;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rear .eyebrow {
  color: #d4a0a0;
}

.rear h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 14ch;
}

.rear p {
  color: rgba(250, 248, 243, 0.82);
  max-width: 38ch;
}

.checklist {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  color: rgba(250, 248, 243, 0.9);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--crimson);
}

/* Jobs */
.jobs {
  padding: 0 0 clamp(4rem, 9vw, 6rem);
}

.jobs-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.jobs-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.jobs-head p {
  color: var(--ink-soft);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.job-card {
  display: grid;
  grid-template-rows: 220px auto;
  background: rgba(250, 248, 243, 0.55);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 42, 42, 0.35);
}

.job-card-media {
  overflow: hidden;
  background: var(--olive);
}

.job-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.job-card:hover .job-card-media img {
  transform: scale(1.05);
}

.job-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.job-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.job-card-body p {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.job-card-more {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--crimson);
}

/* Vacancy page */
.vacancy-hero {
  position: relative;
  min-height: 68svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.vacancy-hero-media {
  position: absolute;
  inset: 0;
}

.vacancy-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 16s var(--ease) forwards;
}

.vacancy-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 24, 16, 0.88) 0%, rgba(18, 24, 16, 0.5) 55%, rgba(18, 24, 16, 0.22) 100%),
    linear-gradient(0deg, rgba(18, 24, 16, 0.72) 0%, transparent 50%);
}

.vacancy-hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 2.5rem));
  margin: 0 auto 0 clamp(1.25rem, 4vw, 2.5rem);
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  animation: riseIn 0.9s var(--ease) both;
}

.vacancy-hero-content .brand {
  font-size: clamp(1.7rem, 4.5vw, 3rem);
}

.vacancy-hero-content h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  max-width: 16ch;
}

.vacancy-gallery {
  padding: clamp(3rem, 7vw, 5rem) 0 0;
}

.vacancy-gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}

.vacancy-gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.vacancy-gallery-grid .tall {
  grid-row: span 2;
  min-height: 500px;
}

.vacancy-body {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.vacancy-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.vacancy-copy h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-top: 1.75rem;
}

.vacancy-copy h2:first-child {
  margin-top: 0;
}

.vacancy-copy p,
.vacancy-copy li {
  color: var(--ink-soft);
}

.vacancy-side {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.5rem;
  background: rgba(250, 248, 243, 0.8);
  border: 1px solid var(--line);
}

.vacancy-side h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.vacancy-side .checklist {
  margin-bottom: 1.5rem;
}

.vacancy-side .checklist li {
  color: var(--ink-soft);
}

.vacancy-side .checklist li::before {
  background: var(--crimson);
}

.vacancy-related {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.vacancy-related h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 1.5rem;
}

/* Steps */
.steps {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.steps-head {
  margin-bottom: 2.5rem;
}

.steps-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: none;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--crimson);
  margin-bottom: 0.85rem;
}

.steps-list h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.steps-list p {
  color: var(--ink-soft);
  margin: 0;
}

/* Blog */
.blog {
  padding: 0 0 clamp(4rem, 9vw, 7rem);
}

.blog-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.blog-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.blog-head p {
  color: var(--ink-soft);
}

.blog-list {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}

.blog-item:first-child {
  grid-row: span 3;
}

.blog-link {
  display: grid;
  height: 100%;
  background: rgba(250, 248, 243, 0.55);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.blog-item:first-child .blog-link {
  grid-template-rows: 1.4fr auto;
}

.blog-item:not(:first-child) .blog-link {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
}

.blog-link:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 42, 42, 0.35);
}

.blog-thumb {
  overflow: hidden;
  min-height: 140px;
  background: var(--olive);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.blog-link:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-meta {
  padding: 1.25rem 1.35rem 1.5rem;
}

.blog-meta span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.55rem;
}

.blog-meta h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  margin-bottom: 0.55rem;
}

.blog-meta p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.blog-item:first-child .blog-meta h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

/* Contact */
.contact {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.45);
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: rgba(250, 248, 243, 0.94);
  border: 1px solid rgba(250, 248, 243, 0.3);
}

.contact-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.contact-copy p {
  color: var(--ink-soft);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-form input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.contact-form input:focus {
  border-color: var(--olive);
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}

.form-success {
  margin: 0;
  color: var(--olive);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  width: 100%;
  order: 3;
  margin-top: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.footer-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover {
  color: var(--crimson);
}

.vacancy-links {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.75);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.vacancy-links a {
  color: var(--crimson);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Legal pages */
.legal-page {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.legal-wrap {
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.legal-meta {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.legal-body {
  color: var(--ink-soft);
}

.legal-body h2 {
  margin-top: 1.75rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-body a {
  color: var(--crimson);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-related {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.legal-page .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.legal-page .breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.legal-page .breadcrumbs a:hover {
  color: var(--crimson);
}

.form-note a {
  color: var(--crimson);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--crimson);
  color: var(--white);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: calc(var(--header-h) + 1.25rem) 0 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--khaki);
}

.breadcrumbs__link:hover {
  color: var(--crimson);
}

.breadcrumbs__current {
  color: var(--ink);
}

/* Blog article layout (SEO / GEO) */
.blog-article {
  padding-bottom: 4rem;
}

.blog-article__header {
  padding: 1.5rem 0 0;
}

.blog-article__header-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.blog-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
  border: 1px solid rgba(143, 42, 42, 0.35);
  background: rgba(143, 42, 42, 0.06);
}

.article-byline {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.article-byline__sep {
  margin: 0 0.35rem;
  color: var(--khaki);
}

.blog-article__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.blog-article__hero {
  margin: 0 0 2rem;
  overflow: hidden;
  max-height: 420px;
}

.blog-article__hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  gap: 2rem 2.25rem;
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  width: 100%;
  max-height: calc(100vh - var(--header-h) - 1.5rem);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.article-toc {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.88);
}

.article-toc__label {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
}

.article-toc__list {
  margin: 0 0 1rem;
  padding: 0 0 0 1.1rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.article-toc__list a:hover {
  color: var(--crimson);
}

.article-toc__sub {
  margin-left: 0.5rem;
  font-size: 0.8rem;
}

.article-toc__cta {
  display: block;
  text-align: center;
  width: 100%;
}

.article-toc:has(.lead-sticky) .article-toc__list {
  margin-bottom: 0;
}

.article-toc .lead-sticky {
  margin: 1.1rem 0 0;
  padding: 1.1rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.article-toc .lead-sticky__label {
  margin: 0 0 0.75rem;
}

.article-sidebar .lead-form--compact {
  gap: 0.7rem;
}

.article-sidebar .lead-form--compact .lead-form__proof {
  padding: 0.7rem 0.8rem;
}

.article-sidebar .lead-form--compact .lead-form__proof-main {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.article-sidebar .lead-form--compact label {
  gap: 0.35rem;
}

.article-sidebar .lead-form--compact input,
.article-sidebar .lead-form--compact select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  box-sizing: border-box;
}

.article-sidebar .lead-form--compact .btn {
  width: 100%;
  min-height: 48px;
  padding-inline: 1rem;
}

.article-sidebar .lead-form--compact .form-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .article-layout {
    grid-template-columns: minmax(280px, 300px) minmax(0, 1fr);
    gap: 1.5rem 1.75rem;
    width: min(1120px, calc(100% - 2rem));
  }
}

.article-toc-mobile {
  display: none;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.7);
}

.article-toc-mobile summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.article-toc-mobile .article-toc__list {
  padding: 0 1rem 1rem 2rem;
  margin: 0;
}

.article-main {
  color: var(--ink-soft);
  min-width: 0;
}

.article-answer {
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--crimson);
  background: rgba(47, 61, 42, 0.06);
}

.article-answer__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
}

.article-answer p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.article-summary {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.article-summary__title {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.article-keypoints {
  margin: 0;
  padding-left: 1.2rem;
}

.article-keypoints li {
  margin-bottom: 0.5rem;
}

.article-section {
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.article-section h2 {
  color: var(--ink);
  font-size: 1.4rem;
  margin-top: 0;
}

.article-section h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.article-lead {
  font-size: 1.05rem;
  color: var(--ink);
}

.article-section ul {
  padding-left: 1.2rem;
}

.article-glossary {
  margin: 2.5rem 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.65);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.article-glossary__lead {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-glossary dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.article-glossary dt {
  font-weight: 700;
  color: var(--ink);
}

.article-glossary dd {
  margin: 0.15rem 0 0;
}

.article-faq {
  margin: 2.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.article-faq h2 {
  color: var(--ink);
  font-size: 1.4rem;
}

.faq__list {
  display: grid;
  gap: 0.65rem;
}

.faq__item {
  border: 1px solid var(--line);
  background: var(--white);
}

.faq__question {
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__answer {
  padding: 0 1rem 1rem;
}

.faq__answer p {
  margin: 0;
}

.article-related {
  margin: 2.5rem 0;
}

.article-related h2 {
  color: var(--ink);
  font-size: 1.4rem;
}

.article-related__hint {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-related__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.article-related__list a {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.7);
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.article-related__list a:hover {
  border-color: rgba(143, 42, 42, 0.4);
  background: rgba(143, 42, 42, 0.05);
  color: var(--crimson);
}

.article-cta-block {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(47, 61, 42, 0.08), transparent 55%),
    var(--white);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.article-cta-block h2 {
  color: var(--ink);
  font-size: 1.25rem;
}

.article-cta-block .btn {
  margin-top: 0.5rem;
}

/* Blog index */
.blog-index {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}

.blog-index__head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.blog-index__links {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.blog-index__links a {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-index__head h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.blog-index__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .blog-index__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-index-card {
  display: grid;
  grid-template-rows: 200px 1fr;
  border: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.7);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.blog-index-card:hover {
  border-color: rgba(143, 42, 42, 0.35);
}

.blog-index-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-index-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.blog-index-card__body span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
}

.blog-index-card__body h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.blog-index-card__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Legacy article pages */
.article-hero {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
}

.article-hero .wrap {
  max-width: 760px;
}

.article-hero .eyebrow {
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.article-hero .lead {
  color: var(--ink-soft);
}

.article-cover {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 2.5rem;
  max-height: 420px;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.article-body {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto 4rem;
  color: var(--ink-soft);
}

.article-body h2 {
  color: var(--ink);
  font-size: 1.4rem;
  margin-top: 2rem;
}

.article-body ul {
  padding-left: 1.2rem;
}

.article-cta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* Mobile */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(243, 239, 230, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .offer-grid,
  .rear,
  .steps-list,
  .blog-list,
  .jobs-grid,
  .vacancy-gallery-grid,
  .vacancy-layout,
  .contact-panel,
  .blog-item:not(:first-child) .blog-link,
  .article-layout,
  .blog-index__grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    width: min(720px, calc(100% - 2.5rem));
  }

  .hero-usp {
    grid-template-columns: 1fr 1fr;
  }

  .hero-usp li {
    border-right: none;
    border-bottom: 1px solid rgba(250, 248, 243, 0.14);
  }

  .hero-usp li:nth-child(odd) {
    border-right: 1px solid rgba(250, 248, 243, 0.14);
  }

  .hero-usp li:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .feature-vacancy__content {
    margin-left: 1.25rem;
  }

  .article-sidebar {
    display: none;
  }

  .article-toc-mobile {
    display: block;
  }

  .blog-article__title {
    max-width: none;
  }

  .blog-article__hero img,
  .article-cover img {
    height: 260px;
  }

  .vacancy-gallery-grid .tall {
    grid-row: auto;
    min-height: 280px;
  }

  .vacancy-side {
    position: static;
  }

  .vacancy-hero-content {
    margin-left: 1.25rem;
  }

  .blog-item:first-child {
    grid-row: auto;
  }

  .rear-media {
    min-height: 280px;
  }

  .offer-figures {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .hero-content,
  .reveal,
  .blog-thumb img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* Sources / E-E-A-T */
.article-sources .sources-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.article-sources .sources-list a {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sources-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--khaki);
  padding-left: 0.9rem;
}

/* Lead forms / conversion */
.lead-form {
  display: grid;
  gap: 0.75rem;
}

.lead-form__title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.lead-form__proof {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(47, 61, 42, 0.18);
  background: rgba(47, 61, 42, 0.06);
}

.lead-form__proof-main {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.lead-form__after {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.lead-form__progress {
  height: 4px;
  background: rgba(47, 61, 42, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.lead-form__progress span {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--crimson);
  transition: width 0.25s var(--ease);
}

.lead-form select,
.lead-form input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.lead-form__nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.lead-form__nav .btn {
  flex: 1;
  min-width: 120px;
}

.lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-error {
  margin: 0;
  color: var(--crimson);
  font-weight: 600;
  font-size: 0.9rem;
}

.lead-sticky {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.95);
}

.lead-sticky__label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
}

.lead-form--compact .lead-form__after {
  display: none;
}

.article-cta-block .lead-form {
  margin-top: 0.75rem;
}

.exit-lead {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(20, 24, 18, 0.55);
}

.exit-lead[hidden] {
  display: none !important;
}

.exit-lead__dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 1.35rem 1.25rem 1.25rem;
  background: var(--white, #faf8f3);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.exit-lead__close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}

.exit-lead__text {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

body.exit-lead-open {
  overflow: hidden;
}

.mobile-lead-bar {
  display: none;
}

@media (max-width: 760px) {
  .mobile-lead-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(250, 248, 243, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  }

  .mobile-lead-bar .btn {
    flex: 1;
    justify-content: center;
  }

  body.has-mobile-lead-bar {
    padding-bottom: 4.5rem;
  }

  .article-sidebar .lead-sticky {
    display: none;
  }
}

