/* ============================================================
   HEEBA RIS PACS — marketing site
   Dark "reading-room" aesthetic · cyan/blue accents · glass UI
   ============================================================ */

:root {
  --bg: #05070d;
  --bg-2: #090d17;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(148, 180, 226, 0.14);
  --text: #e8eef8;
  --muted: #96a3ba;
  --brand: #2b5fa3;
  --cy: #38bdf8;
  --bl: #3b82f6;
  --vi: #8b5cf6;
  --grad: linear-gradient(92deg, #38bdf8 0%, #3b82f6 45%, #8b5cf6 100%);
  --radius: 18px;
  --font-d: "Space Grotesk", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cy); text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.15; letter-spacing: -0.015em; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fine { font-size: 0.82rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.62rem 1.25rem; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; font-family: var(--font-d);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s;
  white-space: nowrap;
}
.btn-lg { padding: 0.85rem 1.7rem; font-size: 1rem; }
.btn-primary {
  background: var(--grad); color: #04101f;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(56, 189, 248, 0.4); }
.btn-outline { border-color: rgba(148, 180, 226, 0.35); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-outline:hover { border-color: var(--cy); transform: translateY(-2px); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 13, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.nav.scrolled { background: rgba(5, 7, 13, 0.85); border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1220px; margin: 0 auto; padding: 0.7rem 1.4rem;
  display: flex; align-items: center; gap: 1.6rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-chip {
  background: #fff; border-radius: 10px; padding: 4px 8px; display: inline-flex;
  box-shadow: 0 2px 12px rgba(56, 189, 248, 0.25);
}
.brand-chip img { height: 26px; width: auto; }
.brand-name { font-family: var(--font-d); font-weight: 700; font-size: 1.05rem; color: var(--text); letter-spacing: 0.02em; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--cy); }
.nav-links { display: flex; gap: 1.1rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.15s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 0.6rem; align-items: center; }
.nav-burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 9.5rem 1.4rem 4rem; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; pointer-events: none;
}
.hero-glow-1 { width: 640px; height: 640px; background: rgba(59, 130, 246, 0.35); top: -240px; left: -160px; }
.hero-glow-2 { width: 560px; height: 560px; background: rgba(139, 92, 246, 0.28); top: -120px; right: -180px; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(148,180,226,0.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,180,226,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 55%, transparent 100%);
}
.hero-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.hero-badges { display: flex; gap: 0.55rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.pill {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.38rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
}
.pill-glow { border-color: rgba(56, 189, 248, 0.45); color: var(--cy); box-shadow: 0 0 22px rgba(56,189,248,0.18) inset; }
.hero-title { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; margin-bottom: 1.3rem; }
.hero-sub { max-width: 680px; margin: 0 auto 2rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.16rem); }
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 860px; margin: 0 auto 3.6rem;
}
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 0.8rem; backdrop-filter: blur(8px);
}
.stat-num {
  display: block; font-family: var(--font-d); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 0.8rem; color: var(--muted); }

.hero-shot { max-width: 1020px; margin: 0 auto; }
.hero-shot figcaption { margin-top: 0.9rem; font-size: 0.82rem; color: var(--muted); }

/* ---------- browser mockup ---------- */
.browser-mock {
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(148, 180, 226, 0.22);
  background: #0b1020;
  box-shadow: 0 30px 90px rgba(2, 6, 18, 0.75), 0 0 60px rgba(56, 189, 248, 0.08);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 14px; background: #0e1526;
  border-bottom: 1px solid rgba(148, 180, 226, 0.14);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.browser-url {
  margin-left: 10px; font-size: 0.72rem; color: var(--muted);
  background: rgba(255,255,255,0.05); border-radius: 6px; padding: 3px 12px;
}
.browser-mock img { cursor: zoom-in; }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 0.95rem 0; overflow: hidden; background: var(--bg-2);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 3.2rem; width: max-content; animation: scroll 36s linear infinite; }
.marquee-track span {
  font-family: var(--font-d); font-weight: 600; font-size: 0.95rem;
  color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 5.5rem 1.4rem; max-width: 1220px; margin: 0 auto; }
.section-alt {
  max-width: none;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-alt > * { max-width: 1220px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.4rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-d); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cy); margin-bottom: 0.9rem;
}
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 0.9rem; }
.section-head p { color: var(--muted); }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pillar {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; transition: transform 0.22s ease, border-color 0.22s, background 0.22s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(56, 189, 248, 0.4); background: var(--panel-2); }
.pillar-ico { font-size: 1.7rem; margin-bottom: 0.8rem; }
.pillar h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.pillar p { font-size: 0.88rem; color: var(--muted); }

/* ---------- product tour ---------- */
.tour-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center;
  padding: 3.2rem 0; border-bottom: 1px dashed rgba(148, 180, 226, 0.12);
}
.tour-row:last-child { border-bottom: 0; }
.tour-row.rev .tour-copy { order: 2; }
.tour-row.rev .tour-shot { order: 1; }
.tour-tag {
  display: inline-block; font-family: var(--font-d); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cy); border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.28rem 0.8rem; border-radius: 999px; margin-bottom: 1rem;
}
.tour-copy h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 0.85rem; }
.tour-copy > p { color: var(--muted); margin-bottom: 1.2rem; }
.ticks { list-style: none; }
.ticks li {
  position: relative; padding-left: 1.7rem; margin-bottom: 0.55rem;
  color: #c3cede; font-size: 0.93rem;
}
.ticks li b { color: var(--text); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--cy); font-weight: 700;
}
.tour-shot { min-width: 0; }

/* mobile tour row */
.tour-mobile { grid-template-columns: 1fr 1fr; }
.phones { display: flex; justify-content: center; gap: 1.4rem; align-items: flex-start; }
.phone-mock {
  position: relative; width: min(230px, 38vw);
  border-radius: 34px; overflow: hidden;
  border: 3px solid #1d2b45; background: #000;
  box-shadow: 0 26px 70px rgba(2, 6, 18, 0.8), 0 0 44px rgba(56, 189, 248, 0.1);
}
.phone-2 { margin-top: 2.6rem; }
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 15px; background: #000; border-radius: 999px; z-index: 2;
}
.phone-mock img { cursor: zoom-in; }

/* ---------- feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feat {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem 1.2rem; transition: transform 0.2s ease, border-color 0.2s;
}
.feat:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.45); }
.feat span { font-size: 1.35rem; }
.feat h4 { font-size: 0.98rem; margin: 0.55rem 0 0.35rem; }
.feat p { font-size: 0.84rem; color: var(--muted); }

/* ---------- deployment ---------- */
.deploy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 2rem; }
.dcard {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.5rem;
}
.dcard h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.dcard p { font-size: 0.9rem; color: var(--muted); }
.dcard-hi { border-color: rgba(56, 189, 248, 0.5); background: linear-gradient(180deg, rgba(56,189,248,0.09), var(--panel)); }
.dcard-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #04101f; font-family: var(--font-d);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.9rem; border-radius: 999px;
}
.deploy-points {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; justify-content: center;
  color: var(--muted); font-size: 0.88rem;
}

/* ---------- HEEBA TROS ---------- */
.tros { position: relative; overflow: hidden; }
.tros-glow {
  position: absolute; inset: -20% -10% auto; height: 70%;
  background:
    radial-gradient(600px 340px at 24% 30%, rgba(56, 189, 248, 0.09), transparent 70%),
    radial-gradient(600px 340px at 78% 20%, rgba(139, 92, 246, 0.09), transparent 70%);
  pointer-events: none;
}
.tros > * { position: relative; }
.eyebrow-soon {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(56, 189, 248, 0.4); border-radius: 999px;
  padding: 0.32rem 0.9rem; background: rgba(56, 189, 248, 0.08);
}
.soon-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cy);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55); animation: soonPulse 1.8s infinite;
}
@keyframes soonPulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.hero-tagline {
  font-family: var(--font-d); font-size: 0.92rem; letter-spacing: 0.06em;
  color: var(--muted); margin: 0.9rem 0 0.2rem;
}
.hero-tagline b { color: var(--cy); }
.tros-hero {
  max-width: 900px; margin: 0 auto 2.6rem;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #070b14; box-shadow: 0 24px 70px rgba(2, 6, 18, 0.55);
}
.tros-hero img { width: 100%; display: block; }
.tros-radmanager {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center;
  max-width: 1000px; margin: 0 auto 2.8rem;
  background: linear-gradient(120deg, rgba(56,189,248,0.07), rgba(139,92,246,0.07));
  border: 1px solid rgba(56, 189, 248, 0.28); border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.tros-rm-head h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0.55rem 0 0.6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tros-rm-head p { font-size: 0.92rem; color: var(--muted); }
.tros-rm-ticks li { font-size: 0.9rem; }
.tros-flow {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem;
  max-width: 1100px; margin: 0 auto 2.8rem;
}
.tros-step {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 1rem 0.95rem 1.1rem; text-align: left;
}
.tros-step span {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; font-family: var(--font-d); font-size: 0.78rem; font-weight: 700;
  background: var(--grad); color: #04121f; margin-bottom: 0.55rem;
}
.tros-step b { display: block; font-family: var(--font-d); font-size: 0.86rem; margin-bottom: 0.3rem; }
.tros-step p { font-size: 0.76rem; color: var(--muted); line-height: 1.45; }
.tros-feats { margin-top: 0; }
.tros-feats .feat p b { color: var(--text); }
.tros-cta { text-align: center; margin-top: 2.6rem; }
.tros-cta p { font-family: var(--font-d); font-size: 1.05rem; margin-bottom: 1rem; }

/* ---------- services ---------- */
.exp-banner {
  display: flex; align-items: center; gap: 1.6rem;
  max-width: 780px; margin: 0 auto 3rem;
  background: linear-gradient(92deg, rgba(56,189,248,0.1), rgba(139,92,246,0.1));
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: var(--radius); padding: 1.4rem 1.8rem;
  box-shadow: 0 0 44px rgba(56, 189, 248, 0.1);
}
.exp-num {
  font-family: var(--font-d); font-weight: 700; line-height: 1;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.exp-banner b { font-family: var(--font-d); font-size: 1.05rem; }
.exp-banner p { font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.svc-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.22s ease, border-color 0.22s, box-shadow 0.22s;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 18px 50px rgba(2, 6, 18, 0.6), 0 0 34px rgba(56, 189, 248, 0.1);
}
.svc-img { aspect-ratio: 3 / 2; overflow: hidden; background: #070b14; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.svc-card:hover .svc-img img { transform: scale(1.045); }
.svc-body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.svc-body h3 { font-size: 1.12rem; }
.svc-body p { font-size: 0.89rem; color: var(--muted); }
.svc-body p b { color: var(--text); }
.svc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 0.4rem; }
.svc-tags li {
  font-family: var(--font-d); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--cy); border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.07);
  padding: 0.22rem 0.66rem; border-radius: 999px;
}
.svc-wide { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.svc-wide .svc-img { flex: 0 0 44%; aspect-ratio: auto; }
.svc-wide .svc-body { justify-content: center; padding: 1.8rem 2rem; }
.svc-wide .svc-tags { margin-top: 0.3rem; }

/* ---------- certifications ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cert {
  text-align: center; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.1rem 1.5rem;
}
.cert-seal { width: 96px; height: 96px; color: var(--cy); margin: 0 auto 1rem; filter: drop-shadow(0 0 18px rgba(56,189,248,0.35)); }
.cert h4 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.cert p { font-size: 0.86rem; color: var(--muted); }

/* ---------- about ---------- */
.about-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.1rem; }
.about-lead { font-size: 1.05rem; margin-bottom: 1rem; color: #c3cede; }
.about-copy > p { color: var(--muted); margin-bottom: 1.6rem; }
.about-copy strong { color: var(--text); }
.about-mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.about-mini-stats div {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.8rem 0.6rem; text-align: center;
}
.about-mini-stats b { display: block; font-family: var(--font-d); font-size: 1.15rem; color: var(--cy); }
.about-mini-stats span { font-size: 0.72rem; color: var(--muted); }
.about-quote {
  margin-top: 1.2rem; padding: 1.2rem 1.4rem; border-left: 3px solid var(--cy);
  background: var(--panel); border-radius: 0 14px 14px 0;
  font-size: 0.95rem; color: #c3cede; font-style: italic;
}
.about-quote cite { display: block; margin-top: 0.6rem; font-size: 0.8rem; color: var(--muted); font-style: normal; }

/* ---------- contact ---------- */
.contact { position: relative; text-align: center; overflow: hidden; }
.contact-glow {
  position: absolute; width: 720px; height: 480px; left: 50%; top: -160px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.28), transparent 65%);
  filter: blur(60px); pointer-events: none;
}
.contact-inner { position: relative; }
.contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.8rem; }
.contact > .contact-inner > p { color: var(--muted); max-width: 620px; margin: 0 auto 2rem; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; text-align: left; }
.ccard {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.ccard h4 { font-size: 0.95rem; margin-bottom: 0.6rem; color: var(--cy); }
.ccard p { font-size: 0.89rem; color: var(--muted); margin-bottom: 0.5rem; }
.ccard a { font-size: 0.89rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 3rem 1.4rem 1.4rem; }
.footer-inner {
  max-width: 1220px; margin: 0 auto 2rem;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 2.5rem;
}
.footer-brand { display: flex; gap: 0.9rem; align-items: flex-start; }
.footer-brand b { font-family: var(--font-d); }
.footer-brand p { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.footer-cols h5 {
  font-family: var(--font-d); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem;
}
.footer-cols a { display: block; color: #c3cede; font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer-cols a:hover { color: var(--cy); }
.footer-base {
  max-width: 1220px; margin: 0 auto; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.78rem; color: var(--muted);
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(3, 5, 10, 0.92); backdrop-filter: blur(6px); padding: 3vh 3vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,0.7); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  background: rgba(255,255,255,0.08); color: var(--text);
  border: 1px solid var(--line); border-radius: 50%;
  width: 42px; height: 42px; font-size: 1.05rem; cursor: pointer;
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(9, 13, 23, 0.85); color: var(--cy);
  cursor: pointer; backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(2, 6, 18, 0.6), 0 0 22px rgba(56, 189, 248, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(56, 189, 248, 0.18); transform: translateY(-2px); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1220px) {
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(5, 7, 13, 0.97);
    border-bottom: 1px solid var(--line); padding: 0.6rem 0;
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .nav-links.open a { padding: 0.8rem 1.6rem; font-size: 1rem; }
}

@media (max-width: 1020px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-wide { flex-direction: column; }
  .svc-wide .svc-img { flex: none; aspect-ratio: 3 / 2; }
  .tros-flow { grid-template-columns: repeat(3, 1fr); }
  .tros-radmanager { grid-template-columns: 1fr; gap: 1.2rem; }
  .tour-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .tour-row.rev .tour-copy { order: 0; }
  .tour-row.rev .tour-shot { order: 1; }
  .about-wrap { grid-template-columns: 1fr; }
  .certs, .deploy-cards, .contact-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .hero { padding-top: 7.5rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .exp-banner { flex-direction: column; text-align: center; gap: 0.6rem; }
  .tros-flow { grid-template-columns: repeat(2, 1fr); }
  .tros-radmanager { padding: 1.4rem 1.3rem; }
  .about-mini-stats { grid-template-columns: repeat(2, 1fr); }
  .phones { gap: 0.9rem; }
  .phone-2 { margin-top: 1.4rem; }
}

@media (max-width: 560px) {
  .section { padding: 4rem 1.1rem; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-base { justify-content: center; text-align: center; }
  .contact-actions .btn-lg { width: 100%; justify-content: center; }
  .hero-actions .btn-lg { width: min(320px, 100%); justify-content: center; }
  .tros-flow { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
