/* ==========================================================================
   PAYLOADER EARTHWORKS & OUTDOOR LIVING — DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg-main: #0a0f0c;
  --bg-surface: #101813;
  --bg-elevated: #16221b;
  --bg-card: #19271e;
  --bg-card-hover: #1f3025;
  --bg-overlay: rgba(8, 12, 9, 0.82);

  --text-primary: #f5f0ea;
  --text-secondary: #c9c1b5;
  --text-muted: #8e887d;
  --text-dim: #5c5850;

  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-glow: rgba(52, 211, 153, 0.24);

  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --terracotta: #c67d3e;
  --terracotta-light: #df985b;

  --stone-100: #f5ede1;
  --stone-200: #e2d5c3;
  --stone-700: #2d382f;
  --stone-800: #1f2720;

  --line: rgba(245, 240, 234, 0.09);
  --line-strong: rgba(245, 240, 234, 0.2);
  --line-accent: rgba(52, 211, 153, 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'DM Mono', SFMono-Regular, Consolas, monospace;
  --font-display: 'Outfit', var(--font-sans);

  --shell: min(1280px, calc(100vw - 48px));
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: clip;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--emerald-500);
  color: #061109;
}

:focus-visible {
  outline: 2px solid var(--emerald-400);
  outline-offset: 3px;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--emerald-400);
  color: #081109;
  padding: 12px 20px;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}
.skip-link:focus {
  top: 14px;
}

/* --------------------------------------------------------------------------
   PAYLOADER TECH DEMO NOTICE BANNER
   -------------------------------------------------------------------------- */
.demo-notice {
  background: #080d09;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 24px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.demo-notice-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-notice-tag i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-400);
}

.demo-notice p {
  margin: 0;
  color: var(--text-muted);
}

.demo-notice a {
  color: var(--stone-200);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
  white-space: nowrap;
}

.demo-notice a:hover {
  color: var(--emerald-300);
}

/* --------------------------------------------------------------------------
   SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 15, 12, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition), border-color var(--transition);
}

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

/* Brand Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #18261e 0%, #0d1510 100%);
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-sm);
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.brand:hover .brand-emblem {
  transform: scale(1.05);
  border-color: var(--emerald-400);
}

.brand-emblem svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand-title span {
  color: var(--emerald-400);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--terracotta-light);
  text-transform: uppercase;
}

/* Navigation Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.desktop-nav a:hover {
  color: var(--text-primary);
}

.desktop-nav a.active {
  color: var(--emerald-400);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-500);
  color: #05150a;
  box-shadow: 0 4px 18px var(--emerald-glow);
}

.btn-primary:hover {
  background: var(--emerald-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(52, 211, 153, 0.35);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--terracotta);
  color: #ffffff;
}

.btn-amber:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 12.5px;
}

.btn-full {
  width: 100%;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 86vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--line-strong);
  z-index: 100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.mobile-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.mobile-menu-nav a {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

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

.mobile-menu-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 12, 0.85) 0%, rgba(10, 15, 12, 0.6) 45%, rgba(10, 15, 12, 0.95) 100%),
              radial-gradient(ellipse at 80% 30%, rgba(52, 211, 153, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 12px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Kicker & Atmosphere Switcher */
.hero-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.season-selector {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 24, 19, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
  padding: 4px;
}

.season-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.season-btn.active {
  background: var(--emerald-500);
  color: #06150a;
  font-weight: 700;
}

.soil-condition-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--stone-200);
  background: rgba(22, 34, 27, 0.7);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.soil-condition-badge i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-title em {
  font-style: normal;
  color: var(--emerald-400);
  display: block;
}

.hero-lede {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 12px;
}

.hero-stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.hero-stat-item small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--terracotta-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Quick Card */
.hero-quick-card {
  background: rgba(18, 28, 22, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.hero-quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald-400), var(--terracotta));
}

.quick-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.quick-card-head h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.quick-card-head p {
  font-size: 13px;
  color: var(--text-muted);
}

.card-badge {
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid var(--emerald-500);
  color: var(--emerald-400);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.quick-step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.quick-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.quick-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  color: var(--emerald-400);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   SECTION HEADERS
   -------------------------------------------------------------------------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 12px;
}

.section-heading {
  margin-bottom: 48px;
  max-width: 720px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--emerald-400);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--emerald-400);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: 14px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   INTERACTIVE BEFORE & AFTER TRANSFORMATION
   -------------------------------------------------------------------------- */
.transformation-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-select: none;
}

.slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-img-after {
  z-index: 1;
}

.slider-img-before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
  will-change: width;
}

.slider-img-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  min-width: 100%;
  object-fit: cover;
  object-position: left;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--emerald-400);
  z-index: 5;
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0d1510;
  border: 2px solid var(--emerald-400);
  color: var(--emerald-400);
  display: grid;
  place-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.7);
  font-size: 16px;
  font-weight: 800;
}

.slider-badge {
  position: absolute;
  top: 24px;
  z-index: 6;
  background: rgba(10, 15, 12, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.slider-badge-before {
  left: 24px;
  color: #f87171;
}

.slider-badge-after {
  right: 24px;
  color: var(--emerald-400);
}

/* Transformation Highlights Grid */
.transformation-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.trans-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius-md);
}

.trans-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trans-card h4 span {
  color: var(--emerald-400);
  font-family: var(--font-mono);
  font-size: 13px;
}

.trans-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   INTERACTIVE COST & MATERIALS ESTIMATOR
   -------------------------------------------------------------------------- */
.estimator-section {
  background: var(--bg-main);
  position: relative;
}

.estimator-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.estimator-controls {
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.control-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.control-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--emerald-400);
}

/* Range Slider */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  outline: none;
  cursor: pointer;
  border: 1px solid var(--line);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-400);
  border: 3px solid #0a110b;
  cursor: pointer;
  box-shadow: 0 0 10px var(--emerald-400);
  transition: transform var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Scope Selector Cards */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.scope-option {
  position: relative;
  cursor: pointer;
}

.scope-option input {
  position: absolute;
  opacity: 0;
}

.scope-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--transition);
}

.scope-card strong {
  font-size: 14.5px;
  color: var(--text-primary);
}

.scope-card small {
  font-size: 12px;
  color: var(--text-muted);
}

.scope-option input:checked + .scope-card {
  border-color: var(--emerald-400);
  background: rgba(52, 211, 153, 0.08);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.15);
}

/* Material Tiers */
.tier-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tier-pill {
  cursor: pointer;
}

.tier-pill input {
  position: absolute;
  opacity: 0;
}

.tier-box {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all var(--transition);
}

.tier-box strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-primary);
}

.tier-box span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--terracotta-light);
}

.tier-pill input:checked + .tier-box {
  border-color: var(--emerald-400);
  background: rgba(52, 211, 153, 0.1);
}

/* Add-on Chips */
.addon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.addon-chip {
  cursor: pointer;
}

.addon-chip input {
  position: absolute;
  opacity: 0;
}

.addon-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.addon-chip input:checked + .addon-label {
  border-color: var(--emerald-400);
  background: rgba(52, 211, 153, 0.15);
  color: var(--emerald-300);
  font-weight: 600;
}

/* Estimator Live Receipt */
.estimator-receipt {
  position: sticky;
  top: 110px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.receipt-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.receipt-header span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--emerald-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-top: 4px;
}

.receipt-price-box {
  background: var(--bg-card);
  border: 1px solid var(--line-accent);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  text-align: center;
}

.receipt-price-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.receipt-price-total {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--emerald-400);
  margin: 6px 0;
  letter-spacing: -0.02em;
}

.receipt-price-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.breakdown-row span {
  color: var(--text-secondary);
}

.breakdown-row strong {
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.receipt-guarantees {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.receipt-guarantees div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.receipt-guarantees i {
  color: var(--emerald-400);
  font-style: normal;
}

/* --------------------------------------------------------------------------
   SERVICES & FLEET
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-accent);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--emerald-400);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-specs {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--stone-200);
}

/* Fleet Showcase Banner */
.fleet-banner {
  margin-top: 64px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
}

.fleet-img-wrap {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fleet-copy h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.fleet-copy p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.fleet-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.fleet-feat-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--emerald-300);
}

.fleet-feat-item small {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   PORTFOLIO / CASE STUDIES
   -------------------------------------------------------------------------- */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--emerald-500);
  border-color: var(--emerald-500);
  color: #06150a;
  font-weight: 700;
}

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

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-accent);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 15, 12, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald-400);
  text-transform: uppercase;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.project-body h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.project-body p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.project-stats {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.project-stats span b {
  color: var(--stone-200);
}

/* --------------------------------------------------------------------------
   REVIEWS & TESTIMONIALS
   -------------------------------------------------------------------------- */
.reviews-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews-header-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.rating-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 18px;
}

.rating-big-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--amber-400);
  line-height: 1;
}

.rating-stars-group {
  display: flex;
  flex-direction: column;
}

.rating-stars {
  color: var(--amber-400);
  font-size: 16px;
  letter-spacing: 2px;
}

.rating-stars-group small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.reviewer-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.review-scope {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--terracotta-light);
}

.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.review-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.review-verified {
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Add Review Form Box */
.add-review-box {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.add-review-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.add-review-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review-form-grid input,
.review-form-grid select,
.review-form-grid textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
}

.review-form-grid textarea {
  grid-column: span 2;
  min-height: 90px;
  resize: vertical;
}

.review-form-grid button {
  grid-column: span 2;
}

/* --------------------------------------------------------------------------
   CAREERS & RECRUITING
   -------------------------------------------------------------------------- */
.careers-section {
  background: var(--bg-main);
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.careers-intro h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 16px;
}

.careers-intro p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

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

.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color var(--transition);
}

.job-card:hover {
  border-color: var(--line-accent);
}

.job-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.job-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.job-tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.job-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-card);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--stone-200);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #060a08;
  border-top: 1px solid var(--line);
  padding: 70px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald-400);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-muted);
}

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

/* --------------------------------------------------------------------------
   MODALS & DRAWERS (ACCESSIBLE DESIGN)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 6, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: min(640px, 100%);
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: grid;
  place-content: center;
  font-size: 20px;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.modal-close:hover {
  color: var(--text-primary);
  border-color: var(--emerald-400);
  transform: rotate(90deg);
}

.modal-head {
  margin-bottom: 24px;
}

.modal-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-head p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Consultation Form Steps */
.step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.step-dot {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--line-strong);
  transition: background var(--transition);
}

.step-dot.active {
  background: var(--emerald-400);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--emerald-400);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.2);
}

/* Ticket Confirmation Card */
.ticket-card {
  background: var(--bg-card);
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 20px 0;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.ticket-header strong {
  font-family: var(--font-mono);
  color: var(--emerald-400);
  font-size: 15px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.ticket-row span {
  color: var(--text-muted);
}

.ticket-row b {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   CREW DISPATCH CONSOLE (TEST / ADMIN)
   -------------------------------------------------------------------------- */
.dispatch-modal-card {
  width: min(840px, 100%);
}

.dispatch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.dispatch-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: var(--radius-md);
}

.dispatch-panel h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-list-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 12.5px;
}

.ticket-list-item strong {
  font-family: var(--font-mono);
  color: var(--emerald-400);
}

/* --------------------------------------------------------------------------
   PAYLOADER EARTHMOVER MINI-GAME
   -------------------------------------------------------------------------- */
.game-modal-card {
  width: min(520px, 100%);
  text-align: center;
}

.game-hud {
  display: flex;
  justify-content: space-around;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.game-hud span b {
  color: var(--emerald-400);
}

#gameCanvas {
  background: #141c16;
  border: 2px solid var(--line-accent);
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.game-touch-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.game-touch-btn {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  color: var(--text-primary);
}

.game-result-box {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--emerald-500);
  border-radius: var(--radius-sm);
  display: none;
}

.game-result-box.show {
  display: block;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-surface);
  border: 1px solid var(--emerald-500);
  color: var(--text-primary);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  font-size: 14px;
  font-weight: 600;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .estimator-layout {
    grid-template-columns: 1fr;
  }
  .estimator-receipt {
    position: static;
  }
  .services-grid,
  .portfolio-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fleet-banner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .services-grid,
  .portfolio-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .transformation-meta {
    grid-template-columns: 1fr;
  }
  .careers-grid {
    grid-template-columns: 1fr;
  }
  .scope-grid {
    grid-template-columns: 1fr;
  }
  .tier-pills {
    grid-template-columns: 1fr;
  }
  .reviews-header-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .review-form-grid {
    grid-template-columns: 1fr;
  }
  .review-form-grid textarea,
  .review-form-grid button {
    grid-column: span 1;
  }
  .dispatch-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .demo-notice {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}
