/* ============================================
   SteelEdge Mining Solutions — Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --navy: #0B1F3A;
  --navy-light: #122d52;
  --navy-dark: #071428;
  --charcoal: #2C2C2C;
  --charcoal-light: #3a3a3a;
  --copper: #B87333;
  --copper-light: #d4915a;
  --copper-dark: #9a5f2a;
  --copper-glow: rgba(184, 115, 51, 0.3);
  --white: #FFFFFF;
  --off-white: #F5F3F0;
  --light-gray: #E8E6E3;
  --medium-gray: #9A9A9A;
  --dark-overlay: rgba(11, 31, 58, 0.85);
  --card-bg: rgba(255, 255, 255, 0.03);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
  --shadow-copper: 0 4px 20px rgba(184, 115, 51, 0.25);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: 1.7;
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--charcoal);
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 600px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: var(--white);
  border-color: var(--copper);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  box-shadow: var(--shadow-copper);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper);
  background: rgba(184, 115, 51, 0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--copper);
  border-color: var(--copper);
}

.btn-outline-dark:hover {
  background: var(--copper);
  color: var(--white);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Staggered children */
.reveal-children>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-children.visible>*:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.visible>*:nth-child(2) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.visible>*:nth-child(3) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.visible>*:nth-child(4) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.visible>*:nth-child(5) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.visible>*:nth-child(6) {
  transition-delay: 0.6s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.visible>*:nth-child(7) {
  transition-delay: 0.7s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.visible>*:nth-child(8) {
  transition-delay: 0.8s;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   1. HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  z-index: 1001;
}

.site-logo {
  height: 55px;
  width: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.header-phone:hover {
  color: var(--copper);
}

.header-cta {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   2. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/Gareth%20Steel%20Coal%20Mining%20Dragline.jpeg') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(7, 20, 40, 0.92) 0%,
      rgba(11, 31, 58, 0.8) 40%,
      rgba(11, 31, 58, 0.6) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 720px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-content h1 .accent {
  color: var(--copper);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--copper);
  flex-shrink: 0;
}

/* ============================================
   3. ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--copper);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #4a4a4a;
}

.about-text p.highlight-line {
  color: var(--copper-dark);
  font-weight: 500;
  font-style: italic;
  border-left: 3px solid var(--copper);
  padding-left: 16px;
  margin-top: 20px;
}

.credentials {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.credential-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.credential-badge svg {
  width: 20px;
  height: 20px;
  color: var(--copper);
}

/* Stat Tiles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-tile {
  text-align: center;
  padding: 32px 20px;
  background: var(--navy);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.stat-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================================
   4. SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-padding);
  background: var(--off-white);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--copper);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.7;
}

.services-cta {
  text-align: center;
  font-size: 1.05rem;
  color: var(--charcoal);
}

.services-cta a {
  color: var(--copper);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-base);
}

.services-cta a:hover {
  border-bottom-color: var(--copper);
}

/* ============================================
   5. CASE STUDIES / PROJECTS
   ============================================ */
.projects {
  padding: var(--section-padding);
  background: var(--navy);
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/rock-texture.png') center/cover no-repeat;
  opacity: 0.1;
}

.projects .container {
  position: relative;
  z-index: 2;
}

.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

.projects-header h2 {
  color: var(--white);
}

.projects-header .section-subtitle {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.6);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--copper);
  transform: translateY(-4px);
}

.project-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(184, 115, 51, 0.2);
  color: var(--copper-light);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.project-card h3 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.project-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-step {
  display: flex;
  gap: 14px;
}

.step-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--copper);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
}

.step-content {
  flex: 1;
}

.step-content strong {
  display: block;
  color: var(--copper-light);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.6;
}

.project-outcome {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-outcome svg {
  width: 20px;
  height: 20px;
  color: #4CAF50;
  flex-shrink: 0;
}

.project-outcome span {
  font-size: 0.9rem;
  color: #4CAF50;
  font-weight: 600;
}

.projects-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  font-style: italic;
}

/* ============================================
   6. COMMODITIES
   ============================================ */
.commodities {
  padding: var(--section-padding);
  background: var(--white);
}

.commodities-header {
  text-align: center;
  margin-bottom: 50px;
}

.commodities-header .section-subtitle {
  margin: 0 auto;
}

.commodities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.commodity-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: default;
}

.commodity-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.commodity-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
}

.commodity-icon svg {
  width: 36px;
  height: 36px;
}

.commodity-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.commodities-subtext {
  text-align: center;
  font-size: 1rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   7. TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--section-padding);
  background: var(--off-white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--copper);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--copper);
  fill: var(--copper);
}

.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--copper);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -4px;
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--medium-gray);
  margin-top: 2px;
}

/* ============================================
   8. INSIGHTS / BLOG
   ============================================ */
.insights {
  padding: var(--section-padding);
  background: var(--white);
}

.insights-header {
  text-align: center;
  margin-bottom: 60px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.insight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--copper);
}

.insight-image {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.insight-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/rock-texture.png') center/cover no-repeat;
  opacity: 0.15;
}

.insight-image svg {
  width: 48px;
  height: 48px;
  color: var(--copper);
  opacity: 0.6;
  position: relative;
  z-index: 1;
}

.insight-body {
  padding: 28px;
}

.insight-tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(184, 115, 51, 0.1);
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.insight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.insight-card:hover h3 {
  color: var(--copper-dark);
}

.insight-excerpt {
  font-size: 0.92rem;
  color: var(--medium-gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insight-date {
  font-size: 0.8rem;
  color: var(--medium-gray);
}

.insight-link {
  font-size: 0.85rem;
  color: var(--copper);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.insight-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.insight-card:hover .insight-link svg {
  transform: translateX(4px);
}

/* ============================================
   9. LEAD MAGNET
   ============================================ */
.lead-magnet {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.lead-magnet::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/rock-texture.png') center/cover no-repeat;
  opacity: 0.08;
}

.lead-magnet .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
}

.lead-magnet-content {
  flex: 1;
}

.lead-magnet h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
  line-height: 1.35;
}

.lead-magnet p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.lead-magnet-form {
  flex: 0 0 420px;
  display: flex;
  gap: 12px;
}

.lead-magnet-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-base);
}

.lead-magnet-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.lead-magnet-form input:focus {
  outline: none;
  border-color: var(--copper);
  background: rgba(255, 255, 255, 0.12);
}

.lead-magnet-form .btn {
  white-space: nowrap;
}

.lead-magnet-disclaimer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   10. CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-padding);
  background: var(--off-white);
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.contact-info>p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 28px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-detail-item svg {
  width: 22px;
  height: 22px;
  color: var(--copper);
  flex-shrink: 0;
}

.contact-detail-item a,
.contact-detail-item span {
  font-size: 0.95rem;
  color: var(--charcoal);
}

.contact-detail-item a:hover {
  color: var(--copper);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--copper);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.booking-cta {
  padding: 20px 24px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.booking-cta .btn {
  width: fit-content;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: all var(--transition-base);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.contact-abn {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ============================================
   11. FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-site-logo {
  height: 50px;
  width: auto;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social .social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--copper);
  padding-left: 6px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--copper);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item a:hover {
  color: var(--copper);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.footer-legal a:hover {
  color: var(--copper);
}

.footer-abn {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .projects-grid .project-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 0;
    transition: right var(--transition-base);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hamburger {
    display: flex;
  }

  .header-phone,
  .header-cta {
    display: none;
  }

  /* Hero */
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 16px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

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

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid .project-card:last-child {
    max-width: 100%;
  }

  /* Commodities */
  .commodities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Insights */
  .insights-grid {
    grid-template-columns: 1fr;
  }

  /* Lead Magnet */
  .lead-magnet .container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .lead-magnet-form {
    flex: none;
    width: 100%;
    flex-direction: column;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-tile {
    padding: 24px 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .commodities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .contact-form {
    padding: 24px;
  }
}

/* --- Mobile nav overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}