:root {
  --brand: #d53e0f;
  --brand-dark: #a92f0a;
  --brand-on-dark: #ff6a3d;
  --ink: #262626;
  --black: #111111;
  --cream: #fcf2e5;
  --paper: #f8f5f0;
  --white: #ffffff;
  --line: rgba(38, 38, 38, 0.20);
  --line-light: rgba(255, 255, 255, 0.18);
  --header-h: 86px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

* { box-sizing: border-box; }
::selection { background: var(--brand); color: #fff; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Square UI: no rounded corners, no shadows */
.btn,
.form-control,
.form-select,
.navbar-toggler,
.alert,
.card,
.modal-content,
.dropdown-menu {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.site-header {
  min-height: var(--header-h);
  background: rgb(249 242 228);
  border-bottom: 1px solid rgba(38,38,38,.12);
  transition: background .25s ease, min-height .25s ease;
  z-index: 1040;
}
.site-header.scrolled { background: rgba(252,242,229,.995); }
.navbar { min-height: var(--header-h); padding: 8px 0; }
.navbar-brand { padding: 0; margin: 0; }
.navbar-brand img { width: 190px; height: 64px; object-fit: contain; object-position: left center; }
.navbar-nav .nav-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 12px !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; width: 44px; height: 44px; padding: 10px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.btn {
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-width: 1px;
  padding: 13px 20px;
}
.btn-lg { padding: 16px 23px; font-size: 13px; }
.btn-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.btn-outline-light:hover { color: var(--ink); }
.btn-dark-square { background: var(--ink); color: #fff; border: 1px solid var(--ink); text-decoration: none; display: inline-flex; gap: 12px; align-items: center; padding: 14px 18px; font-weight: 800; font-size: 12px; letter-spacing: .04em; }
.btn-dark-square:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.hero {
  position: relative;
  min-height: 100vh;
  background: #171717;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/f/ff/Belaz_haul_truck_and_a_Hitachi_mining_excavator.jpg');
  background-size: cover;
  background-position: center 46%;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.72) 42%, rgba(10,10,10,.22) 80%),
    linear-gradient(0deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,0) 45%);
}
.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); }
.eyebrow,
.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow { color: #fff; }
.hero h1,
.section-title,
.company-copy h2,
.operation-copy h2,
.global-section h2,
.contact-section h2 {
  font-family: 'Staatliches', Impact, sans-serif;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .01em;
  margin: 0;
}
.hero h1 { font-size: clamp(58px, 8vw, 132px); max-width: 1140px; }
.hero h1 span,
.section-title span,
.company-copy h2 span,
.operation-copy h2 span,
.contact-section h2 span { color: var(--brand); }
.hero-lead { max-width: 760px; font-size: clamp(18px, 2vw, 23px); line-height: 1.45; margin: 28px 0 32px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll { position: absolute; right: 2.6rem; bottom: 2rem; z-index: 3; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: .18em; writing-mode: vertical-rl; }
.hero-scroll i { font-size: 18px; }

.ticker { background-color: var(--brand); background-image: url('../img/bg-orange-1920.webp'); background-size: cover; background-position: center; color: #fff; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.ticker-track { display: inline-flex; gap: 24px; align-items: center; min-width: max-content; padding: 15px 0; animation: ticker 24s linear infinite; font-family: 'Staatliches', Impact, sans-serif; font-size: 22px; letter-spacing: .05em; }
.ticker-track i { width: 7px; height: 7px; background: #fff; display: inline-block; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-35%); } }

.section { padding: 110px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: #fff; }
.text-brand { color: var(--brand) !important; }
.section-title { font-size: clamp(50px, 6vw, 94px); }
.section-intro, .lead-copy { font-size: 19px; line-height: 1.65; color: #494949; }

.company-grid { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-copy { padding: clamp(36px, 6vw, 88px) clamp(20px, 6vw, 90px) clamp(36px, 6vw, 88px) 0; }
.company-copy h2 { font-size: clamp(52px, 5.5vw, 88px); margin-bottom: 32px; }
.company-copy p:not(.lead-copy) { font-size: 16px; line-height: 1.75; color: #555; }
.company-image { min-height: 650px; position: relative; border-left: 1px solid var(--line); }
.company-image img { width: 100%; height: 100%; min-height: 650px; object-fit: cover; filter: saturate(.65) contrast(1.05); }
.image-label, .operation-image-caption { position: absolute; left: 0; bottom: 0; background: var(--brand); color: #fff; padding: 12px 16px; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.company-points { margin: 34px 0; border-top: 1px solid var(--line); }
.company-points > div { display: grid; grid-template-columns: 55px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.company-points span { color: var(--brand); font-family: 'Staatliches', sans-serif; font-size: 26px; }
.company-points strong { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.text-link i { transition: transform .2s ease; }
.text-link:hover { color: var(--brand-dark); }
.text-link:hover i { transform: translateX(5px); }

.stats-strip {
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background-color: #1b1b1b;
  background-image: url('../img/bg-dark-1920.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.stat-cell { min-height: 210px; display: flex; flex-direction: column; justify-content: center; padding: 35px; border-right: 1px solid var(--line-light); }
.stat-cell:last-child { border-right: 0; }
.stat-value { font-family: 'Staatliches', sans-serif; color: var(--brand); font-size: clamp(48px, 5vw, 78px); line-height: 1; }
.stat-cell small { margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: rgba(255,255,255,.7); }

.mineral-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mineral-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.mineral-image { height: 340px; position: relative; overflow: hidden; background: #ddd; }
.mineral-image > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .55s ease, filter .55s ease; }
.mineral-card:hover .mineral-image > img { transform: scale(1.045); filter: saturate(1); }
.mineral-image-split { display: grid; grid-template-columns: 1fr 1fr; }
.mineral-image-split > img { min-width: 0; }
.mineral-code { position: absolute; top: 0; right: 0; background: var(--brand); color: #fff; min-width: 68px; min-height: 68px; display: grid; place-items: center; padding: 8px; font-family: 'Staatliches', sans-serif; font-size: 22px; }
.mineral-content { padding: 28px; min-height: 315px; display: flex; flex-direction: column; }
.mineral-index { color: var(--brand); font-family: 'Staatliches', sans-serif; font-size: 22px; }
.mineral-content h3 { font-family: 'Staatliches', sans-serif; font-size: 33px; line-height: 1; margin: 14px 0 18px; }
.mineral-content p { color: #626262; line-height: 1.65; font-size: 14px; }
.mineral-content .text-link { margin-top: auto; align-self: flex-start; }
.availability-note { display: flex; gap: 18px; padding: 26px 0 0; align-items: flex-start; max-width: 980px; }
.availability-note i { color: var(--brand); font-size: 25px; }
.availability-note p { margin: 0; color: #555; line-height: 1.65; font-size: 14px; }

.process-section {
  position: relative;
  overflow: hidden;
  background-color: #262626;
  background-image: linear-gradient(rgba(20,20,20,.88), rgba(20,20,20,.92)), url('../img/bg-dark-1920.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.process-section::after { content:"BOL"; position: absolute; right: -30px; bottom: -100px; font-family:'Staatliches', sans-serif; font-size: 360px; line-height: 1; color: rgba(255,255,255,.025); pointer-events:none; }
.process-list { border-top: 1px solid var(--line-light); position: relative; z-index: 1; }
.process-row { display: grid; grid-template-columns: 110px minmax(250px, 1fr) minmax(300px, 1.3fr); gap: 28px; align-items: center; min-height: 145px; border-bottom: 1px solid var(--line-light); }
.process-number { color: var(--brand); font-family: 'Staatliches', sans-serif; font-size: 42px; }
.process-row h3 { font-family: 'Staatliches', sans-serif; font-size: clamp(30px, 3vw, 44px); margin: 0; }
.process-row p { color: rgba(255,255,255,.65); margin: 0; line-height: 1.65; }

.compliance-section .section-title { max-width: 980px; }
.compliance-intro { max-width: 860px; }
.regulatory-badges { border-top: 1px solid var(--line); margin-top: 35px; }
.regulatory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}
.regulatory-badges > div {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  min-height: 210px;
  align-content: start;
  background: rgba(255,255,255,.22);
}
.regulatory-badges small { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #666; }
.regulatory-badges strong { font-family: 'Staatliches', sans-serif; font-size: 34px; line-height: .98; }
.regulatory-badges span { font-size: 14px; color: #5d5d5d; line-height: 1.6; }
.compliance-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 26px; }
.compliance-cta-inline p { margin: 0; max-width: 560px; font-weight: 700; font-size: 28px; line-height: 1.2; font-family: 'Staatliches', Impact, sans-serif; text-transform: uppercase; }

.operation-section { background: #fff; }
.operation-grid { border: 1px solid var(--line); }
.operation-image { position: relative; min-height: 780px; }
.operation-image img { width: 100%; height: 100%; min-height: 780px; object-fit: cover; }
.operation-copy { padding: clamp(36px, 6vw, 84px); border-left: 1px solid var(--line); }
.operation-copy h2 { font-size: clamp(52px, 5.6vw, 88px); margin-bottom: 26px; }
.operation-copy > p { max-width: 760px; color: #555; line-height: 1.75; }
.operation-metrics { display: grid; grid-template-columns: repeat(2,1fr); margin: 35px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.operation-metrics > div { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.operation-metrics strong { font-family: 'Staatliches', sans-serif; font-size: 34px; color: var(--brand); }
.operation-metrics span { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #666; }

.global-section {
  background-color: var(--brand);
  background-image: linear-gradient(rgba(213,62,15,.92), rgba(213,62,15,.92)), url('../img/bg-orange-1920.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0;
}
.global-section h2 { font-size: clamp(72px, 10vw, 160px); color: #fff; }
.global-section h2 span { color: var(--ink); }
.global-section p { font-size: 17px; line-height: 1.7; max-width: 540px; }
.global-section .text-link { color: #fff; }
.global-section .text-link:hover { color: var(--ink); }

.contact-section { background: #f2eee8; }
.contact-list { margin: 34px 0; border-top: 1px solid var(--line); }
.contact-list > a, .contact-list > div { text-decoration: none; display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list i { color: var(--brand); font-size: 23px; width: 28px; }
.contact-list span { display: flex; flex-direction: column; }
.contact-list small { font-size: 10px; font-weight: 800; letter-spacing: .09em; color: #666; }
.contact-list strong { font-size: 15px; word-break: break-word; }
.btn-whatsapp-inline { background: #1b1b1b; color: #fff; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; padding: 15px 18px; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.btn-whatsapp-inline:hover { background: #25D366; color: #111; }
.quote-form { background: #fff; border-top: 4px solid var(--brand); padding: clamp(28px, 4vw, 48px); }
.quote-form label { display: block; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.form-control, .form-select { min-height: 52px; border: 0; border-bottom: 1px solid #bdb8b1; background: #faf8f5; padding: 12px 14px; }
textarea.form-control { min-height: 140px; }
.form-control:focus, .form-select:focus { border-color: var(--brand); background: #fff; box-shadow: none; }
.form-note { color: #666; line-height: 1.45; max-width: 420px; }

.site-footer {
  background-color: #f9f2e4;
  background-size: cover;
  background-position: center top;
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-logo { width: 210px; height: 95px; object-fit: contain; object-position: left center; }
.site-footer p { margin: 0 0 7px; color: #555; font-size: 12px; line-height: 1.6; }
.site-footer a { font-size: 12px; font-weight: 700; }
.footer-credit-link { display: inline-block; margin-bottom: 7px; }
.copyright { margin-top: 6px !important; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1030;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  border: 1px solid rgba(0,0,0,.15);
}
.whatsapp-float i { font-size: 22px; }
.whatsapp-float:hover { background: #1fb859; color: #111; }


/* =========================================================
   ACCESSIBILITY, SEO UX & PERFORMANCE POLISH
========================================================= */

html { scroll-padding-top: calc(var(--header-h) + 18px); }

section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid #fff;
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #ff6a3d;
  outline-offset: 3px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.navbar-nav .nav-link { min-height: 44px; display: flex; align-items: center; }

.process-section .section-kicker.text-brand { color: var(--brand-on-dark) !important; }

.global-section .section-kicker.text-brand { color: #fff !important; }

.process-row p { color: rgba(255,255,255,.78); }
.stat-cell small { color: rgba(255,255,255,.78); }

.contact-list strong,
.site-footer a,
.footer-developed a { overflow-wrap: anywhere; }

.quote-form .form-control,
.quote-form .form-select { color: var(--ink); }

.quote-form .form-control::placeholder { color: #6b6b6b; opacity: 1; }

.form-control:focus,
.form-select:focus { outline: 3px solid rgba(213,62,15,.22); outline-offset: 0; }

@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  .ticker { background-image: image-set(url('../img/bg-orange-1920.webp') type('image/webp'), url('../img/bg-orange-1920.jpg') type('image/jpeg')); }
  .stats-strip { background-image: image-set(url('../img/bg-dark-1920.webp') type('image/webp'), url('../img/bg-dark-1920.jpg') type('image/jpeg')); }
  .process-section {
    background-image:
      linear-gradient(rgba(20,20,20,.88), rgba(20,20,20,.92)),
      image-set(url('../img/bg-dark-1920.webp') type('image/webp'), url('../img/bg-dark-1920.jpg') type('image/jpeg'));
  }
  .global-section {
    background-image:
      linear-gradient(rgba(213,62,15,.84), rgba(213,62,15,.84)),
      image-set(url('../img/bg-orange-1920.webp') type('image/webp'), url('../img/bg-orange-1920.jpg') type('image/jpeg'));
  }
}

@media (max-width: 1199.98px) {
  .navbar-collapse { background: var(--cream); border-top: 1px solid var(--line); margin: 8px -12px -8px; padding: 20px 12px 24px; }
  .navbar-nav .nav-link { padding-left: 0 !important; }
  .navbar-nav .nav-link::after { left: 0; right: auto; width: 42px; }
  .company-copy { padding-right: 40px; }
  .process-row { grid-template-columns: 80px 1fr 1fr; }
  .regulatory-grid { grid-template-columns: 1fr; }
  .operation-image, .operation-image img { min-height: 650px; }
}

@media (max-width: 991.98px) {
  .container-fluid.px-lg-5 { padding-left: 24px; padding-right: 24px; }
  :root { --header-h: 76px; }
  .navbar-brand img { width: 160px; height: 54px; }
  .hero { min-height: 820px; }
  .hero-media { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10,10,10,.92), rgba(10,10,10,.55)), linear-gradient(0deg, rgba(10,10,10,.8), transparent 50%); }
  .hero-scroll { display: none; }
  .section { padding: 80px 0; }
  .company-copy { padding: 60px 0; }
  .company-image { border-left: 0; border-top: 1px solid var(--line); min-height: 520px; }
  .company-image img { min-height: 520px; }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .process-row { grid-template-columns: 70px 1fr; padding: 28px 0; }
  .process-row p { grid-column: 2; }
  .operation-image, .operation-image img { min-height: 520px; }
  .operation-copy { border-left: 0; border-top: 1px solid var(--line); }
  .compliance-cta { align-items: flex-start; flex-direction: column; }
  .compliance-cta-inline p { font-size: 22px; }
}

@media (max-width: 767.98px) {
  .container-fluid.px-lg-5 { padding-left: 18px; padding-right: 18px; }
  .ticker-track { font-size: 18px; gap: 18px; padding: 12px 0; }
  .section { padding: 68px 0; }
  .quote-form .form-control, .quote-form .form-select, .quote-form textarea.form-control { font-size: 16px; }
  .hero { min-height: 760px; }
  .hero h1 { font-size: clamp(52px, 15vw, 78px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-title, .company-copy h2, .operation-copy h2, .contact-section h2 { font-size: clamp(46px, 13vw, 68px); }
  .stat-cell { min-height: 170px; padding: 24px 18px; }
  .stat-value { font-size: 46px; }
  .mineral-image { height: 300px; }
  .mineral-content { min-height: 0; }
  .process-row { grid-template-columns: 52px 1fr; gap: 12px; }
  .process-row h3 { font-size: 31px; }
  .process-row p { font-size: 14px; }
  .operation-metrics { grid-template-columns: 1fr; }
  .global-section h2 { font-size: clamp(72px, 20vw, 110px); }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 54px; height: 54px; padding: 0; justify-content: center; }
}


@media (max-width: 575.98px) {
  :root { --header-h: 70px; }
  .navbar-brand img { width: 142px; height: auto; }
  .hero { min-height: 700px; }
  .hero h1 { font-size: clamp(46px, 15vw, 68px); }
  .hero-lead { margin-top: 22px; margin-bottom: 26px; }
  .stat-cell { min-height: 145px; padding: 20px 14px; }
  .stat-value { font-size: 40px; }
  .stat-cell small { font-size: 10px; letter-spacing: .07em; }
  .mineral-image { height: 260px; }
  .mineral-content { padding: 24px 20px; }
  .regulatory-badges > div { min-height: 0; padding: 22px 18px; }
  .regulatory-badges strong { font-size: 30px; overflow-wrap: anywhere; }
  .operation-image, .operation-image img { min-height: 380px; }
  .operation-copy { padding: 34px 20px; }
  .operation-metrics strong { font-size: 31px; }
  .global-section { padding: 64px 0; }
  .global-section h2 { font-size: clamp(60px, 19vw, 92px); }
  .contact-list strong { font-size: 14px; }
  .quote-form { padding: 26px 18px; }
  .site-footer { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wow { visibility: visible !important; }
  .mineral-card:hover .mineral-image > img { transform: none; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
