/* ======================================================
   BERENEX — GLOBAL STYLESHEET  (Light Edition)
   Premium Egyptian Mineral Trading House
   ====================================================== */

/* ── 1. CSS CUSTOM PROPERTIES ── */
:root {
  --black:     #0A0806;
  --charcoal:  #2C2418;
  --dark:      #1A1710;
  --gold:      #C9973A;
  --gold-light:#E8B96A;
  --sand:      #F5EDE0;
  --sand-mid:  #E8DCC8;
  --sand-deep: #DDD0BA;
  --stone:     #9A8870;
  --earth:     #6B5B45;
  --white:     #FDFAF5;
  --text-dark: #1A1710;
  --text-mid:  #5A4F3E;

  --nav-height:    80px;
  --container-max: 1280px;
  --container-pad: 2rem;
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --transition:    0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 2. BASE RESET & TYPOGRAPHY ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-dark);
}

code, .mono { font-family: 'DM Mono', monospace; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── 3. LAYOUT UTILITIES ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section        { padding: 100px 0; background: var(--white); }
.section-sand   { padding: 100px 0; background: var(--sand); }
.section-mid    { padding: 100px 0; background: var(--sand-mid); }
.section-charcoal { padding: 100px 0; background: var(--charcoal); color: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }

.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; color: var(--text-dark); }
.section-title em { font-style: italic; color: var(--gold); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-charcoal .section-title { color: var(--white); }
.section-charcoal .section-subtitle { color: var(--stone); }
.section-charcoal .section-eyebrow { color: var(--gold); }

.gold-rule       { width: 60px; height: 2px; background: var(--gold); margin: 1.5rem auto; }
.gold-rule-left  { margin-left: 0; }

/* ── 4. NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--sand-mid);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 28px rgba(26, 23, 16, 0.08);
  border-bottom-color: var(--sand-deep);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text-dark);
}

.nav-logo span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2.5rem; }

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--gold); }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.6rem 1.4rem;
  transition: background var(--transition), color var(--transition);
}

.nav-cta:hover { background: var(--gold); color: var(--black); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 19px;
  cursor: pointer;
  background: none; border: none; padding: 0;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(8.75px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: var(--charcoal);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.nav-overlay.open { opacity: 1; pointer-events: auto; }

.nav-overlay .nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white); text-transform: none;
}

.nav-overlay .nav-link:hover { color: var(--gold); }
.nav-overlay .nav-cta { font-size: 0.85rem; padding: 0.85rem 2rem; }

/* ── 5. HERO SECTIONS ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-light {
  background: var(--sand);
  color: var(--text-dark);
}

.hero-product {
  min-height: 56vh;
  align-items: flex-end;
  padding-bottom: 72px;
}

.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201, 151, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 151, 58, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-layout {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 4rem; width: 100%;
}

.hero-left  { flex: 1; }
.hero-right { flex-shrink: 0; }

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem; display: block;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 900; line-height: 1.04;
  color: var(--text-dark);
  margin-bottom: 1.75rem;
  opacity: 0; transform: translateY(28px);
  animation: fadeUp 0.8s var(--ease-out) 0.22s forwards;
}

.hero-title em { font-style: italic; color: var(--gold); }

.hero-subtitle {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.78; max-width: 560px;
  margin-bottom: 2.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.36s forwards;
}

.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

/* Hero stats */
.hero-stats {
  display: flex; flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.65s forwards;
}

.hero-stat {
  border: 1px solid var(--sand-mid);
  background: var(--white);
  padding: 1.4rem 2rem;
  text-align: center; min-width: 170px;
}

.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem; font-weight: 700;
  color: var(--gold); display: block;
  line-height: 1; margin-bottom: 0.5rem;
}

.hero-stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone);
}

/* Hero feature image (homepage) */
.hero-feature-img {
  width: 100%;
  aspect-ratio: 21 / 8;
  overflow: hidden;
}

.hero-feature-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ── 6. BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.9rem 2rem;
  transition: all var(--transition);
  cursor: pointer; border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold); color: var(--black); border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-dark {
  background: var(--text-dark); color: var(--white); border-color: var(--text-dark);
}
.btn-dark:hover { background: var(--earth); border-color: var(--earth); }

.btn-ghost-dark {
  background: transparent; color: var(--text-dark); border-color: var(--sand-deep);
}
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost-gold {
  background: transparent; color: var(--gold); border-color: var(--gold);
}
.btn-ghost-gold:hover { background: var(--gold); color: var(--black); }

.btn-ghost {
  background: transparent; color: var(--white); border-color: rgba(253, 250, 245, 0.35);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── 7. TICKER STRIP ── */
.ticker-strip {
  background: var(--gold); padding: 0.8rem 0; overflow: hidden;
}

.ticker-track {
  display: flex; width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--black); padding: 0 2.5rem; white-space: nowrap;
}

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

/* ── 8. PRODUCT CARDS ── */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-top: 2px solid var(--gold);
  border: 1px solid var(--sand-mid);
  border-top: 3px solid var(--gold);
  padding: 2.5rem;
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(107, 91, 69, 0.12);
  transform: translateY(-2px);
}

.product-card-formula {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; color: var(--gold);
  letter-spacing: 0.08em; margin-bottom: 0.85rem;
}

.product-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.75rem;
}

.product-card-desc {
  font-size: 0.9rem; color: var(--text-mid);
  line-height: 1.65; flex: 1; margin-bottom: 1.25rem;
}

.product-purity {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem; color: var(--gold);
  margin-bottom: 1rem; letter-spacing: 0.08em;
}

.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }

.product-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--stone);
  border: 1px solid var(--sand-deep); padding: 0.2rem 0.55rem;
}

.product-card-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 0.5rem;
  transition: gap var(--transition); margin-top: auto;
}
.product-card-link:hover { gap: 1rem; }

/* ── 9. FEATURE CARDS ── */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border: 1px solid var(--sand-mid);
  border-top: 3px solid var(--gold);
  transition: box-shadow var(--transition);
}

.feature-card:hover { box-shadow: 0 6px 24px rgba(107, 91, 69, 0.1); }

.feature-icon { font-size: 1.75rem; margin-bottom: 1.5rem; }

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.75rem;
}

.feature-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ── 10. MARKETS GRID ── */
.markets-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.market-card {
  background: var(--white);
  border: 1px solid var(--sand-mid);
  padding: 2rem; text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.market-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(107, 91, 69, 0.08);
}

.market-flag  { font-size: 2.25rem; margin-bottom: 0.75rem; display: block; }
.market-name  { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.market-stat  { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ── 11. STEPS (compact, homepage) ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--sand-mid);
}

.step-card {
  background: var(--white);
  padding: 2.5rem 1.75rem;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 900;
  color: rgba(201, 151, 58, 0.18);
  line-height: 1; margin-bottom: 1rem; display: block;
}

.step-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; font-weight: 500;
  color: var(--gold); margin-bottom: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}

.step-text { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

/* ── 12. SPEC TABLES ── */
.spec-table { width: 100%; border: 1px solid var(--sand-mid); }

.spec-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--sand-mid);
}
.spec-row:last-child { border-bottom: none; }

.spec-row:nth-child(even) .spec-label,
.spec-row:nth-child(even) .spec-value { background: var(--sand); }

.spec-section-header {
  display: block;
  background: var(--sand-mid);
  padding: 0.6rem 1.5rem;
  border-bottom: 1px solid var(--sand-deep);
}

.spec-section-header span {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--earth);
}

.spec-label {
  font-size: 0.875rem; color: var(--text-mid);
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--sand-mid);
  background: var(--white);
}

.spec-value {
  font-family: 'DM Mono', monospace;
  font-size: 0.875rem; color: var(--gold);
  padding: 1rem 1.5rem;
  letter-spacing: 0.04em;
  background: var(--white);
}

/* ── 13. APPLICATIONS GRID ── */
.applications-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.application-card {
  padding: 2rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-left: 3px solid var(--gold);
}

.application-icon  { font-size: 1.75rem; margin-bottom: 1rem; }
.application-name  { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-dark); }
.application-desc  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

/* ── 14. PACKAGING CARDS ── */
.packaging-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

.packaging-card {
  border: 1px solid var(--sand-mid);
  background: var(--white);
  padding: 2rem 1.5rem; text-align: center;
  transition: border-color var(--transition);
}
.packaging-card:hover { border-color: var(--gold); }

.packaging-icon  { font-size: 2rem; margin-bottom: 0.75rem; }
.packaging-name  { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.35rem; }
.packaging-detail{ font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--stone); }

/* ── 15. CERTIFICATION BADGES ── */
.cert-grid { display: flex; flex-wrap: wrap; gap: 1rem; }

.cert-badge {
  border: 1px solid var(--sand-deep);
  background: var(--white);
  padding: 0.85rem 1.5rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.25rem;
  transition: border-color var(--transition);
}
.cert-badge:hover { border-color: var(--gold); }

.cert-name   { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; }
.cert-detail { font-size: 0.75rem; color: var(--text-mid); }

/* ── 16. CTA BANNER ── */
.cta-banner {
  padding: 80px 0; text-align: center;
  background: var(--sand-mid);
  border-top: 3px solid var(--gold);
}

.cta-banner.charcoal {
  background: var(--charcoal);
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  color: var(--text-dark); margin-bottom: 1.25rem; line-height: 1.2;
}

.cta-banner.charcoal .cta-title { color: var(--white); }

.cta-title em { font-style: italic; color: var(--gold); }

.cta-subtitle {
  font-size: 1rem; color: var(--text-mid);
  margin-bottom: 2rem; max-width: 480px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}

.cta-banner.charcoal .cta-subtitle { color: var(--stone); }

/* ── 17. FORMS ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group.full-width { grid-column: 1 / -1; }

.form-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--earth);
}

.form-control {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--sand-deep);
  color: var(--text-dark);
  padding: 0.85rem 1rem;
  transition: border-color var(--transition);
  outline: none; width: 100%; -webkit-appearance: none; border-radius: 0;
}
.form-control:focus { border-color: var(--gold); }
.form-control option { background: var(--white); }

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9973A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea.form-control { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  background: rgba(201, 151, 58, 0.08);
  border: 1px solid rgba(201, 151, 58, 0.35);
  padding: 1.5rem; color: var(--earth);
  font-size: 0.95rem; line-height: 1.7; margin-top: 1.5rem;
}
.form-success.visible { display: block; }

/* ── 18. IMAGE SLOTS ── */
.hero-feature-img { width: 100%; aspect-ratio: 21 / 8; overflow: hidden; }
.hero-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-img-wrap { width: 100%; aspect-ratio: 16 / 7; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.section-img-wrap {
  width: 100%; aspect-ratio: 16 / 6; overflow: hidden;
  border-top: 1px solid var(--sand-mid); border-bottom: 1px solid var(--sand-mid);
}
.section-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact-img-wrap { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; margin-top: 2.5rem; }
.contact-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── 19. FOOTER ── */
.footer {
  background: var(--charcoal);
  color: var(--stone);
  border-top: 3px solid var(--gold);
}

.footer-top { padding: 80px 0 60px; }

.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 900;
  letter-spacing: 0.12em; color: var(--white);
  display: block; margin-bottom: 0.85rem;
}
.footer-logo span { color: var(--gold); }

.footer-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.1em;
  color: rgba(154, 136, 112, 0.55); line-height: 1.65; margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem; display: block;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link  { font-size: 0.875rem; color: var(--stone); transition: color var(--transition); }
.footer-link:hover { color: var(--gold-light); }

.footer-contact-item {
  font-size: 0.875rem; color: var(--stone);
  line-height: 1.55; margin-bottom: 0.85rem;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.footer-contact-item strong {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(154, 136, 112, 0.55);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 151, 58, 0.12);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
}

.footer-copyright,
.footer-hs {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.1em;
  color: rgba(154, 136, 112, 0.38);
}

/* ── 20. WHATSAPP BUTTON ── */
.whatsapp-btn {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 900; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: white; }

/* ── 21. ABOUT PAGE ── */
.about-two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem; align-items: start; }

.about-body { font-size: 1rem; color: var(--text-mid); line-height: 1.85; }
.about-body p { margin-bottom: 1.5rem; }

.about-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem; margin: 2rem 0;
  font-style: italic; color: var(--text-dark);
  background: rgba(201, 151, 58, 0.05);
}

.about-body blockquote cite {
  display: block; font-style: normal;
  font-size: 0.8rem; color: var(--stone); margin-top: 0.75rem;
}

/* Timeline */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 1px;
  background: var(--sand-deep);
}

.timeline-item {
  position: relative; margin-bottom: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--sand-mid);
}
.timeline-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.timeline-item::before {
  content: ''; position: absolute;
  left: -1.75rem; top: 0.45rem;
  width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
  transform: translateX(-3px);
}

.timeline-year {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.18em;
  color: var(--gold); display: block; margin-bottom: 0.4rem;
}

.timeline-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

/* Facts table */
.facts-table { width: 100%; border: 1px solid var(--sand-mid); }

.facts-row {
  display: grid; grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid var(--sand-mid);
}
.facts-row:last-child { border-bottom: none; }

.facts-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--earth);
  padding: 1rem 1.5rem; background: var(--sand);
  border-right: 1px solid var(--sand-mid);
}

.facts-value { font-size: 0.9rem; color: var(--text-mid); padding: 1rem 1.5rem; line-height: 1.55; }

/* Pillars */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.pillar-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  border: 1px solid var(--sand-mid);
  border-top: 3px solid var(--gold);
  padding: 2.75rem 2.5rem;
}

.pillar-num { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 900; color: rgba(201, 151, 58, 0.15); line-height: 1; margin-bottom: 1.25rem; }
.pillar-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
.pillar-text  { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }

/* ── 22. HOW WE WORK PAGE ── */
.steps-full { display: flex; flex-direction: column; gap: 1px; background: var(--sand-mid); }

.step-full-card {
  background: var(--white); padding: 3rem;
  display: grid; grid-template-columns: 90px 1fr;
  gap: 2.5rem; align-items: start;
}

.step-full-num { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 900; color: rgba(201, 151, 58, 0.2); line-height: 1; }
.step-full-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.75rem; }
.step-full-text  { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; }

/* Documentation cards */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.doc-card {
  background: var(--white); border: 1px solid var(--sand-mid);
  padding: 1.5rem; display: flex; align-items: center; gap: 1rem;
  transition: border-color var(--transition);
}
.doc-card:hover { border-color: var(--gold); }

.doc-icon { font-size: 1.5rem; flex-shrink: 0; }
.doc-name { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }
.doc-sub  { font-size: 0.8rem; color: var(--text-mid); margin-top: 0.2rem; }

/* ── 23. CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }

.contact-info-item { margin-bottom: 2rem; }
.contact-info-label {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.45rem; display: block;
}
.contact-info-value { font-size: 1rem; color: var(--text-dark); line-height: 1.6; }
.contact-info-value a { color: var(--gold); transition: color var(--transition); }
.contact-info-value a:hover { color: var(--gold-light); }

/* ── 24. PRODUCT PAGE SPECIFICS ── */
.product-formula-display {
  font-family: 'DM Mono', monospace; font-size: 1.25rem;
  color: var(--gold); letter-spacing: 0.08em;
  display: block; margin-bottom: 1.25rem;
}

.product-hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.product-hero-badge {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--sand-deep);
  color: var(--earth); padding: 0.3rem 0.8rem;
  background: var(--white);
}

.markets-served { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.market-served-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--text-mid);
  border: 1px solid var(--sand-mid); padding: 0.45rem 0.85rem;
  background: var(--white);
}
.market-served-flag { font-size: 1.1rem; }

/* ── 25. SCROLL REVEAL ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── 26. TABLET RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .markets-grid   { grid-template-columns: repeat(4, 1fr); }
  .products-grid  { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid   { grid-template-columns: repeat(2, 1fr); }
  .docs-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { grid-template-columns: repeat(3, 1fr); }

  .about-two-col  { gap: 3rem; }
  .contact-grid   { gap: 3rem; }

  .footer-inner   { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }

  .hero-title { font-size: clamp(2.5rem, 5vw, 4.5rem); }
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --container-pad: 1.25rem; }
  .section, .section-sand, .section-mid, .section-charcoal { padding: 64px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-layout { flex-direction: column; gap: 2.5rem; }
  .hero-right { width: 100%; }

  .hero-stats {
    flex-direction: row; overflow-x: auto;
    gap: 0.5rem; padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .hero-stat { min-width: 140px; }

  .hero-feature-img { aspect-ratio: 16 / 9; }

  .products-grid,
  .features-grid,
  .markets-grid,
  .pillars-grid,
  .applications-grid,
  .docs-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; }
  .form-grid  { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: 1; }

  .about-two-col  { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid   { grid-template-columns: 1fr; gap: 3rem; }

  .footer-inner   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; gap: 0.5rem; text-align: center; }

  .step-full-card { grid-template-columns: 1fr; gap: 0.5rem; padding: 2rem; }

  .facts-row { grid-template-columns: 1fr; }
  .facts-label { border-right: none; }

  .spec-row { grid-template-columns: 1fr; }
  .spec-label { border-right: none; }
  .spec-section-header { display: block; }

  .markets-grid { grid-template-columns: repeat(2, 1fr); }

  .product-hero-badges { gap: 0.5rem; }
  .product-hero-badge  { font-size: 0.58rem; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn { justify-content: center; }
  .cert-grid { flex-direction: column; }
}

/* ── 27. LEGACY SECTION CLASS ALIASES (light-mode mapping) ── */
.section-dark  { padding: 100px 0; background: var(--sand); }
.section-light { padding: 100px 0; background: var(--white); }
.section-deep  { padding: 100px 0; background: var(--sand-mid); }

@media (max-width: 768px) {
  .section-dark, .section-light, .section-deep { padding: 64px 0; }
}

/* ── 28. HOMEPAGE HERO (dark, with background image) ── */
.hero-dark {
  background: var(--charcoal);
  color: var(--white);
}

.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0.55;
}

.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10, 8, 6, 0.72) 0%, rgba(26, 23, 16, 0.55) 100%);
  z-index: 1;
}

.hero-noise {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.4;
}

.hero-dark .hero-layout,
.hero-dark .hero-content { position: relative; z-index: 3; }

.hero-dark .hero-title { color: var(--white); }
.hero-dark .hero-subtitle { color: rgba(253, 250, 245, 0.72); }

.hero-dark .hero-stat {
  background: rgba(10, 8, 6, 0.35);
  border-color: rgba(201, 151, 58, 0.28);
  backdrop-filter: blur(8px);
}
.hero-dark .hero-stat-label { color: rgba(154, 136, 112, 0.85); }

/* ── 29. CTA BANNER DARK ALIAS ── */
.cta-banner.dark {
  background: var(--charcoal);
  border-top-color: var(--gold);
}
.cta-banner.dark .cta-title  { color: var(--white); }
.cta-banner.dark .cta-subtitle { color: var(--stone); }

/* ── FAQ SECTION ── */
.faq-list {
  display: flex; flex-direction: column;
  max-width: 860px; margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--sand-mid);
  padding: 1.75rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--sand-mid); }

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.65rem; line-height: 1.35;
}

.faq-answer {
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.75;
}
