/**
 * Design tokens and component styles for the Kingsley Ugoji theme.
 * Enqueued via functions.php (ku_enqueue_assets) after Bootstrap.
 */

/* ==========================================================================
   Kingsley Ugoji, PharmD MBA — Clinical Informatics Consulting
   Bootstrap 5 static build
   ========================================================================== */

:root {
  --navy-deep: #052B4F;
  --navy: #0A4D8C;
  --cyan: #14B8D4;
  --silver: #C0C0C0;
  --bg-soft: #F6F9FC;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: #1E293B;
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--font-heading);
  color: var(--navy-deep);
}

a { text-decoration: none; }

.text-cyan { color: var(--cyan) !important; }
.text-navy { color: var(--navy) !important; }
.text-navy-deep { color: var(--navy-deep) !important; }
.bg-navy-deep { background-color: var(--navy-deep) !important; }
.bg-soft { background-color: var(--bg-soft) !important; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.section-eyebrow .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .85rem;
  color: var(--cyan);
  letter-spacing: .25em;
}
.section-eyebrow .rule {
  height: 1px;
  width: 2.5rem;
  background: rgba(20,184,212,.6);
}
.section-eyebrow .label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--slate-500);
}
.section-eyebrow.on-dark .label { color: #cbd5e1; }

/* Buttons */
.btn-kb-primary {
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: .9rem;
  transition: box-shadow .3s ease, transform .2s ease;
}
.btn-kb-primary:hover {
  color: #fff;
  box-shadow: 0 10px 30px rgba(20,184,212,.35);
  transform: translateY(-1px);
}
.btn-kb-outline {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: .9rem;
  transition: all .25s ease;
}
.btn-kb-outline:hover {
  background: var(--navy);
  color: #fff;
}
.btn-kb-light {
  background: #fff;
  color: var(--navy);
  border-radius: 50px;
  padding: 1rem 2.25rem;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  transition: box-shadow .3s ease;
}
.btn-kb-light:hover {
  box-shadow: 0 0 30px rgba(20,184,212,.5);
  color: var(--navy);
}

/* Navbar */
.navbar-kb {
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s ease;
}
.navbar-kb.scrolled { box-shadow: 0 2px 20px rgba(5,43,79,.08); }
.navbar-kb .nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-600);
}
.navbar-kb .nav-link:hover { color: var(--navy); }
.brand-badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: .85rem;
}

/* Hero */
.hero-section {
  padding-top: 130px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(5,43,79,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,43,79,.03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-blob-1, .hero-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 { top: -120px; right: -120px; width: 480px; height: 480px; background: rgba(20,184,212,.12); }
.hero-blob-2 { bottom: -140px; left: -140px; width: 420px; height: 420px; background: rgba(10,77,140,.12); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(192,192,192,.5);
  background: rgba(255,255,255,.7);
  border-radius: 50px;
  padding: .4rem 1rem;
  margin-bottom: 2rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  animation: kb-pulse 2s ease-in-out infinite;
}
@keyframes kb-pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(20,184,212,.5); }
  50% { opacity: .7; box-shadow: 0 0 0 6px rgba(20,184,212,0); }
}

.hero-headline {
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  letter-spacing: -.02em;
}
.hero-headline .grad {
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-portrait-wrap { position: relative; }
.hero-portrait {
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(5,43,79,.25);
  border: 1px solid rgba(255,255,255,.6);
  position: relative;
}
.hero-portrait img { width: 100%; height: 520px; object-fit: cover; object-position: top; }
.hero-portrait .overlay-caption {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}
.float-card {
  position: absolute;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  box-shadow: 0 15px 35px -10px rgba(5,43,79,.2);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  animation: kb-float 5s ease-in-out infinite;
}
.float-card.delay { animation-delay: 1.5s; }
@keyframes kb-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.icon-chip {
  width: 36px; height: 36px; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Stats */
.stats-section { background: var(--bg-soft); border-top: 1px solid rgba(192,192,192,.3); border-bottom: 1px solid rgba(192,192,192,.3); }
.stat-item { padding: 2rem 1.5rem; border-left: 1px solid rgba(192,192,192,.3); }
.stat-item:first-child { border-left: none; }
@media (max-width: 767px) {
  .stat-item:nth-child(odd) { border-left: none; }
}
.stat-number { font-family: var(--font-heading); font-weight: 800; font-size: 2.5rem; color: var(--navy-deep); }

/* Marquee */
.kb-marquee-wrap { overflow: hidden; background: #fff; border-bottom: 1px solid rgba(192,192,192,.3); padding: 1.75rem 0; }
.kb-marquee-track {
  display: flex;
  width: max-content;
  animation: kb-marquee 40s linear infinite;
}
.kb-marquee-track span.item {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--navy);
  margin: 0 2rem; white-space: nowrap;
}
.kb-marquee-track .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
@keyframes kb-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* About */
.about-portrait { border-radius: 1.75rem; overflow: hidden; box-shadow: 0 25px 60px -15px rgba(5,43,79,.25); position: relative; }
.about-portrait img { width: 100%; height: 520px; object-fit: cover; object-position: top; }
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-radius: 1rem; padding: 1.25rem 1.5rem; max-width: 240px;
  box-shadow: 0 15px 35px -10px rgba(5,43,79,.2);
}
.highlight-chip {
  display: flex; align-items: center; gap: .75rem;
  border: 1px solid rgba(192,192,192,.4);
  background: var(--bg-soft);
  border-radius: .75rem;
  padding: .85rem 1rem;
  font-size: .875rem; font-weight: 500; color: var(--navy-deep);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.highlight-chip:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(5,43,79,.08); }
.highlight-chip svg { color: var(--cyan); flex-shrink: 0; }

/* Services (dark grid) */
.dark-grid-bg {
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  position: relative;
  overflow: hidden;
}
.service-card {
  background: rgba(255,255,255,.03);
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 1.75rem;
  height: 100%;
  transition: background .3s ease;
}
.service-card:hover { background: rgba(255,255,255,.07); }
.service-card .icon-box {
  width: 44px; height: 44px; border-radius: .85rem;
  background: rgba(20,184,212,.1); border: 1px solid rgba(20,184,212,.2);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform .3s ease;
}
.service-card:hover .icon-box { transform: translateY(-3px); }
.services-grid-wrap { border-top: 1px solid rgba(255,255,255,.1); border-left: 1px solid rgba(255,255,255,.1); }
.service-learn-more { color: var(--cyan); font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* Why informatics */
.why-point { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(192,192,192,.3); }
.why-point .why-num { font-family: var(--font-heading); font-weight: 800; font-size: .85rem; color: var(--silver); width: 2rem; flex-shrink: 0; padding-top: .25rem; }
.why-icon-box {
  width: 44px; height: 44px; border-radius: .75rem; flex-shrink: 0;
  background: rgba(10,77,140,.05); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.why-point:hover .why-icon-box { background: rgba(20,184,212,.1); color: var(--cyan); }

/* Industries */
.industries-grid-wrap { border-top: 1px solid rgba(192,192,192,.3); border-left: 1px solid rgba(192,192,192,.3); }
.industry-item {
  background: #fff;
  border-right: 1px solid rgba(192,192,192,.3);
  border-bottom: 1px solid rgba(192,192,192,.3);
  padding: 2rem;
  height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  transition: background .3s ease;
}
.industry-item:hover { background: var(--navy); }
.industry-item svg { color: var(--cyan); transition: transform .3s ease; }
.industry-item:hover svg { transform: scale(1.1); }
.industry-item p { transition: color .3s ease; margin: 0; }
.industry-item:hover p { color: #fff; }

/* Process */
.process-step { position: relative; }
.process-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 2px solid rgba(20,184,212,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  box-shadow: 0 10px 25px rgba(5,43,79,.08);
  margin-bottom: 1.25rem; position: relative; z-index: 2;
}
.process-num-bg {
  font-family: var(--font-heading); font-weight: 800; font-size: 2.5rem;
  color: rgba(10,77,140,.08); position: absolute; top: -.75rem; right: .5rem;
}
.process-line { position: absolute; top: 26px; left: 0; right: 0; height: 1px; background: rgba(192,192,192,.4); }

/* Experience timeline */
.timeline-wrap { position: relative; padding-left: 2.5rem; }
.timeline-rail { position: absolute; left: 7px; top: .5rem; bottom: .5rem; width: 1px; background: rgba(255,255,255,.15); }
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -2.5rem; top: .35rem; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); background: var(--navy-deep); }
.timeline-dot.current { background: var(--cyan); border-color: var(--cyan); }
.timeline-badge {
  display: inline-block; font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .25em; padding: .25rem .75rem; border-radius: 50px; margin-bottom: .75rem;
  background: rgba(255,255,255,.05); color: #94a3b8;
}
.timeline-badge.current { background: rgba(20,184,212,.15); color: var(--cyan); }
.tag-pill {
  font-size: .75rem; color: #cbd5e1; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05); border-radius: 50px; padding: .35rem .9rem;
}

/* Education / Certification cards */
.edu-card {
  display: flex; align-items: center; gap: 1.25rem;
  border: 1px solid rgba(192,192,192,.4); background: var(--bg-soft);
  border-radius: 1rem; padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.edu-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(5,43,79,.08); }
.edu-icon {
  width: 48px; height: 48px; border-radius: .85rem; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.cert-card {
  border: 1px solid rgba(192,192,192,.4); background: #fff; border-radius: 1rem;
  padding: 1.5rem; box-shadow: 0 4px 20px rgba(5,43,79,.04); height: 100%;
  transition: transform .2s ease;
}
.cert-card:hover { transform: translateY(-3px); }
.cert-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(20,184,212,.1); border: 1px solid rgba(20,184,212,.3);
  color: var(--cyan); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; transition: transform .3s ease;
}
.cert-card:hover .cert-icon { transform: rotate(6deg) scale(1.1); }

/* Insights */
.insight-card { background: #fff; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(192,192,192,.4); height: 100%; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(5,43,79,.1); }
.insight-card .top-bar { height: 6px; }
.insight-card .body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.insight-eyebrow { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .25em; color: var(--cyan); margin-bottom: 1rem; }
.insight-link { margin-top: 1.5rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }

/* Why Kingsley */
.why-kingsley-card {
  border: 1px solid rgba(192,192,192,.4); background: var(--bg-soft); border-radius: 1rem;
  padding: 1.5rem; height: 100%; display: flex; flex-direction: column; gap: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-kingsley-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(5,43,79,.08); }
.why-kingsley-icon {
  width: 44px; height: 44px; border-radius: .75rem; background: #fff;
  box-shadow: 0 4px 15px rgba(5,43,79,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}

/* Testimonials */
.testimonial-card { background: #fff; border: 1px solid rgba(192,192,192,.4); border-radius: 1rem; padding: 2rem; height: 100%; display: flex; flex-direction: column; }
.testimonial-card blockquote { color: var(--slate-600); font-size: .9rem; line-height: 1.7; flex: 1; }
.testimonial-card figcaption { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(192,192,192,.3); }

/* CTA */
.cta-section {
  background: linear-gradient(120deg, #052B4F 0%, #0A4D8C 60%, #0D6DB8 100%);
  position: relative; overflow: hidden;
}
.cta-section .blob { position: absolute; top: -6rem; right: 25%; width: 420px; height: 420px; border-radius: 50%; background: rgba(20,184,212,.15); filter: blur(80px); }

/* Contact */
.contact-info-link { display: flex; align-items: center; gap: 1rem; }
.contact-icon { width: 44px; height: 44px; border-radius: .75rem; background: var(--bg-soft); border: 1px solid rgba(192,192,192,.4); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.contact-info-link span { color: var(--slate-600); font-size: .9rem; transition: color .2s ease; }
.contact-info-link:hover span { color: var(--navy); }
.map-placeholder { border-radius: 1rem; border: 1px solid rgba(192,192,192,.4); background: var(--bg-soft); height: 13rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; box-shadow: 0 4px 20px rgba(5,43,79,.04); }
.contact-form-wrap { border-radius: 1.5rem; border: 1px solid rgba(192,192,192,.4); background: var(--bg-soft); padding: 2.25rem; box-shadow: 0 4px 20px rgba(5,43,79,.06); }
.contact-form-wrap label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-500); margin-bottom: .5rem; }
.contact-form-wrap .form-control, .contact-form-wrap .form-select {
  border: 1px solid rgba(192,192,192,.5); border-radius: .75rem; padding: .75rem 1rem; font-size: .9rem;
}
.contact-form-wrap .form-control:focus, .contact-form-wrap .form-select:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(20,184,212,.15);
}

/* Footer */
.site-footer { background: var(--navy-deep); padding-top: 5rem; padding-bottom: 2rem; }
.footer-heading { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .25em; color: #94a3b8; margin-bottom: 1.25rem; }
.footer-link { color: #cbd5e1; font-size: .9rem; background: none; border: none; padding: 0; display: block; margin-bottom: .75rem; transition: color .2s ease; }
.footer-link:hover { color: var(--cyan); }
.social-icon { width: 40px; height: 40px; border-radius: .75rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #cbd5e1; display: flex; align-items: center; justify-content: center; transition: all .3s ease; }
.social-icon:hover { color: var(--cyan); border-color: rgba(20,184,212,.4); }

@media (max-width: 991px) {
  .hero-portrait-wrap { display: none; }
}

/* 5-column utility for the industries grid at xl breakpoint */
@media (min-width: 1200px) {
  .col-xl-2p4 { flex: 0 0 auto; width: 20%; }
}

/* ==========================================================================
   v2 additions: page builder sections, inner-page heroes, nav dropdown, forms
   ========================================================================== */
body { padding-top: 0; }
main.kg-no-hero { padding-top: 72px; }
.kg-skip { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .5rem; }
.kg-logo { height: 38px; width: auto; }

.btn-kb-primary, .btn-kb-outline, .btn-kb-light, .btn-kb-ghost { border-radius: var(--kg-btn-radius, 50px); }
.btn-kb-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: #fff; padding: 1rem 2rem; font-weight: 600; font-size: .9rem; }
.btn-kb-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* header nav */
.navbar-kb .nav-item { position: relative; list-style: none; }
.navbar-kb .nav-link { padding: .5rem .25rem; }
.navbar-kb .nav-link.active { color: var(--navy); font-weight: 600; }
.navbar-kb .dropdown > .nav-link::after { content: ""; display: inline-block; margin-left: .4rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; padding: 2.5px; transform: rotate(45deg) translateY(-2px); }
.kg-dropdown { display: none; position: absolute; top: 100%; left: -1rem; min-width: 19rem; padding: .5rem; margin: 0; list-style: none; background: #fff; border: 1px solid rgba(192,192,192,.4); border-radius: .85rem; box-shadow: 0 20px 45px -12px rgba(5,43,79,.2); z-index: 1050; }
.navbar-kb .dropdown:hover > .kg-dropdown, .navbar-kb .dropdown:focus-within > .kg-dropdown { display: block; }
.kg-dropdown .dropdown-item { border-radius: .5rem; padding: .5rem .75rem; font-size: .875rem; color: var(--slate-600); }
.kg-dropdown .dropdown-item:hover, .kg-dropdown .dropdown-item.active { background: var(--bg-soft); color: var(--navy); }
.kg-mobile-menu { padding: 0; margin: 0; }
.kg-mobile-menu li { list-style: none; }
.kg-mobile-menu a { display: block; padding: .6rem 0; color: var(--navy-deep); font-weight: 500; }
.kg-mobile-menu .sub-menu { list-style: none; padding-left: 1rem; margin: 0 0 .5rem; border-left: 2px solid rgba(20,184,212,.4); }
.kg-mobile-menu .sub-menu a { font-size: .9rem; font-weight: 400; color: var(--slate-600); padding: .35rem 0; }

/* hero variants */
.kg-hero-centered { padding-top: 140px; padding-bottom: 80px; }
.kg-lead { max-width: 40rem; font-size: 1.05rem; line-height: 1.75; color: var(--slate-600); }
.kg-lead p { margin-bottom: .9rem; }
.kg-hero-centered .kg-lead { max-width: 46rem; }
.kg-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .8rem; color: var(--slate-500); }
.kg-hero-centered .kg-breadcrumb ol { justify-content: center; }
.kg-breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--slate-400); }
.kg-breadcrumb a { color: var(--navy); }

/* sections */
.kg-section { padding: 5.5rem 0; position: relative; overflow: hidden; }
.kg-bg-white { background: #fff; }
.kg-h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 1.25rem; }
.kg-h3 { font-weight: 700; font-size: 1.15rem; margin-bottom: .75rem; }
.kg-h3 a { color: inherit; }
.kg-head { max-width: 46rem; margin-bottom: 2.5rem; }
.kg-content { color: var(--slate-600); line-height: 1.75; }
.kg-content p { margin-bottom: 1rem; }
.kg-content p:last-child { margin-bottom: 0; }
.kg-content a { color: var(--navy); text-decoration: underline; }
.kg-content ul { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .65rem; }
.kg-content ul li { position: relative; padding-left: 2rem; }
.kg-content ul li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: rgba(20,184,212,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314B8D4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat; }
@media (min-width: 768px) { .kg-content ul.kg-two, .kg-section .col-xl-9 .kg-content ul:not(:only-child) { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.kg-content ol { padding-left: 1.25rem; }
.kg-dark .kg-h2, .kg-dark .kg-h3, .kg-dark h2, .kg-dark h3 { color: #fff; }
.kg-dark .kg-content, .kg-dark .kg-content p, .kg-dark .kg-content li { color: rgba(255,255,255,.78); }
.kg-dark .kg-content a { color: var(--cyan); }
.kg-media img { width: 100%; height: auto; border-radius: 1.5rem; box-shadow: 0 25px 60px -15px rgba(5,43,79,.25); }
.kg-stat-text { font-size: 1.35rem; display: block; }

/* cards */
.kg-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(192,192,192,.4); border-radius: 1.1rem; padding: 1.75rem; box-shadow: 0 4px 20px rgba(5,43,79,.04); transition: transform .2s ease, box-shadow .2s ease; }
.kg-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(5,43,79,.1); }
.bg-soft .kg-card { background: #fff; }
.kg-card-icon { width: 46px; height: 46px; border-radius: .85rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.15rem; background: linear-gradient(135deg, var(--navy), var(--cyan)); color: #fff; }
.kg-card .kg-content { font-size: .95rem; flex: 1; }
.kg-card-glass { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: none; }
.kg-card-glass:hover { background: rgba(255,255,255,.08); }
.kg-card-glass .kg-card-icon { background: rgba(20,184,212,.12); border: 1px solid rgba(20,184,212,.25); color: var(--cyan); }
.service-card { color: inherit; }
.service-card:hover { color: inherit; }

/* steps */
.kg-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: s; }
@media (min-width: 992px) { .kg-steps { grid-template-columns: 1fr 1fr; gap: 1.75rem 3rem; } }
.kg-step { display: flex; gap: 1.25rem; padding: 1.5rem; border: 1px solid rgba(192,192,192,.4); border-radius: 1.1rem; background: #fff; }
.bg-soft .kg-step { background: #fff; }
.kg-step-num { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--cyan); min-width: 2.4rem; }
.kg-dark .kg-step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }

/* faq */
.kg-accordion .accordion-item { border: 1px solid rgba(192,192,192,.4); border-radius: .9rem !important; margin-bottom: .75rem; overflow: hidden; background: #fff; }
.kg-accordion .accordion-button { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--navy-deep); background: #fff; padding: 1.15rem 1.35rem; box-shadow: none; }
.kg-accordion .accordion-button:not(.collapsed) { color: var(--navy); background: var(--bg-soft); }
.kg-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(20,184,212,.2); }
.kg-accordion .accordion-body { padding: 1.25rem 1.35rem 1.5rem; }

/* cta */
.cta-section.kg-section { padding: 5rem 0; }

/* contact form (Contact Form 7) */
.contact-form-wrap .wpcf7-form-control-wrap { display: block; }
.contact-form-wrap .wpcf7-not-valid-tip { font-size: .8rem; margin-top: .25rem; }
.contact-form-wrap .wpcf7-response-output { border-radius: .75rem; margin: 1.25rem 0 0 !important; padding: .85rem 1rem !important; font-size: .9rem; }
.contact-form-wrap .wpcf7-spinner { margin-left: .75rem; }
.contact-form-wrap p { margin-bottom: 0; }

.insight-card h3 a:hover { color: var(--navy); }
.kg-pagination .nav-links { display: flex; gap: .5rem; justify-content: center; }
.kg-pagination .page-numbers { padding: .4rem .85rem; border: 1px solid rgba(192,192,192,.5); border-radius: .5rem; color: var(--navy); }
.kg-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.kg-post img { max-width: 100%; height: auto; border-radius: 1rem; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .kb-marquee-track, .float-card, .pulse-dot { animation: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 767px) { .kg-section { padding: 3.75rem 0; } .kg-hero-centered { padding-top: 110px; padding-bottom: 56px; } }

@media (max-width: 767px) { .row.g-5 { --bs-gutter-x: 1.5rem; } main, .site-footer { overflow-x: clip; } }
