/* ============================================================
   Klinik Meriton — Design System
   Mobile-first · Teal medis + aksen hijau · Figtree
   ============================================================ */

:root {
  --ink: #0b3b45;
  --ink-soft: #34606c;
  --muted: #5b7a84;
  --primary: #0e8fa8;
  --primary-deep: #0a6b85;
  --primary-ink: #083d4d;
  --accent: #16a34a;
  --accent-deep: #12813c;
  --bg: #f5fafb;
  --surface: #ffffff;
  --border: #d9ebef;
  --tint: #e8f4f7;
  --gold: #f5b301;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 59, 69, 0.06), 0 2px 8px rgba(11, 59, 69, 0.06);
  --shadow-md: 0 2px 6px rgba(11, 59, 69, 0.07), 0 12px 32px rgba(11, 59, 69, 0.1);
  --shadow-lg: 0 4px 12px rgba(11, 59, 69, 0.1), 0 24px 60px rgba(11, 59, 69, 0.16);
  --grad-hero: linear-gradient(140deg, #083d4d 0%, #0a6b85 48%, #0e8fa8 100%);
  --grad-cta: linear-gradient(120deg, #0a6b85, #0e8fa8 60%, #23aec6);
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-deep); }
h1, h2, h3, h4, h5 { line-height: 1.18; margin: 0 0 var(--space-4); font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 var(--space-4); }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 18px; z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn img, .btn svg { width: 22px; height: 22px; }

.btn-wa {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}
.btn-wa:hover { background: var(--accent-deep); box-shadow: 0 10px 26px rgba(22, 163, 74, 0.42); }

.btn-light {
  background: #fff; color: var(--primary-ink);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent; color: var(--primary-deep);
  border: 2px solid var(--primary); box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover { background: var(--tint); }
}

.btn-block-mobile { width: 100%; }

/* ---------- Top strip ---------- */
.topbar {
  background: var(--primary-ink); color: #cfe9f0;
  font-size: 13.5px; font-weight: 500;
}
.topbar .container {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 40px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
.topbar .topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .topbar-item svg { width: 15px; height: 15px; flex: none; opacity: 0.85; }
.topbar .topbar-address { display: none; }
@media (max-width: 559px) {
  .topbar { font-size: 12.5px; }
  .topbar .container { gap: 14px; flex-wrap: nowrap; }
  .topbar .tb-label { display: none; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-logo { width: 38px; height: auto; flex: none; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; }
.brand-name b { font-weight: 800; }
.brand-name .w-dark { color: #14205a; }
.brand-name .w-light { color: #6ca0cb; }
.brand-name-footer .w-dark { color: #fff; }
.brand-name-footer .w-light { color: #8fc4ea; }

.nav-links { display: none; }
.nav-cta-desktop { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px;
  background: transparent; border: 0; cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; height: 2.5px; width: 100%; border-radius: 2px;
  background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; top: 0; z-index: 210;
  background: rgba(8, 61, 77, 0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.nav-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
  background: #fff; padding: 0;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-lg); overflow-y: auto;
}
.nav-open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-header {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 68px; padding: 0 16px 0 20px;
  background: #fff; border-bottom: 1px solid var(--border);
  flex: none;
}
.mobile-menu-header .brand-logo { width: 32px; }
.mobile-menu-header .brand-name { font-size: 16px; }
.mobile-menu-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 10px; flex: none;
  background: transparent; border: 0; cursor: pointer; border-radius: var(--radius-sm);
  color: var(--ink);
}
.mobile-menu-close svg { width: 24px; height: 24px; }
.mobile-menu-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 24px 24px; }
.mobile-menu-panel a.menu-link {
  display: block; padding: 14px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px;
}
.mobile-menu-panel a.menu-link[aria-current="page"] { background: var(--tint); color: var(--primary-deep); }
@media (hover: hover) and (pointer: fine) {
  .mobile-menu-panel a.menu-link:hover { background: var(--tint); color: var(--primary-deep); }
}
.mobile-menu-body .btn { margin-top: var(--space-4); }
.mobile-menu-contact { margin-top: auto; padding-top: var(--space-5); border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.mobile-menu-contact strong { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad-hero); color: #fff;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 300px at 85% -10%, rgba(35, 174, 198, 0.45), transparent 65%),
    radial-gradient(420px 260px at -10% 110%, rgba(35, 174, 198, 0.28), transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid; gap: var(--space-6);
  padding-top: var(--space-7); padding-bottom: var(--space-7);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e5f6fa; border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  width: fit-content;
}
.hero h1 {
  font-size: clamp(30px, 7.2vw, 52px);
  font-weight: 800; margin-bottom: var(--space-4); color: #fff;
}
.hero-sub { font-size: clamp(16px, 4vw, 19px); color: #d6edf3; max-width: 54ch; margin-bottom: var(--space-5); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: var(--space-5); padding: 0; list-style: none;
}
.hero-trust li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; color: #e5f6fa;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm); padding: 10px 12px;
}
.hero-trust svg { width: 18px; height: 18px; flex: none; color: #7fe0a8; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.18);
}
.hero-badge {
  position: absolute; left: 14px; bottom: 14px;
  background: #fff; color: var(--ink); border-radius: var(--radius-md);
  padding: 10px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700;
}
.hero-badge svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.hero-badge small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

/* ---------- CTA phone strip ---------- */
.cta-strip { background: var(--grad-cta); color: #fff; }
.cta-strip .container {
  display: grid; gap: var(--space-5);
  padding-top: var(--space-6); padding-bottom: var(--space-6);
  text-align: center; justify-items: center;
}
.cta-strip h2 { font-size: clamp(21px, 5vw, 30px); color: #fff; margin-bottom: 6px; }
.cta-strip p { color: #d9f0f5; margin: 0; }
.cta-strip .cta-phone {
  font-size: clamp(26px, 7vw, 38px); font-weight: 800; letter-spacing: 0.02em;
  color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 12px;
}
.cta-strip .cta-phone svg { width: 30px; height: 30px; }

/* ---------- Sections ---------- */
.section { padding: var(--space-8) 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-6); }
.section-eyebrow {
  color: var(--primary); font-weight: 800; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(24px, 5.6vw, 36px); }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- USP cards ---------- */
.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.usp-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usp-icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--grad-cta); display: grid; place-items: center;
  margin-bottom: var(--space-3);
  box-shadow: 0 5px 14px rgba(14, 143, 168, 0.3);
}
.usp-icon img { width: 28px; height: 28px; }
.usp-card h3 { font-size: 16.5px; margin-bottom: 5px; }
.usp-card p { color: var(--muted); font-size: 14px; margin: 0; }

@media (min-width: 480px) {
  .usp-grid { gap: 16px; }
  .usp-card { padding: 26px 22px; }
  .usp-icon { width: 58px; height: 58px; border-radius: 16px; }
  .usp-icon img { width: 32px; height: 32px; }
  .usp-card h3 { font-size: 18px; }
  .usp-card p { font-size: 15px; }
}

/* ---------- Layanan ---------- */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  font-weight: 600; font-size: 14.5px;
  box-shadow: var(--shadow-sm);
}
.service-item svg { width: 22px; height: 22px; flex: none; color: var(--primary); }

/* ---------- Info cards (lokasi & jam) ---------- */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.info-card {
  border-radius: var(--radius-lg); padding: 30px 24px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.info-card.inverse { background: var(--grad-hero); color: #fff; border: 0; }
.info-card.inverse h3, .info-card.inverse p { color: #fff; }
.info-card.inverse p { color: #d6edf3; }
.info-card h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.info-card h3 img, .info-card h3 svg {
  width: 24px; height: 24px; flex: none;
  padding: 9px; box-sizing: content-box; border-radius: 12px;
}
.info-card:not(.inverse) h3 img { background: var(--grad-cta); box-shadow: 0 4px 12px rgba(14, 143, 168, 0.3); }
.info-card.inverse h3 img { background: rgba(255, 255, 255, 0.16); }
.info-card p { color: var(--ink-soft); }

/* ---------- Tentang ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: center; }
.about-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.about-copy .section-eyebrow { text-align: left; }
.about-copy h2 { font-size: clamp(24px, 5.6vw, 34px); }
.about-copy p { color: var(--ink-soft); }

/* ---------- Artikel cards ---------- */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card h3 { font-size: 18px; margin: 0; }
.blog-card p { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.blog-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary-deep); font-weight: 700; font-size: 14.5px;
}
.blog-more svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.blog-card:hover .blog-more svg { transform: translateX(4px); }
.blog-card-featured img { aspect-ratio: 16 / 10; }
.blog-card-featured h3 { font-size: 21px; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-ink); color: #b9d9e2; font-size: 15px; }
.footer .container { padding-top: var(--space-8); padding-bottom: var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.footer h4 { color: #fff; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-4); }
.footer a { color: #dff2f7; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-brand p { margin-top: var(--space-4); max-width: 40ch; }
.footer-row { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-row svg, .footer-row img { width: 19px; height: 19px; flex: none; margin-top: 3px; filter: brightness(0) invert(1); opacity: 0.75; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.08); border-radius: 12px;
  transition: background-color 0.18s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.18); }
.footer-social img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-6); padding-top: var(--space-5);
  text-align: center; font-size: 13.5px; color: #8fb6c2;
}

/* ---------- Floating WA ---------- */
.floating-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none;
  border-radius: 999px; padding: 12px 18px 12px 12px;
  font-weight: 700; font-size: 14.5px; line-height: 1.15;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.floating-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(22, 163, 74, 0.5); }
.floating-wa img { width: 30px; height: 30px; }

/* ---------- Page hero (halaman dalam) ---------- */
.page-hero { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 90% -20%, rgba(35, 174, 198, 0.4), transparent 60%);
}
.page-hero .container { position: relative; padding-top: var(--space-7); padding-bottom: var(--space-7); }
.page-hero h1 { color: #fff; font-size: clamp(28px, 6.4vw, 44px); margin-bottom: 8px; }
.page-hero p { color: #d6edf3; max-width: 62ch; margin: 0; }
.breadcrumb { font-size: 13.5px; margin-bottom: var(--space-4); color: #a8d4df; }
.breadcrumb a { color: #dff2f7; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Artikel detail ---------- */
.article-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.article-body {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow-sm);
}
.article-body img.article-cover {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-md); margin-bottom: var(--space-5);
}
.article-body h2 { font-size: 22px; margin-top: var(--space-6); color: var(--primary-ink); }
.article-body h2:first-of-type { margin-top: 0; }
.article-body p, .article-body li { color: var(--ink-soft); }
.article-body ul { padding-left: 22px; margin: 0 0 var(--space-4); }
.article-body li { margin-bottom: 6px; }
.article-meta { font-size: 13.5px; color: var(--muted); margin-bottom: var(--space-4); font-weight: 600; }

.article-cta {
  margin-top: var(--space-6);
  background: var(--grad-cta); color: #fff;
  border-radius: var(--radius-md); padding: 26px 22px; text-align: center;
}
.article-cta h3 { color: #fff; font-size: 20px; }
.article-cta p { color: #d9f0f5; }

.sidebar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { font-size: 17px; }
.sidebar-card ul { list-style: none; margin: 0; padding: 0; }
.sidebar-card li { border-bottom: 1px solid var(--border); }
.sidebar-card li:last-child { border-bottom: 0; }
.sidebar-card li a {
  display: block; padding: 12px 0; text-decoration: none;
  color: var(--ink-soft); font-weight: 600; font-size: 14.5px;
}
.sidebar-card li a:hover { color: var(--primary-deep); }

/* ---------- Form kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow-sm);
}
.form-field { margin-bottom: var(--space-4); }
.form-field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color 0.15s ease, background-color 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 143, 168, 0.18);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.map-embed {
  border: 0; width: 100%; height: 280px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}

/* ---------- Reveal animation ----------
   Only armed once the inline head script confirms JS is running, so a failed or
   blocked script leaves the content visible instead of permanently transparent. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Tablet ≥ 768px
   ============================================================ */
@media (min-width: 768px) {
  .topbar .container { justify-content: space-between; }
  .topbar .topbar-address { display: inline-flex; }
  .hero .container { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .hero-actions { flex-direction: row; }
  .btn-block-mobile { width: auto; }
  .hero-trust { grid-template-columns: repeat(4, 1fr); }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card-featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 0.8fr; }
  .cta-strip .container { grid-template-columns: 1fr auto; text-align: left; align-items: center; justify-items: start; }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .article-layout { grid-template-columns: 1fr 320px; align-items: start; }
  .article-body { padding: 40px; }
  .map-embed { height: 100%; min-height: 340px; }
}

/* ============================================================
   Desktop ≥ 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .nav-toggle, .mobile-menu { display: none; }
  .nav-links {
    display: flex; align-items: center; gap: 6px; margin-left: auto;
  }
  .nav-links a {
    text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px;
    padding: 10px 14px; border-radius: 999px;
    transition: color 0.15s ease, background-color 0.15s ease;
  }
  .nav-links a[aria-current="page"] { color: var(--primary-deep); background: var(--tint); }
  .nav-cta-desktop { display: inline-flex; min-height: 44px; padding: 10px 22px; font-size: 15px; }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--primary-deep); background: var(--tint); }
}
@media (min-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-card-featured { grid-column: span 3; display: grid; grid-template-columns: 1.15fr 1fr; }
  .blog-card-featured img { height: 100%; aspect-ratio: auto; }
  .blog-card-featured .blog-card-body { padding: 34px; justify-content: center; }
  .section { padding: var(--space-9) 0; }
}

/* ============================================================
   Hero Slider (layout mengikuti Klinik Sanford)
   ============================================================ */
.hero-slider { position: relative; overflow: hidden; }
.hero-track { display: flex; height: 100%; transition: transform 0.5s ease; }
.hero-track.no-anim { transition: none; }
.hero-slide { flex: 0 0 100%; min-width: 100%; }

.ads-hero {
  display: flex; align-items: stretch; width: 100%;
  background-image: linear-gradient(90deg, #40b5e333, #fffc), url('../images/blur-hospital-clinic-interior-s.jpg');
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
}
.ads-hero.laser-kutil { background-image: linear-gradient(90deg, #40cbe340, #fffc), url('../images/abstract-blur-hospital-clinic-interior.jpg'); }
.ads-hero.kewanitaan { background-image: linear-gradient(90deg, #f76a6d33, #fffc), url('../images/blurred-abstract-background.jpg'); }
.ads-hero.check-up { background-image: linear-gradient(90deg, #40b5e32e, #fffc), url('../images/abstract-blur-shopping-mall.jpg'); }
.ads-hero.sunat-dewasa { background-image: linear-gradient(90deg, #5173c657, #fffc), url('../images/abstract-blur-hospital-corridor-interior-background.jpg'); }
.ads-hero.cek-urine { background-image: linear-gradient(90deg, #51c66c57, #fffc), url('../images/blur-short-white-hospital-walkway-background.jpg'); }

.ads-hero-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 28px;
  padding: 32px 20px 40px; align-items: center;
}
.hero-art { margin-top: 0; }
.hero-art img { width: 100%; height: auto; margin: 0 auto; }
.hero-art .art-desktop { display: none; }
.hero-art .art-mobile { display: block; max-width: 420px; }

.headline-wrapper {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
}
.h1-slider {
  color: #010042; font-size: 2.2rem; line-height: 1.18; font-weight: 800;
  margin: 0; letter-spacing: -0.02em;
}
.p-slider { color: #413f5f; font-size: 1rem; line-height: 1.5; margin: 18px 0 30px; }
.cta-slider {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 260px; max-width: 100%; min-height: 52px;
  background-color: #2cb540; border-radius: 99px; text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s cubic-bezier(.455,.03,.515,.955);
}
.cta-slider:hover { background-color: #239834; transform: scale(1.04); }
.cta-slider img { width: 30px; height: 30px; }
.cta-slider span {
  color: #fff; text-transform: uppercase; font-size: 1rem; font-weight: 600; line-height: 1.2;
}

/* Arrows & dots */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; display: none; place-items: center;
  background: rgba(255, 255, 255, 0.75); border: 0; border-radius: 999px;
  cursor: pointer; color: #010042;
  box-shadow: var(--shadow-sm); transition: background-color 0.15s ease;
}
.hero-arrow:hover { background: #fff; }
.hero-arrow svg { width: 26px; height: 26px; }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dots button {
  width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(1, 0, 66, 0.28); cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.hero-dots button[aria-current="true"] { background: #010042; transform: scale(1.15); }

@media (min-width: 768px) {
  .ads-hero-inner {
    grid-template-columns: 1fr 1fr; gap: 60px;
    padding: 56px 20px 64px;
  }
  .hero-art .art-desktop { display: block; }
  .hero-art .art-mobile { display: none; }
  .headline-wrapper { align-items: flex-start; text-align: left; padding: 0 0 0 10px; }
  .h1-slider { font-size: 2.4rem; }
  .p-slider { font-size: 1.05rem; margin-bottom: 36px; }
  .hero-arrow { display: grid; }
  .hero-dots { bottom: 22px; }
}

@media (min-width: 1024px) {
  .ads-hero-inner { gap: 80px; padding: 64px 20px 76px; }
  .headline-wrapper { padding-left: 25px; }
  .h1-slider { font-size: 2.9rem; line-height: 1.24; }
  .p-slider { font-size: 1.1rem; line-height: 1.6; margin: 20px 0 40px; }
  .cta-slider { min-height: 62px; }
}

.hero-viewport { overflow: hidden; }

/* ============================================================
   "Mengapa Memilih Klinik Meriton" — kartu notch, warna & tipografi
   ditarik dari token situs sendiri (bukan palet mentah Sanford)
   ============================================================ */
.why-section { background: var(--surface); }
.why-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-top: var(--space-6);
}
.why-card {
  background: var(--tint); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: visible;
}
.why-card-head {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 84px; width: 100%; padding: 16px 26px; margin-bottom: 34px;
  background: var(--grad-cta);
  border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg);
}
.why-card-head img { width: 28px; height: 28px; flex: none; filter: brightness(0) invert(1); }
.why-card-head h3 { color: #fff; font-size: 1.05rem; line-height: 1.3; margin: 0; text-align: center; }
.why-notch {
  position: absolute; bottom: -10px; left: 50%;
  width: 20px; height: 20px; background: var(--primary-deep);
  transform: translateX(-50%) rotate(45deg); border-radius: 3px;
}
.why-card-body { color: var(--ink-soft); text-align: center; font-size: 0.98rem; line-height: 1.5; margin: 0 26px 28px; }

.why-grid-large { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
.why-card-large {
  text-align: center; color: #fff; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 26px;
}
.why-card-large.loc { background: var(--grad-cta); }
.why-card-large.jam { background: var(--grad-hero); }
.why-card-large-title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 14px; font-size: 1.2rem; font-weight: 700;
}
.why-card-large-title img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.why-card-large p { color: rgba(255,255,255,0.9); text-align: center; margin: 0 0 22px; font-size: 0.98rem; line-height: 1.5; }
.why-card-large.jam p { font-size: 1.1rem; font-weight: 700; color: #fff; }
.why-divider { width: 56px; height: 2px; background: rgba(255,255,255,0.4); margin: 0 0 18px; border: 0; }

@media (min-width: 640px) {
  .why-grid-large { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 700px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ============================================================
   Trust bar + Testimoni
   ============================================================ */
.trust-bar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: var(--space-6);
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.trust-item-icon {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--tint); display: grid; place-items: center;
}
.trust-item-icon svg { width: 22px; height: 22px; color: var(--primary-deep); }
.trust-item span { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }

.testimonial-note {
  text-align: center; color: var(--muted); font-size: 13.5px;
  max-width: 52ch; margin: 10px auto 0;
}
.testimonial-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  margin-top: var(--space-6);
}
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-stars svg { width: 17px; height: 17px; color: var(--gold); }
.testimonial-quote {
  color: var(--ink-soft); font-size: 15px; line-height: 1.6;
  margin: 0 0 18px; flex: 1;
}
.testimonial-quote::before { content: "\201C"; }
.testimonial-quote::after { content: "\201D"; }
.testimonial-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 999px; flex: none;
  background: var(--grad-cta); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.testimonial-author-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.testimonial-author-role { font-size: 12.5px; color: var(--muted); }

@media (min-width: 640px) {
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 700px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Halaman Artikel-Penyakit sebagai Landing Page Ads
   ============================================================ */

/* --- Ads hero (per-penyakit, headline urgensi + CTA besar) --- */
.disease-hero {
  background: var(--grad-hero); color: #fff;
  position: relative; overflow: hidden;
}
.disease-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 300px at 90% -10%, rgba(35, 174, 198, 0.4), transparent 65%);
  pointer-events: none;
}
.disease-hero .container {
  position: relative; padding-top: var(--space-7); padding-bottom: var(--space-7);
  display: grid; gap: var(--space-5);
}
.disease-hero .breadcrumb { color: #a8d4df; }
.disease-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  color: #e5f6fa; border-radius: 999px; padding: 6px 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  width: fit-content; margin-bottom: 4px;
}
.disease-hero h1 { color: #fff; font-size: clamp(28px, 6.6vw, 44px); margin-bottom: 10px; }
.disease-hero-sub { color: #d6edf3; font-size: clamp(15.5px, 3.6vw, 18px); max-width: 62ch; margin-bottom: var(--space-5); }
.disease-hero-actions { display: flex; flex-direction: column; gap: 12px; }
.disease-hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: var(--space-5);
  padding: 0; list-style: none;
}
.disease-hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #e5f6fa; }
.disease-hero-trust svg { width: 17px; height: 17px; flex: none; color: #7fe0a8; }

/* --- Checklist gejala (dengan ikon centang) --- */
.check-list { list-style: none; margin: var(--space-4) 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--tint); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 16px;
  color: var(--ink-soft); font-size: 15px; line-height: 1.5;
}
.check-list svg {
  width: 22px; height: 22px; flex: none; margin-top: 1px;
  color: #fff; background: var(--accent); border-radius: 999px; padding: 4px;
}

/* --- Faktor risiko (dengan ikon panah) --- */
.risk-list { list-style: none; margin: var(--space-4) 0; padding: 0; display: grid; gap: 10px; }
.risk-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink-soft); font-size: 15px; line-height: 1.5;
}
.risk-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--primary); }

/* --- Kotak "Cara Penularan" --- */
.transmission-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px;
  box-shadow: var(--shadow-sm); margin: var(--space-5) 0;
}
.transmission-box h3 { font-size: 18px; margin-bottom: var(--space-4); color: var(--primary-ink); }
.transmission-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.transmission-list li { display: flex; gap: 12px; }
.transmission-list .t-icon {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: var(--grad-cta); display: grid; place-items: center;
}
.transmission-list .t-icon svg { width: 18px; height: 18px; color: #fff; }
.transmission-list strong { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 2px; }
.transmission-list span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* --- CTA urgensi tengah halaman --- */
.urgency-cta { background: var(--grad-hero); color: #fff; }
.urgency-cta .container {
  padding-top: var(--space-7); padding-bottom: var(--space-7);
  display: grid; gap: var(--space-5); text-align: center; justify-items: center;
}
.urgency-cta h2 { color: #fff; font-size: clamp(22px, 5.6vw, 32px); max-width: 30ch; margin-bottom: 6px; }
.urgency-cta p { color: #d6edf3; max-width: 56ch; margin: 0 0 var(--space-4); }
.urgency-cta-highlight {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md); padding: 14px 20px;
  font-size: 15px; font-weight: 600; color: #e5f6fa; max-width: 50ch;
}

@media (min-width: 768px) {
  .disease-hero .container { grid-template-columns: 1fr; max-width: 760px; }
  .disease-hero-actions { flex-direction: row; }
  .article-content-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6); align-items: start; }
}
