/* CNC Mạnh Hưng v2 — Architectural Industrial Precision Stylesheet */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

main {
  overflow-x: clip;
}

/* ==================== TOP NAVIGATION ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 10, 13, 0.56);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.site-header.scrolled {
  background: var(--bg-nav);
  border-bottom-color: var(--hairline);
}

[data-theme="light"] .site-header:not(.scrolled) {
  color: #ffffff;
}

[data-theme="light"] .site-header.scrolled {
  color: var(--ink-primary);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-emblem {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #0d0f14;
  color: #ffffff;
  position: relative;
  flex-shrink: 0;
}

.brand-emblem::after {
  content: '';
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  color: inherit;
  opacity: 0.86;
  transition: opacity 150ms var(--ease-out), color 150ms var(--ease-out);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease-out);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

[data-theme="light"] .site-header.scrolled .nav-phone {
  border-color: var(--hairline-strong);
}

.nav-phone:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: inherit;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    background-color 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    color 160ms var(--ease-out),
    transform 120ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

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

.btn-outline {
  background: transparent;
  color: var(--ink-primary);
  border-color: var(--hairline-strong);
}

.btn-outline:hover {
  border-color: var(--ink-primary);
  background: var(--bg-hover);
}

.btn-ghost-hero {
  background: rgba(15, 18, 25, 0.62);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(8px);
}

.btn-ghost-hero:hover {
  background: #ffffff;
  color: #090a0d;
  border-color: #ffffff;
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 0.84rem;
}

.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 0.94rem;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 108px;
  background: #07090d;
  color: #ffffff;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-scrim);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--hero-scrim-bottom);
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-block: clamp(44px, 7vh, 80px) clamp(40px, 6vh, 66px);
  max-width: 780px;
  animation: heroEnter 600ms var(--ease-out) both;
}

@keyframes heroEnter {
  from {
    opacity: 0.01;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-subtext {
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  font-weight: 400;
  line-height: 1.7;
  color: #d6dce6;
  max-width: 60ch;
  margin-bottom: 30px;
  text-wrap: pretty;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-location-line {
  margin-top: 24px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: #c2cad8;
}

.hero-location-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-location-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-spec-strip {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 10, 14, 0.76);
  backdrop-filter: blur(12px);
}

.hero-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-spec-cell {
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-spec-cell:first-child {
  padding-left: 0;
}

.hero-spec-cell:last-child {
  border-right: 0;
}

.hero-spec-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-spec-desc {
  font-size: 0.8rem;
  color: #9ba5b8;
  margin-top: 3px;
}

/* ==================== SECTION ARCHITECTURE ==================== */
.section {
  padding-block: clamp(68px, 8.5vw, 112px);
  border-top: 1px solid var(--hairline);
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.028em;
  text-wrap: balance;
  max-width: 24ch;
}

.section-lead {
  color: var(--ink-body);
  max-width: 54ch;
  font-size: 0.98rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ==================== INTERACTIVE MACHINE SHOWROOM (REAL MARKET PHOTOS) ==================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-btn {
  height: 38px;
  padding: 0 16px;
  background: transparent;
  color: var(--ink-body);
  border: 1px solid var(--hairline-strong);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.filter-btn:hover {
  border-color: var(--ink-primary);
  color: var(--ink-primary);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.fleet-showroom {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.fleet-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.fleet-rail-item {
  width: 100%;
  text-align: left;
  padding: 15px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), transform 140ms var(--ease-out);
}

.fleet-rail-item:hover {
  background: var(--bg-hover);
  border-color: var(--hairline-strong);
}

.fleet-rail-item.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.fleet-rail-name {
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.3;
}

.fleet-rail-brand {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.fleet-rail-power {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  padding: 4px 8px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-xs);
  background: var(--bg-canvas);
}

.fleet-stage {
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow-soft);
}

.fleet-stage-media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0c10;
  border-bottom: 1px solid var(--hairline);
}

.fleet-stage-media.is-studio {
  background: var(--bg-pedestal);
  padding: 20px 28px;
}

.fleet-stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms var(--ease-out), transform 380ms var(--ease-out);
}

.fleet-stage-media.is-studio img {
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.16));
}

.fleet-stage-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(9, 10, 14, 0.86);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.fleet-stage-body {
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.fleet-stage-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.fleet-stage-name {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.fleet-stage-brand {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.fleet-spec-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fleet-spec-box {
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  padding: 13px 14px;
}

.fleet-spec-k {
  font-size: 0.74rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.fleet-spec-v {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-top: 4px;
}

.fleet-stage-desc {
  color: var(--ink-body);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 64ch;
}

/* ==================== SERVICES — EDITORIAL SPLIT BANDS ==================== */
.services-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
}

.service-band.is-reversed .service-media {
  order: 2;
}

.service-media {
  position: relative;
  overflow: hidden;
  background: #0a0c10;
  min-height: 360px;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms var(--ease-out);
}

.service-band:hover .service-media img {
  transform: scale(1.03);
}

.service-body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-title {
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 8px;
}

.service-subtitle {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.service-desc {
  color: var(--ink-body);
  font-size: 0.95rem;
  line-height: 1.72;
  margin-bottom: 22px;
  max-width: 56ch;
}

.service-spec-list {
  list-style: none;
  border-top: 1px solid var(--hairline);
  margin-bottom: 26px;
}

.service-spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.9rem;
  color: var(--ink-primary);
}

.service-spec-list svg {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==================== GALLERY & VIDEO SHOWCASE ==================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: #0c0e13;
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: block;
  width: 100%;
  transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.gallery-item.is-studio {
  background: radial-gradient(circle at 50% 42%, #dfe4ec 0%, #c6cedb 100%);
}

.gallery-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}

.gallery-item.is-studio img {
  object-fit: contain;
  padding: 14px 16px 56px;
  filter: contrast(1.04) brightness(0.95);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.035);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 16px 14px;
  background: linear-gradient(180deg, rgba(9, 10, 14, 0) 0%, rgba(9, 10, 14, 0.92) 100%);
  color: #ffffff;
}

.gallery-item-title {
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.35;
}

.gallery-item-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #fdba74;
  margin-top: 4px;
}

.gallery-play-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.94);
  color: #ffffff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ==================== PRICING + LIVE CAD STEEL CALCULATOR ==================== */
.bench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 28px;
  align-items: start;
}

.bench-grid > *,
.quote-layout > *,
.form-grid-2 > *,
.service-band > *,
.fleet-showroom > * {
  min-width: 0;
  max-width: 100%;
}

.ledger-wrap,
.calc-panel,
.contact-panel,
.quote-form-card {
  min-width: 0;
  max-width: 100%;
}

.ledger-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.spec-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--hairline);
}

.spec-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  font-size: 0.9rem;
  color: var(--ink-body);
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody tr:hover {
  background: var(--bg-hover);
}

.pricing-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.calc-panel {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 18px;
}

.calc-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.calc-shape-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 16px;
}

.calc-tab {
  height: 38px;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  color: var(--ink-body);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 150ms var(--ease-out);
}

.calc-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.calc-diagram {
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  padding: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
}

.calc-diagram svg {
  width: 100%;
  max-width: 300px;
  height: 92px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 13px;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-body);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--hairline-strong);
  color: var(--ink-primary);
  padding: 10px 12px;
  font-size: 0.92rem;
  border-radius: var(--radius-xs);
  transition: border-color 150ms var(--ease-out);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.calc-result-box {
  margin-top: 12px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.calc-metric-label {
  font-size: 0.74rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.calc-metric-val {
  font-family: var(--font-mono);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-top: 4px;
}

.calc-metric-val.highlight {
  color: var(--accent);
}

.calc-error {
  color: var(--danger);
  font-size: 0.84rem;
  margin-bottom: 10px;
  display: none;
}

/* ==================== QUOTE & BLUEPRINT INTAKE ==================== */
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-panel,
.quote-form-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  padding: clamp(24px, 3.5vw, 36px);
}

.contact-list {
  list-style: none;
  margin-top: 20px;
  border-top: 1px solid var(--hairline);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hairline);
}

.contact-list svg {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.76rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.contact-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-top: 2px;
}

.contact-cta-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.dropzone {
  position: relative;
  border: 1.5px dashed var(--hairline-strong);
  border-radius: var(--radius-xs);
  background: var(--bg-soft);
  padding: 20px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
  margin-bottom: 16px;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-primary);
  margin-top: 8px;
}

.dropzone-sub {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.dropzone-file {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.form-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.ok {
  display: block;
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.12);
}

.form-feedback.err {
  display: block;
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.12);
}

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--bg-soft);
  padding-block: 42px 34px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  max-width: 64ch;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* ==================== LIGHTBOX MODAL ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 6, 9, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-dialog {
  width: 100%;
  max-width: 980px;
  background: #111318;
  border: 1px solid #2b2f3c;
  border-radius: var(--radius-sm);
  color: #ffffff;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  animation: modalIn 220ms var(--ease-out);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-media {
  position: relative;
  background: #07080b;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media.is-studio {
  background: var(--bg-pedestal);
  padding: 24px;
}

.lightbox-media img,
.lightbox-media video {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.lightbox-media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.lightbox-bar {
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #232734;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(9, 10, 14, 0.8);
  color: #ffffff;
  display: grid;
  place-items: center;
}

.lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ==================== MOBILE STICKY BAR ==================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--hairline-strong);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: 1fr 0.9fr 1.1fr;
  gap: 8px;
}

.mobile-sticky-bar .btn {
  height: 42px;
  padding: 0 10px;
  font-size: 0.8rem;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .fleet-showroom {
    grid-template-columns: minmax(0, 1fr);
  }
  .fleet-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-band.is-reversed .service-media {
    order: 0;
  }
  .service-media {
    min-height: 260px;
    aspect-ratio: 16 / 10;
  }
  .bench-grid,
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-spec-cell:nth-child(2) {
    border-right: 0;
  }
  .hero-spec-cell:nth-child(3),
  .hero-spec-cell:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-spec-cell:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions .btn-primary {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-canvas);
    color: var(--ink-primary);
    border-bottom: 1px solid var(--hairline-strong);
    padding: 20px var(--gutter) 26px;
    gap: 16px;
    z-index: 79;
  }
  .mobile-sticky-bar {
    display: grid;
  }
  body {
    padding-bottom: 66px;
  }
}

@media (max-width: 580px) {
  .nav-inner {
    gap: 10px;
  }
  .brand-mark {
    font-size: 0.96rem;
    gap: 8px;
  }
  .brand-emblem {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-phone {
    padding: 6px 9px;
    gap: 5px;
    font-size: 0.76rem;
  }
  .nav-phone svg {
    width: 14px;
    height: 14px;
  }
  .fleet-rail,
  .fleet-spec-cards,
  .gallery-grid,
  .form-grid-2,
  .contact-cta-stack,
  .calc-result-box,
  .hero-spec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-spec-cell {
    padding: 12px 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-spec-cell:first-child {
    border-top: 0;
  }
  .fleet-stage-media {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
