/* ============================================================
   MASINGA GROUP — Shared Stylesheet (Premium Edition)
   Divisions: Masinga Technologies | Masinga Digital | Masinga Automations
   Palette: charcoal #0b0e16 · gold #c9a227 · champagne #e8c07a · ivory #faf9f5
   ============================================================ */

:root {
  --charcoal: #0a1628;
  --navy: #122640;
  --navy-3: #1b3450;
  --gold: #2e5f7f;
  --champagne: #a8cbe8;
  --ivory: #f4f7fa;
  --ink: #22252e;
  --grey: #6b7180;
  --line: #d9e2ec;
  --white: #ffffff;
  --navy-dark: var(--charcoal);
  --sky: var(--ivory);
  --blue: var(--gold);
  --blue-bright: var(--gold);
  --steel: #23283a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, .serif { font-family: 'Playfair Display', Georgia, serif; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  background: #0b1523;
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(10, 22, 38, .3);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 14, 22, .12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 22px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 56px; width: 56px; object-fit: contain; border-radius: 10px; }
.brand-text .brand-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; color: #ffffff; line-height: 1.15; letter-spacing: .5px; }
.brand-text .brand-tag { font-size: .68rem; color: var(--champagne); text-transform: uppercase; letter-spacing: 1.4px; font-weight: 600; white-space: nowrap; }

.main-nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: nowrap; }
.main-nav a {
  display: block;
  padding: 9px 11px;
  white-space: nowrap;
  color: #d7e3f0;
  font-weight: 600;
  font-size: .92rem;
  border-radius: 8px;
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover { background: rgba(168, 203, 232, .14); color: #ffffff; text-decoration: none; }
.main-nav a.active { background: rgba(168, 203, 232, .18); color: #ffffff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 100px 0 110px;
  overflow: hidden;
  background: var(--charcoal);
}
.hero .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .38;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.12) translateY(-2.5%); }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 85% 15%, rgba(46,95,127,.22), transparent 65%),
    linear-gradient(160deg, rgba(11,14,22,.92) 0%, rgba(11,14,22,.78) 45%, rgba(20,24,36,.82) 100%);
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,203,232,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,203,232,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 760px;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--champagne); }
.hero p.lead { font-size: 1.12rem; max-width: 660px; color: #c9cfd9; margin-bottom: 30px; }
.hero .badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.hero .badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(168,203,232,.4);
  color: var(--champagne);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  animation: badgeFloat 5s ease-in-out infinite;
}
.hero .badge:nth-child(2) { animation-delay: 1.2s; }
.hero .badge:nth-child(3) { animation-delay: 2.4s; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero content entrance */
.hero .container > * { animation: heroUp .8s cubic-bezier(.2,.7,.3,1) both; }
.hero .container > *:nth-child(2) { animation-delay: .12s; }
.hero .container > *:nth-child(3) { animation-delay: .24s; }
.hero .container > *:nth-child(4) { animation-delay: .36s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .3px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(120deg, #3b6f96, var(--gold));
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(46,95,127,.35);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 12px 30px rgba(46,95,127,.45); }
.btn-outline { border: 1.5px solid rgba(168,203,232,.55); color: var(--champagne); }
.btn-outline:hover { background: rgba(168,203,232,.12); }
.btn-dark { background: var(--charcoal); color: var(--champagne); }
.btn-dark:hover { background: var(--navy-3); }

/* ---------- Sections ---------- */
section { padding: 68px 0; }
.section-alt { background: var(--white); }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-title h2 { color: var(--charcoal); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; font-weight: 800; }
.section-title p { color: var(--grey); font-size: 1.02rem; }
.section-title::after { content: ""; display: block; width: 64px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg, var(--gold), var(--champagne)); }

/* ---------- Division cards ---------- */
.division-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.division-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-radius: 16px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.division-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(11,14,22,.14); border-top-color: var(--gold); }
.division-card .card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 18px;
}
.division-card .card-icon svg { width: 30px; height: 30px; }
.division-card h3 { color: var(--charcoal); font-size: 1.22rem; margin-bottom: 8px; font-weight: 800; }
.division-card .plain { font-weight: 700; color: var(--gold); font-size: .86rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.division-card p { color: var(--grey); flex-grow: 1; }
.division-card .card-link { margin-top: 18px; font-weight: 700; }
.division-card .card-link:hover { text-decoration: none; color: var(--charcoal); }
.icon-tech { background: linear-gradient(135deg, rgba(46,95,127,.14), rgba(46,95,127,.05)); border: 1px solid rgba(46,95,127,.3); }
.icon-digital { background: linear-gradient(135deg, rgba(46,95,127,.14), rgba(46,95,127,.05)); border: 1px solid rgba(46,95,127,.3); }
.icon-auto { background: linear-gradient(135deg, rgba(46,95,127,.14), rgba(46,95,127,.05)); border: 1px solid rgba(46,95,127,.3); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(11,14,22,.1); border-color: rgba(46,95,127,.5); }
.service-card h4 { color: var(--charcoal); font-size: 1.05rem; margin-bottom: 8px; font-weight: 800; }
.service-card p { color: var(--grey); font-size: .94rem; }
.service-card .tick-list { list-style: none; margin-top: 10px; }
.service-card .tick-list li { font-size: .92rem; color: var(--ink); padding: 3px 0 3px 26px; position: relative; }
.service-card .tick-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- Plain-language helper box ---------- */
.plain-box {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 42px 46px 40px;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}
.plain-box::before, .plain-box::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  pointer-events: none;
}
.plain-box::before { top: 11px; left: 11px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.plain-box::after { bottom: 11px; right: 11px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.plain-box h3 {
  color: var(--charcoal); margin-bottom: 12px; font-size: 1.28rem; font-weight: 800; letter-spacing: .2px;
}
.plain-box p { color: var(--ink); }
.plain-box .example {
  margin-top: 20px;
  padding: 2px 0 2px 22px;
  background: none;
  border: none;
  border-left: 2px solid var(--champagne);
  border-radius: 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--grey);
  font-style: italic;
}
.plain-box .example strong {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .2px;
  margin-right: 6px;
}

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(11,14,22,.1); }
.step-card .step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #3b6f96, var(--gold));
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(46,95,127,.35);
}
.step-card h4 { color: var(--charcoal); margin-bottom: 6px; font-size: 1.02rem; font-weight: 800; }
.step-card p { font-size: .93rem; color: var(--grey); }

/* ---------- Which division guide ---------- */
.guide-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; text-align: left;
}
.guide-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.guide-item:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(11,14,22,.1); }
.guide-item .if { font-weight: 700; color: var(--charcoal); margin-bottom: 8px; font-size: 1rem; }
.guide-item .then { color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.guide-item p { color: var(--grey); font-size: .93rem; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(150deg, var(--charcoal), var(--navy-3)); color: var(--white); padding: 60px 0; position: relative; overflow: hidden; }
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,203,232,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,203,232,.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.cta-strip .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 1.6rem; font-weight: 800; }
.cta-strip p { color: #b9bfca; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(11,14,22,.1); border-color: rgba(46,95,127,.5); }
.contact-card .c-icon { font-size: 1.8rem; margin-bottom: 12px; }
.contact-card h4 { color: var(--charcoal); margin-bottom: 6px; font-weight: 800; }
.contact-card p { color: var(--grey); word-break: break-word; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item h4 { color: var(--charcoal); margin-bottom: 6px; font-weight: 800; }
.faq-item p { color: var(--grey); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #9aa0ac; padding: 56px 0 26px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(168,203,232,.15); }
.footer-grid h4 { color: var(--champagne); margin-bottom: 14px; font-size: 1rem; font-family: 'Inter', sans-serif; letter-spacing: 1px; text-transform: uppercase; font-size: .8rem; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid a { color: #9aa0ac; }
.footer-grid a:hover { color: var(--champagne); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 46px; width: 46px; object-fit: contain; border-radius: 8px; }
.footer-brand .brand-name { color: var(--white); font-weight: 800; font-size: 1.05rem; font-family: 'Playfair Display', serif; letter-spacing: .5px; }
.footer-bottom { padding-top: 22px; text-align: center; color: #6b7180; font-size: .84rem; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted { color: var(--grey); }
.big-phone { font-size: 1.15rem; font-weight: 700; color: var(--charcoal); }

/* ============================================================
   ANIMATED EXAMPLE STRIPS (per division)
   ============================================================ */
.example-strip { max-width: 980px; margin: 46px auto 0; }
.example-strip .strip-head {
  text-align: center; margin-bottom: 26px;
  font-size: .8rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold);
}
.example-strip .strip-head::after { content: ""; display: block; width: 48px; height: 2px; margin: 12px auto 0; background: linear-gradient(90deg, var(--gold), var(--champagne)); }

.strip-panel {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch;
}
.strip-card {
  border-radius: 14px; padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11,14,22,.07);
}
.strip-card h5 { font-family: 'Inter', sans-serif; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; font-weight: 700; }
.strip-card.bad h5 { color: #b3563f; }
.strip-card.good h5 { color: #3f7a52; }
.strip-card ul { list-style: none; }
.strip-card li { font-size: .88rem; padding: 5px 0 5px 22px; position: relative; color: var(--ink); }
.strip-card.bad li::before { content: "✕"; position: absolute; left: 0; color: #b3563f; font-weight: 700; }
.strip-card.good li::before { content: "✓"; position: absolute; left: 0; color: #3f7a52; font-weight: 700; }
.strip-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.6rem; font-weight: 700;
  animation: arrowPulse 1.6s ease-in-out infinite;
}
@keyframes arrowPulse { 0%, 100% { transform: translateX(0); opacity: .6; } 50% { transform: translateX(6px); opacity: 1; } }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(63,122,82,.12); border: 1px solid rgba(63,122,82,.4);
  color: #3f7a52; font-weight: 700; font-size: .8rem;
  padding: 6px 14px; border-radius: 999px; margin-top: 14px; letter-spacing: .5px;
}
.status-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3f7a52; animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(63,122,82,.5); } 50% { box-shadow: 0 0 0 6px rgba(63,122,82,0); } }

/* Digital: animated scanner */
.scan-demo {
  max-width: 720px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 36px rgba(11,14,22,.1);
  display: grid; grid-template-columns: 1fr 1fr;
}
.scan-doc {
  padding: 34px 30px; position: relative;
  background: linear-gradient(180deg, #f4f7fa, #e9eef5);
  overflow: hidden;
}
.scan-doc .doc-lines { display: flex; flex-direction: column; gap: 12px; }
.scan-doc .doc-lines span {
  display: block; height: 10px; border-radius: 5px;
  background: rgba(11,14,22,.14);
}
.scan-doc .doc-lines span:nth-child(1) { width: 55%; background: rgba(11,14,22,.3); }
.scan-doc .doc-lines span:nth-child(2) { width: 90%; }
.scan-doc .doc-lines span:nth-child(3) { width: 82%; }
.scan-doc .doc-lines span:nth-child(4) { width: 88%; }
.scan-doc .doc-lines span:nth-child(5) { width: 60%; }
.scan-beam {
  position: absolute; left: 0; right: 0; height: 46px;
  background: linear-gradient(180deg, transparent, rgba(46,95,127,.35), rgba(168,203,232,.7), rgba(46,95,127,.35), transparent);
  box-shadow: 0 0 24px rgba(46,95,127,.55);
  animation: scanSweep 3.2s ease-in-out infinite;
}
@keyframes scanSweep { 0%, 100% { top: 8%; } 50% { top: 84%; } }
.scan-result { padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: var(--white); }
.scan-result .file-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(46,95,127,.4); border-radius: 10px;
  padding: 10px 16px; font-size: .9rem; font-weight: 600; color: var(--ink);
  background: rgba(46,95,127,.07);
  opacity: 0; transform: translateY(8px);
  animation: chipIn .8s ease forwards;
}
.scan-result .file-chip:nth-child(2) { animation-delay: .5s; }
.scan-result .file-chip:nth-child(3) { animation-delay: 1s; }
.scan-result .file-chip b { color: var(--gold); }
@keyframes chipIn { to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) { .scan-demo { grid-template-columns: 1fr; } }

/* Automations: animated pipeline */
.pipeline {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: nowrap; overflow-x: auto;
  padding: 18px 4px;
}
.pipe-node {
  text-align: center; min-width: 130px; position: relative; z-index: 1;
}
.pipe-node .p-icon {
  width: 62px; height: 62px; margin: 0 auto 10px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--white);
  border: 2px solid var(--line);
  transition: .3s;
}
.pipe-node.active .p-icon {
  border-color: var(--gold);
  box-shadow: 0 0 0 6px rgba(46,95,127,.15), 0 0 26px rgba(46,95,127,.45);
  transform: scale(1.06);
}
.pipe-node .p-label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.pipe-node .p-time { font-size: .72rem; color: var(--grey); }
.pipe-link { flex: 1 1 54px; height: 2px; min-width: 34px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.pipe-link::after {
  content: ""; position: absolute; top: -2px; left: -30%;
  width: 30%; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: pipeFlow 2.8s linear infinite;
}
@keyframes pipeFlow { to { left: 100%; } }
@media (max-width: 640px) { .pipeline { flex-wrap: wrap; gap: 14px; } .pipe-link { display: none; } }

/* About: sequence example */
.seq-example { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.seq-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; opacity: .55; transform: translateY(6px);
  transition: .5s ease;
}
.seq-card.lit { opacity: 1; transform: translateY(0); border-color: rgba(46,95,127,.55); box-shadow: 0 12px 30px rgba(46,95,127,.16); }
.seq-card .s-division { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 6px; }
.seq-card h5 { font-weight: 800; color: var(--charcoal); margin-bottom: 4px; font-size: 1rem; font-family: 'Inter', sans-serif; }
.seq-card p { font-size: .88rem; color: var(--grey); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .strip-panel { grid-template-columns: 1fr; }
  .strip-arrow { transform: rotate(90deg); }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero { padding: 72px 0 82px; }
}


/* ============================================================
   THEME REFINEMENTS & EFFECTS
   ============================================================ */

/* ---------- Header gold band (all pages) ---------- */
.site-header { position: sticky; }
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: linear-gradient(90deg, var(--charcoal), var(--gold) 30%, var(--champagne) 50%, var(--gold) 70%, var(--charcoal));
  background-size: 200% 100%;
  animation: bandFlow 7s linear infinite;
}
@keyframes bandFlow { to { background-position: 200% 0; } }

/* ---------- Nav underline effect ---------- */
.main-nav a { overflow: hidden; }
.main-nav a:not(.active)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--champagne));
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:not(.active):hover::after { transform: scaleX(1); }

/* ---------- Button shine sweep ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}
.btn-primary:hover::before { left: 135%; }

/* ---------- Service card icon chip + sheen ---------- */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(168,203,232,.16) 48%, transparent 62%);
  transform: translateX(-130%);
  transition: transform .75s ease;
}
.service-card:hover::before { transform: translateX(130%); }
.s-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, #f0f5fa, #e2ebf4);
  border: 1px solid rgba(46,95,127,.28);
  box-shadow: 0 6px 16px rgba(10,22,40,.1);
  color: #23425c;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: transform .28s ease, box-shadow .28s ease, color .28s ease;
}
.service-card:hover .s-icon {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 10px 22px rgba(46,95,127,.3);
  color: var(--gold);
}
.g-icon {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(46,95,127,.45);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  transition: transform .28s ease, background .28s ease, color .28s ease;
}
.g-icon svg { width: 19px; height: 19px; }
.guide-item:hover .g-icon {
  transform: rotate(-6deg) scale(1.08);
  background: rgba(46,95,127,.12);
  color: #23425c;
}

/* ---------- Division card icon lift ---------- */
.division-card .card-icon { color: var(--gold); transition: transform .28s ease, box-shadow .28s ease; }
.division-card:hover .card-icon {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 10px 22px rgba(46,95,127,.28);
}

/* ---------- CTA glow orb ---------- */
.cta-strip::after {
  content: ""; position: absolute; pointer-events: none;
  width: 420px; height: 420px; right: -110px; bottom: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,95,127,.16), transparent 65%);
  animation: ctaGlow 7s ease-in-out infinite alternate;
}
@keyframes ctaGlow { from { transform: scale(1); opacity: .55; } to { transform: scale(1.3); opacity: 1; } }

/* ---------- Scroll progress bar ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--champagne));
  z-index: 300; pointer-events: none;
}

/* ---------- Section flourish ---------- */
.section-title h2 { position: relative; display: inline-block; }
.section-title { padding-bottom: 4px; }

@media (prefers-reduced-motion: reduce) {
  .site-header::after, .cta-strip::after { animation: none; }
}

/* ============================================================
   WIDER, RESPONSIVE, ANIMATED HEADER
   ============================================================ */

/* ---------- Wider premium header ---------- */
.site-header {
  animation: headerIn .55s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes headerIn { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.header-inner {
  max-width: 1440px;
  padding: 16px 40px;
  gap: 30px;
  transition: padding .3s ease;
}
.site-header.scrolled .header-inner { padding: 8px 40px; }

.brand img {
  height: 66px; width: 66px;
  transition: height .3s ease, width .3s ease, transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.site-header.scrolled .brand img { height: 50px; width: 50px; }
.brand:hover img { transform: rotate(-6deg) scale(1.05); box-shadow: 0 10px 24px rgba(46,95,127,.28); }
.brand-text .brand-name { font-size: 1.32rem; transition: font-size .3s ease; }
.site-header.scrolled .brand-text .brand-name { font-size: 1.16rem; }

.main-nav ul { gap: 8px; }
.main-nav a { padding: 10px 16px; font-size: .94rem; }
.main-nav a:not(.active):hover { color: var(--navy); }

/* ---------- Hamburger (injected by JS) ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background .2s ease;
}
.nav-toggle:hover { background: rgba(46,95,127,.1); }
.nav-toggle span {
  width: 26px; height: 2.5px; border-radius: 2px;
  background: #ffffff;
  transition: transform .3s ease, opacity .25s ease;
}
.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); }

/* ---------- Mobile nav panel ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 9px 9px; font-size: .87rem; }
  .header-actions { gap: 10px; }
  .header-phone span { display: none; }
  .brand-text .brand-tag { font-size: .6rem; letter-spacing: 1px; }
}
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .header-inner { padding: 12px 22px; }
  .site-header.scrolled .header-inner { padding: 8px 22px; }
  .brand img { height: 54px; width: 54px; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(11, 21, 35, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(168,203,232,.25);
    box-shadow: 0 24px 48px rgba(0,0,0,.4);
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity .32s ease, transform .32s ease;
  }
  .site-header.nav-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 26px 24px;
  }
  .site-header.nav-open .main-nav li {
    animation: navItemIn .4s cubic-bezier(.2,.7,.3,1) both;
  }
  .site-header.nav-open .main-nav li:nth-child(1) { animation-delay: .05s; }
  .site-header.nav-open .main-nav li:nth-child(2) { animation-delay: .1s; }
  .site-header.nav-open .main-nav li:nth-child(3) { animation-delay: .15s; }
  .site-header.nav-open .main-nav li:nth-child(4) { animation-delay: .2s; }
  .site-header.nav-open .main-nav li:nth-child(5) { animation-delay: .25s; }
  .site-header.nav-open .main-nav li:nth-child(6) { animation-delay: .3s; }
  .main-nav a { padding: 13px 16px; font-size: 1rem; border-radius: 10px; }
  .main-nav a.active::after { display: none; }
}
@keyframes navItemIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* icon containers pick up steel blue */
.contact-card .c-icon { color: var(--gold); }
.pipe-node .p-icon { color: var(--gold); }
.division-card .card-icon svg { width: 30px; height: 30px; }

/* ============================================================
   DAISY-STYLE LAYOUT BLOCKS
   ============================================================ */

/* ---------- Header actions (phone + quote CTA) ---------- */
.header-actions { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.header-phone { color: #d7e3f0; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }
.header-phone:hover { color: #fff; text-decoration: none; }
.header-phone svg { width: 15px; height: 15px; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
@media (max-width: 1120px) { .header-phone span { display: none; } }
@media (max-width: 940px) { .header-phone { display: none; } .header-actions .btn { padding: 10px 18px; font-size: .85rem; } }

/* ---------- Hero headline accent + darker overlay ---------- */
.hero h1 em { color: var(--champagne); }
.hero::before {
  background:
    radial-gradient(ellipse 60% 60% at 85% 15%, rgba(46,95,127,.3), transparent 65%),
    linear-gradient(160deg, rgba(5,12,22,.95) 0%, rgba(8,18,32,.85) 45%, rgba(11,24,44,.9) 100%);
}

/* ---------- Credibility strip under hero ---------- */
.cred-strip {
  position: relative; z-index: 2;
  background: #0a1120;
  border-top: 1px solid rgba(168,203,232,.18);
  padding: 13px 0;
}
.cred-strip .container { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cred-strip span { color: #b9c9da; font-size: .8rem; letter-spacing: .8px; display: inline-flex; align-items: center; gap: 7px; }
.cred-strip i { color: rgba(168,203,232,.35); font-style: normal; }
.cred-strip .star { color: var(--champagne); }

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}

/* ---------- Orbit hub graphic (One partner. Every solution.) ---------- */
.orbit-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.orbit { position: relative; width: min(440px, 100%); aspect-ratio: 1 / 1; margin: 0 auto; }
.orbit-ring {
  position: absolute; inset: 8%;
  border: 2px dashed rgba(46,95,127,.45);
  border-radius: 50%;
  animation: ringSpin 60s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.orbit-hub {
  position: absolute; inset: 27%;
  background: radial-gradient(circle at 30% 25%, #1b3450, #0b1523);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8%;
  box-shadow: 0 24px 60px rgba(10,22,40,.35), inset 0 0 0 1px rgba(168,203,232,.2);
}
.orbit-hub img { width: 74px; height: 74px; object-fit: contain; border-radius: 14px; margin-bottom: 10px; }
.orbit-hub b { color: #fff; font-family: 'Playfair Display', serif; font-size: 1.05rem; line-height: 1.25; }
.orbit-hub small { color: var(--champagne); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }
.orbit-node {
  position: absolute; width: 92px; text-align: center;
  animation: nodeFloat 6s ease-in-out infinite;
}
.orbit-node:nth-child(2) { animation-delay: 1.5s; }
.orbit-node:nth-child(3) { animation-delay: 3s; }
@keyframes nodeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.orbit-node .o-icon {
  width: 66px; height: 66px; margin: 0 auto 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(46,95,127,.35);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(10,22,40,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.orbit-node:hover .o-icon { transform: scale(1.1) rotate(-5deg); box-shadow: 0 14px 32px rgba(46,95,127,.32); }
.orbit-node .o-icon svg { width: 32px; height: 32px; }
.orbit-node .o-label { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); background: rgba(255,255,255,.85); border-radius: 6px; padding: 2px 6px; }
.o-n1 { top: -2%; left: 50%; transform-origin: center; margin-left: -46px; }
.o-n2 { bottom: 4%; left: 4%; }
.o-n3 { bottom: 4%; right: 4%; }
@media (max-width: 900px) { .orbit-split { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(150deg, #0b1523, #122640); padding: 54px 0; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(168,203,232,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(168,203,232,.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat b { display: block; font-family: 'Playfair Display', serif; font-size: 2.6rem; color: var(--champagne); line-height: 1; }
.stat span { display: block; margin-top: 8px; color: #b9c9da; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Tools marquee ---------- */
.marquee { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.marquee-viewport { overflow: hidden; position: relative; }
.marquee-viewport::before, .marquee-viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none;
}
.marquee-viewport::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee-viewport::after { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--navy); font-weight: 600; font-size: .95rem;
  padding: 0 26px; white-space: nowrap;
}
.marquee-track span::after { content: "•"; color: var(--gold); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .marquee-track, .orbit-node { animation: none !important; }
}

/* filled icon sizing */
.s-icon svg { width: 28px; height: 28px; }
.card-icon svg { width: 32px; height: 32px; }

/* ============================================================
   MERGED HEADER + HERO (transparent overlay header)
   ============================================================ */
.site-header {
  position: fixed;
  left: 0; right: 0; top: 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  transition: background .35s ease, box-shadow .35s ease;
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
}
.site-header.scrolled {
  background: rgba(11, 21, 35, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 32px rgba(5, 12, 22, .4);
}
.hero { padding-top: 178px; }
@media (max-width: 940px) { .hero { padding-top: 128px; } }
@media (max-width: 620px) { .hero { padding-top: 110px; } }

/* fix nav hover: readable light state over dark hero/header */
.main-nav a:not(.active):hover { color: #ffffff; }
.main-nav a:not(.active):hover::after {
  background: linear-gradient(90deg, var(--champagne), #ffffff);
}
.nav-toggle:hover { background: rgba(168,203,232,.18); }

/* ---------- Client logos grid ---------- */
.client-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px;
  margin-top: 10px;
}
.client-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 190px; padding: 26px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(10,22,40,.14);
  border-color: rgba(46,95,127,.35);
  text-decoration: none;
}
.client-card img {
  width: 84px; height: 84px; object-fit: contain; border-radius: 50%;
  transition: transform .3s ease;
}
.client-card:hover img { transform: scale(1.06) rotate(-3deg); }
.client-card span {
  font-size: .86rem; font-weight: 700; color: var(--charcoal); text-align: center; line-height: 1.3;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap { max-width: 860px; margin: 0 auto; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 38px 34px;
  box-shadow: 0 14px 34px rgba(10,22,40,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(46,95,127,.14);
  background: var(--white);
}
.form-field .field-error { display: none; font-size: .8rem; color: #c0392b; margin-top: 5px; font-weight: 600; }
.form-field.invalid input, .form-field.invalid textarea, .form-field.invalid select { border-color: #c0392b; }
.form-field.invalid .field-error { display: block; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-note-sm { font-size: .84rem; color: var(--grey); }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.4);
  color: #1b7a42;
  font-weight: 600;
  font-size: .92rem;
}
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } .contact-form { padding: 26px 20px; } }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   Sits in the bottom-right corner, stacked ABOVE the AI chatbot
   launcher (the chatbot occupies the slot below at bottom:0).
   ============================================================ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 100px;              /* raised so it floats above the chatbot launcher */
  z-index: 2147483000;         /* always on top of the chatbot widget */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(9,146,64,.35);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(9,146,64,.45);
  color: #ffffff;
  text-decoration: none;
}
.wa-float svg { flex: 0 0 auto; }
.wa-float.wa-compact { padding: 14px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(9,146,64,.35), 0 0 0 0 rgba(37,211,102,.45); }
  50% { box-shadow: 0 10px 26px rgba(9,146,64,.35), 0 0 0 10px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
@media (max-width: 620px) {
  .wa-float { right: 14px; bottom: 92px; }
  .wa-float .wa-label { display: none; }
  .wa-float.wa-compact { padding: 14px; }
}
