/* ==========================================================================
   COMPLIANCE KENYA — design tokens
   Primary  #323c51   Secondary #d4af62
   Refined / editorial feel: Cormorant Garamond display + Inter Tight body.
   ========================================================================== */

:root {
  --primary: #323c51;
  --primary-dark: #232a3a;
  --primary-light: #43506b;
  --gold: #d4af62;
  --gold-soft: #e9c98a;
  --gold-deep: #b6914b;

  --ink: #1d2230;
  --ink-soft: #4a5063;
  --ink-mute: #757a89;
  --line: #e5dfd1;
  --line-cool: #e1e4ec;
  --paper: #faf7f0;
  --paper-warm: #f4eddb;
  --bg: #fbf9f3;
  --white: #ffffff;
  --black: #0e1117;

  --shadow-sm: 0 2px 6px rgba(20, 24, 36, .04);
  --shadow-md: 0 8px 22px rgba(20, 24, 36, .06);
  --shadow-lg: 0 22px 50px rgba(20, 24, 36, .10);
  --shadow-xl: 0 32px 70px rgba(20, 24, 36, .14);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;

  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body:    'Inter Tight', -apple-system, system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* very subtle paper texture, low opacity */
  background-image:
    radial-gradient(circle at 12% 14%, rgba(212,175,98,.05), transparent 35%),
    radial-gradient(circle at 88% 86%, rgba(50,60,81,.05), transparent 40%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.20 0 0 0 0 0.23 0 0 0 0 0.31 0 0 0 0.025 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-deep); }
.u-gold { color: var(--gold-deep); font-style: italic; font-family: var(--display); font-weight: 600; }

/* ---------- nav ---------- */
.ck-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 249, 243, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(50,60,81,.08);
  transition: box-shadow .25s ease, background .25s ease;
}
.ck-nav.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.96); }
.ck-nav .container { display: flex; align-items: center; gap: 24px; padding: 14px 16px; }
.ck-brand { display: flex; align-items: center; gap: 12px; color: var(--primary); }
.ck-brand:hover { color: var(--primary); }
.ck-brand__mark {
  width: 42px; height: 42px;
  background: var(--primary); color: var(--gold);
  border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: 1px;
  border: 1px solid var(--gold);
}
.ck-brand__mark--lg { width: 52px; height: 52px; font-size: 22px; }
.ck-brand__name { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1; letter-spacing: .4px; }
.ck-brand__tag { display: block; font-size: 10px; color: var(--ink-mute); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

.ck-nav__menu { list-style: none; display: flex; gap: 28px; margin: 0 0 0 auto; padding: 0; align-items: center; }
.ck-nav__menu a { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.ck-nav__menu a:hover { color: var(--primary); }
.ck-nav__cta a { padding: 10px 18px !important; }

.ck-nav__toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; }
.ck-nav__toggle span { display: block; width: 26px; height: 2px; background: var(--primary); margin: 5px 0; transition: transform .25s; }

@media (max-width: 991.98px) {
  .ck-nav__toggle { display: block; }
  .ck-nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white); padding: 8px 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .2s ease;
    border-top: 1px solid var(--line-cool);
    box-shadow: var(--shadow-md);
  }
  .ck-nav__menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .ck-nav__menu li { width: 100%; }
  .ck-nav__menu a { display: block; padding: 14px 22px; border-bottom: 1px solid var(--line-cool); }
  .ck-nav__cta { padding: 12px 22px; }
  .ck-nav__cta a { display: inline-block !important; }
}

/* ---------- buttons ---------- */
.btn-ck {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; letter-spacing: .3px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  text-decoration: none;
}
.btn-ck--lg { padding: 16px 30px; font-size: 15px; }
.btn-ck--gold { background: var(--gold); color: var(--primary); border-color: var(--gold); }
.btn-ck--gold:hover { background: var(--gold-deep); color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 18px rgba(180,140,60,.30); }
.btn-ck--primary { background: var(--primary); color: var(--gold); border-color: var(--primary); }
.btn-ck--primary:hover { background: var(--primary-dark); color: var(--gold-soft); transform: translateY(-1px); }
.btn-ck--ghost { background: transparent; color: var(--primary); border: 1px solid rgba(50,60,81,.25); }
.btn-ck--ghost:hover { border-color: var(--primary); background: rgba(50,60,81,.04); color: var(--primary); }
.btn-ck--block { width: 100%; justify-content: center; }
.btn-ck:disabled, .btn-ck.is-loading { opacity: .65; cursor: not-allowed; pointer-events: none; }
.btn-ck.is-loading::after {
  content: ""; width: 14px; height: 14px;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head__eyebrow {
  display: inline-block; font-family: var(--body); font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold-deep);
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); margin-bottom: 18px;
}
.section-head__title { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); line-height: 1.15; color: var(--primary); margin: 0 0 14px; font-weight: 600; letter-spacing: -.5px; }
.section-head__lede { color: var(--ink-soft); font-size: 16px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 90px 0 100px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  /* allowed gradient on hero */
  background:
    radial-gradient(80% 60% at 70% 0%, rgba(212,175,98,.16), transparent 60%),
    linear-gradient(160deg, #f7f1e1 0%, #faf7f0 50%, #f3eddc 100%);
}
.hero__pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(120deg, rgba(50,60,81,.04) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(60deg,  rgba(50,60,81,.03) 0 1px, transparent 1px 38px);
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary);
  padding: 8px 16px; background: rgba(255,255,255,.7);
  border: 1px solid var(--line); border-radius: 999px;
  margin-bottom: 24px;
}
.hero__eyebrow i { color: var(--gold-deep); }
.hero__title {
  font-family: var(--display);
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.05;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 22px;
  letter-spacing: -1px;
}
.hero__title em {
  font-style: italic;
  color: var(--primary-light);
  font-weight: 400;
}
.hero__lede { font-size: 18px; color: var(--ink-soft); max-width: 600px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stamps { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.hero__stamps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mute); font-weight: 500; }
.hero__stamps i { color: var(--gold-deep); }

/* sample-report card */
.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(50,60,81,.08);
  overflow: hidden;
  transform: rotate(2deg);
  transition: transform .4s ease;
}
.hero__card:hover { transform: rotate(0deg); }
.hero__card-band {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; background: var(--primary); color: var(--gold);
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero__card-id { margin-left: auto; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--green { background: #57c98a; box-shadow: 0 0 0 3px rgba(87,201,138,.22); }
.hero__card-body { padding: 26px 28px; }
.hero__card-body h3 { font-family: var(--display); color: var(--primary); margin: 0 0 14px; font-weight: 600; border-bottom: 2px solid var(--gold); padding-bottom: 10px; display: inline-block; }
.hero__card-body h4 { font-family: var(--display); color: var(--primary); font-size: 17px; margin: 18px 0 6px; }
.hero__card-body .meta { font-size: 13px; color: var(--ink-mute); margin: 2px 0; }
.hero__card-body ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.hero__card-body li { padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; }
.hero__card-body li i { color: var(--gold-deep); font-size: 12px; padding-top: 4px; }
.hero__card-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-mute); display: flex; justify-content: space-between; }
.hero__card-foot i { color: var(--gold-deep); margin-right: 6px; }

/* ---------- TRUST BAR ---------- */
.trustbar { padding: 28px 0; background: var(--primary); color: var(--gold); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.trustbar__row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trustbar__label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-soft); }
.trustbar__items { display: flex; gap: 28px; flex-wrap: wrap; flex: 1; }
.trustbar__items span { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--gold); opacity: .85; }

/* ---------- HOW ---------- */
.how { padding: 100px 0; }
.how__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how__step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.how__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.how__num {
  position: absolute; top: -12px; right: 22px;
  font-family: var(--display); font-size: 36px; font-weight: 600;
  color: var(--gold); opacity: .8;
}
.how__icon { font-size: 24px; color: var(--primary); margin-bottom: 16px; }
.how__step h3 { font-family: var(--display); color: var(--primary); font-size: 22px; margin: 0 0 10px; font-weight: 600; }
.how__step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
@media (max-width: 991px) { .how__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .how__grid { grid-template-columns: 1fr; } }

/* ---------- PARALLAX BAND ---------- */
.parallax {
  position: relative;
  background-image: url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1900&q=70");
  background-size: cover; background-position: center; background-attachment: fixed;
  padding: 110px 0;
}
.parallax__overlay {
  position: absolute; inset: 0;
  /* allowed gradient on parallax overlay */
  background: linear-gradient(180deg, rgba(35,42,58,.92), rgba(50,60,81,.86));
}
.parallax__inner { position: relative; }
.parallax blockquote {
  font-family: var(--display); color: #fff;
  font-size: clamp(22px, 3vw, 36px); line-height: 1.4;
  font-weight: 500; max-width: 1000px; margin: 0 auto;
  text-align: center; padding: 0 12px;
  font-style: italic;
}
.parallax blockquote i { color: var(--gold); margin-right: 16px; opacity: .6; font-size: 30px; }
.parallax cite {
  display: block; margin-top: 22px;
  font-size: 13px; font-style: normal; font-family: var(--body);
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft);
}
@media (max-width: 768px) { .parallax { background-attachment: scroll; padding: 70px 0; } }

/* ---------- WHAT YOU GET ---------- */
.what { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.what .lede { font-size: 17px; color: var(--ink-soft); margin: 18px 0 24px; }
.what__check { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.what__check li { font-size: 14.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.what__check i { color: var(--gold-deep); font-size: 16px; }
.what__visual { position: relative; padding: 20px; perspective: 1000px; }
.what__paper {
  background: var(--white); border-radius: 6px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-cool);
}
.what__paper--back, .what__paper--mid {
  position: absolute; inset: 0;
}
.what__paper--back { transform: rotate(-3deg) translate(20px, 20px); opacity: .55; }
.what__paper--mid  { transform: rotate(2deg) translate(10px, 10px); opacity: .80; }
.what__paper--front { position: relative; min-height: 500px; }
.what__paper-band { display: flex; justify-content: space-between; padding: 12px 22px; background: var(--primary); color: var(--gold); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.what__paper-body { padding: 28px 32px; }
.what__paper-body h5 { font-family: var(--display); color: var(--primary); font-size: 19px; font-weight: 600; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--gold); display: inline-block; }
.what__paper-body .muted { color: var(--ink-mute); font-size: 12.5px; margin: 0 0 14px; }
.row-line { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.row-line span { color: var(--gold-deep); font-weight: 600; }
@media (max-width: 768px) { .what__check { grid-template-columns: 1fr; } }

/* ---------- TRUST CARDS ---------- */
.trust { padding: 100px 0; }
.trust__card {
  background: var(--white); border: 1px solid var(--line-cool);
  border-radius: var(--radius); padding: 32px;
  height: 100%; transition: all .25s ease;
}
.trust__card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.trust__card i { font-size: 28px; color: var(--gold-deep); margin-bottom: 16px; }
.trust__card h3 { font-family: var(--display); color: var(--primary); font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.trust__card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- PRICING ---------- */
.pricing { padding: 80px 0; background: var(--primary); color: var(--white); }
.pricing__card {
  background: var(--white); color: var(--ink);
  max-width: 720px; margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(212,175,98,.4);
}
.pricing__band {
  background: var(--primary); color: var(--gold);
  padding: 14px; text-align: center;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
}
.pricing__body { padding: 50px 40px; text-align: center; }
.pricing__amount { display: inline-flex; align-items: baseline; gap: 10px; }
.pricing__amount .cur { font-family: var(--display); font-size: 22px; color: var(--ink-mute); }
.pricing__amount .num { font-family: var(--display); font-size: 80px; font-weight: 600; color: var(--primary); line-height: 1; }
.pricing__lede { color: var(--ink-soft); margin: 18px auto 28px; max-width: 480px; font-size: 15px; }
.pricing__small { margin-top: 16px; font-size: 12px; color: var(--ink-mute); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--line); }
.ck-accordion .accordion-item {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
}
.ck-accordion .accordion-button {
  background: transparent; padding: 22px 0;
  font-family: var(--display); font-size: 22px; color: var(--primary); font-weight: 600;
  box-shadow: none !important;
}
.ck-accordion .accordion-button:not(.collapsed) { color: var(--gold-deep); background: transparent; }
.ck-accordion .accordion-body { font-size: 15px; color: var(--ink-soft); padding: 0 0 22px; }

/* ---------- FINAL CTA ---------- */
.final-cta {
  position: relative; padding: 100px 0; color: var(--white); overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1900&q=70");
  background-size: cover; background-position: center; background-attachment: fixed;
}
.final-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(35,42,58,.95), rgba(50,60,81,.88));
}
.final-cta .container { position: relative; }
.final-cta h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); font-weight: 600; margin: 0 0 8px; }
.final-cta p { color: var(--gold-soft); margin: 0; }
@media (max-width: 768px) { .final-cta { background-attachment: scroll; } .final-cta .col-lg-4 { margin-top: 18px; } }

/* ---------- FOOTER ---------- */
.ck-footer { background: var(--primary-dark); color: rgba(255,255,255,.78); padding: 70px 0 0; }
.ck-footer h3 { color: var(--gold); font-family: var(--display); font-size: 22px; margin: 14px 0 10px; }
.ck-footer h4 { color: var(--gold); font-family: var(--display); font-size: 17px; margin: 0 0 14px; font-weight: 600; }
.ck-footer p { font-size: 14px; color: rgba(255,255,255,.7); }
.ck-footer__links, .ck-footer__contact { list-style: none; padding: 0; margin: 0; }
.ck-footer__links li, .ck-footer__contact li { padding: 5px 0; font-size: 14px; }
.ck-footer__links a, .ck-footer__contact a { color: rgba(255,255,255,.78); }
.ck-footer__links a:hover, .ck-footer__contact a:hover { color: var(--gold); }
.ck-footer__contact i { color: var(--gold); margin-right: 8px; width: 16px; }
.ck-footer__bottom {
  margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.55);
}
.ck-footer__bottom strong { color: var(--gold); }

/* ---------- STICKY CTA (mobile only, full width bottom) ---------- */
.ck-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  display: none;
  background: var(--gold); color: var(--primary);
  padding: 16px 18px; text-align: center; font-weight: 600;
  box-shadow: 0 -8px 22px rgba(0,0,0,.18);
  align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; letter-spacing: .3px;
}
.ck-sticky-cta:hover { color: var(--primary); background: var(--gold-soft); }
.ck-sticky-cta__arrow { margin-left: 6px; }
@media (max-width: 768px) {
  .ck-sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
  .ck-nav__cta { display: none; }
}

/* ---------- AOS minimal-no-flash overrides ---------- */
[data-aos] { transition-property: transform, opacity; }
