/* ============================
   SERVICES PAGE STYLES - Exact Replica
   ============================ */

/* --- BLOCK 1: DENTAL SERVICES (3 Columns) --- */
.services-intro-section {
  padding: 80px 0;
  background-color: var(--color-primary-light);
}

.services-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.services-intro-card {
  display: flex;
  flex-direction: column;
}

.services-intro-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 20px;
}

.services-intro-title {
  font-family: var(--font-bold);
  font-size: 16px;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.services-intro-text {
  font-family: var(--font-regular);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- BLOCK 2: SERVICES LIST WITH IMAGES --- */
.services-list-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.services-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  margin-top: 60px;
  position: relative;
}

.services-detail-row:not(:last-child) {
  margin-bottom: 80px;
}

.services-detail-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.services-detail-content {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  border-left: 2px solid var(--color-primary-light);
}

.services-category-title {
  font-family: var(--font-bold);
  font-size: 28px;
  color: var(--color-text-heading);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.services-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-items li {
  font-family: var(--font-regular);
  font-size: 16px;
  color: rgb(26, 26, 26);
  line-height: 1.4;
  position: relative;
  padding-left: 14px;
}

.services-items li::before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- BLOCK 3: REAL RESULTS GALLERY --- */
.services-gallery-section {
  padding: 80px 0;
  background-color: var(--color-primary-light);
}

.services-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.services-gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.services-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.services-gallery-item:hover img {
  transform: scale(1.05);
}

/* --- BLOCK 4: TESTIMONIALS WITH BG IMAGE --- */
.services-cta-testimonials {
  position: relative;
  min-height: 465px;
  background-image: url("../../public/images/home-dental-techniques-fondo-YbNqQvVEjWcgPqQe.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.services-cta-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.services-cta-testimonials .container {
  position: relative;
  z-index: 2;
}

.services-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.services-cta-card {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-cta-stars {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.services-cta-quote {
  font-family: var(--font-regular);
  font-size: 16px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 24px;
}

.services-cta-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.services-cta-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-white);
}

.services-cta-name {
  font-family: var(--font-bold);
  font-size: 16px;
  color: var(--color-white);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .services-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-detail-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-detail-content {
    border-left: none;
    padding-left: 0;
  }

  .services-category-title {
    font-size: 24px;
  }

  .services-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 560px) {
  .services-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
