/* =================================
   DETAIL PAGE — services-detail.html
================================= */

html { scroll-behavior: smooth; }

/* Section wrapper */
.sd-block {
  scroll-margin-top: 60px;
  --pad-x: 150px;
}

/* Centers everything in Curated Match */
.sd-block--center {
  text-align: center;
}

/* Thin line between sections */
.sd-divider {
  border: none;
  border-top: 1px solid rgba(13, 13, 13, 0.15);
  margin: 0 var(--pad-x);
}

/* =================================
   HERO (title area)
================================= */
.sd-hero {
  padding: 40px var(--pad-x) 60px;
}

/* Curated Match hero gets more breathing room */
#curated-matching .sd-hero {
  padding-top: 80px;
}

.sd-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--text);
}

.sd-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 20px;
}

/* =================================
   CONTENT BLOCKS
================================= */
.sd-content {
  padding: 0 var(--pad-x) 60px;
}

/* Body paragraph — inherits text-align from parent section */
.sd-body-p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 20px;
}

.sd-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Section heading (PLAN B DÀNH CHO AI?, VỀ DỊCH VỤ) */
.sd-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 24px;
}

/* =================================
   LIST — Plan B bullet list
================================= */
.sd-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.sd-list > li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 16px;
}

/* =================================
   QUOTE BLOCK
================================= */
.sd-quote-block {
  border-top: 1px solid rgba(13, 13, 13, 0.1);
  border-bottom: 1px solid rgba(13, 13, 13, 0.1);
  padding: 56px var(--pad-x);
  margin-bottom: 60px;
  text-align: center;
}

.sd-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =================================
   CTA BUTTON
================================= */
.sd-cta {
  padding: 32px 0 80px;
  display: flex;
  justify-content: center;
}

/* =================================
   CURATED MATCH — SERVICE SECTION
================================= */
.sd-service {
  padding: 0 var(--pad-x) 80px;
}

/* inline-block so text-align:center on parent centers this block,
   while text inside remains left-aligned */
.sd-service-list {
  display: inline-block;
  text-align: left;
  list-style: disc;
  padding-left: 20px;
  max-width: 600px;
  width: 100%;
  margin-bottom: 32px;
}

.sd-service-list > li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
}

.sd-sub-list {
  display: block;
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.sd-sub-list li {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 6px;
}

/* =================================
   CASE BLOCK
================================= */
.sd-case {
  display: inline-block;
  text-align: left;
  border: 1px solid rgba(13, 13, 13, 0.2);
  padding: 24px 28px;
  max-width: 600px;
  width: 100%;
  margin-bottom: 32px;
}

.sd-case .sd-list {
  margin-bottom: 0;
}

.sd-case-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.sd-case-note {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
  margin-top: 16px;
}

/* =================================
   PRICE & CLOSING
================================= */
.sd-price {
  display: inline-block;
  max-width: 600px;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(13, 13, 13, 0.15);
}

.sd-closing {
  display: inline-block;
  max-width: 600px;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 40px;
}
