/* ==========================================================================
   BanknotesLab Option A — Standalone HTML/CSS/JS Production Theme
   Brand: BanknotesLab — Le Laboratoire du Billet de Banque
   Contact: contact@banknoteslabo.com | WhatsApp: +237 674465398 | Telegram: t.me/truststuff
   ========================================================================== */

:root {
  --bl-forest: #0f3d2e;
  --bl-forest-dark: #08241b;
  --bl-forest-light: #165641;
  --bl-gold: #c9a24b;
  --bl-gold-light: #e8d5a3;
  --bl-gold-gradient: linear-gradient(135deg, #d4af57 0%, #c19638 100%);
  --bl-ivory: #f8f6f0;
  --bl-paper: #ffffff;
  --bl-ink: #1c1f1d;
  --bl-muted: #5f6a63;
  --bl-line: rgba(15, 61, 46, 0.12);
  --bl-line-gold: rgba(201, 162, 75, 0.35);
  --bl-shadow: 0 16px 40px rgba(15, 61, 46, 0.08);
  --bl-shadow-lg: 0 24px 70px rgba(10, 35, 26, 0.14);
  --bl-radius: 12px;
  --bl-radius-lg: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bl-ivory);
  color: var(--bl-ink);
  line-height: 1.65;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .bl-serif {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--bl-forest-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.page-container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

/* Announcement Header */
.top-bar {
  background: linear-gradient(90deg, #061e16 0%, #0f3d2e 50%, #061e16 100%);
  color: #f8f4e9;
  font-size: 11px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--bl-line-gold);
  text-align: center;
}
.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.top-bar a { font-weight: 700; }
.top-bar .gold { color: var(--bl-gold); }
.top-bar .green { color: #25D366; }

/* Sticky Main Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--bl-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--bl-forest-dark);
}
.logo-lockup span { color: var(--bl-gold); }
.logo-lockup small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--bl-muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--bl-ink);
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--bl-forest);
}
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--bl-gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(15, 61, 46, 0.06);
  font-weight: 600;
}
.mobile-hamburger {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: var(--bl-forest-dark);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--bl-gold-gradient);
  color: #08241b;
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.35);
}
.btn-gold:hover {
  box-shadow: 0 12px 30px rgba(201, 162, 75, 0.45);
}
.btn-dark {
  background: var(--bl-forest);
  color: #ffffff;
  border-color: rgba(201,162,75,0.3);
}
.btn-dark:hover {
  background: var(--bl-forest-dark);
  border-color: var(--bl-gold);
}
.btn-outline {
  border-color: var(--bl-line-gold);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  background: rgba(201, 162, 75, 0.2);
  border-color: var(--bl-gold);
}
.btn-outline-dark {
  border-color: var(--bl-line);
  color: var(--bl-forest-dark);
  background: var(--bl-paper);
}
.btn-outline-dark:hover {
  border-color: var(--bl-forest);
  background: rgba(15, 61, 46, 0.04);
}

/* Hero Section */
.hero-section {
  background: radial-gradient(ellipse at 85% 40%, #154e3c 0%, #0f3d2e 45%, #071f16 100%);
  color: #f8f3e6;
  padding: 85px 0 95px;
  border-bottom: 1px solid var(--bl-line-gold);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: repeating-radial-gradient(ellipse at 88% 45%, transparent 0 18px, #c9a24b 19px 19.8px, transparent 20px 32px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  color: var(--bl-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.hero-grid h1 {
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 20px;
}
.hero-lead {
  font-size: 16px;
  color: #d6e2da;
  line-height: 1.8;
  max-width: 540px;
  margin: 0 0 32px;
}
.hero-media {
  position: relative;
  border-radius: var(--bl-radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--bl-line-gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-seal {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bl-forest-dark);
  border: 1.5px solid var(--bl-gold);
  color: var(--bl-gold);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  transform: rotate(8deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* Metric Strip */
.metric-strip {
  background: var(--bl-paper);
  border-bottom: 1px solid var(--bl-line);
  padding: 30px 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.metric-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  color: var(--bl-gold);
  font-weight: 700;
}

/* Section Header */
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px;
}
.section-head h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin: 10px 0 14px;
  color: var(--bl-forest-dark);
}
.section-head p {
  color: var(--bl-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* 9 Services Grid */
.services-section {
  padding: 90px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}
.service-box {
  background: var(--bl-paper);
  border: 1px solid var(--bl-line);
  border-radius: var(--bl-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--bl-shadow);
}
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--bl-shadow-lg);
  border-color: var(--bl-gold);
}
.service-box-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.service-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-box:hover .service-box-img img {
  transform: scale(1.05);
}
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,61,46,0.15) 0%, rgba(8,36,27,0.85) 100%);
}
.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8,36,27,0.9);
  color: var(--bl-gold);
  border: 1px solid var(--bl-gold);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.service-title-wrap {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
}
.service-title-wrap small {
  color: var(--bl-gold);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.service-title-wrap h3 {
  color: #ffffff;
  margin: 3px 0 0;
  font-size: 20px;
}

.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-desc {
  font-size: 13px;
  color: var(--bl-muted);
  line-height: 1.7;
  margin: 0 0 18px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.service-tag {
  font-size: 10px;
  background: var(--bl-ivory);
  border: 1px solid var(--bl-line);
  color: var(--bl-forest);
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 600;
}

/* Master Form Container */
.form-section {
  padding: 90px 0;
  background: var(--bl-paper);
  border-top: 1px solid var(--bl-line);
}
.form-shell {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bl-ivory);
  border: 1.5px solid var(--bl-gold);
  border-radius: var(--bl-radius-lg);
  padding: 44px clamp(24px, 4vw, 52px);
  box-shadow: var(--bl-shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--bl-forest-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--bl-line);
  border-radius: 8px;
  background: var(--bl-paper);
  padding: 12px 14px;
  color: var(--bl-ink);
  outline: none;
  font-size: 13px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bl-forest);
  box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.08);
}

.file-dropzone {
  border: 2px dashed var(--bl-line-gold);
  background: var(--bl-paper);
  border-radius: var(--bl-radius);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.file-dropzone:hover {
  background: rgba(201, 162, 75, 0.05);
  border-color: var(--bl-gold);
}
.file-preview-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  justify-content: center;
}
.file-preview-item {
  background: var(--bl-ivory);
  border: 1px solid var(--bl-line);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
}

/* Product Showcase (Inquiry-only) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bl-paper);
  border: 1px solid var(--bl-line);
  border-radius: var(--bl-radius);
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bl-shadow);
  border-color: var(--bl-gold-light);
}
.product-img {
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #e6eae4;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(8,36,27,0.88);
  color: var(--bl-gold);
  border: 1px solid var(--bl-gold);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Public Verification Tool */
.verify-widget {
  background: linear-gradient(135deg, #09291f 0%, #0f3d2e 65%, #154e3c 100%);
  color: #f8f3e6;
  border-radius: var(--bl-radius-lg);
  padding: 44px;
  border: 1.5px solid var(--bl-gold);
  box-shadow: var(--bl-shadow-lg);
}

/* Footer */
.site-footer {
  background: #08241b;
  color: #f5f0e4;
  padding: 70px 0 30px;
  border-top: 2px solid var(--bl-gold);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-cols h4 {
  color: var(--bl-gold);
  font-size: 16px;
  margin: 0 0 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 2.1;
}
.footer-links a { color: #b7c7bc; }
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #9cb1a3;
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile Media Queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-hamburger { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
}
