/* Radiologi RS UBAYA — mini website */
:root{
  --g900:#03401F; --g800:#055A2C; --g700:#087A3B; --g500:#00A63A; --g100:#DDF0E3; --g50:#EFF8F2;
  --ink:#12241A; --muted:#4A5E52; --line:#DCE7E0; --bg:#F6FAF7; --card:#FFFFFF;
  --gold:#E9A514; --gold-ink:#8A5A00; --warn:#B3261E; --warn-bg:#FDEDEC;
  --r-lg:24px; --r-md:16px; --r-sm:12px;
  --shadow:0 1px 2px rgba(3,64,31,.06),0 8px 24px rgba(3,64,31,.06);
  --font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:17px;line-height:1.6;color:var(--ink);background:var(--bg);padding-bottom:84px}
img{max-width:100%;display:block}
a{color:var(--g700)}
h1,h2,h3{line-height:1.2;margin:0;text-wrap:balance;letter-spacing:-.01em}
p{margin:0;text-wrap:pretty}
.wrap{width:100%;max-width:1080px;margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:6px}

/* Header */
.top{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.brand img{height:34px;width:auto}
.brand span{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--g700);border-left:1px solid var(--line);padding-left:12px;line-height:1.2}
.nav{display:none;gap:4px}
.nav a{padding:10px 14px;border-radius:999px;text-decoration:none;color:var(--muted);font-weight:600;font-size:15px}
.nav a:hover{background:var(--g50);color:var(--g800)}
.nav a[aria-current=page]{background:var(--g100);color:var(--g800)}

/* Bottom nav (mobile) */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;min-height:52px;text-decoration:none;color:var(--muted);font-size:11.5px;font-weight:600;border-radius:12px}
.tabbar a svg{width:24px;height:24px}
.tabbar a[aria-current=page]{color:var(--g700)}
.tabbar a.wa .dot{background:var(--g700);border-radius:999px;width:44px;height:32px;display:grid;place-items:center}
.tabbar a.wa{color:var(--g800)}
.tabbar a.wa svg{stroke:#fff}

@media(min-width:900px){
  body{padding-bottom:0}
  .nav{display:flex}
  .tabbar{display:none}
}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 22px;border-radius:999px;font-weight:700;font-size:16px;text-decoration:none;border:0;cursor:pointer;transition:transform .15s,background .15s}
.btn:active{transform:scale(.98)}
.btn svg{width:20px;height:20px;flex:none}
.btn-light{background:#fff;color:var(--g800)}
.btn-light:hover{background:var(--g50)}
.btn-outline{background:transparent;color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.btn-outline:hover{background:rgba(255,255,255,.1)}
.btn-green{background:var(--g700);color:#fff}
.btn-green:hover{background:var(--g800)}

/* Hero */
.hero{position:relative;overflow:hidden;background:var(--g800);color:#fff;border-radius:0 0 32px 32px}
.hero .wrap{position:relative;padding-top:44px;padding-bottom:48px}
.hero .rings{position:absolute;right:-250px;top:150px;width:520px;height:520px;pointer-events:none;opacity:.8}
@media(min-width:900px){.hero .rings{right:-60px;top:-80px}}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.hero .eyebrow{color:#BFE6CC}
.hero .eyebrow::before{content:"";width:8px;height:8px;border-radius:99px;background:var(--gold)}
.hero h1{margin-top:14px;font-size:clamp(34px,8.6vw,58px);font-weight:800;max-width:15ch}
.hero p{margin-top:16px;font-size:18px;color:#DDF0E3;max-width:34ch}
.hero .cta{margin-top:28px;display:flex;flex-wrap:wrap;gap:12px}

/* Sections */
.section{padding:44px 0 8px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-head h2{font-size:clamp(26px,5.6vw,34px);font-weight:800}
.section .eyebrow{color:var(--g700);margin-bottom:8px}
.lead{color:var(--muted);margin-top:8px;max-width:60ch}
.more{flex:none;font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap}

/* Quick tiles */
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tile{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:var(--r-md);background:var(--card);box-shadow:var(--shadow);text-decoration:none;color:var(--ink);border:1px solid var(--line);transition:transform .15s,border-color .15s}
.tile:hover{transform:translateY(-2px);border-color:var(--g500)}
.tile .ic{width:48px;height:48px;border-radius:14px;background:var(--g50);display:grid;place-items:center}
.tile .ic svg{width:26px;height:26px;stroke:var(--g700)}
.tile b{font-size:17px}
.tile small{display:block;color:var(--muted);font-size:14px;line-height:1.45;margin-top:2px}
.tile.wide{background:var(--g50);border-color:var(--g100)}
@media(min-width:720px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1000px){.tiles{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Facts slider */
.facts{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 20px 18px;margin:0 -20px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.facts::-webkit-scrollbar{display:none}
.fact{flex:0 0 84%;max-width:360px;scroll-snap-align:center;display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:var(--r-lg);background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}
.fact .tag{align-self:flex-start;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:6px 10px;border-radius:999px;background:var(--g100);color:var(--g800)}
.fact .tag.myth{background:#FCF1D8;color:var(--gold-ink)}
.fact .big{font-size:42px;font-weight:800;line-height:1;color:var(--g700);letter-spacing:-.02em}
.fact h3{font-size:20px;font-weight:800}
.fact p{color:var(--muted);font-size:15.5px}
.fact .myth-line{font-size:15px;color:var(--warn);text-decoration:line-through;text-decoration-thickness:1.5px}
.fact a{margin-top:auto;font-weight:700;font-size:15px;text-decoration:none;display:inline-flex;align-items:center;gap:6px;min-height:44px}
.fact a svg{width:18px;height:18px;flex:none}
.fact.feature{background:var(--g800);border-color:var(--g800);color:#fff}
.fact.feature .tag{background:rgba(255,255,255,.14);color:#fff}
.fact.feature .big{color:var(--gold)}
.fact.feature p{color:#DDF0E3}
.fact.feature a{color:#fff}
.dots{display:flex;justify-content:center;gap:6px}
.dots span{width:7px;height:7px;border-radius:99px;background:var(--line);transition:all .2s}
.dots span.on{width:22px;background:var(--g700)}

/* Info cards */
.info{display:grid;gap:12px}
@media(min-width:720px){.info{grid-template-columns:repeat(3,minmax(0,1fr))}}
.card{padding:22px;border-radius:var(--r-lg);background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}
.card h3{font-size:18px;font-weight:800;display:flex;align-items:center;gap:10px;margin-bottom:10px}
.card h3 svg{width:22px;height:22px;stroke:var(--g700);flex:none}
.rows{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:15.5px}
.rows dt{color:var(--muted)}
.rows dd{margin:0;font-weight:700;white-space:nowrap}

/* Page header (inner pages) */
.phead{background:var(--g800);color:#fff;border-radius:0 0 28px 28px;position:relative;overflow:hidden}
.phead .wrap{padding-top:30px;padding-bottom:30px;position:relative}
.phead .eyebrow{color:#BFE6CC}
.phead h1{font-size:clamp(30px,7vw,46px);font-weight:800;margin-top:10px}
.phead p{color:#DDF0E3;margin-top:10px;max-width:52ch}
.phead .rings{position:absolute;right:-140px;top:-120px;width:380px;height:380px;pointer-events:none}

/* Jump chips */
.chips{display:flex;gap:8px;overflow-x:auto;padding:16px 20px;margin:0 -20px;scrollbar-width:none;position:sticky;top:64px;z-index:10;background:var(--bg)}
.chips::-webkit-scrollbar{display:none}
.chips a{flex:none;padding:10px 16px;border-radius:999px;background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--ink);font-weight:600;font-size:14.5px;min-height:44px;display:inline-flex;align-items:center}
.chips a:hover{border-color:var(--g500);color:var(--g800)}

/* Modality blocks */
.mod{scroll-margin-top:136px;margin-top:18px;padding:24px;border-radius:var(--r-lg);background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}
.mod-top{display:flex;gap:16px;align-items:center}
.mod-top .ic{flex:none;width:58px;height:58px;border-radius:16px;background:var(--g700);display:grid;place-items:center}
.mod-top .ic svg{width:32px;height:32px;stroke:#fff}
.mod-top h2{font-size:26px;font-weight:800}
.badge{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-size:13px;font-weight:700;padding:4px 10px;border-radius:999px}
.badge.no{background:var(--g100);color:var(--g800)}
.badge.low{background:#FCF1D8;color:var(--gold-ink)}
.mod > p{margin-top:16px;color:var(--muted)}
.facts-grid{display:grid;gap:12px;margin-top:18px}
@media(min-width:720px){.facts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.kv{padding:14px 16px;border-radius:var(--r-sm);background:var(--g50)}
.kv b{display:block;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--g800);margin-bottom:4px}
.kv span{font-size:15.5px;line-height:1.5}
.mod .btn{margin-top:18px}

/* Prep checklist */
.check{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:10px}
.check li{display:flex;gap:12px;align-items:flex-start;font-size:16px}
.check li::before{content:"";flex:none;width:24px;height:24px;margin-top:1px;border-radius:8px;background:var(--g100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087A3B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat}
.note{display:flex;gap:12px;margin-top:16px;padding:14px 16px;border-radius:var(--r-sm);background:var(--warn-bg);color:#5C1610;font-size:15px}
.note svg{flex:none;width:22px;height:22px;stroke:var(--warn);margin-top:1px}
.note.tip{background:#FCF1D8;color:#4D3300}
.note.tip svg{stroke:var(--gold-ink)}

/* Dose table */
.dose{width:100%;border-collapse:collapse;margin-top:14px;font-size:15.5px}
.dose th,.dose td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line)}
.dose th{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.dose td:nth-child(2),.dose th:nth-child(2){text-align:right;white-space:nowrap}
.src{font-size:13px;color:var(--muted);margin-top:10px}

/* FAQ */
.faq{display:grid;gap:10px;margin-top:16px}
.faq details{border-radius:var(--r-md);background:var(--card);border:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:18px 52px 18px 18px;font-weight:700;font-size:16.5px;position:relative;min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:18px;top:50%;width:22px;height:22px;margin-top:-11px;border-radius:99px;background:var(--g50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087A3B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding:0 18px 18px;color:var(--muted)}

/* CTA band + footer */
.band{margin-top:40px;padding:26px;border-radius:var(--r-lg);background:var(--g50);border:1px solid var(--g100);display:flex;flex-direction:column;gap:16px}
.band h2{font-size:24px;font-weight:800}
.band p{color:var(--muted)}
@media(min-width:720px){.band{flex-direction:row;align-items:center;justify-content:space-between}}
footer{margin-top:44px;padding:28px 0 32px;border-top:1px solid var(--line);color:var(--muted);font-size:14px}
footer .wrap{display:flex;flex-direction:column;gap:10px}
footer img{height:28px;width:auto;align-self:flex-start}

@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
