/* =============================================
   CUSTOM PROPERTIES
   ============================================= */
:root {
  --primary: #f5a800;
  --primary-dark: #d48f00;
  --secondary: #1a2533;
  --secondary-light: #253547;
  --light: #f5f5f0;
  --dark: #1a2533;
  --gray: #6c757d;
  --light-gray: #e8e8e0;
}

/* =============================================
   RESET & BASE
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

body {
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

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

/* =============================================
   SKIP LINK (Accessibility)
   ============================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: var(--secondary);
  padding: 10px 20px;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* =============================================
   VISUALLY HIDDEN UTILITY (Accessibility)
   ============================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border-radius: 0;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--primary);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
  border: 2px solid var(--secondary);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
}

.btn-light {
  background-color: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--primary);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}

.btn-light:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

/* =============================================
   SECTION BASE
   ============================================= */
section {
  padding: 80px 0;
}

/* =============================================
   SECTION HEADER (centred variant)
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--dark);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background-color: var(--primary);
}

.section-header p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 800px;
  margin: 10px auto 0;
}

/* Left-aligned modifier */
.section-header--left {
  text-align: left;
  margin-bottom: 40px;
}

.section-header--left h2::after {
  left: 0;
  transform: none;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
header {
  background-color: var(--secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Amber inset left rail */
  box-shadow: inset 6px 0 0 0 var(--primary), 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 0;
  gap: 40px;
}

/* Logo */
.logo-link {
  text-decoration: none;
  display: block;
}

.logo-name {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
  line-height: 1;
}

.logo p:last-child,
.logo > p:not(.logo-name),
.logo-link p:not(.logo-name) {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

/* Nav */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-menu li {
  margin-left: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
  padding: 4px 8px;
}

/* =============================================
   HERO — FULL BLEED, LEFT-ALIGNED, AMBER SLASH
   ============================================= */
.hero {
  position: relative;
  background: linear-gradient(105deg, rgba(26, 37, 51, 0.97) 0%, rgba(26, 37, 51, 0.82) 60%, rgba(26, 37, 51, 0.6) 100%),
    url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center top;
  color: white;
  text-align: left;
  padding: 0;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Transparent amber fill on right */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: var(--primary);
  clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
}

/* Solid amber edge line */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: var(--primary);
  clip-path: polygon(28% 0%, 30% 0%, 2% 100%, 0% 100%);
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 140px 60px;
}

.hero-content {
  max-width: 56%;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: white;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-content > p {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 40px !important;
}

/* =============================================
   ABOUT — STAT STRIP + 60/40 GRID
   ============================================= */
.about {
  padding: 0 0 80px;
  position: relative;
}

/* Amber stat strip — full bleed */
.about-stat-strip {
  background-color: var(--primary);
  margin-bottom: 60px;
  /* Diagonal bottom — left edge full height, right edge at 78% */
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  /* Extra padding-bottom so text clears the diagonal cut */
  padding-bottom: 48px;
}

.stat-strip-inner,
.about-stat-strip__inner {
  display: flex;
  align-items: center;
  padding: 36px 20px 56px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 40px;
}

.stat-num {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--secondary);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(26, 37, 51, 0.65);
  margin-top: 5px;
}

.stat-divider {
  width: 2px;
  height: 56px;
  background-color: rgba(26, 37, 51, 0.18);
  flex-shrink: 0;
}

/* 60/40 layout */
.about-content {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray);
  line-height: 1.8;
}

.about-image img {
  border-radius: 0;
  border-left: 6px solid var(--primary);
  border-bottom: none;
  transform: skewY(-1.5deg);
  box-shadow: -14px 14px 0 var(--secondary);
  width: 100%;
}

/* =============================================
   HOME FEATURED EQUIPMENT — INDUSTRIAL CARDS
   ============================================= */
.featured-equipment {
  background-color: var(--light);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.equipment-card {
  background-color: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid transparent;
  border-bottom: none;
  transition: border-left-color 0.25s ease, box-shadow 0.25s ease;
}

.equipment-card:hover {
  border-left-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
  transform: none;
}

.equipment-image {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.equipment-card:hover .equipment-image img {
  transform: scale(1.06);
}

/* Amber triangle corner accent */
.equipment-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: var(--primary);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.88;
  z-index: 1;
}

.equipment-details {
  padding: 22px 22px 22px 26px;
}

.equipment-details h3 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  margin-bottom: 14px;
}

.equipment-details ul {
  list-style: none;
  margin-bottom: 14px;
}

.equipment-details ul li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--gray);
}

.equipment-details ul li::before {
  content: "//";
  color: var(--primary);
  font-weight: 900;
  font-size: 0.72rem;
  position: absolute;
  left: 0;
  top: 1px;
}

.price {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--primary);
  border-top: 1px solid var(--light-gray);
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.view-all {
  text-align: center;
}

/* =============================================
   HOME SERVICES — STAGGERED OFFSET GRID
   ============================================= */
.services {
  background-color: var(--secondary);
  position: relative;
  padding: 100px 0 120px;
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  margin-top: -40px;
  margin-bottom: -40px;
  z-index: 1;
}

.services .section-header {
  text-align: left;
}

.services .section-header h2 {
  color: white;
}

.services .section-header h2::after {
  left: 0;
  transform: none;
  background-color: var(--primary);
}

.services .section-header p {
  color: rgba(255, 255, 255, 0.55);
  margin-left: 0;
}

/* 2-col stagger grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
  margin-bottom: 40px;
}

/* Offset every 2nd card */
.service-card:nth-child(even) {
  margin-top: 50px;
}

.service-card {
  background-color: transparent;
  border-radius: 0;
  border-left: 5px solid var(--primary);
  border-bottom: none;
  padding: 32px 28px;
  text-align: left;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s ease;
  color: white;
}

.service-card:hover {
  background-color: rgba(245, 168, 0, 0.07);
  transform: none;
  border-bottom-color: transparent;
}

/* Background ghost numeral from data-num */
.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 8px;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(245, 168, 0, 0.07);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  text-align: left;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: white;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.75;
}

/* =============================================
   CTA — DIAGONAL FULL BLEED
   ============================================= */
.cta {
  background: linear-gradient(100deg, rgba(26, 37, 51, 0.97) 55%, rgba(26, 37, 51, 0.82) 100%),
    url("images/cta-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: left;
  border-top: none;
  padding: 120px 0 100px;
  position: relative;
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  margin-top: -41px;
  margin-bottom: -40px;
  z-index: 0;
}

/* Amber slash on right */
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: var(--primary);
  clip-path: polygon(35% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.1;
  pointer-events: none;
}

.cta-content {
  max-width: 55%;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: white;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  max-width: 480px;
}

/* =============================================
   FOOTER — INDUSTRIAL
   ============================================= */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 80px 0 24px;
  border-top: 6px solid var(--primary);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

footer h3 {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 18px;
}

footer p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.8;
}

footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.25s ease;
}

footer a:hover {
  color: var(--primary);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 0;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.social-icons a:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
}

/* =============================================
   PAGE HEADER — CENTRED BASE (kept for fallback)
   ============================================= */
.page-header {
  background: linear-gradient(rgba(26, 37, 51, 0.82), rgba(26, 37, 51, 0.9)),
    url("images/page-header-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  color: white;
  border-bottom: 5px solid var(--primary);
}

/* Base (centred) page header typography — not applied to asymmetric variant */
.page-header:not(.page-header--asymmetric) h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-header:not(.page-header--asymmetric) p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin: 0 auto;
}

/* =============================================
   PAGE HEADER — ASYMMETRIC SIDEBAR (inner pages)
   ============================================= */
.page-header--asymmetric {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
  padding: 0;
  min-height: 240px;
  text-align: left;
  border-bottom: none;
  background: none;
  overflow: hidden;
}

/* Amber left rail */
.page-header__rail {
  background-color: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 36px;
  position: relative;
  /* Diagonal right edge */
  clip-path: polygon(0 0, 100% 0, calc(100% - 32px) 100%, 0 100%);
  z-index: 1;
}

.page-header__rail-icon {
  font-size: 3.5rem;
  color: rgba(26, 37, 51, 0.22);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.page-header__rail-label {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26, 37, 51, 0.58);
}

/* Right content panel — has the dark image background, overlaps the rail by 32px */
.page-header__inner {
  background: linear-gradient(100deg, rgba(26, 37, 51, 0.94) 0%, rgba(26, 37, 51, 0.72) 100%),
    url("images/page-header-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: local;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 60px 60px calc(72px + 32px);
  margin-left: -32px;
  align-self: stretch;
}

.page-header__inner h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: white;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-header__inner p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
}

/* =============================================
   EQUIPMENT PAGE — FILTER BUTTONS
   ============================================= */
.equipment-section {
  padding: 60px 0 80px;
}

.equipment-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 50px;
  padding: 28px 0;
  border-bottom: 1px solid var(--light-gray);
}

.filter-btn {
  padding: 8px 18px;
  background-color: transparent;
  border: 2px solid rgba(26, 37, 51, 0.18);
  border-radius: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

/* =============================================
   EQUIPMENT PAGE — STICKY IMAGE SHEET LAYOUT
   ============================================= */
.equipment-item {
  margin-bottom: 80px;
  border-top: 1px solid var(--light-gray);
  padding-top: 60px;
}

.equipment-item:first-child {
  border-top: none;
  padding-top: 0;
}

/* Two-column sticky layout */
.equip-sheet {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 0 60px;
  align-items: start;
  /* IMPORTANT: no overflow: hidden here — would break sticky */
}

.equip-sheet__image {
  position: sticky;
  top: 90px;
  align-self: start;
}

.equip-sheet__image img {
  width: 100%;
  border-left: 6px solid var(--primary);
  border-radius: 0;
}

.equip-sheet__data {
  padding: 0;
}

.equip-sheet__data h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--primary);
}

.specs,
.pricing {
  margin-bottom: 28px;
}

.equip-sheet__data .specs h3,
.equip-sheet__data .pricing h3 {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 1px solid var(--light-gray);
  display: block;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.equip-sheet__data ul {
  list-style: none;
  margin-bottom: 16px;
}

.equip-sheet__data ul li {
  padding: 7px 0 7px 24px;
  position: relative;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.92rem;
  color: var(--dark);
}

.equip-sheet__data ul li::before {
  content: "//";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
  font-size: 0.72rem;
  top: 9px;
}

.equipment-description {
  margin-bottom: 28px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
}

.terms-note {
  margin-top: 40px;
  padding: 20px 24px;
  background-color: var(--light-gray);
  border-left: 5px solid var(--primary);
  font-style: italic;
  color: var(--gray);
  font-size: 0.9rem;
}

/* =============================================
   SERVICES PAGE — NUMBERED MANIFEST LAYOUT
   ============================================= */
.services-main {
  padding: 60px 0 80px;
}

.svc-entry {
  display: grid;
  grid-template-columns: 120px 340px 1fr;
  gap: 0 40px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}

.svc-entry:first-child {
  padding-top: 40px;
}

.svc-entry:last-child {
  border-bottom: none;
}

/* Giant ordinal numeral */
.svc-entry__num {
  font-size: clamp(5rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  opacity: 0.18;
  letter-spacing: -0.06em;
  text-align: right;
  padding-top: 6px;
  align-self: start;
  user-select: none;
}

/* Fixed image column — sticky */
.svc-entry__image {
  align-self: start;
  position: sticky;
  top: 90px;
}

.svc-entry__image img {
  width: 100%;
  display: block;
  border-bottom: 5px solid var(--primary);
  border-radius: 0;
}

/* Content column */
.svc-entry__content {
  padding-left: 24px;
  border-left: 3px solid var(--light-gray);
}

.svc-entry__content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-entry__content h2 i {
  color: var(--primary);
  font-size: 1.3rem;
}

.svc-entry__content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.78;
  margin-bottom: 14px;
}

.svc-entry__content h3 {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 24px 0 10px;
}

.svc-entry__content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.svc-entry__content ul li {
  padding: 7px 0 7px 24px;
  position: relative;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.92rem;
  color: var(--dark);
}

.svc-entry__content ul li::before {
  content: "//";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
  font-size: 0.72rem;
  top: 9px;
}

/* =============================================
   CONTACT PAGE — FULL-HEIGHT DARK INFO PANEL
   ============================================= */
.contact-section {
  padding: 0;
  /* Contact grid fills its own height — no top padding needed as grid stretches */
}

.contact-grid {
  display: grid;
  /* Info panel fixed width, form panel fills remainder up to max page width */
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 640px;
  /* Max-width with auto margin to centre, then bleed to edges below */
  width: 100%;
}

.contact-info-container {
  background-color: var(--secondary);
  border-radius: 0;
  box-shadow: none;
  padding: 60px 40px;
  color: white;
  align-self: stretch;
  border-right: 4px solid var(--primary);
}

.contact-info-container h2 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 36px;
}

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

.contact-icon {
  background-color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 6px;
}

.contact-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.contact-text a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s;
}

.contact-text a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-form-container {
  background-color: var(--light);
  border-radius: 0;
  box-shadow: none;
  padding: 60px 8% 60px 60px;
  border-top: 6px solid var(--primary);
  align-self: stretch;
}

.contact-form-container h2 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--secondary);
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 14px;
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--secondary);
}

/* Underline-only fields — industrial data-entry style */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 2px;
  border: none;
  border-bottom: 2px solid var(--light-gray);
  border-radius: 0;
  font-size: 0.95rem;
  background-color: transparent;
  transition: border-color 0.25s ease;
  color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: none;
  background-color: transparent;
}

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

.form-required {
  color: var(--primary);
  margin-left: 3px;
}

.submit-btn {
  background-color: var(--primary);
  color: var(--secondary);
  border: none;
  padding: 16px 48px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 14px 100%);
  transition: background-color 0.25s ease;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: none;
}

/* Form messages */
.form-success {
  text-align: center;
  padding: 30px;
  background-color: #f0fff0;
  border-left: 5px solid #28a745;
}

.form-success i {
  font-size: 2.5rem;
  color: #28a745;
  margin-bottom: 14px;
}

.form-success h3 {
  margin-bottom: 10px;
  color: #28a745;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-error {
  text-align: center;
  padding: 15px;
  margin-bottom: 20px;
  background-color: #fff0f0;
  border-left: 5px solid #dc3545;
}

.form-error i {
  font-size: 1.4rem;
  color: #dc3545;
  margin-bottom: 8px;
}

/* =============================================
   MAP SECTION
   ============================================= */
.map-section {
  padding-top: 0;
  background-color: var(--light-gray);
}

.map-section h2 {
  text-align: center;
  padding-top: 60px;
  margin-bottom: 30px;
  color: var(--secondary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.map-container {
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-decoration: none;
  padding-bottom: 40px;
}

.map-directions-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* =============================================
   FOCUS-VISIBLE (Keyboard Navigation)
   ============================================= */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================
   HIGH CONTRAST
   ============================================= */
@media (prefers-contrast: more) {
  :root {
    --primary: #ffaa00;
    --secondary: #000000;
    --light: #ffffff;
    --dark: #000000;
  }

  .equipment-card,
  .service-card,
  .equip-sheet,
  .contact-info-container,
  .contact-form-container {
    border: 2px solid currentColor;
  }
}

/* =============================================
   RESPONSIVE — 992px (Tablet)
   ============================================= */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image img {
    transform: none;
    box-shadow: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 100%;
  }

  .contact-info-container {
    border-right: none;
    border-bottom: 4px solid var(--primary);
    padding: 40px 30px;
  }

  .svc-entry {
    grid-template-columns: 80px minmax(220px, 300px) 1fr;
    gap: 0 24px;
  }
}

/* =============================================
   RESPONSIVE — 768px (Mobile)
   ============================================= */
@media (max-width: 768px) {
  /* Mobile menu */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--secondary);
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    transition: left 0.3s ease;
    z-index: 999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
    width: 80%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1000;
  }

  .header-content {
    padding: 12px 0;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero-inner {
    padding: 100px 20px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  /* About stat strip */
  .about-stat-strip {
    clip-path: none;
    padding-bottom: 16px;
  }

  .stat-strip-inner,
  .about-stat-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 0;
  }

  /* Home services */
  .services {
    clip-path: none;
    margin-top: 0;
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .service-card:nth-child(even) {
    margin-top: 0;
  }

  .service-card {
    border-left: 4px solid var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 20px;
  }

  /* CTA */
  .cta {
    clip-path: none;
    margin-bottom: 0;
    text-align: left;
    padding: 60px 0;
  }

  .cta-content {
    max-width: 100%;
  }

  .cta::after {
    display: none;
  }

  /* Page header asymmetric */
  .page-header--asymmetric {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-header__rail {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
    padding: 24px 20px 40px;
    flex-direction: row;
    gap: 14px;
    align-items: center;
    min-height: auto;
  }

  .page-header__rail-icon {
    font-size: 2rem;
    margin-bottom: 0;
  }

  .page-header__content {
    min-height: 160px;
  }

  .page-header__inner {
    padding: 36px 20px;
    margin-left: 0;
  }

  .page-header__inner h1 {
    font-size: 1.8rem;
  }

  /* Equipment page */
  .equip-sheet {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .equip-sheet__image {
    position: static;
    margin-bottom: 24px;
  }

  .equipment-item {
    margin-bottom: 50px;
    padding-top: 40px;
  }

  .equipment-filters {
    justify-content: center;
  }

  .filter-btn {
    clip-path: none;
    font-size: 0.7rem;
  }

  /* Services page */
  .svc-entry {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 14px 16px;
    padding: 40px 0;
  }

  .svc-entry__num {
    font-size: 3rem;
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    align-self: center;
    opacity: 0.25;
  }

  .svc-entry__image {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .svc-entry__content {
    grid-column: 1 / -1;
    grid-row: 3;
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--light-gray);
    padding-top: 20px;
  }

  /* Contact */
  .contact-form-container {
    padding: 40px 24px 40px 24px;
  }

  .submit-btn {
    clip-path: none;
    width: 100%;
    padding: 16px;
  }

  /* Equipment grid (home) */
  .equipment-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   RESPONSIVE — 576px (Small mobile)
   ============================================= */
@media (max-width: 576px) {
  section {
    padding: 50px 0;
  }

  .btn {
    clip-path: none;
    padding: 12px 24px;
    font-size: 0.82rem;
    width: 100%;
    margin-bottom: 10px;
    display: block;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .contact-info-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
