:root {
  --ink: #eaf7ff;
  --muted: #9bb2c8;
  --deep: #030915;
  --navy-980: #05101f;
  --navy-940: #071a31;
  --navy-900: #0b2748;
  --blue: #18a7ff;
  --cyan: #35f4ff;
  --violet: #8b5cff;
  --magenta: #ff4fd8;
  --gold: #f6c76a;
  --line: rgba(134, 213, 255, .18);
  --glass: rgba(8, 24, 46, .72);
  --glass-strong: rgba(9, 31, 58, .88);
  --surface: #08182e;
  --white: #ffffff;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(24, 167, 255, .28), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(139, 92, 255, .18), transparent 30rem),
    linear-gradient(180deg, #030915 0%, #07101d 46%, #050b15 100%);
  font-family: Inter, Poppins, Montserrat, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 18%, transparent, rgba(3, 9, 21, .72) 68%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; min-width: 0; }

.topbar {
  color: rgba(234,247,255,.78);
  font-size: 13px;
  background: rgba(3, 9, 21, .72);
  border-bottom: 1px solid var(--line);
}
.topbar .container, .nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar .container { min-height: 38px; }
.lang { display: flex; gap: 7px; }
.lang button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
}
.lang button.active { background: linear-gradient(135deg, var(--blue), var(--violet)); border-color: transparent; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 12, 25, .82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .container { min-height: 84px; }
.brand { display: flex; align-items: center; min-width: 250px; }
.brand-logo {
  width: 238px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 18px rgba(53,244,255,.18));
}
.navlinks { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 850; }
.navlinks a {
  padding: 29px 0;
  color: rgba(234,247,255,.72);
  border-bottom: 2px solid transparent;
}
.navlinks a:hover, .navlinks a.active { color: var(--white); border-color: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  position: relative;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .24s ease, opacity .24s ease;
}
.menu-toggle::before { transform: translateY(-7px); }
.menu-toggle::after { transform: translateY(7px); }
.nav-open .menu-toggle span { opacity: 0; }
.nav-open .menu-toggle::before { transform: rotate(45deg); }
.nav-open .menu-toggle::after { transform: rotate(-45deg); }
.mobile-lang { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--violet)); color: #02101d; box-shadow: 0 18px 44px rgba(24,167,255,.3); }
.btn-dark { background: var(--glass-strong); color: var(--ink); border-color: var(--line); }
.btn-light, .btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.06); }
.btn-ghost:hover, .btn-light:hover { border-color: rgba(53,244,255,.52); box-shadow: 0 16px 40px rgba(24,167,255,.16); }

.hero, .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(3,9,21,.96) 0%, rgba(8,24,46,.9) 48%, rgba(7,16,34,.74) 100%),
    var(--hero-image, url("images/visuals/circuit-architecture.jpg")) center / cover;
}
.hero.has-slider { background: transparent; }
.hero.has-slider .container { position: relative; z-index: 2; }
.hero.has-slider::before { z-index: 0; }
.page-hero { background-attachment: fixed; }
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-tech-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.code-rain, .data-panel, .circuit-node {
  position: absolute;
  border: 1px solid rgba(53,244,255,.22);
  background: rgba(5,16,31,.38);
  box-shadow: 0 0 36px rgba(24,167,255,.12);
  backdrop-filter: blur(10px);
  animation: float-panel 9s ease-in-out infinite;
}
.code-rain {
  left: 4%;
  top: 22%;
  width: 180px;
  height: 110px;
  border-radius: var(--radius);
  background-image: repeating-linear-gradient(180deg, rgba(53,244,255,.26) 0 2px, transparent 2px 14px);
  opacity: .38;
}
.data-panel {
  right: 6%;
  bottom: 18%;
  width: 150px;
  height: 86px;
  border-radius: var(--radius);
  animation-delay: -3s;
}
.data-panel::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 42px;
  background: linear-gradient(90deg, var(--cyan) 12%, transparent 12% 22%, var(--violet) 22% 38%, transparent 38% 50%, var(--blue) 50% 72%, transparent 72%);
  opacity: .65;
}
.circuit-node {
  left: 42%;
  bottom: 10%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  animation-delay: -6s;
}
.circuit-node::after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 28px var(--cyan);
}
@keyframes float-panel {
  0%, 100% { transform: translate3d(0,0,0); opacity: .36; }
  50% { transform: translate3d(12px,-18px,0); opacity: .7; }
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 75% 22%, rgba(53,244,255,.28), transparent 28rem),
    linear-gradient(90deg, rgba(3,9,21,.58), rgba(3,9,21,.1));
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--deep));
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr);
  gap: 52px;
  min-height: calc(100vh - 122px);
  align-items: center;
  padding: 58px 0 54px;
}
.page-hero .container { padding: 92px 0 82px; }
.eyebrow, .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  margin-bottom: 18px;
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: .98;
  letter-spacing: 0;
}
h1 span, .gradient-text { color: transparent; background: linear-gradient(135deg, var(--cyan), #fff 48%, var(--magenta)); -webkit-background-clip: text; background-clip: text; }
h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}
h3 { margin: 0 0 8px; color: var(--white); line-height: 1.18; }
.hero p, .lead { max-width: 760px; font-size: clamp(16px, 1.45vw, 19px); color: rgba(234,247,255,.74); margin: 18px 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -6% 4% 8%;
  border: 1px solid rgba(53,244,255,.26);
  background: radial-gradient(circle at 50% 50%, rgba(53,244,255,.16), transparent 55%);
  transform: skewY(-6deg);
}
.hero-image {
  position: relative;
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(53,244,255,.28);
  box-shadow: var(--shadow), 0 0 70px rgba(24,167,255,.24);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(3,9,21,.86));
}
.orbital-card, .signal-card {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line);
  background: rgba(5, 16, 31, .82);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 22px 60px rgba(0,0,0,.32);
}
.orbital-card { left: -18px; bottom: 54px; width: 250px; }
.signal-card { right: -10px; top: 62px; width: 220px; }
.orbital-card strong, .signal-card strong { display: block; color: var(--cyan); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.orbital-card span, .signal-card span { color: rgba(234,247,255,.78); font-size: 14px; }

.section { padding: 90px 0; position: relative; }
.section.soft { background: rgba(255,255,255,.035); border-block: 1px solid rgba(134,213,255,.08); }
.section.blue {
  background: linear-gradient(135deg, rgba(11,39,72,.96), rgba(8,16,34,.96)), url("images/visuals/african-digital-map.jpg") center / cover;
  color: #fff;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 34px; }
.section-head.center { display: block; text-align: center; max-width: 840px; margin: 0 auto 36px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-grid > *, .media-split > *, .grid > * { min-width: 0; }
.card, .price-card, .contact-card, .matrix-item, .portfolio-card, .impact-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
  padding: 26px;
}
.card p, .price-card p, .contact-card p, .portfolio-card p, .matrix-item p { color: rgba(234,247,255,.68); margin: 0; }
.card:hover, .matrix-item:hover, .portfolio-card:hover, .price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53,244,255,.45);
  box-shadow: 0 24px 70px rgba(24,167,255,.16);
}
.card, .matrix-item, .portfolio-card, .price-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }

.stats, .trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5,16,31,.78);
  box-shadow: var(--shadow);
}
.stats { margin-top: -42px; position: relative; z-index: 3; }
.stat, .trust-strip div { padding: 24px; border-right: 1px solid var(--line); }
.stat:last-child, .trust-strip div:last-child { border-right: 0; }
.stat strong { display: block; color: var(--cyan); font-size: 34px; line-height: 1; }
.stat span, .trust-strip span { color: rgba(234,247,255,.66); font-weight: 780; }
.trust-strip strong { display: block; color: #fff; font-size: 18px; }

.media-split {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 54px;
  align-items: center;
}
.media-frame {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(53,244,255,.28);
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(3,9,21,.82));
}
.media-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
}

.service-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.matrix-item h3 { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.matrix-item h3 a { color: var(--cyan); font-size: 13px; white-space: nowrap; }
.plain-list, .mini-list, .check-list { margin: 0; padding: 0; list-style: none; }
.plain-list { display: grid; gap: 8px; margin-top: 14px; color: rgba(234,247,255,.66); }
.plain-list li, .check-list li, .mini-list li { position: relative; padding-left: 18px; }
.plain-list li::before, .check-list li::before, .mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(53,244,255,.1);
  border: 1px solid var(--line);
  color: var(--cyan);
  margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tag-list, .portfolio-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list { margin-top: 18px; }
.tag-list span, .status-pill, .filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(234,247,255,.78);
  background: rgba(255,255,255,.055);
  font-size: 12px;
  font-weight: 850;
}
.status-pill { color: var(--cyan); }
.portfolio-toolbar { margin-bottom: 24px; }
.filter-btn { cursor: pointer; }
.filter-btn.active { color: #02101d; background: var(--cyan); border-color: var(--cyan); }

.portfolio-card { display: grid; gap: 14px; padding: 0; overflow: hidden; }
.portfolio-card .mock, .portfolio-media {
  min-height: 210px;
  position: relative;
  overflow: hidden;
}
.portfolio-card .mock img, .portfolio-media img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card .mock::after, .portfolio-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,9,21,.06), rgba(3,9,21,.86));
}
.portfolio-body { padding: 0 24px 24px; display: grid; gap: 12px; }
.portfolio-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.insight-meta, .price-meta { color: var(--cyan); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .09em; }
.portfolio-card dl { display: grid; gap: 8px; margin: 0; color: rgba(234,247,255,.68); font-size: 14px; }
.portfolio-card dt { color: #fff; font-weight: 900; display: inline; }
.portfolio-card dd { margin: 0; display: inline; }

.team-feature {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.team-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(3,9,21,.82));
}
.team-content { padding: 34px; display: grid; align-content: center; gap: 18px; }
.team-role {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.team-location { color: rgba(234,247,255,.62); font-weight: 800; }
.team-card { padding: 0; overflow: hidden; display: grid; }
.team-card .team-photo { min-height: 330px; }
.team-card .team-content { padding: 24px; align-content: start; }
.team-card h3, .team-feature h3 { font-size: clamp(24px, 2.2vw, 34px); }
.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.skill-cloud span {
  border: 1px solid var(--line);
  background: rgba(53,244,255,.08);
  color: rgba(234,247,255,.82);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}
.vision-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.vision-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,.055);
  color: rgba(234,247,255,.76);
  font-weight: 850;
}

.growth-partner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(5,16,31,.92), rgba(8,24,46,.68)),
    url("images/visuals/ai-interface-laptop.jpg") center / cover;
  box-shadow: var(--shadow);
}
.growth-partner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .45;
  pointer-events: none;
}
.growth-partner > * { position: relative; z-index: 1; }
.growth-lines {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.growth-lines div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-weight: 950;
}

.service-media {
  height: 190px;
  margin: -26px -26px 22px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.matrix-item:hover .service-media img { transform: scale(1.06); }
.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5,16,31,.72));
}
.solution-overview, .included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.solution-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  padding: 24px;
}
.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.process-flow::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--cyan));
  opacity: .55;
}
.flow-step {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5,16,31,.78);
  padding: 20px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.flow-step:hover, .flow-step.active {
  transform: translateY(-6px);
  border-color: rgba(53,244,255,.55);
  box-shadow: 0 22px 60px rgba(24,167,255,.18);
}
.flow-step span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #03101f;
  background: var(--cyan);
  font-weight: 950;
  margin-bottom: 16px;
  box-shadow: 0 0 28px rgba(53,244,255,.4);
}

.price-card { display: grid; gap: 12px; }
.price-card strong { color: var(--cyan); font-size: clamp(26px, 3.2vw, 40px); line-height: 1; }
.price-card.featured { border-color: rgba(53,244,255,.5); }

.quote-band {
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}
.process-step span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #02101d;
  background: var(--cyan);
  font-weight: 950;
  margin-bottom: 18px;
}
.timeline { display: grid; gap: 18px; border-left: 2px solid var(--cyan); padding-left: 24px; }
.timeline article { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.05); overflow: hidden; }
.faq-q { width: 100%; padding: 18px 20px; background: transparent; border: 0; text-align: left; color: var(--white); font-weight: 900; cursor: pointer; }
.faq-a { display: none; padding: 0 20px 20px; color: rgba(234,247,255,.68); }
.faq-item.open .faq-a { display: block; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 850; color: var(--white); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.045));
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:hover, select:hover, textarea:hover { border-color: rgba(53,244,255,.35); }
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53,244,255,.12), 0 0 24px rgba(24,167,255,.16);
  background: rgba(8,24,46,.9);
}
input:invalid:not(:placeholder-shown), textarea:invalid:not(:placeholder-shown) { border-color: rgba(255,79,216,.65); }
option { color: #061222; }
textarea { resize: vertical; }
[data-form-response] { align-self: center; color: var(--cyan); font-weight: 850; }
.form .btn { align-self: start; }

.footer {
  background: #020712;
  color: #fff;
  padding: 64px 0 26px;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .9fr 1.1fr; gap: 30px; }
.footer-logo {
  width: 250px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
  border-radius: var(--radius);
  margin-bottom: 18px;
  filter: drop-shadow(0 0 18px rgba(53,244,255,.16));
}
.footer p, .footer a { color: rgba(234,247,255,.7); }
.footer a { display: block; margin: 8px 0; }
.footer a:not(.btn) {
  width: fit-content;
  transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
  position: relative;
}
.footer a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--cyan);
  transition: right .22s ease;
}
.footer a:not(.btn):hover {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(53,244,255,.45);
  transform: translateX(3px);
}
.footer a:not(.btn):hover::after { right: 0; }
.newsletter { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 14px; }
.bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  color: rgba(234,247,255,.58);
  font-size: 14px;
}

.whatsapp, .chat-launch {
  position: fixed;
  right: 22px;
  z-index: 44;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.whatsapp {
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
}
.whatsapp svg { width: 28px; height: 28px; fill: currentColor; }
.chat-launch {
  bottom: 92px;
  border: 1px solid rgba(53,244,255,.45);
  background: linear-gradient(135deg, rgba(24,167,255,.95), rgba(139,92,255,.95));
  color: #fff;
  border-radius: 999px;
  padding: 12px 15px;
  cursor: pointer;
  font-weight: 900;
}
.chatbot {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 45;
  width: min(390px, calc(100vw - 32px));
  background: rgba(5,16,31,.94);
  border: 1px solid rgba(53,244,255,.34);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  backdrop-filter: blur(18px);
}
.chatbot.open { display: block; }
.chat-head { background: rgba(255,255,255,.07); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chat-head button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.chat-body { padding: 16px; display: grid; gap: 12px; }
.chat-msg { padding: 12px; border-radius: var(--radius); background: rgba(53,244,255,.1); color: var(--ink); font-size: 14px; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-suggestions button { border: 1px solid var(--line); background: rgba(255,255,255,.06); border-radius: 999px; padding: 7px 10px; color: var(--ink); cursor: pointer; font-weight: 800; font-size: 13px; }
.chat-log {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}
.chat-msg.user {
  justify-self: end;
  max-width: 88%;
  background: linear-gradient(135deg, rgba(53,244,255,.22), rgba(139,92,255,.22));
}
.chat-msg.assistant { justify-self: start; max-width: 92%; }
.chat-typing {
  display: none;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
}
.chat-typing.active { display: block; }
.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.chat-form input { min-height: 42px; }
.chat-form button {
  border: 0;
  border-radius: var(--radius);
  padding: 0 14px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #03101f;
  font-weight: 950;
  cursor: pointer;
}
.chat-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.chat-cta a {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
  color: var(--ink);
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 900;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.chat-cta a:hover { color: var(--cyan); border-color: rgba(53,244,255,.55); transform: translateY(-1px); }

.language-prompt {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(560px, calc(100vw - 32px));
  display: none;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(53,244,255,.38);
  background: rgba(5,16,31,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.language-prompt.open { display: grid; }
.language-prompt p { margin: 0; color: rgba(234,247,255,.82); }
.language-prompt-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.reveal, [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in, [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav .container { padding: 12px 0; }
  .brand { min-width: 0; }
  .brand-logo { width: 210px; }
  .menu-toggle { display: grid; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .navlinks {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(4,12,25,.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav-open .navlinks { opacity: 1; transform: none; pointer-events: auto; }
  .navlinks a { padding: 12px 10px; border-bottom: 1px solid rgba(134,213,255,.08); }
  .navlinks a.active { border-color: rgba(53,244,255,.45); }
  .mobile-lang { display: flex; padding: 12px 10px 4px; }
  .hero-grid, .media-split, .team-feature, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .service-matrix, .trust-strip { grid-template-columns: 1fr; }
  .solution-overview, .included-grid, .process-flow { grid-template-columns: 1fr; }
  .process-flow::before { left: 38px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .hero-grid { min-height: auto; padding-top: 58px; }
  .hero-visual { min-height: 480px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .section-head { display: grid; align-items: start; }
}

@media (max-width: 620px) {
  .topbar .container { display: grid; justify-content: start; padding: 8px 0; }
  .brand-logo { width: 184px; height: 58px; }
  h1 { font-size: 38px; line-height: 1.02; }
  .page-hero { background-attachment: scroll; }
  .hero p, .lead { font-size: 16px; }
  .hero-actions, .newsletter, .quote-band, .language-prompt { display: grid; }
  .language-prompt { grid-template-columns: 1fr; }
  .language-prompt-actions { display: grid; }
  .btn { width: 100%; }
  .section { padding: 64px 0; }
  .hero-visual { min-height: 360px; }
  .hero-image { height: 350px; }
  .code-rain, .data-panel { display: none; }
  .orbital-card, .signal-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; margin-top: 10px; }
  .stats { grid-template-columns: 1fr; margin-top: 0; border-radius: 0; border-left: 0; border-right: 0; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .form { grid-template-columns: 1fr; }
  .team-photo, .team-card .team-photo { min-height: 360px; }
  .team-content { padding: 24px; }
  .vision-list, .growth-lines, .chat-form, .chat-cta { grid-template-columns: 1fr; }
  .bottom { display: grid; gap: 8px; }
  .whatsapp { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .chat-launch { width: 50px; height: 50px; right: 16px; bottom: 78px; padding: 0; font-size: 0; }
  .chat-launch::before { content: "AI"; font-size: 15px; }
  .chatbot { right: 16px; bottom: 78px; }
}
