.service-detail-page {
  width: 100%;
  background: #f8fafc;
  padding: 2rem 0 0;
  color: #061a3a;
}

.service-detail-page .container {
  width: 100%;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
  color: #64748b;
}

.detail-breadcrumb a {
  color: #1677f2;
  text-decoration: none;
}

.detail-card {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 .25rem 1rem rgba(15, 23, 42, .06);
  margin-bottom: 1.5rem;
}

.detail-card:hover {
  transform: none;
}

.service-hero-card {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.service-hero-icon {
  width: clamp(7rem, 12vw, 9.5rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid #e5eaf0;
  background: #fff;
  color: #dc3545;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-hero-icon i {
  font-size: clamp(3rem, 6vw, 4.5rem);
}

.service-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #00204a;
  margin-bottom: .5rem;
}

.service-hero-content p {
  color: #475569;
  margin-bottom: .75rem;
}

.service-rating {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #475569;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-detail-primary,
.btn-detail-outline {
  min-width: 10rem;
  min-height: 2.75rem;
  border-radius: .45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
}

.btn-detail-primary {
  background: #1677f2;
  border: 1px solid #1677f2;
  color: #fff;
}

.btn-detail-outline {
  background: #fff;
  border: 1px solid #1677f2;
  color: #1677f2;
}

.detail-card h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 800;
  color: #00204a;
  margin-bottom: 1rem;
}

.detail-card p {
  color: #475569;
  line-height: 1.65;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5eaf0;
}

.service-feature-item {
  text-align: center;
  padding: 0 1.25rem;
  border-right: 1px solid #e5eaf0;
}

.service-feature-item:last-child {
  border-right: 0;
}

.service-feature-item i {
  color: #1677f2;
  font-size: 2rem;
  margin-bottom: .75rem;
}

.service-feature-item h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #00204a;
  margin-bottom: .4rem;
}

.service-feature-item p {
  font-size: .9rem;
  margin: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head a {
  color: #1677f2;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}

.detail-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.detail-mini-card {
  display: block;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  color: #061a3a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  transition: .2s ease;
}

.detail-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.detail-mini-photo,
.detail-mini-firm-logo {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #071833, #0d2b63);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
}

.detail-mini-photo img,
.detail-mini-firm-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-mini-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #061a3a;
}

.detail-mini-rating,
.detail-mini-location {
  font-size: 13px;
  color: #475569;
  margin-bottom: 6px;
}

.detail-mini-location i {
  color: #ef5b87;
  margin-right: 4px;
}

.detail-mini-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.detail-mini-status.musait {
  background: #dcfce7;
  color: #15803d;
}

.detail-mini-status.mesgul {
  background: #fef3c7;
  color: #92400e;
}

.detail-mini-status.yolda {
  background: #dbeafe;
  color: #1d4ed8;
}

.detail-mini-status.kapali {
  background: #e5e7eb;
  color: #475569;
}

.detail-carousel {
  position: relative;
}

.detail-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}

.detail-slider::-webkit-scrollbar {
  display: none;
}

.detail-slider .detail-mini-card {
  min-width: calc((100% - 36px) / 3);
  max-width: calc((100% - 36px) / 3);
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
}

.detail-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e5eaf0;
  background: #fff;
  color: #1677f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
  cursor: pointer;
}

.detail-carousel-prev {
  left: -18px;
}

.detail-carousel-next {
  right: -18px;
}

.region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.region-pill {
  padding: .85rem 1rem;
  border: 1px solid #e5eaf0;
  border-radius: .65rem;
  background: #f8fbff;
  color: #00204a;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.region-pill i {
  color: #1677f2;
}

.detail-trust-bar {
  width: 100%;
  background: #0047b3;
  color: #fff;
  margin-top: 1.5rem;
  padding: 1.75rem 0;
}

.detail-trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.detail-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-trust-item i {
  font-size: 2rem;
}

.detail-trust-item strong {
  display: block;
  font-size: 1rem;
}

.detail-trust-item span {
  font-size: .85rem;
  opacity: .9;
}

.empty-text {
  color: #64748b;
  margin: 0;
}

.profile-list-card:hover {
  transform: none;
}

.profile-list-img {
  width: 90px;
  height: 90px;
  border-radius: .75rem;
  object-fit: cover;
}

.firma-logo-box {
  width: 90px;
  height: 90px;
  border-radius: .75rem;
  background: linear-gradient(135deg, #111827, #1e3a8a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .05rem;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .service-feature-grid,
  .detail-trust-inner {
    grid-template-columns: 1fr;
  }

  .service-feature-item {
    border-right: 0;
    border-bottom: 1px solid #e5eaf0;
    padding: 1.25rem 0;
  }

  .service-feature-item:last-child {
    border-bottom: 0;
  }

  .detail-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-slider .detail-mini-card {
    min-width: calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 768px) {
  .service-detail-page {
    padding-top: 1.25rem;
  }

  .service-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    width: 100%;
  }

  .btn-detail-primary,
  .btn-detail-outline {
    width: 100%;
  }

  .detail-card {
    padding: 1.25rem;
  }
}

@media (max-width: 576px) {
  .detail-mini-grid {
    grid-template-columns: 1fr;
  }

  .detail-slider .detail-mini-card {
    min-width: 100%;
    max-width: 100%;
    flex-basis: 100%;
  }

  .detail-carousel-prev {
    left: 8px;
  }

  .detail-carousel-next {
    right: 8px;
  }
}