/* ==========================================================================
   Mwamba Asili Holdings — one-page website
   Brand: logo blue #0062AD, deep navy, warm savanna gold accent (from the
   acacia/sunset motif). Headings in Marcellus to echo the logo's flared serif.
   Plain CSS, mobile-first. Breakpoints: 700px, 1000px.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #0062ad;           /* logo blue */
  --blue-600: #00539a;
  --blue-100: #e7f0f9;
  --navy: #0a2540;
  --navy-2: #0f3050;
  --navy-3: #163b5f;
  --gold: #d9a441;           /* savanna accent */
  --gold-soft: #f3e3c0;
  --paper: #f5f8fc;
  --white: #ffffff;
  --text: #4a5868;
  --text-light: #b7c6d6;
  --line: #dde6ef;

  --font-head: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: 20px;
  --radius: 14px;
  --section-y: clamp(70px, 10vw, 120px);
  --header-h: 80px;
  --ease: .3s cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 20px 45px rgba(10, 37, 64, .12);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font: 400 16.5px/1.75 var(--font-body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--navy); font-family: var(--font-head); font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.heading { font-size: clamp(32px, 4.6vw, 50px); }
.heading em { font-style: normal; color: var(--blue); }
.lead { font-size: 19px; color: var(--navy-3); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin-bottom: 54px; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font: 700 15px/1 var(--font-body); letter-spacing: .01em;
  background: var(--blue); color: var(--white); border: 2px solid var(--blue);
  cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn:hover { background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #e6b556; border-color: #e6b556; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn--wa:hover { background: #1ebe5a; border-color: #1ebe5a; }

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background var(--ease), box-shadow var(--ease); }
.header.is-scrolled, .header.is-open { background: rgba(10, 37, 64, .97); box-shadow: 0 8px 26px rgba(0,0,0,.2); backdrop-filter: blur(8px); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { height: 50px; width: auto; }
.brand__name { font-family: var(--font-head); font-size: 20px; letter-spacing: .08em; line-height: 1; }
.brand__name small { display: block; font: 600 10px/1 var(--font-body); letter-spacing: .42em; color: var(--gold); margin-top: 6px; }

.nav__toggle { width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform var(--ease), background var(--ease); }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top: 6px; }
.header.is-open .nav__toggle span { background: transparent; }
.header.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.header.is-open .nav__toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

.nav { display: none; position: fixed; inset: var(--header-h) 0 auto; background: var(--navy); padding: 8px var(--gutter) 28px; border-top: 1px solid rgba(255,255,255,.08); }
.header.is-open .nav { display: block; }
.nav__list a { display: block; padding: 14px 0; font-size: 17px; font-weight: 600; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav__list a.is-active { color: var(--gold); }
.nav .btn { margin-top: 22px; }

/* ==========================================================================
   5. HOME / HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #dbe6f1;
  background:
    linear-gradient(90deg, rgba(6,26,48,.93) 0%, rgba(6,26,48,.72) 45%, rgba(6,26,48,.10) 100%),
    url("https://images.unsplash.com/photo-1489392191049-fc10c97e64b6?auto=format&fit=crop&q=80&w=2000") 60% 40% / cover no-repeat,
    url("../images/hero.svg") 70% center / cover no-repeat, var(--navy);   /* illustration = fallback */
}
.hero__content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: 170px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { color: var(--white); font-size: clamp(38px, 6.2vw, 72px); max-width: 17ch; margin-bottom: 24px; }
.hero h1 span { color: var(--gold); display: block; }
.hero p { font-size: clamp(17px, 2vw, 19.5px); max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__areas { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; transform: translateY(50%); }
.areas { display: grid; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.area { display: flex; gap: 16px; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); transition: background var(--ease); }
.area:hover { background: var(--blue-100); }
.area:last-child { border-bottom: 0; }
.area__icon { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: var(--white); }
.area__icon svg { width: 26px; height: 26px; }
.area strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 20px; color: var(--navy); line-height: 1.2; }
.area span { font-size: 14px; color: var(--text); }

/* ==========================================================================
   6. ABOUT
   ========================================================================== */
.about { background: var(--paper); padding-top: calc(var(--section-y) + 190px); }
.about__intro { display: grid; gap: 50px; align-items: center; }
.about__media { position: relative; }
.about__media > img:first-child { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 60% center; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__logo {
  position: absolute; right: -8px; bottom: -30px;
  width: 150px; padding: 18px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow);
}
.approach {
  margin: 30px 0 0; padding: 22px 26px; border-radius: var(--radius);
  background: var(--white); border-left: 4px solid var(--gold);
  font-family: var(--font-head); font-size: 21px; line-height: 1.4; color: var(--navy);
}
.approach small { display: block; font: 700 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }

.why { margin-top: clamp(80px, 10vw, 120px); }
.why__grid { display: grid; gap: 18px; }
.why__card {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  border: 1px solid var(--line);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--blue-100); color: var(--blue); }
.why__icon svg { width: 24px; height: 24px; }
.why__card h3 { font-size: 22px; margin-bottom: 8px; }
.why__card p { font-size: 15px; margin: 0; }

/* ==========================================================================
   7. SERVICES
   ========================================================================== */
.services { background: var(--white); }
.service { display: grid; gap: 34px; align-items: center; }
.service + .service { margin-top: clamp(70px, 9vw, 110px); }
.service__media { position: relative; }
.service__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.service__num {
  position: absolute; top: -18px; left: -10px;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy); font: 400 24px/1 var(--font-head);
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}
.service h3 { font-size: clamp(28px, 3.4vw, 38px); }
.service__tag { font: 700 12.5px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 12px; }
.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy-3); }
.checks li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* How we work */
.process { background: var(--navy); color: var(--text-light); position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 620px; height: 620px;
  background: url("../images/crest-white.png") center / contain no-repeat; opacity: .04; pointer-events: none;
}
.process .heading { color: var(--white); }
.process .heading em { color: var(--gold); }
.process .eyebrow { color: var(--gold-soft); }
.steps { display: grid; gap: 20px; counter-reset: step; position: relative; }
.step {
  position: relative; padding: 32px 26px 28px; border-radius: var(--radius);
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.06);
  transition: transform var(--ease), border-color var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: rgba(217,164,65,.55); }
.step__num { font: 400 44px/1 var(--font-head); color: var(--gold); display: block; margin-bottom: 16px; }
.step h3 { color: var(--white); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
.step p { font-size: 15px; margin: 0; }

/* ==========================================================================
   8. CONTACT
   ========================================================================== */
.contact { background: var(--paper); }
.contact__grid { display: grid; gap: 30px; }
.contact__info { background: var(--blue); color: #dce9f6; border-radius: var(--radius); padding: clamp(30px, 4vw, 48px); position: relative; overflow: hidden; }
.contact__info::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; background: url("../images/crest-white.png") center / contain no-repeat; opacity: .08; }
.contact__info .eyebrow { color: var(--gold-soft); }
.contact__info .heading { color: var(--white); }
.info-list { margin: 30px 0 34px; display: grid; gap: 24px; position: relative; z-index: 1; }
.info-item { display: flex; gap: 16px; }
.info-item__icon { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: var(--white); }
.info-item__icon svg { width: 21px; height: 21px; }
.info-item small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.info-item a, .info-item address { font-style: normal; color: var(--white); font-size: 18px; font-weight: 600; line-height: 1.5; }
.contact__info .btn { position: relative; z-index: 1; }

.form { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow); }
.form h3 { font-size: 28px; }
.form > p { margin-bottom: 24px; }
.form__row { display: grid; gap: 18px; margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15.5px; color: var(--navy);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 10px;
  transition: border-color var(--ease), background var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230062ad' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: var(--white); }
.field.has-error input, .field.has-error select { border-color: #c0392b; }
.form__note { font-size: 13.5px; margin: 14px 0 0; min-height: 1.4em; }
.form__note.is-error { color: #c0392b; }
.form__note.is-ok { color: #2e7d32; }

.map { margin-top: 30px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; background: var(--blue-100); }
.map iframe { width: 100%; height: 360px; border: 0; }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer { background: #061a30; color: #8fa3b8; font-size: 14.5px; }
.footer__inner { display: grid; gap: 34px; padding: 60px var(--gutter) 44px; align-items: center; }
.footer__logo { width: 130px; }
.footer__tagline { font-family: var(--font-head); font-size: 22px; color: var(--white); line-height: 1.35; margin: 0; }
.footer__tagline span { display: block; font: 600 13px/1.6 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 10px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer a:hover { color: var(--gold); }
.footer__bottom .credits { opacity: .7; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 22px var(--gutter); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13.5px; }

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.25); transition: transform var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */
@media (min-width: 700px) {
  .areas { grid-template-columns: repeat(3, 1fr); }
  .area { border-bottom: 0; border-right: 1px solid var(--line); }
  .area:last-child { border-right: 0; }
  .about { padding-top: calc(var(--section-y) + 40px); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: auto 1fr auto; gap: 40px; }
}

@media (min-width: 1000px) {
  .nav__toggle { display: none; }
  .nav { display: flex !important; align-items: center; gap: 30px; position: static; background: none; padding: 0; border: 0; }
  .header.is-open { background: transparent; box-shadow: none; }
  .header.is-scrolled.is-open { background: rgba(10, 37, 64, .97); }
  .nav__list { display: flex; gap: 6px; }
  .nav__list a { padding: 10px 14px; border: 0; font-size: 15.5px; position: relative; }
  .nav__list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
  .nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
  .nav .btn { margin: 0; padding: 12px 22px; }

  .about__intro { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .why__grid { grid-template-columns: repeat(6, 1fr); }
  .why__card { grid-column: span 2; }
  .why__card:nth-child(4) { grid-column: 2 / span 2; }

  .service { grid-template-columns: 1fr 1fr; gap: 80px; }
  .service:nth-child(even) .service__media { order: 2; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 58px; height: 2px; background: repeating-linear-gradient(90deg, rgba(217,164,65,.4) 0 10px, transparent 10px 20px); z-index: 0; }
  .step { z-index: 1; }

  .contact__grid { grid-template-columns: .9fr 1.1fr; }
}

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