/* ============================================================
   MINERALS GOLD - corporate site
   Palette taken from the company letterhead:
   ink #22262F | slate #2B2F38 | gold #B8821E | gold line #C9A24B
   ============================================================ */

:root {
  --ink: #22262F;
  --slate: #2B2F38;
  --slate-deep: #1B1F26;
  --gold: #B8821E;
  --gold-line: #C9A24B;
  --paper: #FFFFFF;
  --stone: #F5F4F0;
  --muted: #5C6270;
  --line: #E4E2DC;
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--gold-line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 54px; height: auto; }
.brand-name {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800; font-size: 21px; letter-spacing: .02em;
  color: var(--ink); line-height: 1.1; white-space: nowrap;
}
.brand-name span { color: var(--gold); }
.brand-sub {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 8.5px; font-weight: 600; letter-spacing: .22em;
  color: var(--muted); margin-top: 3px; white-space: nowrap;
}
.site-nav { display: flex; align-items: center; flex-wrap: nowrap; gap: 18px; margin-left: auto; }
.site-nav a {
  font-family: "Montserrat", Arial, sans-serif;
  white-space: nowrap;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
  color: var(--ink); text-transform: uppercase;
}
.site-nav a:hover { color: var(--gold); text-decoration: none; }
.lang {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--slate);
  border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 2px;
}
.lang:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.lang-group { display: flex; gap: 6px; }
.lang.active { border-color: var(--gold); color: var(--gold); cursor: default; }

/* ---------- hero ---------- */

.hero {
  position: relative; color: #fff;
  min-height: 560px; height: 74vh; max-height: 760px;
  display: flex; align-items: center;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero.jpg") center 40% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(27,31,38,.82) 0%, rgba(27,31,38,.55) 45%, rgba(27,31,38,.18) 100%),
    linear-gradient(0deg, rgba(27,31,38,.55) 0%, rgba(27,31,38,0) 40%);
}
.hero-inner { max-width: 700px; animation: rise .8s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.eyebrow {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-line);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--gold-line); flex: none; }

.hero h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800; font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.12; letter-spacing: .01em;
  margin: 18px 0 20px; text-transform: uppercase;
}
.hero h1 span { color: var(--gold-line); }
.hero p {
  font-size: 18px; line-height: 1.65; max-width: 560px;
  color: rgba(255,255,255,.88);
}
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  padding: 15px 28px; border-radius: 2px; display: inline-block;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9c6d15; color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-line); color: var(--gold-line); }
.btn-dark-ghost { border: 1px solid var(--slate); color: var(--slate); }
.btn-dark-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- sections ---------- */

section { padding: 88px 0; }
section h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800; font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15; text-transform: uppercase; letter-spacing: .01em;
  margin: 16px 0 22px;
}
section h2 span { color: var(--gold); }

/* about */
.about-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 56px; align-items: center;
}
.about-text p + p { margin-top: 16px; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  padding-top: 12px; border-bottom: 2px solid var(--gold-line);
  padding-bottom: 12px; display: inline-block;
}
.facts {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px;
}
.fact {
  border: 1px solid var(--line); border-top: 2px solid var(--gold-line);
  background: var(--paper); padding: 14px 18px; min-width: 180px; flex: 1;
}
.fact b {
  display: block; font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.fact small {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

/* activity */
.section-stone { background: var(--stone); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.card-body { padding: 24px 24px 28px; border-top: 2px solid var(--gold-line); }
.card-body h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px; font-weight: 700; letter-spacing: .02em;
  margin-bottom: 10px;
}
.card-body p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.gallery img {
  width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover;
  filter: saturate(.96);
}
.gallery figure { margin: 0; }
.gallery figcaption {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); padding-top: 8px;
}

/* investors */
.section-dark { background: var(--slate-deep); color: #E9E7E2; }
.section-dark h2 { color: #fff; }
.section-dark h2 span { color: var(--gold-line); }
.inv-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; }
.inv-grid p + p { margin-top: 16px; }
.inv-grid .muted { color: rgba(233,231,226,.72); }
.inv-steps { border-left: 2px solid var(--gold-line); padding-left: 26px; display: grid; gap: 22px; }
.inv-steps h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-line); margin-bottom: 6px;
}
.inv-steps p { font-size: 15.5px; line-height: 1.65; color: rgba(233,231,226,.85); }
.inv-cta { margin-top: 34px; }

/* contacts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 20px; margin-top: 8px; }
.contact-list b {
  display: block; font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--gold); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* footer */
.site-footer {
  border-top: 2px solid var(--gold-line);
  background: var(--paper);
}
.site-footer .wrap {
  padding-top: 26px; padding-bottom: 30px;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  align-items: center; justify-content: space-between;
}
.site-footer p {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12.5px; color: var(--muted); letter-spacing: .03em;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; margin-left: 0; gap: 6px 16px; }
  .about-grid, .inv-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .cards, .gallery { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: 0; padding: 110px 0 90px; }
  .brand img { width: 44px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 7px; letter-spacing: .14em; }
}
