:root {
  --bg: #0b1318;
  --bg-2: #101c23;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.20);
  --text: #edf4f4;
  --muted: #aebdc4;
  --muted-2: #81949d;
  --navy: #1e465a;
  --navy-2: #14344a;
  --accent: #c6dc1a;
  --accent-2: #afc108;
  --orange: #f36b21;
  --orange-2: #ff8a3d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
  --header: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-width: 320px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% -8%, rgba(198, 220, 26, 0.12), transparent 34rem),
    radial-gradient(circle at 88% 6%, rgba(30, 70, 90, 0.64), transparent 32rem),
    linear-gradient(180deg, #0b1318 0%, #0f1a20 42%, #0b1318 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
  z-index: -1;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px) saturate(130%);
  background: rgba(8, 17, 22, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-solid {
  background: rgba(8, 17, 22, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.22);
}

.nav-shell {
  width: min(100% - 36px, var(--max));
  min-height: var(--header);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 62px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.35));
}

.brand-text {
  display: grid;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-primary {
  font-weight: 820;
  font-size: 1.03rem;
}

.brand-secondary {
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.nav-cta,
.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 14px;
  color: #dbe6e8;
  font-size: .93rem;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .075);
}

.nav-link.is-active {
  box-shadow: inset 0 0 0 1px rgba(198, 220, 26, .18);
}

.nav-cta {
  margin-left: 6px;
  color: #061015;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 36px rgba(198, 220, 26, 0.18);
}

.nav-cta:hover,
.button.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.language-switch {
  justify-self: end;
}

.lang-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  min-width: 46px;
  justify-content: center;
}

.lang-link:hover {
  border-color: rgba(198, 220, 26, .55);
}

.nav-toggle {
  display: none;
  justify-self: end;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 750;
}

.page-main {
  overflow: hidden;
}

.hero-section,
.page-hero,
.content-section,
.cta-section,
.metric-strip {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.hero-section {
  padding: clamp(60px, 8vw, 108px) 0 clamp(32px, 5vw, 70px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .82rem;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  color: #f7fbfb;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.05rem, 8.2vw, 6.85rem);
  line-height: .91;
  max-width: 10.5ch;
}

.page-hero h1 {
  max-width: 12.5ch;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: .98;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  max-width: 64ch;
}

.lead.wide {
  max-width: 72ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button.primary {
  color: #061015;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 46px rgba(198, 220, 26, .20);
}

.button.secondary {
  color: #e9f3f3;
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.14);
}

.button.secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(198,220,26,.42);
}

.button.light {
  color: #061015;
  background: rgba(255, 255, 255, .86);
}

.subtle-note {
  color: var(--muted-2);
  line-height: 1.6;
  max-width: 52ch;
}

.hero-visual {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 0 0;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, .11);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.025)),
    radial-gradient(circle at 50% 20%, rgba(198,220,26,.16), transparent 20rem);
  box-shadow: var(--shadow);
}

.hero-art {
  position: relative;
  z-index: 2;
  width: min(92%, 620px);
  opacity: .95;
  filter: drop-shadow(0 20px 55px rgba(0,0,0,.45));
}

.orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .86;
}

.orb.one {
  width: 180px;
  height: 180px;
  left: 0;
  top: 84px;
  background: radial-gradient(circle, rgba(198,220,26,.28), transparent 68%);
}

.orb.two {
  width: 230px;
  height: 230px;
  right: -24px;
  bottom: 46px;
  background: radial-gradient(circle, rgba(243,107,33,.20), transparent 70%);
}

.floating-card {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 4%;
  width: min(330px, 82%);
}

.system-card,
.info-panel,
.capability-card,
.process-card,
.contact-form-card,
.regional-panel,
.cta-card,
.note-panel,
.privacy-stack article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.system-card {
  padding: 18px;
  backdrop-filter: blur(14px);
}

.system-card strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.2;
}

.system-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.micro-index {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .08em;
}

.metric-strip {
  padding: 0 0 clamp(56px, 8vw, 96px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.045);
}

.metric-card strong {
  display: block;
  margin-bottom: 10px;
  color: #f8fbfb;
  font-size: 1rem;
}

.metric-card span {
  color: var(--muted);
  line-height: 1.45;
  font-size: .94rem;
}

.content-section {
  padding: clamp(58px, 8vw, 102px) 0;
}

.content-section.narrow {
  max-width: 880px;
}

.page-hero {
  padding: clamp(62px, 9vw, 116px) 0 clamp(36px, 6vw, 78px);
}

.page-hero-inner {
  max-width: 900px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-intro.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.capability-grid {
  display: grid;
  gap: 16px;
}

.capability-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  min-height: 360px;
}

.capability-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -92px;
  top: -94px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,220,26,.14), transparent 70%);
}

.card-topline {
  width: 42px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--orange));
}

.capability-card p {
  color: var(--muted);
  line-height: 1.62;
}

.capability-card ul,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.capability-card li,
.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 26px;
  color: #dce7e8;
  line-height: 1.45;
}

.capability-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(198,220,26,.09);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 850;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.split-section {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)),
    radial-gradient(circle at 20% 20%, rgba(30,70,90,.22), transparent 32rem);
  border-block: 1px solid rgba(255,255,255,.07);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(340px, 1.22fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.split-copy p:not(.kicker) {
  color: var(--muted);
  line-height: 1.66;
}


.system-flow-card,
.stack-visual-card,
.pipeline-visual-card,
.geo-visual-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 0%, rgba(198,220,26,.10), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,.072), rgba(255,255,255,.028));
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 30px);
}

.system-flow-card::before,
.stack-visual-card::before,
.pipeline-visual-card::before,
.geo-visual-card::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: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 88%);
}

.system-flow-head,
.stack-visual-head,
.pipeline-head,
.geo-visual-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.visual-label,
.visual-meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .72rem;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.visual-label {
  color: var(--accent);
  border: 1px solid rgba(198,220,26,.26);
  background: rgba(198,220,26,.07);
}

.visual-meta {
  color: #c8d8dd;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
}

.system-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.system-node {
  position: relative;
  min-height: 158px;
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(7,18,24,.62);
}

.system-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: #102029;
  border: 1px solid rgba(198,220,26,.24);
  font-size: .78rem;
}

.system-node > span,
.pipeline-step > span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .10em;
}

.system-node strong,
.pipeline-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.2;
}

.system-node p,
.pipeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.45;
}

.stack-layers {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.stack-layer {
  display: grid;
  grid-template-columns: minmax(130px, .68fr) minmax(0, 1.32fr);
  gap: 16px;
  align-items: center;
  padding: 15px 17px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(7,18,24,.60);
}

.stack-layer strong {
  color: #f4f8f8;
}

.stack-layer span {
  color: var(--muted);
  font-size: .88rem;
}

.stack-rail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.stack-rail span,
.geo-inputs span,
.geo-outputs span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: #d8e4e7;
  font-size: .76rem;
  font-weight: 720;
}

.pipeline-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.pipeline-step {
  position: relative;
  min-height: 150px;
  padding: 15px 13px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(7,18,24,.62);
}

.pipeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  right: -9px;
  width: 10px;
  height: 1px;
  background: rgba(198,220,26,.55);
}

.geo-inputs,
.geo-outputs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.geo-core {
  position: relative;
  z-index: 1;
  width: min(360px, 86%);
  min-height: 148px;
  margin: 24px auto;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border-radius: 50%;
  border: 1px solid rgba(198,220,26,.30);
  background:
    radial-gradient(circle, rgba(198,220,26,.13), transparent 65%),
    rgba(7,18,24,.70);
  box-shadow: inset 0 0 0 12px rgba(198,220,26,.025), 0 20px 50px rgba(0,0,0,.22);
}

.geo-core::before,
.geo-core::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 24px;
  background: linear-gradient(var(--accent), rgba(198,220,26,0));
}

.geo-core::before { top: -24px; }
.geo-core::after { bottom: -24px; transform: rotate(180deg); }

.geo-core span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.geo-core strong {
  margin-top: 6px;
  font-size: clamp(1.08rem, 2.3vw, 1.45rem);
}

#project-intake {
  scroll-margin-top: calc(var(--header) + 22px);
}


.two-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.two-panel-grid.single-panel {
  grid-template-columns: minmax(0, 1fr);
}

.two-panel-grid.single-panel .info-panel {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.info-panel {
  padding: clamp(24px, 4vw, 40px);
}

.info-panel p:not(.kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.accent-panel {
  background:
    linear-gradient(135deg, rgba(198,220,26,.24), rgba(30,70,90,.35)),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.steps-grid div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
}

.steps-grid span,
.process-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .06em;
}

.steps-grid strong {
  display: block;
  margin-bottom: 5px;
}

.steps-grid p {
  margin: 0;
  font-size: .88rem;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.muted-block {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  background: rgba(255,255,255,.028);
  border-block: 1px solid rgba(255,255,255,.07);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  padding: 24px;
  min-height: 260px;
}

.process-card p {
  color: var(--muted);
  line-height: 1.58;
}

.mini-card-stack {
  display: grid;
  gap: 12px;
}

.mini-card-stack article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.045);
}

.mini-card-stack h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.mini-card-stack p {
  margin: 0;
  font-size: .96rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tag-cloud span,
.panel-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #f5fafa;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 750;
}

.regional-panel {
  padding: clamp(26px, 4vw, 44px);
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 12%, rgba(198,220,26,.20), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.panel-logo {
  width: 86px;
  margin-bottom: 18px;
}

.regional-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.note-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
}

.note-panel .lead {
  margin-bottom: 0;
}

.cta-section {
  padding: clamp(54px, 8vw, 94px) 0 clamp(70px, 9vw, 120px);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 92% 0%, rgba(243,107,33,.25), transparent 20rem),
    radial-gradient(circle at 0% 100%, rgba(198,220,26,.20), transparent 20rem),
    linear-gradient(135deg, rgba(30,70,90,.46), rgba(255,255,255,.05));
}

.cta-card h2 {
  max-width: 760px;
}

.cta-card p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.08rem;
}

.contact-section {
  padding-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(340px, 1.16fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header) + 28px);
}

.contact-copy p:not(.kicker) {
  color: var(--muted);
  line-height: 1.66;
}

.contact-direct {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.045);
}

.contact-direct span {
  color: var(--muted-2);
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 850;
}

.contact-direct a {
  color: var(--accent);
  font-weight: 800;
}

.contact-form-card {
  padding: clamp(22px, 3.5vw, 34px);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label {
  color: #eef7f7;
  font-weight: 750;
}

.form-control,
.form-textarea,
.form-select .Select-control,
.form-select .Select-menu-outer,
.form-select .Select-placeholder,
.form-select .Select-value-label {
  font-family: inherit;
}

.form-control,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255,255,255,.06);
  padding: 14px 14px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-control:focus,
.form-textarea:focus {
  border-color: rgba(198,220,26,.65);
  background: rgba(255,255,255,.085);
}

.form-control::placeholder,
.form-textarea::placeholder {
  color: rgba(237,244,244,.46);
}

.form-select .Select-control {
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.form-select .Select-placeholder,
.form-select .Select-value-label {
  color: var(--text) !important;
  line-height: 48px;
}

.form-select .Select-arrow-zone,
.form-select .Select-clear-zone {
  color: var(--muted);
}

.form-select .Select-menu-outer {
  border: 1px solid rgba(255,255,255,.16);
  background: #10202a;
  color: var(--text);
  border-radius: 14px;
  margin-top: 6px;
  overflow: hidden;
}

.form-select .VirtualizedSelectOption {
  background: #10202a;
  color: var(--text);
}

.form-select .VirtualizedSelectFocusedOption {
  background: #1e465a;
}

.form-consent {
  margin: 4px 0 18px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.form-consent label,
.consent-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
  cursor: pointer;
}

.form-consent input,
.consent-input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.hp-row {
  display: none !important;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-result {
  min-height: 24px;
  margin-top: 14px;
  font-weight: 800;
}

.form-result.success {
  color: var(--accent);
}

.form-result.error {
  color: #ffad8b;
}

.form-privacy {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: .9rem;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--accent);
  font-weight: 750;
}

.form-privacy a:hover {
  text-decoration: underline;
}

.privacy-stack {
  display: grid;
  gap: 16px;
}

.privacy-stack article {
  padding: clamp(20px, 3vw, 30px);
}

.privacy-stack h2 {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
}

.privacy-stack p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(5, 11, 14, .72);
}

.footer-grid {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 54px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .55fr) minmax(210px, .55fr);
  gap: 28px;
}

.footer-logo {
  width: 58px;
  margin-bottom: 18px;
}

.footer-legal-name {
  margin: 0 0 9px;
  color: #f4f8f8;
  font-weight: 860;
  letter-spacing: .035em;
}

.footer-summary {
  color: var(--muted);
  line-height: 1.62;
  max-width: 620px;
}


.footer-heading {
  margin-bottom: 14px;
  color: #fff;
  font-size: .86rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-email {
  color: var(--muted);
  line-height: 1.4;
}

.footer-links a:hover,
.footer-email:hover {
  color: var(--accent);
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 26px;
  color: var(--muted-2);
  font-size: .9rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.noscript-site {
  padding: 24px;
  background: #0b1318;
  color: #edf4f4;
}

.static-404 {
  width: min(100% - 36px, 760px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 0;
}

.static-404-logo {
  width: 72px;
  margin-bottom: 30px;
}

.static-404 h1 {
  max-width: 12ch;
}

._dash-loading,
#_dash-loading,
._dash-loading-callback {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.dash-debug-menu,
.dash-debug-menu__outer {
  display: none !important;
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 2px;
  }

  .nav-link,
  .nav-cta {
    padding: 0 10px;
    font-size: .88rem;
  }

  .metric-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1040px) {
  :root {
    --header: 82px;
  }

  .nav-shell {
    width: min(100% - 28px, var(--max));
    grid-template-columns: auto 1fr auto;
  }

  .brand-logo {
    width: 62px;
  }

  .brand-secondary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
  }

  .language-switch {
    grid-column: 3;
    grid-row: 1;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header) 14px auto 14px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(8, 17, 22, .97);
    box-shadow: 0 28px 80px rgba(0,0,0,.42);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 170ms ease, opacity 170ms ease;
  }

  body.menu-open .primary-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 14px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero-section,
  .page-hero,
  .content-section,
  .cta-section,
  .metric-strip,
  .footer-grid {
    width: min(100% - 28px, var(--max));
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .deliverables-grid,
  .two-panel-grid {
    grid-template-columns: 1fr;
  }


  .system-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-node:not(:last-child)::after,
  .pipeline-step:not(:last-child)::after {
    display: none;
  }

  .pipeline-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual::before {
    inset: 0;
    border-radius: 32px;
  }

  .floating-card {
    right: 18px;
    bottom: 18px;
  }

  h1 {
    max-width: 12ch;
  }

  .contact-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    grid-column: auto;
  }
}


@media (max-width: 640px) {
  body::before {
    background-size: 48px 48px;
  }

  .hero-section {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.1rem);
    line-height: .94;
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .metric-grid,
  .process-grid,
  .capability-grid.three,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .capability-card,
  .process-card {
    min-height: auto;
  }


  .hero-visual {
    min-height: 340px;
  }

  .hero-art {
    width: 94%;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin-top: -30px;
  }

  .brand-text {
    display: none;
  }


  .system-flow,
  .pipeline-flow {
    grid-template-columns: 1fr;
  }

  .system-node,
  .pipeline-step {
    min-height: 0;
  }

  .stack-layer {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .system-flow-head,
  .stack-visual-head,
  .pipeline-head,
  .geo-visual-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .geo-core {
    width: 100%;
    border-radius: 22px;
  }

  .footer-grid {
    padding-top: 42px;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Discreet internal link to the Panama data operation. It stays outside primary navigation. */
.branch-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.028);
  color: var(--muted);
  font-size: .94rem;
}

.branch-note .text-link {
  flex: 0 0 auto;
  margin-top: 0;
  white-space: nowrap;
}

.page-panama .page-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(198,220,26,.10), transparent 25rem),
    radial-gradient(circle at 14% 55%, rgba(30,70,90,.20), transparent 28rem);
}

.page-panama .page-hero-inner {
  width: min(100% - 36px, var(--max));
  max-width: var(--max);
  margin: 0 auto;
}

.page-panama .regional-panel {
  min-height: 0;
}

@media (max-width: 700px) {
  .branch-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .branch-note .text-link {
    white-space: normal;
  }
}

.entity-note {
  margin: 18px 0 0;
  color: var(--muted-2) !important;
  font-size: .84rem;
  letter-spacing: .02em;
}

/* Privacy revision metadata */
.privacy-content {
  display: grid;
  gap: 20px;
}

.privacy-date-line {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted, #aab9c4);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Structured privacy notice content */
.privacy-stack article > p + p,
.privacy-stack article > ul + p,
.privacy-stack article > p + ul {
  margin-top: 14px;
}

.privacy-stack article > p {
  margin-bottom: 0;
}

.privacy-list {
  margin: 14px 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.72;
}

.privacy-list li + li {
  margin-top: 8px;
}
