/* ===========================================================================
   SANSHEK NIGERIA LIMITED — design system
   Colors pulled from the company logo:
     Brown  #2d1810  (primary text, headers)
     Green  #6fb03a  (accent, CTA, hover)
     Blue   #2f7ec9  (secondary accent)
     Red    #d93025  (rare highlights)
   Typography: Playfair Display (display) + Manrope (body)
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --brown-900: #1a0d07;
  --brown-800: #2d1810;
  --brown-700: #4a2a1a;
  --brown-100: #f5e9d8;

  --green: #6fb03a;
  --green-dark: #5a9230;
  --blue: #2f7ec9;
  --red: #d93025;

  --bg: #ffffff;
  --bg-soft: #faf7f2;      /* warm off-white for alt sections */
  --bg-dark: #1a0d07;

  --text: #1a0d07;
  --text-muted: #6b5d52;
  --border: #e8e0d4;

  --shadow-lg: 0 30px 60px -20px rgba(26, 13, 7, 0.25);
  --shadow-md: 0 12px 32px -12px rgba(26, 13, 7, 0.18);

  --max-w: 1400px;
  --gutter: clamp(20px, 4vw, 64px);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---- Typography scale ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown-900);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--green);
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 65ch;
}

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- Top announcement strip ---- */
.topbar {
  background: var(--brown-900);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.topbar .accent-bar {
  display: flex; height: 100%;
}
.topbar .accent-bar span {
  width: 8px; height: 100%;
}
.topbar .accent-bar span:nth-child(1){ background: var(--green); }
.topbar .accent-bar span:nth-child(2){ background: var(--blue); }
.topbar .accent-bar span:nth-child(3){ background: var(--red); }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 88px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 58px; width: auto; }
.nav-logo .brand-text {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.nav-logo .brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--green-dark);
  text-transform: uppercase;
  margin-top: 2px;
}
@media (min-width: 900px) {
  .nav-logo .brand-text { display: block; }
}

.nav-links {
  display: none;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--brown-800);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--green);
  transition: right 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--brown-900);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brown-900);
  color: white;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--brown-900);
  transition: all 0.3s;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  padding: 24px var(--gutter);
  background: white;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a { font-weight: 600; font-size: 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 2px;
}
.btn-primary {
  background: var(--green);
  color: white;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--green); background: var(--green); }

.btn-arrow::after { content: '→'; font-size: 1.1em; transition: transform 0.2s; }
.btn:hover .btn-arrow::after { transform: translateX(4px); }

/* ---- Sections ---- */
section { padding: clamp(60px, 8vw, 120px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--brown-900); color: white; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-dark .eyebrow { color: var(--green); }
.section-dark .lead { color: rgba(255,255,255,0.75); }

.section-header {
  max-width: 780px;
  margin-bottom: 60px;
}

/* ---- Footer ---- */
footer {
  background: var(--brown-900);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--green); }

.footer-brand { max-width: 380px; }
.footer-brand .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: white;
  margin: 16px 0;
  line-height: 1.4;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .accent-bar {
  display: flex;
  gap: 0;
  height: 3px;
  width: 60px;
}
.footer-bottom .accent-bar span { width: 20px; }
.footer-bottom .accent-bar span:nth-child(1){ background: var(--green); }
.footer-bottom .accent-bar span:nth-child(2){ background: var(--blue); }
.footer-bottom .accent-bar span:nth-child(3){ background: var(--red); }

/* ---- Reusable: card, grid, divider ---- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.divider-crosshair {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
}
.divider-crosshair .line {
  flex: 1; height: 1px; background: var(--border);
}
.divider-crosshair .dot {
  width: 10px; height: 10px;
  background: var(--green);
  border: 2px solid var(--brown-900);
  border-radius: 50%;
  position: relative;
}

/* ---- Fade-in on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
