@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');
:root {
  --bg-page: #0a0a0a;
  --bg-section: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --bg-elevated: #1a1a1a;
  --accent: #e8572a;
  --accent-light: #ff6e40;
  --accent-glow: rgba(232, 87, 42, 0.25);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.2);
  --blue: #3b82f6;
  --text-white: #fafafa;
  --text-primary: #e0e0e0;
  --text-secondary: #888888;
  --text-muted: #555555;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.25s var(--ease);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  background-color: #08090d;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(18,20,28,0.25) 0%, rgba(8,9,13,0.7) 100%),
    url("../img/brick-wall-bg.svg");
  background-repeat: repeat;
  background-size: auto, 180px 64px;
}
main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
img {
  -webkit-user-drag: none;
  user-select: none;
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav-bar.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-white);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.06);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--text-white); }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }
.btn-icon { padding: 12px; }
.hero-split {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
  background: #090a0d;
}
.hero-brick-bg {
  position: absolute;
  inset: 0;
  background-color: #08090d;
  background-image: 
    radial-gradient(ellipse at 46% 38%, rgba(14,16,22,0.3) 0%, rgba(8,9,13,0.85) 100%),
    url("../img/brick-wall-bg.svg");
  background-repeat: repeat;
  background-size: auto, 180px 64px;
  pointer-events: none;
}
.hero-split-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-split-title {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 20px;
}
.title-highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-split-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-split-desc strong {
  color: var(--text-white);
}
.hero-spec-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-spec-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 6px;
  background: linear-gradient(175deg, #8a341a 0%, #5d200e 65%, #3d1308 100%);
  border: 1px solid rgba(255, 130, 80, 0.35);
  border-top: 2px solid rgba(255, 215, 175, 0.8);
  border-left: 1px solid rgba(255, 160, 110, 0.35);
  border-right: 1px solid rgba(20, 5, 0, 0.7);
  border-bottom: 3px solid rgba(10, 3, 2, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 200, 160, 0.25);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.hero-spec-item:nth-child(1) {
  background: linear-gradient(175deg, #8a341a 0%, #5d200e 65%, #3d1308 100%);
}
.hero-spec-item:nth-child(2) {
  margin-left: 24px;
  background: linear-gradient(175deg, #94391c 0%, #63220f 65%, #421509 100%);
}
.hero-spec-item:nth-child(3) {
  background: linear-gradient(175deg, #843118 0%, #561d0d 65%, #381107 100%);
}
.hero-spec-item:hover {
  transform: translateY(-2px);
  border-top-color: rgba(255, 235, 205, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(232, 87, 42, 0.35);
}
.spec-bullet {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #ff9d6c;
  background: #200804;
  border: 1px solid rgba(255, 140, 80, 0.55);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 200, 160, 0.15);
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.spec-info {
  flex: 1;
}
.spec-info strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.spec-info span {
  display: block;
  font-size: 0.82rem;
  color: #f2d2c6;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.brick-holes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
  padding-left: 10px;
  flex-shrink: 0;
}
.brick-holes span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #140402;
  border: 1px solid rgba(255, 130, 80, 0.35);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.95), 0 1px 0 rgba(255, 200, 160, 0.2);
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-action-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-action-reset:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}
.hero-col-right {
  width: 100%;
}
.crane-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.crane-stage {
  position: relative;
  width: 100%;
  height: 480px;
  background: radial-gradient(circle at 65% 35%, #181b24 0%, #0b0c10 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.85), 0 20px 40px rgba(0,0,0,0.5);
}
.stage-shake {
  animation: stage-rumble 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes stage-rumble {
  10%, 90% { transform: translate3d(-3px, 2px, 0); }
  20%, 80% { transform: translate3d(4px, -2px, 0); }
  30%, 50%, 70% { transform: translate3d(-5px, 4px, 0); }
  40%, 60% { transform: translate3d(5px, -3px, 0); }
}
.dust-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 18;
}
.crane-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 10;
}
#svg-cable-group {
  pointer-events: auto;
  cursor: pointer;
}
.shockwave-active {
  animation: shockwave-expand 0.3s ease-out forwards;
}
@keyframes shockwave-expand {
  0% { r: 6px; stroke-width: 4.5px; opacity: 1; stroke: #ffffff; }
  50% { stroke: #ff8c00; }
  100% { r: 70px; stroke-width: 1px; opacity: 0; stroke: #e8572a; }
}
.beacon-pulse {
  animation: beacon-blink 0.8s infinite;
}
@keyframes beacon-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.floor-bg, .floor-win, .floor-txt {
  transition: all 0.3s ease;
}
@media (max-width: 1024px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 20px;
  }
  .hero-spec-item:nth-child(2) {
    margin-left: 0;
  }
  .hero-col-left {
    align-items: flex-start;
  }
  .crane-stage {
    height: 440px;
  }
}
@media (max-width: 640px) {
  .hero-spec-item:nth-child(2) {
    margin-left: 0;
  }
  .hero-split-title {
    font-size: 2.2rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group a,
  .hero-cta-group button {
    justify-content: center;
  }
  .crane-stage {
    height: 400px;
  }
}
.section {
  padding: 100px 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}
.section--dark {
  background: var(--bg-section);
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 600px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}
/* ==========================================================================
   SERVICES SHOWCASE: SMOOTH ROUNDED SLIDER & CLEAN REGISTRY
   ========================================================================== */
.services-showcase {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 20px;
  align-items: stretch;
}

.services-registry-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0d0f14;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
  justify-content: center;
}

.registry-nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 18px;
  padding: 20px 22px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.35, 1);
  outline: none;
  color: inherit;
  font-family: inherit;
  position: relative;
}

.registry-nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.registry-nav-item.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 87, 42, 0.35);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.registry-nav-item:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
}

.registry-item-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(232, 87, 42, 0.1);
  border: 1px solid rgba(232, 87, 42, 0.22);
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.registry-nav-item.active .registry-item-badge {
  background: rgba(232, 87, 42, 0.18);
  border-color: rgba(232, 87, 42, 0.4);
}

.registry-item-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.registry-item-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Viewport & Sliding Track */
.services-viewport {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 550px;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

.services-slider-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.35, 1);
  will-change: transform;
}

.services-slide {
  flex: 0 0 25%;
  width: 25%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.services-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) contrast(1.04);
}

.services-slide-hud {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 5;
  padding: 22px 26px;
  border-radius: 20px;
  background: rgba(12, 14, 18, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.services-slide-hud .hud-main {
  flex: 1;
  min-width: 240px;
}

.services-slide-hud .hud-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.services-slide-hud .hud-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.services-slide-hud .btn-sm {
  border-radius: 30px;
  padding: 11px 24px;
  font-size: 0.86rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.approach-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: visible;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.approach-card:hover {
  border-color: rgba(232, 87, 42, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -10px rgba(232, 87, 42, 0.2);
}
.approach-card > * {
  position: relative;
  z-index: 1;
}
.approach-laser-canvas {
  position: absolute;
  top: -16px;
  left: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  pointer-events: none;
  z-index: 2;
}
.approach-number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.approach-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.approach-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.materials-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: stretch;
}
.mat-tabs-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mat-tab {
  text-align: left;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.mat-tab:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}
.mat-tab.active {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.mat-tab-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 2px;
}
.mat-tab-info {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.mat-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
}
.mat-detail-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  align-items: stretch;
  height: 100%;
}
.mat-info-pane {
  display: flex;
  flex-direction: column;
}
.mat-detail-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.mat-info-pane h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.mat-info-pane p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}
.mat-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.mat-specs li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.mat-specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.mat-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 18px;
}
.mat-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.mat-detail-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* CAD Blueprint Viewer */
.mat-cad-pane {
  background: #090b0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}
.mat-cad-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(18, 22, 30, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.cad-hud-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent);
}
.cad-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.cad-hud-center {
  color: var(--text-secondary);
}
.cad-hud-right {
  color: #38bdf8;
  font-weight: 600;
}
.mat-cad-canvas-box {
  flex: 1;
  position: relative;
  min-height: 270px;
  cursor: crosshair;
  background-color: #07090d;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  overflow: hidden;
}
.mat-cad-svg-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.cad-blueprint-svg {
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cad-blueprint-svg.active {
  display: block;
  opacity: 1;
}
.mat-cad-hud-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  background: rgba(18, 22, 30, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}
.cad-standard {
  letter-spacing: 0.04em;
}
.cad-coords {
  color: var(--text-secondary);
}
.cad-crosshair-h,
.cad-crosshair-v {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.cad-crosshair-h {
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(232, 87, 42, 0.4);
}
.cad-crosshair-v {
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(232, 87, 42, 0.4);
}
.mat-cad-canvas-box:hover .cad-crosshair-h,
.mat-cad-canvas-box:hover .cad-crosshair-v {
  opacity: 1;
}

@media (max-width: 1024px) {
  .materials-showcase {
    grid-template-columns: 1fr;
  }
  .mat-tabs-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .materials-showcase {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .mat-detail {
    padding: 18px 14px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .mat-detail-content {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 20px;
  }
  .mat-info-pane {
    min-width: 0;
  }
  .mat-cad-pane {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .mat-cad-hud-top,
  .mat-cad-hud-bottom {
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 0.64rem;
    padding: 6px 10px;
  }
  .mat-tabs-col {
    grid-template-columns: 1fr;
  }
  .mat-cad-canvas-box {
    min-height: 220px;
  }
}
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}
.calc-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calc-group-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 12px;
}
.calc-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.calc-area-val {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}
.calc-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.type-btn {
  text-align: left;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.type-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-hover);
}
.type-btn.active {
  background: var(--accent-glow);
  border-color: var(--accent);
}
.type-btn-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 2px;
}
.type-btn-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: transform 0.15s ease;
}
.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.calc-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}
.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.calc-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tier-btn {
  text-align: center;
  padding: 16px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.tier-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-hover);
}
.tier-btn.active {
  background: var(--accent-glow);
  border-color: var(--accent);
}
.tier-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}
.tier-price {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.tier-price-hint { display: none; }
.calc-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.calc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.calc-check:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}
.calc-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.receipt-card {
  background: #faf9f7;
  color: #222;
  border-radius: var(--radius-lg);
  padding: 32px;
  font-family: var(--font-mono);
  position: sticky;
  top: 100px;
}
.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #222;
}
.receipt-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.receipt-docnum {
  font-size: 0.72rem;
  color: #888;
  margin-top: 2px;
}
.receipt-inn {
  text-align: right;
  font-size: 0.68rem;
  color: #888;
  line-height: 1.5;
}
.receipt-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 0.78rem;
}
.receipt-row span:first-child { color: #666; }
.receipt-row span:last-child { color: #222; font-weight: 600; }
.receipt-row--green span:last-child { color: var(--green); }
.receipt-total {
  background: #222;
  color: white;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.receipt-total-label {
  font-size: 0.72rem;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.receipt-total-value {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.receipt-total-per {
  font-size: 0.82rem;
  color: var(--accent-light);
  margin-top: 4px;
}
.receipt-seal {
  text-align: center;
  font-size: 0.72rem;
  color: var(--green);
  padding: 10px;
  border: 1px dashed var(--green);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.receipt-barcode {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  opacity: 0.4;
}
.receipt-actions {
  display: flex;
  gap: 10px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.legal-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.legal-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.legal-company-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.legal-company-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.legal-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.legal-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 22px;
}
.legal-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.legal-item--full { grid-column: 1 / -1; }
.legal-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.legal-value {
  font-size: 0.9rem;
  color: var(--text-white);
  font-weight: 500;
  line-height: 1.4;
}
.font-mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}
.legal-checks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
}
.legal-check-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.legal-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sidebar cards */
.legal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal-subcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color var(--transition);
}
.legal-subcard:hover {
  border-color: var(--border-hover);
}
.legal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.legal-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}
.legal-card-title svg {
  color: var(--accent);
}
.legal-badge-accent {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(232, 87, 42, 0.12);
  border: 1px solid rgba(232, 87, 42, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}
.legal-badge-edo {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.bank-highlight-box,
.edo-highlight-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.bank-highlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.bank-label {
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.bank-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}
.edo-number {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: -0.01em;
  word-break: break-all;
  line-height: 1.4;
}
.edo-footnote {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.copy-field-btn {
  color: var(--text-secondary);
  padding: 3px 6px;
  border-radius: 4px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
}
.copy-field-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.bank-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bank-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-contact-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}
.legal-contact-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 2px 0;
}
.legal-contact-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.contact-compact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.legal-contact-email {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  transition: color var(--transition);
}
.legal-contact-email:hover { color: var(--accent-light); }
.legal-contact-phone {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.legal-contact-phone:hover { color: var(--text-white); }
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-contacts {
  display: flex;
  gap: 24px;
}
.footer-contacts a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-contacts a:hover { color: var(--text-white); }
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.modal-close:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-white);
}
.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}
.modal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.65;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}
.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.float-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: scale(1.1);
}
.service-card,
.approach-card,
.mat-detail,
.legal-main,
.legal-status-card,
.legal-contact-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s var(--ease) forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.services-showcase { animation-delay: 0.1s; }
@media (max-width: 1024px) {
  .services-showcase { grid-template-columns: 1fr; }
  .services-registry-nav { border-right: none; border-bottom: 1px solid var(--border); }
  .services-viewport { min-height: 440px; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .materials-showcase { grid-template-columns: 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .receipt-card { position: static; }
  .legal-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero-title { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .services-viewport {
    min-height: 480px;
    height: 58vh;
    max-height: 520px;
  }
  .registry-nav-item { padding: 16px 18px; }
  .services-telemetry-header { top: 12px; left: 12px; right: 12px; }
  .telemetry-metric { display: none; }
  .services-slide-hud {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(180deg, rgba(14, 16, 20, 0.75) 0%, rgba(10, 10, 10, 0.94) 100%);
  }
  .services-slide-hud .hud-main {
    flex: 1;
    min-width: 0;
  }
  .services-slide-hud .hud-title {
    font-size: 0.95rem;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .services-slide-hud .hud-text {
    display: none;
  }
  .services-slide-hud .btn-sm {
    width: auto;
    flex-shrink: 0;
    padding: 9px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .approach-grid { grid-template-columns: 1fr; }
  .calc-types { grid-template-columns: 1fr; }
  .calc-tiers { grid-template-columns: 1fr; }
  .calc-options { grid-template-columns: 1fr; }
  .legal-data { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.6rem; }
}
.calc-range-slider {  }
.option-checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.open-quote-modal-btn { cursor: pointer; }
.receipt-row-label { color: #666; }
.receipt-row-val { color: #222; font-weight: 600; }
.receipt-total-price { font-size: 1.8rem; font-weight: 700; }
.receipt-stamp-badge { display: none; }
.blueprint-background { display: none; }


/* ==========================================================================
   BEFORE / AFTER SHOWCASE SECTION
   ========================================================================== */
.ba-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ba-header-row .section-title {
  margin-bottom: 12px;
}
.ba-header-row .section-desc {
  margin-bottom: 0;
  max-width: 640px;
}
.ba-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.ba-controls-hint {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ba-modes-group {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 40px;
  border: 1px solid var(--border);
}
.ba-mode-btn {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  white-space: nowrap;
}
.ba-mode-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}
.ba-mode-btn.active {
  background: var(--accent);
  color: var(--text-white);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.title-nowrap {
  white-space: nowrap;
}
.ba-showcase {
  position: relative;
  width: 100%;
}
.ba-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  background: #000;
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  outline: none;
}
.ba-slider-container:focus-visible {
  box-shadow: 0 0 0 3px var(--accent), 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}
.ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
.ba-layer--before {
  z-index: 2;
  clip-path: polygon(0 0, var(--ba-pos, 50%) 0, var(--ba-pos, 50%) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, var(--ba-pos, 50%) 0, var(--ba-pos, 50%) 100%, 0 100%);
  will-change: clip-path;
}
.ba-layer--after {
  z-index: 1;
}
.ba-unified-badge {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.82rem;
  background: rgba(14, 16, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.ba-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ba-badge-item--before {
  color: #ffc4b3;
}
.ba-badge-item--after {
  color: #a7f3d0;
}
.ba-badge-dot--before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}
.ba-badge-dot--after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  flex-shrink: 0;
}
.ba-badge-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}
.ba-badge {
  position: absolute;
  top: 22px;
  z-index: 12;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.ba-badge strong {
  font-weight: 700;
  letter-spacing: 0.05em;
}
.ba-badge--before {
  left: 22px;
  background: rgba(20, 16, 16, 0.85);
  border: 1px solid rgba(232, 87, 42, 0.35);
  color: #ffc4b3;
}
.ba-badge--after {
  right: 22px;
  background: rgba(14, 22, 18, 0.85);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #a7f3d0;
}
.ba-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ba-badge--before .ba-badge-dot {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.ba-badge--after .ba-badge-dot {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: left;
}
.ba-laser-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 10px 1px var(--accent), 0 0 24px 3px rgba(232, 87, 42, 0.7);
}
.ba-ruler-marks {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  user-select: none;
}
.ba-handle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #141518;
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), 0 8px 24px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  position: relative;
  z-index: 12;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ba-slider-container:hover .ba-handle {
  transform: scale(1.1);
  box-shadow: 0 0 26px rgba(232, 87, 42, 0.6), 0 10px 28px rgba(0, 0, 0, 0.95);
}
.ba-dragging .ba-handle {
  transform: scale(1.18);
  border-color: #ff7f50;
  box-shadow: 0 0 35px var(--accent), 0 12px 32px rgba(0, 0, 0, 1);
}
.ba-hud {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 12;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.ba-drag-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.ba-drag-prompt svg {
  color: var(--accent);
}
.ba-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.ba-spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.ba-spec-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.ba-spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.ba-spec-card:hover::before {
  opacity: 1;
}
.ba-spec-num {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.ba-spec-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 6px;
}
.ba-spec-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 1140px) {
  .nav-inner {
    padding: 0 16px;
    gap: 12px;
  }
  .nav-link {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
  .nav-links {
    gap: 2px;
  }
  .nav-phone {
    font-size: 0.76rem;
  }
  .nav-actions .btn-accent {
    padding: 10px 16px;
    font-size: 0.84rem;
  }
}

@media (max-width: 992px) {
  .ba-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .ba-controls {
    align-items: flex-start;
  }
  .ba-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 16px;
    gap: 10px;
  }
  .nav-phone {
    display: none; /* Hide phone in navbar on mobile so nav fits 100% without horizontal scroll */
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-accent {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
  #approach {
    overflow: hidden;
  }
  .approach-grid {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
  }
  .section {
    padding: 60px 0;
  }
  
  /* Hero */
  .hero-split {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .hero-split-container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    gap: 32px;
  }
  .hero-spec-list {
    width: 100%;
    max-width: 100%;
  }
  .hero-spec-item {
    margin-left: 0 !important;
    padding: 12px 14px;
    gap: 12px;
  }
  .hero-split-title {
    font-size: clamp(1.85rem, 7.5vw, 2.3rem);
  }
  .hero-split-desc {
    font-size: 0.94rem;
  }

  .approach-card {
    padding: 22px 16px;
    max-width: 100%;
  }

  /* Before / After slider */
  .ba-specs-grid {
    grid-template-columns: 1fr;
  }
  .ba-unified-badge {
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    gap: 8px;
    font-size: 0.72rem;
  }
  .ba-badge {
    font-size: 0.72rem;
    padding: 6px 12px;
    top: 12px;
  }
  .ba-badge--before {
    left: 12px;
  }
  .ba-badge--after {
    right: 12px;
  }
  .ba-hud {
    bottom: 12px;
    right: 12px;
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  .ba-handle {
    width: 38px;
    height: 38px;
  }
  .ba-handle svg {
    width: 16px;
    height: 16px;
  }
  .ba-modes-group {
    width: 100%;
    justify-content: space-between;
  }
  .ba-mode-btn {
    padding: 7px 8px;
    font-size: 0.74rem;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
  }

  /* Calculator & Summary */
  .calc-panel {
    padding: 20px 16px;
  }
  .receipt-card {
    padding: 20px 16px;
  }

  /* Legal & Banking */
  .legal-main {
    padding: 22px 16px;
  }
  .legal-subcard {
    padding: 18px 14px;
  }
  .bank-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bank-number {
    font-size: 0.95rem;
    word-break: break-all;
  }
  .legal-value {
    word-break: break-all;
  }
  .legal-contact-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .contact-compact-right {
    align-items: flex-start;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .modal-box {
    padding: 24px 18px;
  }
}

@media (max-width: 420px) {
  .nav-logo span {
    font-size: 0.95rem;
  }
  .nav-logo-mark {
    width: 28px;
    height: 28px;
    font-size: 0.92rem;
  }
  .nav-actions .btn-accent {
    padding: 7px 11px;
    font-size: 0.78rem;
  }
  .ba-mode-btn {
    padding: 6px 4px;
    font-size: 0.7rem;
    gap: 2px;
  }
}

/* ==========================================================================
   ACCESSIBILITY & PREFERS-REDUCED-MOTION (Section 6.B)
   ========================================================================== */
@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;
  }
  .crane-arm, #wrecking-ball, .ball-cable {
    animation: none !important;
    transform: none !important;
  }
  .ba-laser-beam, .ba-handle, .ba-layer--before, .services-slide, .services-slider-track {
    transition: none !important;
  }
}


