:root {
  --ink: #2f281d;
  --ink-soft: #625745;
  --muted: #897c66;
  --paper: #ffffff;
  --cream: #faf7ef;
  --cream-2: #f3ead4;
  --gold: #d2ad2e;
  --gold-light: #f5df86;
  --gold-dark: #8d6b16;
  --black: #11100c;
  --black-2: #1d1912;
  --line: rgba(47, 40, 29, 0.12);
  --shadow: 0 16px 34px rgba(47, 40, 29, 0.14);
  --shadow-strong: 0 26px 58px rgba(47, 40, 29, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 16, 12, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-wrap,
.section,
.footer-inner,
.hero-inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: linear-gradient(135deg, #fff2b1, var(--gold));
  font-family: Georgia, serif;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(210, 173, 46, 0.28);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 12px 30px rgba(210, 173, 46, 0.38);
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  padding: 8px 12px;
  color: var(--paper);
  font-weight: 800;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255,1);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nav-cta {
  margin-left: 5px;
  color: var(--black) !important;
  background: var(--gold) !important;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  text-align: center;
  background:
    linear-gradient(rgba(212,175,55, 1), rgba(255, 215, 0, 0.6)),
    url("../img/jcb_extraction.jpeg") center / cover no-repeat;
  isolation: isolate;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 225, 128, 0.18), transparent 48%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 78px 0 66px;
  animation: heroFadeUp 0.95s ease both;
}

.hero-inner > div:first-child,
.page-hero .hero-inner > div {
  max-width: 780px;
  margin: 0 auto;
}

.page-hero .hero-inner {
  min-height: 330px;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 2.12rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.eyebrow.dark {
  color: var(--gold-dark);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(2.15rem, 5vw, 4.3rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h2 {
  color: var(--black);
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

h3 {
  color: var(--black);
  font-size: 1.12rem;
}

.lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.button:hover {
  transform: translateY(-3px) scale(1.02);
  filter: saturate(1.06);
}

.button-primary {
  color: var(--black);
  background: linear-gradient(135deg, #fff1a4, var(--gold));
  box-shadow: 0 12px 26px rgba(87, 64, 8, 0.22);
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
}

.button-dark {
  color: var(--paper);
  background: var(--black);
  border-color: var(--black);
}

.hero-card {
  width: min(100%, 760px);
  margin: 30px auto 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-card img {
  display: none;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  padding: 13px 10px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.metric strong {
  display: block;
  color: var(--gold-light);
  font-size: 1rem;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  line-height: 1.35;
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding: 52px 0;
}

.section-alt {
  width: 100%;
  max-width: none;
  background: var(--cream);
}

.section-dark {
  width: 100%;
  max-width: none;
  color: var(--paper);
  background: linear-gradient(135deg, var(--gold), #c69b17);
}

.section-dark > .section {
  padding-top: 68px;
  padding-bottom: 72px;
}

.section-dark h2,
.section-dark h3 {
  color: var(--paper);
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.9);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-head p {
  max-width: 660px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.9);
}

.intro-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.panel.gold {
  color: var(--paper);
  background: linear-gradient(145deg, var(--black), #2d2518);
  border-color: rgba(255, 255, 255, 0.08);
}

.panel.gold h2,
.panel.gold h3 {
  color: var(--paper);
}

.panel.gold p,
.panel.gold li {
  color: rgba(255, 255, 255, 0.82);
}

.card-grid,
.values-grid,
.process,
.product-specs {
  display: grid;
  gap: 22px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two,
.product-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.value,
.step {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(110, 84, 18, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(70, 52, 9, 0.13);
}

.card-content,
.value,
.step {
  padding: 24px;
}
.card-content h3{color:#d4af37;}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.section-dark .card {
  box-shadow: 0 16px 34px rgba(86, 62, 4, 0.18);
}

.card p,
.panel p,
.value p,
.step p {
  color: var(--ink-soft);
}

.check-list,
.plain-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 28px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.54em;
  width: 11px;
  height: 11px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(210, 173, 46, 0.16);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.72em;
  width: 13px;
  height: 2px;
  background: var(--gold);
}

.check-list.columns {
  columns: 2;
  column-gap: 30px;
}

.split img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero {
  background:
    linear-gradient(rgba(36, 29, 9, 0.78), rgba(36, 29, 9, 0.74)),
    url("../img/extracts_gold.jpg") center / cover no-repeat;
}

.values-grid,
.process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value span,
.step span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  place-items: center;
  color: var(--black);
  font-weight: 900;
  background: var(--gold);
  border-radius: 50%;
}

.map-panel {
  overflow: hidden;
  background: #151107;
  border: 6px solid var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-panel img {
  width: 100%;
  background: radial-gradient(circle at center, #efe2bd, #b98f14 80%);
}

.map-caption {
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--black);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.country {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  color: var(--paper);
  background: rgba(17, 16, 12, 0.72);
  border-radius: 999px;
}

.country::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(245, 223, 134, 0.2);
}

.country-grid.light .country {
  color: var(--black);
  background: #fff7de;
  border: 1px solid rgba(210, 173, 46, 0.18);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr) auto;
  gap: 28px;
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 16px;
}

.contact-row {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-row strong {
  display: block;
  color: var(--black);
}

.contact-row span,
.contact-row a {
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: 15px;
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.form textarea {
  min-height: 136px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #0f0f0d;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

.footer-inner h3,
.footer-inner strong {
  color: var(--gold-light);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    inset: 64px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--black);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-inner {
    min-height: 500px;
  }

  .intro-grid,
  .split,
  .contact-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.two,
  .country-grid,
  .values-grid,
  .process,
  .product-specs,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .section,
  .footer-inner,
  .hero-inner {
    width: min(100% - 24px, var(--max-width));
  }

  .brand span:not(.brand-mark) {
    max-width: 190px;
  }

  .hero-inner,
  .page-hero .hero-inner,
  .section,
  .section-dark > .section {
    padding: 52px 0;
  }

  .hero-inner {
    min-height: 430px;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .card-grid,
  .card-grid.two,
  .country-grid,
  .values-grid,
  .process,
  .product-specs,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .check-list.columns {
    columns: 1;
  }

  .panel,
  .card-content,
  .value,
  .step {
    padding: 22px;
  }
  .eyebrow {
  /*display: grid;*/
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size:1rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
}
.why-horizontal {
  background: linear-gradient(rgba(212,175,55,0.9), rgba(15,15,15,0.9)),
              url('../img/peasant-miner-holding-gold-nuggets-top.jpg') center/cover no-repeat;
  padding: 80px 8%;
  text-align: center;
  color: #fff;
}

.why-horizontal h2 {
  font-size: 34px;
  margin-bottom: 50px;
  color: #fff;
}

.why-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 180px;
}

.why-item i {
  font-size: 26px;
  color: #d4af37;
  margin-bottom: 12px;
}

.why-item p {
  font-size: 14px;
  color: #eee;
  line-height: 1.5;
}
.highlights-section {
  padding: 80px 10%;
  background: #f9f9f9;
  text-align: center;
}

.highlights-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-transform: uppercase;
  color:#d4af37;
}

.highlight-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.highlight-box {
  width: 260px;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  text-align: center;
  opacity:1;
  transform: translateY(5px);
}

.highlight-box i {
  font-size: 28px;
  color: #d4af37;
  margin-bottom: 12px;
}


.highlight-box p {
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}


/*@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}*/

/* HOVER EFFECT */
.highlight-box:hover {
  transform: translateY(-8px);
  transition: 0.3s;background-color: #d4af37;

}
.highlight-box:hover i {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
}
.highlight-box:hover p {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* Polished animation transitions */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.75s ease var(--reveal-delay, 0ms),
    transform 0.75s ease var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card,
.panel,
.value,
.step,
.contact-row,
.map-panel,
.split img,
.highlight-box {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    filter 0.35s ease;
}

.card:hover,
.panel:hover,
.value:hover,
.step:hover,
.contact-row:hover,
.map-panel:hover,
.split img:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(47, 40, 29, 0.2);
}

.card img,
.split img {
  transition: transform 0.55s ease, filter 0.55s ease;
}

.card:hover img,
.split img:hover {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.button,
.nav-links a,
.country {
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover,
.nav-links a:hover,
.country:hover,
.country.active {
  transform: translateY(-2px);
}

.map-marker {
  animation: markerPulse 2.2s ease-in-out infinite;
}

@keyframes markerPulse {
  0%,
  100% {
    box-shadow: 0 0 0 7px rgba(245, 223, 134, 0.16), 0 10px 24px rgba(0, 0, 0, 0.28);
  }

  50% {
    box-shadow: 0 0 0 13px rgba(245, 223, 134, 0.28), 0 14px 34px rgba(0, 0, 0, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

