/* Klinik Tumbuh Kembang Anak Ceria — style.css */
:root {
  --primary: #f57c00;
  --primary-dark: #e65100;
  --primary-light: #ff9800;
  --accent: #ffe0b2;
  --accent2: #fff3e0;
  --bg: #fff8f0;
  --text: #1a1200;
  --text-muted: #6d5a2c;
  --white: #ffffff;
  --border: #f0d9b5;
  --success: #43a047;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(245,124,0,0.10);
  --shadow-lg: 0 8px 32px rgba(245,124,0,0.15);
  --font: -apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  padding-top: 37px; /* for demo bar */
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.25; }

/* DEMO BAR */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
}
.demo-bar a { color: var(--accent); font-weight: 600; }
.demo-bar a:hover { color: #fff; }

/* HEADER */
header {
  background: var(--white);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 37px;
  z-index: 900;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  color: var(--primary);
  text-decoration: none;
}
.logo-icon {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo span { color: var(--text); font-size: 13px; font-weight: 500; display: block; }

/* CHECKBOX NAV */
#nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-label span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .3s;
}
nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
nav ul li a {
  display: block;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background .2s, color .2s;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--accent);
  color: var(--primary-dark);
  text-decoration: none;
}
nav ul li a.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
}
nav ul li a.btn-nav:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
  padding: 60px 20px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  background: var(--primary);
  opacity: .05;
  border-radius: 50%;
}
.hero-inner {
  max-width: 900px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-wa {
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-wa:hover { background: #128c7e; color: #fff; text-decoration: none; }

/* HERO SVG */
.hero-visual {
  margin: 36px auto 0;
  max-width: 420px;
}

/* SECTIONS */
section { padding: 56px 20px; }
.section-inner { max-width: 1100px; margin: auto; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: auto;
  font-size: 15px;
}

/* LAYANAN GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.service-card p { font-size: 13px; color: var(--text-muted); }

/* ABOUT STRIP */
.about-strip {
  background: var(--primary);
  color: #fff;
  padding: 48px 20px;
}
.about-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-inner h2 { font-size: clamp(20px, 3.5vw, 30px); font-weight: 800; margin-bottom: 12px; }
.about-inner p { opacity: .9; margin-bottom: 20px; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-box {
  background: rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.stat-box strong { display: block; font-size: 28px; font-weight: 900; }
.stat-box span { font-size: 12px; opacity: .85; }

/* TIM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  transition: transform .2s;
}
.team-card:hover { transform: translateY(-3px); }
.avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}
.team-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.team-card p { font-size: 12px; color: var(--text-muted); }

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  padding: 56px 20px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(20px, 4vw, 30px); font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); margin-bottom: 24px; }
.cta-band .hero-btns { justify-content: center; }

/* BPJS STRIP */
.bpjs-strip {
  background: var(--white);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  padding: 28px 20px;
  text-align: center;
}
.bpjs-strip p { font-size: 15px; color: var(--text-muted); }
.bpjs-strip strong { color: var(--primary); }

/* LAYANAN PAGE */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.layanan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.layanan-card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.layanan-card h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.layanan-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.layanan-card ul { padding-left: 4px; }
.layanan-card ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 3px 0;
  padding-left: 18px;
  position: relative;
}
.layanan-card ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
.price-card.featured {
  border-color: var(--primary);
  transform: scale(1.03);
}
.price-card .price-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.price-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.price-card .price { font-size: 26px; font-weight: 900; color: var(--primary-dark); margin-bottom: 4px; }
.price-card .price small { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.price-card p { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.price-card ul { text-align: left; margin-bottom: 18px; }
.price-card ul li {
  font-size: 13px;
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--text-muted);
}
.price-card ul li::before {
  content: '●';
  position: absolute; left: 0;
  color: var(--primary);
  font-size: 9px;
  top: 7px;
}

/* JADWAL TABLE */
.jadwal-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 560px;
}
th {
  background: var(--primary);
  color: #fff;
  padding: 12px 10px;
  text-align: left;
  font-weight: 700;
}
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tr:nth-child(even) td { background: var(--accent2); }
.slot-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  margin: 2px 2px 2px 0;
}
.slot-badge.full {
  background: #fbe9e7;
  color: #bf360c;
}

/* FORM */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  max-width: 680px;
  margin: auto;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-success {
  background: #e8f5e9;
  color: var(--success);
  border: 1.5px solid #a5d6a7;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

/* KONTAK */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  margin-bottom: 20px;
}
.info-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.info-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-row p { font-size: 13px; color: var(--text-muted); }
.info-row strong { color: var(--text); font-size: 14px; }
.map-css {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  border: 2px dashed #a5d6a7;
  margin-top: 8px;
}
.map-css p { color: #388e3c; font-weight: 600; margin-top: 8px; }

/* PROFIL DOKTER */
.dokter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.dokter-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  text-align: center;
}
.dokter-card .avatar-lg {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  border: 4px solid var(--accent);
}
.dokter-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.dokter-card .role { font-size: 13px; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.dokter-card .detail { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.dokter-card .tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.tag {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.jadwal-dokter {
  margin-top: 12px;
  font-size: 12px;
  background: var(--accent2);
  border-radius: var(--radius);
  padding: 10px 12px;
  text-align: left;
}
.jadwal-dokter strong { color: var(--primary-dark); }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  padding: 48px 20px 36px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(22px, 4vw, 36px); font-weight: 900; color: var(--primary-dark); margin-bottom: 10px; }
.page-hero p { color: var(--text-muted); max-width: 520px; margin: auto; }

/* FOOTER */
footer {
  background: var(--text);
  color: rgba(255,255,255,.8);
  padding: 44px 20px 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand { }
.footer-brand .logo { color: var(--accent); margin-bottom: 10px; }
.footer-brand p { font-size: 13px; opacity: .75; }
footer h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,.7); font-size: 13px; }
footer ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1100px;
  margin: auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  text-align: center;
  font-size: 12px;
  opacity: .6;
}

/* ALERT BOXES */
.alert {
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  margin-bottom: 20px;
}
.alert-info { background: var(--accent2); border-left: 4px solid var(--primary); color: var(--text-muted); }
.alert-success { background: #e8f5e9; border-left: 4px solid #43a047; color: #2e7d32; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-label { display: flex; }
  nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--accent);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  #nav-toggle:checked ~ nav {
    max-height: 400px;
  }
  nav ul {
    flex-direction: column;
    padding: 12px 20px 20px;
    align-items: stretch;
    gap: 2px;
  }
  nav ul li a { padding: 10px 14px; }
  .about-inner { grid-template-columns: 1fr; }
  .kontak-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .header-inner { position: relative; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero { padding: 40px 16px 36px; }
  section { padding: 40px 16px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
