body {
  margin: 0;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 70px,
    rgba(200, 16, 46, 0.28) 70px,
    rgba(200, 16, 46, 0.28) 72px
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 25%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  height: 800px;
  background: linear-gradient(
    to bottom,
    rgba(200, 16, 46, 0.28) 0%,
    rgba(200, 16, 46, 0.12) 30%,
    rgba(200, 16, 46, 0.04) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}
.section-label {
  color: var(--text);
  padding-top: 0;
}
#jobs {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  margin-top: 0;
  padding-top: calc(var(--nav-height) + 20px);
  padding-bottom: 80px;
}
#jobs .container {
  position: relative;
  z-index: 1;
}
.section-desc {
  color: var(--text);
  max-width: 700px;
  margin-bottom: 40px;
}
.job-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.job-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.car-icon {
  font-size: 48px;
  opacity: 0.3;
}
.job-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.8) 0%, transparent 60%);
}
.job-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: white;
  padding: 4px 10px;
  border-radius: 2px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.job-body {
  padding: 20px 24px;
}
.job-body h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.job-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.job-meta-dot {
  color: var(--red);
}
.job-review-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.job-review-link:hover {
  text-decoration: underline;
}
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.job-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.job-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.12);
}
.job-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.jobs-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.jobs-search {
  flex: 1;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 4px;
  font-family: "Barlow", sans-serif;
}
.jobs-search:focus {
  outline: none;
  border-color: var(--red);
}
.mobile-menu a {
  border: 1px solid #000;
}
.floating-book-btn {
  right: 0;
}

@media (max-width: 800px) {
}
.job-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-card-photo + .job-img-placeholder {
  opacity: 0;
}

.job-review-link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.job-modal-photo {
  opacity: 1;
  object-fit: cover;
  font-size: 0;
}


/* Launch mobile layout fixes */
@media (max-width: 760px) {
  .services-grid,
  .reviews-grid,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .review-card,
  .job-card {
    width: 100%;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding-inline: 10px;
    text-align: center;
  }
}

/* Light mode completed job polish */
html[data-theme="light"] .modal-job-tag,
html[data-theme="light"] .job-tag {
  color: #ffffff;
}

html[data-theme="light"] .job-image-gallery img,
html[data-theme="light"] .modal-img {
  opacity: 1;
  filter: none;
}

/* Light mode job modal image polish */
html[data-theme="light"] .job-modal-photo,
html[data-theme="light"] .modal-body > .modal-img {
  opacity: 1 !important;
  filter: none !important;
  background-image: none !important;
}

/* Light mode completed-job preview contrast */
html[data-theme="light"] .job-overlay {
  display: none !important;
}

html[data-theme="light"] .job-img {
  background: #6f6f6b;
}

html[data-theme="light"] .job-tag,
html[data-theme="light"] .job-img-placeholder {
  color: #ffffff !important;
}

html[data-theme="light"] .job-img-placeholder {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

html[data-theme="light"] .job-img-placeholder .car-icon,
html[data-theme="light"] .car-icon {
  opacity: 0.85;
}

/* Touch press card affordances */
@media (hover: none) and (pointer: coarse) {
  .hero-info-card:active,
  .hero-social-card a:active,
  .specialty-item:active,
  .service-card:active,
  .job-card:active,
  .review-card:active,
  .featured-review:active,
  .info-item:active,
  .map-card:active {
    transform: translateY(-4px);
    border-color: var(--red);
  }

  .page-link:active,
  .job-review-link:active,
  .review-job-link:active,
  .modal-job-link:active,
  .footer-links a:active {
    color: var(--red);
  }
}

/* Touch-hover refinements */
@media (hover: none) and (pointer: coarse) {
  .service-card.touch-hover,
  .job-card.touch-hover,
  .review-card.touch-hover,
  .featured-review.touch-hover {
    transform: translateY(-4px);
    border-color: var(--red);
  }

  .service-card.touch-hover::before,
  .review-card.touch-hover::before {
    transform: scaleX(1);
  }

  .page-link.touch-hover,
  .job-review-link.touch-hover,
  .review-job-link.touch-hover,
  .modal-job-link.touch-hover {
    color: var(--red);
  }
}
