/* MediSata — main stylesheet. Mobile-first. Tokens follow design/plan.md and inventory/theme.md. */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/roboto-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/roboto-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #21c87a;
  --green-hover: #1ca766;
  --green-ink: #127a4a;
  --green-wash: #e9f9f1;
  --purple: #796eff;
  --purple-ink: #5648ff;
  --purple-wash: #f0efff;
  --ink: #151b26;
  --text: #212529;
  --muted: #646f79;
  --line: #e3e6f0;
  --mist: #f5f8fb;
  --white: #fff;
  --star: #b45309;

  --font: "Roboto", Helvetica, Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.375rem, 1.1rem + 1.2vw, 1.625rem);
  --fs-h1: clamp(1.75rem, 1.2rem + 2.6vw, 2.5rem);
  --fs-display: clamp(2rem, 1.2rem + 3.8vw, 3.25rem);

  --gutter: 1rem;
  --maxw: 72rem;
  --measure: none;
  --r-sm: 4px;
  --r-md: 8px;
  --space: clamp(2.5rem, 2rem + 2.5vw, 4rem);
}
@media (min-width: 48em) { :root { --gutter: 2rem; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.35; }
h4, h5, h6 { font-size: 1.0625rem; font-weight: 500; }
p, ul, ol, dl, table, blockquote, figure { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.25rem; }
a { color: var(--green-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple-ink); outline-offset: 2px; border-radius: 2px; }
strong { font-weight: 700; }
.muted { color: var(--muted); }
.anchor { display: block; position: relative; top: -5rem; visibility: hidden; height: 0; }
iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); background: var(--mist); margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }




/* ---------- icons & buttons ---------- */
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.6rem 1.15rem;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn-sm { min-height: 44px; padding: 0.45rem 0.85rem; font-size: 0.9375rem; }
.btn-wa, .btn-primary { background: var(--green); color: var(--ink); }
.btn-wa:hover, .btn-primary:hover { background: var(--green-hover); color: var(--ink); }
.btn-purple { background: var(--purple-ink); color: var(--white); }
.btn-purple:hover { background: #4a3bff; color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.25rem; }

/* ---------- header & nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4rem; position: relative; }
.logo { display: inline-flex; padding: 0.5rem 0; margin-right: auto; }
.logo img { height: 34px; width: auto; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-toggle-label, .nav-close {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.4rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 0.9375rem; cursor: pointer; color: var(--ink); background: var(--white);
}
.nav-toggle-label:hover, .nav-close:hover { border-color: var(--ink); }
.nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--purple-ink); outline-offset: 2px; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.x { position: relative; width: 16px; height: 16px; }
.x::before, .x::after { content: ""; position: absolute; left: -1px; top: 7px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; min-height: 44px;
  color: var(--ink); text-decoration: none; font-weight: 500; cursor: pointer; list-style: none;
}
.nav-link::-webkit-details-marker { display: none; }
.nav-link[aria-current="page"], .nav-link.is-current { color: var(--green-ink); }
.chev { width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; flex: none; }
.menu[open] .chev { transform: translateY(2px) rotate(-135deg); }
.menu-panel ul { list-style: none; padding: 0; margin: 0; }
.menu-panel li { margin: 0; }
.menu-panel li a { display: block; color: var(--text); text-decoration: none; }
.menu-panel li a:hover, .menu-panel a[aria-current="page"] { color: var(--green-ink); }
.menu-title { display: block; font-weight: 700; color: var(--ink); text-decoration: none; }
.menu-title:hover { color: var(--green-ink); }
.menu-all { font-weight: 500; color: var(--green-ink) !important; }

/* mobile: full-screen sheet over the page */
@media (max-width: 63.99em) {
  .main-nav {
    position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
    background: var(--white); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav-toggle:checked ~ .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  body:has(.nav-toggle:checked) { overflow: hidden; }
  .nav-sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 1rem; min-height: 4rem; padding: 0 var(--gutter); background: var(--white); border-bottom: 1px solid var(--line); }
  .nav-list { padding: 0.5rem var(--gutter) 1rem; flex: 1; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { min-height: 60px; font-size: 1.25rem; font-weight: 700; }
  .menu-panel { padding: 0 0 1rem; }
  .menu-group { padding: 0.75rem 0 0.75rem 0.75rem; border-left: 3px solid var(--green); margin: 0.5rem 0; }
  .menu-title { font-size: 1.0625rem; padding: 0.25rem 0; }
  .menu-panel li a { padding: 0.55rem 0; min-height: 44px; }
  .menu-panel-narrow ul { padding-left: 0.75rem; border-left: 3px solid var(--green); }
  .nav-cta-wrap { position: sticky; bottom: 0; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .nav-cta { width: 100%; min-height: 52px; font-size: 1.0625rem; }
}

/* desktop: inline nav with floating dropdown panels */
@media (min-width: 64em) {
  .nav-toggle, .nav-toggle-label, .nav-sheet-head { display: none; }
  .main-nav { display: flex; align-items: center; gap: 1.25rem; }
  .nav-list { display: flex; gap: 0.25rem; }
  .nav-list > li { position: static; }
  .nav-link { min-height: 4rem; padding: 0 0.85rem; position: relative; }
  .nav-link::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--green); transform: scaleX(0); transition: transform 0.2s ease; }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-current::after, .menu[open] > .nav-link::after { transform: scaleX(1); }
  .nav-link:hover { color: var(--green-ink); }
  /* click anywhere outside an open menu: the transparent layer belongs to <summary>, so it toggles the menu closed */
  .menu[open] > summary::before { content: ""; position: fixed; inset: 0; z-index: 60; cursor: default; }
  .menu-panel {
    position: absolute; top: calc(100% + 0.5rem); left: 0; z-index: 61;
    padding: 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 24px 48px -16px rgb(21 27 38 / 0.28), 0 2px 6px rgb(21 27 38 / 0.06);
    animation: menu-in 0.16s ease-out;
  }
  .menu-panel { max-height: calc(100vh - 6rem); overflow-y: auto; }
  .menu-panel-wide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; left: auto; right: var(--gutter); width: min(50rem, calc(100vw - 2 * var(--gutter))); }
  .nav-list > li.has-menu-narrow { position: relative; }
  .menu-panel-narrow { left: 0; right: auto; width: 16rem; }
  /* other menu buttons stay above the click-outside layer, so one click switches menus */
  .nav-link { z-index: 61; }
  .menu[open] > .nav-link { z-index: auto; }
  .menu-group-alt { background: var(--mist); border-radius: 8px; padding: 0.75rem; margin: -0.25rem; }
  .menu-title { font-size: 1rem; padding-bottom: 0.4rem; margin-bottom: 0.25rem; border-bottom: 2px solid var(--green); }
  .menu-panel-narrow .menu-title { border: 0; margin: 0 0 0.25rem; }
  .menu-panel li a { padding: 0.25rem 0.5rem; margin: 0 -0.5rem; border-radius: 6px; font-size: 0.875rem; line-height: 1.4; }
  .menu-title { font-size: 0.9375rem; }
  .menu-panel li a:hover { background: var(--green-wash); }
  .nav-cta-wrap { display: flex; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding-top: 1rem; padding-bottom: 0.25rem; font-size: var(--fs-small); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "›"; color: var(--muted); margin-right: 0.35rem; }
.breadcrumbs a { color: var(--muted); padding: 0.6rem 0; display: inline-block; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- layout ---------- */
.page-head { padding-top: 1.25rem; padding-bottom: 0.5rem; }

.lead { font-size: 1.125rem; color: var(--text); max-width: var(--measure); }
.layout-aside { display: block; }
.col-aside { display: none; }
.sec { padding-block: 2rem; border-top: 1px solid var(--line); }
.sec:first-child, .sec-lead { border-top: 0; }
.sec > h2 { margin-bottom: 1rem; }
.band-mist-inline { background: var(--mist); border-top: 0; padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
@media (min-width: 48em) { .band-mist-inline { padding-inline: 2rem; margin-inline: 0; border-radius: var(--r-md); margin-block: 1rem; } }
.prose { max-width: var(--measure); }
.prose h3 { margin-top: 1.75rem; }
.prose h4, .prose h5, .prose h6 { margin-top: 1.25rem; }
.prose img { border-radius: var(--r-md); margin: 1rem 0; }
.prose blockquote { margin: 1.25rem 0; padding: 0.25rem 0 0.25rem 1rem; border-left: 3px solid var(--purple); color: var(--ink); }
.updated { color: var(--muted); font-size: var(--fs-small); padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.note { background: var(--green-wash); border-left: 4px solid var(--green); padding: 0.75rem 1rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; max-width: var(--measure); }
.note-warn { background: #fff7e6; border-left-color: #d97706; }
.back { font-size: var(--fs-small); margin: -0.25rem 0 1rem; }
.split { display: grid; gap: 2rem; }
@media (min-width: 56em) { .split { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 3rem; } }
.split-3 { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 48em) { .split-3 { grid-template-columns: repeat(3, 1fr); } }
.cols { columns: 1; column-gap: 2rem; }
@media (min-width: 40em) { .cols { columns: 2; } .cols li { break-inside: avoid; } }

/* toc */
.toc { font-size: 0.9375rem; border-left: 3px solid var(--green); padding: 0.25rem 0 0.25rem 1rem; }
.toc-title { font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 0.35rem 0; color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--green-ink); text-decoration: underline; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1rem; max-width: var(--measure); }
table { width: 100%; border-collapse: collapse; font-size: 0.96875rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 500; color: var(--ink); padding-bottom: 0.5rem; caption-side: top; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: var(--fs-small); color: var(--muted); font-weight: 500; border-bottom: 2px solid var(--ink); }
tbody th { font-weight: 400; color: var(--text); min-width: 9rem; }
.price-table td, .schedule td { white-space: nowrap; }
@media (max-width: 30em) { .price-table td, .schedule td { white-space: normal; } }

/* ---------- steps (real sequences) ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; max-width: var(--measure); }
.steps > li { counter-increment: step; position: relative; padding-left: 3rem; margin: 0 0 1.5rem; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--green); color: var(--ink); font-weight: 700; display: grid; place-items: center; font-size: 0.9375rem;
}
.steps > li h3 { margin: 0.15rem 0 0.4rem; }
.steps-grid { max-width: none; display: grid; gap: 0.5rem 2rem; }
@media (min-width: 48em) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- details: FAQ & "more" ---------- */
details > summary { cursor: pointer; }
.faq, .sec-faq .prose { display: grid; gap: 0.75rem; }
.faq details, .sec-faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.15rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details:hover, .sec-faq details:hover { border-color: #c9cfdf; }
.faq details[open], .sec-faq details[open] { border-color: var(--green); box-shadow: 0 10px 24px -16px rgb(18 122 74 / 0.45); }
.faq summary, .sec-faq summary {
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1rem 0; min-height: 56px; font-weight: 500; color: var(--ink); font-size: 1.0625rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker, .sec-faq summary::-webkit-details-marker, .more summary::-webkit-details-marker { display: none; }
.faq summary::after, .sec-faq summary::after {
  content: "+"; flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-wash); color: var(--green-ink); font-size: 1.35rem; font-weight: 500; line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq details[open] summary::after, .sec-faq details[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--green); color: var(--ink); }
.details-body { padding: 0 0 1.1rem; color: var(--text); }
.faq .details-body, .sec-faq .details-body { border-top: 1px dashed var(--line); padding-top: 0.9rem; }
.details-body > :last-child { margin-bottom: 0; }
.more { margin: 1rem 0; }
.more > summary {
  list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 500; color: var(--ink); background: var(--white);
}
.more > summary:hover { border-color: var(--ink); }
.more[open] > summary { margin-bottom: 1rem; }

/* ---------- facts ---------- */
.facts { display: grid; gap: 0.75rem 1.5rem; margin: 1rem 0; }
.facts div { min-width: 0; }
.facts dt { font-size: var(--fs-small); color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 40em) { .facts { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }
.facts-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.25rem; align-content: start; }
@media (min-width: 40em) { .facts-card { grid-template-columns: 1fr; } }
.row-reviews { display: inline-flex; align-items: center; gap: 0.3rem; font-size: var(--fs-small); color: var(--muted); margin: 0 0 0.5rem; }
.row-reviews .ico { color: var(--star); }

/* ---------- home hero: the city picker ---------- */
.hero { padding: 2rem 0 1rem; }
.hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem); line-height: 1.12; margin-bottom: 0.75rem; }
.hero .lead { margin-bottom: 1.25rem; }
.hero-pick { font-size: 1.125rem; font-weight: 500; margin-bottom: 0.75rem; }
.city-tiles { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.city-tiles li { margin: 0; }
.city-tile {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden;
  background: var(--ink); color: var(--white); text-decoration: none; isolation: isolate;
}
.city-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.4s ease; }
.city-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(21 27 38 / 0.88) 0%, rgb(21 27 38 / 0.25) 55%, rgb(21 27 38 / 0) 75%); }
.city-tile::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.city-name { position: absolute; left: 0.9rem; bottom: 2.3rem; font-size: clamp(1.25rem, 1rem + 1.5vw, 1.875rem); font-weight: 700; line-height: 1.1; }
.city-count { position: absolute; left: 0.9rem; bottom: 0.9rem; font-size: var(--fs-small); color: rgb(255 255 255 / 0.9); }
.city-tile:hover img, .city-tile:focus-visible img { transform: scale(1.04); }
.city-tile:hover::before, .city-tile:focus-visible::before { transform: scaleX(1); }
.city-tile:hover { color: var(--white); }
@media (min-width: 40em) { .city-tiles { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } .city-tile { aspect-ratio: 4 / 3; } }
@media (min-width: 64em) { .hero { padding-top: 2rem; } .city-tiles { grid-template-columns: repeat(6, 1fr); } .city-tile { aspect-ratio: 3 / 4; } }
.hero-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.media-strip { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--line); }
.media-strip h2 { font-size: 1rem; font-weight: 500; color: var(--muted); margin-bottom: 1rem; }
.media-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.media-strip li { margin: 0; }
.media-strip img { height: 28px; width: auto; filter: grayscale(1); opacity: 0.75; }

.sec-band { padding-block: var(--space); }
.sec-band + .sec-band:not(.band-mist) { border-top: 1px solid var(--line); }
.band-mist { background: var(--mist); }
.free-panel { border-left: 4px solid var(--green); padding: 0.25rem 0 0.25rem 1.25rem; }
.free-big { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); font-weight: 700; color: var(--ink); line-height: 1.1; margin-bottom: 0.5rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.45rem; height: 0.8rem; border-right: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink); transform: rotate(45deg); }
.city-groups { display: grid; gap: 1.5rem 2rem; }
@media (min-width: 40em) { .city-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .city-groups { grid-template-columns: repeat(3, 1fr); } }
.city-group h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.city-group h3 a { color: var(--ink); text-decoration: none; }
.city-group h3 a:hover { color: var(--green-ink); text-decoration: underline; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { margin: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--green); background: var(--green-wash); }

.link-list { list-style: none; padding: 0; }
.link-list li { margin: 0; padding: 0.3rem 0; }
.link-list a { display: inline-block; padding: 0.15rem 0; }

/* ---------- hospitals ---------- */
.hosp-feature { display: grid; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.hosp-feature-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }
.hosp-feature h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.hosp-feature h3 a, .hosp-row h3 a, .row-name { color: var(--ink); text-decoration: none; }
.hosp-feature h3 a:hover, .hosp-row h3 a:hover, .row-name:hover { color: var(--green-ink); text-decoration: underline; }
@media (min-width: 48em) { .hosp-feature { grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: start; } }
.hosp-rows, .doc-rows { list-style: none; padding: 0; margin: 0 0 1rem; }
.hosp-row { display: grid; grid-template-columns: 6rem 1fr; gap: 0.75rem 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.hosp-row-img img { width: 6rem; height: 6rem; object-fit: cover; border-radius: var(--r-sm); }
.hosp-row h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 0.15rem; }
.hosp-row .row-main p { font-size: 0.96875rem; margin-bottom: 0.5rem; }
.hosp-row .facts { margin: 0.5rem 0 0; font-size: 0.9375rem; gap: 0.25rem 1.25rem; }
.hosp-row > .btn { grid-column: 2; justify-self: start; }
@media (min-width: 48em) {
  .hosp-row { grid-template-columns: 9rem 1fr auto; align-items: start; }
  .hosp-row-img img { width: 9rem; height: 7rem; }
  .hosp-row > .btn { grid-column: 3; }
}

.hosp-head { display: grid; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
@media (min-width: 64em) { .hosp-head { grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: start; } }
.hosp-head h1 { margin-bottom: 0.4rem; }
.hosp-head .prose p { font-size: 1rem; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; grid-template-columns: repeat(4, 1fr); }
.gallery li { margin: 0; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.gallery li:first-child { grid-column: 1 / -1; }
.gallery li:first-child img { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.gallery-2 { grid-template-columns: 1fr; }
.gallery-3 { grid-template-columns: repeat(2, 1fr); }
.gallery-4 { grid-template-columns: repeat(3, 1fr); }

.jump-wrap { position: sticky; top: 4rem; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.jump ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.jump li { margin: 0; flex: none; }
.jump a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.75rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.jump a:hover { color: var(--green-ink); box-shadow: inset 0 -3px 0 var(--green); }
.jump li:first-child a { padding-left: 0; }
@media (max-width: 63.99em) { .jump-wrap { top: 4rem; } }

.subnav ul { list-style: none; padding: 0; margin: 0 0 0.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; border-bottom: 1px solid var(--line); }
.subnav li { margin: 0; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; text-decoration: none; color: var(--ink); font-weight: 500; }
.subnav a:first-child { padding-left: 0; }
.subnav a[aria-current] { box-shadow: inset 0 -3px 0 var(--green); }

/* ---------- doctors ---------- */
.doc-row { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.25rem 0.9rem; align-items: center; padding: 0.85rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.row-photo { width: 3.5rem; height: 3.5rem; object-fit: cover; object-position: top; border-radius: 50%; background: var(--mist); }
.row-main { display: flex; flex-direction: column; min-width: 0; }
.row-name { font-weight: 700; font-size: 1.0625rem; line-height: 1.35; }
.row-spec, .row-hosp { font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }
.doc-row .row-reviews { margin: 0.15rem 0 0; }
.doc-row > .btn { grid-column: 2; justify-self: start; margin-top: 0.4rem; }
@media (min-width: 48em) { .doc-row { grid-template-columns: 4rem 1fr auto; } .row-photo { width: 4rem; height: 4rem; } .doc-row > .btn { grid-column: 3; margin: 0; } }
.group-title { margin: 2rem 0 0.25rem; font-size: 1.125rem; font-weight: 700; scroll-margin-top: 6rem; }
.spec-jump ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.spec-jump li { margin: 0; }
.spec-jump a { display: inline-flex; gap: 0.35rem; align-items: center; min-height: 44px; padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 0.9375rem; }
.spec-jump a:hover { border-color: var(--green); }
.count { color: var(--muted); font-size: 0.8125rem; }
.name-list { list-style: none; padding: 0; columns: 1; column-gap: 2rem; }
.name-list li { margin: 0; padding: 0.2rem 0; break-inside: avoid; }
@media (min-width: 40em) { .name-list { columns: 2; } }

.doc-head { display: grid; gap: 1.25rem; padding-top: 1rem; padding-bottom: 1.5rem; grid-template-columns: 6.5rem 1fr; align-items: start; }
.doc-photo { width: 6.5rem; height: auto; aspect-ratio: 5 / 6; object-fit: cover; object-position: top; border-radius: var(--r-md); background: var(--mist); }
.doc-head-main { min-width: 0; }
.doc-head h1 { margin-bottom: 0.25rem; }
.doc-spec { font-size: 1.125rem; color: var(--ink); margin-bottom: 0.4rem; }
.doc-head .facts-card { grid-column: 1 / -1; }
@media (min-width: 48em) { .doc-head { grid-template-columns: 11rem 1fr; gap: 2rem; } .doc-photo { width: 11rem; } }
@media (min-width: 64em) { .doc-head { grid-template-columns: 12rem minmax(0, 1fr) 19rem; } .doc-photo { width: 12rem; } .doc-head .facts-card { grid-column: 3; } }

/* ---------- MCU packages ---------- */
.pkgs { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 56em) { .pkgs { grid-template-columns: repeat(2, 1fr); } }
.pkg { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; display: flex; flex-direction: column; }
.pkg h3 { font-weight: 700; margin-bottom: 0.15rem; }
.pkg-hosp { font-size: 0.9375rem; margin-bottom: 0.5rem; }
.pkg-body { font-size: 0.96875rem; }
.pkg-body ul { padding-left: 1.1rem; }
.pkg > p:last-child { margin: auto 0 0; padding-top: 0.5rem; }

/* ---------- articles ---------- */
.article { padding-top: 1rem; }
.art-cat { font-size: var(--fs-small); margin-bottom: 0.4rem; }
.art-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; color: var(--muted); font-size: 0.9375rem; }
.art-hero img { width: 100%; border-radius: var(--r-md); }
.art-hero { margin: 1.25rem 0 1.5rem; }
.summary { background: var(--green-wash); border-radius: var(--r-md); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.summary-title { font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; }
.summary p:last-child { margin: 0; }
.art-body .toc { margin: 0 0 2rem; }
.art-body .prose h2 { margin-top: 2.25rem; scroll-margin-top: 5rem; }
.disclaimer-note { font-size: var(--fs-small); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.author-box { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.author-box p { margin: 0; }
.author-photo { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.art-after { padding-bottom: 1rem; }

.cards { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 40em) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { margin: 0; display: flex; flex-direction: column; }
.card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); background: var(--mist); }
.card-body { padding-top: 0.75rem; }
.card-meta { font-size: var(--fs-small); color: var(--muted); margin-bottom: 0.25rem; }
.card h3 { font-size: 1.125rem; font-weight: 700; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--green-ink); text-decoration: underline; }
.card-body p:last-child { font-size: 0.96875rem; }
.index-other { font-size: 0.9375rem; color: var(--muted); }
.index-other a { margin-right: 0.5rem; }
.pagination ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 2rem 0 3rem; }
.pagination li { margin: 0; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.75rem; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }
.pagination a[aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- contact block ---------- */
.contact { padding-block: var(--space); }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 56em) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }

.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.contact-checklist { background: var(--white); border-radius: var(--r-md); padding: 1.25rem 1.5rem; border: 1px solid var(--line); }
.contact-checklist h3 { font-size: 1.0625rem; font-weight: 700; }
.contact-checklist ul { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgb(255 255 255 / 0.78); font-size: 0.9375rem; padding-bottom: 5.5rem; }
@media (min-width: 64em) { .site-footer { padding-bottom: 0; } }
.site-footer a { color: rgb(255 255 255 / 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding-block: 2rem; border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.footer-cta-title { color: var(--white); font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem); font-weight: 700; margin: 0 0 0.25rem; }
.footer-cta-text { margin: 0; }
.site-footer .footer-cta .btn-wa { color: var(--ink); }
.site-footer .footer-cta .btn-wa:hover { color: var(--ink); }
.footer-grid { display: grid; gap: 2rem; padding-block: 2.5rem; }
@media (min-width: 40em) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem; } .footer-brand { grid-column: auto; } }
.footer-logo img { width: 170px; height: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; margin-bottom: 1.25rem; }
.site-footer h2 { color: var(--white); font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.75rem; padding-bottom: 0.5rem; position: relative; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2rem; height: 2px; background: var(--green); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer nav li a { display: inline-block; padding: 0.3rem 0; }
.social { display: flex; gap: 0.6rem; }
.social a {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgb(255 255 255 / 0.08); color: var(--white); transition: background 0.2s ease, color 0.2s ease;
}
.social a:hover { background: var(--green); color: var(--ink); }
.social .ico { width: 20px; height: 20px; }
.footer-legal { border-top: 1px solid rgb(255 255 255 / 0.12); padding-block: 1.1rem; font-size: var(--fs-small); color: rgb(255 255 255 / 0.6); }
.footer-legal p { margin: 0; }

/* ---------- sticky mobile CTA ---------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 0.5rem; padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 16px -10px rgb(21 27 38 / 0.35);
}
.cta-bar .btn { flex: 1; }
@media (min-width: 64em) { .cta-bar { display: none; } }

/* ---------- 404 ---------- */
.page-404 { padding-top: 2.5rem; padding-bottom: 3rem; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
picture { display: contents; }

/* video facade: iframe loads only after the reader opens it */
.video { margin: 1rem 0 1.5rem; max-width: var(--measure); }
.video > summary {
  list-style: none; display: flex; align-items: center; gap: 0.75rem; min-height: 64px; padding: 0.75rem 1rem;
  background: var(--ink); color: var(--white); border-radius: var(--r-md); font-weight: 500;
}
.video > summary::-webkit-details-marker { display: none; }
.video > summary:hover { background: #262f40; }
.video .play { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--green); position: relative; }
.video .play::after { content: ""; position: absolute; left: 1rem; top: 0.75rem; border-style: solid; border-width: 0.5rem 0 0.5rem 0.8rem; border-color: transparent transparent transparent var(--ink); }
.video[open] > summary { border-radius: var(--r-md) var(--r-md) 0 0; }
.video iframe { border-radius: 0; margin: 0; }
.video-link { font-size: var(--fs-small); margin-top: 0.5rem; }

/* ---------- hospital cards ---------- */
.hosp-grid { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.hosp-card {
  margin: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.hosp-card:hover { border-color: transparent; box-shadow: 0 18px 36px -18px rgb(21 27 38 / 0.35); transform: translateY(-2px); }
.hosp-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.hosp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.hosp-card:hover .hosp-card-img img { transform: scale(1.04); }
.hosp-card-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.15rem 1.15rem; }
.hosp-card h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 0.2rem; }
.hosp-card h3 a { color: var(--ink); text-decoration: none; }
.hosp-card h3 a:hover { color: var(--green-ink); }
.hosp-card-desc { font-size: 0.9375rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0.35rem 0 0.75rem; }
.mini-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 0 0 0.75rem; }
.mini-facts div { background: var(--green-wash); border-radius: 8px; padding: 0.45rem 0.6rem; }
.mini-facts dt { font-size: 0.75rem; color: var(--green-ink); font-weight: 500; }
.mini-facts dd { margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.3; }
.hosp-card-addr { display: flex; gap: 0.35rem; font-size: 0.875rem; color: var(--muted); margin: 0 0 1rem; line-height: 1.45; }
.hosp-card-addr .ico { color: var(--purple-ink); margin-top: 0.1rem; }
.hosp-card-btn { margin-top: auto; align-self: stretch; }
.hosp-feature { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 48em) { .hosp-feature { padding: 1.25rem; } }
.hosp-feature-img img { border-radius: 8px; }
.hosp-feature .facts { background: var(--mist); border-radius: 8px; padding: 0.75rem 1rem; }

/* ---------- doctor cards ---------- */
.doc-grid { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.doc-card {
  margin: 0; display: flex; flex-direction: column; gap: 0.9rem; padding: 1rem; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.doc-card:hover { border-color: transparent; box-shadow: 0 14px 30px -16px rgb(21 27 38 / 0.35); }
.doc-card-top { display: flex; gap: 0.9rem; align-items: flex-start; }
.doc-card-photo { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mist); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--green-wash); }
.doc-card-info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.doc-card-name { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.doc-card-name:hover { color: var(--green-ink); }
.doc-spec-tag { align-self: flex-start; font-size: 0.8125rem; font-weight: 500; color: var(--purple-ink); background: var(--purple-wash); border-radius: 999px; padding: 0.1rem 0.6rem; margin: 0.15rem 0; }
.doc-sub { font-size: 0.875rem; color: var(--muted); }
.doc-hosp { display: flex; gap: 0.3rem; align-items: flex-start; font-size: 0.875rem; color: var(--text); line-height: 1.4; }
.doc-hosp .ico { color: var(--purple-ink); margin-top: 0.1rem; }
.doc-card .row-reviews { margin: 0.1rem 0 0; }
.doc-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: auto; }
.doc-card-actions .btn { padding-inline: 0.5rem; }
.group-title .count { font-weight: 400; }

/* ---------- home: hospitals per city ---------- */
.city-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.city-card { margin: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.city-card-head { position: relative; display: block; aspect-ratio: 16 / 7; color: var(--white); text-decoration: none; isolation: isolate; background: var(--ink); }
.city-card-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.city-card-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(21 27 38 / 0.85), rgb(21 27 38 / 0.1)); }
.city-card-head h3 { position: absolute; left: 1rem; bottom: 0.7rem; margin: 0; color: var(--white); font-size: 1.375rem; font-weight: 700; }
.city-card-head span { position: absolute; right: 1rem; bottom: 0.9rem; font-size: 0.8125rem; background: var(--green); color: var(--ink); border-radius: 999px; padding: 0.1rem 0.6rem; font-weight: 500; }
.city-card ul { list-style: none; padding: 0.5rem 1rem; margin: 0; }
.city-card li { margin: 0; border-bottom: 1px solid var(--line); }
.city-card li:last-child { border-bottom: 0; }
.city-card li a { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.65rem 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.city-card li a:hover { color: var(--green-ink); }
.city-card li small { font-weight: 400; color: var(--muted); font-size: 0.8125rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.city-card-more { margin: auto 1rem 1rem; }
.city-card-more a { display: flex; justify-content: center; align-items: center; min-height: 44px; border-radius: 8px; background: var(--mist); color: var(--ink); text-decoration: none; font-weight: 500; }
.city-card-more a:hover { background: var(--green-wash); color: var(--green-ink); }

/* ---------- reviews: swipeable carousel ---------- */
.carousel-hint { font-size: var(--fs-small); color: var(--muted); margin-bottom: 0.75rem; }
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 1rem; scrollbar-width: thin; scrollbar-color: var(--green) transparent; }
.carousel:focus-visible { outline-offset: -3px; }
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: var(--green); border-radius: 6px; }
.reviews { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 22rem); gap: 1rem; }
@media (min-width: 48em) { .reviews { grid-auto-columns: 22rem; } }
.review {
  position: relative; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.25rem 1.1rem;
  box-shadow: 0 8px 20px -16px rgb(21 27 38 / 0.35); content-visibility: auto; contain-intrinsic-size: 22rem 16rem;
}
.review-quote { position: absolute; top: 0.2rem; right: 1rem; font-size: 3.5rem; line-height: 1; color: var(--purple); opacity: 0.25; font-family: Georgia, serif; }
.review blockquote { margin: 0 0 1rem; padding: 0 0.25rem 0 0; border: 0; max-height: 11.5rem; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.review blockquote p { margin: 0; font-size: 0.96875rem; }
.review footer { margin-top: auto; display: flex; gap: 0.75rem; align-items: flex-start; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.875rem; }
.review-avatar { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--purple-wash); color: var(--purple-ink); font-weight: 700; }
.review-name { display: block; color: var(--ink); }
.review-meta { display: flex; flex-wrap: wrap; gap: 0.15rem 0.75rem; color: var(--muted); }
.review-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.review-meta .ico { color: var(--purple-ink); }
.review-about { margin: 0.2rem 0 0; }
.band-mist-inline .carousel { margin-inline: 0; padding-inline: 0; }

/* in-page jump pills */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
.pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.35rem 1rem; border-radius: 999px; background: var(--green-wash); color: var(--green-ink); font-weight: 500; text-decoration: none; border: 1px solid transparent; }
.pills a:hover { background: var(--white); border-color: var(--green); }

/* ---------- image link cards (replace plain link lists) ---------- */
.link-cards { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.link-cards li { margin: 0; }
.link-card {
  display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.link-card:hover { color: var(--ink); border-color: transparent; transform: translateY(-2px); box-shadow: 0 16px 32px -18px rgb(21 27 38 / 0.4); }
.lc-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--green-wash), var(--purple-wash)); }
.lc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.link-card:hover .lc-img img { transform: scale(1.05); }
.lc-noimg { display: block; width: 100%; height: 100%; }
.lc-badge { position: absolute; left: 0.6rem; top: 0.6rem; font-size: 0.75rem; font-weight: 500; background: rgb(255 255 255 / 0.92); color: var(--ink); border-radius: 999px; padding: 0.1rem 0.55rem; }
.lc-body { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.8rem 1rem 1rem; }
.lc-title { font-weight: 700; line-height: 1.3; }
.link-card:hover .lc-title { color: var(--green-ink); }
.lc-sub { font-size: 0.875rem; color: var(--muted); }
/* city cards: photo with name overlaid */
.lc-cities .link-card { position: relative; border: 0; background: var(--ink); }
.lc-cities .lc-img { aspect-ratio: 4 / 3; }
.lc-cities .lc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(21 27 38 / 0.9), rgb(21 27 38 / 0.05) 65%); }
.lc-cities .lc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 1rem; }
.lc-cities .lc-title { color: var(--white); font-size: 1.15rem; }
.lc-cities .lc-sub { color: rgb(255 255 255 / 0.85); }
.lc-cities .link-card:hover .lc-title { color: var(--white); }
.lc-cities .lc-badge { z-index: 1; }
.lc-compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
.lc-compact .lc-img { aspect-ratio: 1 / 1; }
.lc-compact .lc-title { font-size: 1rem; }
.sec h3 + .link-cards { margin-top: 0.5rem; }

/* article cards in a swipeable row (wisata) */
.cards-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 17rem); grid-template-columns: none; gap: 1rem; margin: 0; }
.cards-scroll .card { scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cards-scroll .card-img img { border-radius: 0; }
.cards-scroll .card-body { padding: 0.75rem 1rem 1rem; }
.cards-scroll .card h3 { font-size: 1rem; }
.lc-cities { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); }
@media (max-width: 39.99em) { .lc-cities { grid-template-columns: repeat(2, 1fr); } }
.index-other { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.index-other a { margin: 0; display: inline-flex; align-items: center; min-height: 40px; padding: 0.3rem 0.95rem; border-radius: 999px; background: var(--green-wash); color: var(--green-ink); font-weight: 500; text-decoration: none; }
.index-other a:hover { background: var(--green); color: var(--ink); }

/* benefit icon badge (MCU hub "Mengapa check up rutin") */
.benefit-icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 14px; background: var(--green-wash); margin: 1.25rem 0 0.5rem; }
.benefit-icon img { width: 1.9rem !important; height: 1.9rem !important; margin: 0 !important; border-radius: 0 !important; }
/* any leftover theme icon images stay icon-sized */
img[src*="/assets/svg/components/"], img[src*="/assets/img/icon/"] { width: 3rem; height: auto; display: inline-block; }

/* MCU "why check up" numbered benefits: static badge, not a link */
.benefit-badge { display: inline-flex; align-items: center; gap: 0.75rem; margin: 1.75rem 0 0.5rem; }
.benefit-num {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--green); color: var(--ink); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--green-wash);
}
.benefit-badge .benefit-icon { width: 2.75rem; height: 2.75rem; margin: 0; border-radius: 12px; background: var(--mist); }
.benefit-badge .benefit-icon img { width: 1.5rem !important; height: 1.5rem !important; }
.benefit-badge + h4 { font-size: 1.1875rem; font-weight: 700; margin-top: 0.25rem; }

/* image cards with text on top: dimmed photo behind the text */
.city-tile, .lc-cities .lc-img, .city-card-head { background: var(--ink); }
.city-tile img, .lc-cities .lc-img img, .city-card-head img { opacity: 0.55; transition: opacity 0.3s ease, transform 0.4s ease; }
.city-tile:hover img, .city-tile:focus-visible img, .lc-cities .link-card:hover .lc-img img, .city-card-head:hover img { opacity: 0.7; }
