/* Service detail page enhancements */
.sd-wrap { overflow: hidden; }
.sd-intro {
  background: linear-gradient(135deg, rgba(13,110,253,.06), rgba(13,110,253,.02));
  border: 1px solid rgba(13,110,253,.12);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.sd-intro::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,110,253,.12), transparent 70%);
  pointer-events: none;
}
.sd-icon-badge {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13,110,253,.15);
  color: var(--themeht-primary-color, #0d6efd);
  font-size: 40px;
  flex-shrink: 0;
}
.sd-kicker {
  display: inline-block;
  background: var(--themeht-primary-color, #0d6efd);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.sd-intro h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: .75rem;
  line-height: 1.25;
}
.sd-lead {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.25rem;
}
.sd-actions .themeht-btn { margin-right: .5rem; margin-bottom: .5rem; }
.sd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.sd-stat {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,.06);
}
.sd-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--themeht-primary-color, #0d6efd);
}
.sd-stat span {
  font-size: .85rem;
  color: #666;
}
.sd-section {
  margin-bottom: 2.5rem;
}
.sd-section-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: .65rem;
}
.sd-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--themeht-primary-color, #0d6efd);
}
.sd-section-title i {
  color: var(--themeht-primary-color, #0d6efd);
}
.sd-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
  border-color: rgba(13,110,253,.25);
}
.sd-card i {
  color: var(--themeht-primary-color, #0d6efd);
  font-size: 1.25rem;
  margin-right: .4rem;
}
.sd-who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.sd-who-item {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  background: #f8fafc;
  border-radius: 14px;
  padding: .95rem 1rem;
  border: 1px solid rgba(0,0,0,.04);
}
.sd-who-item i {
  color: var(--themeht-primary-color, #0d6efd);
  margin-top: .15rem;
}
.sd-process {
  counter-reset: sdstep;
  display: grid;
  gap: 1rem;
}
.sd-process-item {
  counter-increment: sdstep;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 16px;
  padding: 1rem 1.15rem;
}
.sd-process-item::before {
  content: counter(sdstep, decimal-leading-zero);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--themeht-primary-color, #0d6efd), #4f8cff);
  box-shadow: 0 8px 18px rgba(13,110,253,.25);
}
.sd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.sd-chip {
  background: #fff;
  border: 1px solid rgba(13,110,253,.18);
  color: #234;
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .92rem;
}
.sd-faq details {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: .75rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sd-faq details[open] {
  border-color: rgba(13,110,253,.3);
  box-shadow: 0 10px 22px rgba(13,110,253,.08);
}
.sd-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--themeht-primary-color, #0d6efd);
  font-weight: 700;
}
.sd-faq details[open] summary::after { content: "–"; }
.sd-faq details p {
  margin: .85rem 0 0;
  color: #555;
}
.sd-cta {
  background: linear-gradient(135deg, var(--themeht-primary-color, #0d6efd), #3b82f6);
  color: #fff;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.sd-cta h3, .sd-cta p { color: #fff; }
.sd-cta p { opacity: .92; }
.sd-cta .themeht-btn.white-btn,
.sd-cta .btn-light {
  background: #fff;
  color: #0d6efd;
  border: none;
}
.sd-side {
  position: sticky;
  top: 110px;
}
.sd-side-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  padding: 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.sd-side-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.sd-side-list {
  max-height: 340px;
  overflow: auto;
  padding-right: .25rem;
}
.sd-side-link {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .7rem .55rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
}
.sd-side-link:hover {
  background: rgba(13,110,253,.06);
  color: var(--themeht-primary-color, #0d6efd);
}
.sd-side-link i {
  color: var(--themeht-primary-color, #0d6efd);
  margin-top: .15rem;
}
.sd-contact-card {
  background: linear-gradient(160deg, #0f172a, #1e293b);
  color: #fff;
  border: none;
}
.sd-contact-card h3,
.sd-contact-card p,
.sd-contact-card a { color: #fff; }
.sd-contact-card a { text-decoration: none; }
.sd-contact-card .themeht-btn.primary-btn {
  width: 100%;
  text-align: center;
  margin-top: .5rem;
}
.sd-package {
  background: #f0f7ff;
  border: 1px dashed rgba(13,110,253,.35);
}
@media (max-width: 991.98px) {
  .sd-side { position: static; }
  .sd-who { grid-template-columns: 1fr; }
  .sd-stats { grid-template-columns: 1fr; }
  .sd-intro { padding: 1.35rem; }
  .sd-cta .btn-actions { width: 100%; }
}
@media (max-width: 767.98px) {
  .sd-actions,
  .sd-cta .btn-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sd-actions .themeht-btn,
  .sd-cta .themeht-btn {
    width: 100%;
    margin: 0 !important;
  }
  .sd-cta {
    padding: 1.5rem;
  }
  .sd-intro h1 {
    font-size: 1.65rem;
    line-height: 1.3;
  }
}
