/* ============================================
   dr. Guntur Surya — Website Stylesheet
   Navy Royal + Gold · Premium Medical
   ============================================ */

:root {
  --navy: #1A2B4A;
  --navy-light: #223460;
  --navy-dark: #111d33;
  --gold: #C9A84C;
  --gold-light: #dfc06e;
  --gold-pale: #f5edda;
  --white: #FFFFFF;
  --bg: #F4F6FA;
  --bg2: #eef1f7;
  --text: #1a1a2e;
  --text-muted: #5a6580;
  --text-light: #8a94aa;
  --border: #dde3f0;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26,43,74,0.10);
  --shadow-lg: 0 12px 48px rgba(26,43,74,0.16);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex; align-items: center; gap: 0;
  height: 72px;
}
.logo {
  display: flex; align-items: baseline; gap: 0;
  flex-shrink: 0; margin-right: auto;
}
.logo-dr { font-family: var(--font-body); font-size: 15px; color: var(--gold); font-weight: 600; margin-right: 6px; }
.logo-name { font-family: var(--font-body); font-size: 15px; color: var(--gold); font-weight: 600; letter-spacing: 0.01em; }
.logo-cred { font-family: var(--font-body); font-size: 15px; color: var(--gold); font-weight: 600; letter-spacing: 0.01em; margin-left: 6px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links li { position: relative; }
.nav-links a {
  display: block; padding: 8px 12px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.85);
  border-radius: 6px; transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links .dropdown:hover > a { color: #fff; }
/* Saat di-scroll (navbar solid navy): link & active jadi gold */
.navbar.scrolled .nav-links a { color: rgba(255,255,255,0.85); }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active,
.navbar.scrolled .nav-links .dropdown:hover > a { color: var(--gold); }

.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  padding-top: 8px;
  background: transparent;
  min-width: 220px;
}
.dropdown-menu-inner {
  background: var(--navy-dark); border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  padding: 10px 18px; font-size: 13px; border-radius: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: rgba(201,168,76,0.1); color: var(--gold); }

.btn-wa {
  display: flex; align-items: center; gap: 7px;
  background: var(--gold); color: var(--navy) !important;
  padding: 9px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600; margin-left: 16px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-wa:hover { background: var(--gold-light); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e3a6e 100%);
  display: flex; align-items: center; overflow: hidden;
  padding: 100px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 40%);
}
.hero-bg::after {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  right: -100px; top: -100px;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 50%;
}
.hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; z-index: 1; width: 100%; }
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 58px); line-height: 1.15; color: var(--white); font-weight: 700; margin-bottom: 20px; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.75; max-width: 520px; margin-bottom: 28px; }
.hero-creds { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.cred-badge {
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light); font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: 20px; letter-spacing: 0.04em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  padding: 13px 26px; border-radius: 9px; font-weight: 700; font-size: 15px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.45); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.9);
  padding: 13px 26px; border-radius: 9px; font-weight: 500; font-size: 15px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-photo { display: flex; justify-content: center; }
.photo-frame {
  position: relative; width: 380px; max-width: 100%;
}
.photo-frame img {
  width: 100%; border-radius: var(--radius-lg);
  border: 3px solid rgba(201,168,76,0.3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  object-fit: cover;
}
.photo-badge {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  padding: 10px 20px; border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap; box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.badge-num { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.badge-label { font-size: 11px; font-weight: 600; line-height: 1.3; max-width: 140px; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.5)); margin: 0 auto; animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ============ STATS BAR ============ */
.stats-bar { background: var(--navy); padding: 40px 0; }
.stats-inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat-item-legacy { text-align: center; padding: 12px 40px; flex: 1; min-width: 180px; }
.stat-divider { width: 1px; height: 48px; background: rgba(201,168,76,0.2); flex-shrink: 0; }

/* ============ SECTIONS GENERAL ============ */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(28px,4vw,42px); color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-header p { font-size: 16px; color: var(--text-muted); line-height: 1.75; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.7); }
.section-eyebrow.light { color: var(--gold-light); }

/* ============ LAYANAN ============ */
.section-layanan { padding: 100px 0; background: var(--bg); }
.layanan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.layanan-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px; border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.layanan-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; transition: background var(--transition);
}
.layanan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(201,168,76,0.3); }
.layanan-card:hover::before { background: var(--gold); }
.layanan-card.featured { border-color: rgba(201,168,76,0.25); background: linear-gradient(135deg, #fff 80%, var(--gold-pale) 100%); }
.layanan-card.featured::before { background: var(--gold); }
.layanan-icon { width: 56px; height: 56px; background: var(--bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--navy); }
.layanan-card.featured .layanan-icon { background: rgba(201,168,76,0.12); color: var(--gold); }
.layanan-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.layanan-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.layanan-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.layanan-points { margin-bottom: 24px; }
.layanan-points li { font-size: 13.5px; color: var(--text); padding: 4px 0 4px 20px; position: relative; }
.layanan-points li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; font-size: 12px; }
.layanan-link { font-size: 13.5px; font-weight: 600; color: var(--navy); transition: color var(--transition); }
.layanan-link:hover { color: var(--gold); }

/* ============ PROFIL ============ */
.section-profil { padding: 100px 0; background: var(--white); }
.profil-inner { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: center; }
.profil-photo-wrap { position: relative; }
.profil-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }
.profil-credential-cards { position: absolute; right: -32px; bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.cred-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); min-width: 220px;
  border-left: 3px solid var(--gold);
}
.cred-icon { font-size: 22px; flex-shrink: 0; }
.cred-title { font-size: 13px; font-weight: 600; color: var(--navy); }
.cred-sub { font-size: 11.5px; color: var(--text-muted); }
.profil-text .section-eyebrow { text-align: left; display: block; }
.profil-text h2 { font-family: var(--font-display); font-size: clamp(28px,3.5vw,40px); color: var(--navy); line-height: 1.2; margin-bottom: 20px; }
.profil-text p { font-size: 15.5px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.profil-highlights { display: flex; gap: 32px; margin: 28px 0 32px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.highlight-item { display: flex; flex-direction: column; gap: 4px; }
.hl-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--gold); }
.hl-text { font-size: 13px; color: var(--text-muted); max-width: 140px; line-height: 1.4; }
.btn-outline-navy { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--navy); color: var(--navy); padding: 11px 22px; border-radius: 9px; font-weight: 600; font-size: 14px; transition: all var(--transition); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ============ KONDISI ============ */
.section-kondisi { padding: 100px 0; background: var(--navy); }
.kondisi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.kondisi-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg); padding: 40px 36px;
  transition: background var(--transition), transform var(--transition);
}
.kondisi-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.kondisi-num { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: rgba(201,168,76,0.2); margin-bottom: 12px; line-height: 1; }
.kondisi-card h3 { font-family: var(--font-display); font-size: 26px; color: var(--white); margin-bottom: 20px; }
.kondisi-gejala { margin-bottom: 20px; }
.gejala-title { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.kondisi-gejala ul li { font-size: 14px; color: rgba(255,255,255,0.75); padding: 5px 0 5px 18px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.06); }
.kondisi-gejala ul li:last-child { border-bottom: none; }
.kondisi-gejala ul li::before { content: '›'; position: absolute; left: 0; color: var(--gold); font-size: 16px; }
.kondisi-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 24px; }
.kondisi-card .layanan-link { color: var(--gold-light); }
.kondisi-card .layanan-link:hover { color: var(--white); }

/* ============ TESTIMONI ============ */
.section-testimoni { padding: 100px 0; background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1px solid var(--border);
  box-shadow: var(--shadow); position: relative;
}
.testi-card::after {
  content: '"'; position: absolute; top: 20px; right: 24px;
  font-family: var(--font-display); font-size: 72px; color: rgba(201,168,76,0.1);
  line-height: 1;
}
.testi-stars { color: var(--gold); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 14.5px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.testi-kondisi { font-size: 12px; color: var(--gold); margin-top: 2px; }

/* ============ FAQ ============ */
.section-faq { padding: 100px 0; background: var(--white); }
.faq-grid { max-width: 800px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 28px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--navy);
  transition: background var(--transition);
}
.faq-q:hover { background: var(--bg); }
.faq-item.open .faq-q { background: var(--bg); color: var(--gold); }
.faq-icon { font-size: 22px; color: var(--gold); font-weight: 300; flex-shrink: 0; transition: transform var(--transition); }
.faq-a { display: none; padding: 0 28px 20px; font-size: 14.5px; color: var(--text-muted); line-height: 1.8; border-top: 1px solid var(--border); padding-top: 16px; }
.faq-item.open .faq-a { display: block; }
.faq-cta { text-align: center; }
.faq-cta p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }

/* ============ JADWAL ============ */
.section-jadwal { padding: 80px 0; background: var(--navy); }
.jadwal-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.jadwal-text .section-eyebrow { text-align: left; display: block; }
.jadwal-text h2 { font-family: var(--font-display); font-size: 34px; color: var(--white); margin-bottom: 10px; }
.jadwal-text p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 28px; line-height: 1.6; }
.btn-outline-white { display: inline-flex; align-items: center; border: 1.5px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.9); padding: 11px 22px; border-radius: 9px; font-weight: 500; font-size: 14px; transition: all var(--transition); }
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }
.jadwal-table { width: 100%; border-collapse: collapse; }
.jadwal-table tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.jadwal-table tr:last-child { border-bottom: none; }
.jadwal-table td { padding: 12px 16px; font-size: 14px; color: rgba(255,255,255,0.8); }
.jadwal-table .hari { font-weight: 600; color: var(--gold); width: 110px; }

/* ============ CTA BOTTOM ============ */
.section-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  text-align: center;
}
.cta-inner { max-width: 660px; margin: 0 auto; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(28px,4vw,42px); color: var(--white); margin-bottom: 16px; }
.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.72); line-height: 1.75; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary-lg {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy);
  padding: 16px 32px; border-radius: 10px; font-weight: 700; font-size: 16px;
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
  transition: background var(--transition), transform var(--transition);
}
.btn-primary-lg:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline-white-lg { display: inline-flex; align-items: center; border: 2px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.9); padding: 16px 32px; border-radius: 10px; font-weight: 500; font-size: 16px; transition: all var(--transition); }
.btn-outline-white-lg:hover { border-color: var(--gold); color: var(--gold); }

/* ============ FOOTER ============ */
.footer { background: var(--navy-dark); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 320px 1fr; gap: 60px; padding-bottom: 48px; }
.footer-logo { font-family: var(--font-display); font-size: 18px; color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
.footer-sosmed { display: flex; gap: 12px; }
.footer-sosmed a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: background var(--transition), color var(--transition); }
.footer-sosmed a:hover { background: rgba(201,168,76,0.2); color: var(--gold); }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.35); line-height: 1.8; }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ============ WA FLOAT ============ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ PAGE INNER (sub-pages) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 140px 0 80px; text-align: center;
}
.page-hero .page-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(32px,5vw,52px); color: var(--white); margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.7); max-width: 620px; margin: 0 auto; line-height: 1.75; }
.page-content { padding: 80px 0; }
.page-content h2 { font-family: var(--font-display); font-size: 30px; color: var(--navy); margin-bottom: 16px; }
.page-content h3 { font-family: var(--font-display); font-size: 22px; color: var(--navy); margin: 32px 0 12px; }
.page-content p { font-size: 15.5px; color: var(--text-muted); line-height: 1.85; margin-bottom: 16px; }
.page-content ul { margin: 12px 0 20px; }
.page-content ul li { font-size: 15px; color: var(--text-muted); padding: 6px 0 6px 20px; position: relative; border-bottom: 1px solid var(--border); }
.page-content ul li:last-child { border-bottom: none; }
.page-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.sidebar { position: sticky; top: 100px; }
.sidebar-card { background: var(--bg); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); margin-bottom: 20px; }
.sidebar-card h4 { font-family: var(--font-display); font-size: 17px; color: var(--navy); margin-bottom: 12px; }
.sidebar-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.sidebar-card .btn-primary { width: 100%; justify-content: center; }
.keunggulan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.keunggulan-item { background: var(--bg); border-radius: var(--radius); padding: 18px; border-left: 3px solid var(--gold); }
.keunggulan-item strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.keunggulan-item span { font-size: 13px; color: var(--text-muted); }

/* ============ JADWAL PAGE ============ */
.jadwal-page-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.jadwal-page-table thead { background: var(--navy); }
.jadwal-page-table thead th { padding: 16px 24px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); text-align: left; letter-spacing: 0.05em; }
.jadwal-page-table tbody tr { border-bottom: 1px solid var(--border); }
.jadwal-page-table tbody tr:nth-child(even) { background: var(--bg); }
.jadwal-page-table tbody td { padding: 16px 24px; font-size: 15px; }
.jadwal-page-table .td-hari { font-weight: 700; color: var(--navy); }
.jadwal-page-table .td-jam { color: var(--gold); font-weight: 600; }
.jadwal-page-table .td-status { }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #27ae60; }
.status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #27ae60; }

/* ============ ARTIKEL ============ */
.artikel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.artikel-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.artikel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.artikel-thumb { height: 180px; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 48px; }
.artikel-body { padding: 24px; }
.artikel-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.artikel-card h3 { font-family: var(--font-display); font-size: 17px; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.artikel-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.artikel-meta { font-size: 12px; color: var(--text-light); }

/* ============ RESPONSIVE ============ */
/* Kondisi cards grid: responsive 3 -> 2 -> 1 columns */
.kondisi-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Layanan rows: 2-col on desktop, stack on mobile */
.layanan-row { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: stretch; }
.layanan-row-rev { grid-template-columns: 340px 1fr; }
.layanan-media { position: relative; overflow: hidden; border-radius: inherit; min-height: 260px; }
.layanan-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.konsul-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.konsul-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 1024px) {
  .kondisi-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-photo { display: none; } /* old hero hidden */
  .hero-cta { justify-content: center; }
  .hero-creds { justify-content: center; }
  .profil-inner { grid-template-columns: 1fr; }
  .profil-credential-cards { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 16px; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .kondisi-cards-grid { grid-template-columns: 1fr; }
  .layanan-row, .layanan-row-rev { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px !important; }
  .layanan-img { position: static; height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .layanan-media { position: static; min-height: 0; }
  .layanan-row-rev { display: flex; flex-direction: column; }
  .layanan-row-rev > div:first-child { order: 2; }
  .layanan-row-rev > div:last-child { order: 1; }
  .konsul-block { grid-template-columns: 1fr; gap: 28px; }
  .konsul-tools { gap: 12px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy-dark); padding: 16px; gap: 2px; z-index: 1000; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .dropdown-menu { position: static; display: none; background: rgba(255,255,255,0.05); box-shadow: none; border: none; border-radius: 0; }
  .dropdown.open .dropdown-menu { display: block; }
  .hamburger { display: flex; }
  .btn-wa { display: none; }
  .layanan-grid { grid-template-columns: 1fr; }
  .kondisi-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 0; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { min-width: 50%; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .jadwal-inner { grid-template-columns: 1fr; }
  .artikel-grid { grid-template-columns: 1fr !important; }
  .keunggulan-grid { grid-template-columns: 1fr; }
  .profil-credential-cards { right: 0; position: static; flex-direction: row; flex-wrap: wrap; margin-top: 16px; }
  /* Article page — hide sidebar on mobile */
  .page-content > .container > div[style*="grid-template-columns:1fr 300px"] { display: block !important; }
  /* Sub-page layanan rows */
  div[style*="grid-template-columns:1fr 320px"],
  div[style*="grid-template-columns:320px 1fr"] { display: block !important; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 0 48px; }
  .section-layanan, .section-profil, .section-kondisi, .section-testimoni, .section-faq, .section-cta { padding: 72px 0; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ============ IMAGE PLACEHOLDERS ============ */
.img-placeholder {
  background: var(--bg2);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 13px;
  text-align: center;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.img-placeholder svg { color: var(--border); }
.img-placeholder span { font-weight: 500; color: var(--text-muted); }
.img-placeholder small { font-size: 11.5px; color: var(--text-light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.gallery-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.gallery-item { position: relative; }
.gallery-item .img-placeholder { min-height: 180px; }
.gallery-caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
  align-items: start;
}
.cert-item .img-placeholder { min-height: 220px; }

.hero-illustration {
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius-lg);
  margin: 28px 0;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
}

/* ============ ARTICLE PAGE ============ */
.article-body h2 { font-family: var(--font-display) !important; font-size: 26px !important; color: var(--navy) !important; margin: 36px 0 14px !important; padding-bottom: 10px; border-bottom: 2px solid var(--gold-pale); }
.article-body h3 { font-family: var(--font-display) !important; font-size: 20px !important; color: var(--navy) !important; margin: 28px 0 12px !important; }
.article-body p { font-size: 16px !important; color: #2a2a3e !important; line-height: 1.85 !important; margin-bottom: 18px !important; }
.article-body ul { margin: 12px 0 20px 0 !important; list-style: none !important; }
.article-body ul li { font-size: 15.5px !important; color: #2a2a3e !important; padding: 8px 0 8px 18px !important; position: relative !important; border-bottom: 1px solid var(--border) !important; border-left: none !important; }
.article-body ul li:last-child { border-bottom: none !important; }
.article-body ul li::before { content: "✓" !important; position: absolute !important; left: 0 !important; color: var(--gold) !important; font-weight: 700 !important; }
.article-body strong { color: var(--navy) !important; font-weight: 600; }
.article-body em { color: var(--text-muted); font-style: italic; }
@media (max-width: 768px) {
  .article-body { font-size: 15px; }
  .page-content > .container > div { grid-template-columns: 1fr !important; }
}

/* Gold on white — gunakan warna lebih gelap agar kontras */
.section-layanan .section-eyebrow,
.section-profil .section-eyebrow,
.section-testimoni .section-eyebrow,
.section-faq .section-eyebrow {
  color: #a07c2a;
}
.layanan-tag { color: #a07c2a; }
.testi-kondisi { color: #a07c2a; }
.artikel-tag { color: #a07c2a; }
.kondisi-gejala .gejala-title { color: var(--gold); }

/* ============================================================
   HERO V2 — Patient-first copywriting
   ============================================================ */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 65%, #1e3a6e 100%);
  display: flex; align-items: center;
  padding: 110px 0 80px;
  overflow: hidden;
}
.hero-v2-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 75% 40%, rgba(201,168,76,0.06) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(201,168,76,0.04) 0%, transparent 40%);
}
.hero-v2-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 1;
  width: 100%;
}
.hero-v2-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-v2-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1; color: var(--white);
  font-weight: 700; margin-bottom: 28px;
}
.hero-v2-highlight {
  color: var(--gold);
  display: block;
}
.hero-v2-symptoms {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.symptom-item {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 14.5px; color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.symptom-icon { color: var(--gold); font-size: 18px; flex-shrink: 0; }
.hero-v2-statement {
  margin-bottom: 32px;
}
.hero-v2-statement p {
  font-size: 16px; color: rgba(255,255,255,0.75);
  line-height: 1.8; margin-bottom: 8px;
}
.hero-v2-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-v2-scroll { font-size: 14px; }

/* Photo */
.hero-v2-photo { display: flex; justify-content: center; }
.hero-v2-photo-frame {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero-photo-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(201,168,76,0.15), 0 20px 60px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.hero-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-v2-doctor-card {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 0 0 16px 16px;
  text-align: center;
  width: 300px;
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.dr-card-name {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dr-card-cred { display: none; }
.dr-card-focus { display: none; }

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.section-problem { padding: 100px 0; background: var(--white); }
.problem-header {
  text-align: center; max-width: 680px; margin: 0 auto 60px;
}
.problem-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}
.problem-header p { font-size: 16px; color: var(--text-muted); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.problem-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.problem-card:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow);
}
.problem-num {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 700;
  color: rgba(201,168,76,0.45);
  line-height: 1; margin-bottom: 8px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 19px; color: var(--navy);
  margin-bottom: 12px; line-height: 1.3;
}
.problem-card p {
  font-size: 14.5px; color: var(--text-muted); line-height: 1.8;
}

/* ============================================================
   DUAL TRACK SECTION
   ============================================================ */
.section-track { padding: 100px 0; background: var(--navy); }
.section-track .section-header h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  color: #fff;
  line-height: 1.2;
}
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.track-card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  transition: background var(--transition);
}
.track-card:hover { background: rgba(255,255,255,0.07); }
.track-card.track-a { border-color: rgba(201,168,76,0.3); }
.track-card.track-b { border-color: rgba(100,180,255,0.2); }
.track-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.track-card h3 {
  font-family: var(--font-display);
  font-size: 26px; color: var(--gold);
  margin-bottom: 20px;
}
.track-symptoms { margin-bottom: 20px; }
.track-symptom-title {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 10px;
}
.track-card ul { list-style: none; }
.track-card ul li {
  font-size: 15px; color: rgba(255,255,255,0.85);
  padding: 8px 0 8px 18px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.track-card ul li:last-child { border-bottom: none; }
.track-card ul li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--gold); font-size: 16px;
}
.track-diagnosis, .track-solution {
  font-size: 13px; line-height: 1.5;
  margin-bottom: 10px; padding: 10px 14px;
  border-radius: 8px;
}
.track-diagnosis { background: rgba(255,255,255,0.05); }
.track-solution { background: rgba(201,168,76,0.08); }
.track-dx-label, .track-sol-label {
  font-weight: 700; color: rgba(255,255,255,0.5);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; display: block; margin-bottom: 3px;
}
.track-dx-val { color: rgba(255,255,255,0.8); }
.track-sol-val { color: var(--gold-light); }
.track-link {
  display: inline-block; margin-top: 16px;
  font-size: 13.5px; font-weight: 600; color: var(--gold);
  transition: color var(--transition);
}
.track-link:hover { color: var(--white); }
.track-cta {
  text-align: center;
  padding-top: 16px;
}
.track-cta p {
  font-size: 15px; color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.section-why { padding: 100px 0; background: var(--bg); }
.why-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}
.why-photo img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); object-fit: cover;
  margin-bottom: 20px;
}
.why-creds { display: flex; flex-direction: column; gap: 12px; }
.why-cred-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: var(--radius);
  padding: 12px 16px; border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.why-cred-icon { font-size: 22px; flex-shrink: 0; }
.why-cred-title { font-size: 13px; font-weight: 600; color: var(--navy); }
.why-cred-sub { font-size: 11.5px; color: var(--text-muted); }
.why-text .section-eyebrow { display: block; text-align: left; }
.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--navy); line-height: 1.2;
  margin-bottom: 32px;
}
.why-points { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.why-point {
  display: flex; gap: 16px; align-items: flex-start;
}
.why-point-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.why-point-body strong {
  display: block; font-size: 15px; color: var(--navy);
  margin-bottom: 4px;
}
.why-point-body p {
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.section-process { padding: 100px 0; background: var(--white); }
.process-steps {
  display: flex; align-items: flex-start;
  gap: 0; margin-top: 16px;
}
.process-step {
  flex: 1;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.process-step:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow);
}
.process-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  margin-bottom: 16px;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 17px; color: var(--navy);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
}
.process-arrow {
  font-size: 24px; color: var(--gold);
  padding: 0 12px; margin-top: 48px;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — new sections
   ============================================================ */
@media (max-width: 1024px) {
  /* Hero: stack foto di atas, teks di bawah */
  .hero-v2-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .hero-v2-photo {
    display: flex;
    order: -1; /* foto muncul PERTAMA */
    justify-content: center;
    margin-bottom: 8px;
  }
  .hero-v2-photo-frame {
    max-width: 280px;
    width: 100%;
  }
  .hero-photo-circle {
    width: 240px;
    height: 240px;
  }
  .hero-v2-doctor-card {
    width: 240px;
    font-size: 12px;
  }
  .hero-v2-text { text-align: center; }
  .hero-v2-symptoms { text-align: left; }
  .hero-v2-cta { justify-content: center; }
  .hero-v2-highlight { display: inline; }
  /* Why section */
  .why-inner { grid-template-columns: 1fr; }
  .why-photo { max-width: 360px; margin: 0 auto; }
  /* Content grid sub-pages */
  .content-grid { grid-template-columns: 1fr !important; }
  .sidebar { position: static !important; top: auto !important; }
}

@media (max-width: 768px) {
  /* Hero foto lebih kecil di HP kecil */
  .hero-v2-photo-frame { max-width: 200px; }
  .hero-photo-circle { width: 180px; height: 180px; }
  .hero-v2-doctor-card { width: 180px; font-size: 11px; padding: 8px 12px; }
  .dr-card-name { font-size: 11px; }
  .hero-v2 { padding: 90px 0 60px; }
  .hero-v2-title { font-size: clamp(28px, 7vw, 44px); }
  /* Sections */
  .problem-grid { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); margin: -8px auto; }
  .hero-v2-symptoms { padding: 14px 16px; }
  /* Stats bar */
  .stat-item { min-width: 50%; padding: 10px 16px; }
  .stat-num { font-size: 28px; }
  /* Layanan */
  .layanan-grid { grid-template-columns: 1fr; }
  /* Testimoni */
  .testi-grid { grid-template-columns: 1fr; }
  /* Track card */
  .track-card { padding: 24px 20px; }
  /* Why points */
  .why-points { gap: 16px; }
  /* Process */
  .process-step { padding: 24px 20px; }
  /* Artikel index grid */
  .artikel-grid { grid-template-columns: 1fr !important; }
  /* Kondisi grid */
  .kondisi-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-v2 { padding: 80px 0 48px; }
  .hero-v2-photo-frame { max-width: 200px; }
  .section-problem, .section-track, .section-why,
  .section-process, .section-layanan, .section-testimoni,
  .section-faq, .section-cta { padding: 64px 0; }
  .hero-v2-cta { flex-direction: column; }
  .hero-v2-cta .btn-primary-lg,
  .hero-v2-cta .btn-outline { width: 100%; justify-content: center; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn-primary-lg,
  .cta-buttons .btn-outline-white-lg { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
  /* Navbar */
  .logo-cred { display: inline; font-size: 13px; margin-left: 5px; }
  /* Process arrow */
  .process-arrow { display: none; }
}


/* ── MOBILE SPECIFIC OVERRIDES ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: 110px 0 56px; }
  .page-hero h1 { font-size: clamp(26px, 6vw, 40px); }

  /* Article body sidebar hide on mobile */
  .article-body + .sidebar { display: none; }

  /* Layanan sub-page alternating rows → stack */
  .page-content .container div[style*="display:grid"] { display: block !important; }

  /* Track cards tighter on mobile */
  .track-card ul li { font-size: 13px; }

  /* FAQ */
  .faq-q { padding: 16px 20px; font-size: 14px; }
  .faq-a { padding: 0 20px 16px; padding-top: 14px; }

  /* Jadwal table */
  .jadwal-table td { font-size: 13px; padding: 8px 4px; }

  /* Process steps on mobile — full width */
  .process-step { width: 100%; }

  /* Why section mobile */
  .why-point { gap: 12px; }
  .why-point-body p { font-size: 13.5px; }
}

@media (max-width: 480px) {
  /* Navbar hamburger area */
  .nav-inner { height: 64px; }
  .logo-name { font-size: 12.5px; }
  .logo-dr { font-size: 12.5px; margin-right: 4px; }
  .logo-cred { font-size: 12.5px; margin-left: 4px; letter-spacing: 0.01em; }

  /* Hero symptoms tighter */
  .symptom-item { font-size: 13.5px; }
  .hero-v2-statement p { font-size: 15px; }

  /* Problem cards */
  .problem-card { padding: 24px 20px; }
  .problem-num { font-size: 40px; }

  /* Testi cards */
  .testi-card { padding: 24px 20px; }
  .testi-text { font-size: 13.5px; }

  /* Section headers */
  .section-header h2 { font-size: clamp(22px, 5.5vw, 34px); }
  .problem-header h2 { font-size: clamp(22px, 5.5vw, 34px); }
  .why-text h2 { font-size: clamp(24px, 6vw, 36px); }

  /* Article body sidebar always hide on small */
  .sidebar { display: none !important; }
  .article-body { grid-column: 1 / -1; }
}

/* ── ARTIKEL GRID — selalu 1 kolom di HP ──────────────────────────────────── */
@media (max-width: 768px) {
  .artikel-grid,
  .homepage-artikel-grid {
    grid-template-columns: 1fr !important;
  }
  /* Artikel card — hapus thumbnail space */
  .artikel-card .artikel-thumb { display: none !important; }

  /* Artikel card body padding lebih besar kalau tidak ada thumb */
  .artikel-body { padding: 20px; }
  .artikel-card h3 { font-size: 16px; line-height: 1.4; }
  .artikel-card p { font-size: 13.5px; }
}

/* ── HOMEPAGE artikel grid override ──────────────────────────────────────── */
@media (max-width: 960px) {
  .homepage-artikel-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .homepage-artikel-grid {
    grid-template-columns: 1fr !important;
  }
}

.dr-card-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.75;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Article TOC layout (v17) ===== */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 52px; align-items: start; max-width: 1100px; margin: 0 auto; }
.article-main { min-width: 0; }
.article-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.toc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; }
.toc-card .toc-title { font-family: var(--font-display); font-size: 15px; color: var(--navy); margin-bottom: 14px; font-weight: 700; letter-spacing: 0.01em; }
.toc-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.toc-list li { margin: 0 !important; padding: 0 !important; border: none !important; }
.toc-list li::before { content: none !important; display: none !important; }
.toc-list a { display: block; font-size: 13px; color: var(--text-muted); text-decoration: none; padding: 7px 0 7px 14px; border-left: 2px solid var(--border); line-height: 1.45; transition: color .15s, border-color .15s; }
.toc-list a:hover { color: var(--navy); border-left-color: var(--gold); }
.toc-list a.toc-active { color: var(--navy); font-weight: 600; border-left-color: var(--gold); }
.toc-toggle { display: none; }

@media (max-width: 768px) {
  .article-layout { display: flex; flex-direction: column; }
  .article-main { order: 2; }
  .article-aside { order: 1; position: static; margin-bottom: 28px; }
  /* On mobile: TOC becomes collapsible; doctor & schedule cards hidden to keep it light */
  .article-aside .sidebar-card { display: none; }
  .toc-card { padding: 0; border-radius: 12px; overflow: hidden; }
  .toc-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: var(--navy); color: #fff; border: none; padding: 14px 18px; font-size: 14px; font-weight: 600; font-family: var(--font-body); cursor: pointer; }
  .toc-toggle .toc-chevron { transition: transform .25s; }
  .toc-card.open .toc-toggle .toc-chevron { transform: rotate(180deg); }
  .toc-card .toc-title { display: none; }
  .toc-list { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 18px; }
  .toc-card.open .toc-list { max-height: 1200px; padding: 10px 18px 14px; }
  .toc-list a { padding: 9px 0 9px 12px; font-size: 13.5px; }
}

/* ===== Statistik / Kredibilitas (v18) ===== */
.section-stats { background: #f0f8ff; border-top: 3px solid #1d5f8a; border-bottom: 3px solid #1d5f8a; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1080px; margin: 0 auto; }
.stat-item { text-align: center; padding: 8px 24px; position: relative; }
.stat-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 56px; width: 1px; background: #c5dff0; }
.stat-num { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: #1d5f8a; line-height: 1.05; margin-bottom: 6px; text-align: center; }
.stat-num span { font-size: 20px; font-weight: 700; color: var(--gold); }
.stat-sublabel { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #4a7fa8; margin-bottom: 5px; text-align: center; }
.stat-label { font-size: 13.5px; font-weight: 600; color: #1A2B4A; line-height: 1.45; text-align: center; }
.stat-sub { font-size: 12px; color: #5a6478; line-height: 1.5; text-align: center; }
@media (max-width: 768px) {
  .section-stats { padding: 36px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item { border-bottom: 1px solid #c5dff0; padding: 16px 12px; }
  .stat-item:nth-child(odd) { border-right: 1px solid #c5dff0; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-num { font-size: 32px; }
  .stat-num span { font-size: 16px; }
}
@media (max-width: 420px) {
  .stat-num { font-size: 28px; }
}

/* ===== Justify paragraf badan teks (v19) — heading/list tetap rata kiri ===== */
.article-body p,
.main-content > p,
.profil-text p,
.kondisi-text p,
.content-grid .main-content p {
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 2;
}
/* Jangan justify hal-hal pendek/khusus walau di dalam kontainer di atas */
.article-body li, .main-content li, .profil-text li, .kondisi-text li,
.article-body h1, .article-body h2, .article-body h3,
.main-content h1, .main-content h2, .main-content h3,
.sidebar p, .sidebar-card p, .toc-list a,
.stat-sub {
  text-align: left;
  hyphens: manual;
}
.stat-label {
  hyphens: manual;
}

/* ===== Lightbox sertifikat (profil) + hover zoom ===== */
#lb { position: fixed; inset: 0; background: rgba(10,18,30,.93); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
#lb.open { display: flex; }
#lb img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 10px 50px rgba(0,0,0,.5); }
#lb .lb-close { position: absolute; top: 18px; right: 28px; color: #fff; font-size: 38px; font-weight: 300; cursor: pointer; line-height: 1; }
.cert-grid .gallery-item { cursor: pointer; }
.cert-grid .gallery-item img { transition: transform .3s ease, box-shadow .3s ease; }
.cert-grid .gallery-item:hover { z-index: 2; }
.cert-grid .gallery-item:hover img { transform: scale(1.06); box-shadow: 0 12px 30px rgba(26,43,74,.20); }

/* ===== Homepage OR gallery (responsive) ===== */
.or-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 768px) {
  .or-gallery { grid-template-columns: 1fr; gap: 14px; }
  .or-gallery .gallery-item img { height: 240px !important; }
  /* layanan: cegah ilustrasi portrait jadi terlalu panjang di HP */
  .gallery-grid-2 .gallery-item img { height: 240px !important; min-height: 0 !important; }
}

/* layanan ilustrasi: tinggi proporsional di desktop (mobile sudah 240px di atas) */
@media (min-width: 769px) {
  .gallery-grid-2 .gallery-item img { height: 360px !important; min-height: 0 !important; }
}
