/* =====================================================
   goodgis.io — style.css
   Dark Industrial / Precision Engineering Aesthetic
   Fonts: DM Serif Display + Syne + JetBrains Mono
   ===================================================== */

:root {
  --bg:      #090d13;
  --bg2:     #0d1320;
  --bg3:     #111a28;
  --bg4:     #172032;
  --accent:  #00d4aa;
  --alight:  #00f5c8;
  --warm:    #ff6b35;
  --cool:    #4ecdc4;
  --green:   #95d5b2;
  --red:     #ff4455;
  --text:    #e4ecf7;
  --muted:   #6e8099;
  --dim:     #3a4f64;
  --bdr:     rgba(0,212,170,0.16);
  --bdr2:    rgba(255,255,255,0.06);
  --card:    rgba(255,255,255,0.028);
  --r:       12px;
  --sans:    'Syne', 'Segoe UI', system-ui, sans-serif;
  --serif:   'DM Serif Display', Georgia, serif;
  --mono:    'JetBrains Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grid bg texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,.022) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── LAYOUT ── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.sec  { padding: 6rem 0; position: relative; z-index: 1; }
.sec.dark { background: var(--bg2); }

/* ── TYPOGRAPHY UTILS ── */
.label {
  font-family: var(--mono);
  font-size: .70rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .22em;
  display: block;
  margin-bottom: .75rem;
}
h2.title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 400;
  line-height: 1.14;
  margin-bottom: 1.2rem;
}
h2.title em { font-style: italic; color: var(--accent); }
.desc { color: var(--muted); max-width: 620px; font-size: .98rem; line-height: 1.75; margin-bottom: 2.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .88rem;
  padding: .82rem 1.9rem;
  border-radius: 7px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  letter-spacing: .02em;
  white-space: nowrap;
}
.btn-g  { background: var(--accent); color: #06090f; }
.btn-g:hover { background: var(--alight); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,212,170,.28); }
.btn-o  { border: 1px solid var(--bdr); color: var(--text); background: transparent; }
.btn-o:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; text-align: center; font-size: .95rem; padding: .95rem; }

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(9,13,19,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bdr2);
  transition: border-color .3s;
}
#nav.scrolled { border-bottom-color: var(--bdr); }
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo-hex { font-size: 1.65rem; color: var(--accent); line-height: 1; }
.logo-txt { font-family: var(--sans); font-size: 1.12rem; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.logo-txt span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  padding: .44rem .82rem;
  border-radius: 6px;
  transition: all .18s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--card); }
.nav-links .cta { background: var(--accent); color: #06090f !important; font-weight: 700; border-radius: 6px; }
.nav-links .cta:hover { background: var(--alight) !important; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  flex-shrink: 0;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: 66px; left: 0; right: 0;
  background: rgba(9,13,19,.98);
  border-bottom: 1px solid var(--bdr);
  z-index: 899;
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: .25rem;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: .7rem 0;
  border-bottom: 1px solid var(--bdr2);
}
#mobile-nav a:last-child { border-bottom: none; }
#mobile-nav a:hover { color: var(--accent); }

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 460px;
  align-items: center;
  gap: 4rem;
  padding: 9rem 2rem 5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(0,212,170,.08);
  border: 1px solid var(--bdr);
  border-radius: 100px;
  padding: .38rem 1rem;
  font-family: var(--mono);
  font-size: .67rem;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 1.8rem;
}
.dot-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: dp 2s infinite;
}
@keyframes dp {
  0%   { box-shadow: 0 0 0 0 rgba(0,212,170,.7); }
  70%  { box-shadow: 0 0 0 9px rgba(0,212,170,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,212,170,0); }
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.2vw, 4.6rem);
  font-weight: 400;
  line-height: 1.07;
  margin-bottom: .65rem;
}
.hero-h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-family: var(--mono);
  font-size: .88rem;
  color: var(--muted);
  letter-spacing: .18em;
  margin-bottom: 1.5rem;
}
.hero-p { color: var(--muted); font-size: 1.02rem; max-width: 510px; line-height: 1.78; margin-bottom: 2.2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--dim);
}
.hero-stack span { color: var(--muted); }
.hero-stack .sep { color: var(--dim); }

/* Hex cards */
.hex-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.hx {
  background: var(--bg3);
  border: 1px solid var(--bdr2);
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 104px;
  transition: all .3s;
  animation: fl 6s ease-in-out infinite;
}
.hx:nth-child(2) { animation-delay: .9s; }
.hx:nth-child(3) { animation-delay: 1.8s; }
.hx:nth-child(4) { animation-delay: .45s; }
.hx:nth-child(5) { animation-delay: 1.35s; }
.hx:nth-child(6) { animation-delay: 2.2s; }
.hx:hover { border-color: var(--bdr); background: var(--bg4); transform: translateY(-5px) scale(1.04); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.hx.on { border-color: var(--accent); background: rgba(0,212,170,.07); box-shadow: 0 0 28px rgba(0,212,170,.14); }
.hx-ic { font-size: 1.85rem; }
.hx small { font-family: var(--mono); font-size: .6rem; color: var(--muted); }
@keyframes fl { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── CLIENTS BAR ── */
.clients-bar {
  position: relative;
  z-index: 1;
  padding: 2.2rem 0;
  border-top: 1px solid var(--bdr2);
  border-bottom: 1px solid var(--bdr2);
  background: var(--bg2);
}
.clients-lbl {
  font-family: var(--mono);
  font-size: .67rem;
  color: var(--dim);
  letter-spacing: .18em;
  text-align: center;
  margin-bottom: 1.1rem;
}
.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.ctag {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .82rem;
  color: var(--muted);
  padding: .42rem 1.1rem;
  border: 1px solid var(--bdr2);
  border-radius: 6px;
  transition: all .2s;
}
.ctag:hover { color: var(--accent); border-color: var(--bdr); }

/* ── WHY CARDS ── */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; margin-bottom: 3.5rem; }
.w-card {
  background: var(--card);
  border: 1px solid var(--bdr2);
  border-radius: var(--r);
  padding: 1.8rem;
  transition: all .3s;
}
.w-card:hover { border-color: var(--bdr); transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.w-card.hl { border-color: rgba(0,212,170,.25); background: rgba(0,212,170,.04); }
.w-num { font-family: var(--mono); font-size: .62rem; color: var(--dim); margin-bottom: .75rem; }
.w-ic { font-size: 1.9rem; margin-bottom: .75rem; }
.w-card h3 { font-weight: 700; font-size: .98rem; margin-bottom: .6rem; }
.w-card p { font-size: .84rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; }
.w-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .61rem;
  color: var(--accent);
  background: rgba(0,212,170,.07);
  border: 1px solid rgba(0,212,170,.18);
  padding: .22rem .68rem;
  border-radius: 100px;
}

/* Compare box */
.cmp-box {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  background: var(--bg3);
  border: 1px solid var(--bdr2);
  border-radius: var(--r);
  overflow: hidden;
}
.cmp-side { padding: 2rem 2.2rem; }
.cmp-lbl { display: block; font-family: var(--mono); font-size: .67rem; color: var(--muted); margin-bottom: .9rem; }
.cmp-bar { height: 6px; background: var(--bg4); border-radius: 3px; margin-bottom: 1.1rem; overflow: hidden; }
.bf { height: 100%; border-radius: 3px; }
.bf-bad  { width: 88%; background: linear-gradient(90deg,#cc2020,#cc6020); }
.bf-good { width: 30%; background: linear-gradient(90deg,var(--accent),var(--cool)); }
.cmp-items { display: flex; flex-direction: column; gap: .45rem; font-size: .82rem; color: var(--muted); }
.cmp-vs {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.4rem; color: var(--dim); font-style: italic;
  border-left: 1px solid var(--bdr2); border-right: 1px solid var(--bdr2);
}

/* ── PILLARS ── */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.pillar {
  background: var(--card);
  border: 1px solid var(--bdr2);
  border-radius: var(--r);
  padding: 2rem 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color .3s;
}
.pillar:hover { border-color: var(--bdr); }
.pillar.feat { border-color: rgba(0,212,170,.3); background: rgba(0,212,170,.035); transform: scale(1.02); }
.p-badge {
  position: absolute; top: -1px; right: 1.4rem;
  background: var(--accent); color: #06090f;
  font-family: var(--mono); font-size: .58rem; font-weight: 700;
  padding: .27rem .7rem; border-radius: 0 0 7px 7px; letter-spacing: .1em;
}
.p-num { font-family: var(--serif); font-size: 2.8rem; color: var(--dim); font-style: italic; line-height: 1; }
.p-ic { font-size: 2.2rem; }
.pillar h3 { font-weight: 700; font-size: 1.04rem; margin: .35rem 0 .2rem; }
.p-sub { font-family: var(--mono); font-size: .66rem; color: var(--accent); }
.plbl { display: block; font-family: var(--mono); font-size: .59rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: .35rem; }
.plbl.pain { color: var(--warm); }
.plbl.sol  { color: var(--accent); }
.pillar p  { font-size: .83rem; color: var(--muted); line-height: 1.62; }
.p-ben {
  font-size: .83rem; font-weight: 600;
  padding: .65rem .9rem;
  background: rgba(0,212,170,.06);
  border-left: 2.5px solid var(--accent);
  border-radius: 0 6px 6px 0;
}
.p-tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin-top: auto; }
.p-tags li { font-family: var(--mono); font-size: .59rem; color: var(--dim); border: 1px solid var(--bdr2); border-radius: 4px; padding: .19rem .55rem; }

/* ── TARGETS ── */
.tgt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.t-card {
  background: var(--card);
  border: 1px solid var(--bdr2);
  border-radius: var(--r);
  padding: 1.75rem;
  transition: all .3s;
}
.t-card:hover { border-color: var(--bdr); background: rgba(255,255,255,.042); }
.t-card.net { border-color: rgba(0,212,170,.16); }
.t-ic { font-size: 2.2rem; margin-bottom: .85rem; }
.t-card h3 { font-weight: 700; font-size: .97rem; margin-bottom: .6rem; }
.t-card p  { font-size: .83rem; color: var(--muted); line-height: 1.62; margin-bottom: 1.1rem; }
.t-lnk { font-family: var(--mono); font-size: .68rem; color: var(--accent); text-decoration: none; }
.t-lnk:hover { text-decoration: underline; }

/* ── NETWORK ── */
.net-grid { display: grid; grid-template-columns: 1fr 380px; gap: 5rem; align-items: center; }
.net-txt p { color: var(--muted); font-size: .95rem; line-height: 1.74; margin-bottom: 1.2rem; }
.net-txt strong { color: var(--text); }
.net-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.net-list li { font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: .6rem; }
/* Node vis */
.nv { position: relative; width: 360px; height: 360px; }
.nd {
  position: absolute;
  background: var(--bg3);
  border: 1px solid var(--bdr);
  border-radius: 8px;
  padding: .4rem .9rem;
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--muted);
  white-space: nowrap;
  transition: all .3s;
}
.nd:hover { color: var(--accent); border-color: var(--accent); }
.nd.cn {
  background: rgba(0,212,170,.1);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600; font-size: .82rem;
  transform: translate(-50%,-50%);
  top: 50%; left: 50%; z-index: 2;
}
.nd.n1{top:14px;left:50%;transform:translateX(-50%)}
.nd.n2{top:74px;right:4px}
.nd.n3{bottom:74px;right:4px}
.nd.n4{bottom:14px;left:50%;transform:translateX(-50%)}
.nd.n5{bottom:74px;left:4px}
.nd.n6{top:74px;left:4px}
.nv svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── MAP SECTION ── */
.map-wrap {
  position: relative;
  margin: 2rem 0;
  height: 600px;
  border: 1px solid var(--bdr2);
  border-radius: var(--r);
  overflow: hidden;
  background: #e8e0d5;
}
#map { width: 100%; height: 100%; }

/* OpenLayers overrides for light map */
.ol-attribution { font-size: 10px !important; }

/* Sensor Panel */
.sp {
  position: absolute; top: 14px; right: 14px; z-index: 200;
  background: rgba(9,13,19,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  width: 255px; padding: .9rem;
}
.sp-hd {
  display: flex; align-items: center; gap: .45rem;
  margin-bottom: .85rem; font-weight: 600; font-size: .78rem;
}
.red-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  animation: rp 1.5s infinite; flex-shrink: 0;
}
@keyframes rp {
  0%   { box-shadow: 0 0 0 0 rgba(255,68,85,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255,68,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,68,85,0); }
}
.sp-time { font-family: var(--mono); font-size: .58rem; color: var(--dim); margin-left: auto; }
.sp-sensors { display: flex; flex-direction: column; gap: .42rem; margin-bottom: .85rem; }
.sp-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center;
  padding: .44rem .65rem;
  background: var(--bg3);
  border: 1px solid var(--bdr2);
  border-radius: 6px;
  gap: .4rem;
  transition: border-color .3s;
}
.sp-row.alm {
  border-color: rgba(255,68,85,.5);
  background: rgba(255,68,85,.06);
  animation: ab 1s infinite;
}
@keyframes ab { 0%,100% { border-color: rgba(255,68,85,.5); } 50% { border-color: var(--red); } }
.sp-nm  { font-family: var(--mono); font-size: .6rem; color: var(--muted); }
.sp-alm { font-family: var(--mono); font-size: .58rem; color: var(--red); font-weight: 600; }
.sp-vals { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.sv { font-family: var(--mono); font-size: .63rem; }
.sv.vl  { color: var(--warm); }
.sv.rl  { color: var(--cool); }
.sv.at  { color: var(--green); }
.sv.al  { color: var(--red); font-weight: 700; }
.sp-leg { border-top: 1px solid var(--bdr2); padding-top: .65rem; display: flex; flex-direction: column; gap: .28rem; }
.li { display: flex; align-items: center; gap: .42rem; font-size: .62rem; color: var(--dim); }
.ld { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Alert */
.alert-box {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: rgba(18,4,4,.92);
  border: 1px solid rgba(255,68,85,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  display: flex; align-items: flex-start; gap: .85rem;
  max-width: 520px; width: 90%;
  animation: su .35s ease;
}
@keyframes su { from { opacity:0; transform:translateX(-50%) translateY(14px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }
.alert-ic { font-size: 1.4rem; flex-shrink: 0; }
.alert-box strong { display: block; font-size: .82rem; color: #ff7575; margin-bottom: .2rem; }
.alert-box p { font-size: .76rem; color: var(--muted); line-height: 1.45; }
.alert-x { background: none; border: none; color: var(--dim); cursor: pointer; font-size: .95rem; margin-left: auto; flex-shrink: 0; padding: .2rem; transition: color .2s; }
.alert-x:hover { color: var(--text); }

/* Map legend bottom-left */
.map-legend {
  position: absolute; bottom: 14px; left: 14px; z-index: 200;
  background: rgba(9,13,19,.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bdr2);
  border-radius: 8px;
  padding: .65rem .9rem;
  font-size: .7rem;
}
.map-legend strong { display: block; font-family: var(--mono); font-size: .6rem; color: var(--accent); margin-bottom: .4rem; letter-spacing: .1em; }
.ml-item { display: flex; align-items: center; gap: .5rem; color: var(--muted); margin-bottom: .22rem; }
.ml-line { width: 22px; height: 4px; border-radius: 2px; flex-shrink: 0; }
.ml-dash { background: repeating-linear-gradient(90deg, var(--cool) 0, var(--cool) 4px, transparent 4px, transparent 8px); height: 3px; }
.ml-dot-warm { width: 10px; height: 10px; border-radius: 50%; background: var(--warm); border: 2px solid rgba(255,255,255,.3); flex-shrink: 0; }
.ml-dot-alarm { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; animation: rp 1.5s infinite; }
.ml-dot-house { width: 10px; height: 10px; border-radius: 2px; background: #5b8cdd; flex-shrink: 0; }

/* Map tech row */
.mtr { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.75rem; }
.mti { display: flex; align-items: center; gap: .65rem; }
.mti-ic { font-size: 1.35rem; }
.mti strong { display: block; font-size: .82rem; font-weight: 700; }
.mti small { display: block; font-family: var(--mono); font-size: .6rem; color: var(--dim); }

/* ── ABOUT ── */
.about-in { display: grid; grid-template-columns: 260px 1fr; gap: 5rem; align-items: center; }
.av-card { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.av-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(0,212,170,.09);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2.2rem; color: var(--accent);
}
.av-bgs { display: flex; flex-direction: column; gap: .42rem; align-items: center; }
.av-bgs span { font-family: var(--mono); font-size: .62rem; color: var(--muted); border: 1px solid var(--bdr2); border-radius: 100px; padding: .22rem .7rem; }
.about-txt p  { color: var(--muted); line-height: 1.74; margin-bottom: 1.1rem; font-size: .93rem; }
.about-txt strong { color: var(--text); }
.certs { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.cert { font-family: var(--mono); font-size: .64rem; color: var(--accent); border: 1px solid rgba(0,212,170,.24); background: rgba(0,212,170,.05); padding: .34rem .85rem; border-radius: 6px; }

/* ── CONTACT ── */
.contact-g { display: grid; grid-template-columns: 3fr 2fr; gap: 3.5rem; margin-top: 2.5rem; }
.fg { margin-bottom: 1.1rem; }
.fg label { display: block; font-family: var(--mono); font-size: .63rem; color: var(--muted); margin-bottom: .4rem; letter-spacing: .06em; }
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--bdr2);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--sans);
  font-size: .88rem;
  padding: .72rem .95rem;
  outline: none;
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent); }
.fg textarea { resize: vertical; }
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e8099' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
}
.form-note { text-align: center; font-family: var(--mono); font-size: .62rem; color: var(--dim); margin-top: .6rem; }

/* reCAPTCHA wrapper */
.recaptcha-wrap { margin-bottom: 1.1rem; }
.recaptcha-notice { font-family: var(--mono); font-size: .6rem; color: var(--dim); margin-top: .4rem; line-height: 1.5; }
.recaptcha-notice a { color: var(--accent); text-decoration: none; }

.ci-card { background: var(--card); border: 1px solid var(--bdr2); border-radius: var(--r); padding: 1.75rem; margin-bottom: 1.1rem; }
.ci-card h3 { font-weight: 700; font-size: 1.04rem; margin-bottom: .4rem; }
.ci-card p  { font-size: .83rem; color: var(--muted); margin-bottom: 1.1rem; }
.ci-d { display: flex; align-items: center; gap: .65rem; margin-bottom: .42rem; font-size: .84rem; }
.ci-d a { color: var(--accent); text-decoration: none; }
.callout {
  background: rgba(0,212,170,.06);
  border: 1px solid rgba(0,212,170,.18);
  border-radius: var(--r);
  padding: 1.4rem; margin-bottom: 1.1rem; text-align: center;
}
.c-num { font-family: var(--serif); font-size: 2.8rem; color: var(--accent); font-style: italic; line-height: 1; margin-bottom: .35rem; }
.callout p { font-size: .82rem; color: var(--muted); }
.mini-g { display: grid; grid-template-columns: repeat(3,1fr); gap: .65rem; }
.mini-c { background: var(--card); border: 1px solid var(--bdr2); border-radius: 8px; padding: .85rem .65rem; text-align: center; cursor: pointer; transition: border-color .2s; }
.mini-c:hover { border-color: var(--bdr); }
.mini-c strong { display: block; font-size: .74rem; margin-bottom: .2rem; }
.mini-c p { font-family: var(--mono); font-size: .59rem; color: var(--accent); }

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--bdr2);
  padding: 3.5rem 0 2rem;
  position: relative; z-index: 1;
}
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.f-brand p { font-size: .82rem; color: var(--dim); line-height: 1.6; margin-top: .6rem; }
.f-col { display: flex; flex-direction: column; }
.f-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.f-col a { font-size: .82rem; color: var(--dim); text-decoration: none; padding: .27rem 0; transition: color .2s; }
.f-col a:hover { color: var(--accent); }
.footer-bot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--bdr2);
  font-family: var(--mono); font-size: .62rem; color: var(--dim);
}
.foss-b { display: flex; gap: .85rem; }

/* ── SCROLL ANIMATIONS ── */
.fi { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.fi.vis { opacity: 1; transform: translateY(0); }
.fi[data-d="1"] { transition-delay: .1s; }
.fi[data-d="2"] { transition-delay: .2s; }
.fi[data-d="3"] { transition-delay: .3s; }

/* ── IMPRESSUM PAGE ── */
.impress-wrap { max-width: 800px; margin: 0 auto; padding: 9rem 2rem 5rem; }
.impress-wrap h1 { font-family: var(--serif); font-size: 2.8rem; font-weight: 400; margin-bottom: 2rem; }
.impress-wrap h1 em { font-style: italic; color: var(--accent); }
.impress-wrap h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--text); margin: 2rem 0 .6rem; border-left: 3px solid var(--accent); padding-left: .85rem; }
.impress-wrap p  { font-size: .9rem; color: var(--muted); line-height: 1.72; margin-bottom: .8rem; }
.impress-wrap a  { color: var(--accent); text-decoration: none; }
.impress-wrap a:hover { text-decoration: underline; }
.impress-wrap ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; margin-bottom: .8rem; }
.impress-wrap ul li { font-size: .9rem; color: var(--muted); padding-left: 1rem; position: relative; }
.impress-wrap ul li::before { content: '—'; position: absolute; left: 0; color: var(--dim); }
.impress-box {
  background: var(--bg3);
  border: 1px solid var(--bdr2);
  border-radius: var(--r);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.impress-box strong { font-weight: 700; color: var(--text); display: block; margin-bottom: .5rem; }
.impress-divider { border: none; border-top: 1px solid var(--bdr2); margin: 2.5rem 0; }
.impress-toc { display: flex; flex-direction: column; gap: .4rem; margin: 1.5rem 0 2.5rem; }
.impress-toc a { font-family: var(--mono); font-size: .72rem; color: var(--accent); text-decoration: none; }
.impress-toc a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding: 8rem 2rem 4rem; }
  .hero-p { max-width: 100%; }
  .hex-grid { display: none; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .pillars { grid-template-columns: 1fr; }
  .pillar.feat { transform: none; }
  .tgt-grid { grid-template-columns: repeat(2,1fr); }
  .net-grid { grid-template-columns: 1fr; }
  .nv { display: none; }
  .about-in { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .cmp-box { grid-template-columns: 1fr; }
  .cmp-vs { border: none; border-top: 1px solid var(--bdr2); border-bottom: 1px solid var(--bdr2); padding: 1rem; justify-content: center; }
  .contact-g { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .tgt-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 500px; }
  .sp { width: 190px; right: 8px; top: 8px; }
  .mini-g { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
  .mtr { gap: 1.2rem; }
}
