/* ============================================================
   Jumbe Network Solutions — styles
   Brand: navy #0c1a4d / #10205f  ·  blue #2f7fc8 / #3a93dd
   ============================================================ */

:root {
  --navy-900: #0a1740;
  --navy-800: #0c1a4d;
  --navy-700: #10205f;
  --navy-600: #152a73;
  --blue-500: #2f7fc8;
  --blue-400: #3a93dd;
  --blue-300: #5aa9e8;
  --ink: #0e1a35;
  --slate: #4a5878;
  --muted: #6b7896;
  --line: #e3e8f3;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --bg-soft: #eef3fb;
  --white: #ffffff;

  --grad: linear-gradient(120deg, var(--blue-400), var(--navy-700));
  --grad-soft: linear-gradient(135deg, #eaf2fc, #f6f9fe);
  --shadow-sm: 0 2px 8px rgba(12, 26, 77, .06);
  --shadow-md: 0 14px 40px rgba(12, 26, 77, .10);
  --shadow-lg: 0 30px 70px rgba(12, 26, 77, .18);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; color: var(--navy-800); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.22rem; }
p { color: var(--slate); }

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .82rem 1.5rem; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(47, 127, 200, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(47, 127, 200, .45); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: .55rem 0;
  background: rgba(255,255,255,.0);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  box-shadow: var(--shadow-sm);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { width: 40px; height: 40px; filter: drop-shadow(0 4px 10px rgba(47,127,200,.3)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--navy-800); letter-spacing: .02em; }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: .58rem; letter-spacing: .28em; color: var(--blue-500); margin-top: 2px; }

/* header over hero (before scroll) uses light text */
.site-header:not(.scrolled) .brand-name { color: #fff; }
.site-header:not(.scrolled) .nav > a { color: rgba(255,255,255,.86); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a { font-weight: 500; font-size: .96rem; color: var(--slate); transition: color .2s; }
.nav > a:hover { color: var(--blue-500); }
.nav .nav-cta { color: #fff; }
.site-header:not(.scrolled) .nav .nav-cta { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, #16307e 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff;
  padding: clamp(7rem, 13vh, 9rem) 0 clamp(3rem, 8vh, 6rem);
}
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  right: -10%; top: -20%; pointer-events: none;
  background: radial-gradient(circle, rgba(58,147,221,.45), transparent 60%);
  filter: blur(20px);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.hero-inner > * { min-width: 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-300);
  padding: .45rem .9rem; border: 1px solid rgba(90,169,232,.4); border-radius: 999px;
  background: rgba(90,169,232,.08); margin-bottom: 1.3rem;
}
.hero h1 { color: #fff; font-size: clamp(2.05rem, 7.2vw, 4.1rem); font-weight: 800; }
.grad-text {
  background: linear-gradient(100deg, #6fb6f2, #b9d8f7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: rgba(233,240,252,.86); font-size: clamp(1.02rem, 1.6vw, 1.18rem); margin: 1.3rem 0 2rem; max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: #fff; }
.hero-stats span { font-size: .82rem; color: rgba(233,240,252,.7); letter-spacing: .02em; }

/* hero visual: animated signal */
.hero-visual { display: flex; justify-content: center; }
.signal-stage { position: relative; width: min(380px, 78vw); aspect-ratio: 1; display: grid; place-items: center; }
.signal-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.signal-rings span {
  position: absolute; border: 1.5px solid rgba(90,169,232,.5); border-radius: 50%;
  width: 40%; height: 40%; animation: ripple 3.6s ease-out infinite;
}
.signal-rings span:nth-child(2) { animation-delay: .9s; }
.signal-rings span:nth-child(3) { animation-delay: 1.8s; }
.signal-rings span:nth-child(4) { animation-delay: 2.7s; }
@keyframes ripple {
  0% { width: 30%; height: 30%; opacity: .9; }
  100% { width: 105%; height: 105%; opacity: 0; }
}
.signal-mark {
  width: 46%; position: relative; z-index: 2;
  background: rgba(255,255,255,.96); border-radius: 28px; padding: 22px;
  box-shadow: 0 30px 70px rgba(4, 12, 40, .55);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(-8px);} 50% { transform: translateY(8px);} }
.orbit { position: absolute; inset: 0; border-radius: 50%; animation: spin 16s linear infinite; }
.orbit-2 { animation-duration: 24s; animation-direction: reverse; inset: 12%; }
.orbit i {
  position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue-300); box-shadow: 0 0 16px var(--blue-300); transform: translateX(-50%);
}
.orbit-2 i { background: #fff; box-shadow: 0 0 14px #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-cue span { display: block; width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.4); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s ease infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0);} 40% { opacity: 1;} 100% { opacity: 0; transform: translate(-50%, 12px);} }

/* ---------- Trust strip ---------- */
.strip { background: var(--navy-900); color: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding: 1.1rem 0; }
.strip-item { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: rgba(233,240,252,.92); }
.strip-item .ic { width: 20px; height: 20px; color: var(--blue-300); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.6rem, 8vh, 6.4rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 660px; margin-bottom: 2.8rem; }
.section-head.light h2 { color: #fff; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-500); margin-bottom: .7rem; }
.kicker::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--blue-500); vertical-align: middle; margin-right: .55rem; }
.section-head p { font-size: 1.06rem; margin-top: .6rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p { margin-bottom: 1rem; }
.cycle { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.6rem; }
.cycle span { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy-700); background: var(--bg-soft); border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 999px; }
.cycle-arrow { width: 20px; height: 20px; color: var(--blue-400); }

.about-card { background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-md); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem; transition: transform .25s, box-shadow .25s; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini .ic { width: 30px; height: 30px; color: var(--blue-500); margin-bottom: .7rem; }
.mini h3 { font-size: 1rem; margin-bottom: .25rem; }
.mini p { font-size: .88rem; line-height: 1.5; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar-ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); margin-bottom: 1.1rem; box-shadow: 0 10px 24px rgba(47,127,200,.3); }
.pillar-ic svg { width: 28px; height: 28px; color: #fff; }
.pillar h3 { margin-bottom: .15rem; }
.pillar-tag { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--blue-500); margin-bottom: .7rem; }
.pillar > p { font-size: .95rem; margin-bottom: 1rem; }

.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; font-size: .92rem; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px;
  border-left: 2px solid var(--blue-500); border-bottom: 2px solid var(--blue-500); transform: rotate(-45deg);
}
.ticks.small li { font-size: .88rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy-700); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Tabs ---------- */
.tab-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.tab {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: .7rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--slate); transition: all .25s;
}
.tab:hover { border-color: var(--blue-400); color: var(--blue-500); }
.tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(47,127,200,.3); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
.panel-lead { font-size: 1.05rem; color: var(--navy-700); margin-bottom: 1.4rem; font-weight: 500; }
.panel-lead em { color: var(--blue-500); font-style: italic; font-weight: 400; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.5rem; transition: transform .25s, box-shadow .25s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card h4 { font-size: 1.05rem; color: var(--navy-800); margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 2px solid var(--blue-400); display: inline-block; }
.info-card ul li { position: relative; padding-left: 1.2rem; font-size: .9rem; color: var(--slate); margin-bottom: .45rem; }
.info-card ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); }

/* ---------- Connectivity ---------- */
.conn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.conn-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.conn-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.conn-ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 1rem; }
.conn-ic svg { width: 26px; height: 26px; color: var(--blue-500); }
.conn-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.conn-card > p { font-size: .9rem; margin-bottom: 1rem; }

/* ---------- Hotspot ---------- */
.hotspot-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: center; }
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.cap { display: flex; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cap .ic { flex: none; width: 30px; height: 30px; color: var(--blue-500); margin-top: 2px; }
.cap h4 { font-size: 1rem; margin-bottom: .2rem; }
.cap p { font-size: .85rem; line-height: 1.5; }

/* phone mockup */
.phone { display: flex; justify-content: center; }
.phone-frame {
  position: relative; width: 270px; aspect-ratio: 270 / 560; background: #0b0f1a; border-radius: 38px;
  padding: 14px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3350;
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #0b0f1a; border-radius: 0 0 14px 14px; z-index: 3; }
.phone-screen { height: 100%; background: linear-gradient(180deg, #fff, #f3f7fd); border-radius: 26px; padding: 2.6rem 1.3rem 1.3rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.phone-logo { width: 60px; margin-bottom: .5rem; }
.phone-title { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; color: var(--blue-500); margin-bottom: 1.1rem; }
.phone-field { width: 100%; text-align: left; font-size: .68rem; color: var(--muted); margin-bottom: .3rem; }
.phone-field.input { height: 34px; background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .8rem; }
.phone-btn { width: 100%; background: var(--grad); color: #fff; border: 0; border-radius: 8px; padding: .6rem; font-family: var(--font-head); font-weight: 600; font-size: .8rem; }
.phone-or { font-size: .66rem; color: var(--muted); margin: .9rem 0 .5rem; }
.phone-socials { display: flex; gap: .5rem; }
.phone-socials span { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); }
.phone-powered { margin-top: auto; font-size: .58rem; color: var(--muted); }

/* ---------- Approach ---------- */
.section-dark { background: radial-gradient(120% 120% at 0% 0%, #16307e, var(--navy-800) 55%, var(--navy-900)); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2rem 1.6rem; backdrop-filter: blur(6px); }
.step-no { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; background: linear-gradient(120deg, var(--blue-300), #b9d8f7); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: .4rem; }
.step h3 { color: #fff; margin-bottom: .4rem; }
.step p { color: rgba(233,240,252,.78); font-size: .95rem; }
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -1.05rem; width: 1.5rem; height: 2px;
  background: linear-gradient(90deg, var(--blue-400), transparent); display: none;
}

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.why-card { position: relative; padding: 1.8rem 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--bg-alt)); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; overflow: hidden; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-no { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; margin-bottom: 1rem; box-shadow: 0 8px 20px rgba(47,127,200,.32); }
.why-card h3 { font-size: 1.06rem; margin-bottom: .4rem; }
.why-card p { font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-copy h2 { margin-bottom: 1rem; }
.contact-list { margin: 1.6rem 0 1.2rem; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; font-weight: 500; color: var(--ink); }
.contact-list .ic { width: 22px; height: 22px; color: var(--blue-500); flex: none; }
.contact-list a:hover { color: var(--blue-500); }
.muted-note { font-size: .9rem; color: var(--muted); font-style: italic; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-md); }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--navy-700); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  padding: .72rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-alt);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(58,147,221,.14);
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { margin-top: 1rem; padding: .8rem 1rem; background: #e8f5ec; border: 1px solid #b6e0c2; border-radius: 10px; color: #1f7a44; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(233,240,252,.7); padding: 3rem 0 1.6rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand-name { color: #fff; }
.footer-tag { margin-top: .7rem; font-size: .9rem; color: rgba(233,240,252,.6); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.footer-nav a { font-size: .94rem; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 1.4rem; font-size: .85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 760px) { .steps .step:not(:last-child)::after { display: block; } }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; }
  .signal-stage { width: min(300px, 64vw); }
  .about-grid, .hotspot-wrap, .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .pillars, .cards-3, .steps { grid-template-columns: 1fr; }
  .conn-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .phone { order: -1; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 64px 12px auto 12px; flex-direction: column; align-items: stretch; gap: .3rem;
    background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border: 1px solid var(--line);
    border-radius: 16px; padding: .8rem; box-shadow: var(--shadow-lg);
    transform-origin: top; transform: scaleY(.6); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a { color: var(--ink) !important; padding: .7rem .8rem; border-radius: 10px; }
  .nav > a:hover { background: var(--bg-alt); }
  .nav .nav-cta { color: #fff !important; text-align: center; margin-top: .3rem; }
  .nav-toggle { display: flex; }
  .site-header.scrolled, .site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
  .site-header .brand-name { color: var(--navy-800); }
  .site-header .nav-toggle span { background: var(--navy-800); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 540px) {
  .conn-grid, .why-grid, .capabilities, .mini-grid, .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.6rem; }
  .hero-stats strong { font-size: 1.6rem; }
  .brand-sub { font-size: .52rem; letter-spacing: .2em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
