/* ================================================================
   KUTIY — Premium Mining Design System v3
   Palette: Cobalt · Copper · Gold · Silver · Green (accent ESG)
   ================================================================ */

:root {
  /* ── Backgrounds ── */
  --bg-light:       #F5F1EB;
  --bg-dark:        #070D1B;
  --bg-dark-alt:    #0C1525;

  /* ── Text ── */
  --text-dark:      #0D1420;
  --text-mid:       #3A4555;
  --text-light:     #EDE8DF;
  --text-muted:     rgba(237,232,223,0.68);

  /* ── Copper ── */
  --copper:         #B5712E;
  --copper-light:   #D08B4A;
  --copper-dark:    #8A4E1A;
  --copper-pale:    rgba(181,113,46,0.10);
  --copper-glow:    rgba(181,113,46,0.20);

  /* ── Gold ── */
  --gold:           #C49B20;
  --gold-light:     #E0B83C;
  --gold-dark:      #9A7815;
  --gold-pale:      rgba(196,155,32,0.12);
  --gold-glow:      rgba(196,155,32,0.22);

  /* ── Cobalt (primary corporate) ── */
  --cobalt:         #1B3F72;
  --cobalt-mid:     #2A5BAA;
  --cobalt-light:   #3D78CC;
  --cobalt-pale:    rgba(27,63,114,0.09);
  --cobalt-glow:    rgba(27,63,114,0.20);

  /* ── Silver ── */
  --silver:         #8D96A3;
  --silver-pale:    rgba(141,150,163,0.12);

  /* ── Green — ESG accent only ── */
  --green:          #27513D;
  --green-light:    #3A7058;
  --green-pale:     rgba(39,81,61,0.10);

  /* ── PGM / REE ── */
  --pgm:            #6B4B9A;
  --ree:            #234E8C;

  /* ── Glass ── */
  --glass:          rgba(255,255,255,0.28);
  --glass-border:   rgba(255,255,255,0.48);
  --glass-dark:     rgba(255,255,255,0.07);
  --glass-dark-bd:  rgba(255,255,255,0.14);

  /* ── Typography ── */
  --font-display:   'Playfair Display', serif;
  --font-body:      'Inter', sans-serif;
  --font-arabic:    'Noto Sans Arabic', sans-serif;
  --font-hindi:     'Noto Sans Devanagari', sans-serif;

  /* ── Spacing & Shape ── */
  --radius-card:    24px;
  --radius-pill:    100px;
  --transition:     all 0.8s ease-out;
  --transition-fast: all 0.3s ease-out;
  --shadow-sm:      0 8px 32px rgba(13,20,32,0.04);
  --shadow-md:      0 16px 48px rgba(13,20,32,0.08);
  --shadow-copper:  0 12px 40px rgba(181,113,46,0.25);
  --shadow-cobalt:  0 12px 40px rgba(27,63,114,0.25);
  --shadow-gold:    0 12px 40px rgba(196,155,32,0.25);
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Lenis scroll CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Language fonts */
[lang="ar"] * { font-family: var(--font-arabic), sans-serif !important; }
[lang="hi"] * { font-family: var(--font-hindi), sans-serif !important; }

/* ================================================================
   AMBIENT BACKGROUND BLOBS (light sections only)
   ================================================================ */
.bg-blobs {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
  background: var(--bg-light);
}
.blob {
  position: absolute;
  filter: blur(100px); opacity: 0.28;
  animation: float 24s infinite alternate ease-in-out;
  will-change: transform;
}
.blob-1 { /* Copper */
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--copper) 0%, transparent 70%);
  top: -12%; left: -12%;
  border-radius: 60% 40% 70% 30% / 40% 60% 40% 60%;
}
.blob-2 { /* Cobalt */
  width: 42vw; height: 42vw;
  background: radial-gradient(circle, var(--cobalt-mid) 0%, transparent 70%);
  bottom: -12%; right: -12%;
  border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
  animation-duration: 30s; animation-direction: reverse;
}
.blob-3 { /* Gold */
  width: 28vw; height: 28vw;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: 35%; left: 42%;
  border-radius: 50%;
  animation-duration: 38s;
}
@keyframes float {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  50%  { transform: translate(4%,8%) scale(1.07) rotate(4deg); }
  100% { transform: translate(-4%,-4%) scale(0.93) rotate(-4deg); }
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, .brand-name {
  font-family: var(--font-display); font-weight: 500; line-height: 1.15;
}
h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); margin-bottom: 1.5rem; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  width: 100%; max-width: 1320px;
  margin: 0 auto; padding: 0 4vw;
  position: relative; z-index: 2;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(245,241,235,0.45);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--glass-border);
  transition: padding 0.5s ease-out, background 0.5s ease-out, border-color 0.5s ease-out;
}
.navbar.scrolled {
  padding: 0.7rem 0;
  background: rgba(245,241,235,0.92);
  box-shadow: 0 6px 30px rgba(13,20,32,0.06);
}

/* Nav over dark hero */
.navbar.on-dark {
  background: rgba(7,13,27,0.25);
  border-bottom-color: rgba(255,255,255,0.1);
}
.navbar.on-dark.scrolled {
  background: rgba(7,13,27,0.75);
}
.navbar.on-dark .brand-name { color: var(--gold-light); }
.navbar.on-dark .brand-sub  { color: rgba(237,232,223,0.6); }
.navbar.on-dark .nav-links a { color: rgba(237,232,223,0.82); }
.navbar.on-dark .nav-links a:hover { color: var(--gold-light); }
.navbar.on-dark .lang-btn { color: rgba(237,232,223,0.65); }
.navbar.on-dark .lang-btn.active { background: var(--gold); color: var(--bg-dark); }
.navbar.on-dark .btn-nav {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand-stack { display: flex; flex-direction: column; }
.brand-name {
  font-size: 1.7rem; letter-spacing: 0.12em;
  color: var(--cobalt);
  transition: color 0.4s;
}
.brand-sub {
  font-family: var(--font-body); font-size: 0.54rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dark); opacity: 0.6;
  transition: color 0.4s;
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-dark); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  opacity: 0.78; transition: color 0.3s, opacity 0.3s;
}
.nav-links a:hover { color: var(--copper); opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 1.5rem; }

/* Language Switcher */
.lang-switcher {
  display: flex; gap: 0.25rem;
  background: rgba(255,255,255,0.28);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill); padding: 0.25rem;
}
.lang-btn {
  background: transparent; border: none;
  color: var(--text-dark); font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 600; padding: 0.28rem 0.62rem;
  border-radius: var(--radius-pill); cursor: pointer;
  transition: all 0.3s; opacity: 0.6;
}
.lang-btn:hover { opacity: 1; background: rgba(255,255,255,0.45); }
.lang-btn.active { background: var(--cobalt); color: #fff; opacity: 1; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary, .btn-secondary {
  display: inline-block; padding: 0.9rem 2rem;
  font-family: var(--font-body); font-size: 0.88rem;
  font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer; transition: var(--transition-fast);
  text-decoration: none; border-radius: var(--radius-pill); border: none;
}
.btn-primary {
  background: var(--cobalt); color: #fff;
  box-shadow: var(--shadow-cobalt);
}
.btn-primary:hover {
  background: var(--cobalt-mid); color: #fff;
  transform: translateY(-2px); box-shadow: 0 12px 30px rgba(27,63,114,0.3);
}
.btn-secondary {
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  border: 1.5px solid var(--glass-border);
}
.btn-secondary:hover {
  background: #fff; border-color: var(--copper);
  color: var(--copper); transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(181,113,46,0.15);
}
.btn-nav { padding: 0.55rem 1.4rem; font-size: 0.8rem; }

/* Dark section buttons */
.section-dark .btn-primary {
  background: var(--gold); color: var(--bg-dark);
  box-shadow: var(--shadow-gold);
}
.section-dark .btn-primary:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(196,155,32,0.3);
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: 9rem 0; position: relative; }
.section-title { font-size: clamp(2.5rem, 4vw, 4rem); margin-bottom: 1.5rem; }
.section-subtitle {
  font-size: 1.15rem; font-weight: 300; opacity: 0.78;
  max-width: 700px; line-height: 1.82;
}
.section-badge {
  display: inline-block; font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--copper);
  border: 1px solid rgba(181,113,46,0.3);
  padding: 0.38rem 1rem; border-radius: var(--radius-pill); margin-bottom: 1.5rem;
}
.section-header { margin-bottom: 3.5rem; }

/* Dark section variant */
.section-dark {
  background: linear-gradient(165deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
  color: var(--text-light);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-light); }
.section-dark .section-title { color: var(--text-light); }
.section-dark .section-subtitle { color: var(--text-muted); }
.section-dark .section-badge { color: var(--gold); border-color: rgba(196,155,32,0.35); }

/* ================================================================
   HERO — Dark premium
   ================================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: 
    linear-gradient(148deg, rgba(6,12,26,0.85) 0%, rgba(14,28,52,0.82) 42%, rgba(21,16,10,0.86) 100%),
    url('./assets/kutiy_hero_bg.png') center/cover no-repeat;
  overflow: hidden;
}
.hero::before { /* Metallic ambient glow */
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(181,113,46,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(27,63,114,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(196,155,32,0.06) 0%, transparent 45%);
}
.hero-content {
  padding-top: 12vh; max-width: 1100px;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-block; font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(196,155,32,0.38);
  padding: 0.4rem 1.1rem; border-radius: var(--radius-pill); margin-bottom: 2.2rem;
  background: rgba(196,155,32,0.06);
}
.hero-title {
  font-size: clamp(3.2rem, 5.5vw, 5.8rem); margin-bottom: 1.5rem;
  line-height: 1.05; color: var(--text-light); font-weight: 500;
}
.title-accent-copper { color: var(--copper-light); font-style: italic; font-weight: 400; }
.hero-subtitle {
  font-size: 1.22rem; margin-bottom: 3.2rem;
  max-width: 660px; font-weight: 300;
  color: var(--text-muted); line-height: 1.82;
}
.hero-ctas {
  margin-bottom: 5.5rem;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.hero .btn-primary { background: var(--copper); box-shadow: var(--shadow-copper); color: #fff; }
.hero .btn-primary:hover { background: var(--copper-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(181,113,46,0.3); }
.hero .btn-secondary {
  background: rgba(255,255,255,0.08); color: var(--text-light);
  border-color: rgba(255,255,255,0.2);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.15); color: var(--gold-light);
  border-color: rgba(196,155,32,0.5); transform: translateY(-2px);
}

/* Hero Data Cards */
.hero-data-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.data-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
  transition: var(--transition);
}
.data-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.data-card .data-value {
  font-family: var(--font-display); font-size: 2.8rem;
  color: var(--gold); line-height: 1; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.data-card .data-label {
  font-size: 0.76rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted); margin-top: 0.6rem;
}

/* ================================================================
   GLASS CARDS (light sections)
   ================================================================ */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card); padding: 2.8rem;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.glass-card:hover {
  background: rgba(255,255,255,0.55);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
  border-color: rgba(255,255,255,0.8);
}
/* Dark glass cards (on dark sections) */
.section-dark .glass-card {
  background: var(--glass-dark); border-color: var(--glass-dark-bd);
}
.section-dark .glass-card:hover { background: rgba(255,255,255,0.1); }

/* ================================================================
   ABOUT / IDENTITY
   ================================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: center;
}
.about-definition { display: flex; flex-direction: column; gap: 1.5rem; }
.def-term {
  font-family: var(--font-display); font-size: 4rem;
  color: var(--cobalt); font-style: italic; display: block;
}
.def-origin {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  color: var(--copper); letter-spacing: 2px;
}
.def-meaning { font-size: 1.2rem; line-height: 1.72; }
.about-text { max-width: 560px; }
.about-desc { font-size: 1.08rem; line-height: 1.88; opacity: 0.84; margin-bottom: 2.5rem; }
.about-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-value {
  font-family: var(--font-display); font-size: 2.1rem;
  color: var(--cobalt); font-weight: 500; line-height: 1.1;
}
.stat-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; opacity: 0.58;
}

/* ================================================================
   PROBLEM / SOLUTION
   ================================================================ */
.problem-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.problem-list { list-style: none; display: flex; flex-direction: column; gap: 2.5rem; }
.problem-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.problem-icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%;
  background: var(--cobalt-pale); border: 1px solid rgba(27,63,114,0.15);
  color: var(--cobalt); display: flex; align-items: center; justify-content: center;
}
.problem-list h4 { font-size: 1.28rem; margin-bottom: 0.4rem; }
.problem-list p { opacity: 0.78; font-size: 0.98rem; line-height: 1.72; }
.quote-card {
  font-family: var(--font-display); font-size: 1.9rem;
  color: var(--copper); margin-bottom: 1.5rem; font-style: italic; line-height: 1.35;
}
.quote-body { font-size: 1.03rem; opacity: 0.78; line-height: 1.82; }

/* ================================================================
   MINERALS — Hierarchy
   ================================================================ */
.mineral-tier { margin-top: 4.5rem; }
.tier-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; }
.tier-badge {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.42rem 1.15rem; border-radius: var(--radius-pill); white-space: nowrap;
}
.primary-badge { background: var(--cobalt-pale); color: var(--cobalt); border: 1px solid rgba(27,63,114,0.22); }
.secondary-badge { background: var(--copper-pale); color: var(--copper); border: 1px solid rgba(181,113,46,0.22); }
.tier-line { flex: 1; height: 1px; background: linear-gradient(to right, rgba(13,20,32,0.12), transparent); }
.mineral-matrix { display: grid; gap: 2rem; }
.primary-matrix { grid-template-columns: repeat(3, 1fr); }
.secondary-matrix { grid-template-columns: repeat(2, 1fr); }

/* Mineral cards */
.mineral-card { display: flex; flex-direction: column; gap: 0.8rem; }
.mineral-symbol {
  font-family: var(--font-display); font-size: 3.5rem;
  font-weight: 600; line-height: 1; margin-bottom: 0.2rem;
}
.cu-sym { color: var(--copper); }
.au-sym { color: var(--gold); }
.ag-sym { color: var(--silver); }
.pgm-sym { color: var(--pgm); }
.ree-sym { color: var(--ree); }

.mineral-card h4 { font-size: 1.45rem; color: var(--text-dark); margin: 0; }
.mineral-role {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; padding: 0.28rem 0.8rem;
  border-radius: var(--radius-pill); display: inline-block;
}
.primary-role { background: var(--cobalt-pale); color: var(--cobalt); }
.gold-role    { background: var(--gold-pale);   color: var(--gold-dark); }
.silver-role  { background: var(--silver-pale); color: var(--silver); }
.secondary-role { background: rgba(107,75,154,0.1); color: var(--pgm); }
.ree-role     { background: rgba(35,78,140,0.1); color: var(--ree); }

.mineral-card p { font-size: 0.94rem; line-height: 1.78; opacity: 0.8; flex: 1; }
.mineral-metrics {
  display: flex; gap: 1.5rem; margin-top: 0.8rem;
  padding-top: 1rem; border-top: 1px solid rgba(13,20,32,0.08);
}
.m-metric { display: flex; flex-direction: column; gap: 0.18rem; }
.m-val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--text-dark); }
.m-lab { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.52; }

/* Copper card border accent */
.copper-card { border-top: 3px solid var(--copper); }
.gold-card   { border-top: 3px solid var(--gold); }
.silver-card { border-top: 3px solid var(--silver); }
.pgm-card    { border-top: 3px solid var(--pgm); }
.ree-card    { border-top: 3px solid var(--ree); }

/* ================================================================
   PROJECTIONS SECTION
   ================================================================ */
.projections-section {
  background: linear-gradient(180deg,
    rgba(27,63,114,0.03) 0%,
    rgba(181,113,46,0.04) 50%,
    rgba(27,63,114,0.03) 100%
  );
}

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.kpi-card { text-align: center; padding: 2rem 1.5rem; }
.kpi-icon { margin-bottom: 1rem; color: var(--copper); display: flex; justify-content: center; opacity: 0.9; }
.kpi-value {
  font-family: var(--font-display); font-size: 2.6rem;
  color: var(--cobalt); line-height: 1; margin-bottom: 0.5rem; font-weight: 500;
}
.kpi-label { font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.62; }

.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.chart-container { padding: 2.5rem; }
.chart-title { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.chart-subtitle { font-size: 0.8rem; opacity: 0.55; margin-bottom: 1.5rem; }

/* Business Table */
.projection-table { padding: 2.8rem; }
.table-responsive { overflow-x: auto; margin-top: 1.8rem; }
.business-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.business-table th {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; opacity: 0.55;
  padding: 0.8rem 1rem; text-align: left;
  border-bottom: 2px solid rgba(13,20,32,0.1);
}
.business-table td {
  padding: 1rem; border-bottom: 1px solid rgba(13,20,32,0.06);
  color: var(--text-dark);
}
.business-table tr:hover td { background: rgba(255,255,255,0.5); }
.phase-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--cobalt-mid) 100%);
  color: #fff; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
}
.status-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem; border-radius: var(--radius-pill);
}
.active-badge  { background: var(--gold-pale);   color: var(--gold-dark); }
.planned-badge { background: var(--copper-pale);  color: var(--copper-dark); }
.future-badge  { background: var(--cobalt-pale);  color: var(--cobalt); }
.disclaimer { font-size: 0.76rem; opacity: 0.46; margin-top: 1.5rem; font-style: italic; }

/* ================================================================
   WATER / ESG SECTION (dark)
   ================================================================ */
.water-focus {
  text-align: center; padding: 8rem 0; position: relative;
}
.water-stat {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 1; margin: 1.8rem 0; font-style: italic;
  background: linear-gradient(135deg, var(--copper-light) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.water-focus h2 { color: var(--text-light); }
.water-focus p { font-size: 1.4rem; max-width: 800px; margin: 0 auto; color: var(--text-muted); }

/* ================================================================
   SCIENCE
   ================================================================ */
.science-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6rem; align-items: center; }
.science-content h2 { color: var(--gold-light); }
.science-content p { font-size: 1.08rem; color: var(--text-muted); line-height: 1.82; }
.alliance-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.alliance-card { text-align: center; padding: 2rem 1.5rem; }
.alliance-icon { margin-bottom: 1rem; color: var(--gold); display: flex; justify-content: center; opacity: 0.85; }
.alliance-card h4 { font-size: 1.02rem; margin-bottom: 0.4rem; color: var(--text-light); }
.alliance-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.62; }

/* ================================================================
   TEAM & ADVISORS
   ================================================================ */
.team-section { position: relative; }
.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(184,115,51,0.06), transparent 55%),
              radial-gradient(ellipse at 80% 100%, rgba(46,92,138,0.05), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.team-section .container { position: relative; z-index: 1; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.team-card {
  display: flex;
  flex-direction: column;
  padding: 2.6rem 2.2rem;
  gap: 1rem;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}
.team-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--copper), transparent);
  opacity: 0.6;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-monogram {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  margin-bottom: 0.4rem;
}
.team-mono-copper { background: linear-gradient(135deg, #b87333, #8a4e20); }
.team-mono-gold   { background: linear-gradient(135deg, #d4a340, #8c6a1a); }
.team-mono-cobalt { background: linear-gradient(135deg, #3a6aa8, #1f3f6b); }
.team-mono-silver { background: linear-gradient(135deg, #8a95a8, #4b5668); }

.team-head { display: flex; flex-direction: column; gap: 0.25rem; }
.team-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}
.team-role {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}

.team-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  opacity: 0.88;
  font-weight: 500;
}
.team-bio {
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--text-dark);
  opacity: 0.72;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.8rem;
}
.team-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(13,20,32,0.05);
  color: var(--text-dark);
  opacity: 0.78;
  border: 1px solid rgba(13,20,32,0.06);
}

.team-synthesis {
  padding: 2.4rem 2.6rem;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  border-left: 3px solid var(--copper);
}
.synth-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.team-synthesis p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.72;
  color: var(--text-dark);
  opacity: 0.88;
  margin: 0;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 2.2rem 1.6rem; }
  .team-synthesis { padding: 2rem 1.4rem; }
  .team-synthesis p { font-size: 1.05rem; }
}

/* RTL polish */
[dir="rtl"] .team-card::after {
  left: auto; right: 0;
  background: linear-gradient(180deg, var(--copper), transparent);
}
[dir="rtl"] .team-synthesis {
  border-left: none;
  border-right: 3px solid var(--copper);
}
[dir="rtl"] .team-tags { justify-content: flex-end; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.contact-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 3.2rem 2rem;
}
.contact-icon { margin-bottom: 1.6rem; color: var(--cobalt); display: flex; justify-content: center; opacity: 0.85; }
.contact-card h3 { font-size: 1.55rem; margin-bottom: 0.9rem; }
.contact-card p { font-size: 0.94rem; opacity: 0.78; line-height: 1.78; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(13,20,32,0.1);
  position: relative; z-index: 2;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 4rem; align-items: start; }
.footer .brand-name { font-size: 2.2rem; color: var(--cobalt); }
.translation {
  font-family: var(--font-display); font-size: 1.05rem;
  font-style: italic; color: var(--copper); margin-top: 0.5rem; display: block;
}
.footer-desc { font-size: 0.86rem; opacity: 0.55; margin-top: 0.75rem; max-width: 280px; line-height: 1.72; }
.footer-links { display: flex; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col h5 {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; opacity: 0.45; margin-bottom: 0.3rem;
}
.footer-col a {
  color: var(--text-dark); text-decoration: none; font-size: 0.9rem;
  opacity: 0.68; transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover { opacity: 1; color: var(--copper); }
.footer-legal { text-align: right; }
.footer-legal p { font-size: 0.8rem; opacity: 0.48; line-height: 1.8; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
.hero-fade {
  opacity: 0;
  animation: heroEntry 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  will-change: transform, opacity;
}
@keyframes heroEntry {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-text, .reveal-fade {
  opacity: 0; transform: translateY(12px);
  transition: var(--transition);
  will-change: transform, opacity;
}
.reveal-text.active, .reveal-fade.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; animation-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; animation-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; animation-delay: 0.36s; }

/* ================================================================
   RTL SUPPORT
   ================================================================ */
[dir="rtl"] .nav-container,
[dir="rtl"] .nav-links,
[dir="rtl"] .nav-actions,
[dir="rtl"] .hero-ctas,
[dir="rtl"] .about-stats,
[dir="rtl"] .footer-links { flex-direction: row-reverse; }
[dir="rtl"] .about-grid,
[dir="rtl"] .hero-data-grid,
[dir="rtl"] .science-section { direction: rtl; }
[dir="rtl"] .tier-header { flex-direction: row-reverse; }
[dir="rtl"] .tier-line { background: linear-gradient(to left, rgba(13,20,32,0.12), transparent); }
[dir="rtl"] .problem-item { flex-direction: row-reverse; }
[dir="rtl"] .mineral-metrics { flex-direction: row-reverse; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-col { align-items: flex-end; }
[dir="rtl"] .footer-legal { text-align: left; }
[dir="rtl"] .business-table th,
[dir="rtl"] .business-table td { text-align: right; }
[dir="rtl"] .brand-sub { letter-spacing: 0.04em; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  .hero-data-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .about-grid, .problem-grid, .science-section { grid-template-columns: 1fr; gap: 3.5rem; }
  .primary-matrix { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 6rem 0; }
  .hero-data-grid, .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .primary-matrix, .secondary-matrix { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-legal { text-align: left; }
  .footer-links { flex-direction: column; gap: 2rem; }
  .bg-blobs { opacity: 0.18; }
}
@media (max-width: 480px) {
  .hero-data-grid, .kpi-grid { grid-template-columns: 1fr; }
  .lang-btn { padding: 0.25rem 0.48rem; font-size: 0.7rem; }
}

/* ================================================================
   ADVANCED OXIDATION PATHWAYS — new sections (dark context)
   ================================================================ */

/* Section header */
.adv-pathways-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}
.adv-paths-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  margin-top: 0.8rem;
}
.adv-paths-desc {
  font-size: 1.06rem;
  line-height: 1.84;
  color: var(--text-muted);
}

/* Pathway comparison grid */
.pathway-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.pathway-card {
  padding: 2.5rem 2.2rem;
  position: relative;
}
.pathway-featured {
  border-top: 2px solid var(--gold) !important;
  background: rgba(196,155,32,0.06) !important;
  border-color: rgba(196,155,32,0.28) !important;
}
.pathway-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}
.pathway-icon-cav {
  color: var(--gold);
  border-color: rgba(196,155,32,0.25);
  background: rgba(196,155,32,0.08);
}
.pathway-new-badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196,155,32,0.38);
  padding: 0.26rem 0.78rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.pathway-title {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
}
.pathway-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}
.pathway-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.62;
  padding-left: 1.3rem;
  position: relative;
}
.pathway-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--copper);
  opacity: 0.7;
}
.pathway-list-featured li::before {
  color: var(--gold);
  opacity: 0.9;
}

/* ── Cavitation detail block ── */
.cav-detail-block {
  padding: 0;
  overflow: hidden;
}
.cav-block-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
}
.cav-text-col {
  padding: 3rem 3rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.cav-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--gold-light);
  margin-top: 0.4rem;
}
.cav-block-desc {
  font-size: 0.98rem;
  line-height: 1.84;
  color: var(--text-muted);
}
.cav-diagram-col {
  background: rgba(255,255,255,0.025);
  border-left: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-height: 360px;
}
.cav-process-svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* ── Process flow (simplified) ── */
.flow-header-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.flow-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--gold-light);
  margin-top: 0.5rem;
}
.simple-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 3rem 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
}
.sf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 120px;
  max-width: 175px;
  gap: 0.55rem;
  padding: 0 0.4rem;
}
.sf-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(181,113,46,0.14);
  border: 1px solid rgba(181,113,46,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-body);
  flex-shrink: 0;
}
.sf-step-final .sf-num {
  background: rgba(39,81,61,0.22);
  border-color: rgba(58,112,88,0.48);
  color: #6fcf97;
}
.sf-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
}
.sf-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.sf-arrow {
  color: rgba(196,155,32,0.38);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.75rem;
  padding: 0 0.2rem;
}

/* ── Validation pillars ── */
.validation-header-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.validation-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
  color: var(--gold-light);
  margin-top: 0.5rem;
}
.validation-para {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.84;
  margin-top: 1rem;
}
.validation-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.val-pillar {
  padding: 2rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.val-pillar-icon {
  font-size: 1.7rem;
  color: rgba(196,155,32,0.42);
  line-height: 1;
}
.val-pillar-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--text-light);
  font-weight: 500;
  margin: 0;
}
.val-pillar-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Responsive — science section ── */
@media (max-width: 1024px) {
  .pathway-compare-grid { grid-template-columns: 1fr; max-width: 600px; }
  .cav-block-inner { grid-template-columns: 1fr; }
  .cav-diagram-col {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    min-height: 280px;
  }
  .validation-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .simple-flow { flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
  .sf-arrow { display: none; }
  .sf-step { min-width: 42%; max-width: 48%; }
  .adv-paths-title { font-size: 1.5rem; }
  .validation-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .sf-step { min-width: 100%; max-width: 100%; }
  .validation-pillars { grid-template-columns: 1fr; }
}

.btn-contact-main {
  padding: 1rem 3.2rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

