/*
Theme Name: Sabido Africa
Theme URI: https://sabidoafrica.com
Author: Sabido Africa
Description: Premium executive consulting theme for Sabido Africa - navy, royal blue and gold. Includes home page sections, about/team, services, industries, case studies, pricing, insights and booking templates.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: sabido
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root{
  --navy:#071A2E;
  --navy-2:#0d2745;
  --navy-3:#123a6b;
  --royal:#0057FF;
  --gold:#C8A24B;
  --ink:#0f151c;
  --muted:#5b6672;
  --border:#e4e8ee;
  --surface:#f7f8fa;
  --bg:#ffffff;
  --card:#ffffff;
  --radius:18px;
  --shadow:0 30px 70px -35px rgba(7,26,46,.55);
  --container:1200px;
}
html[data-theme="dark"]{
  --ink:#eef2f7;
  --muted:#9aa7b6;
  --border:#1d2b3c;
  --surface:#0b1a2b;
  --bg:#050f1b;
  --card:#08182a;
  --shadow:0 30px 70px -35px rgba(0,0,0,.8);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  line-height:1.6;-webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:"Manrope","Inter",sans-serif;letter-spacing:-.025em;margin:0;line-height:1.1;}
p{margin:0;}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;}
.container{max-width:var(--container);margin:0 auto;padding:0 20px;}
.section{padding:88px 0;}
.section--muted{background:var(--surface);}
.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--royal);margin:0;}
.eyebrow--gold{color:var(--gold);}
.h2{font-size:clamp(1.7rem,3.2vw,2.45rem);font-weight:800;margin-top:14px;}
.lead{color:var(--muted);margin-top:16px;max-width:64ch;}
.muted{color:var(--muted);}
.center{text-align:center;}
.center .lead{margin-left:auto;margin-right:auto;}
.grid{display:grid;gap:24px;grid-template-columns:1fr;margin-top:44px;}
.grid--2{grid-template-columns:1fr;}
@media(min-width:640px){.grid{grid-template-columns:repeat(2,1fr);}.grid--2{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.grid{grid-template-columns:repeat(3,1fr);}.grid--4{grid-template-columns:repeat(4,1fr);}}

.btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;text-decoration:none;
  padding:13px 26px;border-radius:10px;border:1px solid transparent;transition:.25s ease;font-size:.95rem;}
.btn--gold{background:var(--gold);color:#1a1305;}
.btn--gold:hover{filter:brightness(1.07);transform:translateY(-2px);}
.btn--royal{background:var(--royal);color:#fff;}
.btn--royal:hover{filter:brightness(1.08);transform:translateY(-2px);}
.btn--ghost{border-color:rgba(255,255,255,.35);color:#fff;}
.btn--ghost:hover{background:rgba(255,255,255,.1);}
.btn--outline{border-color:var(--border);color:var(--ink);}
.btn--outline:hover{border-color:var(--royal);color:var(--royal);}

.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:28px;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:rgba(0,87,255,.35);}
.card--flat:hover{transform:none;box-shadow:none;}
.card h3{font-size:1.18rem;font-weight:700;}
.card p{margin-top:12px;color:var(--muted);font-size:.95rem;}
.tags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:18px 0 0;}
.tags li{border:1px solid var(--border);border-radius:999px;padding:4px 12px;font-size:.75rem;color:var(--muted);}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 74px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: 74px;
  min-height: 74px;
  max-height: 74px;
  overflow: visible;
}


/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.custom-logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 200px;
  width: 200px;
  height: 48px;
  max-width: 200px;
  max-height: 48px;
  overflow: hidden;
  text-decoration: none;
}

.custom-logo-link img.custom-logo {
  display: block;
  width: 200px;
  height: 48px;
  max-width: 100px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 200px;
  width: 200px;
  height: 48px;
  max-width: 200px;
  max-height: 48px;
  overflow: hidden;
  gap: 10px;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
}

.brand img,
.brand .custom-logo {
  display: block;
  width: 200px;
  height: 48px;
  max-width: 200px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}


/* ==========================================================================
   Desktop Navigation
   ========================================================================== */

.nav {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* The actual WordPress menu */
.nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  list-style: none;
  list-style-type: none;
}

/* Individual menu items */
.nav-list > li {
  display: flex;
  align-items: center;

  margin: 0;
  padding: 0;

  list-style: none;
  list-style-type: none;
}

/* Remove browser/list markers explicitly */
.nav-list > li::before,
.nav-list > li::after,
.nav-list > li::marker {
  display: none;
  content: "";
}

/* Menu links */
.nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 8px;

  white-space: nowrap;
  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;

  color: var(--muted);

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a {
  color: var(--royal);
}

/* --------------------------------------------------------------------------
   Header Actions
   -------------------------------------------------------------------------- */

.hdr-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 10px;
  height: 100%;
}

.icon-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.hdr .btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 74px;
  min-height: 74px;
  max-height: 74px;
  padding: 0 26px;
  border-radius: 0;
}

.burger {
  display: grid;
}


/* --------------------------------------------------------------------------
   Desktop Breakpoint
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  .hdr .btn {
    display: inline-flex;
    height: 74px;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .burger {
    display: none;
  }
}


/* --------------------------------------------------------------------------
   Mobile Navigation
   -------------------------------------------------------------------------- */

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 14px 20px 22px;
  display: grid;
  gap: 6px;
}

.mobile-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav a:hover {
  background: var(--surface);
  color: var(--royal);
}

/* Hero */
.hero{position:relative;color:#fff;overflow:hidden;background:linear-gradient(135deg,#071A2E 0%,#0d2745 55%,#123a6b 100%);}
.hero__bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.28;}
.hero__glow{position:absolute;width:520px;height:520px;border-radius:999px;filter:blur(120px);opacity:.35;}
.hero__glow--a{background:var(--royal);top:-140px;right:-120px;}
.hero__glow--b{background:var(--gold);bottom:-180px;left:-120px;opacity:.22;}
.hero .container{position:relative;padding-top:104px;padding-bottom:104px;}
.hero h1{font-size:clamp(2.3rem,5.4vw,4rem);font-weight:800;margin-top:20px;max-width:19ch;}
.hero p.sub{margin-top:22px;max-width:60ch;opacity:.85;font-size:1.08rem;}
.hero .cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px;}
.hero .pill{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.25);
  border-radius:999px;padding:7px 16px;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);font-weight:700;}
.hero-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:56px;border-top:1px solid rgba(255,255,255,.16);padding-top:32px;}
@media(min-width:768px){.hero-stats{grid-template-columns:repeat(4,1fr);}}
.hero-stats .v{font-family:"Manrope",sans-serif;font-size:2rem;font-weight:800;color:var(--gold);}
.hero-stats .l{font-size:.85rem;opacity:.75;}

/* Page hero */
.page-hero{background:linear-gradient(135deg,#071A2E 0%,#0d2745 55%,#123a6b 100%);color:#fff;padding:84px 0;}
.page-hero h1{font-size:clamp(2rem,4.4vw,3.2rem);font-weight:800;margin-top:16px;max-width:22ch;}
.page-hero p{margin-top:20px;max-width:62ch;opacity:.82;}

/* Marquee */
.marquee{overflow:hidden;padding:26px 0;border-block:1px solid var(--border);background:var(--surface);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);}
.marquee__track{display:flex;gap:56px;width:max-content;animation:sab-marquee 42s linear infinite;}
.marquee span{font-family:"Manrope",sans-serif;font-weight:700;color:var(--muted);white-space:nowrap;font-size:1.02rem;opacity:.85;}
@keyframes sab-marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* Split / stats */
.split{display:grid;gap:48px;align-items:center;grid-template-columns:1fr;}
@media(min-width:900px){.split{grid-template-columns:1fr 1fr;}}
.split img{border-radius:var(--radius);box-shadow:var(--shadow);}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:26px;margin-top:36px;}
.stats .v{font-family:"Manrope",sans-serif;font-size:2rem;font-weight:800;color:var(--royal);}
.stats .l{font-size:.85rem;color:var(--muted);}

/* Industries */
.chips{display:grid;gap:14px;grid-template-columns:repeat(2,1fr);margin-top:40px;}
@media(min-width:768px){.chips{grid-template-columns:repeat(3,1fr);}}
@media(min-width:1024px){.chips{grid-template-columns:repeat(5,1fr);}}
.chip{border:1px solid var(--border);border-radius:14px;padding:18px 16px;background:var(--card);font-weight:600;font-size:.93rem;transition:.25s;}
.chip:hover{border-color:var(--royal);color:var(--royal);transform:translateY(-3px);}

/* Process */
.steps{counter-reset:s;display:grid;gap:22px;grid-template-columns:1fr;margin-top:44px;}
@media(min-width:768px){.steps{grid-template-columns:repeat(3,1fr);}}
.step{border:1px solid var(--border);border-radius:var(--radius);padding:26px;background:var(--card);position:relative;}
.step__n{font-family:"Manrope",sans-serif;font-weight:800;color:var(--gold);font-size:.95rem;letter-spacing:.14em;}
.step h3{margin-top:10px;font-size:1.1rem;}

/* Case studies */
.case{border:1px solid var(--border);border-radius:var(--radius);padding:30px;background:var(--card);}
.case .sector{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:700;}
.case h3{margin-top:12px;font-size:1.25rem;}
.case dl{margin:20px 0 0;display:grid;gap:12px;}
.case dt{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--royal);font-weight:700;}
.case dd{margin:4px 0 0;color:var(--muted);font-size:.93rem;}
.case .metrics{display:flex;gap:26px;margin-top:22px;border-top:1px solid var(--border);padding-top:18px;}
.case .metrics .k{font-family:"Manrope",sans-serif;font-size:1.4rem;font-weight:800;color:var(--royal);}
.case .metrics .v{font-size:.78rem;color:var(--muted);}

/* Testimonials */
.quote{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:34px;}
.quote p{font-size:1.05rem;font-style:italic;color:var(--ink);}
.quote .who{display:flex;align-items:center;gap:14px;margin-top:22px;}
.avatar{width:48px;height:48px;border-radius:999px;display:grid;place-items:center;background:rgba(0,87,255,.1);
  color:var(--royal);font-family:"Manrope",sans-serif;font-weight:800;}
.avatar-img{width:56px;height:56px;border-radius:999px;object-fit:cover;}

/* Pricing */
.price-card{position:relative;display:flex;flex-direction:column;}
.price-card .price{font-family:"Manrope",sans-serif;font-size:1.5rem;font-weight:800;color:var(--royal);margin-top:10px;}
.price-card ul{list-style:none;padding:0;margin:20px 0 26px;display:grid;gap:10px;font-size:.92rem;color:var(--muted);}
.price-card ul li::before{content:"✓";color:var(--gold);font-weight:800;margin-right:10px;}
.price-card .btn{margin-top:auto;justify-content:center;}
.price-card--featured{border-color:var(--royal);box-shadow:var(--shadow);}
.badge{position:absolute;top:-12px;right:22px;background:var(--gold);color:#1a1305;font-size:.68rem;font-weight:800;
  letter-spacing:.12em;text-transform:uppercase;padding:5px 12px;border-radius:999px;}

/* Posts */
.post-card{display:flex;flex-direction:column;}
.post-card .cat{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--royal);font-weight:700;}
.post-card h3{margin-top:12px;font-size:1.1rem;}
.post-card .meta{margin-top:18px;font-size:.8rem;color:var(--muted);display:flex;gap:14px;}
.filters{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px;}
.filters button{border:1px solid var(--border);background:transparent;color:var(--muted);border-radius:999px;
  padding:8px 16px;font-size:.82rem;font-weight:600;cursor:pointer;transition:.2s;}
.filters button.active,.filters button:hover{background:var(--royal);border-color:var(--royal);color:#fff;}

/* Forms */
.form{display:grid;gap:18px;max-width:640px;}
.form label{font-size:.82rem;font-weight:700;letter-spacing:.04em;}
.form input,.form select,.form textarea{width:100%;margin-top:7px;padding:13px 14px;border-radius:11px;
  border:1px solid var(--border);background:var(--card);color:var(--ink);font:inherit;font-size:.95rem;}
.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid rgba(0,87,255,.35);border-color:var(--royal);}
.form-row{display:grid;gap:18px;grid-template-columns:1fr;}
@media(min-width:640px){.form-row{grid-template-columns:1fr 1fr;}}
.form-note{font-size:.8rem;color:var(--muted);}
.notice{border-radius:12px;padding:14px 16px;font-size:.92rem;margin-bottom:20px;}
.notice--ok{background:rgba(0,87,255,.08);border:1px solid rgba(0,87,255,.3);color:var(--royal);}

/* CTA */
.cta-band{background:linear-gradient(135deg,#071A2E 0%,#0d2745 55%,#123a6b 100%);color:#fff;padding:82px 0;text-align:center;}
.cta-band h2{font-size:clamp(1.7rem,3.2vw,2.4rem);font-weight:800;}
.cta-band p{margin-top:16px;opacity:.82;}
.cta-band .row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:30px;}

/* Footer */
.site-footer{background:var(--navy);color:#cdd8e5;padding:70px 0 34px;}
.site-footer h4{color:#fff;font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;margin-bottom:16px;}
.foot-grid{display:grid;gap:40px;grid-template-columns:1fr;}
@media(min-width:768px){.foot-grid{grid-template-columns:2fr 1fr 1fr 1.4fr;}}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:10px;font-size:.9rem;}
.site-footer a{text-decoration:none;opacity:.8;}
.site-footer a:hover{opacity:1;color:var(--gold);}
.site-footer .brand{color:#fff;}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:44px;padding-top:22px;
  display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:.82rem;opacity:.7;}
.newsletter{display:flex;gap:10px;margin-top:14px;}
.newsletter input{flex:1;padding:12px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:#fff;}
.newsletter input::placeholder{color:rgba(255,255,255,.5);}

/* WhatsApp */
.wa{position:fixed;right:20px;bottom:20px;z-index:80;width:56px;height:56px;border-radius:999px;background:#25D366;
  display:grid;place-items:center;box-shadow:0 14px 34px -12px rgba(37,211,102,.8);text-decoration:none;}
.wa svg{width:28px;height:28px;fill:#fff;}

/* Reveal */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease;}
.reveal.in{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;}.marquee__track{animation:none;}}

/* WP core */
.alignwide{max-width:1100px;margin-inline:auto;}
.sticky,.gallery-caption,.bypostauthor{}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);}
.entry-content{max-width:760px;margin:0 auto;}
.entry-content > *+*{margin-top:20px;}
.entry-content h2,.entry-content h3{margin-top:36px;}
.entry-content a{color:var(--royal);}
