/* ============================================================================
   AXIA RESOURCES — styles.css
   Visual identity sourced directly from axiaresources.com.br (Elementor kit):
     · Deep navy   #0D1633 / #051D41   (primary, dark surfaces)
     · Teal        #014F67             (secondary)
     · Gold/amber  #FFA722 / #EEAD29   (signature accent — the Axia "x")
     · Soft gold   #FFE4AD / #B18544
   Real logo + real photography used throughout (see /assets).
   Premium, clean, international corporate. Mobile-first. Restrained motion.
   ============================================================================ */

/* ----------------------------- TOKENS ----------------------------- */
:root {
  --navy:      #0D1633;   /* primary deep navy */
  --navy-2:    #051D41;   /* deeper blue */
  --navy-3:    #122142;   /* mid navy (cards on dark) */
  --teal:      #014F67;   /* secondary */
  --gold:      #FFA722;   /* primary accent */
  --gold-2:    #EEAD29;
  --gold-deep: #B18544;
  --gold-soft: #FFE4AD;

  --ink:       #1C1C1C;   /* body text on light */
  --muted:     #6A6A6A;
  --line:      #E3E3E3;
  --bg:        #ffffff;
  --bg-soft:   #f6f4ef;   /* warm off-white section bg */

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1200px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(4.5rem, 11vh, 8.5rem);
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------- BASE ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

/* ----------------------------- LAYOUT ----------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section-title { font-size: clamp(1.9rem, 4.6vw, 3.25rem); color: var(--navy); }
.section-lead { margin-top: 1.4rem; font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.4rem;
}

/* ----------------------------- BUTTONS ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 12px 30px -12px rgba(255,167,34,0.6); }
.btn-primary:hover { background: var(--gold-2); box-shadow: 0 18px 40px -12px rgba(255,167,34,0.7); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(13,22,51,0.25); }
.btn-ghost:hover { border-color: var(--navy); }
.btn.lg { padding: 1.15rem 2.4rem; font-size: 1.05rem; }

/* ----------------------------- HEADER ----------------------------- */
/* SOLID by default — readable over ANY section (incl. dark ESG/Contact).    */
/* Goes transparent only at the very top via .at-top (added by JS over hero).*/
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px -18px rgba(13,22,51,0.5);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.at-top {
  background: transparent; border-bottom-color: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }

/* Brand logo (color on the solid header, white when transparent over hero) */
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.brand .logo-white { display: none; }
.site-header.at-top .brand .logo-white { display: block; }
.site-header.at-top .brand .logo-color { display: none; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav-links > a { font-size: 0.95rem; font-weight: 500; color: var(--navy); position: relative; padding: 0.25rem 0; transition: color 0.25s var(--ease); }
.nav-links > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--gold); transition: width 0.3s var(--ease); }
.nav-links > a:not(.nav-cta):hover::after { width: 100%; }
.site-header.at-top .nav-links > a { color: rgba(255,255,255,0.92); }

.nav-cta { background: var(--gold); color: var(--navy) !important; padding: 0.55rem 1.25rem !important; border-radius: 999px; transition: background-color 0.3s var(--ease), transform 0.3s var(--ease); }
.nav-cta:hover { background: var(--gold-2); transform: translateY(-1px); }

.lang-toggle { display: flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; }
.lang-toggle button { background: none; border: none; cursor: pointer; color: var(--muted); font: inherit; padding: 0.2rem; transition: color 0.25s var(--ease); }
.lang-toggle button.is-active { color: var(--navy); }
.lang-toggle button:hover { color: var(--gold-deep); }
.site-header.at-top .lang-toggle { color: rgba(255,255,255,0.5); }
.site-header.at-top .lang-toggle button { color: rgba(255,255,255,0.6); }
.site-header.at-top .lang-toggle button.is-active { color: #fff; }

.nav-burger { display: none; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; margin-right: -0.5rem; }
.nav-burger span { position: absolute; left: 7px; width: 30px; height: 2px; background: var(--navy); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.3s var(--ease); }
.nav-burger span:nth-child(1) { top: 11px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 31px; }
.site-header.at-top .nav-burger span { background: #fff; }


.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5,13,31,0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}
/* ----------------------------- HERO ------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 3rem; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1100px 700px at 80% -10%, rgba(1,79,103,0.55), transparent 60%), radial-gradient(900px 600px at 0% 110%, rgba(5,29,65,0.85), transparent 55%), linear-gradient(155deg, #0a1230 0%, var(--navy) 50%, #0a1d3a 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: 0.55; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 46px), repeating-linear-gradient(25deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 64px); mask-image: radial-gradient(120% 90% at 30% 30%, #000 30%, transparent 80%); }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; width: 100%; }
.hero-copy { max-width: 640px; }
.hero-title { font-size: clamp(2.7rem, 6.6vw, 5.2rem); font-weight: 500; max-width: 14ch; }
.hero-title .accent { color: var(--gold); }
.hero-sub { margin-top: 1.8rem; font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,0.8); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* Hero feature image — real drill-core photo, framed */
.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(300px, 52vh, 560px); object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(255,167,34,0.3); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8); }
.hero-media::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 120px rgba(5,18,48,0.5); pointer-events: none; }
.hero-media-cap { position: absolute; left: 16px; bottom: 16px; font-size: 0.78rem; letter-spacing: 0.04em; color: #fff; background: rgba(5,18,48,0.7); padding: 0.4rem 0.8rem; border-radius: 999px; backdrop-filter: blur(4px); }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; margin-top: clamp(2.5rem, 6vh, 3.5rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.14); }
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-value { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--gold-soft); line-height: 1; }
.stat-label { font-size: 0.84rem; color: rgba(255,255,255,0.62); }

/* ----------------------------- WHO ------------------------------- */
.who-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.who-media img { width: 100%; height: clamp(280px, 44vh, 480px); object-fit: cover; border-radius: var(--radius); }
.who-copy p { font-size: 1.1rem; color: var(--ink); }
.who-copy .who-partners { color: var(--muted); font-size: 1rem; border-left: 3px solid var(--gold); padding-left: 1.1rem; }

.mvv { display: grid; gap: 1.1rem; margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.mvv-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.8rem; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.mvv-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -28px rgba(13,22,51,0.4); border-color: var(--gold-soft); }
.mvv-card h3 { font-size: 1.25rem; color: var(--teal); margin-bottom: 0.5rem; }
.mvv-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ----------------------------- WHAT (steps) ----------------------- */
.what { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--bg); padding: 2rem 1.8rem; transition: background-color 0.35s var(--ease); }
.step:hover { background: #fffdf8; }
.step-num { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-deep); font-weight: 600; }
.step h3 { font-size: 1.3rem; margin: 0.7rem 0 0.5rem; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ----------------------------- COMMODITIES ------------------------ */
.commodity-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.commodity { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 2rem; background: var(--bg); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); }
.commodity:hover { transform: translateY(-6px); box-shadow: 0 30px 64px -34px rgba(13,22,51,0.5); border-color: var(--gold-soft); }
.commodity-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 14px; margin-bottom: 1.4rem; background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: #fff; border: 1px solid rgba(255,167,34,0.45); }
.el-sym { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--gold-soft); }
.el-num { font-size: 0.7rem; color: var(--gold); margin-top: 3px; letter-spacing: 0.05em; }
.commodity h3 { font-size: 1.6rem; color: var(--navy); }
.commodity-tag { color: var(--gold-deep); font-weight: 600; font-size: 0.92rem; margin: 0.3rem 0 1rem; }
.commodity > p { color: var(--muted); font-size: 0.98rem; }
.commodity-list { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1.1rem; display: grid; gap: 0.55rem; }
.commodity-list li { position: relative; padding-left: 1.1rem; font-size: 0.92rem; color: var(--ink); }
.commodity-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ----------------------------- PARTNERS -------------------------- */
.partners { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.partners-title { text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.partners-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); }
.partners-row img { height: 46px; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.partners-row img:hover { filter: grayscale(0); opacity: 1; }
.partner-text { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); opacity: 0.55; transition: opacity 0.3s var(--ease); }
.partner-text:hover { opacity: 1; }

/* ----------------------------- ESG ------------------------------- */
.esg { background: var(--navy); color: #fff; }
.esg .kicker { color: var(--gold); }
.esg .kicker::before { background: var(--gold); }
.esg .section-title { color: #fff; }
.esg .section-lead { color: rgba(255,255,255,0.72); }
.esg-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden; }
.esg-card { background: var(--navy); padding: 2rem 1.8rem; transition: background-color 0.35s var(--ease); }
.esg-card:hover { background: var(--navy-3); }
.esg-card h3 { font-size: 1.25rem; color: var(--gold-soft); margin-bottom: 0.6rem; }
.esg-card p { margin: 0; color: rgba(255,255,255,0.66); font-size: 0.96rem; }

/* ----------------------------- PRESENCE -------------------------- */
.offices { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.office { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 1.8rem; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.office:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -28px rgba(13,22,51,0.4); }
.office h3 { font-size: 1.25rem; margin-bottom: 0.7rem; color: var(--navy); }
.office p { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.96rem; }
.office-phone { color: var(--teal) !important; font-weight: 500; }

/* ----------------------------- NEWS ------------------------------ */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 30px 64px -34px rgba(13,22,51,0.5); border-color: var(--gold-soft); }
.news-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.news-tag { align-self: flex-start; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); background: rgba(255,167,34,0.12); padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 1rem; }
.news-card h3 { font-size: 1.18rem; font-weight: 500; line-height: 1.28; color: var(--navy); flex: 1; }
.news-link { margin-top: 1.2rem; font-size: 0.9rem; font-weight: 600; color: var(--gold-deep); }
.news-card:hover .news-link { color: var(--gold); }
.news-more { margin-top: 2.5rem; text-align: center; }

/* ----------------------------- CONTACT / CTA --------------------- */
.contact { background: linear-gradient(155deg, #0a1230, var(--navy) 55%, #0a1d3a); color: #fff; text-align: center; }
.contact-inner { max-width: 820px; margin: 0 auto; }
.contact-title { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; margin: 0 auto; color: #fff; }
.contact-sub { margin-top: 1.4rem; font-size: 1.12rem; color: rgba(255,255,255,0.78); }
.contact-channels { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2.8rem auto; max-width: 660px; }
.contact-channel { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.2rem 1.4rem; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease); }
.contact-channel:hover { border-color: var(--gold); transform: translateY(-3px); background: rgba(255,255,255,0.04); }
.contact-label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.contact-value { font-size: 1.02rem; word-break: break-word; }

/* ----------------------------- FOOTER ---------------------------- */
.site-footer { background: #060d1f; color: rgba(255,255,255,0.7); padding-block: 3rem; }
.footer-inner { display: grid; gap: 1.4rem; }
.footer-inner .brand img { height: 34px; }
.footer-note { margin: 0; font-size: 0.95rem; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-meta a { transition: color 0.25s var(--ease); }
.footer-meta a:hover { color: var(--gold-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .commodity:hover, .news-card:hover, .mvv-card:hover, .office:hover, .contact-channel:hover { transform: none; }
  .news-card:hover .news-thumb img { transform: none; }
}

/* ----------------------------- MOBILE NAV ------------------------ */
@media (max-width: 1024px) {
  .nav-burger { display: inline-flex; z-index: 130; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.35rem; padding: 5.5rem 2rem 2rem; background: #fff; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform 0.4s var(--ease); box-shadow: -30px 0 60px -30px rgba(0,0,0,0.4); }
  .nav-links.open { transform: translateX(0); }
  /* In the open drawer (white panel) links are always dark, even over hero */
  .nav-links > a { font-size: clamp(1.05rem, 5vw, 1.3rem); color: var(--navy) !important; }
  .site-header.at-top .nav-links.open > a { color: var(--navy) !important; }
  .nav-cta { align-self: flex-start; }
  .lang-toggle { margin-top: 0.75rem; font-size: 1rem; }
  /* Keep language buttons dark inside the white drawer, even when .at-top */
  .site-header.at-top .nav-links.open .lang-toggle button { color: var(--muted); }
  .site-header.at-top .nav-links.open .lang-toggle button.is-active { color: var(--navy); }
  body.nav-open { overflow: hidden; }
  .nav-burger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav-burger.active span:nth-child(2) { opacity: 0; }
  .nav-burger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  /* When the drawer is open, force the X to dark for contrast on white panel */
  .nav-burger.active span { background: var(--navy) !important; }
}

/* ----------------------------- RESPONSIVE (>= tablet) ------------ */
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .commodity-grid { grid-template-columns: repeat(2, 1fr); }
  .esg-grid { grid-template-columns: repeat(2, 1fr); }
  .offices { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-channels { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; }
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .who-grid { grid-template-columns: 0.9fr 1.1fr; }
  .who-inner-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .commodity-grid { grid-template-columns: repeat(3, 1fr); }
  .esg-grid { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .offices { grid-template-columns: repeat(3, 1fr); }
  .contact-channels { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
  .mvv { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------- PREMIUM MOTION LAYER ------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 140;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
  box-shadow: 0 0 22px rgba(255,167,34,0.35);
}

.site-header:not(.at-top) {
  background: rgba(255,255,255,0.76);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(13,22,51,0.08);
  box-shadow: 0 18px 60px -46px rgba(13,22,51,0.55);
}

.btn {
  position: relative;
  overflow: hidden;
}

.nav-cta { position: relative; overflow: hidden; }

.btn-primary::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -70%;
  width: 44%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.52), transparent);
  opacity: 0;
  pointer-events: none;
}

.btn-primary:hover::after,
.nav-cta:hover::after {
  opacity: 1;
  animation: buttonSheen 950ms var(--ease-premium);
}

.hero-bg {
  background-size: 130% 130%;
  animation: premiumGradient 16s ease-in-out infinite alternate;
  transform: translate3d(0, calc(var(--scroll-y, 0px) * 0.06), 0);
  will-change: transform, background-position;
}

.hero-media {
  transform: translate3d(0, var(--hero-parallax, 0px), 0);
  transition: transform 180ms linear;
  will-change: transform;
}

.hero-media img {
  animation: premiumFloat 7s ease-in-out infinite;
}

.hero-stats {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}

.commodity,
.news-card,
.mvv-card,
.office,
.contact-channel,
.esg-card {
  position: relative;
  isolation: isolate;
}

.commodity::before,
.news-card::before,
.mvv-card::before,
.office::before,
.contact-channel::before,
.esg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,167,34,0.34), 0 28px 70px -42px rgba(255,167,34,0.5);
  transition: opacity 360ms var(--ease-premium);
}

.commodity:hover::before,
.news-card:hover::before,
.mvv-card:hover::before,
.office:hover::before,
.contact-channel:hover::before,
.esg-card:hover::before {
  opacity: 1;
}

.commodity-badge,
.partners-row img,
.partner-text {
  transition: transform 320ms var(--ease-premium), filter 320ms var(--ease-premium), opacity 320ms var(--ease-premium), border-color 320ms var(--ease-premium);
}

.commodity:hover .commodity-badge {
  transform: translateY(-3px) rotate(-2deg) scale(1.03);
  border-color: rgba(255,228,173,0.9);
}

html.motion-ready .reveal,
html.motion-ready [data-reveal-item] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms var(--ease-premium), transform 650ms var(--ease-premium);
  will-change: opacity, transform;
}

html.motion-ready .reveal.is-visible,
html.motion-ready [data-reveal-item].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.reveal-mask > span {
  display: inline-block;
}

@keyframes premiumGradient {
  0% { background-position: 0% 40%; }
  100% { background-position: 100% 60%; }
}

@keyframes premiumFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes buttonSheen {
  0% { transform: translateX(0) skewX(-18deg); }
  100% { transform: translateX(430%) skewX(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
  .hero-bg,
  .hero-media img { animation: none; transform: none; }
  .btn-primary:hover::after,
  .nav-cta:hover::after { animation: none; opacity: 0; }
  html.motion-ready .reveal,
  html.motion-ready [data-reveal-item] { transition: none; }
}
/* ----------------------------- MOBILE COMFORT ---------------------------- */
@media (max-width: 639px) {
  :root { --section-y: clamp(3.5rem, 9vh, 5rem); }
  .nav-inner { height: 70px; }
  .brand img { height: 32px; }
  .hero { min-height: auto; padding-top: 102px; padding-bottom: 2.5rem; }
  .hero-title { font-size: clamp(2.35rem, 12vw, 3.4rem); max-width: 12ch; }
  .hero-sub { margin-top: 1.35rem; }
  .hero-actions { margin-top: 1.8rem; }
  .hero-actions .btn { width: 100%; }
  .hero-media img { height: clamp(240px, 38vh, 420px); }
  .hero-media-cap { max-width: calc(100% - 32px); white-space: normal; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1rem; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .contact-channels { margin-block: 2rem; }
  .site-header:not(.at-top) { backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); }
}

@media (max-height: 560px) and (max-width: 1024px) {
  .nav-links { justify-content: flex-start; gap: 1rem; }
}