/* ── TOKENS ────────────────────────────── */
:root {
  /* Fonts */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Geist', 'Helvetica Neue', sans-serif;

  /* Palette */
  --cream:       #FEFCFA;
  --warm-white:  #F7F3EE;
  --sand:        #E8DDD3;
  --taupe:       #C9B99A;
  --earth:       #8B6F4E;
  --deep-brown:  #3D2B1F;
  --olive:       #7A7A5A;
  --text:        #5C4A3A;
  --text-light:  #9A8A7A;

  /* Functional */
  --border:      rgba(139, 111, 78, 0.15);
  --shadow-soft: 0 4px 24px rgba(61, 43, 31, 0.08);
  --shadow-card: 0 8px 40px rgba(61, 43, 31, 0.12);

  /* Transitions */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ─────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  /* no margin-top — nav is handled separately */
}

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

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

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── TYPOGRAPHY ─────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--deep-brown);
  line-height: 1.15;
}

h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(22px, 3vw, 36px); }
h4 { font-size: clamp(18px, 2.5vw, 26px); }

p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

/* ── BUTTONS ────────────────────────────── */

/* Fill slide — earth bg slides in left→right on hover */
.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--earth);
  border: 1px solid var(--earth);
  overflow: hidden;
  transition: color 0.45s var(--ease);
}

.btn-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--earth);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: 0;
}

.btn-fill:hover::before { transform: scaleX(1); }
.btn-fill:not(:hover)::before {
  transform-origin: right;
}

.btn-fill:hover { color: var(--cream); }
.btn-fill span, .btn-fill { position: relative; z-index: 1; }

/* Slide button — white version for dark hero */
.btn-slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
  overflow: hidden;
  transition: color 0.45s var(--ease);
  z-index: 1;
}

.btn-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}

.btn-slide:hover::before { transform: scaleX(1); }
.btn-slide:not(:hover)::before { transform-origin: right; }
.btn-slide:hover { color: var(--deep-brown); }

/* Text + arrow button */
.btn-text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--earth);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}

.btn-text-arrow:hover {
  border-color: var(--earth);
  gap: 12px;
}

/* ── ANNOUNCEMENT TICKER ─────────────────── */
.announcement-banner {
  background: transparent;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-wrap { padding: 9px 0; overflow: hidden; }

.ticker-track {
  display: inline-flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #fff;
  padding: 0 6px;
}

.ticker-sep {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  padding: 0 14px;
  flex-shrink: 0;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track:hover { animation-play-state: paused; }

/* ── TOAST NOTIFICATIONS ─────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 320px;
}

.toast {
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  color: var(--text);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show { opacity: 1; transform: translateY(0); }

/* ── SPINNER ─────────────────────────────── */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(139,111,78,0.2);
  border-top-color: var(--earth);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── NEWSLETTER ──────────────────────────── */
.newsletter-text {
  font-size: 18px;
  color: var(--deep-brown);
  margin-bottom: 16px;
  font-family: var(--font-serif);
}

.newsletter-input {
  display: flex;
  gap: 8px;
}

.newsletter-input input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--sand);
  background: #fff;
  color: var(--deep-brown);
  font-family: var(--font-sans);
  font-size: 14px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-input input:focus {
  border-color: var(--earth);
}

.newsletter-input input::placeholder {
  color: var(--taupe);
}

.newsletter-input button {
  padding: 11px 22px;
  background: var(--earth);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background 0.3s;
}

.newsletter-input button:hover {
  background: var(--deep-brown);
}

.feedback-text {
  margin-top: 8px;
  font-size: 13px;
  color: var(--earth);
  min-height: 18px;
}

/* ── FOOTER ──────────────────────────────── */
.footer-box-1 {
  padding: 32px;
  background: #F0E8DF;
}

.footer-box-2 {
  padding: 56px;
  background: var(--warm-white);
  border-radius: 8px;
}

.newsletter {
  margin-bottom: 64px;
  max-width: 420px;
}

.footer-nav {
  display: flex;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.nav-column h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-brown);
  margin-bottom: 20px;
}

.nav-column a {
  display: block;
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 14px;
  transition: color 0.2s;
}

.nav-column a:hover { color: var(--earth); }

.footer-logo {
  text-align: center;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
}

.footer-logo img { height: 28px; margin: 0 auto; }

/* ── CURRENCY FLOAT ──────────────────────── */
.currency-float {
  position: fixed;
  bottom: 40px;
  right: 96px;
  width: 52px;
  height: 52px;
  z-index: 80;
}

.currency-toggle {
  background: rgba(254,252,250,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--deep-brown);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}

.currency-toggle:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.currency-dropdown {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 140px;
  display: none;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.currency-dropdown.active { display: block; }

.currency-list { max-height: 280px; overflow-y: auto; }

.currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid var(--border);
}

.currency-option:last-child { border-bottom: none; }
.currency-option:hover { background: var(--warm-white); }
.currency-option.active { background: var(--sand); }

.currency-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.08);
}

.currency-code { font-weight: 500; color: var(--deep-brown); font-size: 13px; }

.flag-ng { background-image: url('https://flagcdn.com/w40/ng.png'); }
.flag-gh { background-image: url('https://flagcdn.com/w40/gh.png'); }
.flag-ke { background-image: url('https://flagcdn.com/w40/ke.png'); }
.flag-za { background-image: url('https://flagcdn.com/w40/za.png'); }
.flag-eg { background-image: url('https://flagcdn.com/w40/eg.png'); }
.flag-us { background-image: url('https://flagcdn.com/w40/us.png'); }
.flag-ca { background-image: url('https://flagcdn.com/w40/ca.png'); }
.flag-gb { background-image: url('https://flagcdn.com/w40/gb.png'); }
.flag-eu { background-image: url('https://flagcdn.com/w40/eu.png'); }
.flag-au { background-image: url('https://flagcdn.com/w40/au.png'); }
.flag-cn { background-image: url('https://flagcdn.com/w40/cn.png'); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .footer-box-2 { padding: 32px 24px; }
  .footer-nav { gap: 24px; grid-template-columns: repeat(2, 1fr); display: grid; }
  .newsletter { max-width: 100%; margin-bottom: 48px; }
  .whatsapp-float { bottom: 24px; right: 20px; width: 46px; height: 46px; font-size: 20px; }
  .currency-float { bottom: 24px; left: 20px; }
}

@media (max-width: 480px) {
  .footer-box-1 { padding: 16px; }
  .footer-box-2 { padding: 24px 20px; border-radius: 6px; }
  .newsletter-input { flex-direction: column; }
  .newsletter-input button { width: 100%; padding: 13px; }
}