/* ============================================================
   Promote Kenya .co.ke — Long-scroll marketing site
   Design: editorial, cinematic, Kenyan flag accents (red/green/black)
   Funnels into promotekenya.com
   ============================================================ */

:root {
  --ink: #14110A;
  --paper: #FBF7EF;
  --paper-2: #F2EBDC;
  --muted: #6B6457;
  --line: rgba(20, 17, 10, 0.12);

  --kenya-red: #C0392B;
  --kenya-green: #1A7A6E;
  --kenya-gold: #F5B830;
  --kenya-black: #14110A;
  --investment-blue: #1A4FA0;

  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --max: 1400px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--kenya-gold);
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 38px; width: auto; }
.brand-name { font-weight: 800; font-size: 14px; letter-spacing: .04em; color: var(--paper); }
.brand-sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(251,247,239,.65); display: block; margin-top: 2px; }
.nav.scrolled .brand-name { color: var(--ink); }
.nav.scrolled .brand-sub { color: var(--muted); }

.nav-links { display: none; gap: 2rem; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--paper); opacity: .85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav.scrolled .nav-links a { color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: flex; } }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--kenya-red); color: white; box-shadow: 0 8px 24px -8px rgba(192,57,43,.5); }
.btn-primary:hover { background: #a8301f; }
.btn-ghost { background: transparent; color: var(--paper); border: 1.5px solid rgba(251,247,239,.3); }
.nav.scrolled .btn-ghost { color: var(--ink); border-color: var(--line); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-arrow::after { content: "→"; transition: transform .2s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,17,10,.25) 0%, rgba(20,17,10,.45) 50%, rgba(20,17,10,.92) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 8rem 0 5rem; width: 100%; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: .95;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 1.25rem 0;
}
.hero h1 .accent { color: var(--kenya-gold); font-style: italic; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 56ch; opacity: .85; margin-bottom: 2rem; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-flag {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  height: 6px; display: flex;
}
.hero-flag span { flex: 1; }
.hero-flag span:nth-child(1) { background: #14110A; }
.hero-flag span:nth-child(2) { background: var(--kenya-red); }
.hero-flag span:nth-child(3) { background: var(--kenya-green); }

/* ===== MARQUEE ===== */
.marquee {
  background: var(--ink); color: var(--paper);
  padding: 1.25rem 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.marquee-track {
  display: flex; gap: 4rem; white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 2rem; }
.marquee-track span::before { content: "★"; color: var(--kenya-gold); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTION SHARED ===== */
section.block { padding: clamp(5rem, 10vw, 9rem) 0; }
.block-head { max-width: 60rem; margin-bottom: 4rem; }
.block-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: .75rem 0 1.25rem;
}
.block-head h2 em { font-style: italic; color: var(--kenya-red); }
.block-head p.intro { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 52ch; line-height: 1.6; }

/* ===== INTRO / WHO WE ARE ===== */
.who { background: var(--paper); border-bottom: 1px solid var(--line); }
.who-grid { display: grid; gap: 4rem; align-items: start; }
@media (min-width: 900px) { .who-grid { grid-template-columns: 1.1fr 1fr; gap: 6rem; } }
.who-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.who-stat {
  padding: 1.5rem;
  background: var(--paper-2);
  border-left: 3px solid var(--kenya-red);
  border-radius: 4px;
}
.who-stat .num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--ink); }
.who-stat .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }

/* ===== PILLARS DEEP ===== */
.pillar {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.pillar.dark { background: var(--ink); color: var(--paper); border-top-color: rgba(255,255,255,.08); }
.pillar.dark .kicker, .pillar.dark .block-head p.intro { color: rgba(251,247,239,.65); }
.pillar.dark .who-stat { background: rgba(255,255,255,.04); color: var(--paper); }
.pillar.dark .who-stat .num { color: var(--paper); }

.pillar-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .pillar.reverse .pillar-grid > .pillar-media { order: 2; }
}
.pillar-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(20,17,10,.4);
}
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pillar-media:hover img { transform: scale(1.05); }
.pillar-badge {
  position: absolute; top: 1.5rem; left: 1.5rem;
  padding: .5rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.pillar-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.pillar h3 em { font-style: italic; }
.pillar-body { font-size: 1.05rem; line-height: 1.75; color: var(--muted); margin-bottom: 1.5rem; }
.pillar.dark .pillar-body { color: rgba(251,247,239,.75); }

.pillar-services { list-style: none; display: grid; gap: .75rem; margin: 1.75rem 0; }
.pillar-services li {
  padding: .75rem 0 .75rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 15px;
}
.pillar.dark .pillar-services li { border-bottom-color: rgba(255,255,255,.1); }
.pillar-services li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.pillar-services li strong { display: block; font-weight: 700; margin-bottom: .15rem; }
.pillar-services li span { color: var(--muted); font-size: 14px; }
.pillar.dark .pillar-services li span { color: rgba(251,247,239,.6); }

.pillar-cta { margin-top: 2rem; }

/* ===== 7-STEP SECTION ===== */
.seven {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.seven-steps { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 700px) { .seven-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .seven-steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  padding: 1.75rem;
  background: var(--paper);
  border-radius: 8px;
  border-top: 3px solid var(--kenya-red);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(20,17,10,.2); }
.step .num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--kenya-red);
  line-height: 1;
}
.step h4 { font-size: 1.05rem; font-weight: 700; margin: .75rem 0 .5rem; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ===== DESTINATIONS GALLERY ===== */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } }
.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
@media (min-width: 900px) {
  .gallery-item { aspect-ratio: auto; }
  .gallery-item.tall { grid-row: span 2; }
  .gallery-item.wide { grid-column: span 2; }
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .label {
  position: absolute; bottom: 1rem; left: 1rem;
  color: white;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
}

/* ===== SHOP PREVIEW ===== */
.shop-preview { background: var(--paper); }
.shop-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 3rem 0; }
.product {
  background: var(--paper-2);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(20,17,10,.25); }
.product .img { aspect-ratio: 1; overflow: hidden; }
.product .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .img img { transform: scale(1.06); }
.product .meta { padding: 1rem 1.25rem 1.25rem; }
.product .meta h5 { font-size: 15px; font-weight: 700; margin-bottom: .25rem; }
.product .meta p { font-size: 13px; color: var(--muted); }
.product .meta .price { font-family: var(--font-mono); font-size: 12px; letter-spacing: .15em; margin-top: .5rem; color: var(--kenya-red); font-weight: 700; }

/* ===== STATS BAND ===== */
.stats-band { background: var(--ink); color: var(--paper); padding: 5rem 0; }
.stats-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-item .v { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: var(--kenya-gold); line-height: 1; }
.stat-item .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgba(251,247,239,.65); margin-top: .75rem; }

/* ===== FINAL CTA ===== */
.final-cta {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  overflow: hidden;
  color: white;
}
.final-cta-bg { position: absolute; inset: 0; }
.final-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,.85) 0%, rgba(20,17,10,.9) 100%);
}
.final-cta-content { position: relative; z-index: 2; padding: 6rem 0; width: 100%; }
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.final-cta h2 em { font-style: italic; color: var(--kenya-gold); }
.final-cta p { font-size: 1.15rem; max-width: 50ch; opacity: .9; margin-bottom: 2.5rem; }

/* ===== CONTACT ===== */
.contact { background: var(--paper); }
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-info h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.05; margin-bottom: 1rem; }
.contact-list { list-style: none; margin-top: 2rem; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ic { font-size: 1.25rem; }
.contact-list .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.contact-list .val { font-size: 16px; font-weight: 500; }
.contact-form { background: var(--paper-2); padding: 2.5rem; border-radius: 8px; }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--kenya-red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.form-row textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: var(--paper); padding: 5rem 0 2rem; }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h6 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--kenya-gold); margin-bottom: 1.25rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .65rem; font-size: 14px; opacity: .75; transition: opacity .2s; }
.footer ul li:hover { opacity: 1; }
.footer .brand-name, .footer .brand-sub { color: var(--paper); }
.footer p { font-size: 14px; opacity: .7; line-height: 1.7; max-width: 38ch; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; opacity: .6;
}

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-bg img { animation: none !important; }
  * { transition: none !important; }
}
