/*
Theme Name: ELVN Group
Theme URI: https://elvn-group.com
Author: ELVN Group
Author URI: https://elvn-group.com
Description: Premium consulting theme for ELVN Group — German precision, Serbian execution. Trilingual (DE / EN / SR), three hero layouts, customizable palette via the Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elvn
Tags: business, consulting, one-column, full-width-template, custom-colors, custom-menu, custom-logo, translation-ready
*/

/* ELVN Group — Design tokens + layout
   ---------------------------------------------------------------- */

:root {
  --navy-900: #0b1d2a;
  --navy-800: #0d2332;
  --navy-700: #112a3c;
  --navy-600: #15334a;
  --navy-500: #1b3f5c;
  --ink: #0b1d2a;
  --paper: #faf8f4;
  --paper-2: #f3efe7;
  --line: rgba(11, 29, 42, 0.12);
  --line-d: rgba(255, 255, 255, 0.1);
  --muted: rgba(11, 29, 42, 0.6);
  --muted-d: rgba(255, 255, 255, 0.58);
  --gold: #c8a96a;
  --gold-2: #b59253;

  --font-serif: "Cormorant Garamond", "Apple Garamond", "EB Garamond", Georgia, serif;
  --font-sans: "Inter Tight", "Söhne", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --max: 1320px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* ---------- Dark / light shells ---------- */
.app {
  min-height: 100vh;
  background: var(--navy-900);
  color: #f4eeda;
  overflow: hidden;
}
.app__dark {
  background:
    radial-gradient(1200px 600px at 80% -10%, color-mix(in oklab, var(--navy-500) 40%, transparent), transparent 60%),
    radial-gradient(900px 500px at -5% 30%, color-mix(in oklab, var(--gold) 8%, transparent), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #efe7d3;
  position: relative;
}
.app__dark::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, black, transparent 80%);
  opacity: .5;
}
.app__light { background: var(--paper); color: var(--ink); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 18px var(--pad-x);
  color: #efe7d3;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(11, 29, 42, 0.72);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom-color: var(--line-d);
}
.nav__brand { display: flex; }
.nav__links { display: flex; gap: 36px; justify-content: center; font-size: 13px; letter-spacing: 0.02em; }
.nav__links a { color: rgba(239, 231, 211, 0.78); transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__right { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.12em; }
.lang button {
  background: none; border: 0; color: rgba(239,231,211, .5);
  padding: 2px 0; cursor: pointer; font-variant-numeric: tabular-nums;
  transition: color .2s;
}
.lang button.is-on { color: var(--gold); }
.lang button:hover { color: #fff; }
.lang__sep { color: rgba(239,231,211, .3); }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; color: currentColor; }
.logo__mark { width: 28px; height: 28px; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-serif); font-size: 20px; letter-spacing: 0.18em; font-weight: 500; }
.logo__sub { font-size: 9px; letter-spacing: 0.38em; margin-top: 4px; color: rgba(239,231,211,.55); }
.app__light .logo__sub { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer; background: none;
  transition: transform .15s, background .2s, border-color .2s, color .2s;
  border-radius: 2px;
}
.btn--sm { padding: 9px 16px; font-size: 12px; }
.btn--lg { padding: 18px 28px; font-size: 13px; }
.btn--full { width: 100%; justify-content: center; }
.btn--gold { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--ghost { border-color: rgba(239,231,211,.28); color: #efe7d3; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.app__light .btn--ghost { border-color: var(--line); color: var(--ink); }
.app__light .btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(239,231,211, 0.72);
}
.app__light .eyebrow { color: var(--muted); }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--gold) 20%, transparent);
}
.eyebrow__rule { width: 36px; height: 1px; background: currentColor; opacity: .35; }
.eyebrow--center { justify-content: center; }

/* ---------- Hero A ---------- */
.hero { position: relative; padding: 40px var(--pad-x) 80px; max-width: var(--max); margin: 0 auto; }
.hero-a__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
  padding-top: 40px;
}
.display {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8.2vw, 128px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 22px 0 28px;
  color: #f7efd9;
}
.display__line { display: block; }
.display__line--accent { font-style: italic; color: var(--gold); }
.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  max-width: 46ch;
  color: rgba(239,231,211, 0.82);
  margin: 0 0 36px;
}
.lede--center { margin-left: auto; margin-right: auto; text-align: center; }
.hero-a__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-a__map { color: #efe7d3; aspect-ratio: 5/3; position: relative; width: 100%; }
.map-svg { width: 100%; height: 100%; color: inherit; }
.hero-a__meta {
  display: flex; align-items: center; gap: 18px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(239,231,211, 0.5);
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line-d);
}
.hero-a__rule { flex: 1; height: 1px; background: var(--line-d); }

/* ---------- Hero B ---------- */
.hero-b { text-align: center; padding: 60px var(--pad-x) 100px; }
.hero-b__bg {
  position: absolute; inset: 0;
  color: #efe7d3;
  opacity: 0.18;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.hero-b__bg .map-svg { width: 100%; height: 100%; }
.hero-b__inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding-top: 40px; }
.mega {
  font-family: var(--font-serif);
  font-size: clamp(60px, 10vw, 160px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 26px 0 32px;
  color: #f7efd9;
}
.mega span { display: block; }
.mega em { display: block; font-style: italic; color: var(--gold); }
.mega__dot { display: inline !important; color: var(--gold); }
.hero-b__ctas { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-b__corners {
  position: absolute; right: var(--pad-x); top: 28px;
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: 0.28em; color: rgba(239,231,211,.45);
  font-family: var(--font-mono);
}

/* ---------- Hero C ---------- */
.hero-c { padding: 40px var(--pad-x) 80px; }
.hero-c__rule { height: 1px; background: var(--line-d); width: 100%; }
.hero-c__grid { display: grid; grid-template-columns: 120px 1.4fr 1fr; gap: 40px; padding: 48px 0; }
.hero-c__col { display: flex; flex-direction: column; }
.hero-c__col--index { justify-content: flex-start; gap: 6px; }
.idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.idx-lbl { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(239,231,211,.45); }
.ordered {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.8vw, 104px);
  line-height: 0.95; font-weight: 400; letter-spacing: -0.02em;
  margin: 20px 0 0; color: #f7efd9;
}
.ordered span { display: block; }
.ordered__accent { font-style: italic; color: var(--gold); }
.hero-c__map { aspect-ratio: 4/3; color: #efe7d3; }
.hero-c__foot { display: grid; grid-template-columns: 120px 1.4fr 1fr; gap: 40px; padding: 36px 0 12px; align-items: end; }
.hero-c__foot .lede { grid-column: 2; margin: 0; }
.hero-c__ctas { grid-column: 3; display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; background: rgba(0,0,0,.1); }
.marquee__track {
  display: flex; gap: 48px; align-items: center;
  padding: 18px 0;
  font-size: 11px; letter-spacing: 0.32em;
  color: rgba(239,231,211, 0.55);
  animation: marq 55s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee__item { display: inline-flex; align-items: center; gap: 48px; }
.marquee__sep { color: var(--gold); font-size: 10px; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ---------- Section head ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--pad-x); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 980px; margin: 0 0 72px; }
.sec-head__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.app__dark .sec-head__kicker { color: rgba(239,231,211, 0.58); }
.sec-head__rule { width: 40px; height: 1px; background: var(--gold); }
.sec-head__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.08; font-weight: 400; letter-spacing: -0.015em;
  margin: 0; text-wrap: pretty;
}
.sec-head__sub { font-size: clamp(16px, 1.2vw, 18px); color: var(--muted); max-width: 62ch; margin: 24px 0 0; line-height: 1.55; }
.app__dark .sec-head__sub { color: rgba(239,231,211, 0.74); }

/* ---------- Problem ---------- */
.sec--problem { border-top: 1px solid var(--line-d); }
.problem__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.problem__cell { padding: 40px 32px 40px 0; border-right: 1px solid var(--line-d); }
.problem__cell:last-child { border-right: 0; padding-right: 0; }
.problem__cell:nth-child(1) { padding-left: 0; }
.problem__cell:not(:nth-child(1)) { padding-left: 32px; }
.problem__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 28px; }
.problem__k { font-family: var(--font-serif); font-size: 24px; font-weight: 500; line-height: 1.2; margin: 0 0 12px; color: #f7efd9; }
.problem__v { font-size: 14px; color: rgba(239,231,211, 0.7); margin: 0; line-height: 1.6; }

/* ---------- Services ---------- */
.services__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-d); }
.services__row {
  display: grid;
  grid-template-columns: 80px 48px 1fr 2fr 40px;
  align-items: center;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-d);
  transition: padding .25s, color .25s;
  cursor: pointer;
  position: relative;
}
.services__row::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in oklab, var(--gold) 8%, transparent), transparent 40%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.services__row.is-active::before { opacity: 1; }
.services__row.is-active { padding-left: 16px; padding-right: 16px; }
.services__n { font-family: var(--font-mono); font-size: 12px; color: rgba(239,231,211,.5); letter-spacing: 0.1em; }
.services__icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.services__icon svg { width: 28px; height: 28px; }
.services__k {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500; line-height: 1.2;
  transition: color .2s;
  color: #f7efd9;
}
.services__row.is-active .services__k { color: var(--gold); }
.services__v { font-size: 14px; color: rgba(239,231,211,.7); line-height: 1.55; max-width: 62ch; }
.services__arrow { color: rgba(239,231,211,.5); transition: transform .25s, color .25s; }
.services__row.is-active .services__arrow { color: var(--gold); transform: translateX(6px); }

/* ---------- Approach ---------- */
.approach { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.approach__track { position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--line-d); }
.approach__step { padding: 0 24px 0 0; position: relative; }
.approach__step:not(:first-child) { padding-left: 24px; }
.approach__node {
  position: relative; z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid var(--line-d);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
}
.approach__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--gold) 18%, transparent);
}
.approach__meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; margin-bottom: 16px; }
.approach__n { color: var(--gold); }
.approach__week { color: rgba(239,231,211, 0.45); }
.approach__k { font-family: var(--font-serif); font-size: 24px; font-weight: 500; line-height: 1.2; margin: 0 0 12px; color: #f7efd9; }
.approach__v { font-size: 14px; color: rgba(239,231,211, 0.7); margin: 0; line-height: 1.6; }

/* ---------- Serbia (light) ---------- */
.sec--serbia { background: var(--paper); color: var(--ink); max-width: none; padding-left: 0; padding-right: 0; }
.serbia { --line-d: var(--line); }
.serbia > .sec-head,
.serbia .serbia__stats,
.serbia .serbia__pillars { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.serbia .sec-head__title { color: var(--ink); }
.serbia__stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 72px; }
.stat { padding: 40px 28px 40px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat:not(:first-child) { padding-left: 28px; }
.stat__v {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1; color: var(--ink); letter-spacing: -0.02em;
  margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.stat__k { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.serbia__pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 64px; }
.pillar { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.pillar__n { font-family: var(--font-mono); font-size: 12px; color: var(--gold-2); letter-spacing: 0.12em; padding-top: 6px; }
.pillar__k { font-family: var(--font-serif); font-size: 22px; font-weight: 500; line-height: 1.25; margin: 0 0 10px; }
.pillar__v { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Firm ---------- */
.sec--firm { border-top: 1px solid var(--line-d); }
.firm__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-d); }
.firm__cell { padding: 48px 40px 48px 0; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); position: relative; }
.firm__cell:nth-child(2n) { border-right: 0; padding-left: 40px; padding-right: 0; }
.firm__bar { width: 28px; height: 2px; background: var(--gold); margin-bottom: 28px; }
.firm__k { font-family: var(--font-serif); font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; line-height: 1.2; margin: 0 0 14px; color: #f7efd9; }
.firm__v { font-size: 15px; color: rgba(239,231,211, 0.74); margin: 0; line-height: 1.6; max-width: 52ch; }

/* ---------- CTA ---------- */
.sec--cta { padding-top: 120px; padding-bottom: 120px; }
.cta-block { border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line-d); padding: 80px 0 100px; text-align: center; position: relative; }
.cta-block__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-bottom: 32px; }
.cta-block__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1; font-weight: 400; letter-spacing: -0.02em;
  margin: 0 auto 24px; max-width: 14ch; color: #f7efd9;
}
.cta-block__sub { font-size: 16px; color: rgba(239,231,211, 0.72); max-width: 52ch; margin: 0 auto 44px; }
.cta-block__actions { display: inline-flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-d); padding: 72px var(--pad-x) 32px; max-width: var(--max); margin: 0 auto; color: rgba(239,231,211,.75); }
.footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; padding-bottom: 60px; border-bottom: 1px solid var(--line-d); }
.footer__tagline { font-family: var(--font-serif); font-size: 22px; font-style: italic; color: rgba(239,231,211,.85); margin: 24px 0 0; max-width: 24ch; line-height: 1.3; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer__col h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 1.9; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.14em; padding-top: 28px; color: rgba(239,231,211,.45); text-transform: uppercase; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(5, 15, 24, 0.7); backdrop-filter: blur(8px); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal__card {
  position: relative;
  width: min(560px, 100%);
  background: var(--paper); color: var(--ink);
  padding: 48px 48px 44px;
  animation: pop .3s cubic-bezier(.2,.7,.3,1);
  border: 1px solid var(--gold);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 16px; }
.modal__x:hover { color: var(--ink); }
.modal__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--gold-2); text-transform: uppercase; margin-bottom: 14px; }
.modal__title { font-family: var(--font-serif); font-size: 36px; font-weight: 500; margin: 0 0 8px; line-height: 1.1; }
.modal__sub { font-size: 14px; color: var(--muted); margin: 0 0 28px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  font: inherit; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0;
  letter-spacing: normal; text-transform: none;
  outline: none; transition: border-color .2s;
  font-size: 15px; resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.thanks { text-align: center; padding: 16px 0; }
.thanks__mark { width: 56px; height: 56px; margin: 0 auto 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { grid-template-columns: auto auto; gap: 20px; }
  .nav__links { display: none; }
  .hero-a__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-c__grid, .hero-c__foot { grid-template-columns: 1fr; }
  .hero-c__foot .lede, .hero-c__ctas { grid-column: auto; justify-content: flex-start; }
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .problem__cell:nth-child(2) { border-right: 0; padding-right: 0; }
  .problem__cell:nth-child(3) { padding-left: 0; border-right: 1px solid var(--line-d); padding-right: 32px; }
  .problem__cell:nth-child(3), .problem__cell:nth-child(4) { border-top: 1px solid var(--line-d); padding-top: 40px; }
  .approach { grid-template-columns: 1fr 1fr; }
  .approach__track { display: none; }
  .serbia__stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); padding-top: 40px; }
  .stat:nth-child(3) { padding-left: 0; border-right: 1px solid var(--line); }
  .serbia__pillars { grid-template-columns: 1fr; gap: 32px; }
  .firm__grid { grid-template-columns: 1fr; }
  .firm__cell { border-right: 0; padding-right: 0; }
  .firm__cell:nth-child(2n) { padding-left: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .problem__grid, .approach, .serbia__stats, .footer__cols { grid-template-columns: 1fr; }
  .problem__cell, .stat { border-right: 0 !important; border-bottom: 1px solid var(--line-d); padding: 32px 0 !important; }
  .serbia .stat { border-bottom-color: var(--line); }
  .services__row { grid-template-columns: 60px 1fr 32px; gap: 16px; }
  .services__icon, .services__v { display: none; }
  .modal__card { padding: 32px 24px; }
  .form__row { grid-template-columns: 1fr; }
}
