/* ============================================================
   MAYASEVEN — main stylesheet
   Source of truth: MAYASEVEN-Design-System.md
   Bronze = human · Steel = machine · both = augmented
   ============================================================ */

:root {
  /* backgrounds */
  --bg:        #0a0e16;
  --bg-alt:    #0b1018;
  --surface:   #0e131d;
  --deep:      #090d16;
  --console:   #0c111c;

  /* brand */
  --navy:      #213a5e;

  /* accents */
  --human:     #c7a36c;
  --human-hov: #d6b884;
  --human-edge:#cdac79;
  --machine:   #84a7c6;
  --alert:     #d3897c;

  /* text */
  --t-high:    #eef1f5;
  --t-body:    #aeb6c2;
  --t-muted:   #9aa3b0;
  --t-soft:    #cdd3dc;
  --t-dim:     #7e8794;
  --t-faint:   #5e6672;
  --t-ghost:   #6b7480;

  /* hairlines */
  --line-section: #181c22;
  --line-inner:   #1d222a;
  --line-card:    #232831;
  --line-input:   #2c333d;
  --line-raised:  #3a4250;

  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--t-high);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(199,163,108,0.30); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; }
input, select, textarea { font-family: inherit; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--t-faint); }

@keyframes m7blink { 0%,50% {opacity:1} 50.01%,100% {opacity:0} }
@keyframes m7pulse { 0%,100% {opacity:.55; transform:scale(1)} 50% {opacity:1; transform:scale(1.25)} }
@keyframes m7pop   { 0% {opacity:0; transform:scale(.85)} 100% {opacity:1; transform:scale(1)} }
@keyframes m7fade  { 0% {opacity:0} 100% {opacity:1} }

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

/* ---------- layout primitives ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { position: relative; z-index: 2; border-top: 1px solid var(--line-section); }
.section-alt { background: var(--bg-alt); }
.section .wrap { padding-top: 110px; padding-bottom: 110px; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  color: var(--machine); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--machine); }
.eyebrow-bronze { color: var(--human); }
.eyebrow-bronze::before { background: var(--human); }

h2.section-title {
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.08; letter-spacing: -.025em; font-weight: 700;
  margin: 0; max-width: 760px;
}
p.section-lead {
  font-size: 17px; line-height: 1.6; color: var(--t-muted);
  margin: 20px 0 0; max-width: 620px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-size: 15px; font-weight: 600;
  padding: 14px 26px; border-radius: 10px; transition: background .15s, border-color .15s;
}
.btn-primary { color: #11130f; background: var(--human); border: 1px solid var(--human-edge); }
.btn-primary:hover { background: var(--human-hov); }
.btn-ghost { color: var(--t-high); background: rgba(255,255,255,0.02); border: 1px solid var(--line-input); }
.btn-ghost:hover { border-color: #465065; background: rgba(255,255,255,0.04); }

/* ---------- glows ---------- */
.glow-field { position: relative; overflow: hidden; }
.glow { position: absolute; pointer-events: none; z-index: 0; }
.glow-steel-top {
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 760px;
  background: radial-gradient(closest-side, rgba(132,167,198,0.10), rgba(132,167,198,0) 70%);
}
.glow-bronze-right {
  top: 60px; right: -160px; width: 680px; height: 600px;
  background: radial-gradient(closest-side, rgba(199,163,108,0.09), rgba(199,163,108,0) 70%);
}

/* ---------- nav ---------- */
.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 26px; padding-bottom: 26px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; color: var(--t-body); white-space: nowrap; }
.nav-links a:hover { color: var(--t-high); }
.nav-cta {
  font-size: 14px; font-weight: 600; color: #11130f; background: var(--human);
  padding: 11px 20px; border-radius: 9px; border: 1px solid var(--human-edge); white-space: nowrap;
}
.nav-cta:hover { background: var(--human-hov); }
.nav-back {
  font-size: 14px; font-weight: 600; color: var(--t-soft); background: rgba(255,255,255,0.02);
  padding: 11px 18px; border-radius: 9px; border: 1px solid var(--line-input); white-space: nowrap;
}
.nav-back:hover { border-color: #465065; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--line-input);
  border-radius: 9px; padding: 12px; cursor: pointer;
}
.nav-burger span { width: 20px; height: 2px; background: var(--t-soft); display: block; }

.mobile-menu { display: none; position: relative; z-index: 5; max-width: 1200px; margin: 0 auto; padding: 0 24px 10px; }
.mobile-menu-panel {
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--line-card); border-radius: 14px; background: var(--surface); padding: 12px;
}
.mobile-menu-panel a { padding: 13px 14px; border-radius: 9px; color: var(--t-soft); font-size: 15.5px; }
.mobile-menu-panel a:hover { background: rgba(255,255,255,0.03); }
.mobile-menu-panel .menu-cta {
  margin-top: 6px; text-align: center; padding: 14px; border-radius: 10px;
  color: #11130f; background: var(--human); font-weight: 600;
}
.mobile-menu-panel .menu-cta:hover { background: var(--human-hov); }
.mobile-menu-panel .menu-cta-ghost { color: var(--t-soft); background: rgba(255,255,255,0.02); border: 1px solid var(--line-input); }
.mobile-menu-panel .menu-cta-ghost:hover { background: rgba(255,255,255,0.04); }

body.menu-open .mobile-menu { display: block; }

@media (max-width: 860px) {
  .nav-links, .nav-cta, .nav-back { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 90px; }
.hero-copy { flex: 1 1 460px; min-width: 320px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--t-muted);
  border: 1px solid #262b34; border-radius: 100px; padding: 7px 14px;
  background: rgba(255,255,255,0.015); white-space: nowrap;
}
@media (max-width: 640px) {
  .hero-badge { white-space: normal; line-height: 1.7; }
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.02; letter-spacing: -.03em; font-weight: 700; margin: 26px 0 0;
}
.hero-lead { font-size: 18.5px; line-height: 1.6; color: var(--t-body); margin: 24px 0 0; max-width: 548px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-top: 40px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--t-dim);
}
.trust-strip .sep { color: #333a45; }

.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.dot-steel { background: var(--machine); }
.dot-pulse { animation: m7pulse 2.4s ease-in-out infinite; }

.accent-human { color: var(--human); }
.accent-machine { color: var(--machine); }

.bg-bronze { background: var(--human); }
.bg-steel { background: var(--machine); }
.bg-dim { background: var(--line-raised); }
.cmt-gap { margin-top: 10px; }

/* ---------- engagement console ---------- */
.console-col { flex: 1 1 440px; min-width: 320px; }
.console {
  background: var(--console); border: 1px solid #262b34; border-radius: 14px;
  overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9);
}
.console-head {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border-bottom: 1px solid var(--line-inner); background: rgba(255,255,255,0.012);
}
.console-dots { display: flex; gap: 7px; }
.console-dots span { width: 10px; height: 10px; border-radius: 50%; }
.console-title { font-family: var(--mono); font-size: 12px; color: #8a93a0; }
.console-live {
  margin-left: auto; display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--machine);
}
.console-live .dot { animation: m7pulse 1.8s ease-in-out infinite; }
.console-body {
  padding: 18px 18px 8px; min-height: 330px;
  background: linear-gradient(180deg, rgba(132,167,198,0.025), rgba(0,0,0,0));
}
.console-line {
  display: flex; gap: 14px; padding: 4px 0;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.55;
  animation: m7fade .35s ease;
}
.console-line .who { flex: 0 0 50px; text-align: right; }
.console-line .what { flex: 1; color: #c7cdd6; }
.console-line.is-agent .who { color: var(--machine); }
.console-line.is-human .who { color: var(--human); }
.console-line.is-sys .who { color: var(--t-faint); }
.console-line.is-sys .what { color: var(--t-ghost); }
.console-cursor {
  display: inline-block; width: 8px; height: 15px; background: var(--machine);
  animation: m7blink 1.1s steps(1) infinite; vertical-align: text-bottom; margin-top: 6px;
}
.console-foot {
  display: flex; align-items: center; gap: 16px; padding: 12px 18px;
  border-top: 1px solid var(--line-inner);
  font-family: var(--mono); font-size: 11px; color: #6b7480;
}
.console-foot .key { display: flex; align-items: center; gap: 7px; }
.console-foot .swatch { width: 8px; height: 8px; border-radius: 2px; }
.console-foot .note { margin-left: auto; color: var(--t-dim); }

/* ---------- trusted-by strip ---------- */
.trusted { position: relative; z-index: 2; padding-bottom: 84px; }
.trusted-inner {
  border-top: 1px solid var(--line-section); padding-top: 30px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px;
}
.trusted-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--t-faint); flex: 0 0 auto; }
/* spacing-only separation: no inline dots, so nothing ever dangles at a wrapped line edge */
.trusted-list { display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 8px; font-size: 14px; color: #8a93a0; }
.trusted-list span { white-space: nowrap; }

/* ---------- approach cards ---------- */
.cards3 { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 54px; }
.card {
  flex: 1 1 300px; min-width: 280px;
  border: 1px solid var(--line-card); border-radius: 14px; padding: 30px; background: var(--surface);
}
.card-tag { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.card-tag .orb { width: 12px; height: 12px; border-radius: 50%; }
.card-tag .orb-steel { background: var(--machine); box-shadow: 0 0 0 4px rgba(132,167,198,0.12); }
.card-tag .orb-bronze { background: var(--human); box-shadow: 0 0 0 4px rgba(199,163,108,0.12); }
.card-tag .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.card h3 { font-size: 22px; font-weight: 600; margin: 0 0 14px; letter-spacing: -.01em; }
.card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; color: var(--t-muted); font-size: 14.5px; line-height: 1.5; }
.card li { display: flex; gap: 11px; }
.card li .pre { color: #5b636f; }

.card-augmented {
  border-color: var(--line-raised);
  background: linear-gradient(160deg, rgba(199,163,108,0.07), rgba(132,167,198,0.07));
  position: relative; overflow: hidden;
}
.card-augmented ul { color: var(--t-soft); }
.card-augmented .pre-steel { color: var(--machine); }
.card-augmented .pre-bronze { color: var(--human); }
.card-flag {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  color: var(--bg); background: var(--human); padding: 4px 9px; border-radius: 5px;
}
.fuse { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; }
.fuse .orb { width: 12px; height: 12px; border-radius: 50%; }
.fuse .link { width: 14px; height: 1px; background: #6f7787; }
.fuse .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--t-soft); margin-left: 4px; }

/* ---------- method steps ---------- */
.steps { display: flex; flex-direction: column; margin-top: 56px; }
.step { display: flex; flex-wrap: wrap; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line-inner); }
.step:last-child { border-bottom: 1px solid var(--line-inner); }
.step-num { flex: 0 0 96px; font-family: var(--mono); font-size: 13px; color: var(--t-faint); }
.step-pill-col { flex: 0 0 150px; display: flex; align-items: flex-start; }
.step-pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--t-dim);
  border: 1px solid var(--line-input); border-radius: 100px; padding: 5px 12px;
}
.step-agent .step-num { color: var(--machine); }
.step-agent .step-pill { color: var(--machine); border-color: rgba(132,167,198,0.35); background: rgba(132,167,198,0.07); }
.step-human .step-num { color: var(--human); }
.step-human .step-pill { color: var(--human); border-color: rgba(199,163,108,0.35); background: rgba(199,163,108,0.07); }
.step-body { flex: 1 1 360px; min-width: 280px; }
.step-body h3 { font-size: 21px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; }
.step-body p { font-size: 15px; line-height: 1.6; color: var(--t-muted); margin: 0; max-width: 560px; }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; margin-top: 54px; }
.svc-card { border: 1px solid var(--line-card); border-radius: 14px; padding: 30px; background: var(--surface); transition: border-color .15s; }
.svc-card:hover { border-color: #39414e; }
.svc-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; margin-bottom: 18px; }
.svc-kicker.k-steel { color: var(--machine); }
.svc-kicker.k-bronze { color: var(--human); }
.svc-card h3 { font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.svc-card p { font-size: 14.5px; line-height: 1.6; color: var(--t-muted); margin: 0; }
.svc-card p.has-chips { margin-bottom: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--t-dim); }
.chip { border: 1px solid var(--line-input); border-radius: 6px; padding: 5px 9px; }

.also-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px;
  padding: 22px 26px; border: 1px solid var(--line-inner); border-radius: 14px; background: var(--bg);
}
.also-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--t-faint); }
.also-list { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 6px; font-size: 14px; color: var(--t-body); }
.also-list span { white-space: nowrap; }
.also-link { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--human); }
.also-link:hover { color: var(--human-hov); }

/* ---------- sovereignty ---------- */
.sov-panel {
  border: 1px solid #2a313b; border-radius: 18px;
  padding: clamp(34px, 5vw, 64px);
  background: linear-gradient(150deg, #10182a, var(--bg-alt));
  display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.sov-copy { flex: 1 1 420px; min-width: 300px; }
.sov-copy h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; margin: 0; }
.sov-copy p { font-size: 16.5px; line-height: 1.65; color: var(--t-body); margin: 22px 0 0; max-width: 560px; }
.sov-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; font-family: var(--mono); font-size: 12px; }
.sov-chips span { border: 1px solid var(--line-input); border-radius: 8px; padding: 9px 14px; color: var(--t-soft); }
.sov-box-col { flex: 1 1 320px; min-width: 280px; }
.sov-box {
  border: 1px solid var(--line-card); border-radius: 14px; background: var(--bg);
  padding: 24px; font-family: var(--mono); font-size: 13px; line-height: 1.9; color: var(--t-muted);
}
.sov-box .cmt { color: var(--t-faint); }
.sov-box .k-bronze { color: var(--human); }
.sov-box .k-steel { color: var(--machine); }
.sov-status { display: flex; align-items: center; gap: 8px; }
.sov-status .dot { animation: m7pulse 2s infinite; }

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 50px; }
.ind-item {
  border: 1px solid var(--line-card); border-radius: 12px; padding: 22px; background: var(--surface);
  display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--t-soft);
}
.ind-item .swatch { width: 8px; height: 8px; border-radius: 2px; flex: 0 0 auto; }
.swatch-bronze { background: var(--human); }
.swatch-steel { background: var(--machine); }

/* ---------- pedigree ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: 50px; }
.stat { border: 1px solid var(--line-card); border-radius: 14px; padding: 26px; background: var(--surface); }
.stat .num { font-size: 38px; font-weight: 700; letter-spacing: -.03em; color: var(--t-high); }
.stat .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--t-dim); margin-top: 8px; }

.ped-cards { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.ped-card { flex: 1 1 320px; min-width: 280px; border: 1px solid var(--line-card); border-radius: 14px; padding: 30px; background: var(--surface); }
.ped-card.is-flagship { border-color: #2a313b; background: linear-gradient(155deg, rgba(199,163,108,0.06), rgba(0,0,0,0)); display: flex; flex-direction: column; }
.flagship-logo { height: 108px; width: auto; align-self: center; margin-top: auto; margin-bottom: auto; padding-top: 18px; }
.ped-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; margin-bottom: 16px; }
.ped-card h3 { font-size: 20px; font-weight: 600; margin: 0 0 10px; letter-spacing: -.01em; }
.ped-card p { font-size: 14.5px; line-height: 1.6; color: var(--t-muted); margin: 0; }
.ped-card p.has-chips { margin-bottom: 18px; }
.cert-row { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--t-dim); }
.cert { border: 1px solid var(--line-input); border-radius: 7px; padding: 7px 11px; }
.cert-row-gap { margin-top: 18px; }

/* ISO certification badges (BSI marks) */
.iso-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.iso-badges img { height: 64px; width: auto; opacity: .92; }
.iso-badges.iso-badges-sm img { height: 54px; }

/* ---------- about ---------- */
.about-title { max-width: 520px; }
.about-copy { font-size: 16px; line-height: 1.65; color: var(--t-muted); margin: 24px 0 0; max-width: 760px; }

/* ---------- closing CTA ---------- */
.cta-section { position: relative; z-index: 2; border-top: 1px solid var(--line-section); overflow: hidden; }
.cta-halo {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(closest-side at 50% 0%, rgba(132,167,198,0.10), rgba(0,0,0,0) 70%);
}
.cta-inner { position: relative; max-width: 920px; margin: 0 auto; padding: 130px 32px; text-align: center; }
.cta-emblem { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 26px; }
.cta-emblem .orb { width: 12px; height: 12px; border-radius: 50%; }
.cta-emblem .link { width: 16px; height: 1px; background: #6f7787; }
.cta-inner h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; margin: 0; }
.cta-inner p { font-size: 18px; line-height: 1.6; color: var(--t-body); margin: 24px auto 0; max-width: 560px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.cta-btns .btn { padding: 15px 30px; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line-section); background: var(--deep); }
.footer-main { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { flex: 1 1 280px; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: #6b7480; margin: 18px 0 0; max-width: 300px; }
.footer-phones { display: flex; gap: 18px; margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--t-dim); }
.footer-office { flex: 0 1 auto; font-size: 13.5px; line-height: 1.9; color: #8a93a0; }
.footer-office .city { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--t-faint); margin-bottom: 12px; }
.footer-bar {
  padding-top: 20px; padding-bottom: 20px; border-top: 1px solid #15191e;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--t-faint);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-header { position: relative; z-index: 2; padding-top: 54px; padding-bottom: 30px; }
.contact-header h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.03; letter-spacing: -.03em; font-weight: 700; margin: 0; max-width: 760px; }
.contact-header p { font-size: 18px; line-height: 1.6; color: var(--t-body); margin: 22px 0 0; max-width: 560px; }

.contact-body { position: relative; z-index: 2; padding-top: 30px; padding-bottom: 100px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-form-col { flex: 1 1 520px; min-width: 320px; }

.contact-form {
  border: 1px solid var(--line-card); border-radius: 18px;
  padding: clamp(24px, 3.5vw, 38px); background: var(--surface);
  display: flex; flex-direction: column; gap: 22px;
}
.form-row { display: flex; flex-wrap: wrap; gap: 22px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 9px; }
.field-full { flex-basis: 100%; }
.field .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #8a93a0; }
.field .label-opt { color: var(--t-faint); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-input);
  border-radius: 10px; padding: 13px 14px; color: var(--t-high); font-size: 15px;
}
.field textarea { line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--machine); outline: none; }
.field .error { font-size: 12.5px; color: var(--alert); display: none; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error textarea { border-color: var(--alert); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-actions .btn { padding: 14px 28px; cursor: pointer; font-family: inherit; }

/* honeypot — offscreen, humans never see or fill it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form-fail {
  display: none; font-size: 14px; line-height: 1.5; color: var(--alert);
  border: 1px solid rgba(211,137,124,0.35); background: rgba(211,137,124,0.07);
  border-radius: 10px; padding: 12px 16px;
}
.form-fail.show { display: block; }

.form-success {
  display: none;
  border: 1px solid #2a313b; border-radius: 18px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(160deg, rgba(132,167,198,0.08), rgba(199,163,108,0.06));
  text-align: center; animation: m7pop .35s ease;
}
.form-success .check {
  width: 62px; height: 62px; border-radius: 50%; border: 1.5px solid var(--machine);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
  font-size: 28px; color: var(--machine); background: rgba(132,167,198,0.08);
}
.form-success h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.form-success p { font-size: 16px; line-height: 1.6; color: var(--t-body); margin: 14px auto 0; max-width: 420px; }
.form-success .btn { margin-top: 26px; padding: 12px 22px; font-size: 14px; }
.contact-form-col.is-submitted .contact-form { display: none; }
.contact-form-col.is-submitted .form-success { display: block; }

.contact-info-col { flex: 1 1 300px; min-width: 280px; display: flex; flex-direction: column; gap: 16px; }
.info-card { border: 1px solid var(--line-card); border-radius: 14px; padding: 24px; background: var(--surface); }
.info-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--machine); }
.info-kicker .dot { animation: m7pulse 2s infinite; }
.info-kicker-bronze { color: var(--human); margin-bottom: 14px; }
.info-card .big { font-size: 18px; font-weight: 600; }
.info-card .sub { font-size: 13.5px; line-height: 1.55; color: #8a93a0; margin: 8px 0 0; }
.info-card .addr { font-size: 14px; line-height: 1.65; color: var(--t-body); margin: 0; }
.info-card .phones { display: flex; gap: 16px; margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--t-soft); }
.info-card.cert-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 20px 24px; font-family: var(--mono); font-size: 11px; color: var(--t-dim); }

.footer-simple { padding-top: 48px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.footer-simple img { height: 38px; width: auto; }
.footer-simple .legal { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--t-faint); }

/* ---------- about: achievement roadmap ---------- */
.sub-kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--t-faint); margin: 56px 0 26px;
}
.sub-kicker::before { content: ""; width: 14px; height: 1px; background: #333a45; }

.roadmap { position: relative; display: flex; flex-direction: column; gap: 36px; padding-left: 30px; border-left: 1px solid var(--line-inner); max-width: 760px; }
.rm-item { position: relative; }
.rm-dot { position: absolute; left: -35.5px; top: 5px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--bg-alt); }
.rm-dot.dual { background: linear-gradient(90deg, var(--human) 50%, var(--machine) 50%); }
.rm-year { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--t-dim); }
.rm-item h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin: 6px 0 8px; }
.rm-item p { font-size: 14.5px; line-height: 1.6; color: var(--t-muted); margin: 0; max-width: 600px; }
.rm-now {
  display: inline-block; margin-left: 10px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; color: var(--machine); border: 1px solid rgba(132,167,198,0.35);
  background: rgba(132,167,198,0.07); border-radius: 100px; padding: 3px 9px; vertical-align: 2px;
}

.awards-note { font-size: 15px; line-height: 1.6; color: var(--t-muted); margin: -8px 0 24px; }
table.awards { width: 100%; border-collapse: collapse; }
.awards th {
  text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  font-weight: 500; color: var(--t-faint); padding: 0 14px 10px 0; border-bottom: 1px solid var(--line-card);
}
.awards td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line-inner); vertical-align: top; overflow-wrap: break-word; }
.awards td.y { font-family: var(--mono); font-size: 12px; color: var(--t-dim); white-space: nowrap; width: 52px; }
.awards td.r { font-family: var(--mono); font-size: 11.5px; color: var(--t-muted); white-space: nowrap; width: 120px; }
.awards td.c { font-size: 14px; line-height: 1.5; color: var(--t-soft); }
.awards tr.win td.r { color: var(--human); }
.awards tr.win td.c { color: var(--t-high); }

details.awards-more { margin-top: 4px; }
details.awards-more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--human);
  padding: 14px 0 4px;
}
details.awards-more summary::-webkit-details-marker { display: none; }
details.awards-more summary:hover { color: var(--human-hov); }
details.awards-more summary::after { content: "▾"; font-size: 11px; transition: transform .15s; }
details.awards-more[open] summary::after { transform: rotate(180deg); }
details.awards-more table.awards { margin-top: 10px; }

/* ---------- 404 ---------- */
.notfound { position: relative; z-index: 2; max-width: 720px; padding-top: 96px; padding-bottom: 160px; }
.notfound h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; margin: 16px 0 0; }
.notfound p { font-size: 18px; line-height: 1.6; color: var(--t-body); margin: 22px 0 0; max-width: 520px; }
.notfound .hero-ctas { margin-top: 34px; }

/* ============================================================
   Mobile overrides — kept LAST so they win source-order over the
   base component rules above (equal specificity → later wins).
   ============================================================ */
.sov-copy h2, h2.section-title, .hero h1, .cta-inner h2, .contact-header h1 { overflow-wrap: break-word; }

@media (max-width: 560px) {
  /* data sovereignty: let the panel content fit; give the heading breathing room */
  .sov-panel { padding: 28px 22px; gap: 32px; }
  .sov-copy, .sov-box-col { min-width: 0; flex-basis: 100%; }
  /* trusted strip: long mono label takes its own line and wraps instead of clipping off-screen */
  .trusted-label { flex-basis: 100%; }
  /* awards table: tighten for narrow screens */
  .awards td.r { width: 96px; font-size: 10.5px; white-space: normal; }
  .awards td.c { font-size: 13px; }
  .awards td { padding-right: 10px; }
  /* small phones (≤360px): let flex/grid children shrink instead of forcing horizontal scroll */
  .hero-copy, .console-col, .card, .svc-card, .step-body, .ped-card { min-width: 0; }
  .service-grid { grid-template-columns: 1fr; }
}
