/* Dedicated Services page styles */

.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background: #111;
  overflow: hidden;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.7) 35%, rgba(17,17,17,0.95) 100%);
}

.page-hero-accent {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #B40019 15%, #B40019 85%, transparent);
  opacity: 0.8;
}

.page-hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
}

.service-card,
.process-step,
.service-value-card,
.service-detail-card,
.service-image-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(16px);
  animation: cardFadeUp 0.75s ease forwards;
}

.service-card:hover,
.process-step:hover,
.service-value-card:hover,
.service-stat-box:hover,
.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.14);
}

.service-detail-card {
  position: relative;
  border-color: #E8E8E8;
  overflow: hidden;
}

.service-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 6px;
  background: #B40019;
}

.service-detail-card h3 {
  color: #111;
}

.service-detail-card p,
.service-detail-card li {
  color: #1F1F1F;
}

.service-detail-card ul {
  margin-top: 1rem;
}

.service-detail-card li {
  margin-bottom: 0.75rem;
}

.service-detail-card li::marker {
  color: #B40019;
}

.service-hero-grid .service-card {
  min-height: 220px;
}

.service-detail-card:nth-child(1) { animation-delay: 0.08s; }
.service-detail-card:nth-child(2) { animation-delay: 0.16s; }
.service-detail-card:nth-child(3) { animation-delay: 0.24s; }
.service-detail-card:nth-child(4) { animation-delay: 0.32s; }
.service-detail-card:nth-child(5) { animation-delay: 0.40s; }
.service-image-card { animation-delay: 0.48s; }

.service-image-card-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.service-image-card-content {
  background: #fff;
}

.service-image-card-tag {
  display: inline-flex;
  padding: 0.5rem 1rem;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
}

@keyframes cardFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 44vh;
    padding-bottom: 40px;
  }
  .page-hero-title {
    font-size: clamp(2.5rem, 10vw, 3.8rem);
  }
}
