/*================================================
Services page
Builds on service-content.css, award-page.css, gallery-page.css and virtual-tour-page.css.
=================================================*/

/* Treatment cards */
.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sv-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eceff3;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  transition: 0.35s;
}
.sv-card.is-hidden {
  display: none;
}
.sv-card.is-showing {
  animation: gl-fade 0.45s ease;
}
.sv-card:hover {
  transform: translateY(-6px);
  border-color: #f0d9e5;
  box-shadow: 0 16px 40px rgba(182, 42, 114, 0.12);
}
.sv-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f3f6;
}
.sv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.sv-card:hover .sv-card-media img {
  transform: scale(1.06);
}
.sv-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #316A9A;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.sv-icon {
  position: absolute;
  right: 18px;
  bottom: -26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #b62a72;
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 6px 18px rgba(182, 42, 114, 0.3);
  z-index: 1;
}
.sv-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.18) 100%);
}
.sv-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 22px 22px;
}
.sv-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.35;
}
.sv-card-body h3 a {
  color: #222;
}
.sv-card-body h3 a:hover {
  color: #b62a72;
}
.sv-card-body p {
  flex: 1;
  font-size: 15px;
  margin: 0 0 16px;
}
.sv-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: #316A9A;
}
.sv-more i {
  font-size: 20px;
  transition: transform 0.3s;
}
.sv-card:hover .sv-more {
  color: #b62a72;
}
.sv-card:hover .sv-more i {
  transform: translateX(4px);
}

/* Problem finder */
.sv-finder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sv-problem {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.04);
}
.sv-problem-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.sv-problem-head i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fbeef5;
  color: #b62a72;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sv-problem:nth-child(even) .sv-problem-head i {
  background: #eaf4fb;
  color: #316A9A;
}
.sv-problem h3 {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1.35;
}
.sv-problem p {
  font-size: 14.5px;
  margin: 0 0 12px;
}
.sv-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sv-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: #316A9A;
  background: #eaf4fb;
  padding: 6px 12px;
  border-radius: 20px;
  transition: 0.3s;
}
.sv-links a:hover {
  background: #b62a72;
  color: #fff;
}
.sv-links a i {
  font-size: 15px;
}

/* Why choose */
.sv-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* FAQ */
.sv-faq .faq-accordion,
.sv-faq .sd-faq-help {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media only screen and (max-width: 1199px) {
  .sv-grid,
  .sv-finder,
  .sv-why {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 767px) {
  .sv-grid,
  .sv-finder,
  .sv-why {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sv-card-body {
    padding: 24px 18px 18px;
  }
  .sv-card-body h3 {
    font-size: 18px;
  }
}

/* Six category tabs: keep them on one row on desktop */
@media only screen and (min-width: 1200px) {
  #treatments .gl-filters {
    gap: 8px;
  }
  #treatments .gl-filters button {
    font-size: 14px;
    padding: 9px 12px;
    gap: 6px;
  }
}
