/* ==========================================================================
   1. MASTER RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:root {
  /* === COLOR SYSTEM (SILAS PARADZA SPEC) === */
  --color-primary: #0F172A;     /* Slate 900 */
  --color-secondary: #111827;   /* Gray 950 */
  --color-gold: #D4AF37;        /* Elegant Accent Gold */
  --color-gold-hover: #F4C542;  /* Highlight Bright Gold */
  --color-white: #FFFFFF;
  --color-light-gray: #F8FAFC;
  --color-whatsapp: #25D366;
  --color-danger: #EF4444;
  --color-success: #10B981;

  /* === LIGHT/DARK THEME DEFAULT VARIABLES (DARK FIRST) === */
  --bg-page: var(--color-primary);
  --bg-card: var(--color-secondary);
  --bg-muted: #1E293B;
  --text-primary: var(--color-white);
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: var(--color-primary);
  --border-color: #1E293B;
  --shadow-color: rgba(0, 0, 0, 0.4);

  /* === BORDERS & RADII === */
  --border-style: 1px solid var(--border-color);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* === TYPOGRAPHY === */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* === SPACING === */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* === TRANSITIONS === */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration: 300ms;
  --duration-slow: 600ms;
  --transition: all var(--duration) var(--ease);

  /* === LAYOUT === */
  --container: 1240px;
  --header-height: 80px;
  --section-py: var(--space-7);
}

/* === LIGHT MODE OVERWRITES === */
[data-theme="light"] {
  --bg-page: var(--color-light-gray);
  --bg-card: var(--color-white);
  --bg-muted: #E2E8F0;
  --text-primary: var(--color-primary);
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: var(--color-white);
  --border-color: #E2E8F0;
  --shadow-color: rgba(15, 23, 42, 0.08);
}

/* === BASE ELEMENTS === */
html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  transition: var(--transition);
}

input, textarea, select {
  font: inherit;
  background: none;
  border: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-muted);
  border-radius: var(--radius-xs);
  border: 2px solid var(--bg-page);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* ==========================================================================
   2. TYPOGRAPHY SYSTEM
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 6vw, var(--text-6xl)); }
h2 { font-size: clamp(1.75rem, 4vw, var(--text-4xl)); }
h3 { font-size: clamp(1.35rem, 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

.gradient-text {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-1);
  display: block;
}

.eyebrow--inverse {
  color: var(--color-gold-hover);
}

.text-white { color: var(--color-white) !important; }
.text-gray { color: #94A3B8 !important; }
.text-center { text-align: center; }
.hover-underline:hover {
  text-decoration: underline;
  color: var(--color-gold);
}

/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-3); }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-3); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.flex-col-sm { display: flex; flex-direction: column; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }

.section {
  padding-block: var(--section-py);
}

.section--muted {
  background-color: var(--bg-muted);
}

.section--dark {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.section-header {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-5);
}

.section-title {
  margin-bottom: var(--space-2);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

/* ==========================================================================
   4. BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.8em 1.8em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-base);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.btn--primary:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn--secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  border-radius: var(--radius-sm);
}

.btn--whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn--sm {
  padding: 0.5em 1.25em;
  font-size: var(--text-sm);
}

.btn--lg {
  padding: 1.1em 2.2em;
  font-size: var(--text-lg);
}

/* ==========================================================================
   5. HEADER NAVIGATION
   ========================================================================== */
/* ── Header: always solid, never transparent ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  /* Always-visible solid dark background in dark mode */
  background-color: rgba(15, 23, 42, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

/* Always-visible solid light background in light mode */
[data-theme="light"] .header {
  background-color: rgba(248, 250, 252, 0.97);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Scrolled: add blur refinement on top of the solid base */
.header.scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .header.scrolled {
  box-shadow: 0 4px 20px var(--shadow-color);
}

.header__container {
  max-width: var(--container);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

[data-theme="light"] .header__logo {
  color: var(--color-primary);
}

.header__logo .accent-text {
  color: var(--color-gold);
}

.header__nav {
  height: 100%;
}

.header__list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-3);
}

.header__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--space-1);
  position: relative;
}

[data-theme="light"] .header__link {
  color: rgba(15, 23, 42, 0.7);
}

.header__link:hover,
.header__link.active {
  color: var(--color-gold);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--duration) var(--ease);
}

.header__link.active::after,
.header__link:hover::after {
  width: 100%;
}

/* Website Credits nav item — hidden on desktop, only in mobile drawer */
.nav-credits-item {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .theme-toggle-btn {
  color: var(--color-primary);
  border-color: rgba(15, 23, 42, 0.1);
}

.theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-gold);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}

/* Burger menu button — hidden on desktop, shown on mobile */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: 1100;
}

.burger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition);
}

[data-theme="light"] .burger-bar {
  background-color: var(--color-primary);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s var(--ease), visibility 1.5s var(--ease);
  transform: scale(1.05);
}

.hero__slide.active {
  opacity: 1;
  visibility: visible;
  animation: cinematicZoom 16s ease-in-out infinite alternate;
}

@keyframes cinematicZoom {
  0% { transform: scale(1.03); }
  100% { transform: scale(1.09); }
}

.hero__content {
  text-align: center;
  z-index: 2;
  color: var(--color-white);
  max-width: 900px;
  padding-block: var(--space-5);
  margin-top: calc(var(--header-height) / 2);
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  margin-bottom: var(--space-2);
  line-height: 1.15;
  color: var(--color-white);
}

.hero__subheadline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-4);
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

/* Animated loop marquee bottom of hero */
.marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(11, 18, 38, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--space-2);
  overflow: hidden;
  display: flex;
  z-index: 10;
  white-space: nowrap;
}

[data-theme="light"] .marquee {
  background-color: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.marquee__content {
  display: flex;
  animation: marqueeRun 32s linear infinite;
  gap: var(--space-4);
  padding-right: var(--space-4);
}

.marquee__content span {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  display: inline-block;
}

[data-theme="light"] .marquee__content span {
  color: rgba(15, 23, 42, 0.45);
}

.marquee__content span::after {
  content: '•';
  margin-left: var(--space-4);
  color: var(--color-gold);
}

@keyframes marqueeRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Scroll indicator — removed as per design requirements */

/* ==========================================================================
   7. ABOUT SILAS SECTION
   ========================================================================== */
.about {
  position: relative;
  overflow: hidden;
}

.about__media {
  position: relative;
}

.portrait-container {
  position: relative;
  width: 100%;
  margin-inline: auto;
  padding: 12px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.02);
}

.about__portrait {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 10px);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px var(--shadow-color);
  display: block;
}

.portrait-gold-box {
  display: none;
}

/* ── Portrait Slideshow ── */
.portrait-slideshow {
  position: relative;
  width: 100%;
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0b0f1a;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}

/* Cinematic dark gradient edges to blend into layout */
.portrait-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0) 15%, rgba(15, 23, 42, 0) 85%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 3;
  pointer-events: none;
}

.portrait-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
}

.portrait-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.portrait-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.0);
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Smooth Ken Burns transition on active class */
.portrait-slide.active img {
  transform: scale(1.12);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about__motto {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-gold);
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-2);
  margin-bottom: var(--space-3);
  line-height: 1.4;
}

.about__text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.about__pillars {
  margin-top: var(--space-3);
}

.pillar-card {
  background-color: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius);
  padding: var(--space-2);
  box-shadow: 0 4px 10px var(--shadow-color);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
}

.pillar-card__title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.pillar-card__text {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.principles-container {
  margin-top: var(--space-6);
  border-top: var(--border-style);
  padding-top: var(--space-5);
}

.principles-title {
  margin-bottom: var(--space-4);
}

.principles-grid {
  gap: var(--space-3);
}

.principle-item {
  background-color: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius);
  padding: var(--space-3);
  transition: var(--transition);
}

.principle-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 10px 24px var(--shadow-color);
}

.principle-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  font-weight: 700;
}

.principle-item h4 {
  margin-bottom: 6px;
  font-size: var(--text-base);
}

.principle-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   8. MINING DIVISION
   ========================================================================== */
.operations-grid {
  align-items: center;
  margin-bottom: var(--space-5);
}

.operations-visual {
  position: relative;
  width: 100%;
  padding: 12px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.02);
}

.visual-img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 10px);
  z-index: 2;
  position: relative;
  box-shadow: 0 10px 30px var(--shadow-color);
  display: block;
}

.gold-accent-border {
  display: none;
}

.operations-details {
  height: 100%;
  gap: var(--space-3);
}

.operation-text-box h3 {
  margin-bottom: var(--space-2);
}

.operation-text-box p {
  color: var(--text-secondary);
  font-size: var(--text-base);
}

.mining-features {
  gap: var(--space-2);
}

.feature-item {
  border-left: 2px solid var(--color-gold);
  padding-left: var(--space-2);
}

.feature-item h5 {
  font-size: var(--text-base);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Interactive Division cards */
.division-card {
  background-color: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: var(--transition);
}

.division-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 28px var(--shadow-color);
}

.division-card__img-wrapper {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.division-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.division-card:hover .division-card__img {
  transform: scale(1.06);
}

.division-card__content {
  padding: var(--space-3);
}

.division-card__content h4 {
  margin-bottom: 8px;
}

.division-card__content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   9. TRANSPORT & LOGISTICS
   ========================================================================== */
.logistics-grid {
  align-items: center;
  margin-bottom: var(--space-5);
}

.logistics-heading {
  margin-bottom: var(--space-2);
}

.logistics-info > p {
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

/* Interactive Tabs system */
.logistics-tabs-container {
  background-color: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.logistics-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-2);
  gap: var(--space-1);
}

.tab-btn {
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeInPanel 0.4s var(--ease);
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.tab-bullet-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.tab-bullet-list li {
  font-size: var(--text-xs);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.tab-bullet-list li::before {
  content: '▪';
  color: var(--color-gold);
  font-size: 14px;
}

.interactive-fleet-display {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.fleet-img {
  width: 100%;
  display: block;
}

.fleet-stats-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: var(--space-2);
  z-index: 3;
}

.stat-bubble {
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: var(--radius);
  text-align: center;
}

.stat-bubble .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-gold);
}

.stat-bubble .stat-label {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.logistics-cards {
  gap: var(--space-3);
}

.service-item-card {
  background-color: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius);
  padding: var(--space-3);
  transition: var(--transition);
}

.service-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 10px 24px var(--shadow-color);
}

.service-icon-wrapper {
  font-size: 28px;
  margin-bottom: var(--space-2);
}

.service-item-card h4 {
  margin-bottom: 6px;
  font-size: var(--text-lg);
}

.service-item-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   10. WHY WORK WITH US & INDUSTRIES
   ========================================================================== */
.why-grid {
  gap: var(--space-3);
}

.why-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: var(--transition);
  position: relative;
  /* Always visible — GSAP enhances this with a stagger entrance */
  opacity: 1;
}

.why-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.why-card__num {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: rgba(212, 175, 55, 0.2);
  margin-bottom: var(--space-2);
  transition: var(--transition);
}

.why-card:hover .why-card__num {
  color: var(--color-gold);
}

.why-card h4 {
  color: var(--color-white);
  margin-bottom: 8px;
  font-size: var(--text-lg);
}

.why-card p {
  color: #94A3B8;
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Industries badge cards */
.industries-grid {
  gap: var(--space-2);
}

.industry-badge-card {
  background-color: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
  transition: var(--transition);
}

.industry-badge-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 20px var(--shadow-color);
  transform: translateY(-3px);
}

.industry-badge-icon {
  font-size: 32px;
  margin-bottom: var(--space-1);
}

.industry-badge-card h4 {
  font-size: var(--text-base);
  margin-bottom: 6px;
}

.industry-badge-card p {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   11. PROJECTS SECTION
   ========================================================================== */
.projects-grid {
  gap: var(--space-4);
}

.project-case-card {
  background-color: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-case-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 28px var(--shadow-color);
}

.project-case-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.project-case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.project-case-card:hover .project-case-img {
  transform: scale(1.04);
}

.project-case-body {
  padding: var(--space-3);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-case-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--color-gold);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-case-body h3 {
  margin-bottom: 8px;
}

.project-case-body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.project-case-stats {
  display: flex;
  gap: var(--space-3);
  border-top: var(--border-style);
  padding-top: var(--space-2);
}

.project-case-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--text-primary);
}

.project-case-stat-lbl {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   12. GALLERY MASONRY & LIGHTBOX
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.filter-btn {
  padding: 8px 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.filter-btn.active {
  background-color: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-gold);
}

.gallery-masonry {
  columns: 3 320px;
  column-gap: var(--space-2);
  width: 100%;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-2);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 10px var(--shadow-color);
}

.gallery-item-img {
  width: 100%;
  display: block;
  transition: transform var(--duration-slow) var(--ease);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.25) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-2);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  z-index: 2;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-item-img {
  transform: scale(1.05);
}

.gallery-item-overlay span {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.gallery-item-overlay h4 {
  font-size: var(--text-base);
  color: var(--color-white);
}

/* Lightbox Modal styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 17, 34, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 40px;
  color: var(--color-white);
  z-index: 2100;
}

.lightbox__close:hover {
  color: var(--color-gold);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: var(--color-white);
  padding: var(--space-2);
  z-index: 2100;
}

.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  color: var(--color-gold);
}

.lightbox__container {
  max-width: 85%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox__caption {
  margin-top: var(--space-2);
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: 500;
}

/* ==========================================================================
   12b. ARTICLE MODAL OVERLAYS
   ========================================================================== */
.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 17, 34, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-modal.active {
  opacity: 1;
  pointer-events: all;
}

.article-modal__overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.article-modal__container {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  z-index: 2510;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-modal.active .article-modal__container {
  transform: translateY(0) scale(1);
}

.article-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2600;
  transition: color var(--duration) var(--ease);
}

.article-modal__close:hover {
  color: var(--color-gold);
}

.article-modal__body {
  padding: var(--space-4);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--bg-page);
}

/* Scrollbar styling for modal */
.article-modal__body::-webkit-scrollbar {
  width: 8px;
}
.article-modal__body::-webkit-scrollbar-track {
  background: var(--bg-page);
}
.article-modal__body::-webkit-scrollbar-thumb {
  background-color: var(--color-gold);
  border-radius: 4px;
}

.article-modal__image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-modal__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-modal__meta {
  font-size: var(--text-sm);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.article-modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.article-modal__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-modal__text p {
  margin-bottom: var(--space-3);
}

.article-modal__text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   13. NEWS & ARTICLES
   ========================================================================== */
.news-grid {
  gap: var(--space-3);
}

.news-card {
  background-color: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 10px var(--shadow-color);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 26px var(--shadow-color);
}

.news-card__img-wrapper {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.news-card:hover .news-card__img {
  transform: scale(1.04);
}

.news-card__body {
  padding: var(--space-3);
}

.news-card__meta {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-card__title {
  font-size: var(--text-lg);
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

.news-card__more-btn {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
}

.news-card__more-btn:hover {
  color: var(--color-gold-hover);
}

/* ==========================================================================
   14. CONTACT FORM & MAPS
   ========================================================================== */
.contact-info {
  gap: var(--space-4);
}

.contact-desc {
  color: var(--text-secondary);
  font-size: var(--text-base);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.method-icon {
  font-size: 20px;
  background-color: var(--bg-muted);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method-item h5 {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-method-item p {
  font-size: var(--text-base);
  font-weight: 600;
}

.map-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-style);
  box-shadow: 0 4px 15px var(--shadow-color);
  aspect-ratio: 16/9;
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* High-Converting Form (Website Forms Skill) */
.contact-form-wrapper {
  background-color: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background-color: var(--bg-muted);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

[data-theme="light"] .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.form-select option {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Error validation states */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-danger);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-danger);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-1);
}

.form-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--color-success);
  color: var(--color-success);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ==========================================================================
   15. FOOTER STYLING — Professional & Standard
   ========================================================================== */
.footer {
  background-color: #0b0f19;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-6);
  padding-bottom: var(--space-4);
  font-size: var(--text-sm);
}

[data-theme="light"] .footer {
  background-color: #0F172A;
  color: #94A3B8;
}

/* Desktop: 4-column grid — Brand takes 2, links take 1 each */
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__logo {
  color: var(--color-white);
  font-size: var(--text-xl);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer__logo .accent-text {
  color: var(--color-gold);
}

.footer__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: #64748B;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-1);
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: var(--transition);
}

.footer__socials a:hover {
  background-color: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__links h4 {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__links a {
  color: #64748B;
  font-size: var(--text-sm);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer__links p {
  color: #64748B;
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 4px;
}

.footer__phone a {
  font-weight: 700;
  color: var(--color-white);
  font-size: var(--text-base);
}

.footer__phone a:hover {
  color: var(--color-gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer__copy {
  font-size: var(--text-xs);
  color: #475569;
}

.footer__credits {
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: #475569;
}

.credits-link {
  color: var(--color-gold) !important;
  font-weight: 600;
}

.credits-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   16. FLOATING WHATSAPP BUTTON
   ========================================================================== */
/* WhatsApp Float — no pulse animation, clean static button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   17. GSAP REVEAL ANIMATIONS CLASS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS — PROFESSIONAL MOBILE LAYOUT
   ========================================================================== */

/* ── TABLET (max 1024px) ── */
@media (max-width: 1024px) {
  :root {
    --section-py: var(--space-6);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer: 2 columns on tablet */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .footer__brand {
    grid-column: 1 / -1; /* Brand spans full width on tablet */
  }
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {

  /* Global overflow guard */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Container padding tighter on mobile */
  .container {
    padding-inline: 18px;
    width: 100%;
  }

  /* Section vertical spacing reduced */
  :root {
    --section-py: var(--space-5);
  }

  /* ── ALL grids collapse to 1 column ── */
  .grid-2,
  .grid-3,
  .grid-auto,
  .mining-features,
  .principles-grid,
  .logistics-cards,
  .industries-grid,
  .projects-grid,
  .news-grid,
  .mining-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  /* Form rows collapse */
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  /* Section headers tighter */
  .section-header {
    margin-bottom: var(--space-4);
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section-subtitle {
    font-size: var(--text-base);
  }

  /* ── HERO ── */
  .hero__content {
    padding-inline: 20px;
    margin-top: 0;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    margin-bottom: var(--space-2);
  }

  .hero__subheadline {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  /* ── MARQUEE ── */
  .marquee {
    padding-block: 12px;
  }

  .marquee__content span {
    font-size: 10px;
  }

  /* ── ABOUT ── */
  .about__media {
    order: -1;
    margin-bottom: var(--space-3);
  }

  .portrait-container {
    width: 100%;
    margin-inline: auto;
  }

  /* Hide decorative offset boxes to prevent overflow on mobile */
  .portrait-gold-box,
  .gold-accent-border {
    display: none;
  }

  .about__info {
    padding-inline: 0;
  }

  .about__motto {
    font-size: var(--text-base);
  }

  .about__pillars {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  /* ── MINING DIVISION ── */
  .operations-grid {
    gap: var(--space-3);
    margin-bottom: var(--space-4);
  }

  .operations-visual {
    margin-bottom: var(--space-1);
  }

  /* ── LOGISTICS TABS ── */
  .logistics-tabs-nav {
    flex-wrap: wrap;
    gap: 6px;
  }

  .tab-btn {
    padding: 6px 12px;
    font-size: var(--text-xs);
  }

  .logistics-visual {
    margin-top: var(--space-3);
  }

  /* ── WHY WORK WITH US ── */
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .why-card {
    padding: var(--space-2);
  }

  /* ── PROJECTS ── */
  .project-case-stats {
    gap: var(--space-2);
  }

  /* ── GALLERY ── */
  .gallery-masonry {
    columns: 2 160px;
    column-gap: 10px;
  }

  .gallery-filters {
    gap: 8px;
    margin-bottom: var(--space-3);
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: var(--text-xs);
  }

  /* ── CONTACT ── */
  .contact-form-wrapper {
    padding: var(--space-3);
  }

  .map-container {
    aspect-ratio: 4/3;
  }

  /* ── NAVIGATION (MOBILE BURGER) ── */
  .nav-toggle-btn {
    display: flex;
  }

  .header__cta-btn {
    display: none;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #0b0f1a;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    z-index: 1050;
    padding: 80px var(--space-3) var(--space-3);
    transition: right var(--duration) var(--ease);
    overflow-y: auto;
    overflow-x: hidden;
  }

  [data-theme="light"] .header__nav {
    background-color: #F1F5F9;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
  }

  .header__nav.active {
    right: 0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  .header__list {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 4px;
  }

  .header__link {
    font-size: var(--text-base);
    padding-block: 12px;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  [data-theme="light"] .header__link {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  }

  .header__link::after {
    display: none;
  }

  /* Website Credits — visible at bottom of mobile drawer */
  .nav-credits-item {
    display: block;
    margin-top: var(--space-2);
    padding-top: var(--space-2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  [data-theme="light"] .nav-credits-item {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
  }

  .header__link--credits {
    font-size: var(--text-sm) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    letter-spacing: 0.04em;
    border-bottom: none !important;
  }

  [data-theme="light"] .header__link--credits {
    color: rgba(15, 23, 42, 0.5) !important;
  }

  /* Burger animation */
  .nav-toggle-btn.active .burger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle-btn.active .burger-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle-btn.active .burger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Misc layout helpers */
  .flex-col-sm {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Clip sections with absolute decoratives */
  .about,
  .mining-section,
  .logistics-section,
  .projects-section,
  .why-us-section {
    overflow-x: hidden;
  }

  /* ── FOOTER — Single column, clean stack ── */
  .footer {
    padding-top: var(--space-5);
    padding-bottom: var(--space-4);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
  }

  .footer__brand {
    grid-column: unset;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: var(--space-3);
  }

  .footer__desc {
    max-width: 100%;
  }

  .footer__socials {
    gap: 10px;
  }

  .footer__links {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: var(--space-3);
  }

  .footer__links:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: var(--space-3);
  }

  .footer__copy,
  .footer__credits {
    font-size: 11px;
  }

  /* WhatsApp button smaller on mobile */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 16px;
  }
}

/* ── SMALL PHONES (max 480px) ── */
@media (max-width: 480px) {
  .gallery-masonry {
    columns: 1;
  }

  .why-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
}

/* ── EXTRA SMALL (max 375px) ── */
@media (max-width: 375px) {
  :root {
    --section-py: var(--space-4);
  }

  .container {
    padding-inline: 14px;
  }

  .header__logo {
    font-size: 15px;
    white-space: nowrap;
    letter-spacing: -0.02em;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__ctas .btn {
    width: 100%;
    font-size: var(--text-sm);
  }

  .footer__socials {
    gap: 8px;
  }
}

    font-size: var(--text-lg);
  }
}
