/* assets/css/reservasi.css — Service Jitu, Cek Diagnosis dan alur reservasi. Memakai warna dari servis.css. */

.rs-page { --red: #dc2626; --red-dark: #b91c1c; --pink: #fff5f5; --pink-line: #fde2e4; }
.rs-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Banner */
.rs-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 12px; padding: 36px 40px; border-radius: 16px; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgb(220 38 38 / 45%), transparent 45%), linear-gradient(120deg, #0b0b0e 0%, #1f1f25 60%, #3b0d12 100%); }
.rs-hero-body { max-width: 640px; }
.rs-hero h1 { margin: 14px 0 10px; font-size: 34px; line-height: 1.15; font-weight: 800; }
.rs-hero h1 span { color: #fca5a5; display: block; }
.rs-hero p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: #e5e7eb; }
.rs-hero-points { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: #f3f4f6; }
.rs-hero-points li { display: flex; align-items: center; gap: 8px; }
.rs-hero-points svg { width: 20px; height: 20px; color: #fca5a5; }
.rs-hero-badge { flex: none; display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%; background: var(--red); text-align: center; box-shadow: 0 10px 30px rgb(220 38 38 / 35%); }
.rs-hero-badge b { font-size: 46px; line-height: 1; }
.rs-hero-badge small { font-size: 11px; font-weight: 700; letter-spacing: .04em; max-width: 120px; }
.rs-hero-diag { background: radial-gradient(circle at 85% 30%, rgb(220 38 38 / 40%), transparent 50%), linear-gradient(120deg, #111827, #1f2937 55%, #3b0d12); }

.rs-layout { margin-top: 20px; }
.rs-h2 { margin: 22px 0 14px; }

/* Cari & chip */
.rs-search { display: grid; gap: 12px; }
.rs-search-box { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; }
.rs-search-box svg { width: 18px; height: 18px; color: #6b7280; }
.rs-search-box input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 14px; background: none; min-width: 0; }
.rs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-chip { padding: 8px 14px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: #374151; cursor: pointer; }
.rs-chip:hover { border-color: var(--red); }
.rs-chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.rs-chips-pick { margin-bottom: 4px; }

.rs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.rs-grid .svc-btn svg { width: 16px; height: 16px; }

.rs-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.rs-more-card { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--pink-line); border-radius: 12px; background: var(--pink); color: var(--ink, #111827); text-decoration: none; }
.rs-more-card > svg:first-child { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #fff; color: var(--red); }
.rs-more-card > svg:last-child { flex: none; width: 18px; height: 18px; color: var(--red); margin-left: auto; }
.rs-more-card b { display: block; font-size: 14px; }
.rs-more-card small { display: block; font-size: 12px; color: #6b7280; margin-top: 2px; line-height: 1.4; }
.rs-more-card:hover { border-color: var(--red); }

/* Detail paket */
.rs-detail { padding: 24px; }
.rs-detail-top { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.rs-detail-img { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0b0b0e; display: grid; place-items: center; }
.rs-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.rs-detail-img .svc-badge { position: absolute; top: 10px; left: 10px; }
.rs-detail-info h1 { font-size: 26px; margin: 0 0 6px; color: var(--ink, #111827); }
.rs-sum { margin: 0 0 10px; color: #4b5563; line-height: 1.6; }
.rs-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 14px 0 0; }
.rs-price b { font-size: 28px; color: var(--red); }
.rs-price s { color: #9ca3af; }
.rs-save { padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 700; }
.rs-h3 { font-size: 16px; margin: 22px 0 10px; }
.rs-checks, .rs-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: #374151; }
.rs-checks li { display: flex; gap: 10px; align-items: flex-start; }
.rs-checks svg { flex: none; width: 18px; height: 18px; color: #16a34a; margin-top: 1px; }
.rs-dots li { padding-left: 16px; position: relative; }
.rs-dots li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.rs-facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rs-facts li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 10px; background: #f9fafb; }
.rs-facts svg { flex: none; width: 20px; height: 20px; color: var(--red); }
.rs-facts small { display: block; font-size: 11px; color: #6b7280; }
.rs-facts b { font-size: 13px; }

/* Cek Diagnosis */
.rs-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rs-why-item { display: grid; gap: 6px; padding: 18px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.rs-why-item svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--pink); color: var(--red); }
.rs-why-item b { font-size: 14px; }
.rs-why-item small { font-size: 12.5px; color: #6b7280; line-height: 1.5; }
.rs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rs-steps li { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid #e5e7eb; font-size: 12.5px; color: #6b7280; line-height: 1.5; }
.rs-steps b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; }
.rs-steps strong { display: block; font-size: 14px; color: var(--ink, #111827); }
.rs-tagline { text-align: center; font-size: 22px; font-weight: 800; color: var(--red); margin: 28px 0 40px; }

/* Form reservasi */
.rs-add { margin-top: 12px; padding: 12px 14px; border: 1px dashed #d1d5db; border-radius: 12px; }
.rs-add summary { cursor: pointer; font-weight: 700; color: var(--red); font-size: 14px; }
.rs-add select, .rs-add input { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 10px; font: inherit; font-size: 14px; background: #fff; }
.rs-add > input { margin-top: 10px; }
.rs-add .co-btn-line { margin-top: 12px; }
.co-field select { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 10px; font: inherit; font-size: 14px; background: #fff; }

/* Berhasil */
.rs-code { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 10px; padding: 10px 16px; border-radius: 10px; background: #f9fafb; border: 1px dashed #d1d5db; }
.rs-code small { color: #6b7280; font-size: 12px; }
.rs-code b { font-size: 18px; letter-spacing: .02em; }
.rs-done .st-badge { display: inline-block; }
.rs-wa { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #f0fdf4; border-color: #bbf7d0; }
.rs-wa b { font-size: 15px; }
.rs-wa .co-btn { background: #16a34a; border-color: #16a34a; }

@media (max-width: 1100px) {
  .rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .rs-more, .rs-why, .rs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rs-detail-top { grid-template-columns: 1fr; }
  .rs-facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rs-hero { flex-direction: column; align-items: flex-start; padding: 24px 18px; }
  .rs-hero h1 { font-size: 24px; }
  .rs-hero-badge { width: auto; height: auto; padding: 12px 18px; border-radius: 12px; display: flex; gap: 8px; align-items: baseline; }
  .rs-hero-badge b { font-size: 26px; }
  .rs-more, .rs-why, .rs-steps { grid-template-columns: 1fr; }
  .rs-wa { flex-direction: column; align-items: stretch; }
  .rs-detail { padding: 16px; }
}

/* Inovasi Jasa Service */
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 20px; }
.inv-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; }
.inv-card.is-soon { background: #f9fafb; }
.inv-head { display: flex; gap: 12px; align-items: center; }
.inv-code { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--pink); color: var(--red); }
.inv-code svg { width: 24px; height: 24px; }
.inv-head h2 { margin: 0; font-size: 17px; }
.inv-head small { color: #6b7280; font-size: 12.5px; }
.inv-status { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 11px; font-weight: 700; white-space: nowrap; }
.is-soon .inv-status { background: #f3f4f6; color: #6b7280; }
.inv-card p { margin: 0; font-size: 14px; color: #4b5563; line-height: 1.6; }
.inv-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: f; font-size: 12px; }
.inv-flow li { counter-increment: f; padding: 4px 10px; border-radius: 999px; background: #f3f4f6; color: #374151; }
.inv-flow li::before { content: counter(f) ". "; font-weight: 700; color: var(--red); }
.inv-card .svc-btn { align-self: flex-start; margin-top: auto; }
