/* ============================================================
   Huanqiu Precious Metal — Trading Limited, Kampala Uganda
   One-page parallax site. Black · Gold · Ivory. Official, authentic.
   ============================================================ */

:root {
  --black:      #0b0c0e;
  --black-2:    #141518;
  --black-3:    #1d1f24;
  --gold:       #c9a24a;
  --gold-light: #e7cd86;
  --gold-deep:  #9a7724;
  --ivory:      #f6f2e9;
  --ivory-mute: #cfc9bb;
  --line-dark:  rgba(201,162,74,0.22);
  --line-light: rgba(11,12,14,0.12);
  --red:        #c5312b;
  --up:         #3fae6e;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --shadow: 0 24px 60px rgba(0,0,0,0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--black);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content:""; width: 30px; height: 1px; background: var(--gold); }
.eyebrow--center { justify-content: center; }
.eyebrow--gold { color: var(--gold-light); }
.eyebrow--gold::before { background: var(--gold-light); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 15px 28px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ivory); border-color: rgba(246,242,233,0.4); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn--dark { background: var(--black); color: var(--ivory); }
.btn--dark:hover { background: var(--black-3); transform: translateY(-2px); }
.btn--wa { background: #1faf54; color: #fff; }
.btn--wa:hover { background: #1c9e4c; transform: translateY(-2px); }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================
   Disclaimer bar
   ============================================================ */
.disclaimer {
  background: var(--red); color: #fff;
  text-align: center; font-size: 13px; letter-spacing: 0.02em;
  padding: 9px 16px;
}
.disclaimer b { font-weight: 800; letter-spacing: 0.06em; }
.disclaimer .wa { font-weight: 800; white-space: nowrap; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: #000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--ivory);
  transition: background .3s ease, border-color .3s ease;
}
.header.scrolled { background: #000; border-color: var(--line-dark); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__logo {
  height: 58px; width: auto; flex: none; object-fit: contain; display: block;
  border-radius: 6px;
}
.brand--footer .brand__logo { height: 76px; }
.brand__mark {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold-deep));
  color: var(--black); font-family: var(--serif); font-weight: 700; font-size: 22px;
  box-shadow: 0 0 0 1px var(--gold), inset 0 1px 2px rgba(255,255,255,0.4);
}
.brand__name { font-family: var(--serif); font-size: 19px; line-height: 1; letter-spacing: 0.04em; color: var(--ivory); }
.brand__name b { color: var(--gold-light); font-weight: 700; }
.brand__name small { display: block; font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-mute); margin-top: 5px; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ivory-mute); position: relative; }
.nav a::after { content:""; position: absolute; left: 0; bottom: -7px; height: 2px; width: 0; background: var(--gold); transition: width .25s ease; }
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: 16px; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ivory); margin: 5px 0; transition: .3s; }

.mobile-nav { display: none; }

/* ============================================================
   Parallax core
   ============================================================ */
.parallax { position: relative; overflow: hidden; isolation: isolate; }
.parallax__bg {
  position: absolute; left: 0; top: -12%;
  width: 100%; height: 124%;
  z-index: -2;
  background: linear-gradient(135deg, #15110a 0%, #2a2110 45%, #0d0b07 100%);
  will-change: transform;
}
.parallax__bg image-slot, .parallax__bg .parallax__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.parallax__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,12,14,0.72) 0%, rgba(11,12,14,0.55) 45%, rgba(11,12,14,0.82) 100%);
}
.parallax__scrim--soft { background: linear-gradient(180deg, rgba(11,12,14,0.78), rgba(11,12,14,0.6)); }

/* ============================================================
   Hero
   ============================================================ */
.hero { min-height: 92vh; display: flex; align-items: center; color: var(--ivory); padding-block: 120px 90px; }
.hero__grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 56px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(40px, 6vw, 82px); line-height: 1.02; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero__lead { margin-top: 26px; max-width: 52ch; font-size: clamp(16px, 1.7vw, 20px); color: var(--ivory-mute); }
.hero__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin-top: 44px; display: flex; gap: 26px; flex-wrap: wrap; align-items: center; font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ivory-mute); }
.hero__trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust svg { width: 17px; height: 17px; color: var(--gold); }

/* live gold price card */
.spot {
  background: rgba(20,21,24,0.66); border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px); padding: 26px; border-radius: 2px;
}
.spot__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); display:flex; align-items:center; gap: 9px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 var(--up); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(63,174,110,.5);} 70%{box-shadow:0 0 0 9px rgba(63,174,110,0);} 100%{box-shadow:0 0 0 0 rgba(63,174,110,0);} }
.spot__val { font-family: var(--serif); font-size: 46px; line-height: 1; margin-top: 16px; color: var(--ivory); font-variant-numeric: tabular-nums; }
.spot__row { margin-top: 10px; display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ivory-mute); }
.spot__chg { font-weight: 700; font-variant-numeric: tabular-nums; }
.spot__chg.up { color: var(--up); }
.spot__chg.down { color: #e06a5f; }
.spot__note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 11px; color: var(--ivory-mute); letter-spacing: 0.02em; }

/* ============================================================
   Stats strip
   ============================================================ */
.stats { background: var(--black); color: var(--ivory); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 28px; text-align: center; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: none; }
.stat__n { font-family: var(--serif); font-size: clamp(40px, 5vw, 58px); line-height: 1; color: var(--gold-light); }
.stat__l { margin-top: 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-mute); }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--black { background: var(--black); color: var(--ivory); }
.section--dark2 { background: var(--black-2); color: var(--ivory); }
.section__head { max-width: 720px; }
.section__head.center { margin: 0 auto; text-align: center; }
.section__head h2 { font-size: clamp(32px, 4.6vw, 58px); margin-top: 18px; }
.section__head p { margin-top: 20px; color: rgba(11,12,14,0.66); font-size: 18px; }
.section--black .section__head p, .section--dark2 .section__head p { color: var(--ivory-mute); }

/* ============================================================
   About
   ============================================================ */
.about { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.about__media { position: relative; }
.about__media image-slot, .about__media .about__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); display: block; }
.about__badge {
  position: absolute; right: -24px; bottom: 34px;
  background: var(--gold); color: var(--black);
  padding: 20px 24px; max-width: 230px; box-shadow: var(--shadow);
}
.about__badge .t { font-family: var(--serif); font-size: 30px; line-height: 1; }
.about__badge .d { font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.about__lead { font-size: 20px; line-height: 1.6; }
.about__body { margin-top: 18px; color: rgba(11,12,14,0.7); }
.about__points { margin-top: 30px; display: grid; gap: 2px; }
.point { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-light); }
.point:first-child { border-top: none; }
.point__ico { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-deep); display: grid; place-items: center; }
.point__ico svg { width: 20px; height: 20px; }
.point h4 { font-size: 20px; }
.point p { font-size: 14.5px; color: rgba(11,12,14,0.62); margin-top: 5px; }

/* ============================================================
   Parallax statement band
   ============================================================ */
.band { color: var(--ivory); text-align: center; }
.band__inner { padding-block: clamp(90px, 13vw, 180px); max-width: 940px; margin: 0 auto; }
.band blockquote { font-family: var(--serif); font-size: clamp(26px, 3.8vw, 50px); line-height: 1.22; margin: 0; font-style: italic; }
.band blockquote b { color: var(--gold-light); font-style: normal; font-weight: 600; }
.band__by { margin-top: 28px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory-mute); }

/* ============================================================
   Services
   ============================================================ */
.services { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.service { background: var(--black); padding: 40px 34px; transition: background .3s ease; }
.service:hover { background: var(--black-3); }
.service__ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; }
.service__ico svg { width: 24px; height: 24px; }
.service h3 { font-size: 25px; margin-top: 22px; color: var(--ivory); }
.service p { margin-top: 12px; font-size: 14.5px; color: var(--ivory-mute); }

/* ============================================================
   Process
   ============================================================ */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { padding-top: 28px; border-top: 2px solid var(--gold); }
.step__n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold-deep); }
.step h4 { font-size: 21px; margin-top: 14px; }
.step p { margin-top: 10px; font-size: 14.5px; color: rgba(11,12,14,0.62); }
.section--black .step p, .section--dark2 .step p { color: var(--ivory-mute); }
.section--black .step h4, .section--dark2 .step h4 { color: var(--ivory); }

/* ============================================================
   Contact
   ============================================================ */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info { display: grid; gap: 6px; }
.cinfo { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-dark); align-items: flex-start; }
.cinfo:first-of-type { border-top: none; }
.cinfo__ico { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; }
.cinfo__ico svg { width: 20px; height: 20px; }
.cinfo__l { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory-mute); }
.cinfo__v { font-size: 17px; margin-top: 4px; color: var(--ivory); }
.cinfo__v a:hover { color: var(--gold-light); }
.contact__wa { margin-top: 26px; }

.form { background: var(--black-2); border: 1px solid var(--line-dark); padding: 36px; }
.form h3 { font-size: 26px; color: var(--ivory); }
.form p.sub { font-size: 14px; color: var(--ivory-mute); margin-top: 6px; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-mute); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--black); border: 1px solid var(--line-dark);
  color: var(--ivory); font-family: var(--sans); font-size: 15px; padding: 13px 15px; border-radius: 2px;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; margin-top: 24px; }
.form__note { font-size: 11.5px; color: var(--ivory-mute); margin-top: 14px; text-align: center; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #07080a; color: var(--ivory-mute); padding-block: 72px 32px; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 44px; }
.footer__about { font-size: 14px; max-width: 36ch; margin-top: 20px; line-height: 1.7; }
.footer__col h5 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; margin: 0 0 16px; }
.footer__col a, .footer__col p { display: block; font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(207,201,187,0.6); }
.footer__bottom a { color: rgba(207,201,187,0.6); }
.footer__bottom a:hover { color: var(--gold-light); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; background: #1faf54;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ============================================================
   Purpose — intro + checklist
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist li { display: flex; gap: 15px; align-items: flex-start; padding: 17px 0; border-top: 1px solid var(--line-light); font-size: 16.5px; }
.checklist li:first-child { border-top: none; }
.checklist .chk { width: 27px; height: 27px; flex: none; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-items: center; margin-top: 1px; }
.checklist .chk svg { width: 14px; height: 14px; }
.section--black .checklist li, .section--dark2 .checklist li { border-color: var(--line-dark); color: var(--ivory); }

/* ============================================================
   Pillars / Programs — cards with tick lists
   ============================================================ */
.cards3 { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.cards2 { margin-top: 60px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.card-x { background: var(--black); padding: 40px 34px; transition: background .3s ease; }
.section--dark2 .card-x { background: var(--black-2); }
.card-x:hover { background: var(--black-3); }
.card-x__ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; }
.card-x__ico svg { width: 24px; height: 24px; }
.card-x h3 { font-size: 24px; margin-top: 22px; color: var(--ivory); }
.card-x__sub { font-size: 13px; color: var(--gold-light); margin-top: 8px; letter-spacing: 0.04em; }
.tick-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.tick-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ivory-mute); line-height: 1.5; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }

/* ============================================================
   Reasons grid (Why Partner)
   ============================================================ */
.reasons { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.reason { background: var(--black); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; transition: background .3s ease; }
.reason:hover { background: var(--black-3); }
.reason__ico { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; }
.reason__ico svg { width: 20px; height: 20px; }
.reason h4 { font-size: 19px; color: var(--ivory); line-height: 1.15; }
.reason p { font-size: 13.5px; color: var(--ivory-mute); }

/* ---------- reveal (visible by default; only hidden once JS arms it) ---------- */
.reveal { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal { opacity: 0; transform: translateY(28px); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .parallax__bg { transform: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .spot { max-width: 360px; }
  .cards3 { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .header__cta .btn--gold { display: none; }
  .menu-btn { display: block; }
  .about, .contact, .split { grid-template-columns: 1fr; }
  .cards2 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--line-dark); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__media { max-width: 440px; }
  .mobile-nav {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 80;
    background: var(--black); color: var(--ivory); padding: 96px var(--pad) 40px;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
  }
  .mobile-nav.open { transform: none; }
  .mobile-nav a:not(.btn) { font-family: var(--serif); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .mobile-nav .btn { margin-top: 26px; justify-content: center; }
  .mobile-close { position: absolute; top: 28px; right: var(--pad); background: none; border: none; color: var(--ivory); font-size: 32px; cursor: pointer; }
  body.nav-open { overflow: hidden; }
  .disclaimer { font-size: 11.5px; }
}
@media (max-width: 560px) {
  .services, .steps, .stats__grid, .field-row, .reasons { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .about__badge { right: 8px; }
  .hero__trust { gap: 16px; }
}
