/* Pi Dentist — Services Grid
   Styles for /dich-vu/ archive page and homepage section 6.
   Uses base card styles from cards.css + tokens from tokens.css */

/* ---------- Archive Section ---------- */
.services-archive {
  padding: 80px 0;
}

/* ---------- Grid Layout ---------- */
/* Mobile-first: 1 column base */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ---------- Service Thumbnail ---------- */
.service-thumb-link {
  display: block;
  text-decoration: none;
}

.service-thumb {
  aspect-ratio: 3 / 2;
  border-radius: var(--pi-radius-card) var(--pi-radius-card) 0 0;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--pi-transition);
}

.service-card:hover .service-thumb img {
  transform: scale(1.05);
}

/* ---------- Gradient Placeholders (khi không có ảnh) ---------- */
.service-thumb.metal {
  background: linear-gradient(135deg, #8D8D8D, #B5B5B5);
}

.service-thumb.ceramic {
  background: linear-gradient(135deg, #F5E6C8, #DBC5A0);
}

.service-thumb.clear {
  background: linear-gradient(135deg, #B8D4E3, #87CEEB);
}

.service-thumb.lingual {
  background: linear-gradient(135deg, #2C2C2C, #4A4A2E);
}

/* ---------- Service Body ---------- */
.service-body {
  padding: 24px;
}

/* ---------- Service Name ---------- */
.service-name {
  font-family: var(--pi-font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--pi-navy);
  line-height: 1.3;
  margin: 0 0 8px;
}

.service-name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--pi-transition);
}

.service-name a:hover {
  color: var(--pi-gold);
}

/* ---------- Service Tagline ---------- */
.service-tagline {
  font-size: 14px;
  color: var(--pi-text-soft);
  line-height: 1.5;
  margin: 0 0 8px;
}

/* ---------- Service Price ---------- */
.service-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--pi-navy);
  margin: 0 0 4px;
}

/* ---------- Service Suitable ---------- */
.service-suitable {
  font-size: 13px;
  color: var(--pi-text-soft);
  margin: 0 0 12px;
}

/* ---------- No Results ---------- */
.pi-no-results {
  text-align: center;
  padding: 60px 0;
  color: var(--pi-text-soft);
  font-size: 16px;
}

/* ===========================================
   RESPONSIVE — Tablet (min-width: 768px)
   =========================================== */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .services-archive {
    padding: 64px 0;
  }
}

/* ===========================================
   RESPONSIVE — Laptop / Desktop (min-width: 1024px)
   Force 4 columns — all services on 1 row
   =========================================== */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .services-archive {
    padding: 80px 0;
  }
}
