/* ============================================
   ORESAL EHITUS — design tokens
   Cream + deep olive-black + lime accent
   ============================================ */
:root {
  --cream: #F7F3EA;
  --cream-2: #F0EBDD;
  --cream-3: #E8DFC9;
  --ink: #15170F;          /* deep olive-black */
  --ink-2: #1F2218;
  --ink-3: #2C2F23;
  --line: rgba(21,23,15,.12);
  --line-strong: rgba(21,23,15,.22);
  --line-dark: rgba(242,238,227,.14);
  --muted: #5A5A4E;
  --muted-2: #84826F;
  --lime: #DDE85B;          /* primary accent */
  --lime-2: #C8D446;
  --rust: #6B4A2B;          /* secondary earth */
  --white-warm: #FAF7EE;

  --radius-pill: 999px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-soft: 0 1px 0 rgba(21,23,15,.04), 0 20px 40px -24px rgba(21,23,15,.18);

  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-text);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Typography */
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-text);
  text-transform: lowercase;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: .65;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: currentColor; opacity: .6;
}
.eyebrow.no-bar::before { display: none; }

/* Layout */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 760px) {
  .section { padding: 64px 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--lime);
  color: var(--ink);
}
.btn-primary:hover { background: var(--lime-2); }
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost.on-dark {
  color: var(--cream);
  border-color: var(--line-dark);
}
.btn-ghost:hover { background: rgba(21,23,15,.05); }
.btn-ghost.on-dark:hover { background: rgba(242,238,227,.06); }
.btn .arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--ink); color: var(--cream);
  margin-right: -8px;
}
.btn-primary .arrow { background: var(--ink); color: var(--lime); }
.btn-dark .arrow { background: var(--lime); color: var(--ink); }
.btn-ghost .arrow { background: var(--ink); color: var(--cream); }
.btn-ghost.on-dark .arrow { background: var(--cream); color: var(--ink); }

/* ============================
   HEADER
   ============================ */
.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 10px 0;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--ink); }
.topbar-left, .topbar-right {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.topbar .dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; opacity: .5; }
.topbar .ico { width: 13px; height: 13px; opacity: .7; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,238,227,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  padding: 18px 0;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center;
  position: relative;
}
.logo-mark::before {
  content: "";
  width: 12px; height: 12px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
}
.nav-links {
  display: flex; gap: 4px; margin-left: 28px;
  flex: 1;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  opacity: .78;
  transition: background .2s, opacity .2s;
}
.nav-link:hover { opacity: 1; background: rgba(21,23,15,.06); }
.nav-link.active { opacity: 1; background: var(--ink); color: var(--cream); }
.nav-cta { display: flex; gap: 14px; align-items: center; }
.nav-phone { font-weight: 600; font-size: 14.5px; }
.nav-burger { display: none; }

@media (max-width: 1000px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 20px 28px; border-bottom: 1px solid var(--line); gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 14px; }
  .nav-burger { display: inline-flex; margin-left: auto; padding: 10px; }
  .nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
  .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); }
  .nav-burger span::before { top: -7px; }
  .nav-burger span::after { top: 7px; }
  .nav-phone { display: none; }
}

/* ============================
   HERO
   ============================ */
.hero {
  padding: 18px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  position: relative;
  min-height: 560px;
  background-size: cover; background-position: center;
}
.hero-img-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
}
.hero-img-meta {
  position: absolute; left: 24px; bottom: 22px; right: 24px;
  display: flex; justify-content: space-between; align-items: end;
  color: var(--cream);
  font-size: 13px; opacity: .85;
}
.hero-card {
  background: var(--white-warm);
  border-radius: var(--radius-lg);
  padding: 56px 56px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 28px;
  min-height: 560px;
  border: 1px solid var(--line);
}
.hero-card h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  margin: 18px 0 18px;
}
.hero-card .lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 44ch;
}
.hero-card .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-stat {
  display: flex; align-items: center; gap: 22px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-stat-label { font-size: 13.5px; color: var(--muted); max-width: 14ch; }
.hero-stat-spacer { flex: 1; }
.hero-stat-cta {
  width: 76px; height: 56px;
  border-radius: var(--radius-pill);
  background: var(--rust); color: var(--cream);
  display: grid; place-items: center;
  font-size: 12px;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { min-height: 380px; }
  .hero-card { padding: 36px 28px; min-height: auto; }
}

/* ============================
   FEATURE TILES (3-up)
   ============================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  min-height: 280px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.feature .step { font-size: 12px; opacity: .55; }
.feature h3 {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 500;
  letter-spacing: -0.02em;
  margin: auto 0 12px;
  line-height: 1.05;
}
.feature p { font-size: 14px; opacity: .75; margin: 0 0 18px; max-width: 30ch; }
.feature .more {
  align-self: flex-start;
  font-size: 13px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  opacity: .85;
}
.feature .corner {
  position: absolute; right: 18px; bottom: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: grid; place-items: center;
}
.feature.dark { background: var(--ink); color: var(--cream); }
.feature.dark .corner { background: var(--cream); color: var(--ink); }
.feature.lime { background: var(--lime); color: var(--ink); }
.feature.lime .corner { background: var(--ink); color: var(--lime); }
.feature.img {
  background: var(--ink-2); color: var(--cream);
  background-size: cover; background-position: center;
}
.feature.img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75) 100%);
}
.feature.img > * { position: relative; z-index: 1; }
.feature.img .corner { background: var(--lime); color: var(--ink); }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
}

/* ============================
   SECTION HEADER
   ============================ */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.sec-head h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  margin: 14px 0 0;
}
.sec-head .sub { color: var(--muted); font-size: 16.5px; max-width: 50ch; }
@media (max-width: 800px) {
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================
   SERVICES LIST
   ============================ */
.services {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line-strong);
}
.service {
  display: grid;
  grid-template-columns: 80px 1.1fr 2fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 8px;
  border-bottom: 1px solid var(--line-strong);
  transition: background .25s ease, padding .25s ease;
}
.service:hover { background: var(--cream-2); padding-left: 24px; padding-right: 24px; }
.service .num {
  font-family: var(--font-display);
  font-size: 22px; opacity: .55; font-weight: 500;
}
.service h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
}
.service p { font-size: 15px; color: var(--muted); margin: 0; max-width: 60ch; }
.service .go {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink); color: var(--lime);
  display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.service:hover .go { transform: rotate(-45deg); background: var(--lime); color: var(--ink); }
@media (max-width: 900px) {
  .service { grid-template-columns: 50px 1fr; }
  .service h3 { grid-column: 2; }
  .service p { grid-column: 1 / -1; }
  .service .go { grid-column: 1 / -1; justify-self: end; }
}

/* ============================
   ABOUT / STATS
   ============================ */
.about {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.about h2 { font-size: clamp(34px, 4vw, 52px); margin: 14px 0 22px; }
.about .lede { color: rgba(242,238,227,.7); font-size: 16px; max-width: 50ch; }
.about ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.about li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.about li::before {
  content: ""; flex: 0 0 auto; margin-top: 6px;
  width: 10px; height: 10px;
  border: 2px solid var(--lime); border-radius: 50%;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(242,238,227,.14);
  border: 1px solid rgba(242,238,227,.14);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat { background: var(--ink); padding: 32px 26px; }
.stat .n {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 500;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--lime);
}
.stat .l { margin-top: 10px; font-size: 13.5px; color: rgba(242,238,227,.65); }
@media (max-width: 900px) {
  .about { padding: 44px 26px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================
   PROJECTS — overlapping cards
   ============================ */
.projects-band {
  background: var(--ink);
  border-radius: var(--radius-lg);
  color: var(--cream);
  padding: 64px 56px;
  overflow: hidden;
}
.projects-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.projects-head h2 { font-size: clamp(34px, 4vw, 52px); margin: 14px 0 0; }
.projects-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.project-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  transition: transform .35s ease;
}
.project-card:hover { transform: translateY(-6px); }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.6) 100%);
}
.project-card > * { position: relative; z-index: 1; }
.project-tag {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 12px;
  display: inline-flex; align-self: flex-start;
}
.project-card h4 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.project-card .arrow-up {
  position: absolute; right: 16px; top: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: grid; place-items: center; z-index: 2;
}
@media (max-width: 1000px) {
  .projects-row { grid-template-columns: repeat(2, 1fr); }
  .projects-band { padding: 44px 24px; }
}
@media (max-width: 560px) {
  .projects-row { grid-template-columns: 1fr; }
  .projects-head { flex-direction: column; align-items: flex-start; }
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer h5 {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 500;
  margin: 0 0 18px;
  color: rgba(242,238,227,.55);
  letter-spacing: .02em;
}
.footer .f-logo {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.footer p, .footer a { color: rgba(242,238,227,.75); font-size: 14.5px; }
.footer a:hover { color: var(--lime); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer .copy {
  border-top: 1px solid rgba(242,238,227,.14);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: rgba(242,238,227,.5);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================
   PAGE HEADER (sub-pages)
   ============================ */
.page-header { padding: 56px 0 24px; }
.page-header .eyebrow { margin-bottom: 18px; }
.page-header h1 {
  font-size: clamp(48px, 7vw, 100px);
  margin: 0;
  line-height: .98;
}
.page-header .sub { color: var(--muted); font-size: 17px; max-width: 60ch; margin-top: 22px; }
.page-header .extra { color: var(--ink-3); font-size: 15.5px; max-width: 70ch; margin-top: 18px; }

/* ============================
   PROJECTS PAGE GRID
   ============================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proj-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  padding: 22px;
  background-color: var(--ink-2);
  transition: transform .3s ease;
}
.proj-tile:hover { transform: translateY(-4px); }
.proj-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.75) 100%);
}
.proj-tile > * { position: relative; z-index: 1; }
.proj-tile .num {
  position: absolute; top: 18px; left: 22px; z-index: 1;
  font-family: var(--font-display);
  color: var(--cream); opacity: .8; font-size: 16px;
}
.proj-tile h4 {
  font-family: var(--font-display);
  color: var(--cream); font-size: 22px; font-weight: 500;
  margin: 0; max-width: 26ch; line-height: 1.1;
  letter-spacing: -0.01em;
}
.proj-tile .country {
  position: absolute; top: 18px; right: 22px; z-index: 1;
  color: var(--cream); opacity: .8; font-size: 13px;
}
@media (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }

/* ============================
   TRAINING PAGE
   ============================ */
.training {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.training-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex; flex-direction: column; gap: 24px;
}
.training-card h3 {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 500; margin: 0;
  letter-spacing: -0.02em;
}
.training-card p { color: rgba(242,238,227,.78); font-size: 15.5px; max-width: 48ch; }
.training-img {
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  min-height: 480px;
  position: relative;
}
.training-badge {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 13px; font-weight: 600;
}
@media (max-width: 900px) {
  .training { grid-template-columns: 1fr; }
  .training-img { min-height: 280px; }
  .training-card { padding: 36px 26px; }
}

/* ============================
   VACANCIES
   ============================ */
.vacancies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 36px 0 56px;
}
.vacancy {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 28px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: var(--white-warm);
  transition: background .2s ease, border-color .2s ease;
}
.vacancy:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.vacancy:hover .v-go { background: var(--lime); color: var(--ink); }
.vacancy h4 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  margin: 0; letter-spacing: -0.01em;
}
.vacancy .v-go {
  width: 44px; height: 44px;
  border-radius: 50%; background: var(--ink); color: var(--lime);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, transform .25s ease;
}
.vacancy:hover .v-go { transform: rotate(-45deg); }
@media (max-width: 700px) { .vacancies { grid-template-columns: 1fr; } }

/* ============================
   PARTNERS
   ============================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.partners-grid--home {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.partner {
  aspect-ratio: 3/2;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 24px 22px;
  background: #FFFFFF;
  position: relative;
  transition: background .25s ease;
}
.partner:hover { background: var(--white-warm); }
.partner-logo {
  max-width: 70%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(.95);
  transition: transform .25s ease;
}
.partner:hover .partner-logo { transform: scale(1.04); }
.partner-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
  opacity: .65;
}
.partner .lbl {
  position: absolute; top: 14px; left: 18px;
  font-size: 11.5px; opacity: .35;
  font-family: var(--font-display);
}
@media (max-width: 800px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================
   CONTACT
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.contact-card {
  background: var(--white-warm);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--line);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 26px; margin: 0 0 26px; font-weight: 500;
  letter-spacing: -0.015em;
}
.contact-row {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.contact-row:last-of-type { border-bottom: none; }
.contact-row .ico {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink); color: var(--lime);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.contact-row .lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-row .val { font-size: 17px; font-weight: 500; margin-top: 4px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================
   FORM
   ============================ */
.form-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 28px; margin: 0 0 6px; font-weight: 500;
  letter-spacing: -0.015em;
}
.form-card .sub { color: rgba(242,238,227,.65); margin: 0 0 28px; font-size: 14.5px; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  color: rgba(242,238,227,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 1px solid rgba(242,238,227,.18);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--cream);
  outline: none;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lime);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23DDE85B' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.field option { background: var(--ink); color: var(--cream); }
.field textarea { min-height: 130px; resize: vertical; font-family: inherit; }
.consent {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(242,238,227,.7);
  cursor: pointer;
}
.consent input { appearance: none; width: 20px; height: 20px; border: 1px solid rgba(242,238,227,.4); border-radius: 5px; flex: 0 0 auto; margin-top: 1px; display: grid; place-items: center; cursor: pointer; }
.consent input:checked { background: var(--lime); border-color: var(--lime); }
.consent input:checked::after {
  content: ""; width: 12px; height: 6px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) translate(1px, -1px);
}
.form-submit { grid-column: 1 / -1; margin-top: 8px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ============================
   THANK YOU
   ============================ */
.thanks {
  min-height: 70vh;
  display: grid; place-items: center;
  text-align: center;
}
.thanks-inner { max-width: 640px; padding: 24px; }
.thanks .check {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-grid; place-items: center;
  margin: 0 auto 28px;
}
.thanks h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  margin: 0 0 18px; font-weight: 500;
  letter-spacing: -0.03em;
}
.thanks p { font-size: 18px; color: var(--muted); margin: 0 0 32px; }

/* ============================
   FADE-IN PAGE TRANSITION
   ============================ */
.page-enter {
  opacity: 1;
  animation: fadeUp .45s ease;
}
@keyframes fadeUp {
  from { transform: translateY(8px); }
  to { transform: none; }
}

/* ============================
   HOME — Quality CTA strip
   ============================ */
.quality-strip {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  align-items: stretch;
}
.quality-img {
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  min-height: 280px;
}
.quality-card {
  background: var(--white-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 24px;
}
.quality-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 42px);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.quality-card p { color: var(--muted); margin: 0; max-width: 56ch; font-size: 15.5px; }
@media (max-width: 900px) {
  .quality-strip { grid-template-columns: 1fr; }
  .quality-card { padding: 32px 26px; }
}

/* ============================
   HOME — Vacancies band with form
   ============================ */
.vac-band {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.vac-band-img {
  background-size: cover; background-position: center;
  min-height: 560px;
  position: relative;
}
.vac-band-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,23,15,0) 60%, rgba(21,23,15,.5) 100%);
}
.vac-band-body { padding: 56px 48px; }
.vac-band-body .eyebrow { color: var(--lime); opacity: 1; }
.vac-band-body h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  margin: 14px 0 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.vac-band-body .lede { color: rgba(242,238,227,.72); font-size: 15.5px; max-width: 52ch; }
.vac-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.vac-checks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15.5px;
}
.vac-checks li::before {
  content: ""; flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(242,238,227,.08);
  border: 1px solid rgba(242,238,227,.18);
  display: inline-block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'><path d='M1 5l4 4 8-8' stroke='%23DDE85B' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.vac-cta { margin-top: 28px; }
@media (max-width: 900px) {
  .vac-band { grid-template-columns: 1fr; }
  .vac-band-img { min-height: 280px; }
  .vac-band-body { padding: 36px 26px; }
}

/* ============================
   HOME — Training preview
   ============================ */
.training-preview {
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.training-preview .body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 50px);
  margin: 14px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.training-preview .body p { color: var(--muted); margin: 0 0 14px; max-width: 50ch; font-size: 15.5px; }
.training-preview .body .ctas { margin-top: 24px; }
.training-preview-img {
  border-radius: var(--radius-md);
  background-size: cover; background-position: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .training-preview { grid-template-columns: 1fr; padding: 36px 26px; gap: 28px; }
  .training-preview-img { min-height: 240px; }
}

/* ============================
   HOME — Partners preview
   ============================ */
.partners-preview {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.partners-preview .partner {
  aspect-ratio: 1.6/1;
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: #FFFFFF;
}
.partners-preview .partner:nth-child(6n) { border-right: none; }
.partners-preview .partner:nth-last-child(-n+6) { border-bottom: none; }
@media (max-width: 900px) {
  .partners-preview { grid-template-columns: repeat(3, 1fr); }
  .partners-preview .partner { border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
  .partners-preview .partner:nth-child(6n) { border-right: 1px solid var(--line-strong); }
  .partners-preview .partner:nth-child(3n) { border-right: none; }
  .partners-preview .partner:nth-last-child(-n+6) { border-bottom: 1px solid var(--line-strong); }
  .partners-preview .partner:nth-last-child(-n+3) { border-bottom: none; }
}

/* ============================
   TRAINING PAGE — full
   ============================ */
.train-hero {
  position: relative;
  height: 360px;
  border-radius: var(--radius-lg);
  margin-top: 18px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.train-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45));
}
.train-hero-tag {
  position: absolute; top: 24px; left: 24px;
  background: var(--lime);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 13px;
  z-index: 1;
}
.train-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 56px;
  align-items: start;
}
.train-main h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 56px 0 22px;
  line-height: 1.08;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.train-main h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.train-main h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 28px 0 14px;
}
.train-main p { font-size: 15.5px; color: var(--ink); opacity: .82; margin: 0 0 14px; max-width: 64ch; }
.train-main ul.dotted {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: grid; gap: 10px;
}
.train-main ul.dotted li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink); opacity: .8;
  line-height: 1.55;
}
.train-main ul.dotted li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 2px;
}

/* Module cards */
.modules { display: grid; gap: 14px; margin-top: 10px; }
.module {
  background: var(--white-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 28px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 22px;
  align-items: start;
  transition: border-color .2s ease, background .2s ease;
}
.module:hover { border-color: var(--ink); background: var(--cream-2); }
.module .m-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  opacity: .35;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 2px;
}
.module .m-body h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.module .m-body ul {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 6px;
  font-size: 14.5px; color: var(--muted);
}
.module .m-body li { position: relative; padding-left: 16px; }
.module .m-body li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 1px; background: var(--ink); opacity: .5;
}
.module .m-hours {
  background: var(--ink);
  color: var(--lime);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  align-self: start;
}
@media (max-width: 700px) {
  .module { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
  .module .m-hours { justify-self: flex-start; }
}

/* CV box */
.cv-block {
  background: var(--cream-2);
  border-radius: var(--radius-md);
  padding: 28px 28px;
  border: 1px solid var(--line);
}
.cv-block h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cv-block dl { margin: 0; display: grid; gap: 10px; }
.cv-block dt { font-size: 13px; color: var(--muted); }
.cv-block dd { margin: 0; font-size: 14.5px; }

/* Sidebar */
.train-side {
  position: sticky; top: 84px;
  background: var(--white-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.train-side-tape {
  height: 16px;
  margin: -32px -28px 24px;
  background:
    repeating-linear-gradient(
      135deg,
      var(--ink) 0 12px,
      var(--lime) 12px 24px
    );
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
.train-side-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--lime);
  display: grid; place-items: center;
  margin: 0 auto 16px;
}
.train-side h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.train-side dl { margin: 0; display: grid; gap: 0; }
.train-side .row {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.train-side .row:last-of-type { border-bottom: none; }
.train-side dt { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.train-side dd { margin: 0; font-size: 14.5px; font-weight: 500; }
.train-side .price {
  background: var(--ink); color: var(--cream);
  margin: 16px -28px;
  padding: 18px 28px;
  text-align: center;
}
.train-side .price .lbl { font-size: 12px; opacity: .6; text-transform: uppercase; letter-spacing: .06em; }
.train-side .price .val {
  font-family: var(--font-display);
  color: var(--lime);
  font-size: 32px; font-weight: 500; letter-spacing: -0.02em;
  margin-top: 4px;
}
.train-side .mini-form {
  margin-top: 18px;
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 22px 22px;
  color: var(--cream);
}
.train-side .mini-form h4 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 500;
  margin: 0 0 14px;
  text-align: center;
  color: var(--cream);
}
.train-side .mini-form .field { gap: 6px; margin-bottom: 10px; }
.train-side .mini-form input { padding: 11px 14px; font-size: 14px; border-radius: 10px; }
.train-side .mini-form button { width: 100%; justify-content: center; padding: 13px 20px; }

@media (max-width: 960px) {
  .train-layout { grid-template-columns: 1fr; gap: 32px; }
  .train-side { position: static; }
}

/* utility */
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.mt-24 { margin-top: 24px; }
.mt-56 { margin-top: 56px; }
.pill-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--white-warm);
  border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}

/* =========================================================
   Mobile optimization pass — 2026-05-28
   ========================================================= */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(250,247,238,.62);
}
.lang-btn {
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  opacity: .68;
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--ink);
  color: var(--cream);
  opacity: 1;
}
@media (max-width: 1180px) {
  .nav-inner { gap: 14px; }
  .nav-links { margin-left: 10px; }
  .nav-link { padding: 8px 10px; font-size: 13.5px; }
  .nav-cta .btn { padding: 12px 16px; }
}
@media (max-width: 1000px) {
  .nav-inner { justify-content: space-between; padding: 12px 0; }
  .nav-links.open {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    box-shadow: 0 24px 46px -30px rgba(21,23,15,.45);
  }
  .nav-links.open .nav-link { font-size: 16px; }
  .lang-switch { order: 1; }
  .nav-burger { order: 2; }
  .nav-cta > .btn { display: none; }
}
@media (max-width: 760px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .section { padding: 54px 0; }
  .section-sm { padding: 42px 0; }
  .topbar { display: none; }
  .logo { font-size: 18px; white-space: nowrap; }
  .hero { padding-top: 14px; }
  .hero-grid,
  .about-grid,
  .quality-strip,
  .training-preview,
  .contact-grid,
  .footer-grid,
  .project-feature,
  .service-detail,
  .two-col,
  .page-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-card,
  .about,
  .quality-card,
  .form-card,
  .contact-card,
  .training-preview,
  .vac-band,
  .project-card,
  .service,
  .partner,
  .vacancy {
    border-radius: 22px;
  }
  .hero-img { min-height: 420px; background-position: center; }
  .hero-card { padding: 30px 24px; min-height: auto; }
  .h-display,
  .hero-card h1,
  .page-header h1 {
    font-size: clamp(42px, 13vw, 60px) !important;
    line-height: .98;
    letter-spacing: -0.035em;
    word-break: normal;
  }
  .sec-head { grid-template-columns: 1fr !important; gap: 18px; margin-bottom: 24px; }
  .sec-head h2,
  .about h2,
  .training-preview h2,
  .vac-band-body h2 {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1.02;
  }
  .lede, .sub { font-size: 15.5px; max-width: 100%; }
  .ctas { flex-direction: column; align-items: stretch; }
  .ctas .btn, .form-submit, .vac-cta .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .hero-stat { align-items: flex-start; gap: 12px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 50px; }
  .services, .project-grid, .partners-grid, .vacancies, .stats { grid-template-columns: 1fr !important; }
  .service { min-height: auto; padding: 24px; }
  .service h3 { font-size: 22px; }
  .project-card { min-height: 300px; background-position: center; }
  .project-card h4 { font-size: 22px; max-width: 92%; }
  .vac-band-img { min-height: 360px; background-position: 50% 35%; }
  .vac-band-body { padding: 32px 24px; }
  .form-card { padding: 30px 24px; }
  .form-grid { grid-template-columns: 1fr !important; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer { padding-top: 44px; }
  .copy { gap: 10px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .nav-inner { gap: 8px; }
  .logo { font-size: 16px; }
  .lang-btn { min-width: 30px; height: 28px; padding: 0 7px; font-size: 11px; }
  .nav-burger { padding: 8px; }
  .hero-img { min-height: 360px; }
  .hero-card { padding: 26px 20px; }
  .h-display,
  .hero-card h1,
  .page-header h1 { font-size: clamp(38px, 13vw, 52px) !important; }
  .btn { padding: 13px 16px; }
  .vac-band-img { min-height: 320px; }
}


/* =========================================================
   Final mobile layout repair — prevent clipping instead of hiding it
   ========================================================= */
@media (max-width: 760px) {
  html, body, #root {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }

  .nav .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-inner {
    width: 100%;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }

  .logo {
    margin-left: 4px !important;
    font-size: 17px;
    letter-spacing: -0.035em;
    max-width: 42vw;
    overflow: hidden;
  }

  .nav-cta {
    margin-left: auto;
    gap: 10px;
    align-items: center;
    max-width: 54vw;
  }

  .lang-switch {
    flex: 0 1 auto;
    gap: 2px;
    padding: 3px;
  }

  .lang-btn {
    min-width: 31px;
    height: 29px;
    padding: 0 7px;
    font-size: 11.5px;
  }

  .nav-burger {
    flex: 0 0 auto;
    margin-right: 2px;
    padding: 8px;
  }

  .hero-card,
  .about,
  .projects-band,
  .quality-card,
  .training-preview,
  .vac-band,
  .vac-band-body,
  .contact-card,
  .form-card,
  .service,
  .partner,
  .vacancy,
  .page-header,
  .train-hero,
  .train-main,
  .train-side,
  .project-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .hero-card,
  .about,
  .projects-band,
  .quality-card,
  .training-preview,
  .vac-band-body,
  .contact-card,
  .form-card,
  .service,
  .vacancy,
  .page-header,
  .train-hero,
  .train-main,
  .train-side {
    padding-left: 22px;
    padding-right: 22px;
  }

  .projects-band {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-grid,
  .about-grid,
  .projects-head,
  .quality-strip,
  .training-preview,
  .contact-grid,
  .footer-grid,
  .project-feature,
  .service-detail,
  .two-col,
  .page-grid,
  .services,
  .project-grid,
  .projects-grid,
  .partners-grid,
  .partners-preview,
  .vacancies,
  .stats,
  .form-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .h-display,
  .hero-card h1,
  .sec-head h2,
  .about h2,
  .projects-head h2,
  .page-header h1,
  .quality-card h3,
  .training-preview h2,
  .vac-band-body h2,
  .train-hero h1,
  .train-main h2 {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
  }

  .hero-card h1,
  .h-display {
    font-size: clamp(34px, 10.2vw, 42px) !important;
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .sec-head h2,
  .about h2,
  .projects-head h2,
  .page-header h1,
  .quality-card h3,
  .training-preview h2,
  .vac-band-body h2,
  .train-hero h1,
  .train-main h2 {
    font-size: clamp(31px, 9.2vw, 40px) !important;
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  .projects-head {
    display: block;
  }

  .projects-head p,
  .about .lede,
  .hero-card .lede,
  .sec-head .sub,
  .quality-card p,
  .training-preview .body p,
  .vac-band-body .lede {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .stats {
    grid-template-columns: 1fr !important;
    border: 1px solid rgba(242,238,227,.22);
    border-radius: 24px;
    overflow: hidden;
    background: transparent;
  }

  .stat {
    width: 100%;
    border-bottom: 1px solid rgba(242,238,227,.16);
    padding: 30px 22px;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .stat .n {
    font-size: clamp(52px, 20vw, 84px);
  }

  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .logo {
    font-size: 16px;
    max-width: 41vw;
  }

  .nav-cta {
    gap: 8px;
    max-width: 55vw;
  }

  .lang-btn {
    min-width: 29px;
    height: 28px;
    padding: 0 6px;
    font-size: 11px;
  }

  .hero-card,
  .about,
  .projects-band,
  .quality-card,
  .training-preview,
  .vac-band-body,
  .contact-card,
  .form-card,
  .service,
  .vacancy,
  .page-header,
  .train-hero,
  .train-main,
  .train-side {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-card h1,
  .h-display {
    font-size: clamp(32px, 9.7vw, 39px) !important;
  }

  .sec-head h2,
  .about h2,
  .projects-head h2,
  .page-header h1,
  .quality-card h3,
  .training-preview h2,
  .vac-band-body h2,
  .train-hero h1,
  .train-main h2 {
    font-size: clamp(30px, 8.8vw, 37px) !important;
  }
}
