/*
Theme Name: MK Consulting Baltic Expansion
Theme URI: https://mkconsulting.ee/
Author: MK Consulting
Author URI: https://mkconsulting.ee/
Description: A modern trilingual one-page WordPress theme for MK Consulting's external legal team, Baltic market-entry services and client recommendations.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mk-consulting
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --bg: #03110e;
  --bg-deep: #020a08;
  --panel: #081a16;
  --panel-2: #0b211b;
  --panel-soft: rgba(14, 39, 32, 0.72);
  --line: rgba(218, 255, 229, 0.14);
  --line-strong: rgba(198, 255, 45, 0.45);
  --text: #f5f7f1;
  --muted: #a8bab2;
  --muted-2: #73867e;
  --accent: #c7ff2e;
  --accent-2: #94cf00;
  --ink: #06100d;
  --max: 1220px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body,
body.custom-background {
  margin: 0;
  background: var(--bg) !important;
  background-image: none !important;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}
.section { position: relative; padding: 112px 0; }
.section-tight { padding: 78px 0; }
.section-border { border-top: 1px solid var(--line); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 60px;
  align-items: end;
  margin-bottom: 52px;
}
.section-heading.center {
  display: block;
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; }
h1 { font-size: clamp(48px, 6vw, 82px); letter-spacing: -0.04em; }
h2 { margin-bottom: 16px; font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -0.035em; }
h3 { margin-bottom: 13px; font-size: 28px; letter-spacing: -0.025em; }
.lead { color: var(--muted); font-size: 18px; }
.muted { color: var(--muted); }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(2, 10, 8, 0.94), rgba(2, 10, 8, 0.72) 75%, transparent);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(3, 17, 14, 0.88);
  backdrop-filter: blur(18px);
}
body.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.08em;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.brand-copy small { margin-top: 5px; color: var(--muted-2); font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 31px; }
.desktop-nav a { color: #d7e2dc; font-size: 13px; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.lang-button { width: 34px; height: 30px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; }
.lang-button.is-active { background: #f2f5ed; color: var(--ink); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-accent { background: var(--accent); color: var(--ink); box-shadow: 0 12px 38px rgba(199,255,46,.16); }
.button-accent:hover { background: #d7ff66; box-shadow: 0 17px 46px rgba(199,255,46,.22); }
.button-outline { border-color: rgba(199,255,46,.55); background: rgba(199,255,46,.02); color: var(--text); }
.button-outline:hover { border-color: var(--accent); background: rgba(199,255,46,.07); }
.button-small { min-height: 42px; padding: 0 17px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; }
.menu-button span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--text); }
.mobile-panel { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 790px;
  padding: 165px 0 88px;
  background:
    radial-gradient(circle at 79% 42%, rgba(111, 174, 37, 0.10), transparent 34%),
    radial-gradient(circle at 13% 76%, rgba(0, 101, 76, 0.14), transparent 37%),
    linear-gradient(122deg, #020b08 0%, #03130f 49%, #020a08 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr); gap: 24px; align-items: center; }
.hero-copy { max-width: 650px; }
.hero h1 { margin-bottom: 24px; }
.hero-lead { max-width: 590px; margin-bottom: 34px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
}
.hero-proof > div { padding: 22px 22px 0 0; }
.hero-proof > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.hero-proof strong { display: block; margin-bottom: 4px; font-size: 14px; }
.hero-proof span { color: var(--muted-2); font-size: 12px; }

.map-stage {
  position: relative;
  min-height: 610px;
  margin-right: -56px;
}
.map-stage::before {
  content: '';
  position: absolute;
  inset: 4% -2% 0 6%;
  border-radius: 48%;
  background: radial-gradient(circle at 57% 52%, rgba(199,255,46,.115), transparent 48%);
  filter: blur(24px);
}
.map-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 12%, transparent 86%, rgba(2,10,8,.84) 100%);
}
.baltic-map {
  position: absolute;
  inset: -2% -1% 0 0;
  z-index: 1;
  width: 102%;
  height: 102%;
  overflow: visible;
  filter: drop-shadow(0 34px 74px rgba(0,0,0,.45));
}
.map-grid-lines path {
  fill: none;
  stroke: rgba(199,255,46,.032);
  stroke-width: 1;
}
.map-country {
  vector-effect: non-scaling-stroke;
  transition: fill .25s ease, stroke .25s ease, opacity .25s ease;
}
.map-country--neighbour {
  fill: url(#neighbourFill);
  stroke: rgba(188,222,202,.14);
  stroke-width: 1;
}
.map-country--baltic {
  fill: url(#balticFill);
  stroke: rgba(199,255,46,.64);
  stroke-width: 1.35;
}
.map-country--baltic:hover {
  fill: rgba(27,72,52,.98);
  stroke: var(--accent);
}
.map-country-label {
  font-family: var(--sans);
  dominant-baseline: middle;
  pointer-events: none;
}
.map-country-label--neighbour {
  fill: rgba(176,196,185,.38);
  font-size: 9px;
  text-anchor: middle;
  font-weight: 700;
  letter-spacing: .17em;
}
.map-country-label--baltic {
  fill: var(--accent);
  font-size: 11px;
  text-anchor: start;
  font-weight: 900;
  letter-spacing: .08em;
  paint-order: stroke;
  stroke: rgba(2,12,9,.86);
  stroke-width: 1.7px;
}
.map-location-glow {
  fill: rgba(199,255,46,.34);
  filter: url(#mapGlow);
}
.map-location-ring {
  fill: rgba(199,255,46,.08);
  stroke: rgba(199,255,46,.67);
  stroke-width: 1.4;
}
.map-location-node { fill: var(--accent); }
.map-location-line { stroke: var(--accent); stroke-width: 1.1; stroke-opacity: .82; }
.map-caption {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 4%;
  width: 238px;
  padding: 18px;
  border: 1px solid rgba(199,255,46,.23);
  border-radius: 14px;
  background: rgba(3, 17, 13, .86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.map-caption strong { display: block; margin-bottom: 5px; font-family: var(--serif); font-size: 19px; }
.map-caption span { color: var(--muted); font-size: 12px; }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { display: flex; align-items: center; gap: 14px; min-height: 82px; padding: 0 24px; color: #d8e1dc; font-size: 13px; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border: 1px solid rgba(199,255,46,.28); border-radius: 50%; color: var(--accent); }

.services { background: linear-gradient(180deg, #04130f, #061712); }
.service-core-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.core-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 500px;
  flex-direction: column;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(11,35,28,.92), rgba(5,19,15,.86));
  box-shadow: 0 20px 70px rgba(0,0,0,.18);
}
.core-card::after { content: ''; position: absolute; right: -120px; bottom: -140px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(199,255,46,.08), transparent 67%); }
.core-icon { display: grid; width: 58px; height: 58px; margin-bottom: 44px; place-items: center; border: 1px solid rgba(199,255,46,.35); border-radius: 14px; color: var(--accent); }
.core-card p { max-width: 570px; color: var(--muted); }
.core-card .check-list { margin-bottom: 34px; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 26px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: #e4ebe6; font-size: 14px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.card-link { position: static; z-index: 2; display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: auto; color: var(--accent); font-size: 13px; font-weight: 800; line-height: 1.25; transition: gap .2s ease, color .2s ease; }
.card-link:hover { gap: 12px; color: #dcff78; }

.expansion {
  overflow: hidden;
  background: #04130f;
}
.expansion::before { display: none; }
.expansion-intro { position: relative; z-index: 3; max-width: 850px; margin-bottom: 52px; }
.expansion-intro .lead { max-width: 760px; }
.expansion-grid-wrap { position: relative; z-index: 2; }
.process-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.process-card {
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(10,36,28,.82), rgba(5,18,14,.78));
  backdrop-filter: blur(7px);
}
.process-number { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; color: var(--accent); }
.process-number span:last-child { color: #e8eee9; font-size: 12px; }
.process-card h3 { font-size: 21px; }
.process-card .sub { margin-bottom: 17px; color: var(--muted); font-size: 12px; }
.process-card .check-list { gap: 9px; margin-top: 0; }
.process-card .check-list li { color: #cdd8d1; font-size: 12px; }
.process-line {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 42px;
}
.process-line::before, .process-line::after { content: ''; height: 1px; background: var(--line); }
.process-line strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.process-steps { position: relative; z-index: 3; display: flex; justify-content: center; flex-wrap: wrap; gap: 34px; margin-top: 24px; }
.process-step { display: inline-flex; align-items: center; gap: 11px; color: #dce5df; font-size: 13px; }
.process-step b { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(199,255,46,.46); border-radius: 50%; color: var(--accent); font-size: 12px; }
.process-step:not(:last-child)::after { content: '→'; margin-left: 23px; color: var(--accent); }

.engagements { background: linear-gradient(180deg, #04130f, #020d0a); }
.engagement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.engagement-card {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8,29,23,.72);
}
.engagement-card.featured { border-color: rgba(199,255,46,.72); background: linear-gradient(145deg, rgba(16,49,37,.94), rgba(5,23,17,.92)); }
.popular { position: absolute; top: -12px; right: 18px; padding: 6px 11px; border-radius: 5px; background: var(--accent); color: var(--ink); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.engagement-card .core-icon { width: 45px; height: 45px; margin-bottom: 30px; border-radius: 10px; }
.engagement-card h3 { font-size: 24px; }
.engagement-card p { color: var(--muted); font-size: 14px; }
.engagement-card .check-list { margin-bottom: 30px; }
.engagement-card .check-list li { color: #d6dfda; font-size: 13px; }
.engagement-card .card-link { margin-top: auto; }

.legal-support { background: #03110e; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.capability-card { padding: 26px; border-top: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(13,37,30,.55), rgba(5,18,14,.2)); }
.capability-card span { display: inline-flex; margin-bottom: 22px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.capability-card h3 { font-size: 21px; }
.capability-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.how { background: linear-gradient(180deg, #061913, #04110e); }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.how-card { position: relative; min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,20,15,.68); }
.how-card .num { display: block; margin-bottom: 60px; color: var(--accent); font-size: 12px; font-weight: 900; }
.how-card h3 { font-size: 22px; }
.how-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.team { background: #03100d; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,28,22,.7); }
.team-image { position: relative; overflow: hidden; aspect-ratio: 4 / 4.4; background: #0b211b; }
.team-image::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(2,13,10,.85)); }
.team-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team-card:hover .team-image img { transform: scale(1.025); }
.team-card.raymo .team-image img { object-position: 50% 24%; }
.team-card.mihkel .team-image img { object-position: 50% 50%; }
.team-card.roman .team-image img { object-position: 50% 25%; }
.team-content { padding: 27px; }
.team-content h3 { margin-bottom: 4px; font-size: 26px; }
.team-role { display: block; margin-bottom: 18px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.team-content p { color: var(--muted); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tags span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #cbd7d0; font-size: 10px; }


.recommendations {
  background:
    radial-gradient(circle at 88% 16%, rgba(199,255,46,.05), transparent 27%),
    linear-gradient(180deg, #04130f 0%, #020d0a 100%);
}
.recommendations-layout {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 2.28fr);
  gap: 54px;
  align-items: start;
}
.recommendations-copy h2 { max-width: 430px; }
.recommendations-copy .lead { max-width: 360px; }
.recommendations-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.linkedin-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(199,255,46,.45);
  border-radius: 5px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.recommendation-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(11,36,28,.82), rgba(4,18,14,.72));
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.recommendation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199,255,46,.30);
  background: linear-gradient(145deg, rgba(13,43,33,.88), rgba(4,18,14,.76));
}
.recommendation-quote {
  margin-bottom: 30px;
  color: #e7eee9;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.43;
}
.recommendation-quote::before {
  content: '“';
  display: block;
  height: 35px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 58px;
  line-height: .8;
}
.recommendation-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.recommendation-initials {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(199,255,46,.24);
  border-radius: 50%;
  background: rgba(199,255,46,.07);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}
.recommendation-person strong { display: block; font-size: 13px; }
.recommendation-person span { display: block; margin-top: 3px; color: var(--muted-2); font-size: 10px; line-height: 1.45; }
.recommendations-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 19px 2px 0;
  color: var(--muted-2);
  font-size: 10px;
}
.recommendations-note b { color: var(--accent); font-size: 12px; }

.contact {
  background:
    radial-gradient(circle at 13% 44%, rgba(199,255,46,.08), transparent 30%),
    linear-gradient(145deg, #061913, #020b08);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr); gap: 76px; align-items: start; }
.contact-copy h2 { font-size: clamp(42px, 4.6vw, 64px); }
.contact-copy .lead { max-width: 500px; }
.contact-points { display: grid; gap: 12px; margin-top: 36px; }
.contact-point { display: flex; align-items: center; gap: 12px; color: #d7e2dc; font-size: 13px; }
.contact-point b { color: var(--accent); }
.contact-form { padding: 30px; border: 1px solid var(--line); border-radius: 17px; background: rgba(8,28,22,.76); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #e4ece7; font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: rgba(2,14,10,.65);
  color: var(--text);
}
.field input, .field select { height: 50px; padding: 0 14px; }
.field textarea { min-height: 124px; padding: 13px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(199,255,46,.72); box-shadow: 0 0 0 3px rgba(199,255,46,.07); }
.field select { color-scheme: dark; }
.field select option { background: #082019; }
.expansion-fields { display: contents; }
.expansion-fields[hidden] { display: none; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.form-note { max-width: 410px; margin: 0; color: var(--muted-2); font-size: 10px; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; }
.footer-brand p { margin: 7px 0 0; color: var(--muted-2); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 12px; }
.footer-meta { color: var(--muted-2); font-size: 10px; text-align: right; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1120px) {
  .desktop-nav { gap: 19px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(450px, .96fr); }
  .map-stage { margin-right: -24px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  body.admin-bar .site-header { top: 46px; }
  .desktop-nav, .desktop-cta { display: none; }
  .menu-button { display: block; }
  .mobile-panel {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    gap: 34px;
    padding: 42px 24px;
    background: rgba(2, 12, 9, .98);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  body.admin-bar .mobile-panel { top: 128px; }
  .mobile-panel.is-open { visibility: visible; opacity: 1; transform: none; }
  .mobile-panel nav { display: grid; gap: 22px; }
  .mobile-panel nav a { font-family: var(--serif); font-size: 34px; }
  .hero { min-height: auto; padding-top: 142px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .map-stage { min-height: 540px; margin-right: 0; }
  .section-heading, .contact-grid, .recommendations-layout { grid-template-columns: 1fr; gap: 30px; }
  .engagement-grid, .team-grid { grid-template-columns: 1fr; }
  .recommendations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { display: grid; grid-template-columns: 290px 1fr; }
  .team-image { aspect-ratio: auto; min-height: 390px; }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .section { padding: 82px 0; }
  .brand-copy { display: none; }
  .language-switcher { margin-left: auto; }
  .hero { padding-top: 126px; }
  .hero h1 { font-size: clamp(45px, 14vw, 66px); }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof > div { padding: 16px 0; }
  .hero-proof > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .map-stage { min-height: 430px; }
  .baltic-map { inset: 0 -8% 0 -8%; width: 116%; height: 100%; }
  .map-country-label--neighbour { font-size: 8px; opacity: .7; }
  .map-country-label--baltic { font-size: 10px; }
  .map-caption { right: 0; bottom: -4px; width: 205px; }
  .proof-row { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .proof-item:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { margin-bottom: 38px; }
  .service-core-grid, .process-grid, .capability-grid, .how-grid { grid-template-columns: 1fr; }
  .core-card { min-height: 520px; padding: 30px; }
  .process-card { min-height: auto; }
  .process-line { grid-template-columns: 1fr; text-align: center; }
  .process-line::before, .process-line::after { display: none; }
  .process-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .process-step:not(:last-child)::after { display: none; }
  .team-card { display: block; }
  .recommendations-grid { grid-template-columns: 1fr; }
  .recommendation-card { min-height: auto; }
  .recommendations-note { justify-content: flex-start; }
  .team-image { min-height: 0; aspect-ratio: 4 / 4.3; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
