/* ============================================================
   Aurelia Dental — Design System (CSS murni)
   Karakter: modern, elegan, premium, minimalis, mobile-first
   ============================================================ */

:root {
  --white: white;
  --bg: #F0F3F2;
  --bg-soft: #fafcfb;
  --surface: #ffffff;

  --mint-50: #f0faf7;
  --mint-100: #d8f3ea;
  --mint-200: #b3e6d6;
  --mint-300: #7dd3bc;
  --mint-400: #4aba9c;
  --mint-500: #2f9b80;
  --mint-600: #247d68;
  --mint-700: #1f6454;

  --gold-300: #e8d5a8;
  --gold-400: #d4b978;
  --gold-500: #c4a35a;
  --gold-600: #a8863f;

  --text: #1a2e28;
  --text-muted: #353f3c;
  --text-soft: #8a9e97;
  --border: #e2ebe7;
  --border-strong: #c5d5cf;

  --success: #2f9b80;
  --warning: #c4a35a;
  --danger: #c45c5c;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --text-xs: 0.90rem;
  --text-sm: 0.975rem;
  --text-base: 1rem;
  --text-lg: 1.225rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(26, 46, 40, 0.04);
  --shadow: 0 4px 20px rgba(26, 46, 40, 0.06);
  --shadow-lg: 0 12px 40px rgba(26, 46, 40, 0.1);

  --header-h: 72px;
  --container: 1120px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 5.5rem;
  }
}

.section--soft {
  background: var(--bg-soft);
}

.section--mint {
  background: linear-gradient(180deg, var(--mint-50) 0%, var(--bg) 100%);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-600);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

.section-desc {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: var(--text-base);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition),
    box-shadow var(--transition), transform var(--transition),
    border-color var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--mint-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(47, 155, 128, 0.35);
}

.btn--primary:hover {
  background: var(--mint-600);
  box-shadow: 0 6px 18px rgba(47, 155, 128, 0.4);
}

.btn--secondary {
  background: var(--white);
  color: var(--mint-700);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--mint-400);
  background: var(--mint-50);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #3d2f12;
  box-shadow: 0 4px 14px rgba(196, 163, 90, 0.35);
}

.btn--gold:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--mint-700);
  border-color: transparent;
}

.btn--ghost:hover {
  background: var(--mint-200);
}

.btn--lg {
  padding: 0.95rem 1.75rem;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--mint-100);
  color: var(--mint-700);
}

.badge--gold {
  background: #f7f0e0;
  color: var(--gold-600);
}

.badge--soft {
  background: var(--bg-soft);
  color: var(--text-muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition),
    transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--mint-200);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-soft);
  margin-top: 0.35rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--mint-400);
  box-shadow: 0 0 0 3px rgba(47, 155, 128, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-soft);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--danger);
  margin-top: 0.3rem;
  display: none;
}

.form-group.is-invalid .form-input,
.form-group.is-invalid .form-textarea,
.form-group.is-invalid .form-select {
  border-color: var(--danger);
}

.form-group.is-invalid .form-error {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

/* Kiri: logo */
.header-inner > .logo {
  justify-self: start;
}

/* Tengah: menu (benar-benar center container) */
.header-inner > .nav-desktop {
  justify-self: center;
  grid-column: 2;
}

/* Kanan: Booking + hamburger */
.header-inner > .header-actions {
  justify-self: end;
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mint-400), var(--mint-600));
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(47, 155, 128, 0.3);
} */

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.5rem 0.85rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--mint-700);
  background: var(--mint-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* .menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--text);
}

.menu-toggle:hover {
  background: var(--mint-50);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
} */

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--mint-50);
}

.menu-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Ikon → X saat menu terbuka */
body.nav-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.nav-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* .nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
}

.nav-mobile.is-open {
  display: flex;
} */

/* Mobile nav — animasi buka/tutup */
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  padding: 1.25rem 1.5rem 2rem;
  overflow-y: auto;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-mobile a {
  padding: 0.9rem 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    opacity 0.28s ease,
    transform 0.28s ease;
}

.nav-mobile.is-open a {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger link (muncul berurutan) */
.nav-mobile.is-open a:nth-child(1) { transition-delay: 0.04s; }
.nav-mobile.is-open a:nth-child(2) { transition-delay: 0.08s; }
.nav-mobile.is-open a:nth-child(3) { transition-delay: 0.12s; }
.nav-mobile.is-open a:nth-child(4) { transition-delay: 0.16s; }
.nav-mobile.is-open a:nth-child(5) { transition-delay: 0.2s; }
.nav-mobile.is-open a:nth-child(6) { transition-delay: 0.24s; }

.nav-mobile a:hover {
  background: var(--mint-50);
  color: var(--mint-700);
}

.nav-mobile .btn {
  margin-top: 1rem;
}

.nav-mobile a {
  padding: 0.9rem 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--text);
}

.nav-mobile a:hover {
  background: var(--mint-50);
  color: var(--mint-700);
}

.nav-mobile .btn {
  margin-top: 1rem;
}

body.nav-open {
  overflow: hidden;
}

.hero {
  position: relative;
  padding-block: 3.5rem 4rem;
  overflow: hidden;
  background: var(--bg-soft);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(250, 252, 251, 0.97) 0%,
    rgba(250, 252, 251, 0.94) 38%,
    rgba(250, 252, 251, 0.55) 62%,
    rgba(250, 252, 251, 0.22) 100%
  );
}

@media (max-width: 899px) {
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(250, 252, 251, 0.92) 0%,
      rgba(250, 252, 251, 0.78) 55%,
      rgba(250, 252, 251, 0.55) 100%
    );
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

@media (min-width: 900px) {
  .hero {
    padding-block: 5rem 5.5rem;
    min-height: 520px;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-title span {
  color: var(--mint-600);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.hero-trust strong {
  color: var(--text);
}

.stars {
  color: var(--gold-500);
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  min-height: 200px;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 900px) {
  .hero-visual {
    min-height: 380px;
  }
}

@media (max-width: 899px) {
  .hero-visual {
    display: none;
  }
}

.hero-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow);
  font-size: var(--text-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-float--rating {
  top: 1.25rem;
  left: 0;
}

.hero-float--patients {
  bottom: 1.25rem;
  right: 0;
}

/* ---------- Social proof ---------- */
.social-proof {
  padding-block: 1.5rem;
  border-block: 1px solid var(--border);
  background: #fafcfb;
}

.social-proof-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
  align-items: start;
  text-align: center;
}

.sp-item {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.35;
  min-width: 0;
}

.sp-item strong {
  display: block;
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

/* Divider disembunyikan di HP (grid 2×2) */
.sp-divider {
  display: none;
}

/* Tablet+: 4 kolom sejajar + divider */
@media (min-width: 768px) {
  .social-proof-inner {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0 0.5rem;
    align-items: center;
  }

  .sp-item strong {
    font-size: var(--text-xl);
  }

  .sp-divider {
    display: block;
    width: 1px;
    height: 36px;
    background: var(--border);
    margin-inline: 0.75rem;
  }
}

.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--mint-50);
  color: var(--mint-600);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Hanya deskripsi yang melebar — harga tidak */
.service-card > p:not(.service-price) {
  flex: 1 1 auto;
}

.service-price {
  flex: 0 0 auto;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--mint-700);
  margin-bottom: 1rem;
}

.service-price span {
  font-weight: 400;
  color: var(--text-soft);
  font-size: var(--text-xs);
}

.ba-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--mint-400);
  background: var(--mint-50);
  color: var(--mint-700);
}

.ba-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ba-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ba-slider {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  user-select: none;
  cursor: col-resize;
  background: var(--mint-100);
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
}

.ba-before {
  background: linear-gradient(135deg, #d4e5df, #b8d4cb);
  color: var(--mint-700);
}

.ba-after {
  background: linear-gradient(135deg, #e8f5f0, #c5e8db);
  color: var(--mint-600);
  clip-path: inset(0 0 0 50%);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.ba-handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: var(--mint-600);
}

.ba-label {
  position: absolute;
  top: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  z-index: 5;              /* di atas handle (z-index: 2) */
  pointer-events: none;    /* drag slider tetap lancar */
}

.ba-label--before {
  left: 0.75rem;
}

.ba-label--after {
  right: 0.75rem;
}

.ba-meta {
  padding: 1rem 1.25rem;
}

.ba-meta h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ba-meta p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.doctors-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .doctors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doctor-card {
  text-align: center;
  padding: 1.75rem 1.5rem;
}

.doctor-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(145deg, var(--mint-200), var(--mint-400));
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(47, 155, 128, 0.25);
}

.doctor-avatar {
  overflow: hidden; /* potong foto mengikuti lingkaran */
  box-shadow:
    0 0 0 3px #ffffff,          /* ring putih tipis */
    0 0 0 5px rgba(13, 148, 136, 0.22), /* ring mint soft */
    0 8px 20px rgba(15, 43, 40, 0.12);  /* bayangan bawah */
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* wajah tidak terpotong aneh */
  display: block;
}

.doctor-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.doctor-spec {
  font-size: var(--text-sm);
  color: var(--mint-600);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.doctor-exp {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.doctor-card .badge {
  margin-bottom: 1rem;
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.is-featured {
  border-color: var(--mint-300);
  box-shadow: var(--shadow);
}

.price-card.is-featured::before {
  content: "Populer";
  position: absolute;
  top: -0.65rem;
  right: 1.25rem;
  background: var(--gold-500);
  color: #3d2f12;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.price-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.price-amount {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--mint-700);
  margin: 0.75rem 0;
}

.price-amount span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-soft);
}

.price-list {
  flex: 1;
  margin-bottom: 1.25rem;
}

.price-list li {
  font-size: var(--text-base);
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint-500);
  font-weight: 700;
}

.pricing-note {
  padding-top: 50px;
  text-align: center;
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: var(--text-soft);
}

.assess-wrap {
  max-width: 560px;
  margin-inline: auto;
}

.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mint-400), var(--mint-600));
  border-radius: var(--radius-full);
  transition: width 0.35s ease;
  width: 33%;
}

.progress-label {
  font-size: var(--text-xs);
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  text-align: center;
}

.assess-step {
  display: none;
}

.assess-step.is-active {
  display: block;
}

.assess-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.assess-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.assess-success.is-visible {
  display: block;
}

.assess-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--mint-600);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}

.file-drop {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  background: var(--mint-50);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--mint-400);
  background: var(--mint-100);
}

.file-drop input {
  display: none;
}

.file-drop p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.file-name {
  margin-top: 0.5rem;
  font-size: var(--text-xs);
  color: var(--mint-600);
  font-weight: 600;
}

.testimonials-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.testimonial-card {
  flex: 0 0 min(100%, 340px);
  scroll-snap-align: start;
  padding: 1.5rem;
}

.testimonial-stars {
  color: var(--gold-500);
  margin-bottom: 0.75rem;
  font-size: var(--text-sm);
}

.testimonial-card blockquote {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mint-200);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--mint-700);
  font-size: var(--text-sm);
}

.testimonial-author strong {
  display: block;
  font-size: var(--text-sm);
}

.testimonial-author span {
  font-size: var(--text-xs);
  color: var(--text-soft);
}

.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-item {
  padding: 1.5rem;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--mint-50);
  color: var(--mint-600);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.why-item p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.cta-banner {
  background: linear-gradient(135deg, var(--mint-600), var(--mint-700));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 3.5rem 3rem;
  }
}

.cta-banner h2 {
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 420px;
  margin-inline: auto;
}

.cta-banner .btn--primary {
  background: var(--white);
  color: var(--mint-700);
  box-shadow: none;
}

.cta-banner .btn--primary:hover {
  background: var(--mint-50);
}

.cta-banner .btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.cta-banner .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 3.5rem 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: var(--text-sm);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--mint-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: var(--text-xs);
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

.float-wa {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.float-wa:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.float-wa svg {
  width: 28px;
  height: 28px;
}

.mobile-book-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 85;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.mobile-book-bar .btn {
  width: 100%;
}

@media (max-width: 899px) {
  .mobile-book-bar {
    display: block;
  }
  body {
    padding-bottom: 68px;
  }
  .float-wa {
    bottom: 5.5rem;
  }
}

/* Halaman booking: tanpa sticky bar → tanpa gap putih bawah footer */
@media (max-width: 899px) {
  body.page-booking {
    padding-bottom: 0;
  }

  body.page-booking .mobile-book-bar {
    display: none;
  }

  /* WA float kembali ke posisi normal (tidak naik karena bar) */
  body.page-booking .float-wa {
    bottom: 1.5rem;
  }
}

.page-hero {
  padding-block: 2.5rem 2rem;
  background: linear-gradient(180deg, var(--mint-50), var(--bg));
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 480px;
  margin-inline: auto;
}

.booking-shell {
  max-width: 640px;
  margin-inline: auto;
}

.booking-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.booking-step-indicator {
  flex: 1;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-soft);
  position: relative;
  padding-top: 1.5rem;
}

.booking-step-indicator::before {
  content: attr(data-num);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  line-height: 1;
}

.booking-step-indicator.is-active {
  color: var(--mint-700);
  font-weight: 600;
}

.booking-step-indicator.is-active::before {
  background: var(--mint-500);
  color: white;
}

.booking-step-indicator.is-done::before {
  background: var(--mint-500);
  color: white;
  content: "✓";
}

.booking-panel {
  display: none;
}

.booking-panel.is-active {
  display: block;
}

.option-grid {
  display: grid;
  gap: 0.75rem;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-align: left;
  width: 100%;
}

.option-card:hover {
  border-color: var(--mint-300);
  background: var(--mint-50);
}

.option-card.is-selected {
  border-color: var(--mint-500);
  background: var(--mint-50);
  box-shadow: 0 0 0 3px rgba(47, 155, 128, 0.12);
}

.option-card strong {
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 0.15rem;
}

.option-card span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .slot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.slot-btn {
  padding: 0.65rem 0.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: all var(--transition);
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--mint-400);
  background: var(--mint-50);
}

.slot-btn.is-selected {
  border-color: var(--mint-500);
  background: var(--mint-500);
  color: white;
}

.slot-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.booking-summary {
  background: var(--mint-50);
  border: 1px solid var(--mint-100);
  border-radius: var(--radius);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
  font-size: var(--text-sm);
}

.booking-summary dt {
  color: var(--text-soft);
  font-size: var(--text-xs);
  margin-top: 0.5rem;
}

.booking-summary dt:first-child {
  margin-top: 0;
}

.booking-summary dd {
  font-weight: 600;
  color: var(--text);
}

.booking-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.info-list {
  display: grid;
  gap: 1rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--mint-50);
  color: var(--mint-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.map-placeholder {
  border-radius: var(--radius-lg);
  background: var(--mint-100);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: var(--mint-700);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1px solid var(--border);
}

.toast {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  max-width: 90vw;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}

:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline-offset: 3px;
}

/* Placeholder slot / alert dokter libur */
#slot-placeholder {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #5f7d78;
}

#slot-placeholder.is-unavailable {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
}

#slot-placeholder .slot-alert {
  margin: 0;
  line-height: 1.5;
  font-size: 0.9rem;
}

#slot-placeholder .slot-alert strong {
  display: inline-block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  color: #b45309;
}

#slot-placeholder.is-unavailable {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
}
#slot-placeholder.is-clinic-closed {
  background: #fee2e2;
  border-color: #ef4444;
  color: #991b1b;
}
#slot-placeholder .slot-alert { margin: 0; line-height: 1.5; font-size: 0.9rem; }
#slot-placeholder.is-unavailable .slot-alert strong { color: #b45309; }
#slot-placeholder.is-clinic-closed .slot-alert strong { color: #b91c1c; }

/* ========== Kontak: 2 kolom desktop, stack HP ========== */
.contact-section {
  padding-top: 2rem;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

/* Desktop / layar lebar: info | peta */
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 1.75rem;
  }
}

.contact-card {
  padding: 1.5rem 1.35rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-ico {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--mint-50, #f0fdfa);
  color: var(--mint-700, #0f766e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-row strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text, #0f2b28);
}

.contact-row p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted, #5f7d78);
  line-height: 1.45;
}

.contact-row a {
  color: var(--mint-600, #0d9488);
  text-decoration: none;
  font-weight: 500;
}

.contact-row a:hover {
  text-decoration: underline;
}

.contact-actions {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line, #dfe9e6);
  background: #e8eeec;
  min-height: 280px;
  height: 100%;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

@media (min-width: 900px) {
  .contact-map {
    min-height: 360px;
  }
  .contact-map iframe {
    min-height: 360px;
  }
}

.ba-before,
.ba-after {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Halaman Tentang Background full sampai nabrak footer */
body.page-about {
  background-image: url("../assets/about-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Overlay putih soft di seluruh halaman (kecuali footer) */
body.page-about::before {
  content: "";
  position: fixed; /* atau absolute jika prefer */
  inset: 0;
  background: rgba(255, 255, 255, 0.5); /* set ke 0.5 aja */
  pointer-events: none;
  z-index: 0;
}

body.page-about .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

body.page-about main,
body.page-about .site-footer {
  position: relative;
  z-index: 1;
}

/* Main mengisi sisa tinggi layar → tidak ada “lubang” putih */
body.page-about main.about-page,
body.page-about main {
  min-height: calc(100vh - 200px); /* kira-kira header + footer */
  background: transparent; /* jangan putih solid lagi */
}

/* Hero jangan tutup BG */
body.page-about .page-hero {
  background: transparent;
  border: none;
}

/* Footer tetap solid hijau, tidak tembus foto */
body.page-about .site-footer {
  background: var(--text);
}

/* Card di halaman Tentang: lebih menonjol di atas BG *PENTING*/
body.page-about .card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1.5px rgba(15, 43, 40, 0.04),
    0 10px 28px rgba(15, 43, 40, 0.1),
    0 2px 6px rgba(15, 43, 40, 0.06);
}

body.page-about .card:hover {
  box-shadow: var(--shadow);
  border-color: var(--mint-200);
  /* transform: translateY(-2px);
  transition: box-shadow 0.2s ease, transform 0.2s ease; */
}

/* Halaman Layanan — background full */
body.page-layanan {
  background-image: url("../assets/about-bg.jpg"); /* atau assets/layanan-bg.jpg */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

body.page-layanan::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 0;
}

body.page-layanan .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

body.page-layanan main,
body.page-layanan .site-footer {
  position: relative;
  z-index: 1;
}

body.page-layanan main {
  min-height: calc(100vh - 200px);
  background: transparent;
}

body.page-layanan .page-hero {
  background: transparent;
  border: none;
}

body.page-layanan .site-footer {
  background: var(--text); /* samakan dengan footer Tentang */
}

/* Card layanan kontras di atas BG */
body.page-layanan .card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(15, 43, 40, 0.04),
    0 10px 28px rgba(15, 43, 40, 0.1),
    0 2px 6px rgba(15, 43, 40, 0.06);
}

body.page-layanan .card:hover {
  box-shadow: var(--shadow);
  border-color: var(--mint-200);
  /* transform: translateY(-2px);
  transition: box-shadow 0.2s ease, transform 0.2s ease; */
}

/* Avatar di opsi booking dokter */
.option-card--dokter {
  align-items: center; /* foto & teks sejajar tengah */
}

.option-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mint-100, #ccfbf1);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px rgba(13, 148, 136, 0.2);
}

.option-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.option-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.option-text strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--text);
  margin-bottom: 0.15rem;
}

.option-text span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.logo-img {
  display: block;
  height: 36px;      /* sesuaikan */
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-img {
    height: 40px;
  }
}

/* Footer: sedikit lebih kecil opsional */
.site-footer .logo-img {
  height: 32px;
}

@media (max-width: 899px) {
  .nav-desktop {
    display: none;
  }

  /* HP: logo kiri, aksi kanan — 2 kolom */
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-inner > .header-actions {
    grid-column: 2;
  }
}

/* Desktop only: harga sejajar antar kartu
@media (min-width: 768px) {
  .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .service-card {
    flex: 1 1 auto;
  }

  .service-card p {
    flex: 1 1 auto;
  }

  .service-card .service-price {
    margin-top: auto;
  }
} */