/* ===================================================
   MINERAL CRUSHING SERVICES WA — Main Stylesheet
   Primary: #18468A | Accent: #F5A623
   =================================================== */

:root {
  --blue:      #18468A;
  --blue-dark: #102f5e;
  --blue-mid:  #1e5aa8;
  --blue-light:#dce8f7;
  --gold:      #F5A623;
  --gold-dark: #d4891a;
  --white:     #ffffff;
  --off-white: #f7f9fc;
  --light-grey:#eef1f6;
  --mid-grey:  #8a96a8;
  --dark:      #1a2030;
  --text:      #2c3344;
  --text-light:#5a6476;
  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 2px 16px rgba(24,70,138,0.10);
  --shadow-lg: 0 8px 40px rgba(24,70,138,0.15);
  --transition:0.25s ease;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --max-w:     1200px;
  --header-h:  76px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-mid); }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.section-title span {
  color: var(--blue);
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--off-white);
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(24,70,138,0.1);
  transition: box-shadow var(--transition);
  height: var(--header-h);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(24,70,138,0.12);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  background: var(--blue-light);
}

.main-nav .nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius);
  margin-left: 8px;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.active {
  background: var(--blue-mid);
  color: var(--white);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE OFFSET ── */
main { padding-top: var(--header-h); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero .breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumb a:hover {
  color: var(--white);
}

/* ── HOME HERO ── */
.home-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--blue-dark);
}

.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16,47,94,0.88) 0%, rgba(24,70,138,0.55) 60%, transparent 100%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.home-hero-content .label {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.home-hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.home-hero-content p {
  color: rgba(255,255,255,0.88);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}

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

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--blue);
  padding: 0;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-head);
}

/* ── HOME SERVICES GRID ── */
.services-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  color: var(--blue);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.service-card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-link {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.card-link:hover svg { transform: translateX(3px); }

/* ── SERVICES LIST SECTION ── */
.services-list-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 64px 0;
}

.services-list-section .section-label { color: var(--gold); }
.services-list-section h2 { color: var(--white); }

.services-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.services-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.services-chip svg {
  width: 14px; height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--off-white);
  border-top: 3px solid var(--blue);
  padding: 56px 0;
  text-align: center;
}

.cta-strip h2 { color: var(--blue); margin-bottom: 1rem; }
.cta-strip p  { color: var(--text-light); font-size: 1.1rem; max-width: 540px; margin: 0 auto 2rem; }

/* ── ABOUT PAGE ── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.about-body .section-label { margin-bottom: 0.5rem; }

.check-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.check-list li svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.director-card {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 36px;
  border-left: 4px solid var(--blue);
}

.director-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  border: 3px solid var(--blue);
}

.director-info h4 { color: var(--blue); margin-bottom: 4px; }
.director-info .role { font-size: 0.85rem; color: var(--mid-grey); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-head); }
.director-info p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--text-light); margin-bottom: 0; }

.safety-section {
  background: var(--blue);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.safety-grid img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.safety-content { color: rgba(255,255,255,0.9); }
.safety-content .section-label { color: var(--gold); }
.safety-content h2 { color: var(--white); }
.safety-content p  { color: rgba(255,255,255,0.85); }

.safety-content .check-list li { color: rgba(255,255,255,0.9); }
.safety-content .check-list li svg { color: var(--gold); }

/* ── FLEET PAGE ── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.fleet-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
  transition: box-shadow var(--transition);
}

.fleet-card:hover { box-shadow: var(--shadow-lg); }

.fleet-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.fleet-card-body {
  padding: 24px;
}

.fleet-card-body h3 {
  color: var(--blue);
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--light-grey);
  padding-bottom: 0.75rem;
}

.fleet-card-body p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 0; }

/* ── SERVICES PAGE ── */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
  position: relative;
}

.service-detail-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.svc-opp-cap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.opp-cap-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}

.opp-cap-box.gold-top { border-top-color: var(--gold); }

.opp-cap-box h3 {
  color: var(--blue);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.opp-cap-box h3 svg { width: 22px; height: 22px; color: var(--gold); }

.dot-list { display: flex; flex-direction: column; gap: 10px; }
.dot-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.dot-list li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── PROJECT HISTORY ── */
.history-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.history-table thead th {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
}

.history-table tbody tr {
  border-bottom: 1px solid var(--light-grey);
  transition: background var(--transition);
}

.history-table tbody tr:last-child { border-bottom: none; }
.history-table tbody tr:hover { background: var(--blue-light); }

.history-table tbody td {
  padding: 14px 20px;
  font-size: 0.95rem;
  color: var(--text);
}

.history-table tbody td:first-child {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue);
}

.history-table tbody td.tonnes {
  font-weight: 600;
  color: var(--dark);
}

/* ── QUARRY PAGE ── */
.quarry-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.quarry-products {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

.quarry-products h3 {
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--light-grey);
}

.product-list li:last-child { border-bottom: none; }

.product-list li svg {
  width: 16px; height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.quarry-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.quarry-gallery img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition);
}

.quarry-gallery img:hover { transform: scale(1.02); }

.quarry-contact-box {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  margin-top: 48px;
}

.quarry-contact-box h3 { color: var(--white); margin-bottom: 1.25rem; }

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-detail-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}

.contact-detail-list li svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail-list a {
  color: rgba(255,255,255,0.9);
}

.contact-detail-list a:hover { color: var(--white); }

/* ── SALE ITEMS ── */
.sale-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
  margin-bottom: 48px;
}

.sale-item-header {
  background: var(--blue);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sale-item-header h2 {
  color: var(--white);
  font-size: 1.4rem;
  margin: 0;
}

.sale-badge {
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
}

.sale-item-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.sale-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  background: var(--light-grey);
}

.sale-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: pointer;
  transition: opacity var(--transition);
}

.sale-gallery img:hover { opacity: 0.85; }

.sale-specs {
  padding: 28px;
}

.sale-specs h4 {
  color: var(--blue);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-family: var(--font-head);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--light-grey);
}

.spec-list li:last-child { border-bottom: none; }

.spec-list li svg {
  width: 14px; height: 14px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info-box {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}

.contact-info-box h3 { color: var(--white); margin-bottom: 1.5rem; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item svg {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item h4 {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-family: var(--font-head);
}

.contact-info-item p,
.contact-info-item a {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-info-item a:hover { color: var(--gold); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
}

.contact-form-wrap h3 { color: var(--blue); margin-bottom: 1.5rem; }

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

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

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24,70,138,0.1);
  background: var(--white);
}

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

.form-submit {
  margin-top: 8px;
}

.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 0.95rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding-top: 64px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  max-width: 300px;
  margin: 0;
}

.footer-nav h4,
.footer-contact h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact address { font-style: normal; }

.footer-contact p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-contact a {
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

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

.footer-contact svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

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

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

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-intro-grid { grid-template-columns: 1fr 1fr; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .svc-opp-cap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 16px 0;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .main-nav.open { transform: translateY(0); }

  .main-nav ul { flex-direction: column; gap: 0; }

  .main-nav a {
    display: block;
    padding: 12px 24px;
    border-radius: 0;
    font-size: 0.9rem;
  }

  .main-nav .nav-cta { margin: 8px 24px 4px; border-radius: var(--radius); }

  .hamburger { display: flex; }

  .section { padding: 56px 0; }

  .home-hero { min-height: 520px; }

  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.15); }

  .services-intro-grid { grid-template-columns: 1fr; }

  .about-intro-grid,
  .safety-grid,
  .quarry-intro,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .fleet-grid { grid-template-columns: 1fr; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .svc-opp-cap { grid-template-columns: 1fr; }

  .sale-item-body { grid-template-columns: 1fr; }
  .sale-gallery { grid-template-columns: repeat(2, 1fr); }

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

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

  .history-table-wrap { font-size: 0.85rem; }

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

@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
