/* Klinik THT Pendengaran Sehat — style.css */
:root {
  --primary: #00695c;
  --primary-dark: #004d40;
  --primary-light: #00897b;
  --accent: #80cbc4;
  --accent-light: #b2dfdb;
  --bg: #e0f2f1;
  --bg-white: #ffffff;
  --text: #0a1f1e;
  --text-muted: #4a7c78;
  --text-light: #6b9e99;
  --border: #b2dfdb;
  --shadow: 0 2px 12px rgba(0,105,92,0.10);
  --shadow-md: 0 4px 24px rgba(0,105,92,0.15);
  --radius: 10px;
  --radius-lg: 18px;
  --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);
  line-height: 1.6;
  font-size: 16px;
  padding-top: 90px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
ul { list-style: none; }

/* Demo Bar */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 7px 16px;
  font-size: 13px;
}
.demo-bar a { color: var(--accent); text-decoration: underline; }
.demo-bar a:hover { color: #fff; }

/* Header & Nav */
header {
  position: fixed;
  top: 32px; left: 0; right: 0;
  z-index: 9000;
  background: var(--bg-white);
  border-bottom: 2px solid var(--accent-light);
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--primary);
  line-height: 1.2;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo span { font-size: 13px; color: var(--text-muted); font-weight: 400; display: block; }

/* Checkbox hack nav */
#nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-label span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .25s;
}
nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
nav ul li a {
  display: block;
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background .2s, color .2s;
}
nav ul li a:hover, nav ul li a.active {
  background: var(--bg);
  color: var(--primary);
}
.nav-cta a {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 8px 16px !important;
}
.nav-cta a:hover { background: var(--primary-dark) !important; }

/* Mobile Nav */
@media (max-width: 768px) {
  body { padding-top: 90px; }
  .nav-label { display: flex; }
  nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  #nav-toggle:checked ~ nav { max-height: 400px; }
  nav ul { flex-direction: column; gap: 0; padding: 12px 16px; }
  nav ul li { width: 100%; }
  nav ul li a { width: 100%; }
  .nav-label span:nth-child(1) { transition: all .25s; }
  .nav-label span:nth-child(3) { transition: all .25s; }
  #nav-toggle:checked ~ .nav-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .nav-label span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .nav-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Sections & Layout */
main { min-height: 60vh; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
section:nth-child(even) { background: var(--bg-white); }

.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: clamp(22px, 4vw, 32px);
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--accent) 100%);
  color: #fff;
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 300px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero p { font-size: 17px; opacity: .9; margin-bottom: 28px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
}
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg); color: var(--primary-dark); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover { background: var(--accent-light); }
.hero-svg { flex: 0 0 220px; display: flex; justify-content: center; }
@media (max-width: 600px) { .hero-svg { display: none; } }

/* Stats bar */
.stats-bar {
  background: var(--primary-dark);
  padding: 20px 0;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 8px;
  justify-content: space-around;
  flex-wrap: wrap;
}
.stat-item { text-align: center; color: #fff; padding: 8px 16px; }
.stat-item strong { display: block; font-size: 26px; font-weight: 800; color: var(--accent); }
.stat-item span { font-size: 13px; opacity: .85; }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 14px; }

/* Layanan section */
.layanan-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }
.tab-btn {
  padding: 9px 20px;
  border-radius: 25px;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.layanan-list { display: grid; gap: 16px; }
.layanan-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.layanan-item .li-icon {
  width: 44px; height: 44px;
  background: var(--bg);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.layanan-item .li-info { flex: 1; }
.layanan-item h4 { color: var(--primary); font-size: 16px; margin-bottom: 4px; }
.layanan-item p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.layanan-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.layanan-meta span {
  font-size: 13px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
}
.price-tag { color: var(--primary) !important; font-weight: 700 !important; font-size: 14px !important; }

/* Dokter */
.dokter-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s;
}
.dokter-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dokter-avatar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.avatar-shape {
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255,255,255,0.5);
}
.dokter-body { padding: 22px; }
.dokter-body h3 { color: var(--primary); font-size: 18px; margin-bottom: 4px; }
.dokter-body .spesialis { color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.dokter-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.badge-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.badge {
  background: var(--bg);
  color: var(--primary);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid var(--border);
}
.jadwal-dokter { margin-top: 14px; }
.jadwal-dokter h4 { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.jadwal-row {
  display: flex; gap: 8px;
  font-size: 13px;
  margin-bottom: 4px;
  align-items: center;
}
.jadwal-row .day { color: var(--text-muted); width: 80px; flex-shrink: 0; }
.jadwal-row .time { color: var(--primary); font-weight: 600; }

/* Jadwal Table */
.jadwal-wrap { overflow-x: auto; }
.jadwal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.jadwal-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
}
.jadwal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}
.jadwal-table tr:last-child td { border-bottom: none; }
.jadwal-table tr:hover td { background: var(--bg); }
.sesi-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.sesi-pagi { background: #fff9c4; color: #795548; }
.sesi-sore { background: #e8f5e9; color: #2e7d32; }
.kuota-tag { color: var(--text-muted); font-size: 13px; }

/* Form */
.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  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: 100px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; text-align: center; padding: 13px; font-size: 16px; }
.radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; cursor: pointer; }

/* Alat / Equipment */
.alat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.alat-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.alat-card .alat-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--bg), var(--accent-light));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.alat-card h4 { color: var(--primary); font-size: 15px; margin-bottom: 6px; }
.alat-card p { color: var(--text-muted); font-size: 13px; }

/* Info cards */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.info-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.info-card .ic-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.info-card .ic-header .ic-icon {
  width: 40px; height: 40px;
  background: var(--bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-card .ic-header h4 { font-size: 15px; color: var(--primary); }
.info-card p, .info-card li { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.info-card ul { padding-left: 16px; list-style: disc; }

/* Map CSS */
.peta-css {
  background: linear-gradient(145deg, #c8e6c9, #b2dfdb);
  border-radius: var(--radius-lg);
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.peta-css::before {
  content: '';
  position: absolute;
  width: 160px; height: 2px;
  background: rgba(0,0,0,0.15);
  top: 50%;
}
.peta-css::after {
  content: '';
  position: absolute;
  width: 2px; height: 160px;
  background: rgba(0,0,0,0.15);
  left: 50%;
}
.peta-pin {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1;
  position: relative;
}
.peta-pin::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-section h2 { font-size: clamp(22px,4vw,34px); margin-bottom: 14px; }
.cta-section p { opacity: .9; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testi-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.testi-stars { color: #f4a800; font-size: 18px; margin-bottom: 10px; }
.testi-card p { color: var(--text-muted); font-size: 14px; font-style: italic; margin-bottom: 14px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.testi-author .name { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-author .since { font-size: 12px; color: var(--text-muted); }

/* Notice box */
.notice {
  background: #fff8e1;
  border-left: 4px solid #f4a800;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #5d4037;
  margin: 16px 0;
}

/* BPJS Banner */
.bpjs-banner {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.bpjs-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bpjs-text h3 { font-size: 18px; margin-bottom: 6px; }
.bpjs-text p { font-size: 14px; opacity: .9; }

/* Footer */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.footer-col h4 { color: var(--accent); font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col p, .footer-col li { font-size: 14px; line-height: 1.8; }
.footer-col a { color: rgba(255,255,255,.75); }
.footer-col a:hover { color: var(--accent); }
.footer-col ul li { padding: 2px 0; }
.footer-bottom {
  text-align: center;
  padding: 18px 16px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 28px;
  font-size: 13px;
  opacity: .65;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo .fl-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 44px 0 36px;
  text-align: center;
}
.page-banner h1 { font-size: clamp(24px,4vw,38px); margin-bottom: 10px; }
.page-banner p { font-size: 16px; opacity: .9; }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 0; }

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.gap-8 { gap: 8px; }

/* Highlight box */
.highlight-box {
  background: var(--bg);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.highlight-box h4 { color: var(--primary); margin-bottom: 8px; }
.highlight-box p { color: var(--text-muted); font-size: 14px; }

/* 2-col layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }
