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;
}
#reviews {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  margin-top: 0;
  padding-top: calc(var(--nav-height) + 20px);
  padding-bottom: 80px;
}
#reviews .container {
  position: relative;
  z-index: 1;
}
.section-desc {
  color: var(--text);
  max-width: 700px;
  margin-bottom: 20px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.reviews-content {
  max-width: 1000px;
  margin: 0 auto;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.25s;
  cursor: default;
  position: relative;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.review-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(200, 16, 46, 0.15);
}
.review-card:hover::before {
  transform: scaleX(1);
}
.review-card-body {
  padding: 28px;
}
.review-cat {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffd700;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}
.review-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.review-card p {
  color: var(--white);
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.review-card h3 {
  margin-bottom: 0;
}
.review-search {
  flex: 1;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: "Barlow", sans-serif;
}
.review-search:focus {
  outline: none;
  border-color: var(--red);
}
.review-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}
.review-modal.show {
  display: flex;
}
.review-modal-content {
  background: var(--surface);
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 32px;
  width: min(700px, 90vw);
  max-height: 80vh;
  overflow-y: auto;
}
.review-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  float: right;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}
.rating-filter {
  display: flex;
  gap: 4px;
}
.filter-star {
  color: #555;
  font-size: 28px;
  cursor: pointer;
  transition: 0.2s;
}
.filter-star.hover,
.filter-star.hovered,
.filter-star.active {
  color: var(--red);
}
#modalName {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 42px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
#modalText {
  color: var(--white);
  font-style: italic;
  font-size: 18px;
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 24px;
}
.review-job-link {
  display: inline-block;
  color: var(--red);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: 0.2s;
}
.review-job-link:hover {
  color: white;
}
.review-modal-content {
  position: relative;
}
.review-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}
.modal-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.modal-vehicle {
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 500;
  padding-left: 20px;
}
.modal-stars {
  color: #ffd700;
  font-size: 28px;
  padding-right: 40px;
}
.mobile-menu a {
  border: 1px solid #000;
}
.floating-book-btn {
  right: 0;
}

@media (max-width: 800px) {
}

.review-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.review-title {
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Mobile review modal compact layout */
@media (max-width: 560px) {
  .review-modal {
    align-items: center;
    padding: 10px;
  }

  .review-modal-content {
    width: min(100%, 452px);
    max-height: 74vh;
    padding: 22px 22px 20px;
    border-radius: 5px;
  }

  .review-modal-content .review-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    margin-bottom: 10px;
  }

  .modal-title-row {
    display: grid;
    gap: 5px;
    min-width: 0;
  }

  #modalName {
    font-size: clamp(23px, 7vw, 29px);
    line-height: 1;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .modal-vehicle {
    padding-left: 0;
    font-size: clamp(13px, 4vw, 16px);
    line-height: 1.22;
    color: var(--text-muted);
  }

  .modal-stars {
    padding-right: 28px;
    font-size: clamp(18px, 5.7vw, 22px);
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
  }

  .review-close {
    top: 17px;
    right: 17px;
    font-size: 20px;
  }

  #modalJob.review-title {
    font-size: clamp(14px, 4.3vw, 17px);
    line-height: 1.15;
    margin: 8px 0 16px;
  }

  #modalText {
    font-size: clamp(13px, 3.9vw, 15px);
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .review-job-link {
    font-size: clamp(11px, 3.4vw, 13px);
    letter-spacing: 0.08em;
  }
}


/* 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 review modal polish */
html[data-theme="light"] .review-close {
  color: #080808;
}

html[data-theme="light"] .review-close:hover {
  color: var(--red);
}

/* Light mode active filters */
html[data-theme="light"] .filter-btn.active {
  color: #ffffff !important;
}

/* 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);
  }
}
