/*================================================
Service Page Content Components
Used inside .services-details-area .col-lg-8 on treatment pages.
Colours follow the theme: pink #b62a72, blue #316A9A.
=================================================*/
.sd-section {
  margin-top: 50px;
  scroll-margin-top: 110px;
}
.sd-section:first-of-type {
  margin-top: 35px;
}
.sd-section h2 {
  font-size: 26px;
  font-weight: 600;
  color: #b62a72;
  margin: 0 0 15px;
  line-height: 1.35;
}
.sd-section > p {
  margin-bottom: 15px;
}
.sd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #316A9A;
  background: #eaf4fb;
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.sd-eyebrow i {
  font-size: 15px;
}
/* The theme sets every <a> to inline-block; keep links inside running text inline */
.sd-section p a,
.sd-card p a,
.sd-note p a,
.sd-checklist a,
.sd-table a,
.sd-cta p a {
  display: inline;
}
.sd-section p a,
.sd-card p a,
.sd-note p a,
.sd-checklist a,
.sd-table a {
  color: #316A9A;
  font-weight: 500;
}
.sd-section p a:hover,
.sd-card p a:hover,
.sd-note p a:hover,
.sd-checklist a:hover,
.sd-table a:hover {
  color: #b62a72;
}
.sd-lead {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
}

/* At a glance */
.sd-glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 25px 0 10px;
}
.sd-glance-item {
  background: #ffffff;
  border: 1px solid #f0d9e5;
  border-top: 3px solid #b62a72;
  border-radius: 10px;
  padding: 18px 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(49, 106, 154, 0.06);
}
.sd-glance-item i {
  font-size: 30px;
  color: #b62a72;
  display: block;
  margin-bottom: 8px;
}
.sd-glance-item strong {
  display: block;
  font-size: 15px;
  color: #222;
  font-weight: 600;
  line-height: 1.4;
}
.sd-glance-item span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #777;
  margin-top: 4px;
}

/* On this page */
.sd-toc {
  background: #f5fafd;
  border-left: 4px solid #316A9A;
  border-radius: 8px;
  padding: 20px 25px;
  margin-top: 30px;
}
.sd-toc h2 {
  font-size: 17px;
  font-weight: 600;
  color: #316A9A;
  margin: 0 0 10px;
}
.sd-toc ol {
  columns: 2;
  column-gap: 30px;
  margin: 0;
  padding-left: 20px;
}
.sd-toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}
.sd-toc a {
  color: #333;
  font-size: 15px;
}
.sd-toc a:hover {
  color: #b62a72;
}

/* Icon cards */
.sd-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.sd-cards.sd-cards-3 {
  grid-template-columns: repeat(3, 1fr);
}
.sd-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}
.sd-card:hover {
  transform: translateY(-4px);
  border-color: #f0d9e5;
  box-shadow: 0 10px 30px rgba(182, 42, 114, 0.1);
}
.sd-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #fbeef5;
  color: #b62a72;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}
.sd-card:nth-child(even) .sd-card-icon {
  background: #eaf4fb;
  color: #316A9A;
}
.sd-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px;
  line-height: 1.4;
}
.sd-card p {
  margin: 0;
  font-size: 15px;
}

/* Steps timeline */
.sd-steps {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
  counter-reset: sdstep;
}
.sd-steps li {
  position: relative;
  padding: 0 0 28px 70px;
  counter-increment: sdstep;
}
.sd-steps li:last-child {
  padding-bottom: 0;
}
.sd-steps li::before {
  content: counter(sdstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #b62a72;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px #fbeef5;
}
.sd-steps li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 52px;
  bottom: 4px;
  width: 2px;
  background: #f0d9e5;
}
.sd-steps li:last-child::after {
  display: none;
}
.sd-steps h3 {
  font-size: 18px;
  font-weight: 600;
  color: #316A9A;
  margin: 10px 0 6px;
}
.sd-steps p {
  margin: 0;
}

/* Checklist */
.sd-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 25px;
}
.sd-checklist.sd-checklist-1 {
  grid-template-columns: 1fr;
}
.sd-checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  line-height: 1.65;
}
.sd-checklist li i {
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #b62a72;
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-checklist li strong {
  color: #222;
  font-weight: 600;
}

/* Why choose panel */
.sd-why {
  background: linear-gradient(135deg, #fdf3f8 0%, #eef6fc 100%);
  border-radius: 16px;
  padding: 35px;
}
.sd-why .sd-cards {
  margin-top: 25px;
}
.sd-why .sd-card {
  border-color: transparent;
}

/* Callout */
.sd-note {
  display: flex;
  gap: 15px;
  background: #fff8e6;
  border: 1px solid #f6e1a8;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 20px;
}
.sd-note i {
  font-size: 28px;
  color: #c98a00;
  flex-shrink: 0;
  line-height: 1;
}
.sd-note p {
  margin: 0;
}
.sd-note p + p {
  margin-top: 8px;
}
.sd-note.sd-note-info {
  background: #eef6fc;
  border-color: #cfe3f2;
}
.sd-note.sd-note-info i {
  color: #316A9A;
}

/* Comparison table */
.sd-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 10px;
  border: 1px solid #ececec;
}
.sd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}
.sd-table th {
  background: #316A9A;
  color: #ffffff;
  font-weight: 500;
  text-align: left;
  padding: 12px 15px;
}
.sd-table td {
  padding: 12px 15px;
  border-top: 1px solid #ececec;
  vertical-align: top;
}
.sd-table tr:nth-child(even) td {
  background: #fafcfe;
}
.sd-table td:first-child {
  font-weight: 600;
  color: #222;
}

/* CTA banner */
.sd-cta {
  background: linear-gradient(135deg, #316A9A 0%, #b62a72 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 35px;
  margin-top: 50px;
}
.sd-cta h2 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 12px;
}
.sd-cta p {
  color: #f1f1f1;
  margin-bottom: 10px;
}
.sd-cta a {
  color: #ffffff;
  text-decoration: underline;
}
.sd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.sd-cta .sd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: 0.4s;
}
.sd-cta .sd-btn i {
  font-size: 20px;
}
.sd-cta .sd-btn-light {
  background: #ffffff;
  color: #b62a72;
}
.sd-cta .sd-btn-light:hover {
  background: #fbeef5;
  color: #b62a72;
}
.sd-cta .sd-btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
}
.sd-cta .sd-btn-outline:hover {
  background: #ffffff;
  color: #316A9A;
}
.sd-cta-meta {
  font-size: 14px;
  margin-top: 18px;
  opacity: 0.95;
}

/* Related treatments */
.sd-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}
.sd-related a {
  display: block;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 18px;
  color: #222;
  transition: 0.4s;
  height: 100%;
}
.sd-related a:hover {
  border-color: #b62a72;
  box-shadow: 0 10px 25px rgba(182, 42, 114, 0.12);
}
.sd-related a strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: #316A9A;
  margin-bottom: 6px;
}
.sd-related a strong i {
  color: #b62a72;
  font-size: 22px;
}
.sd-related a span {
  display: block;
  font-size: 14px;
  color: #666;
  line-height: 1.55;
}

.sd-section .services-details-image {
  margin-top: 20px;
  margin-bottom: 20px;
}
.sd-table-wrap + p,
.sd-cards + p,
.sd-steps + p,
.sd-checklist + p {
  margin-top: 20px;
}

.sd-section .faq-accordion {
  margin-top: 20px;
}

/* FAQ accordion (overrides the theme's .faq-accordion look; theme JS unchanged) */
.faq-accordion .accordion {
  counter-reset: sdfaq;
}
.faq-accordion .accordion .accordion-item {
  position: relative;
  counter-increment: sdfaq;
  margin-bottom: 14px;
  background: #ffffff;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-accordion .accordion .accordion-item:last-child {
  margin-bottom: 0;
}
.faq-accordion .accordion .accordion-item:hover {
  border-color: #f0d9e5;
}
.faq-accordion .accordion .accordion-item:has(.accordion-title.active) {
  border-color: #e7b7cf;
  box-shadow: 0 10px 30px rgba(182, 42, 114, 0.08);
}
.faq-accordion .accordion .accordion-item::before {
  content: counter(sdfaq, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 17px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eaf4fb;
  color: #316A9A;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: 0.3s;
}
.faq-accordion .accordion .accordion-item:has(.accordion-title.active)::before {
  background: #b62a72;
  color: #ffffff;
}
.faq-accordion .accordion .accordion-title {
  background: transparent;
  padding: 22px 70px 22px 70px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #222222;
  text-transform: none;
  transition: color 0.3s;
}
.faq-accordion .accordion .accordion-title:hover,
.faq-accordion .accordion .accordion-title.active {
  color: #b62a72;
}
.faq-accordion .accordion .accordion-title i {
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fbeef5;
  color: #b62a72;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.faq-accordion .accordion .accordion-title.active i {
  background: #b62a72;
  transform: translateY(-50%) rotate(180deg);
}
.faq-accordion .accordion .accordion-title.active i::before {
  color: #ffffff;
}
.faq-accordion .accordion .accordion-content,
.faq-accordion .accordion .accordion-content:last-child {
  padding: 0 70px 22px 70px;
}
.faq-accordion .accordion .accordion-content p {
  color: #555b66;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed #ecd3e0;
}
.faq-accordion .accordion .accordion-content p a {
  display: inline;
  color: #316A9A;
  font-weight: 500;
}
.faq-accordion .accordion .accordion-content p a:hover {
  color: #b62a72;
}
.faq-accordion .accordion .accordion-content p + p {
  border-top: none;
  padding-top: 10px;
}
.sd-faq-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 12px;
  background: #f5fafd;
  border: 1px solid #d9e9f5;
}
.sd-faq-help p {
  margin: 0;
  color: #333;
  font-weight: 500;
}
.sd-faq-help p i {
  color: #316A9A;
  font-size: 20px;
  vertical-align: -3px;
  margin-right: 6px;
}
.sd-faq-help a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #316A9A;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 15px;
  transition: 0.3s;
}
.sd-faq-help a:hover {
  background: #b62a72;
  color: #ffffff;
}

/* Responsive */
@media only screen and (max-width: 991px) {
  .sd-cards.sd-cards-3,
  .sd-related {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 767px) {
  .sd-section h2,
  .sd-cta h2 {
    font-size: 22px;
  }
  .sd-glance {
    grid-template-columns: repeat(2, 1fr);
  }
  .sd-cards,
  .sd-cards.sd-cards-3,
  .sd-checklist,
  .sd-related {
    grid-template-columns: 1fr;
  }
  .sd-toc ol {
    columns: 1;
  }
  .sd-why,
  .sd-cta {
    padding: 25px 20px;
  }
  .sd-steps li {
    padding-left: 60px;
  }
  .faq-accordion .accordion .accordion-item::before {
    left: 14px;
    top: 15px;
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .faq-accordion .accordion .accordion-title {
    padding: 18px 56px 18px 56px;
    font-size: 15.5px;
  }
  .faq-accordion .accordion .accordion-title i {
    right: 14px;
    width: 30px;
    height: 30px;
  }
  .faq-accordion .accordion .accordion-content,
  .faq-accordion .accordion .accordion-content:last-child {
    padding: 0 18px 18px 56px;
  }
  .sd-faq-help {
    padding: 16px 18px;
  }
}
