@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ================================================================
   Service Detail Pages
   ================================================================ */

.service-page { padding: 2rem 0 0; }

/* ── Breadcrumb ── */
.service-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .35rem;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 2rem;
}
.service-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.service-breadcrumb a:hover { color: var(--primary); }
.service-breadcrumb svg { color: #d1d5db; flex-shrink: 0; }
.service-breadcrumb-current { color: var(--accent); font-weight: 500; }

/* ── Two-column layout ── */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 144px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 960px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { order: -1; }
}

/* ── Page header ── */
.service-page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .35rem;
  line-height: 1.2;
}
.service-page-subtitle {
  font-size: .95rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ── Main image ── */
.service-main-img {
  overflow: hidden;
  margin-bottom: 1.75rem;
  background: #eaeae8;
}
.service-main-img img { width: 100%; height: auto; display: block; }

/* ── Body text ── */
.service-body-text {
  font-size: 15px;
  line-height: 1.82;
  color: #444;
  margin-bottom: 1rem;
}

/* ── Collapsible read-more ── */
.service-collapse-wrap { position: relative; }
.svc-collapse-center { text-align: center; margin: .75rem 0; }
.service-collapse-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  border: none; background: none; cursor: pointer; padding: .25rem 0;
}
.service-collapse-btn:hover { color: var(--primary); }
.service-collapse-btn svg { transition: transform .2s; }
.service-collapse-btn.open svg { transform: rotate(180deg); }

/* ── Section titles ── */
.service-section { margin-bottom: 2.5rem; }
.service-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .35rem;
}
.service-section-sub {
  font-size: .88rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 1.25rem;
}

/* ── Two-column bullet list ── */
.service-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
}
@media (max-width: 600px) { .service-two-col { grid-template-columns: 1fr; } }

.service-list-group h4 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .55rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.service-list-group ul { list-style: none; padding: 0; margin: 0; }
.service-list-group ul li {
  font-size: 13.5px; color: #555;
  padding: .2rem 0 .2rem 1.1rem;
  position: relative; line-height: 1.5;
}
.service-list-group ul li::before {
  content: '•'; position: absolute; left: 0; color: var(--accent);
}

/* ── Package cards (Health Check-up) ── */
.svc-pkg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (max-width: 640px) { .svc-pkg-grid { grid-template-columns: 1fr; } }

.svc-pkg-card {
  border: 1.5px solid #e8e0d0;
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1rem;
  background: #fff;
  position: relative;
}
.svc-pkg-card--featured {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(192,144,70,.14);
}
.svc-pkg-badge {
  position: absolute; top: -11px; right: 1rem;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .05em;
  padding: .2rem .7rem; border-radius: 20px;
  text-transform: uppercase;
}
.svc-pkg-name {
  font-size: .92rem; font-weight: 700; color: var(--text); margin-bottom: .15rem;
}
.svc-pkg-level {
  font-size: .7rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .75rem;
}
.svc-pkg-items {
  list-style: none; padding: 0; margin: 0 0 1rem;
  font-size: 12.5px; color: #555;
}
.svc-pkg-items li {
  padding: .22rem 0 .22rem 1.1rem;
  position: relative; line-height: 1.5;
}
.svc-pkg-items li::before { content: '•'; position: absolute; left: 0; color: #999; }
.svc-pkg-items li.extra { color: var(--accent); }
.svc-pkg-items li.extra::before { color: var(--accent); }
.svc-pkg-price-row {
  display: flex; align-items: baseline; gap: .3rem;
  padding-top: .75rem; border-top: 1px solid #f0ede6;
}
.svc-pkg-label { font-size: 11px; color: var(--text-muted); }
.svc-pkg-val { font-size: 1.35rem; font-weight: 800; color: var(--text); }
.svc-pkg-curr { font-size: 11px; color: var(--text-muted); }

/* ── Sub-service accordions (Primary Care) ── */
.svc-sub-block {
  border: 1.5px solid #e8e0d0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.svc-sub-img {
  width: 100%; max-height: 280px; object-fit: cover; display: block;
  background: #e8ece8;
}
.svc-sub-body { padding: 1.4rem 1.5rem; }
.svc-sub-eyebrow {
  font-size: .7rem; color: var(--accent); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem;
}
.svc-sub-title {
  font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: .35rem;
}
.svc-sub-desc { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: .5rem; }

.svc-checklist {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .3rem .75rem;
}
@media (max-width: 600px) { .svc-checklist { grid-template-columns: 1fr; } }
.svc-checklist li {
  font-size: 13px; color: #555;
  padding-left: 1.2rem; position: relative; line-height: 1.55;
}
.svc-checklist li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

/* ── Vaccine table ── */
.svc-vaccine-table {
  width: 100%; border-collapse: collapse;
  font-size: 12.5px; margin-top: 1rem; overflow: hidden;
  border-radius: 10px; overflow: hidden;
}
.svc-vaccine-table th {
  background: var(--primary); color: #fff;
  padding: .55rem .75rem; text-align: left; font-size: 12px;
}
.svc-vaccine-table td {
  border: 1px solid #e8e0d0; padding: .5rem .75rem; vertical-align: top;
}
.svc-vaccine-table tr:nth-child(even) td { background: #faf8f4; }

/* ── Steps grid ── */
.svc-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
@media (max-width: 600px) { .svc-steps { grid-template-columns: 1fr; } }

.svc-step {
  border: 1.5px solid #e8e0d0;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  background: #faf8f4;
}
.svc-step-num {
  font-size: 1.3rem; font-weight: 700; color: var(--text);
  letter-spacing: 0; text-transform: none; margin-bottom: .2rem;
}
.svc-step-title { font-size: .8rem; font-weight: 600; color: var(--accent); margin-bottom: .4rem; }
.svc-step-body { font-size: 13px; color: #666; line-height: 1.65; }

/* ── Regen card grid ── */
.svc-regen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.5rem;
  margin: 1.5rem 0;
}
@media (max-width: 640px) { .svc-regen-grid { grid-template-columns: 1fr; } }
.svc-regen-card-title {
  font-size: 1.15rem; font-weight: 700; color: var(--text);
  margin-bottom: .25rem; line-height: 1.3;
}
.svc-regen-card-tags {
  font-size: .78rem; color: var(--accent); font-weight: 500;
  margin-bottom: .75rem;
}
.svc-checklist--col1 { grid-template-columns: 1fr; }
.svc-regen-section-title {
  font-size: 1.2rem; font-weight: 700; color: var(--text);
  margin: 1.75rem 0 1rem;
}

/* ── STD package grid ── */
.std-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
@media (max-width: 700px) { .std-pkg-grid { grid-template-columns: 1fr; } }

/* ── STI panel grid ── */
.sti-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}
@media (max-width: 900px) { .sti-panel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sti-panel-grid { grid-template-columns: 1fr; } }

/* ── PrEP vs PEP table ── */
.prep-table {
  width: 100%; border-collapse: collapse;
  font-size: 12.5px; margin: 1rem 0;
}
.prep-table th {
  background: var(--primary); color: #fff;
  padding: .5rem .75rem; text-align: left;
}
.prep-table td { border: 1px solid #e8e0d0; padding: .45rem .75rem; vertical-align: top; }
.prep-table tr:nth-child(even) td { background: #faf8f4; }

/* ── Summary table ── */
.svc-summary-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 13px; margin: 1rem 0;
  border: 1.5px solid #ddd0bb; border-radius: 14px; overflow: hidden;
}
.svc-summary-table th {
  background: #f0e4d0; color: var(--text);
  padding: .8rem 1rem; text-align: left; font-weight: 700; font-size: 13px;
}
.svc-summary-table td {
  background: #faf4eb;
  padding: .65rem 1rem; vertical-align: top; color: #555; font-size: 13px;
  border-bottom: 1px solid #e8d8c4;
}
.svc-summary-table tbody tr:last-child td { border-bottom: none; }

/* ── Conditions table (modern clinic style) ── */
.svc-table-wrap {
  border-radius: 12px;
  border: 1px solid #F2E5D2;
  overflow: hidden;
  margin: 1.5rem 0;
  width: 100%;
}
.svc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.svc-table thead th {
  background: #F2E5D2;
  color: #111111;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  padding: 10px 12px;
  vertical-align: middle;
}
.svc-table thead th:last-child {
  border-right: none;
}
.svc-table tbody td {
  color: #222222;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  padding: 10px 12px;
  vertical-align: middle;
  border-top: 1px solid #EDE5D8;
  border-right: 1px solid #EDE5D8;
}
.svc-table tbody td:nth-child(odd)  { background: #FAF7F3; }
.svc-table tbody td:nth-child(even) { background: #ffffff; }
.svc-table tbody td:last-child {
  border-right: none;
}
@media (max-width: 900px) {
  .svc-table thead th { font-size: 17px; padding: 20px 20px; }
  .svc-table tbody td  { font-size: 15px; padding: 20px 20px; }
}
@media (max-width: 600px) {
  .svc-table-wrap { border-radius: 12px; }
  .svc-table { table-layout: auto; }
  .svc-table thead th { font-size: 13px; padding: 14px 14px; }
  .svc-table tbody td  { font-size: 13px; padding: 14px 14px; }
}

/* ── FAQ accordion ── */
.service-faq { margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid #e8e0d0; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--text);
  gap: 1rem; background: none; border: none; width: 100%; text-align: left;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%; border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 300; line-height: 1;
  transition: transform .22s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  font-size: 13.5px; color: #555; line-height: 1.8;
  padding-bottom: 1rem; display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ── Sidebar ── */
.service-sidebar-label {
  display: flex; align-items: center; gap: .5rem;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  margin-bottom: 1rem; padding-bottom: .65rem;
  border-bottom: 1px solid var(--border);
}
.service-sidebar-cat { font-weight: 400; }
.service-sidebar-related { color: var(--accent); font-weight: 700; }

.service-related-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
}

/* Card-style thumbnail */
.service-related-card {
  display: block; text-decoration: none; color: inherit;
  transition: transform .18s;
}
.service-related-card:hover { transform: translateY(-2px); }
.service-related-card-img {
  position: relative; width: 144px; height: 144px; flex-shrink: 0;
  overflow: hidden; background: #e5e7eb;
  border-radius: 14px;
}
.service-related-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.service-related-card:hover .service-related-card-img img { transform: scale(1.04); }
.service-related-arrow {
  position: absolute; bottom: .4rem; right: .4rem;
  width: 22px; height: 22px; background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.service-related-name {
  font-size: 11px; font-weight: 600; color: var(--text);
  padding: .4rem .1rem .1rem; line-height: 1.4;
}

/* ── Row layout for sub-service blocks (image left, text right) ── */
.svc-sub-block--row {
  display: flex; gap: 1.5rem; align-items: flex-start;
  margin-bottom: 1.5rem;
  background: #fff;
}
@media (max-width: 640px) { .svc-sub-block--row { flex-direction: column; } }
.svc-sub-thumb {
  width: 20%; flex-shrink: 0;
  border-radius: 10px; overflow: hidden; background: #e8ece8;
}
.svc-sub-thumb img {
  width: 100%; height: 100%; min-height: 200px;
  object-fit: cover; display: block;
}
@media (max-width: 640px) { .svc-sub-thumb { width: 100%; } }
.svc-sub-block--row .svc-sub-body { flex: 1; padding: .25rem 0; }

/* ── Subscribe / CTA banner ── */
.svc-subscribe {
  background: var(--primary);
  color: #fff;
  padding: 3rem 1rem 2.5rem;
  text-align: center;
  margin-top: 4rem;
}
.svc-subscribe-title {
  font-size: 1.45rem; font-weight: 700; margin-bottom: .4rem;
}
.svc-subscribe-title span { color: var(--accent); }
.svc-subscribe-sub { font-size: .88rem; opacity: .85; margin-bottom: .3rem; }
.svc-subscribe-addr { font-size: .78rem; opacity: .65; margin-bottom: 1.5rem; }

.svc-contact-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .65rem; margin-bottom: .85rem;
}
.svc-contact-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px; padding: .38rem 1rem;
  font-size: 13px; color: #fff; text-decoration: none;
  transition: background .15s;
}
.svc-contact-chip:hover { background: rgba(255,255,255,.2); }

.svc-social-row {
  display: flex; align-items: center; justify-content: center;
  gap: .6rem; flex-wrap: wrap;
}
.svc-social-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 30px; padding: .3rem .85rem;
  font-size: 12px; color: rgba(255,255,255,.82); text-decoration: none;
  transition: background .15s;
}
.svc-social-chip:hover { background: rgba(255,255,255,.18); }

/* ── Expand section heading ── */
.svc-expand-heading {
  font-size: 1.15rem; font-weight: 700; color: var(--text);
  margin: 1.25rem 0 .6rem; line-height: 1.3;
}

/* ── Section divider ── */
.svc-divider { border: none; border-top: 1px solid #ede8df; margin: 2rem 0; }

/* ── Info note ── */
.svc-note {
  background: #faf8f4; border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: .75rem 1rem;
  font-size: 12.5px; color: #666; line-height: 1.7;
  margin: 1rem 0;
}
