/* ==========================================================================
   Azhar Urology — v2
   A clinical, quiet, consultant-practice look. One typeface (Libre Franklin),
   white and cool-grey surfaces, navy ink, maroon used only for interaction,
   WhatsApp green only for WhatsApp. Photography carries the colour.
   ========================================================================== */
:root {
  --ink: #16233d;          /* headings, primary buttons, footer */
  --ink-2: #24385c;        /* hover on ink */
  --text: #2f3846;         /* body (12.6:1) */
  --muted: #5c6574;        /* secondary text (6.2:1) */
  --line: #dde2e8;         /* hairlines, borders */
  --line-2: #c9d0d9;       /* stronger borders, inputs */
  --surface: #f3f5f8;      /* alternate section background */
  --white: #ffffff;
  --accent: #0b6f7c;       /* his brand maroon: links, focus, active nav (10:1) */
  --accent-2: #08545e;
  --wa: #168044;           /* WhatsApp only (5:1 with white) */
  --wa-2: #11683a;
  --danger: #a3341f;
  --danger-bg: #fbf0ec;
  --tbc-bg: #fff4d6;
  --tbc-ink: #6e4b00;
  --stars: #e1a21a;

  --font: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  /* modular scale, after Bringhurst: 14 16 18 21 24 30 36 48 */
  --fs-sm: .875rem;
  --fs-base: 1.125rem;
  --fs-md: 1.3125rem;
  --fs-lg: 1.5rem;
  --fs-xl: 1.875rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;

  --wrap: 1200px;
  --measure: 40rem;
  --r-sm: 4px;
  --r: 8px;
  --header-h: 72px;

  /* legacy names still referenced by icon/list rules */
  --maroon: var(--accent);
  --maroon-soft: #e3f1f3;
  --navy: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.6;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip;
  font-feature-settings: "kern", "liga", "tnum" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--ink); font-family: var(--font); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 4.2vw, var(--fs-3xl)); font-weight: 700; line-height: 1.1; letter-spacing: -.022em; }
h2 { font-size: clamp(1.625rem, 2.6vw, var(--fs-2xl)); font-weight: 700; line-height: 1.18; letter-spacing: -.016em; }
h3 { font-size: var(--fs-md); font-weight: 600; line-height: 1.3; letter-spacing: -.008em; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(11, 111, 124, .16); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: .7em 1.25em; border-radius: var(--r-sm); border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .ico { width: 1.2em; height: 1.2em; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); color: #fff; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface); color: var(--ink); }
.btn-lg { min-height: 52px; padding: .8em 1.4em; }
.btn-block { display: flex; width: 100%; }
.tlink { font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tlink:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.actions.center { justify-content: center; }
.actions.sm { margin-top: 14px; gap: 10px; }
.actions.sm .btn { min-height: 40px; padding: .5em .9em; font-size: .9375rem; }
.more { margin-top: 24px; }
.lead { font-size: var(--fs-md); color: var(--muted); line-height: 1.5; max-width: var(--measure); }
.meta-line { color: var(--muted); }
.tbc { background: var(--tbc-bg); color: var(--tbc-ink); border-bottom: 1px dashed #c99628; padding: 0 .25em; font-size: .95em; }
.admin-note { background: var(--tbc-bg); border: 1px dashed #c99628; padding: 10px 14px; font-size: var(--fs-sm); color: var(--tbc-ink); }
.ic { color: var(--accent); }

/* ---------- top bar & header */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .8); font-size: var(--fs-sm); }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
.brand-text span { font-size: var(--fs-sm); color: var(--muted); }
.brand:hover { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 14px; }
.site-nav .menu, .site-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu { display: flex; align-items: center; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a {
  display: block; padding: 24px 11px; color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500;
  white-space: nowrap; border-bottom: 2px solid transparent;
}
.site-nav .menu > li > a:hover { color: var(--accent); }
.site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { border-bottom-color: var(--accent); color: var(--ink); }
.site-nav .menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; vertical-align: 3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55;
}
.nav-toggle { display: none; }

@media (min-width: 1024px) {
  .site-nav .menu > li > .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(22, 35, 61, .12); padding: 8px 0; display: none;
  }
  .site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { display: block; }
  .site-nav .sub-menu a { display: block; padding: 9px 18px; color: var(--text); text-decoration: none; font-size: .9375rem; }
  .site-nav .sub-menu a:hover { background: var(--surface); color: var(--accent); }
  .site-nav .sub-menu .menu-item-has-children > a::after { display: none; }
  .site-nav .menu > li:not(.mega) .sub-menu .sub-menu { display: none; }
  .site-nav .menu > li.mega { position: static; }
  .site-nav .menu > li.mega > .sub-menu {
    left: 24px; right: 24px; max-width: calc(var(--wrap) - 48px); margin: 0 auto; grid-template-columns: repeat(5, 1fr);
    gap: 0 28px; padding: 28px 28px 22px;
  }
  .site-nav .menu > li.mega:hover > .sub-menu, .site-nav .menu > li.mega:focus-within > .sub-menu { display: grid; }
  .site-nav li.mega > .sub-menu > li > a { padding: 0 0 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); background: none; }
  .site-nav li.mega > .sub-menu > li > a:hover { color: var(--accent); }
  .site-nav li.mega .sub-menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0; }
  .site-nav li.mega .sub-menu .sub-menu a { padding: 5px 0; font-size: .875rem; color: var(--muted); background: none; }
  .site-nav li.mega .sub-menu .sub-menu a:hover { color: var(--accent); }
}
@media (min-width: 1024px) and (max-width: 1320px) {
  .nav-cta span { display: none; }
  .nav-cta { min-height: 44px; padding: .6em .75em; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .site-nav .menu > li > a { padding: 24px 7px; font-size: .875rem; }
  .brand-text strong { font-size: 1.1rem; }
}
@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px;
    border: 1px solid var(--line-2); background: #fff; border-radius: var(--r-sm); cursor: pointer; padding: 0 11px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--hdr, 110px); bottom: 0; z-index: 70; background: #fff; flex-direction: column;
    align-items: stretch; padding: 8px 24px 110px; overflow-y: auto; visibility: hidden; transform: translateX(100%);
    transition: transform .25s ease, visibility .25s; gap: 16px;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav .menu { flex-direction: column; align-items: stretch; }
  .site-nav .menu > li > a { padding: 15px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { border-bottom-color: var(--line); color: var(--accent); }
  .site-nav .sub-menu { display: none; padding: 6px 0 10px 14px; }
  .site-nav li.sub-open > .sub-menu { display: block; }
  .site-nav .sub-menu a { display: block; padding: 9px 0; text-decoration: none; color: var(--text); }
  .site-nav .sub-menu .sub-menu { display: none; }
  .nav-cta { width: 100%; }
  body.nav-open { overflow: hidden; }
  .topbar-inner span { display: none; }
  .topbar-inner { justify-content: flex-end; }
}

/* ---------- hero */
.hero { background: #fff; border-bottom: 1px solid var(--line); padding: 56px 0 64px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { max-width: 46rem; }
.hero h1 { margin-bottom: .45em; }
.hero-text p { font-size: var(--fs-md); line-height: 1.5; color: var(--muted); max-width: var(--measure); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs a::after { content: "/"; margin-left: 8px; color: var(--line-2); }
.crumbs span { color: var(--ink); }

.hero.has-media .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.hero-media { margin: 0; align-self: stretch; min-height: 340px; }
.hero-media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--r); }
.hero-media.portrait img { object-position: 50% 12%; }
.hero.has-media[class] .hero-media img[src*="batu-pahat-town"] { object-position: 50% 38%; }

/* home: his portrait is the one big element */
.hero-home { padding: 0; border-bottom: 1px solid var(--line); background: #fff; }
.hero-home .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.hero-home .hero-copy { padding: 72px 0 56px; }
.hero-home h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); letter-spacing: -.03em; }
.hero-hosp { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero-hosp li { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.hero-hosp li:nth-child(odd) { padding-right: 24px; }
.hero-hosp strong { font-size: 1rem; }
.hero-hosp span { font-size: var(--fs-sm); color: var(--muted); }
.hero-aside { align-self: center; padding: 48px 0; }
.hero-portrait { margin: 0; position: relative; }
.hero-portrait img { width: 100%; object-fit: cover; object-position: 50% 0; aspect-ratio: 6 / 5; border-radius: var(--r) var(--r) 0 0; background: var(--surface); }
.hero-portrait figcaption {
  background: var(--surface); padding: 18px 22px 18px; display: grid; gap: 2px; border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--r) var(--r);
}
.hero-portrait figcaption strong { font-size: 1.0625rem; }
.hero-portrait figcaption > span { font-size: var(--fs-sm); color: var(--muted); }
.g-rating { font-size: var(--fs-sm); color: var(--text); text-decoration: none; margin-top: 4px; }
.g-rating b { color: var(--ink); }
.r-stars { color: var(--stars); letter-spacing: 1px; }

@media (max-width: 1023px) {
  .hero { padding: 36px 0 44px; }
  .hero.has-media .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { min-height: 0; order: -1; }
  .hero-media img { aspect-ratio: 16 / 9; max-height: 320px; }
  .hero-media.portrait img { aspect-ratio: 4 / 3; }
  .hero-home { background: #fff; }
  .hero-home .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-home .hero-copy { padding: 36px 0 32px; }
  .hero-aside { order: -1; padding: 24px 0 0; }
}
@media (max-width: 560px) { .hero-hosp { grid-template-columns: 1fr; } .hero-hosp li:nth-child(odd) { padding-right: 0; } }

/* ---------- sections */
.sec { padding: 80px 0; }
.sec.alt { background: var(--surface); }
.sec-head { max-width: 46rem; margin-bottom: 32px; }
.sec-head h2 { margin-bottom: .35em; }
.intro { max-width: var(--measure); color: var(--muted); }
.intro p { font-size: var(--fs-base); }
.sec > .wrap > p, .block > p { max-width: var(--measure); }
@media (max-width: 720px) { .sec { padding: 56px 0; } }

/* credentials row (home) */
.s-highlights-strip { padding: 0 !important; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px 26px 0; display: grid; gap: 2px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat strong { font-size: var(--fs-md); font-weight: 700; }
.stat span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 1023px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* lists */
ul.checks { list-style: none; padding: 0; margin: 0 0 1.4em; max-width: var(--measure); }
ul.checks li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); }
ul.checks li:first-child { border-top: 1px solid var(--line); }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; background: var(--accent); }
ul.checks.k-sym, ul.checks.k-cause, ul.checks.k-when, ul.checks.k-time {
  max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px;
}
ul.checks.k-sym li:nth-child(2), ul.checks.k-cause li:nth-child(2), ul.checks.k-when li:nth-child(2), ul.checks.k-time li:nth-child(2) { border-top: 1px solid var(--line); }
ul.checks li.urgent { color: var(--danger); font-weight: 600; }
ul.checks li.urgent::before { background: var(--danger); width: 10px; height: 10px; border-radius: 50%; top: 1.05em; }
ul.checks.k-bring { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
ul.checks.k-bring li { padding-left: 34px; display: flex; align-items: center; }
ul.checks.k-bring li:nth-child(-n+3) { border-top: 1px solid var(--line); }
ul.checks.k-bring li::before { display: none; }
ul.checks.k-bring .li-ic { position: absolute; left: 0; font-size: 1.3rem; }
.main ul.checks.k-bring { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.main ul.checks.k-bring li:nth-child(3) { border-top: 0; }
@media (max-width: 720px) {
  ul.checks.k-sym, ul.checks.k-cause, ul.checks.k-when, ul.checks.k-time, ul.checks.k-bring, .main ul.checks.k-bring { grid-template-columns: 1fr; }
  ul.checks li:nth-child(n+2) { border-top: 0 !important; }
}
ul.creds { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
ul.creds li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
ol.steps-list { padding: 0 0 0 1.4em; margin: 0 0 1.4em; max-width: var(--measure); }
ol.steps-list li { padding: 6px 0 6px 6px; }
ol.steps-list li::marker { font-weight: 700; color: var(--accent); }

/* cards: used for real choices only (conditions, locations, travel) */
.cards { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.cards-3 .card:not(:nth-child(3n+1)), .cards-2 .card:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: 1rem; }
.card > .tlink { margin-top: auto; align-self: flex-start; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover h3 { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card-ic { display: block; font-size: 1.75rem; margin-bottom: 14px; color: var(--accent); }
.card-ic .ic { display: block; }
.loc-cards .card p { margin-bottom: .5em; }
.loc-cards .addr, .loc-cards .days, .loc-cards .phone { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.loc-cards .li-ic { margin-top: 4px; flex: none; }
@media (max-width: 1023px) {
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 .card { padding-left: 0 !important; border-left: 0 !important; padding-right: 24px; }
  .cards-3 .card:nth-child(2n) { padding-left: 24px !important; border-left: 1px solid var(--line) !important; padding-right: 0; }
}
@media (max-width: 720px) {
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .card, .cards-3 .card:nth-child(2n), .cards-2 .card:nth-child(2n) { padding: 24px 0 !important; border-left: 0 !important; }
}

/* steps: a real sequence */
.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: st; }
.steps li { counter-increment: st; padding-top: 18px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(st); display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.booking-box { margin-top: 48px; background: var(--ink); color: rgba(255, 255, 255, .85); padding: 32px 36px; border-radius: var(--r); max-width: 52rem; }
.booking-box h3 { color: #fff; font-size: var(--fs-lg); }
.booking-box p { margin-bottom: .6em; }
.booking-box p:last-child { margin: 0; }
.callout { margin-top: 20px; padding: 18px 0 18px 20px; border-left: 3px solid var(--accent); max-width: 52rem; }
.callout p { margin: 0; }
@media (max-width: 720px) { .booking-box { padding: 24px; } }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 16px 0 8px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--ink); padding: 12px 20px 12px 0; border-bottom: 2px solid var(--ink); font-size: .9375rem; }
.tbl td { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td:first-child { font-weight: 600; color: var(--ink); }
@media (max-width: 720px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl td { border: 0; padding: 2px 0; }
  .tbl td::before { content: attr(data-label); display: block; font-size: var(--fs-sm); color: var(--muted); }
  .tbl td:first-child::before { display: none; }
}

/* procedures (home) */
.proc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line); margin-top: 8px; }
.proc { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.proc .tile-ic { font-size: 1.5rem; padding-top: 2px; }
.proc h3 { font-size: 1.125rem; margin-bottom: .2em; }
.proc p { color: var(--muted); font-size: 1rem; margin-bottom: .4em; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--muted); }
.pill .ic { font-size: .95rem; color: var(--muted); }
@media (max-width: 720px) { .proc-grid { grid-template-columns: 1fr; } }
.tile-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.tile-grid li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tile-grid .tile-ic { font-size: 1.35rem; }
@media (max-width: 720px) { .tile-grid { grid-template-columns: 1fr; } }

/* hospitals (home) */
.hosp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 8px; }
.hosp { padding: 22px 24px 24px 0; }
.hosp + .hosp { padding-left: 24px; border-left: 1px solid var(--line); }
.hosp h3 { font-size: 1.125rem; margin-bottom: 12px; }
.hosp .meta { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--muted); margin-bottom: .5em; }
.hosp .meta .ic { margin-top: 3px; flex: none; }
@media (max-width: 1023px) {
  .hosp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hosp:nth-child(3) { padding-left: 0; border-left: 0; }
  .hosp:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .hosp-grid { grid-template-columns: 1fr; }
  .hosp, .hosp + .hosp { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* timeline (about) */
.timeline { list-style: none; padding: 0; margin: 8px 0 24px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.t-when { font-weight: 600; color: var(--accent); }
.timeline strong { display: block; }
.timeline div span { color: var(--muted); font-size: 1rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* about split (home) */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.portrait { margin: 0; position: sticky; top: 100px; }
.portrait-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; border-radius: var(--r); }
.portrait figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: 10px; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; gap: 32px; } .portrait { position: static; max-width: 420px; } }

/* FAQ */
.faq { max-width: 52rem; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 48px 20px 0; font-weight: 600; color: var(--ink); position: relative; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent); }
.faq .ans { padding: 0 48px 22px 0; color: var(--text); }
.faq .ans p { margin: 0; max-width: var(--measure); }

/* condition / profile pages: article + aside */
.sec.article { padding-top: 64px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.block { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.block .sec-head { margin-bottom: 18px; }
.block h2 { font-size: var(--fs-xl); }
.main .cards-2, .main .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.main .cards-3 .card:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.main .cards-3 .card:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
.side { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-card { border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px; }
.side-card h3 { font-size: 1.1875rem; margin-bottom: .4em; }
.side-card p { font-size: .9375rem; color: var(--muted); }
.side-card .btn { margin-bottom: 10px; }
.side-card .tlink { font-size: .9375rem; display: inline-block; margin-top: 4px; }
.side-urgent { border-color: #ecc9bd; background: var(--danger-bg); }
.side-urgent p { margin: 0; color: #6d2414; }
@media (max-width: 1023px) { .layout { grid-template-columns: 1fr; gap: 40px; } .side { position: static; } }
.edu-fig { margin: 0 0 40px; }
.edu-fig img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.edu-fig.wide { max-width: 52rem; margin: 32px 0 0; }

/* urgent note */
.alert { border-left: 4px solid var(--danger); background: var(--danger-bg); padding: 22px 26px; max-width: 52rem; }
.alert h2 { font-size: var(--fs-lg); color: var(--danger); margin-bottom: .3em; }
.alert p { margin: 0; color: #5e1f12; }

/* closing call to action */
.cta-band { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 64px 0; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: var(--measure); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1023px) { .cta-inner { grid-template-columns: 1fr; gap: 24px; } }

/* reviews */
.reviews-sec .sec-head { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; }
.reviews-sec .sec-head .lead, .reviews-sec .intro { margin: 0; }
.reviews-sec .intro { margin-bottom: 24px; }
.g-badge { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; }
.g-badge .g-logo { width: 26px; height: 26px; }
.g-badge div { display: flex; align-items: center; gap: 8px; }
.g-badge strong { font-size: var(--fs-lg); }
.g-badge span:last-child { color: var(--muted); }
.g-logo { width: 18px; height: 18px; flex: none; }
.reviews-grid { columns: 3 300px; column-gap: 40px; }
.review { break-inside: avoid; padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.review header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.r-av { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 600; font-size: .9375rem; flex: none; }
.r-who { display: grid; flex: 1; line-height: 1.3; }
.r-who strong { font-size: .9375rem; }
.r-who span { color: var(--muted); font-size: .8125rem; }
.review p { margin: 6px 0 8px; font-size: 1rem; }
.r-link { font-size: var(--fs-sm); }
.reviews-sec .actions.center { justify-content: flex-start; }

/* videos & patient education */
.videos-sec { background: var(--surface); }
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.reel { margin: 0; }
.reel-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #000; }
.reel-play { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.reel-play img { width: 100%; height: 100%; object-fit: cover; }
.reel-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.reel-btn {
  position: absolute; left: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 1rem; padding-left: 3px;
}
.reel-play:hover .reel-btn { background: var(--wa); color: #fff; }
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
@media (max-width: 1023px) {
  .reels { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .reel { scroll-snap-align: start; }
}
@media (max-width: 560px) { .reels { grid-auto-columns: 70%; } }
.edu-sec .reels { margin-bottom: 40px; }
.edu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.edu-grid .edu-fig { margin: 0; }
@media (max-width: 1023px) { .edu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .edu-grid { grid-template-columns: 1fr; } }

/* gallery tiles */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 8px; }
.g-tile { margin: 0; }
.g-ph { aspect-ratio: 16 / 10; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.g-ph img { width: 100%; height: 100%; object-fit: cover; }
.g-ph.fit-contain { background: var(--ink); }
.g-ph.fit-contain img { object-fit: contain; padding: 16px; }
.g-ph img[src*="dato-dr-azhar"] { object-position: 50% 15%; }
.g-ph img[src*="reel-dcvv"] { object-position: 50% 78%; }
.g-tile figcaption { padding: 14px 0 0; display: grid; gap: 2px; }
.g-tile figcaption span { color: var(--muted); font-size: 1rem; }
.g-tile figcaption a { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.chip { border: 1px solid var(--line-2); color: var(--ink); padding: 5px 12px; border-radius: var(--r-sm); font-size: .9375rem; }
.posts { border-top: 0; gap: 0 32px; }
.post-card { padding: 20px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line); border-bottom: 0; }
.post-card h3 { font-size: 1.125rem; margin: 0; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: 1fr; } }

/* map */
.map-wrap { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 720px) { .map { height: 320px; } }

/* contact & booking form */
.contact-card { max-width: 52rem; border-top: 1px solid var(--line); }
.contact-card p { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line); }
.contact-card .li-ic { margin-top: 4px; flex: none; }
.book-form { max-width: 46rem; border: 1px solid var(--line-2); border-radius: var(--r); padding: 32px; background: #fff; }
.book-form h3 { font-size: var(--fs-lg); margin-bottom: .8em; }
.book-form label { display: block; font-weight: 600; font-size: .9375rem; color: var(--ink); margin-bottom: 16px; }
.book-form input, .book-form select, .book-form textarea {
  display: block; width: 100%; margin-top: 6px; font: 400 1rem/1.4 var(--font); padding: 12px 14px; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); background: #fff; color: var(--text); min-height: 48px;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.book-form .invalid { border-color: var(--danger); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-note { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 720px) { .book-form { padding: 22px; } .grid2 { grid-template-columns: 1fr; } }

.prose { max-width: var(--measure); }

/* ---------- footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); padding: 64px 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; }
.f-name { color: #fff; font-size: 1.25rem; font-weight: 700; margin: 0; }
.f-sub { color: rgba(255, 255, 255, .6); margin-bottom: 16px; font-size: var(--fs-sm); }
.f-head { color: #fff; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .btn-wa { margin-top: 8px; }
.site-footer .btn-wa:hover { text-decoration: none; }
.f-addr { margin-top: 24px; }
.f-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r-sm); }
.f-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 48px; padding-top: 22px; font-size: var(--fs-sm); }
.f-bottom p { margin: 0; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* mobile quick-contact bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  body { font-size: 1.0625rem; padding-bottom: 60px; }
  .actions .btn { width: 100%; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line-2); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font-weight: 600; text-decoration: none; font-size: .9375rem; }
  .mb-call { color: var(--ink); }
  .mb-wa { background: var(--wa); color: #fff; }
  .mb-wa .ico { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
.portrait-img.event { object-position: 50% 80%; }
.t-when:empty { display: none; } .timeline li:has(.t-when:empty) { grid-template-columns: 1fr; }

/* ==========================================================================
   v3 — photography-led, layered layout
   Navy carries the structure, his maroon marks interaction and moments,
   mist grey separates rhythm. Schibsted Grotesk throughout.
   ========================================================================== */
:root {
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ink: #12213d;
  --ink-2: #1d3157;
  --ink-3: #0b1629;
  --surface: #eef2f6;
  --on-ink: rgba(255, 255, 255, .78);
  --on-ink-line: rgba(255, 255, 255, .16);
}
h1, h2 { letter-spacing: -.028em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }

/* header: heavier wordmark */
.brand-text strong { font-size: 1.375rem; font-weight: 800; letter-spacing: -.03em; }
.brand-text span { color: var(--accent); font-weight: 500; }
.site-header { box-shadow: 0 1px 0 var(--line); border-bottom: 0; }

/* ---------- inner-page hero: navy panel, photo bleeds to the right edge */
.hero.has-media {
  position: relative; background: var(--ink); color: #fff; border: 0; overflow: hidden;
  min-height: 500px; display: flex; align-items: center; padding: 72px 0 84px;
}
.hero.has-media .hero-inner { display: block; position: relative; z-index: 2; }
.hero.has-media .hero-copy { max-width: min(44rem, 52%); }
.hero.has-media h1 { color: #fff; }
.hero.has-media .hero-text p { color: var(--on-ink); }
.hero.has-media .crumbs, .hero.has-media .crumbs a { color: rgba(255, 255, 255, .62); }
.hero.has-media .crumbs span { color: #fff; }
.hero.has-media .crumbs a::after { color: rgba(255, 255, 255, .3); }
.hero.has-media .tlink { color: #fff; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; margin: 0; min-height: 0; z-index: 1; }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(18, 33, 61, .55) 22%, rgba(18, 33, 61, 0) 48%);
}
.hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); z-index: 2; }
.hero-media img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes settle { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
@media (max-width: 1023px) {
  .hero.has-media { display: block; min-height: 0; padding: 0 0 44px; }
  .hero-media { position: relative; width: 100%; height: auto; }
  .hero-media::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(18, 33, 61, 0) 45%); }
  .hero-media img { aspect-ratio: 16 / 10; height: auto; }
  .hero.has-media .hero-copy { max-width: none; margin-top: -24px; }
}

/* ---------- home hero: portrait owns the right side */
.hero-home { position: relative; background: var(--ink); color: #fff; padding: 0; border: 0; overflow: hidden; }
.hero-home .hero-inner { display: block; position: relative; z-index: 2; }
.hero-home .hero-copy { max-width: min(42rem, 55%); padding: 88px 0 72px; }
.hero-home h1 { color: #fff; font-size: clamp(2.75rem, 6.2vw, 5.25rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-bottom: .4em; }
.hero-home .hero-text p { color: var(--on-ink); font-size: 1.1875rem; }
.hero-home .tlink { color: #fff; }
.hero-hosp { border-top-color: var(--on-ink-line); margin-top: 48px; }
.hero-hosp li { border-bottom-color: var(--on-ink-line); }
.hero-hosp strong { color: #fff; }
.hero-hosp span { color: rgba(255, 255, 255, .6); }
.hero-home .hero-aside { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; padding: 0; z-index: 1; }
.hero-portrait { position: absolute; inset: 0; }
.hero-portrait img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 8%; border-radius: 0; animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
.hero-portrait::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(18, 33, 61, 0) 26%);
}
.hero-portrait figcaption {
  position: absolute; z-index: 2; left: 32px; bottom: 32px; right: auto; min-width: 0;
  background: #fff; border-radius: 6px; border-top: 0; border-left: 4px solid var(--accent);
  padding: 16px 22px; box-shadow: 0 18px 40px rgba(11, 22, 41, .35);
}
@media (max-width: 1023px) {
  .hero-home .hero-aside { position: relative; width: auto; height: 420px; margin: 0 -24px; }
  .hero-home .hero-inner { display: flex; flex-direction: column; }
  .hero-home .hero-copy { max-width: none; padding: 32px 0 48px; }
  .hero-portrait::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(18, 33, 61, 0) 35%); }
  .hero-portrait figcaption { left: 24px; bottom: 24px; }
}
@media (max-width: 560px) { .hero-home .hero-aside { height: 360px; } }

/* credentials: big figures */
.s-highlights-strip { border-bottom: 0; background: #fff !important; }
.stats { padding: 8px 0; }
.stat { padding-top: 40px; padding-bottom: 40px; }
.stat strong { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 6px; }
.stat strong::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 18px; }

/* section rhythm */
.sec.alt { background: var(--surface); }

/* ---------- specialty tiles (home) and condition tiles (hubs) */
.spec-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 56px 32px; border: 0; margin-top: 16px; }
.spec-grid .card { grid-column: span 2; padding: 0 !important; border: 0 !important; }
.spec-grid .card:nth-child(-n+2) { grid-column: span 3; }
.card-img { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; margin-bottom: 22px; background: var(--surface); position: relative; }
.spec-grid .card:nth-child(-n+2) .card-img { aspect-ratio: 16 / 9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card-img::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: var(--accent); transition: width .35s ease; }
.card.has-img:hover .card-img img { transform: scale(1.04); }
.card.has-img:hover .card-img::after { width: 100%; }
.spec-grid .card h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.spec-grid .card p { font-size: 1rem; }
.cards:has(.card.has-img) { gap: 48px 32px; border-top: 0; }
.card.has-img { padding: 0 !important; border: 0 !important; }
.card-link.has-img h3 { font-size: 1.25rem; }
@media (max-width: 1023px) {
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .spec-grid .card, .spec-grid .card:nth-child(-n+2) { grid-column: span 1; }
  .spec-grid .card:nth-child(-n+2) .card-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }

/* ---------- split sections: heading holds left while the list scrolls */
.s-assessments-and-procedures > .wrap, .faq-sec > .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); column-gap: 80px; align-items: start;
}
.s-assessments-and-procedures .sec-head, .faq-sec .sec-head { grid-column: 1; grid-row: 1; position: sticky; top: 110px; }
.s-assessments-and-procedures .intro { grid-column: 1; grid-row: 2; }
.s-assessments-and-procedures .proc-grid { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: 1fr; margin-top: 0; }
.faq-sec .faq { grid-column: 2; grid-row: 1 / span 3; max-width: none; }
.faq-sec .more { grid-column: 1; grid-row: 2; }
.proc { grid-template-columns: 48px 1fr; padding: 26px 0; }
.proc .tile-ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 1.25rem; padding: 0;
}
.sec.alt .proc .tile-ic { background: #fff; }
.proc h3 { font-size: 1.1875rem; }
@media (max-width: 1023px) {
  .s-assessments-and-procedures > .wrap, .faq-sec > .wrap { display: block; }
  .s-assessments-and-procedures .sec-head, .faq-sec .sec-head { position: static; }
}

/* ---------- steps: real sequence, big figures */
.steps li { border-top-width: 1px; border-top-color: var(--line-2); padding-top: 24px; }
.steps li::before { font-size: 3.5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.steps h3 { font-size: 1.3125rem; }
.booking-box { border-radius: 6px; position: relative; overflow: hidden; }
.booking-box::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }

/* ---------- reviews on the homepage: dark band, scrolling quotes */
.home .reviews-sec { background: var(--ink); color: #fff; }
.home .reviews-sec h2 { color: #fff; }
.home .reviews-sec .lead, .home .reviews-sec .intro { color: var(--on-ink); }
.home .reviews-sec .g-badge strong { color: #fff; }
.home .reviews-sec .g-badge span:last-child { color: var(--on-ink); }
.home .reviews-sec .g-badge { background: #fff; padding: 10px 18px; border-radius: 999px; }
.home .reviews-sec .g-badge strong { color: var(--ink); }
.home .reviews-sec .g-badge span:last-child { color: var(--muted); }
.home .reviews-grid {
  columns: auto; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 48px) / 3));
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px;
  scrollbar-color: rgba(255, 255, 255, .35) transparent;
}
.home .review {
  scroll-snap-align: start; background: #fff; color: var(--text); border: 0; border-radius: 6px;
  padding: 30px 28px 24px; margin: 0; display: flex; flex-direction: column; position: relative;
}
.home .review::before { content: "\201C"; font-size: 4.5rem; line-height: .7; color: var(--accent); font-weight: 800; height: 28px; margin-bottom: 8px; }
.home .review header { order: 3; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.home .review .r-stars { order: 1; }
.home .review p { order: 2; font-size: 1.0625rem; line-height: 1.55; flex: 1; }
.home .review .r-link { order: 4; margin-top: 8px; }
.home .reviews-sec .btn-primary { background: #fff; color: var(--ink); }
.home .reviews-sec .btn-primary:hover { background: var(--surface); }
@media (max-width: 720px) { .home .reviews-grid { grid-auto-columns: 84%; } }

/* ---------- videos: dark */
.videos-sec { background: var(--ink-3); color: var(--on-ink); }
.videos-sec h2 { color: #fff; }
.videos-sec .lead { color: var(--on-ink); }
.videos-sec .btn-primary { background: #fff; color: var(--ink); }

/* ---------- about split on home */
.s-about-dato-dr-azhar .portrait-img { aspect-ratio: 4 / 5; border-radius: 6px; }
.s-about-dato-dr-azhar .portrait { position: sticky; top: 110px; }
.s-about-dato-dr-azhar .portrait::after { content: ""; display: block; height: 6px; width: 40%; background: var(--accent); margin-top: -6px; position: relative; border-radius: 0 0 0 6px; }

/* ---------- hospitals row on home */
.hosp-grid { border-top: 0; gap: 20px; }
.hosp, .hosp + .hosp { background: #fff; border: 0 !important; border-radius: 6px; padding: 26px 24px 22px !important; border-top: 4px solid var(--accent) !important; }
.sec.alt .hosp { background: #fff; }

/* ---------- closing call to action: his maroon */
.cta-band { background: var(--accent); }
.cta-band .btn-wa { background: #fff; color: var(--ink); }
.cta-band .btn-wa .ico { color: #1f9d55; }
.cta-band .btn-wa:hover { background: var(--surface); color: var(--ink); }
.cta-band .btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cta-band h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }

/* condition pages: graphic sits as a framed figure, side booking card in navy */
.side-card:first-child { background: var(--ink); border: 0; color: var(--on-ink); }
.side-card:first-child h3 { color: #fff; }
.side-card:first-child p { color: var(--on-ink); }
.side-card:first-child .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.side-card:first-child .btn-ghost:hover { border-color: #fff; }
.side-card:first-child .tlink { color: #fff; }
.block h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.block .sec-head h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 16px; }
.edu-fig img { border: 0; box-shadow: 0 20px 44px rgba(18, 33, 61, .14); }

/* footer: deeper */
.site-footer { background: var(--ink-3); }
.f-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }

@media (prefers-reduced-motion: reduce) { .hero-media img, .hero-portrait img { animation: none; } .card-img img { transition: none; } }
.hero-home .hero-aside { align-self: stretch; justify-self: stretch; margin: 0; }
@media (max-width: 1023px) { .hero-home .hero-aside { margin: 0 -24px; } }
/* portrait panel bleeds to the viewport edge; his printed name card is cropped off below */
@media (min-width: 1024px) {
  .hero-home .hero-inner { position: static; }
  .hero-home .hero-aside { top: 0; right: 0; bottom: 0; width: 44%; }
  .hero-portrait { overflow: hidden; }
  .hero-portrait img { height: 168%; object-position: 50% 0; }
}
@media (max-width: 1023px) {
  .hero-portrait { overflow: hidden; }
  .hero-portrait img { height: 150%; object-position: 50% 0; }
}
/* inner hero: photo anchors to the section, not the content column */
@media (min-width: 1024px) {
  .hero.has-media .hero-inner { position: static; }
  .hero.has-media .hero-copy { position: relative; z-index: 2; }
  .hero-media { align-self: stretch; }
}
@media (max-width: 1023px) {
  .hero.has-media .hero-inner { display: flex; flex-direction: column; }
  .hero.has-media .hero-media { order: -1; margin: 0 -24px; width: auto; }
  .hero.has-media .hero-copy { margin-top: 8px; }
  .hero-home .hero-aside { height: 480px; }
  .hero-portrait img { height: 128%; }
  .hero-portrait figcaption { bottom: 20px; padding: 12px 16px; }
}
@media (max-width: 560px) { .hero-home .hero-aside { height: 440px; } }

/* ==========================================================================
   v4 — inset photo heroes, floating glass navigation, statement reveal,
   expanding specialty panels, rounded inset dark bands.
   Patterns from current premium private-clinic templates, set in his palette.
   ========================================================================== */
:root { --gutter: 12px; --r-lg: 22px; }
h1, h2 { font-weight: 600; }

/* floating glass navigation */
.site-header {
  position: sticky; top: var(--gutter); z-index: 60; margin: var(--gutter) var(--gutter) 0;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-radius: 16px; box-shadow: 0 1px 0 rgba(18, 33, 61, .06), 0 10px 30px rgba(11, 22, 41, .10);
}
.admin-bar .site-header { top: calc(32px + var(--gutter)); }
.header-inner { min-height: 68px; }
.site-nav .menu > li > a { padding-top: 22px; padding-bottom: 22px; }
.site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { border-bottom-color: transparent; color: var(--accent); }
.nav-cta { border-radius: 10px; }
.topbar { background: transparent; color: var(--muted); }
.topbar a { color: var(--ink); }
@media (max-width: 1023px) { .site-header { margin: 8px 8px 0; top: 8px; border-radius: 14px; } .admin-bar .site-header { top: 54px; } }

/* inset photo hero (all pages) */
.hero-v4 { padding: 0 var(--gutter); margin-top: -80px; background: transparent; border: 0; min-height: 0; display: block; }
.hero-frame {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); color: #fff;
  min-height: clamp(520px, 74vh, 720px); display: flex; align-items: flex-end;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 22, 41, .55) 0%, rgba(11, 22, 41, 0) 26%),
    linear-gradient(90deg, rgba(11, 22, 41, .86) 0%, rgba(11, 22, 41, .55) 42%, rgba(11, 22, 41, .08) 78%),
    linear-gradient(0deg, rgba(11, 22, 41, .85) 0%, rgba(11, 22, 41, 0) 55%);
}
.hero-copy4 { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 56px; }
.hero-copy4 h1 { color: #fff; font-weight: 600; font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.04em; max-width: 18ch; }
.hero-copy4 .hero-text p { color: rgba(255, 255, 255, .82); font-size: 1.1875rem; max-width: 38rem; }
.hero-copy4 .crumbs, .hero-copy4 .crumbs a { color: rgba(255, 255, 255, .7); }
.hero-copy4 .crumbs span { color: #fff; }
.hero-copy4 .crumbs a::after { color: rgba(255, 255, 255, .35); }
.hero-copy4 .tlink { color: #fff; }
.hero-v4.is-portrait .hero-bg { object-position: 70% 12%; }
.hero-v4 .hero-bg[src*="batu-pahat-town"] { object-position: 50% 40%; }

/* home hero: larger, with the floating doctor card */
.hero-home4 .hero-frame { min-height: clamp(600px, 86vh, 820px); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: end; padding-top: 160px; padding-bottom: 56px; }
.hero-home4 .hero-copy4 { padding: 0; }
.hero-home4 h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); max-width: 12ch; letter-spacing: -.05em; line-height: .98; }
.doc-card .hero-portrait {
  position: relative; inset: auto; display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--text); border-radius: 18px; padding: 14px 18px 14px 14px; overflow: visible; box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.doc-card .hero-portrait::before { display: none; }
.doc-card .hero-portrait img { width: 88px; height: 104px !important; aspect-ratio: auto; object-fit: cover; object-position: 50% 6%; border-radius: 12px; animation: none; }
.doc-card .hero-portrait figcaption { position: static; background: none; box-shadow: none; padding: 0; border: 0; border-radius: 0; min-width: 0; }
.doc-card .hero-portrait figcaption strong { font-size: 1.0625rem; line-height: 1.25; }
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 130px; padding-bottom: 32px; }
  .hero-frame { min-height: 0; }
  .hero-copy4 { padding-top: 130px; padding-bottom: 36px; }
  .hero-shade { background: linear-gradient(180deg, rgba(11, 22, 41, .55) 0%, rgba(11, 22, 41, .55) 40%, rgba(11, 22, 41, .92) 100%); }
  .hero-v4 { padding: 0 8px; margin-top: -76px; }
}

/* hospitals strip under the home hero */
.hosp-strip { padding-top: 8px; }
.hosp-strip .hero-hosp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 0; }
.hosp-strip .hero-hosp li { padding: 22px 20px 22px 0; border: 0; border-right: 1px solid var(--line); }
.hosp-strip .hero-hosp li + li { padding-left: 24px; }
.hosp-strip .hero-hosp li:last-child { border-right: 0; }
.hosp-strip .hero-hosp strong { color: var(--ink); }
.hosp-strip .hero-hosp span { color: var(--muted); }
@media (max-width: 1023px) {
  .hosp-strip .hero-hosp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hosp-strip .hero-hosp li, .hosp-strip .hero-hosp li + li { padding: 16px 12px 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* statement: fills in word by word as it scrolls into view */
.statement { padding: 96px 0 24px; }
.statement-text { font-size: clamp(1.75rem, 3.8vw, 3.25rem); line-height: 1.14; letter-spacing: -.035em; font-weight: 500; color: var(--ink); max-width: 24em; margin: 0; }
.statement-text .w { color: #c6cdd7; transition: color .35s ease; }
.statement-text .w.on { color: var(--ink); }
@media (max-width: 720px) { .statement { padding: 64px 0 8px; } }

/* credentials directly under the statement */
.s-highlights-strip .stat strong::before { display: none; }
.s-highlights-strip .stat strong { color: var(--accent); }

/* expanding specialty panels */
.panels { display: flex; gap: 12px; height: 580px; margin-top: 24px; }
.panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; transition: flex-grow .6s cubic-bezier(.2, .7, .2, 1); isolation: isolate; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 22, 41, .05) 20%, rgba(11, 22, 41, .9) 100%); }
.panel-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 10px; }
.panel-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.panel-text, .panel-link { max-height: 0; opacity: 0; overflow: hidden; transition: opacity .35s ease, max-height .5s ease; }
.panel-text { font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 34rem; }
.panel-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.panels:not(:hover):not(:focus-within) .panel:first-child, .panel:hover, .panel:focus-visible { flex-grow: 3.4; }
.panels:not(:hover):not(:focus-within) .panel:first-child .panel-text, .panel:hover .panel-text, .panel:focus-visible .panel-text { max-height: 14em; opacity: 1; transition-delay: .15s; }
.panels:not(:hover):not(:focus-within) .panel:first-child .panel-link, .panel:hover .panel-link, .panel:focus-visible .panel-link { max-height: 2em; opacity: 1; transition-delay: .2s; }
.panels:not(:hover):not(:focus-within) .panel:first-child .panel-title, .panel:hover .panel-title, .panel:focus-visible .panel-title { font-size: 1.75rem; }
.panel:hover img { transform: scale(1.04); }
.panel:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1023px) {
  .panels { flex-direction: column; height: auto; }
  .panel { min-height: 380px; flex: none; }
  .panel-text, .panel-link { max-height: none; opacity: 1; }
  .panel-title { font-size: 1.5rem !important; }
}

/* steps beside a fixed photo */
.s-what-to-expect-and-booking > .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 72px; align-items: start; }
.s-what-to-expect-and-booking > .wrap > * { grid-column: 2; }
.s-what-to-expect-and-booking .steps-photo { grid-column: 1; grid-row: 1 / span 12; position: sticky; top: 110px; margin: 0; }
.steps-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.s-what-to-expect-and-booking .steps { grid-template-columns: 1fr; gap: 0; counter-reset: st; }
.s-what-to-expect-and-booking .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; padding: 24px 0; border-top: 1px solid var(--line-2); }
.s-what-to-expect-and-booking .steps li:last-child { border-bottom: 1px solid var(--line-2); }
.s-what-to-expect-and-booking .steps li::before { content: counter(st, decimal-leading-zero); grid-row: span 2; font-size: 1.125rem; font-weight: 600; color: var(--accent); margin: 4px 0 0; letter-spacing: 0; }
.s-what-to-expect-and-booking .steps h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: .3em; }
.s-what-to-expect-and-booking .booking-box { border-radius: 18px; }
@media (max-width: 1023px) {
  .s-what-to-expect-and-booking > .wrap { display: block; }
  .s-what-to-expect-and-booking .steps-photo { position: static; margin-bottom: 32px; }
  .steps-photo img { aspect-ratio: 16 / 10; }
}

/* rounded inset dark bands */
.home .reviews-sec, .videos-sec { margin: 0 var(--gutter); border-radius: var(--r-lg); }
.cta-band { margin: var(--gutter); border-radius: var(--r-lg); }
.site-footer { margin: 0 var(--gutter) var(--gutter); border-radius: var(--r-lg); }
@media (max-width: 1023px) { .home .reviews-sec, .videos-sec { margin: 0 8px; } .cta-band { margin: 8px; } .site-footer { margin: 0 8px 8px; } }
@media (max-width: 720px) { .site-footer { margin-bottom: 68px; } }

/* rounder image corners to match the frame */
.card-img, .edu-fig img, .portrait-img, .map-wrap, .g-ph, .reel-frame { border-radius: 16px; }
.btn { border-radius: 10px; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .panel, .panel img, .panel-text, .panel-link { animation: none !important; transition: none !important; }
  .statement-text .w { color: var(--ink); }
}
.panel:hover, .panel:focus-visible { color: #fff; }
.doc-card .doc-thumb { display: block; width: 88px; height: 104px; border-radius: 12px; overflow: hidden; background: #e9edf2; }
.doc-card .doc-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 0; transform: scale(2.1); transform-origin: 50% 9%; border-radius: 0; }
.hero-about4 .hero-copy4 { padding: 0; } .hero-about4 h1 { max-width: 20ch; }
@media (max-width: 1023px) {
  .panel::after { background: linear-gradient(180deg, rgba(11, 22, 41, .35) 0%, rgba(11, 22, 41, .78) 45%, rgba(11, 22, 41, .94) 100%); }
  .panel { min-height: 420px; }
}

/* ---------- home hero: his portrait as the background, light clinic tone */
.hero-light .hero-frame { background: #eef1f5; color: var(--text); }
.hero-light .hero-bg { left: auto; right: 0; width: 60%; height: 100%; object-fit: cover; object-position: 50% 4%; }
.hero-light .hero-shade {
  background:
    linear-gradient(90deg, #eef1f5 0%, #eef1f5 40%, rgba(238, 241, 245, .7) 50%, rgba(238, 241, 245, 0) 64%),
    linear-gradient(0deg, rgba(238, 241, 245, .9) 0%, rgba(238, 241, 245, 0) 22%);
}
.hero-light .hero-copy4 { max-width: 46%; padding-top: 170px; padding-bottom: 72px; margin-left: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); padding-left: 0; padding-right: 0; }
.hero-light .hero-copy4 h1 { color: var(--ink); }
.hero-light .hero-copy4 .hero-text p { color: var(--muted); }
.hero-light .hero-copy4 .tlink { color: var(--accent); }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--text); text-decoration: none; font-size: .9375rem; box-shadow: 0 6px 18px rgba(18, 33, 61, .08); }
.hero-rating b { color: var(--ink); }
.hero-rating:hover { color: var(--text); }
@media (max-width: 1023px) {
  .hero-light .hero-frame { flex-direction: column; align-items: stretch; }
  .hero-light .hero-bg { position: relative; width: 100%; height: 440px; order: -1; }
  .hero-light .hero-shade { background: linear-gradient(0deg, #eef1f5 0%, rgba(238, 241, 245, 0) 30%); height: 440px; bottom: auto; }
  .hero-light .hero-copy4 { max-width: none; margin: -40px 0 0; padding: 0 24px 36px; }
}
@media (max-width: 560px) { .hero-light .hero-bg, .hero-light .hero-shade { height: 380px; } }
@media (max-width: 1023px) {
  .hero-light .hero-bg { height: 380px; object-position: 50% 0; }
  .hero-light .hero-shade { height: 380px; background: linear-gradient(0deg, #eef1f5 0%, rgba(238, 241, 245, 0) 40%); }
  .hero-light .hero-copy4 { margin-top: -24px; }
}
@media (max-width: 560px) {
  .hero-light .hero-bg { height: 330px; }
  .hero-light .hero-shade { height: 330px; }
}
/* accent: clinical teal replaces maroon */
:root { --accent: #0b6f7c; --accent-2: #08545e; --maroon: #0b6f7c; --maroon-soft: #e3f1f3; }
.cta-band { background: var(--accent); }
.home .review::before { color: var(--accent); }
