/* Klinik Kasih Kota Jembal — gaya laman awam ("sistem tenang", Nov 2026)
   Titik putus: P ≤599 · T 600–899 · D ≥900 · W ≥1200 · landskap-rendah (≥900 & tinggi ≤920)
   Prinsip: satu mesej per kawasan, satu butang terisi per seksyen, ruang memisahkan seksyen,
   senarai = baris garis halus (bukan timbunan kad), satu permukaan krim + satu jalur gelap (#waktu). */
:root {
  color-scheme: light;
  --bg: #FBF6EE;
  --white: #FFFFFF;
  --ink: #17292F;
  --muted: #4A5B60;
  --line: #E8DCCB;
  --line-strong: #CDBFAA;   /* hiasan sahaja — bukan tepi kawalan */
  --peach: #F3E3D3;
  --peach-2: #F3C9A0;       /* HANYA "doktor bertugas" */
  --primary: #0E4F66;
  --primary-dark: #0A3446;
  --primary-mid: #1D6680;
  --accent: #1F52A6;        /* HANYA .display .accent */
  --accent-dark: #18438A;
  --on-dark: #CFE4EA;
  --on-dark-2: #B8D3DB;
  --tag-teal: #DFF0EF;
  --ok: #3FBF7F;
  --warn: #E59A5B;
  --bad: #E06A5C;
  --field-line: #8C7A62;
  --chip-line: #968368;     /* 3.66:1 atas putih, 3.28:1 atas --bg */
  --dark-rule: rgba(255,255,255,.14);
  --warn-bg: #FCE9C7;
  --warn-ink: #5A3A08;
  --danger: #B3261E;
  --tint-open: #FCFAF6;

  /* jarak — P */
  --space-section: 72px;
  --stack: 24px;
  --gap-eyebrow: 8px;
  --gap-sub: 12px;
  --gap-head: 28px;
  --gap-actions: 24px;
  --gap-btn: 10px;
  --pad-card: 24px 20px;
  --pad-row: 18px;
  --gutter: 18px;
  --dock-h: 72px;

  /* jejari */
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-pill: 999px;

  /* bayang — hanya UI terapung */
  --shadow-1: none;
  --shadow-2: 0 10px 28px rgba(10,52,70,.12);

  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (min-width: 600px) {
  :root {
    --space-section: 84px;
    --space-section: clamp(72px, 5vw + 34px, 96px);
    --stack: 28px; --gap-eyebrow: 10px; --gap-sub: 12px; --gap-head: 36px; --gap-actions: 24px; --gap-btn: 12px;
    --pad-card: 28px; --pad-row: 20px; --gutter: 32px;
  }
}
@media (min-width: 900px) {
  :root {
    --space-section: 96px;
    --stack: 32px; --gap-eyebrow: 12px; --gap-sub: 14px; --gap-head: 44px; --gap-actions: 28px;
    --pad-card: 36px 40px; --pad-row: 22px; --gutter: 40px;
  }
}
@media (min-width: 1200px) {
  :root { --space-section: 112px; --gap-head: 48px; --pad-card: 40px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (min-width: 900px) { body { line-height: 1.65; } }

/* Fokus: 2px --primary, ofset 2; putih atas latar gelap */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.band-dark :focus-visible, .site-footer :focus-visible, .announce-kecemasan :focus-visible, .skip:focus-visible { outline-color: #fff; }

/* Pautan langkau */
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--primary-dark); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Bekas */
.wrap { max-width: 1260px; margin: 0 auto; padding-inline: var(--gutter); }
@media (max-width: 599px) {
  .wrap { padding-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right)); }
}
.section { padding-block: var(--space-section); }
.sec { padding-block: var(--space-section); }
.ruled { border-top: 1px solid var(--line); }
.band { padding-block: var(--space-section); }
.band-dark { background: var(--primary); color: #fff; }
/* Satu jeda lembut di tengah halaman (Kata pesakit): putih, tanpa sempadan/bayang */
.band-soft { background: var(--white); }
.band-soft .rows > li:last-child { padding-bottom: 0; }
@media (min-width: 900px) { .band-soft .voices-list > li { padding-bottom: 0; } }
/* Seksyen krim berturutan: ruang di atas sahaja, supaya jarak antara seksyen = satu --space-section (bukan dua) */
.section.flow, .sec.flow { padding-bottom: 0; }

/* Tipografi */
.display { font-family: var(--serif); font-weight: 700; font-size: 31px; font-size: clamp(29px, 8.2vw, 34px); line-height: 1.08; letter-spacing: -.02em; color: var(--primary); text-wrap: balance; }
.display .accent { color: var(--accent); }
.h2 { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.15; color: var(--primary); text-wrap: balance; }
.band-dark .h2 { color: #fff; }
.h3, .h2-sm { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.25; }
.h3 { color: var(--primary); }
.row-title { display: block; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 600px; }
.sub { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 600px; }
.muted { color: var(--muted); font-size: 15px; line-height: 1.5; }
.small { font-size: 15px; }
.center { text-align: center; }
.eyebrow, .eyebrow-light, .footer-h { font-size: 13px; font-weight: 600; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.eyebrow { color: var(--muted); }
.eyebrow-light, .footer-h { color: var(--on-dark-2); }
.label { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.section-head { display: flex; flex-direction: column; max-width: 720px; margin-bottom: var(--gap-head); }
.section-head > .eyebrow + .h2, .section-head > .eyebrow + h1, .section-head > .eyebrow-light + .h2 { margin-top: var(--gap-eyebrow); }
.section-head > .sub { margin-top: var(--gap-sub); }
.section-row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-end; margin-bottom: var(--gap-head); }
.section-row > .section-head { margin-bottom: 0; }
@media (min-width: 600px) {
  .display { font-size: 44px; line-height: 1.06; }
  .h2 { font-size: 34px; line-height: 1.12; }
  .h3, .h2-sm { font-size: 22px; }
  .lead { font-size: 18px; line-height: 1.6; }
  .sub { font-size: 18px; line-height: 1.6; }
  .muted, .small { font-size: 14px; }
}
@media (min-width: 900px) {
  .display { font-size: 52px; line-height: 1.04; }
  .h2 { font-size: 40px; line-height: 1.1; }
  .h3, .h2-sm { font-size: 24px; }
  .row-title { font-size: 19px; }
  .lead { font-size: 19px; }
  .eyebrow, .eyebrow-light, .footer-h { font-size: 13px; }
}
@media (min-width: 1200px) {
  .display { font-size: 60px; }
  .h2 { font-size: 44px; }
}
@media (min-width: 900px) and (max-height: 920px) { .lead { font-size: 17px; } }

/* Butang */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill); font: inherit; font-weight: 600; font-size: 16px; line-height: 1.25; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; -webkit-tap-highlight-color: rgba(14,79,102,.08); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { color: var(--primary-dark); background: var(--bg); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--tag-teal); color: var(--primary-dark); }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; }

/* Status */
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.dot-doktor { background: var(--ok); box-shadow: 0 0 0 4px rgba(63,191,127,.2); }
.dot-rehat { background: var(--warn); box-shadow: 0 0 0 4px rgba(229,154,91,.2); }
.dot-tutup { background: var(--bad); box-shadow: 0 0 0 4px rgba(224,106,92,.2); }

/* Pengumuman */
.announce { font-size: 15px; }
.announce-in { display: flex; gap: 10px; align-items: center; padding-block: 12px; flex-wrap: wrap; }
.announce-in svg { flex-shrink: 0; }
.announce a { font-weight: 700; color: inherit; }
.announce-info { background: var(--tag-teal); color: var(--primary-dark); }
.announce-amaran { background: var(--warn-bg); color: var(--warn-ink); }
.announce-kecemasan { background: var(--danger); color: #fff; }
@media (max-width: 599px) {
  .announce-in { padding-block: 8px; line-height: 1.4; flex-wrap: nowrap; align-items: flex-start; gap: 8px; }
  .announce-in svg { margin-top: 1px; width: 16px; height: 16px; }
}
@media (max-width: 399px) {
  /* Telefon kecil: warna jalur sudah memberi isyarat; ikon dibuang supaya notis kekal 2 baris */
  .announce-amaran .announce-in > svg, .announce-info .announce-in > svg { display: none; }
  .announce-in > span { flex: 1 1 auto; min-width: 0; }
  .announce-in > a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
}
@media (min-width: 900px) and (max-height: 920px) { .announce-in { padding-block: 8px; } }

/* Header — <900px: logo + Menu; ≥900px: pautan sebaris + Tanya Klinik */
.site-header { background: var(--bg); }
.nav { display: flex; flex-wrap: nowrap; gap: 14px; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; text-decoration: none; color: var(--primary); }
.brand img { width: 40px; height: 38px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.brand-sub { font-size: 13px; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
@media (max-width: 399px) { .brand-sub { display: none; } }
.nav-links, .nav-cta { display: none; }
.nav-menu { display: block; position: relative; margin-left: auto; }
.nav-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border: 1px solid var(--chip-line); border-radius: var(--r-pill); background: var(--white); color: var(--primary); font-weight: 600; font-size: 15px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu[open] > summary { background: var(--primary); border-color: var(--primary); color: #fff; }
.nav-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 320px; width: min(320px, calc(100vw - 36px)); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 8px 8px 12px; }
.nav-menu-links { display: flex; flex-direction: column; margin-bottom: 8px; }
.nav-menu-links a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav-menu-links a:hover, .nav-menu-links a[aria-current="page"] { background: var(--bg); color: var(--primary); }
.nav-menu-panel .btn { margin-top: 4px; }
@media (min-width: 600px) { .nav { padding-block: 18px; } .brand img { width: 44px; height: 42px; } .brand-name { font-size: 22px; } }
@media (min-width: 900px) {
  html { scroll-padding-top: 88px; }
  .site-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 40; background: rgba(251,246,238,.96); transition: box-shadow .2s; }
  .site-header.is-scrolled { box-shadow: var(--shadow-2); }
  .nav { padding-block: 12px; column-gap: 28px; }
  .nav-menu { display: none; }
  .nav-links { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; font-weight: 500; font-size: 15px; margin-left: auto; }
  .nav-links a { color: var(--ink); text-decoration: none; padding: 8px 0; }
  .nav-links a:hover { color: var(--primary-mid); }
  .nav-links a[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -2px 0 currentColor; }
  .nav-cta { display: inline-flex; white-space: nowrap; }
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  @media (min-width: 900px) {
    .site-header { background: rgba(251,246,238,.85); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
  }
}

/* ── Hero "Fokus" ── */
.hero { display: flex; flex-direction: column; gap: 40px; padding-block: 24px 56px; }
.hero-text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
/* Ritma hero: cip → tajuk 28 · tajuk → lead 18 · lead → WhatsApp 32 · WhatsApp → Telefon/Arah 12 · → baris 4.8/999 ~24 */
.hero .status-chip { margin-bottom: 28px; }
.hero .lead { margin-top: 18px; }
.hero .quick-actions { margin-top: 32px; }
.hero .hero-foot { margin-top: 14px; }
.status-chip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 8px 16px 8px 12px; border-radius: var(--r-pill); font-size: 15px; line-height: 1.35; font-weight: 500; background: #E6F4EC; color: #14532D; }
.status-chip .dot { width: 10px; height: 10px; margin-right: 2px; }
.status-chip strong { font-weight: 600; }
.status-chip.status-rehat { background: var(--warn-bg); color: var(--warn-ink); }
.status-chip.status-tutup { background: #FBE7E4; color: #7A1F16; }
@media (max-width: 599px) { .hero .display { letter-spacing: -.025em; } }
.quick-actions { align-self: stretch; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.qa { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 16px; border-radius: var(--r-pill); text-decoration: none; background: transparent; color: var(--primary); border: 1.5px solid var(--primary); font-size: 16px; line-height: 1.2; white-space: nowrap; -webkit-tap-highlight-color: rgba(14,79,102,.08); transition: background .15s, color .15s; }
.qa strong { font-weight: 600; }
.qa svg { color: var(--primary); flex-shrink: 0; }
.qa:hover { color: var(--primary-dark); background: var(--tag-teal); }
.qa-num { display: none; font-weight: 500; font-variant-numeric: tabular-nums; }
.qa-primary { grid-column: 1 / -1; min-height: 56px; background: var(--primary); border-color: var(--primary); color: #fff; font-size: 17px; }
.qa-primary svg { color: #fff; }
.qa-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; font-size: 15px; color: var(--muted); }
.star, .stars { color: var(--warn); display: inline-flex; gap: 3px; }
.hero-rating { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 500; }
a.hero-rating:hover { color: var(--primary); }
.hero-emerg { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
@media (max-width: 399px) { .hero-foot { column-gap: 14px; } }
/* Telefon: lead satu klausa sahaja */
@media (max-width: 599px) { .lead-lagi { display: none; } }
.hero-emerg a { display: inline-flex; align-items: center; min-height: 44px; color: var(--danger); font-weight: 600; }
.hero-media { min-width: 0; }
.hero-media img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--r-lg); }
@supports (aspect-ratio: 1 / 1) { .hero-media img { height: auto; aspect-ratio: 16 / 10; } }
@media (min-width: 600px) {
  .hero { padding-block: 40px 72px; gap: 56px; }
  .hero .status-chip { margin-bottom: 32px; }
  .hero .lead { margin-top: 20px; }
  .hero .hero-foot { margin-top: 16px; }
  .qa-num { display: inline; }
  /* Tablet: satu baris tenang (WhatsApp, Telefon, Arah), lebar ikut isi — bukan bar penuh lebar */
  .quick-actions { display: flex; flex-wrap: wrap; align-self: flex-start; gap: 12px; }
  .qa { padding: 12px 22px; }
  .qa-primary { padding-inline: 26px; }
}
@media (min-width: 900px) {
  .hero { flex-direction: row; align-items: center; gap: 56px; padding-block: 48px 88px; }
  .hero-text { flex: 1.15 1 0; }
  .hero-media { flex: 1 1 0; }
  .hero-media img { height: 470px; }
  @supports (aspect-ratio: 1 / 1) { .hero-media img { height: auto; aspect-ratio: 4 / 3.4; max-height: 470px; } }
}
@media (min-width: 900px) and (max-height: 920px) {
  .hero { padding-block: 32px 72px; }
  .hero .display { font-size: 48px; }
  .hero-media img { height: 430px; }
  @supports (aspect-ratio: 1 / 1) { .hero-media img { height: auto; max-height: 430px; } }
}

/* ── Promosi ── */
.promo-sec { padding-bottom: 0; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 16px; }
.promo { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.promo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-body { padding: var(--pad-card); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-body h3 { font-family: var(--serif); font-size: 20px; line-height: 1.25; color: var(--primary); }
.promo-body p { color: var(--muted); }
.promo-foot { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-top: auto; }
.promo-price { font-weight: 700; font-size: 20px; color: var(--primary); }
.promo-until { font-size: 15px; color: var(--muted); }
.promo-body > .btn { margin-top: 10px; }
@media (min-width: 600px) { .promo-body > .btn { align-self: flex-start; } .promo-until { font-size: 14px; } }
@media (min-width: 900px) {
  .promo:only-child { flex-direction: row; }
  .promo:only-child img { width: 42%; flex: 0 0 42%; aspect-ratio: auto; height: auto; min-height: 100%; object-fit: cover; }
  .promo:only-child .promo-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; row-gap: 10px; align-content: center; align-items: center; }
  .promo:only-child .promo-body > h3, .promo:only-child .promo-body > p { grid-column: 1; }
  .promo:only-child .promo-body > p { max-width: 62ch; }
  .promo:only-child .promo-body > .promo-foot { grid-column: 2; grid-row: 1; margin-top: 0; justify-content: flex-end; }
  .promo:only-child .promo-body > .btn { grid-column: 2; grid-row: 2 / span 2; align-self: start; justify-self: end; margin-top: 0; }
}

/* ── Cip ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 500; font-size: 15px; line-height: 1.25; padding: 10px 18px; min-height: 44px; border-radius: var(--r-pill); cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--chip-line); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; -webkit-tap-highlight-color: rgba(14,79,102,.08); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }
/* Jalur leret (telefon) */
@media (max-width: 599px) {
  .chips-swipe, .svc-chips, .tour-chips {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: -18px; padding: 4px 36px 4px 18px; scroll-padding-inline: 18px 36px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 56px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 56px), transparent 100%);
  }
  .svc-chips::-webkit-scrollbar, .tour-chips::-webkit-scrollbar { display: none; }
  .svc-chips > .chip, .tour-chips > .chip { flex: 0 0 auto; }
}

/* ── Panduan ── */
.pd-layout { display: flex; flex-direction: column; gap: 16px; }
.guide { background: #fff; border-radius: var(--r-md); padding: var(--pad-card); display: flex; flex-direction: column; gap: 20px; }
.guide-col { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.guide-svc { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1.25; }
.guide-foot { margin-top: 0; }
.guide-foot .btn { width: 100%; }
.pd-nav { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pd-chips { align-self: stretch; }
/* Telefon & tablet: jalur leret 2 baris (semua situasi, lajur kemas) — bukan awan cip */
@media (max-width: 899px) {
  .pd-chips {
    display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: max-content; gap: 8px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: -18px; padding: 4px 36px 4px 18px; scroll-padding-inline: 18px 36px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent 100%);
  }
  .pd-chips::-webkit-scrollbar { display: none; }
  .pd-chips > .chip { justify-content: center; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .pd-chips { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter) 48px; scroll-padding-inline: var(--gutter) 48px; }
}
.guide-nota { gap: 10px; color: var(--ink); }
.guide-nota strong { font-weight: 600; color: var(--muted); }
@media (min-width: 600px) {
  .guide { gap: 24px; }
  .guide-svc { font-size: 24px; }
  .guide-foot .btn { width: auto; }
}
@media (min-width: 900px) {
  .pd-layout { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 48px; align-items: start; }
  .pd-chips { flex-direction: column; flex-wrap: nowrap; gap: 0; border-left: 1px solid var(--line-strong); }
  .pd-chips .chip { margin-left: -1px; background: transparent; border: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; box-shadow: none; color: var(--ink); font-size: 16px; padding: 10px 16px; justify-content: space-between; text-align: left; white-space: normal; font-weight: 500; }
  /* Chevron kecil: setiap baris jelas boleh dipilih */
  .pd-chips .chip::after { content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-right: 4px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .45; }
  .pd-chips .chip[aria-selected="true"]::after { opacity: 1; }
  .pd-chips .chip:hover { color: var(--primary-mid); background: rgba(14,79,102,.06); }
  .pd-chips .chip[aria-selected="true"] { background: var(--white); color: var(--primary); font-weight: 700; box-shadow: inset 2px 0 0 var(--primary); }
  /* Panel ikut tinggi isi: butang terus di bawah teks (tiada jurang mati) */
  .pd-panels { min-width: 0; }
  .guide-foot { margin-top: 4px; }
  .pd-chips .chip:focus-visible { outline-offset: -2px; }
  .guide-svc { font-size: 26px; }
}

/* ── Perkhidmatan ── */
.search { flex: 0 1 360px; min-width: 0; display: flex; }
.search-box { flex: 1; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--field-line); border-radius: var(--r-pill); padding: 0 18px; color: var(--muted); }
.search-box:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 13px 0; color: var(--ink); min-width: 0; -webkit-appearance: none; appearance: none; }
.search-box input:focus-visible { outline: 0; }
.search-box input::placeholder { color: #6B7A7E; }
.svc-chips { margin-bottom: 20px; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.svc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; -webkit-tap-highlight-color: rgba(14,79,102,.08); }
.svc summary::-webkit-details-marker { display: none; }
.svc-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.svc-name { font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.svc-en { font-size: 15px; line-height: 1.4; color: var(--muted); }
.svc-plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.svc-plus::before, .svc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--primary); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.svc-plus::before { width: 16px; height: 2px; }
.svc-plus::after { width: 2px; height: 16px; }
details[open] > summary .svc-plus::after { transform: translate(-50%, -50%) scaleY(0); }
.svc-body { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; color: var(--muted); }
.svc-body p { font-size: 16px; }
.svc-price { font-weight: 700; color: var(--primary); }
.svc-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start; color: var(--primary); font-weight: 600; font-size: 16px; text-decoration: underline; text-decoration-thickness: 1px; }
.svc-cta:hover { color: var(--primary-dark); }
.svc-more { display: flex; margin: 8px auto 0; }
.empty { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); }
@media (max-width: 599px) {
  .search { flex: 1 1 100%; }
  .svc-grid { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
  .svc { border-top: 1px solid var(--line); margin-top: -1px; }
  .svc summary { min-height: 64px; padding: 18px 20px; }
  .svc[open] { background: var(--tint-open); }
  .svc-body { padding: 0 20px 20px; }
  .svc-more { margin-top: 8px; }
  .svc-sec > .section-row { row-gap: 16px; }
  .svc-collapsed .svc:nth-child(n+7) { display: none; }
}
@media (min-width: 600px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .svc { border-top: 1px solid var(--line); }
  .svc summary { padding: 20px 0 22px; min-height: 64px; align-items: start; }
  .svc-plus { margin-top: 1px; }
  .svc[open] { border-top-color: var(--primary); }
  .svc-more { margin-top: 32px; }
}
@media (min-width: 600px) and (max-width: 899px) { .svc-collapsed .svc:nth-child(n+7) { display: none; } }
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-name { font-size: 19px; }
  .svc-chips { margin-bottom: 32px; }
}
@media (min-width: 900px) and (max-width: 1199px) { .svc-collapsed .svc:nth-child(n+10) { display: none; } }
@media (min-width: 1200px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .svc-collapsed .svc:nth-child(n+9) { display: none; } }

/* ── Waktu (satu-satunya jalur gelap) ── */
.waktu { display: flex; flex-direction: column; gap: var(--stack); }
.waktu-top { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-end; }
.waktu-top .section-head { margin-bottom: 0; }
.waktu-status { display: flex; align-items: baseline; gap: 12px; font-size: 17px; line-height: 1.45; color: var(--on-dark); margin: 0; }
.waktu-status .dot { position: relative; top: 1px; }
.waktu-status strong { color: #fff; font-weight: 600; }
/* Desktop: status sudah di cip hero + penanda "Sekarang" — baris ini dibaca pembaca skrin sahaja (aria-live kekal) */
@media (min-width: 900px) {
  .waktu-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
/* Baris waktu terakhir: tiada pad bawah, supaya ruang bawah jalur = ruang atas */
.waktu-dl:last-child > div { padding-bottom: 0; }
.timeline { padding-top: 30px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tl-bar { position: relative; height: 48px; border-radius: var(--r-sm); background: var(--primary-mid); }
.tl-seg { position: absolute; top: 0; bottom: 0; }
.tl-first { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.tl-last { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.tl-doktor { background: var(--peach-2); color: var(--primary-dark); box-shadow: inset 2px 0 0 var(--primary), inset -2px 0 0 var(--primary); }
.tl-now { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 2px var(--primary-dark); border-radius: 2px; }
.tl-now span { position: absolute; top: -27px; left: 50%; transform: translateX(-50%); background: #fff; color: var(--primary-dark); font-size: 13px; line-height: 1.3; font-weight: 600; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.tl-now.tl-now--kiri span { left: -2px; transform: none; }
.tl-now.tl-now--kanan span { left: auto; right: -2px; transform: none; }
.tl-scale { position: relative; height: 20px; font-size: 13px; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.tl-scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.tl-scale span:first-child { transform: none; }
.tl-scale span:last-child { transform: translateX(-100%); }
.waktu-dl { margin: 0; display: flex; flex-direction: column; }
.waktu-dl > div { border-top: 1px solid var(--dark-rule); padding-block: var(--pad-row); display: flex; flex-direction: column; gap: 4px; }
.waktu-dl dt { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
/* Petunjuk warna garis masa (bar itu aria-hidden; teks di sini yang dibaca) */
.tl-key-sw { width: 18px; height: 12px; border-radius: 3px; flex-shrink: 0; background: var(--primary-mid); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.wd-doktor .tl-key-sw { background: var(--peach-2); box-shadow: none; }
.wd-doktor dt { color: var(--peach-2); }
.waktu-dl dd { margin: 0; font-size: 17px; line-height: 1.5; color: #fff; font-variant-numeric: tabular-nums; }
.waktu-dl dd span { display: block; }
.waktu-dl dd small { display: block; margin-top: 2px; font-size: 15px; color: var(--on-dark); font-variant-numeric: normal; }
.notis { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.08); border-radius: var(--r-sm); padding: 18px 20px; color: var(--on-dark); }
.notis > svg { flex-shrink: 0; margin-top: 2px; color: var(--warn-bg); }
.notis-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.notis-h { color: #fff; font-weight: 600; }
.notis ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.notis li strong { color: #fff; font-weight: 600; }
.notis-lagi > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 599px) {
  .tl-scale span:not(.tl-key) { display: none; }
  .tl-scale span.tl-key:not(:first-child):not(:last-child) { transform: translateX(-50%); }
}
@media (min-width: 600px) {
  .tl-bar { height: 44px; }
  .waktu-dl dd small { font-size: 14px; }
}
@media (min-width: 900px) {
  .waktu-dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
  .waktu-dl dd span { display: inline; }
  .waktu-dl dd span + span::before { content: " · "; color: var(--on-dark-2); }
}

/* ── Doktor ── */
.doctor { display: flex; flex-direction: column; gap: 36px; }
.doctor-photo { width: 100%; max-width: 240px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.doctor-photo img, .doctor-photo .ph { width: 100%; height: 300px; object-fit: cover; object-position: 0% 70%; border-radius: 999px 999px var(--r-lg) var(--r-lg); background: var(--peach); }
@supports (aspect-ratio: 1 / 1) { .doctor-photo img, .doctor-photo .ph { height: auto; aspect-ratio: 4 / 5; } }
.doctor-photo .ph { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.doctor-cred { font-size: 15px; color: var(--muted); text-align: center; }
.doctor-text { min-width: 0; display: flex; flex-direction: column; }
.doctor-text .section-head { margin-bottom: 16px; }
.rows { list-style: none; }
.rows > li { border-top: 1px solid var(--line); padding-block: var(--pad-row); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row-text { color: var(--muted); font-size: 16px; line-height: 1.55; }
.focus-list { margin-top: var(--stack); }
.other-docs { display: flex; flex-direction: column; gap: 10px; margin-top: var(--stack); }
.other-doc { display: flex; align-items: center; gap: 10px; }
.other-doc img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
@media (min-width: 600px) {
  .doctor { flex-direction: row; align-items: center; gap: 48px; }
  .doctor-photo { flex: 0 0 38%; max-width: 320px; margin: 0; }
  .doctor-text { flex: 1 1 0; }
  .doctor-cred { text-align: left; font-size: 14px; }
  .row-text { font-size: 17px; }
}
@media (min-width: 900px) {
  .doctor { gap: 72px; }
  .doctor-photo { flex: 0 1 400px; max-width: 400px; }
  .focus-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
}

/* ── Lawatan maya ── */
.tour-chips { margin-bottom: 24px; }
.tour { display: flex; flex-direction: column; gap: 20px; }
.tour img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--r-lg); }
.tour-text { display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
@media (min-width: 600px) { .tour img { height: 360px; } }
@media (min-width: 900px) {
  .tour { flex-direction: row; align-items: flex-start; gap: 48px; }
  .tour-text { padding-top: 8px; }
  .tour img { flex: 2 1 0; min-width: 0; height: 300px; height: clamp(300px, 46vh, 460px); }
  .tour-text { flex: 1 1 0; }
  .tour-chips { margin-bottom: 32px; }
}

/* ── Kata pesakit ── */
.voices-score { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--gap-head); }
.score-row { display: flex; align-items: center; gap: 16px; }
.big-num { font-family: var(--serif); font-size: 56px; font-weight: 700; color: var(--primary); line-height: 1; }
.score-meta { display: flex; flex-direction: column; gap: 4px; }
.voices-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.voices-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; text-decoration-thickness: 1px; }
@media (min-width: 600px) { .big-num { font-size: 64px; } }
@media (min-width: 900px) {
  .big-num { font-size: 72px; }
  .voices-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
}

/* ── Panel ── */
.panel-sec { padding-top: var(--space-section); }
.panel-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 16px; font-weight: 500; }
.panel-list li { display: flex; align-items: center; }
.panel-list img { height: 36px; width: auto; }

/* ── Borang tanya ── */
.ask { display: flex; flex-direction: column; gap: 0; }
.ask-text { min-width: 0; }
.ask-form { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--pad-card); display: flex; flex-direction: column; gap: 20px; }
.ask-form > label, .ask-form legend { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; }
.ask-form legend { margin-bottom: 10px; padding: 0; }
.ask-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ask-form .opsyenal { font-weight: 400; color: var(--muted); }
.ask-form input[type="text"], .ask-form select, .ask-form textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid var(--field-line); background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
.ask-form input[type="text"]:focus-visible, .ask-form select:focus-visible, .ask-form textarea:focus-visible { outline-offset: 1px; }
.ask-form select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230E4F66' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.ask-form textarea { resize: vertical; }
.chip-radio { position: relative; white-space: normal; text-align: left; }
.chip-radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--primary); flex-shrink: 0; }
.chip-radio .muted { font-size: 15px; font-weight: 400; }
.sesi-masa { display: block; }
.chip-radio:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); font-weight: 600; }
.chip-radio:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.preview { border-left: 3px solid var(--line-strong); padding-left: 14px; display: flex; flex-direction: column; gap: 4px; }
.preview-text { white-space: pre-line; font-size: 15px; color: var(--ink); }
.ask-note { text-align: center; }
@media (max-width: 599px) {
  .sesi-chips { flex-direction: column; }
  .sesi-chips .chip { width: 100%; min-height: 60px; }
}
@media (min-width: 600px) { .ask-form .chip-radio .muted { font-size: 14px; } }
@media (min-width: 900px) {
  .ask { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .ask-text { position: -webkit-sticky; position: sticky; top: 112px; }
}

/* ── FAQ ── */
.faq-head { display: flex; flex-direction: column; gap: var(--gap-sub); margin-bottom: var(--gap-head); }
.faq-head .sub a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.faq-list { min-width: 0; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; min-height: 44px; font-size: 18px; line-height: 1.35; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq[open] { border-bottom-color: var(--primary); }
.faq[open] > summary { color: var(--primary); }
.faq p { padding-bottom: 22px; color: var(--muted); max-width: 68ch; }
.faq-lagi > summary { list-style: none; display: inline-flex; align-items: center; min-height: 48px; margin-top: 12px; cursor: pointer; font-weight: 600; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.faq-lagi > summary::-webkit-details-marker { display: none; }
.faq-lagi[open] > summary { display: none; }
@media (min-width: 900px) {
  .faq-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .faq-head { margin-bottom: 0; }
  .faq summary { font-size: 19px; }
}
@media (min-width: 1200px) { .faq-head { position: -webkit-sticky; position: sticky; top: 112px; } }

/* ── Lokasi ── (kad cerah: footer kekal satu-satunya blok gelap di hujung halaman) */
.location { display: flex; flex-direction: column; gap: 20px; padding-block: var(--space-section); }
.loc-head { margin-bottom: calc(var(--gap-head) - 20px); }
.loc-card { min-width: 0; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--pad-card); display: flex; flex-direction: column; gap: 20px; }
.loc-item { display: flex; flex-direction: column; gap: 4px; }
.loc-item > span:nth-child(2) { color: var(--ink); }
.loc-waktu { margin-top: 2px; color: var(--muted); font-variant-numeric: tabular-nums; }
.loc-actions { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.loc-card .btn-primary { min-height: 52px; }
.loc-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.loc-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.loc-links a:hover { color: var(--accent-dark); }
.loc-map { display: flex; min-width: 0; height: 260px; border-radius: var(--r-lg); overflow: hidden; background: var(--peach); }
.loc-map iframe, .loc-map img { flex: 1 1 auto; width: 100%; height: 100%; border: 0; object-fit: cover; }
@media (min-width: 600px) {
  .loc-map { height: 360px; }
  .loc-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
  .loc-actions > .btn-block { width: auto; }
}
@media (min-width: 900px) {
  .location { flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 24px; }
  .loc-head { flex: 0 0 100%; margin-bottom: calc(var(--gap-head) - 24px); }
  .loc-card { flex: 1 1 380px; }
  .loc-map { display: block; flex: 2 1 480px; height: auto; min-height: 380px; position: relative; }
  .loc-map > iframe, .loc-map > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .location:not(.location--solo) .loc-actions { flex-direction: column; align-items: stretch; }
  .location:not(.location--solo) .loc-actions > .btn-block { width: 100%; }
  /* Tiada peta: susun atur seperti Soalan lazim — tajuk kiri, kad kanan (tiada ruang kosong) */
  .location--solo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .location--solo .loc-head { margin-bottom: 0; }
}

/* ── Footer ── */
.site-footer { background: var(--primary-dark); color: var(--on-dark); padding: 48px 0 36px; font-size: 15px; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; }
.footer-brand, .footer-hubungi { grid-column: 1 / -1; }
.footer-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-col a { overflow-wrap: break-word; color: #fff; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; text-decoration-thickness: 1px; align-self: flex-start; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col.footer-brand { flex-direction: row; align-items: flex-start; gap: 14px; }
.footer-brand-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-logo { flex-shrink: 0; background: #fff; border-radius: var(--r-sm); padding: 5px; line-height: 0; }
.footer-logo img { width: 40px; height: 38px; object-fit: contain; }
.footer-name { font-family: var(--serif); font-size: 20px; line-height: 1.2; font-weight: 700; color: #fff; }
.footer-h { margin: 0 0 6px; }
.footer-bottom { border-top: 1px solid var(--dark-rule); margin-top: 36px; padding-top: 20px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 600px) and (max-width: 899px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px 28px; } .footer-hubungi { grid-column: auto; } }
@media (min-width: 900px) {
  .site-footer { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 32px; }
  .footer-brand, .footer-hubungi { grid-column: auto; }
  .footer-col.footer-brand { flex-direction: column; gap: 12px; }
  .footer-logo img { width: 52px; height: 50px; }
}
@media (pointer: coarse) {
  .footer-col { gap: 0; }
  .footer-col a { display: inline-flex; align-items: center; min-height: 44px; }
  .prose p a:not(.muted), .prose li a:not(.muted) { padding-block: 11px; margin-block: -11px; }
}

/* ── Dok mudah alih ── */
.dock { display: none; }
@media (max-width: 899px) {
  html { scroll-padding-bottom: 104px; }
  .dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 8px; gap: 6px; box-shadow: var(--shadow-2); transition: transform .25s, opacity .25s, visibility 0s; }
  .dock.dock-off, .kb-open .dock { transform: translateY(100%); transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .25s, opacity .25s, visibility 0s .25s; }
  .dock a { flex: 1; color: var(--primary); text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 15px; padding: 12px 6px; border-radius: 14px; min-height: 48px; }
  .dock .dock-main { flex: 1.3; background: var(--primary); color: #fff; }
  .dock :focus-visible { outline-offset: -2px; }
  .dock .dock-main:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
  .site-footer { padding-bottom: 104px; padding-bottom: calc(var(--dock-h) + 32px + env(safe-area-inset-bottom, 0px)); }
  .main-dock { padding-bottom: 88px; padding-bottom: calc(var(--dock-h) + 16px + env(safe-area-inset-bottom, 0px)); }
  .main-dock.section { padding-bottom: calc(var(--space-section) + var(--dock-h) - 24px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .dock { left: 0; right: 0; margin-inline: auto; max-width: 520px; }
}
@media (max-width: 899px) and (max-height: 480px) {
  .dock { position: static; margin: 0 12px 12px; }
  .dock.dock-off, .kb-open .dock { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-footer, .main-dock { padding-bottom: 48px; }
}

/* ── Artikel ── */
.artikel-senarai .section-head { margin-bottom: var(--gap-head); }
.article-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; height: 100%; -webkit-tap-highlight-color: rgba(14,79,102,.08); }
.article-card:hover { color: var(--ink); }
.article-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card > div { padding: var(--pad-card); display: flex; flex-direction: column; gap: 8px; }
.article-card h2 { font-family: var(--serif); color: var(--primary); font-size: 20px; line-height: 1.25; }
.article { max-width: 728px; margin: 0 auto; padding: 32px var(--gutter) var(--space-section); }
.article-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.article-head > a.muted { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-bottom: -4px; }
.article-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 32px; }
.prose { font-size: 17px; line-height: 1.65; max-width: 680px; }
.prose h2 { font-family: var(--serif); color: var(--primary); font-size: 20px; line-height: 1.25; margin: 2em 0 .6em; }
.prose h3 { font-family: var(--serif); font-weight: 700; color: var(--primary); font-size: 18px; line-height: 1.3; margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 0 0 1em; padding: 14px 20px; border-radius: var(--r-sm); border-left: 3px solid var(--warn); background: var(--warn-bg); }
.prose img { height: auto; border-radius: var(--r-sm); }
.article-cta { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.article-cta-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.article-note { margin-top: 28px; }
@media (max-width: 599px) {
  .article-cta-act .btn { width: 100%; }
}
@media (min-width: 600px) {
  .article-list { gap: 28px; }
  .article { padding-top: 48px; }
  .prose h2 { font-size: 22px; }
  .prose h3 { font-size: 19px; }
}
@media (min-width: 900px) {
  .prose { font-size: 18px; line-height: 1.7; }
  .prose h2 { font-size: 24px; }
  .prose h3 { font-size: 20px; }
  .article-list > .article-card:first-child { grid-column: 1 / -1; flex-direction: row; }
  .article-list > .article-card:first-child img { width: 50%; flex: 0 0 50%; aspect-ratio: auto; height: auto; object-fit: cover; }
  .article-list > .article-card:first-child > div { justify-content: center; flex: 1 1 auto; }
  .article-list > .article-card:first-child h2 { font-size: 28px; }
  .article-list > .article-card--teks:first-child > div { max-width: 820px; }
}

/* ── 404 ── */
.notfound .section-head { margin-bottom: var(--gap-actions); }
.nf-utama { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-btn); max-width: 420px; }
.nf-utama > * { grid-column: 1 / -1; }
.nf-home { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
@media (min-width: 600px) {
  .nf-utama { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: none; }
  .nf-utama > .btn { flex: 0 0 auto; }
}
/* 404 sudah ada butang WhatsApp/Telefon sendiri: tiada dok berganda */
main.notfound ~ .dock { display: none !important; }
main.notfound ~ .site-footer { padding-bottom: 36px; padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); }
.nf-pautan { list-style: none; margin-top: 40px; max-width: 520px; border-top: 1px solid var(--line); }
.nf-pautan li { border-bottom: 1px solid var(--line); }
.nf-pautan a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nf-pautan a::after { content: "→"; color: var(--muted); }
.nf-pautan a:hover { color: var(--primary-mid); }

/* Tetikus: tiada angkat; nama yang dilalui jadi --primary-mid */
@media (hover: hover) and (pointer: fine) {
  .chip:hover { border-color: var(--primary-mid); }
  .chip[aria-selected="true"]:hover, .chip[aria-pressed="true"]:hover { border-color: var(--primary); }
  .svc summary:hover .svc-name, .faq summary:hover, .article-card:hover h2 { color: var(--primary-mid); }
}

/* Cetak */
@media print {
  .dock, .nav-links, .nav-cta, .nav-menu, .quick-actions, .chips, .search, .ask-form, .loc-map, .article-cta .btn, .skip, .svc-more, .timeline { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  body { display: block; font-size: 12pt; }
  .site-header { position: static !important; box-shadow: none !important; background: #fff !important; }
  .band, .band-dark, .loc-card, .site-footer, .notis, .guide { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .band-dark .h2, .loc-card *, .site-footer *, .eyebrow-light, .waktu *, .notis * { color: #000 !important; }
  .section, .band, .sec, .location { padding-block: 16pt !important; }
  .svc-collapsed .svc { display: block !important; }
  .svc, .promo, .faq, .article-card, .guide, .loc-card, .prose blockquote, .rows > li { break-inside: avoid; page-break-inside: avoid; }
  img { max-height: 8cm; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; word-break: break-all; }
  a { color: #000 !important; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .hero-text { flex-grow: 1.35; }
  .quick-actions { gap: 10px; }
  .qa { padding-inline: 18px; }
  .qa-primary { padding-inline: 22px; }
}

/* ═══ Pembetulan semakan pemilik (8 Nov 2026) ═══════════════════════
   1. Desktop/tablet: ruang di bawah header terlalu sempit sebelum cip status.
   2. Footer telefon terlalu luas: pautan disusun sebaris (wrap), tiada garis bawah,
      tiada ruang simpanan dok (dok memang disorok bila footer kelihatan). */
@media (min-width: 600px) { .hero { padding-top: 56px; } }
@media (min-width: 900px) { .hero { padding-top: 80px; } }
@media (min-width: 900px) and (max-height: 920px) { .hero { padding-top: 64px; } }

.footer-col a { text-decoration: none; }
.footer-col a:hover, .footer-col a:focus-visible { text-decoration: underline; text-decoration-color: rgba(255,255,255,.6); }

@media (max-width: 599px) {
  .site-footer { padding-top: 40px; padding-bottom: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-brand, .footer-hubungi { grid-column: auto; }
  /* Setiap kumpulan: tajuk kecil, kemudian pautan sebaris dan membalut */
  .footer-col:not(.footer-brand) { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 22px; row-gap: 0; }
  .footer-col:not(.footer-brand) .footer-h { flex: 0 0 100%; margin-bottom: 2px; }
  .footer-col a { min-height: 40px; display: inline-flex; align-items: center; }
  .footer-bottom { margin-top: 24px; padding-top: 16px; font-size: 13px; gap: 6px; }
}
@media (max-width: 599px) and (pointer: coarse) { .footer-col a { min-height: 44px; } }

/* ═══ Pembetulan semakan pemilik #2 (8 Nov 2026) ════════════════════ */

/* 1. Hero telefon: "★ 4.8 di Google · Kecemasan? Hubungi 999" dalam satu baris */
@media (max-width: 599px) {
  .hero-kritikal { display: none; }
  .hero-foot { flex-wrap: nowrap; column-gap: 16px; font-size: 14px; white-space: nowrap; }
  .hero-rating, .hero-emerg { flex: 0 0 auto; }
  .hero-emerg { flex-wrap: nowrap; }
}

/* 2. Panduan di telefon/tablet: kotak pilihan, bukan jalur pil terpotong */
.pd-pilih { display: none; }
@media (max-width: 899px) {
  .pd-nav.ada-pilih .pd-chips { display: none; }
  .pd-nav.ada-pilih .pd-pilih { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
}
.pd-pilih-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.pd-pilih select {
  -webkit-appearance: none; appearance: none; width: 100%; min-height: 52px; padding: 12px 48px 12px 18px;
  font: inherit; font-size: 17px; font-weight: 600; color: var(--primary);
  background-color: #fff; border: 1.5px solid var(--primary); border-radius: var(--r-pill); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230E4F66' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.pd-pilih select:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (min-width: 600px) and (max-width: 899px) { .pd-nav.ada-pilih .pd-pilih { max-width: 440px; } }

/* 3. Penapis perkhidmatan & tab galeri di telefon: membalut kemas, tiada perkataan terpotong */
@media (max-width: 599px) {
  .svc-chips, .tour-chips {
    flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .svc-chips > .chip, .tour-chips > .chip { padding: 8px 14px; font-size: 14px; }
}

/* ═══ Pembetulan semakan pemilik #3: jarak (8 Nov 2026) ═════════════
   Diukur dengan skrip (tools/jarak.js): tajuk berbilang baris perlukan ruang baris ~1.2,
   butang/blok tindakan sekurang-kurangnya 24px dari elemen di atasnya. */

/* Ruang antara baris tajuk */
.display { line-height: 1.17; }
.h2 { line-height: 1.22; }
.h3, .h2-sm { line-height: 1.3; }
.prose h2, .prose h3 { line-height: 1.3; }
@media (min-width: 900px) { .display { line-height: 1.12; } .h2 { line-height: 1.18; } }

/* Butang "Lihat semua perkhidmatan": jelas terpisah daripada senarai */
.svc-more, .svc-more[hidden] + * { margin-top: 28px; }
@media (max-width: 899px) { .svc-more { margin-top: 28px; } }

/* Kotak carian di bawah tajuk Perkhidmatan */
@media (max-width: 899px) { .section-row > .search { margin-top: 8px; } }

/* Hero: baris ★4.8 / 999 sedikit renggang daripada butang */
.hero .hero-foot { margin-top: 18px; }

/* Penarafan Google: pautan renggang daripada angka */
.voices-links { margin-top: 8px; }

/* Borang: pilihan sesi renggang daripada label "Sesi pilihan" */
.ask-form legend, form legend { margin-bottom: 12px; }

/* Tajuk kecil ke teks di bawahnya */
.tour-text { gap: 12px; }
.prose h3 + *, .prose h2 + * { margin-top: 12px; }
.footer-h { margin-bottom: 8px; }
@media (max-width: 599px) { .footer-col:not(.footer-brand) .footer-h { margin-bottom: 6px; } }
.display { line-height: 1.18; }
@media (min-width: 900px) { .display { line-height: 1.12; } }
/* Promosi (desktop): butang renggang daripada harga */
.promo-foot + .btn, .promo-body .promo-foot ~ .btn { margin-top: 16px; }
@media (min-width: 900px) { .display { line-height: 1.14; } }
.promo-body > .btn { margin-top: 18px; }
@media (min-width: 900px) { .promo:only-child .promo-body > .btn { margin-top: 8px; } .promo:only-child .promo-body { row-gap: 12px; } }
