/* Medikita — gaya Clinika (gradien biru, Jost + Poppins, pemisah gelombang, kata latar pudar, ikon heksagon) */
:root {
  --blue: #0068a8;
  --blue-2: #45aee0;
  --blue-d: #004f80;
  --grad: linear-gradient(120deg, #0068a8 0%, #2b8fd0 55%, #45aee0 100%);
  --ink: #1f2532;
  --ink-2: #3a4256;
  --muted: #6b7385;
  --soft: #f4f7fb;
  --line: #e6ebf2;
  --white: #fff;
  --wa: #25d366;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(16, 52, 94, .10);
  --shadow-sm: 0 8px 22px rgba(16, 52, 94, .08);
  --head: 'Jost', system-ui, sans-serif;
  --body: 'Poppins', system-ui, sans-serif;
  --header-h: 92px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 15.5px; line-height: 1.75; color: var(--muted); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
main, .site-footer { overflow-x: clip; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1.2em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.i { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.ico { width: 56px; height: 56px; }
.ico .f { fill: currentColor; stroke: none; }
.ico .t { stroke-width: 5; }
.ico-sm { width: 22px; height: 22px; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 14px 30px; border-radius: 50px; border: 2px solid transparent;
  background: var(--blue); color: #fff; font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 104, 168, .25); transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); background: var(--blue-d); box-shadow: 0 14px 30px rgba(0, 104, 168, .32); }
.btn .i { width: 20px; height: 20px; }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 10px 26px rgba(0, 0, 0, .12); }
.btn-white:hover { background: #fff; color: var(--blue); }
.btn-white svg[viewBox="0 0 24 24"][fill="currentColor"] { color: var(--wa); }
.btn-dark { background: var(--blue-d); }
.btn-dark:hover { background: #003a5f; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); box-shadow: none; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(0, 79, 128, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(0, 86, 140, .96); box-shadow: 0 8px 26px rgba(0, 0, 0, .12); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; transition: height .3s; }
.site-header.scrolled .nav-wrap { height: 74px; }
.brand { display: inline-flex; align-items: center; background: #fff; border-radius: 16px; padding: 6px 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.brand img { height: 52px; width: auto; }
.site-header.scrolled .brand img { height: 44px; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: #fff; font-family: var(--body); font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
.main-nav ul a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: #fff; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }
.nav-cta { padding: 13px 26px; }
.nav-toggle { display: none; background: rgba(255, 255, 255, .15); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i { width: 26px; height: 26px; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* ---------- Gelombang ---------- */
.wave { position: absolute; left: 0; width: 100%; line-height: 0; pointer-events: none; z-index: 2; }
.wave svg { width: 100%; height: 110px; display: block; }
.wave-hero, .wave-bottom-soft, .wave-bottom-dark { bottom: -1px; }
.wave-top-soft, .wave-top-dark, .wave-top-blue { top: -1px; transform: scaleY(-1) scaleX(-1); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad); color: #fff; overflow: hidden; padding: calc(var(--header-h) + 60px) 0 150px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .13; mix-blend-mode: luminosity; }
.hero::before { content: ''; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; margin-bottom: .45em; }
.hero-page h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.hero p { color: rgba(255, 255, 255, .92); font-size: 16.5px; max-width: 560px; margin-bottom: 1.8em; }
.hero-actions { margin-bottom: 30px; }
.hero-team { display: flex; align-items: center; gap: 16px; }
.hero-team p { margin: 0; font-size: 14px; max-width: 300px; line-height: 1.5; }
.avatars { display: flex; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.hero-media { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-ring { position: absolute; width: min(470px, 90%); aspect-ratio: 1; border-radius: 50%; bottom: 0; background: rgba(255, 255, 255, .16); box-shadow: 0 0 0 26px rgba(255, 255, 255, .07), 0 0 0 52px rgba(255, 255, 255, .04); }
.hero-media img { position: relative; width: min(470px, 90%); filter: drop-shadow(0 25px 35px rgba(0, 40, 80, .3)); }
.hero-page { padding-bottom: 130px; }
.hero-page .hero-media img, .hero-page .hero-ring { width: min(400px, 85%); }

/* ---------- Seksi ---------- */
.section { position: relative; padding: 100px 0; }
.soft { background: var(--soft); }
.section.soft { padding: 150px 0; }
.sec-head { position: relative; text-align: center; max-width: 720px; margin: 0 auto 50px; padding-top: 34px; }
.sec-head h2 { position: relative; z-index: 1; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sec-head p { position: relative; z-index: 1; margin: 0 auto; max-width: 620px; }
.bg-word { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); font-family: var(--head); font-weight: 800; font-size: clamp(4.2rem, 11vw, 8.5rem); line-height: 1; color: rgba(31, 37, 50, .045); white-space: nowrap; pointer-events: none; user-select: none; text-transform: capitalize; }
.soft .bg-word { color: rgba(0, 104, 168, .06); }
.sec-head.left { text-align: left; margin: 0 0 22px; max-width: none; }
.sec-head.left .bg-word { left: -6px; transform: none; }
.sec-head.light h2, .sec-head.light p { color: #fff; }
.sec-head.light .bg-word { color: rgba(255, 255, 255, .1); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; background: rgba(0, 104, 168, .08); padding: 6px 14px; border-radius: 30px; }
.eyebrow.light { color: #fff; background: rgba(255, 255, 255, .15); }
.eyebrow + .sec-head { margin-top: 6px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.blob-img { position: relative; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; background: #dfeaf5; }
.blob-img img { width: 100%; height: 100%; object-fit: cover; }
.blob-2 { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; aspect-ratio: 1 / 1; max-width: 480px; margin: 0 auto; }
.float-card { position: absolute; left: -10px; bottom: 18px; display: flex; align-items: center; gap: 14px; background: #fff; padding: 14px 22px 14px 14px; border-radius: 18px; box-shadow: var(--shadow); }
.float-card strong { display: block; color: var(--ink); font-family: var(--head); font-size: 17px; line-height: 1.2; }
.float-card small { font-size: 13px; }
.float-card .hex { width: 52px; height: 58px; }
.float-card .hex .ico { width: 28px; height: 28px; }

/* Heksagon ikon */
.hex { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 70px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: #e3effa; color: var(--blue); flex-shrink: 0; }
.hex .i { width: 26px; height: 26px; }
.hex .ico { width: 34px; height: 34px; }
.hex.blue { background: #e1ecff; color: #2463eb; }
.hex.amber { background: #fff3d6; color: #e09b00; }
.hex.pink { background: #fde4f3; color: #d6338a; }
.hex.green { background: #dcf7ec; color: #12a36b; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin: 28px 0 34px; }
.feature h3 { font-size: 19px; margin: 14px 0 0; }
.feature-row { display: flex; gap: 20px; align-items: flex-start; }
.feature-row h3 { margin-top: 4px; }
.feature-row p { margin: 6px 0 0; }

/* Lingkaran foto */
.circles { position: relative; min-height: 470px; }
.c-ring { position: absolute; right: 30px; top: 0; width: 440px; height: 440px; border: 34px solid rgba(0, 104, 168, .06); border-radius: 50%; }
.c-big { position: absolute; right: 0; top: 10px; width: 400px; height: 400px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.c-small { position: absolute; left: 10px; bottom: 0; width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 8px solid #fff; box-shadow: var(--shadow); }

/* Tab layanan */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 60px; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 16px; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--blue-2); font-family: var(--head); font-size: 18px; font-weight: 500; cursor: pointer; transition: background .25s, color .25s; }
.tab:last-child { border-right: 0; }
.tab:nth-child(even) { background: #fafbfc; }
.tab:hover { color: var(--blue); }
.tab.active { background: var(--grad); color: #fff; }
.tab .ico { width: 54px; height: 54px; }
.tab-panel { animation: fade .45s ease; }
.panel-title { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 18px 0 14px; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Band gelap */
.service-band, .cta-band { position: relative; color: #fff; padding: 190px 0; overflow: hidden; text-align: center; }
.service-band { background: #3d4452; }
.band-bg, .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.band-inner, .cta-inner { position: relative; z-index: 1; }
.band-inner .sec-head { margin-bottom: 36px; }
.counters { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 0 auto 44px; }
.counter { min-width: 200px; padding: 24px 20px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); }
.counter strong { display: block; font-family: var(--head); font-size: 3rem; line-height: 1; color: #fff; }
.counter > span { font-size: 15px; color: rgba(255, 255, 255, .85); }
.cta-band { background: var(--grad); padding: 170px 0 130px; }
.cta-bg { opacity: .14; mix-blend-mode: luminosity; }
.cta-inner .sec-head { margin-bottom: 30px; }

/* Ulasan */
.review { padding: 120px 0; }
.review-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.slider-nav { display: flex; gap: 12px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 18px rgba(0, 104, 168, .25); transition: background .2s, transform .2s; }
.round-btn:hover { background: var(--blue-d); transform: translateY(-2px); }
.review-slider { position: relative; }
.slides { position: relative; display: grid; }
.testi { grid-area: 1 / 1; margin: 0; background: #fff; border-radius: 16px; padding: 48px 56px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: scale(.96); transition: opacity .5s, transform .5s, visibility .5s; position: relative; }
.testi.active { opacity: 1; visibility: visible; transform: none; }
.quote-ico { position: absolute; right: 40px; top: 36px; width: 46px; height: 46px; color: rgba(0, 104, 168, .12); }
.stars { color: #ffb400; letter-spacing: 3px; font-size: 18px; margin-bottom: 10px; }
.testi blockquote { margin: 0 0 26px; font-size: 17px; color: var(--ink-2); line-height: 1.75; }
.testi figcaption { display: flex; align-items: center; gap: 16px; }
.testi figcaption img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #e8f2fb; }
.testi figcaption strong { display: block; font-family: var(--head); font-size: 20px; color: var(--ink); line-height: 1.2; }
.testi figcaption small { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: #d5dde8; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.dot.active { background: var(--blue); transform: scale(1.2); }

/* Tim dokter */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto 46px; }
.doc-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 34px 24px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.doc-photo { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 0 0 10px #eaf3fb; }
.doc-ico { width: 78px; height: 78px; }
.doc-badge { position: absolute; right: 2px; bottom: 6px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.doc-card h3 { font-size: 19px; margin-bottom: 4px; }
.doc-role { color: var(--blue-2); margin: 0 0 16px; font-weight: 500; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--blue-2); transform: translateY(-2px); }
.social .i { width: 17px; height: 17px; }
.social-sm { justify-content: center; }
.social-sm a { background: #eef4fa; color: var(--blue); }
.social-sm a:hover { color: #fff; }

/* Kartu layanan */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.svc-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px 28px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; overflow: hidden; scroll-margin-top: 110px; }
.svc-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.svc-card:hover, .svc-card:target { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc-card:hover::before, .svc-card:target::before { transform: scaleX(1); }
.svc-hex { display: flex; align-items: center; justify-content: center; width: 84px; height: 94px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: #e6f1fb; color: var(--blue); margin-bottom: 22px; transition: background .3s, color .3s; }
.svc-card:hover .svc-hex { background: var(--grad); color: #fff; }
.svc-hex .ico { width: 48px; height: 48px; }
.svc-card h3 { font-size: 21px; }
.svc-card p { font-size: 14.5px; flex: 1; }

/* Kontak */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--muted); transition: transform .25s, box-shadow .25s, border-color .25s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe2f3; }
.info-card small { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.info-card strong { display: block; color: var(--ink); font-family: var(--head); font-size: 17px; line-height: 1.35; font-weight: 600; word-break: break-word; }
.booking-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: stretch; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: #dfe8f1; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.form-card { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-card .sec-head h2 { font-size: 1.9rem; }
#bookingForm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.full { grid-column: 1 / -1; }
.field label { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfcfe; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(69, 174, 224, .18); }
.field .invalid { border-color: #e5484d; }
.form-error { color: #d13438; margin: 0; font-size: 14px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
.checklist .i { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--grad); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #2b313d; color: rgba(255, 255, 255, .75); padding: 70px 0 0; overflow: hidden; font-size: 14.5px; }
.footer-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .08; filter: grayscale(1); -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .7fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.brand-footer { margin-bottom: 20px; }
.brand-footer img { height: 46px; }
.f-links, .f-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-links a, .f-contact a { color: rgba(255, 255, 255, .75); transition: color .2s, padding .2s; }
.f-links a:hover, .f-contact a:hover { color: #fff; }
.f-links a:hover { padding-left: 4px; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.f-contact .i { color: var(--blue-2); margin-top: 3px; width: 18px; height: 18px; }
.f-contact small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .5); }
.copyright { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 20px; text-align: center; font-size: 14px; }

/* WhatsApp melayang */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .25s; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2s infinite; z-index: -1; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .i { width: 32px; height: 32px; }
.wa-tip { position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 500; padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }

/* Animasi muncul */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .wa-float::before { animation: none; } }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { gap: 22px; }
  .main-nav ul { gap: 22px; }
}
@media (max-width: 991px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 42px; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #00568c; padding: 10px 20px 24px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; box-shadow: 0 18px 30px rgba(0, 0, 0, .18); }
  .site-header.scrolled .main-nav { top: 74px; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: #00568c; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.active { color: #bfe6ff; }
  .nav-cta { margin-top: 18px; }
  .hero { padding: calc(var(--header-h) + 40px) 0 120px; text-align: center; }
  .hero-grid, .split, .review-grid, .booking-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-team { justify-content: center; text-align: left; }
  .hero-media img, .hero-ring { width: min(360px, 80%); }
  .section { padding: 80px 0; }
  .section.soft { padding: 120px 0; }
  .split-media { max-width: 560px; margin: 0 auto; width: 100%; }
  .circles { min-height: 0; height: 420px; max-width: 460px; margin: 0 auto; width: 100%; }
  .c-ring { width: 380px; height: 380px; right: 10px; }
  .c-big { width: 340px; height: 340px; }
  .c-small { width: 180px; height: 180px; }
  .integrated .circles { order: -1; }
  .doc-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-band, .cta-band { padding: 150px 0; }
  .wave svg { height: 70px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .brand { padding: 5px 10px; border-radius: 12px; }
  .brand img { height: 36px; }
  .hero h1 { font-size: 2.05rem; }
  .hero-team { flex-direction: column; text-align: center; }
  .btn { padding: 13px 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 1.7rem; }
  .bg-word { font-size: 3.9rem; }
  .sec-head.left .bg-word { left: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .feature h3 { font-size: 16px; }
  .float-card { left: 8px; bottom: -14px; padding: 10px 16px 10px 10px; }
  .circles { height: 330px; }
  .c-ring { width: 290px; height: 290px; right: 0; border-width: 22px; }
  .c-big { width: 260px; height: 260px; }
  .c-small { width: 140px; height: 140px; border-width: 6px; }
  .tabs { grid-template-columns: 1fr; margin-bottom: 40px; }
  .tab { flex-direction: row; justify-content: flex-start; padding: 16px 20px; border-right: 0; border-bottom: 1px solid var(--line); font-size: 17px; text-align: left; }
  .tab:last-child { border-bottom: 0; }
  .tab .ico { width: 38px; height: 38px; }
  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-card { padding: 28px 22px 24px; }
  .testi { padding: 34px 24px 30px; }
  .testi blockquote { font-size: 15.5px; }
  .quote-ico { right: 22px; top: 22px; width: 36px; height: 36px; }
  .slider-nav { display: none; }
  .counters { gap: 10px; flex-wrap: nowrap; }
  .counter { min-width: 0; flex: 1 1 0; padding: 16px 6px; border-radius: 16px; }
  .counter > span { display: block; font-size: 12px; line-height: 1.35; margin-top: 6px; }
  .counter strong { font-size: 2.1rem; }
  .info-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  #bookingForm { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-band, .cta-band { padding: 120px 0; }
  .wave svg { height: 46px; }
  .section.soft { padding: 90px 0; }
  .site-footer { padding-top: 50px; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
  .wa-tip { display: none; }
}

/* Penyesuaian: tombol kartu satu baris, foto hero menempel ke gelombang */
.svc-card .btn { width: 100%; padding: 12px 14px; font-size: 13.5px; white-space: nowrap; }
.hero-media.cutout { align-self: end; margin-bottom: -150px; }
.hero-page .hero-media.cutout { margin-bottom: -130px; }
@media (max-width: 991px) {
  .hero-media.cutout, .hero-page .hero-media.cutout { margin-bottom: -120px; }
}

/* ---------- Tim medis berfoto ---------- */
.avatars img { object-position: 50% 12%; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 46px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo { position: relative; aspect-ratio: 4 / 5; background: var(--grad); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .95); color: var(--blue); font-size: 12.5px; font-weight: 600; padding: 6px 12px 6px 8px; border-radius: 30px; box-shadow: var(--shadow-sm); }
.team-tag .ico { width: 20px; height: 20px; }
.team-body { padding: 18px 20px 20px; text-align: center; display: flex; flex-direction: column; flex: 1; justify-content: space-between; gap: 10px; }
.team-body h3 { font-size: 17.5px; margin: 0; }
.team-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 14px; }
.team-link .i { transition: transform .2s; }
.team-link:hover .i { transform: translateX(4px); }
.center-row { justify-content: center; }
.doc-noimg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; }
.doc-noimg .ico { width: 70px; height: 70px; opacity: .9; }
.doc-noimg span { font-family: var(--head); font-size: 2.2rem; font-weight: 700; letter-spacing: .05em; }

/* ---------- Halaman jadwal ---------- */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 50px; position: sticky; top: 74px; z-index: 5; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); padding: 12px 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font: 500 14px var(--body); padding: 9px 18px; border-radius: 40px; cursor: pointer; transition: all .2s; white-space: nowrap; }
.chip .ico { width: 20px; height: 20px; color: var(--blue-2); }
.chip:hover { border-color: var(--blue-2); color: var(--blue); }
.chip.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(0, 104, 168, .25); }
.chip.active .ico { color: #fff; }
.sched-group { margin-bottom: 56px; scroll-margin-top: 150px; }
.sched-group:last-child { margin-bottom: 0; }
.group-title { display: flex; align-items: center; gap: 14px; font-size: 1.6rem; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.group-title .hex { width: 50px; height: 56px; }
.group-title .hex .ico { width: 28px; height: 28px; }
.group-note { display: inline-flex; align-items: center; gap: 8px; background: #fff7e0; color: #8a6100; border-radius: 12px; padding: 8px 14px; font-size: 14px; margin: -6px 0 22px; }
.sched-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sched-card { display: grid; grid-template-columns: 170px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s; }
.sched-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.sched-photo { background: var(--grad); min-height: 212px; }
.sched-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.sched-body { padding: 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sched-role { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-2); font-weight: 600; }
.sched-body h4 { font-family: var(--head); font-size: 19px; color: var(--ink); line-height: 1.25; margin: 0 0 8px; font-weight: 600; }
.sched { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; width: 100%; }
.sched li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; background: var(--soft); border-radius: 10px; padding: 8px 12px; }
.sched .i { color: var(--blue); width: 17px; height: 17px; margin-top: 2px; }
.sched strong { display: block; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.sched small { display: block; font-size: 13.5px; color: var(--blue); font-weight: 500; }
.sched-body .btn { margin-top: auto; }

@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
  .sched-grid { grid-template-columns: 1fr; }
  .filter { top: 74px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 10px 20px; }
  .filter::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-body { padding: 12px 10px 14px; }
  .team-body h3 { font-size: 14.5px; }
  .team-tag { left: 8px; bottom: 8px; font-size: 10.5px; padding: 4px 9px 4px 6px; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .team-tag .ico { width: 15px; height: 15px; flex-shrink: 0; }
  .team-link { font-size: 13px; }
  .filter { margin-left: -16px; margin-right: -16px; padding: 10px 16px; }
  .sched-card { grid-template-columns: 112px 1fr; }
  .sched-photo { min-height: 0; }
  .sched-body { padding: 14px 14px 16px; }
  .sched-body h4 { font-size: 16.5px; }
  .sched li { padding: 7px 9px; }
  .group-title { font-size: 1.35rem; }
}

/* Hero foto dokter & keluarga (tanpa latar, menempel ke gelombang) */
.hero-media.cutout.wide img { width: min(680px, 118%); max-width: none; }
.hero-media.cutout.wide .hero-ring { width: min(480px, 88%); }
@media (max-width: 991px) { .hero-media.cutout.wide img { width: min(560px, 100%); } .hero-media.cutout.wide .hero-ring { width: min(380px, 78%); } }

/* ---------- Konten dinamis: video YouTube & brosur (dashboard admin) ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-embed { position: relative; padding-top: 56.25%; background: #0b1320; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 20px 22px 6px; }
.video-body h3 { font-size: 20px; }
.brochure-row { margin-top: 36px; }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } }
