/* ================================================================
   BNS Healthcare — Detail Page Shared Styles
   Used by: service-detail.html, blog-detail.html, result-detail.html
   ================================================================ */

/* ── SHARED DETAIL LAYOUT ─────────────────────────────────────── */
.detail-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 60px;
  align-items: start;
}

.detail-main { min-width: 0; }

/* ── SECTION BLOCKS ───────────────────────────────────────────── */
.dsec { margin-bottom: 52px; }
.dsec-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--rose-light);
  margin-bottom: 10px;
}
.dsec-label::before {
  content: ''; width: 22px; height: 1px; background: var(--rose-light);
}
.dsec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500; color: var(--text); margin-bottom: 20px; line-height: 1.25;
}
.dsec-content p {
  font-size: 14px; color: var(--text-mid); line-height: 1.9;
  font-weight: 300; margin-bottom: 14px;
}

/* ── SIDEBAR ──────────────────────────────────────────────────── */
.detail-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 26px 24px;
}
.sbcard-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 6px;
}
.sbcard-sub { font-size: 12px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }

/* Booking form */
.sb-booking { background: var(--rose); border-color: var(--rose); }
.sb-booking .sbcard-title { color: var(--white); }
.sb-booking .sbcard-sub { color: rgba(255,255,255,.7); }

.sb-field { margin-bottom: 10px; }
.sb-input {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.15); color: var(--white);
  font-family: 'Raleway', sans-serif; font-size: 13px;
  outline: none; transition: border .2s;
}
.sb-input::placeholder { color: rgba(255,255,255,.6); }
.sb-input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.2); }
.sb-input option { color: var(--text); background: var(--white); }

.sb-submit {
  width: 100%; padding: 13px; background: var(--white); color: var(--rose);
  border: none; border-radius: 10px; font-family: 'Raleway', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer; transition: all .25s; margin-top: 4px;
}
.sb-submit:hover { background: var(--brown); color: var(--white); }

.sb-success {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.15); border-radius: 10px;
  padding: 12px 14px; color: var(--white);
  font-size: 13px; font-weight: 500; margin-top: 10px;
}

/* Related items */
.related-list { display: flex; flex-direction: column; gap: 2px; }
.rel-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px; border-radius: 10px; text-decoration: none;
  transition: background .2s; color: var(--text);
}
.rel-item:hover { background: var(--ivory2); }
.rel-name { font-size: 13px; font-weight: 500; line-height: 1.4; }
.rel-arr { font-size: 16px; color: var(--rose-light); flex-shrink: 0; margin-left: 8px; }

/* WhatsApp card */
.sb-wa {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; background: var(--ivory);
}
.sbwa-text { flex: 1; }
.sbwa-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.sbwa-sub { font-size: 11px; color: var(--text-light); }
.sbwa-btn {
  background: #25D366; color: var(--white); border-radius: 30px;
  padding: 9px 18px; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.sbwa-btn:hover { background: #1da851; }

/* Stats card */
.sb-stats { background: var(--text); border-color: var(--text); }
.sb-stat-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.sb-stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.sbstat-n {
  font-family: 'Dancing Script', cursive; font-size: 24px;
  font-weight: 700; color: var(--rose-light);
}
.sbstat-l { font-size: 11px; color: rgba(255,255,255,.45); font-weight: 500; }

/* TOC */
.toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-item {
  font-size: 12px; color: var(--text-mid); text-decoration: none;
  padding: 6px 10px; border-radius: 8px; transition: all .2s;
  border-left: 2px solid transparent;
}
.toc-item:hover { color: var(--rose); background: var(--rose-ultra); border-left-color: var(--rose); }

/* ── BEFORE/AFTER PAIR ────────────────────────────────────────── */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.bap-side { position: relative; }
.bap-img { height: 260px; border-radius: 16px; background: var(--ivory2); }
.bap-label {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--text); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
}
.bap-label-after { background: var(--rose); }
.bap-note { font-size: 11px; color: var(--text-light); font-style: italic; }

/* ── PROCESS STEPS ────────────────────────────────────────────── */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.ps-step {
  display: flex; gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.ps-step:last-child { border-bottom: none; }
.ps-num {
  font-family: 'Dancing Script', cursive; font-size: 36px;
  font-weight: 700; color: var(--rose-pale); line-height: 1;
  flex-shrink: 0; width: 48px;
}
.ps-title {
  font-family: 'Playfair Display', serif; font-size: 16px;
  font-weight: 500; color: var(--text); margin-bottom: 6px;
}
.ps-desc { font-size: 13px; color: var(--text-mid); line-height: 1.8; font-weight: 300; }

/* ── BENEFITS GRID ────────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit-card {
  background: var(--ivory); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 20px; transition: all .3s;
}
.benefit-card:hover { background: var(--white); box-shadow: 0 10px 28px rgba(90,50,35,.08); transform: translateY(-3px); }
.bc-icon { color: var(--rose); margin-bottom: 10px; }
.bc-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.bc-desc { font-size: 12px; color: var(--text-mid); line-height: 1.7; font-weight: 300; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 18px 0; font-size: 14px; font-weight: 500; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; transition: color .2s;
}
.faq-q:hover { color: var(--rose); }
.faq-arr { font-size: 18px; color: var(--rose-light); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-arr { transform: rotate(90deg); }
.faq-a {
  font-size: 13px; color: var(--text-mid); line-height: 1.85;
  font-weight: 300; max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,1,.36,1), padding .3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }

/* ── CTA BAND ─────────────────────────────────────────────────── */
.detail-cta-band {
  background: var(--rose); padding: 72px 60px;
}
.dcta-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.dcta-script {
  font-family: 'Dancing Script', cursive; font-size: 28px;
  font-weight: 600; color: rgba(255,255,255,.7); line-height: 1;
  margin-bottom: 6px;
}
.dcta-title {
  font-family: 'Playfair Display', serif; font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 500; color: var(--white); margin-bottom: 10px;
}
.dcta-sub { font-size: 14px; color: rgba(255,255,255,.65); font-weight: 300; }
.dcta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--rose);
  background: var(--white); padding: 14px 28px;
  border-radius: 40px; text-decoration: none;
  transition: all .3s; box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.btn-primary:hover { background: var(--ivory2); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--rose);
  background: transparent; padding: 13px 28px;
  border-radius: 40px; text-decoration: none;
  border: 2px solid var(--rose); transition: all .3s;
}
.btn-outline:hover { background: var(--rose); color: var(--white); }

.btn-outline-light {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--white);
  background: transparent; padding: 13px 28px;
  border-radius: 40px; text-decoration: none;
  border: 2px solid rgba(255,255,255,.45); transition: all .3s;
}
.btn-outline-light:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

/* ── SERVICE DETAIL HERO ──────────────────────────────────────── */
.detail-hero {
  display: grid; grid-template-columns: 1fr 440px; min-height: 520px;
  padding-top: 72px;
  max-width: 1200px;
  margin: 0 auto;
}
.dh-inner {
  padding: 64px 60px; background: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
}
.dh-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--rose-light); margin-bottom: 14px;
}
.dh-tag::before { content: ''; width: 22px; height: 1px; background: var(--rose-light); }
.dh-title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(36px, 5vw, 62px); font-weight: 600;
  color: var(--rose); line-height: 1.1; margin-bottom: 14px;
}
.dh-subtitle {
  font-size: 15px; color: var(--text-mid); line-height: 1.8;
  font-weight: 300; max-width: 520px; margin-bottom: 28px;
}
.dh-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.dh-meta { display: flex; flex-wrap: wrap; gap: 20px; }
.dm-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text-mid); font-weight: 500;
}
.dm-item svg { color: var(--rose); flex-shrink: 0; }
.dh-img { background: var(--ivory2); }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media(max-width: 1100px) {
  .detail-body { grid-template-columns: 1fr; padding: 48px 28px; }
  .detail-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .detail-sidebar .sidebar-card { flex: 1 1 280px; }
  .detail-hero { grid-template-columns: 1fr; }
  .dh-inner { padding: 100px 28px 48px; }
  .dh-img { height: 300px; }
  .detail-cta-band { padding: 56px 28px; }
}
@media(max-width: 768px) {
  .detail-body { padding: 36px 16px; }
  .dh-inner { padding: 90px 16px 40px; }
  .detail-cta-band { padding: 48px 16px; }
  .dcta-inner { flex-direction: column; text-align: center; }
  .benefits-grid { grid-template-columns: 1fr; }
  .ba-pair { grid-template-columns: 1fr; }
  .detail-sidebar { flex-direction: column; }
}
