/* ============================================================
   Innent Technologies — design tokens
   Palette references the Kenyan flag (black / red / green / white)
   without reproducing the flag or national emblem itself.
   ============================================================ */
:root{
  --ink: #0a0d0b;
  --ink-soft: #11150f;
  --paper: #f6f4ee;
  --paper-dim: #ece8dd;
  --green: #0b6e4f;
  --green-deep: #073d2c;
  --red: #bd1f2d;
  --red-deep: #7e131d;
  --white-pure: #ffffff;
  --ink-text: #1b1f1a;
  --muted: #5c6058;
  --muted-invert: #a9b0a4;
  --line: rgba(27,31,26,0.12);
  --line-invert: rgba(255,255,255,0.14);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --radius: 3px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink-text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
ul,ol{margin:0;padding:0;list-style:none;}
h1,h2,h3{font-family:var(--font-display);font-weight:600;line-height:1.08;margin:0;color:var(--ink);}
p{margin:0;}

.wrap{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 28px;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

/* ---------- signature tri-line motif ---------- */
.triline{ display:flex; height:5px; width:100%; }
.triline span{ flex:1; }
.triline .b{ background:var(--ink); flex:6; }
.triline .w{ background:var(--white-pure); flex:1; }
.triline .r{ background:var(--red); flex:6; }
.triline .w:last-of-type{ order:1; }
.triline .g{ background:var(--green); flex:6; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 24px;
  font-family:var(--font-body);
  font-weight:700;
  font-size:0.95rem;
  border-radius:var(--radius);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--red); color:var(--white-pure); }
.btn-primary:hover{ background:var(--red-deep); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--ink); }
.btn-ghost-light{ background:transparent; color:var(--white-pure); border-color:var(--line-invert); }
.btn-ghost-light:hover{ border-color:var(--white-pure); }
.btn-block{ width:100%; }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(246,244,238,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.logo{ display:flex; align-items:center; gap:10px; color:var(--ink); }
.logo-mark{ color:var(--green); display:flex; }
.logo-text{ font-family:var(--font-display); font-weight:600; font-size:1.15rem; letter-spacing:0.01em; }
.logo-text em{ font-style:normal; color:var(--red); font-weight:500; }
.main-nav{ display:flex; gap:34px; }
.main-nav a{ font-weight:600; font-size:0.94rem; color:var(--ink-text); position:relative; }
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform 0.2s ease;
}
.main-nav a:hover::after{ transform:scaleX(1); }
.header-cta{ display:flex; align-items:center; gap:18px; }
.phone-chip{
  display:flex; align-items:center; gap:7px;
  font-weight:700; font-size:0.9rem; color:var(--green-deep);
}
.nav-toggle{ display:none; }

/* ---------- hero ---------- */
.hero{
  background:var(--ink);
  color:var(--paper);
  padding:96px 0 72px;
  position:relative;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:48px;
  align-items:center;
}
.hero h1{
  color:var(--white-pure);
  font-size:clamp(2.4rem, 4.6vw, 3.85rem);
  font-weight:600;
  letter-spacing:-0.01em;
}
.hero-sub{
  margin-top:22px;
  max-width:46ch;
  font-size:1.08rem;
  color:var(--muted-invert);
}
.hero-actions{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }
.hero .btn-ghost{ color:var(--paper); border-color:var(--line-invert); }
.hero .btn-ghost:hover{ border-color:var(--white-pure); }
.hero-badges{ display:flex; flex-wrap:wrap; gap:10px 26px; margin-top:40px; }
.hero-badges li{
  font-size:0.86rem; color:var(--muted-invert); font-weight:600;
  padding-left:16px; position:relative;
}
.hero-badges li::before{
  content:""; position:absolute; left:0; top:6px; width:8px; height:8px; border-radius:50%;
  background:var(--green);
}
.hero-badges li:nth-child(2)::before{ background:var(--red); }
.hero-badges li:nth-child(3)::before{ background:var(--white-pure); }

.hero-art{ display:flex; justify-content:center; }
.orbit-svg{ width:100%; max-width:400px; }
.orb{ fill:none; stroke-width:1; }
.orb-1{ stroke:var(--line-invert); }
.orb-2{ stroke:var(--red); opacity:0.55; }
.orb-3{ stroke:var(--green); opacity:0.8; }
.orb-dot{ fill:var(--white-pure); }
.node{ fill:var(--white-pure); }
.node-r{ fill:var(--red); }
.node-g{ fill:var(--green); }
.node-w{ fill:var(--white-pure); }

#heroReveal{ opacity:0; transform:translateY(14px); animation:heroIn 0.9s cubic-bezier(.2,.7,.2,1) 0.15s forwards; }
@keyframes heroIn{ to{ opacity:1; transform:translateY(0); } }

/* ---------- trust strip ---------- */
.trust-strip{ background:var(--green-deep); color:var(--paper); padding:16px 0; }
.trust-row{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px 18px;
  font-size:0.86rem; font-weight:600; letter-spacing:0.01em;
}
.trust-row .dot{ color:var(--red); opacity:0.9; }

/* ---------- section shared ---------- */
section{ padding:96px 0; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{ font-size:clamp(1.8rem, 3vw, 2.3rem); }
.section-head p{ margin-top:14px; color:var(--muted); font-size:1.05rem; }

/* ---------- services ---------- */
.services{ background:var(--paper); }
.service-list{ border-top:1px solid var(--line); }
.service-row{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:28px;
  padding:34px 0;
  border-bottom:1px solid var(--line);
}
.service-icon{
  width:52px; height:52px;
  border-radius:50%;
  border:1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color:var(--green-deep);
}
.service-row:nth-child(3n+2) .service-icon{ color:var(--red); }
.service-row:nth-child(3n) .service-icon{ color:var(--ink); }
.service-copy h3{ font-size:1.25rem; }
.service-copy p{ margin-top:8px; color:var(--muted); max-width:60ch; }

/* ---------- process ---------- */
.process{ background:var(--paper-dim); }
.process-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:36px;
}
.process-list li{ border-top:2px solid var(--ink); padding-top:18px; }
.step-num{
  font-family:var(--font-display); font-size:0.95rem; font-weight:600;
  color:var(--red); display:block; margin-bottom:10px;
}
.process-list h3{ font-size:1.15rem; margin-bottom:8px; }
.process-list p{ color:var(--muted); font-size:0.96rem; }

/* ---------- about ---------- */
.about{ background:var(--paper); }
.about-grid{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:56px;
  align-items:start;
}
.monogram{
  width:180px; height:180px; border-radius:50%;
  background:var(--ink);
  color:var(--paper);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:2.6rem; font-weight:600;
  border:3px solid var(--green);
  box-shadow:0 0 0 3px var(--paper), 0 0 0 6px var(--red);
}
.about-copy h2{ font-size:clamp(1.8rem, 3vw, 2.3rem); margin-bottom:20px; }
.about-copy p{ color:var(--muted); font-size:1.05rem; max-width:62ch; margin-bottom:16px; }
.about-copy strong{ color:var(--ink); }
.signature-rule{
  margin-top:22px; height:3px; width:120px;
  background:linear-gradient(90deg, var(--ink) 0 40%, var(--red) 40% 70%, var(--green) 70% 100%);
}

/* ---------- cta banner ---------- */
.cta-banner{ background:var(--red); color:var(--white-pure); padding:64px 0; }
.cta-row{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-banner h2{ color:var(--white-pure); font-size:clamp(1.5rem,2.8vw,2rem); max-width:20ch; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.cta-banner .btn-primary{ background:var(--ink); }
.cta-banner .btn-primary:hover{ background:#000; }

/* ---------- contact ---------- */
.contact{ background:var(--paper); }
.contact-grid{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px;
}
.contact-info h2{ font-size:clamp(1.8rem,3vw,2.3rem); }
.contact-info > p{ margin-top:14px; color:var(--muted); max-width:44ch; }
.contact-info dl{ margin-top:36px; display:grid; gap:20px; }
.contact-info dl > div{ border-top:1px solid var(--line); padding-top:12px; }
.contact-info dt{ font-size:0.8rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); font-weight:700; }
.contact-info dd{ margin:6px 0 0; font-size:1.15rem; font-weight:600; }
.contact-info dd a:hover{ color:var(--red); }

.contact-form{ background:var(--ink); padding:36px; border-radius:var(--radius); }
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-size:0.85rem; font-weight:700; color:var(--muted-invert); margin-bottom:7px; }
.form-row input, .form-row select, .form-row textarea{
  width:100%; padding:12px 14px; font-family:var(--font-body); font-size:0.98rem;
  background:var(--ink-soft); border:1px solid var(--line-invert); color:var(--paper);
  border-radius:var(--radius);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline:2px solid var(--green); outline-offset:1px; border-color:var(--green);
}
.form-row textarea{ resize:vertical; }
.form-status{ margin-top:14px; font-size:0.9rem; color:var(--muted-invert); min-height:1.2em; }

/* ---------- footer ---------- */
.site-footer{ background:var(--ink); color:var(--paper); }
.footer-row{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px;
  padding:44px 0 34px;
}
.logo-footer{ color:var(--paper); }
.logo-footer .logo-mark{ color:var(--green); }
.footer-nav{ display:flex; gap:26px; flex-wrap:wrap; }
.footer-nav a{ font-size:0.9rem; font-weight:600; color:var(--muted-invert); }
.footer-nav a:hover{ color:var(--paper); }
.footer-contact{ display:flex; gap:22px; flex-wrap:wrap; font-weight:600; font-size:0.9rem; }
.footer-contact a:hover{ color:var(--red); }
.footer-bottom{ padding:20px 0 36px; }
.footer-bottom p{ font-size:0.82rem; color:var(--muted-invert); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ order:-1; max-width:260px; margin:0 auto 12px; }
  .process-list{ grid-template-columns:repeat(2,1fr); }
  .about-grid{ grid-template-columns:1fr; }
  .monogram{ width:120px; height:120px; font-size:1.9rem; }
  .contact-grid{ grid-template-columns:1fr; }
}

@media (max-width: 720px){
  .main-nav{
    position:fixed; inset:76px 0 0 0; background:var(--paper);
    flex-direction:column; padding:32px 28px; gap:4px;
    transform:translateY(-8px); opacity:0; pointer-events:none;
    transition:opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav a{ padding:14px 0; border-bottom:1px solid var(--line); font-size:1.05rem; }
  .main-nav.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .header-cta .phone-chip{ display:none; }
  .nav-toggle{
    display:flex; flex-direction:column; justify-content:center; gap:5px;
    width:36px; height:36px; background:none; border:none; cursor:pointer; padding:0;
  }
  .nav-toggle span{ height:2px; background:var(--ink); border-radius:2px; }
  section{ padding:64px 0; }
  .service-row{ grid-template-columns:1fr; }
  .service-icon{ margin-bottom:6px; }
  .process-list{ grid-template-columns:1fr; }
  .cta-row{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 480px){
  .header-row{ height:66px; }
  .hero{ padding:56px 0 48px; }
}
