/* Gemmia Logistics — global stylesheet
   Modern minimal, neutral-warm whites, deep navy primary, cobalt accent.
   Bold geometric sans for display; mono for tags/eyebrows. */

:root {
  /* Palette tokens — overridden inline by tweaks */
  --ink: #0f1a3d;          /* deep navy from logo */
  --ink-soft: #2a3a6b;
  --accent: #1f5fe0;       /* cobalt from logo */
  --accent-deep: #1742b8;
  --bg: #f6f4ef;           /* warm off-white */
  --bg-card: #fbfaf6;
  --bg-dark: #0b1430;      /* near-black navy for industries */
  --line: rgba(15, 26, 61, 0.10);
  --line-strong: rgba(15, 26, 61, 0.20);
  --muted: rgba(15, 26, 61, 0.62);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; overflow-x: hidden; }

body {
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img { content-visibility: auto; }

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding .3s ease, background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.menu-open {
  padding: 10px 0;
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
.hdr-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.hdr-logo {
  display: flex;
  align-items: center;
  height: 44px;
  flex: 0 0 auto;
  transition: height .3s ease;
}
.site-header.is-scrolled .hdr-logo { height: 36px; }
.hdr-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity .3s ease;
}
.hdr-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.hdr-logo-color, .hdr-logo-white {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}
/* keep one image as a sizing placeholder so the anchor has width */
.hdr-logo .hdr-logo-color { position: relative; }
/* Default state (over hero): show white logo */
.hdr-logo .hdr-logo-color { opacity: 0; }
.hdr-logo .hdr-logo-white { opacity: 1; }
/* Scrolled state (white bg): show color logo */
.site-header.is-scrolled .hdr-logo .hdr-logo-color { opacity: 1; }
.site-header.is-scrolled .hdr-logo .hdr-logo-white { opacity: 0; }
.hdr-nav {
  display: flex;
  gap: 28px;
  margin-left: 24px;
  flex: 1;
}
.hdr-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
/* Over the hero, NAV links are white — scoped to .hdr-nav only, and only when menu is closed */
.site-header:not(.is-scrolled):not(.menu-open) .hdr-nav .hdr-link,
.site-header:not(.is-scrolled):not(.menu-open) .hdr-nav .hdr-link.is-active { color: #fff !important; }
.site-header:not(.is-scrolled):not(.menu-open) .hdr-nav .hdr-link:hover { color: #fff !important; }
.site-header:not(.is-scrolled):not(.menu-open) .hdr-nav .hdr-link::after { background: #fff; }

/* When menu is open over hero, make logo/toggle/CTA dark too */
.site-header.menu-open:not(.is-scrolled) .hdr-logo .hdr-logo-color { opacity: 1; }
.site-header.menu-open:not(.is-scrolled) .hdr-logo .hdr-logo-white { opacity: 0; }
.site-header.menu-open:not(.is-scrolled) .lang-btn { color: var(--muted); }
.site-header.menu-open:not(.is-scrolled) .lang-btn.is-active { color: var(--ink); }
.site-header.menu-open:not(.is-scrolled) .lang-sep { color: var(--muted); }
.site-header.menu-open:not(.is-scrolled) .hdr-cta { background: var(--ink); color: var(--bg); }
.site-header.menu-open:not(.is-scrolled) .hdr-burger span { background: var(--ink); }
.hdr-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .25s ease;
}
.hdr-link:hover { color: var(--accent); }
.hdr-link.is-active::after { width: 100%; }
.hdr-link.is-active { color: var(--accent); }

.hdr-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
}
.lang-btn {
  background: none;
  border: none;
  padding: 4px;
  color: var(--muted);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0.05em;
  transition: color .2s;
}
.lang-btn.is-active { color: var(--ink); }
.lang-btn:hover { color: var(--accent); }
.lang-sep { color: var(--muted); }

/* Over the hero: language toggle in white */
.site-header:not(.is-scrolled) .lang-btn { color: rgba(255,255,255,0.6); }
.site-header:not(.is-scrolled) .lang-btn.is-active { color: #fff; }
.site-header:not(.is-scrolled) .lang-btn:hover { color: #fff; }
.site-header:not(.is-scrolled) .lang-sep { color: rgba(255,255,255,0.4); }

.hdr-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
}
.hdr-cta:hover { background: var(--accent); }

/* Over the hero: CTA inverts to white pill */
.site-header:not(.is-scrolled) .hdr-cta {
  background: #fff;
  color: var(--ink);
}
.site-header:not(.is-scrolled) .hdr-cta:hover {
  background: var(--accent);
  color: #fff;
}

/* Over the hero: burger lines are white */
.site-header:not(.is-scrolled) .hdr-burger span { background: #fff; }

.hdr-burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.hdr-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
}
.hdr-mobile { display: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
}
.btn-block { width: 100%; justify-content: center; padding: 18px 26px; }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(15,26,61,0.04); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img,
.hero-bg-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-bg-slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide { transition: none; }
}
.hero-bg-dots {
  position: absolute;
  bottom: 28px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-bg-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.hero-bg-dot.is-active {
  background: #ffffff;
  width: 44px;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,20,48,0.45) 0%, rgba(11,20,48,0.55) 50%, rgba(11,20,48,0.85) 100%),
    linear-gradient(90deg, rgba(11,20,48,0.55) 0%, rgba(11,20,48,0.10) 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px 60px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  max-width: 100%;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.18);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,0.04); }
}

.hero-headline {
  margin: 0 0 32px;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
  font-family: 'Inter Tight', system-ui, sans-serif;
  text-wrap: balance;
}
.hero-line {
  display: block;
}
.hero-line:nth-child(2) {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 560px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  margin: 0 0 40px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.hero-actions .btn-primary {
  background: #fff;
  color: var(--ink);
}
.hero-actions .btn-primary:hover { background: var(--accent); color: #fff; }
.hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.hero-actions .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 720px;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}
.hero-meta-item .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-meta-divider {
  width: 1px; height: 24px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hero-scroll .line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ============ SECTION HEAD ============ */
.section-head {
  max-width: 880px;
  margin: 0 0 64px;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  max-width: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow-light {
  color: rgba(255,255,255,0.85);
}
.eyebrow-light::before { background: var(--accent); }

.section-title {
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 24px;
  text-wrap: balance;
}
.section-title span { display: block; }
.section-title-light { color: #fff; }

.section-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* ============ SERVICES ============ */
.services {
  padding: 140px 0;
  background: var(--bg);
}
.svc-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.svc-feature-img {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--ink);
}
.svc-feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: fadeImg .5s ease;
}
@keyframes fadeImg {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
.svc-feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,20,48,0) 50%, rgba(11,20,48,0.55) 100%);
}
.svc-feature-tag {
  position: absolute;
  left: 24px; bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: #fff;
}
.svc-feature-tag .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  opacity: 0.7;
}
.svc-feature-tag .name {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.svc-feature-body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.svc-feature-short {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.svc-feature-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}
.svc-feature-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.svc-feature-progress {
  display: flex;
  gap: 6px;
}
.svc-feature-dot {
  width: 28px;
  height: 3px;
  background: var(--line-strong);
  border: none;
  padding: 0;
  border-radius: 2px;
  transition: background .25s, width .25s;
  cursor: pointer;
}
.svc-feature-dot.is-active { background: var(--accent); width: 56px; }
.svc-feature-arrows {
  display: flex;
  gap: 8px;
}
.svc-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.svc-arrow:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.svc-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 28px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s;
  flex-wrap: wrap;
}
.svc-cta-band:hover { background: var(--accent-deep); }
.svc-cta-band-lead {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
}
.svc-cta-band-link {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.svc-card {
  background: var(--bg-card);
  border: none;
  text-align: left;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  transition: background .2s, color .2s;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}
.svc-card:hover { background: #fff; }
.svc-card.is-active {
  background: var(--ink);
  color: #fff;
}
.svc-card.is-active .svc-card-num,
.svc-card.is-active .svc-card-short { color: rgba(255,255,255,0.65); }
.svc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.svc-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.svc-card-arrow {
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all .2s;
}
.svc-card:hover .svc-card-arrow,
.svc-card.is-active .svc-card-arrow {
  opacity: 1;
  transform: none;
}
.svc-card-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin-top: auto;
}
.svc-card-short {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}
.svc-card-cta {
  background: var(--accent);
  color: #fff;
  justify-content: space-between;
}
.svc-card-cta:hover { background: var(--accent-deep); }
.svc-card-cta .svc-card-cta-lead {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.01em;
}
.svc-card-cta .svc-card-cta-link {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

/* ============ INDUSTRIES ============ */
.industries {
  padding: 140px 0;
  background: var(--bg-dark);
  color: #fff;
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.12);
}
.ind-cell {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 180px;
  position: relative;
  transition: background .25s;
}
.ind-cell:hover { background: rgba(255,255,255,0.04); }
.ind-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: rgba(122, 178, 255, 0.9);
  transition: color .25s, transform .25s;
}
.ind-icon svg, .ind-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ind-icon img.ind-icon-scale-up { transform: scale(1.4); }
.ind-icon img.ind-icon-scale-tall { transform: scale(1.55); }
.ind-cell:hover .ind-icon { color: #fff; transform: translateY(-2px); }
.ind-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-top: auto;
  text-wrap: balance;
}

/* ============ PROCESS ============ */
.process {
  padding: 140px 0;
  background: var(--bg);
}
.process-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-step {
  display: grid;
  grid-template-columns: 100px 1fr 120px;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  position: relative;
  transition: background .25s;
}
.process-step:hover { background: rgba(15,26,61,0.02); }
.process-step-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: sticky;
  top: 100px;
}
.process-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.process-step-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin-top: 12px;
}
.process-step-body {
  max-width: 720px;
}
.process-step-name {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}
.process-step-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  text-wrap: pretty;
}
.process-step-icon {
  width: 80px;
  height: 80px;
  color: var(--ink);
  opacity: 0.3;
  justify-self: end;
  transition: opacity .2s, color .2s;
}
.process-step:hover .process-step-icon {
  opacity: 1;
  color: var(--accent);
}

/* ============ ABOUT ============ */
.about {
  padding: 140px 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: start;
}
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-image-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,20,48,0.7) 100%);
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}
.about-body { padding-top: 0; }
.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0 0;
}
.about-paragraphs p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about-stat-num {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.about-stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ OFFICES ============ */
.offices {
  padding: 140px 0;
  background: var(--bg-card);
}
.off-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}
.off-map {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.off-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.off-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 28px;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.off-card:hover { border-color: var(--line-strong); }
.off-card.is-active {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 1px 0 var(--accent), 4px 4px 0 -1px rgba(31,95,224,0.08);
}
.off-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.off-card-num { color: var(--muted); }
.off-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.off-card-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.off-card-status.on { color: var(--accent); }
.off-card-status.on .off-card-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,95,224,0.18);
}
.off-card-city {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.off-card-country {
  font-size: 13px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.off-card-addr {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============ CONTACT ============ */
.contact {
  padding: 140px 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-intro { padding-top: 8px; }
.contact-info {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-info-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: center;
}
.contact-info-row .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact-info-row .val { color: var(--ink); font-weight: 500; }
.contact-info-row a.val:hover { color: var(--accent); }

.contact-cities {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  font-family: 'JetBrains Mono', monospace;
}
.contact-cities > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-width: 80px;
}
.contact-cities span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.contact-cities em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.field.full { grid-column: 1 / -1; }
.field-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0 10px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.field-input:focus { border-bottom-color: var(--accent); }
.field-textarea {
  resize: vertical;
  min-height: 100px;
  border: 1px solid var(--line-strong);
  padding: 12px 14px;
  border-radius: 4px;
}
.field-textarea:focus { border-color: var(--accent); }
.field.has-err .field-input { border-color: #c0392b; }
.field-hint {
  font-size: 12px;
  color: rgba(15, 26, 61, 0.55);
  margin-top: 6px;
  line-height: 1.45;
}
.field-err {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #c0392b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: absolute;
  right: 0; top: 0;
}
.mode-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.mode-pill {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mode-pill-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: all .2s;
  color: transparent;
}
.mode-pill:hover { border-color: var(--ink); }
.mode-pill.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.mode-pill.is-active .mode-pill-check {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.field-hint {
  text-transform: none;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 400;
}

.contact-success {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.contact-success-mark {
  width: 80px; height: 80px;
  color: var(--accent);
}
.contact-success h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
  max-width: 360px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-logo {
  width: 140px;
  height: auto;
  /* using white SVG — no filter needed */
}
.footer-tag {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 280px;
  line-height: 1.5;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .svc-feature { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .off-grid { grid-template-columns: 1fr; }
  .off-map { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 760px) {
  .container, .hdr-inner, .hero-inner { padding-left: 20px; padding-right: 20px; }

  /* Header: prevent overflow, keep burger on screen */
  .site-header { overflow: visible; }
  .hdr-inner { min-width: 0; }
  .hdr-logo { flex-shrink: 0; }
  .hdr-logo img { max-height: 36px; }
  .hdr-cta { padding: 8px 14px; font-size: 12px; }
  .hdr-right { gap: 10px; }
  .lang-toggle { font-size: 11px; gap: 4px; }

  /* Desktop nav hidden, burger shown */
  .hdr-nav { display: none; }
  .hdr-burger { display: flex; }

  /* Mobile menu: solid bg, dark text ALWAYS, full-width dropdown */
  .hdr-mobile:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .hdr-mobile .hdr-link {
    padding: 14px 20px;
    font-size: 16px;
    color: var(--ink) !important;
    border-bottom: 1px solid var(--line);
  }
  .hdr-mobile .hdr-link:last-child { border-bottom: none; }
  .hdr-mobile .hdr-link.is-active { color: var(--accent) !important; }
  .hdr-mobile .hdr-link::after { display: none; }

  /* Hero */
  .hero { padding: 100px 0 60px; }
  .hero-eyebrow { font-size: 10px; }
  .hero-headline { font-size: clamp(36px, 10vw, 52px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-lg { padding: 12px 20px; font-size: 14px; }
  .hero-meta { flex-wrap: wrap; gap: 16px 24px; }
  .hero-meta-divider { display: none; }
  .hero-meta-item .num { font-size: 18px; }
  .hero-meta-item .lbl { font-size: 10px; }
  .hero-scroll { display: none; }

  /* Sections */
  .services, .industries, .process, .about, .offices, .contact { padding: 80px 0; }
  .section-title { font-size: clamp(28px, 8vw, 40px); }
  .svc-feature { grid-template-columns: 1fr; }
  .svc-feature-body { padding: 28px 20px; }
  .svc-feature-short { font-size: 18px; }
  .svc-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 60px 1fr; gap: 16px; }
  .process-step-icon { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .about-stat-num { font-size: 32px; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

/* ============ WhatsApp FAB ============ */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.18);
  z-index: 90;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-fab:hover {
  background: #20bb5a;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.22);
}
.wa-fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.wa-fab svg { display: block; }
.wa-fab-tip {
  position: absolute;
  right: 72px;
  background: var(--ink, #0f1a3d);
  color: #fff;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.wa-fab-tip::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--ink, #0f1a3d);
}
.wa-fab:hover .wa-fab-tip,
.wa-fab:focus-visible .wa-fab-tip {
  opacity: 1;
  transform: translateX(0);
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 760px) {
  .wa-fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-fab-tip { display: none; }
  .hero-bg-dots { right: 24px; bottom: 20px; }
}
