/* ==========================================================================
   MitraMedic V2 Theme — self-contained public site styles (mm- prefix)
   Design tokens from REFERENSI V2
   ========================================================================== */

:root {
  --mm-primary: #2B6CD4;
  --mm-primary-dark: #1f57b3;
  --mm-navy: #16243D;
  --mm-text: #33415c;
  --mm-text-muted: #5c6f8a;
  --mm-text-light: #7d90ab;
  --mm-text-faint: #8aa0bd;
  --mm-border: #eef3fa;
  --mm-border-mid: #e8eff8;
  --mm-border-strong: #dfe9f5;
  --mm-border-accent: #c9dcf4;
  --mm-bg: #ffffff;
  --mm-bg-soft: #f6f9fd;
  --mm-bg-muted: #f2f7fd;
  --mm-bg-panel: #eef4fc;
  --mm-bg-tint: #eaf2fc;
  --mm-bg-badge: #d9e8fb;
  --mm-footer-bg: #2B6CD4;
  --mm-footer-text: #ffffff;
  --mm-footer-muted: #e8f0fb;
  --mm-footer-accent: #ffffff;
  --mm-danger: #d03d3d;
  --mm-success-bg: #e6f5ec;
  --mm-success-border: #b8e2c8;
  --mm-success-text: #1f7a43;
  --mm-wa: #25d366;
  --mm-font: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --mm-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --mm-radius-btn: 10px;
  --mm-radius-card: 16px;
  --mm-radius-badge: 20px;
  --mm-radius-chip: 14px;
  --mm-radius-pill: 24px;
  --mm-wrap: 1200px;
  --mm-pad-x: 80px;
  --mm-pad-x-mobile: 20px;
  --mm-shadow-sm: 0 6px 24px rgba(22, 36, 61, 0.06);
  --mm-shadow-md: 0 10px 34px rgba(22, 36, 61, 0.1);
  --mm-shadow-lg: 0 16px 40px rgba(22, 36, 61, 0.12);
  --mm-shadow-card: 0 12px 30px rgba(22, 36, 61, 0.12);
  --mm-transition: 0.2s ease;
  --mm-header-h: 72px;
}

/* --------------------------------------------------------------------------
   1. Reset & base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body.mm-body {
  margin: 0;
  padding: 0;
  font-family: var(--mm-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--mm-text);
  background: var(--mm-bg);
  min-height: 100vh;
  overflow-x: clip;
}

.mm-body img,
.mm-body svg { display: block; max-width: 100%; }

.mm-body a:not(.mm-btn):not(.mm-wa-float):not(.mm-contact-strip__social-link) { color: inherit; }

.mm-body h1, .mm-body h2, .mm-body h3, .mm-body h4, .mm-body h5, .mm-body h6,
.mm-body p, .mm-body ul, .mm-body ol, .mm-body figure { margin: 0; }

.mm-body ul, .mm-body ol { padding: 0; list-style: none; }

.mm-body button,
.mm-body input,
.mm-body select,
.mm-body textarea {
  font: inherit;
  color: inherit;
}

.mm-body button { cursor: pointer; }

.mm-skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--mm-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.mm-skip-link:focus { top: 0; }

@keyframes mm-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mm-wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75); }
}

@keyframes mm-wa-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* --------------------------------------------------------------------------
   2. Layout
   -------------------------------------------------------------------------- */

.mm-wrap {
  width: 100%;
  max-width: var(--mm-wrap);
  margin-inline: auto;
  padding-inline: var(--mm-pad-x);
}

.mm-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--mm-bg);
}

.mm-section {
  padding-block: 80px;
}

.mm-section--soft { background: var(--mm-bg-soft); }
.mm-section--tight { padding-block: 40px; }
.mm-section--flush-bottom { padding-bottom: 0; }

/* --------------------------------------------------------------------------
   3. Header & navigation
   -------------------------------------------------------------------------- */

.mm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mm-bg);
  border-bottom: 1px solid var(--mm-border);
}

.mm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: calc(var(--mm-wrap) + var(--mm-pad-x) * 2);
  margin-inline: auto;
  min-height: var(--mm-header-h);
  padding-inline: var(--mm-pad-x);
}

.mm-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding-block: 14px;
  flex-shrink: 0;
}

.mm-header__logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.mm-header__logo-img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
}

.mm-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mm-header__logo-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-header__logo-name span { color: var(--mm-primary); }

.mm-header__logo-tagline {
  font-size: 10.5px;
  color: var(--mm-text-light);
}

.mm-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1.5px solid var(--mm-border-strong);
  border-radius: var(--mm-radius-btn);
  background: var(--mm-bg);
  cursor: pointer;
}

.mm-header__toggle span {
  display: block;
  height: 2px;
  background: var(--mm-navy);
  border-radius: 2px;
  transition: transform var(--mm-transition), opacity var(--mm-transition);
}

.mm-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mm-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.mm-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mm-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mm-nav__link {
  text-decoration: none;
  padding: 25px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mm-text);
  border-bottom: 3px solid transparent;
  transition: color var(--mm-transition), border-color var(--mm-transition);
}

.mm-nav__link:hover,
.mm-nav__link.is-active {
  color: var(--mm-primary);
}

.mm-nav__link.is-active {
  font-weight: 600;
  border-bottom-color: var(--mm-primary);
}

.mm-nav__cta {
  margin-left: 8px;
  color: #fff;
}

.mm-nav__cta:hover {
  color: #fff;
}

.mm-nav__cta--active {
  background: var(--mm-primary-dark);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.mm-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(22, 36, 61, 0.45);
  backdrop-filter: blur(2px);
}

.mm-nav-backdrop.is-visible { display: block; }

/* --------------------------------------------------------------------------
   4. Footer
   -------------------------------------------------------------------------- */

.mm-footer {
  background: var(--mm-footer-bg);
  color: var(--mm-footer-text);
  padding: 60px var(--mm-pad-x) 0;
  margin-top: auto;
}

.mm-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 36px 40px;
  width: 100%;
  max-width: var(--mm-wrap);
  margin-inline: auto;
  padding-bottom: 44px;
  align-items: start;
}

.mm-footer__brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mm-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mm-footer__logo-icon {
  width: 34px;
  height: 34px;
  background: var(--mm-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-footer__logo-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.mm-footer__logo-name span { color: var(--mm-footer-accent); }

.mm-footer__brand p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mm-footer-text);
  opacity: 0.95;
  margin: 0;
}

.mm-footer__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mm-footer__col h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.mm-footer__col a,
.mm-footer__col span {
  font-size: 13.5px;
  color: var(--mm-footer-text);
  text-decoration: none;
  line-height: 1.65;
  opacity: 0.95;
}

.mm-footer__col a:hover {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
}

.mm-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 18px 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--mm-footer-muted);
  opacity: 0.95;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--mm-radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--mm-transition), border-color var(--mm-transition), color var(--mm-transition), transform var(--mm-transition);
  white-space: nowrap;
}

.mm-btn svg { flex-shrink: 0; }

.mm-btn--primary,
a.mm-btn--primary,
a.mm-btn--primary:visited,
button.mm-btn--primary {
  background: var(--mm-primary);
  color: #fff;
  border-color: var(--mm-primary);
}

.mm-btn--primary:hover,
a.mm-btn--primary:hover,
button.mm-btn--primary:hover {
  background: var(--mm-primary-dark);
  border-color: var(--mm-primary-dark);
  color: #fff;
}

.mm-btn--primary svg,
.mm-nav__cta svg {
  stroke: currentColor;
}

.mm-btn--wa {
  background: var(--mm-wa);
  color: #fff;
  border-color: var(--mm-wa);
}

.mm-btn--wa:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

.mm-btn--outline {
  background: var(--mm-bg);
  color: var(--mm-primary);
  border-color: var(--mm-border-accent);
}

.mm-btn--outline:hover {
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
}

.mm-btn--ghost {
  background: transparent;
  color: var(--mm-primary);
  border-color: transparent;
  padding-inline: 16px;
}

.mm-btn--ghost:hover { background: var(--mm-bg-tint); }

.mm-btn--sm {
  font-size: 12.5px;
  padding: 11px 22px;
}

.mm-btn--block { width: 100%; }

.mm-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   6. Badge
   -------------------------------------------------------------------------- */

.mm-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--mm-bg-soft);
  color: var(--mm-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--mm-radius-badge);
  border: 1px solid var(--mm-border-accent);
}

.mm-badge--inline {
  background: var(--mm-bg-tint);
  letter-spacing: 0;
  text-transform: none;
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: var(--mm-radius-chip);
}

.mm-badge--city {
  background: #e3eefb;
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   7. Hero split
   -------------------------------------------------------------------------- */

.mm-hero-split {
  display: flex;
  align-items: center;
  background: var(--mm-bg);
  overflow: hidden;
  flex-wrap: wrap;
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--mm-border-mid);
  padding-inline: max(var(--mm-pad-x), calc((100% - var(--mm-wrap)) / 2 + var(--mm-pad-x)));
}

.mm-hero-split::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: max(var(--mm-pad-x), calc((100% - var(--mm-wrap)) / 2 + var(--mm-pad-x)));
  right: max(var(--mm-pad-x), calc((100% - var(--mm-wrap)) / 2 + var(--mm-pad-x)));
  height: 1px;
  background: linear-gradient(90deg, var(--mm-primary) 0%, transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.mm-hero-split--alt {
  background: var(--mm-bg-soft);
}

.mm-hero-split--dr {
  background: var(--mm-bg);
  padding: 60px var(--mm-pad-x) 0;
  gap: 40px;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--mm-border-mid);
}

.mm-hero-split--rs {
  background: var(--mm-bg);
}

.mm-hero-split__text {
  flex: 1;
  min-width: min(100%, 340px);
  padding: 80px 40px 90px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  animation: mm-fade-up 0.6s ease both;
  position: relative;
  z-index: 2;
}

.mm-hero-split--compact .mm-hero-split__text {
  padding-block: 70px;
}

.mm-hero-split--dr .mm-hero-split__text {
  max-width: 560px;
  padding-bottom: 60px;
}

.mm-hero-split__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(43, 108, 212, 0.12);
  color: var(--mm-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mm-hero-split__title {
  font-size: 50px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--mm-navy);
  letter-spacing: -0.5px;
  text-wrap: balance;
}

.mm-hero-split--compact .mm-hero-split__title { font-size: 52px; }

.mm-hero-split--rs .mm-hero-split__title {
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.mm-hero-split--dr .mm-hero-split__title { font-size: 46px; line-height: 1.1; }

.mm-hero-split__subtitle {
  font-size: 15px;
  line-height: 1.9;
  color: var(--mm-text-muted);
  max-width: 460px;
}

.mm-hero-split__accent {
  font-size: 20px;
  font-weight: 600;
  color: var(--mm-primary);
}

.mm-hero-split__visual {
  flex: 0 1 46%;
  min-width: 300px;
  max-width: 560px;
  margin: 48px 0;
  align-self: center;
  aspect-ratio: 4 / 3;
  background: var(--mm-bg-soft);
  border-radius: var(--mm-radius-card);
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 1px solid var(--mm-border-mid);
  box-shadow:
    0 20px 50px rgba(22, 36, 61, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.mm-hero-split__visual--deco {
  background: linear-gradient(160deg, var(--mm-bg-soft) 0%, var(--mm-bg-tint) 100%);
}

.mm-hero-split__visual--deco::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(43, 108, 212, 0.06), transparent 55%);
  pointer-events: none;
}

.mm-hero-split--compact .mm-hero-split__visual {
  flex: 0 1 44%;
  min-width: 280px;
  margin-block: 40px;
}

.mm-hero-split--dr .mm-hero-split__visual {
  width: 360px;
  max-width: 90vw;
  height: auto;
  aspect-ratio: 9 / 10;
  flex: none;
  border-radius: var(--mm-radius-card);
  background: var(--mm-bg-soft);
  margin: 0 0 0;
  box-shadow: 0 16px 40px rgba(22, 36, 61, 0.08);
}

.mm-hero-split__visual img,
.mm-hero-split__visual .mm-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* --------------------------------------------------------------------------
   8. Info strip (floating overlap)
   -------------------------------------------------------------------------- */

.mm-info-strip-wrap {
  padding-inline: 60px;
  margin-top: -44px;
  margin-bottom: 64px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.mm-info-strip {
  width: 100%;
  max-width: var(--mm-wrap);
  background: var(--mm-bg);
  border-radius: var(--mm-radius-card);
  box-shadow: var(--mm-shadow-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 12px 0;
}

.mm-info-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  border-right: 1px solid #f0f5fc;
}

.mm-info-strip__item:last-child { border-right: none; }

.mm-info-strip__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mm-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-info-strip__icon--soft {
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
}

.mm-info-strip__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.mm-info-strip__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-info-strip__desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mm-text-light);
}

.mm-info-strip__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--mm-primary);
}

.mm-info-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-primary);
}

.mm-info-strip__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 12.5px;
  color: var(--mm-text-muted);
}

.mm-info-strip__row span:first-child {
  flex: 1;
  min-width: 0;
}

.mm-info-strip__row span:last-child {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--mm-navy);
  text-align: right;
}

.mm-info-strip__row--accent {
  font-weight: 700;
  color: var(--mm-primary);
}

/* --------------------------------------------------------------------------
   9. Section headers
   -------------------------------------------------------------------------- */

.mm-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin-bottom: 40px;
}

.mm-section-head--left {
  align-items: flex-start;
  text-align: left;
}

.mm-section-head__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--mm-navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.mm-section-head__subtitle {
  font-size: 14px;
  line-height: 1.9;
  color: var(--mm-text-muted);
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   10. Service cards
   -------------------------------------------------------------------------- */

.mm-svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
}

.mm-svc-card {
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mm-svc-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-svc-card__title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-svc-card__desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--mm-text-muted);
}

/* --------------------------------------------------------------------------
   11. Article cards
   -------------------------------------------------------------------------- */

.mm-art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  width: 100%;
}

.mm-art-card {
  text-decoration: none;
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--mm-transition), transform var(--mm-transition);
  color: inherit;
}

.mm-art-card:hover {
  box-shadow: var(--mm-shadow-card);
  transform: translateY(-4px);
}

.mm-art-card__img {
  overflow: hidden;
}

.mm-art-card__img.mm-media-frame {
  height: auto;
}

.mm-art-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-art-card__img .mm-ph { height: 100%; border-radius: 0; border: none; }

.mm-art-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.mm-art-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11.5px;
  color: var(--mm-text-faint);
}

.mm-art-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--mm-navy);
  line-height: 1.45;
}

.mm-art-card__excerpt {
  font-size: 13px;
  line-height: 1.8;
  color: var(--mm-text-muted);
}

.mm-art-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mm-primary);
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   12. Doctor list
   -------------------------------------------------------------------------- */

.mm-doc-panel {
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 8px 32px;
  box-shadow: var(--mm-shadow-sm);
}

.mm-doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 0 60px;
}

.mm-doc-list .mm-doc-row:last-child { border-bottom: none; }

.mm-doc-row {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid #edf3fa;
}

.mm-doc-row__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbe8f8, var(--mm-bg-tint));
  border: 1px solid #d3e2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--mm-primary);
  flex-shrink: 0;
  overflow: hidden;
}

.mm-doc-row__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-doc-row__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.mm-doc-row__name {
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--mm-navy);
  transition: color var(--mm-transition);
}

.mm-doc-row__name:hover { color: var(--mm-primary); }

.mm-doc-row__spec {
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-primary);
}

.mm-doc-row__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mm-text-muted);
}

.mm-doc-row__divider {
  width: 1px;
  align-self: stretch;
  background: #edf3fa;
  flex-shrink: 0;
}

.mm-doc-row__meta {
  width: 170px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-shrink: 0;
}

.mm-doc-row__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #44546e;
}

.mm-doc-row__meta-item svg { color: var(--mm-text-muted); flex-shrink: 0; }

.mm-doc-row__profile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-primary);
}

.mm-doc-list__empty {
  padding: 50px;
  text-align: center;
  color: var(--mm-text-faint);
  font-size: 14px;
  grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
   13. Doctor profile hero & panels
   -------------------------------------------------------------------------- */

.mm-dr-hero {
  background: linear-gradient(115deg, var(--mm-bg) 0%, var(--mm-bg-soft) 55%, var(--mm-bg-tint) 100%);
  padding: 48px var(--mm-pad-x) 56px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--mm-border-mid);
  width: 100%;
}

.mm-dr-hero__inner {
  width: 100%;
  max-width: var(--mm-wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mm-dr-hero__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mm-dr-hero__name {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--mm-navy);
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
  margin: 0;
}

.mm-dr-hero__specialty {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
  color: var(--mm-primary);
  margin: 0;
}

.mm-dr-hero__bio {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mm-text-muted);
  max-width: 520px;
  margin: 0;
}

.mm-dr-hero__aside {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.mm-dr-hero__photo {
  width: clamp(160px, 18vw, 220px);
  aspect-ratio: 1 / 1;
  height: auto;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.mm-dr-hero__photo .mm-ph {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 50%;
  border: none;
  background: linear-gradient(160deg, #7db3e8 0%, #2b6cd4 55%, #1f57b3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.04em;
}

.mm-dr-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.mm-stats-card {
  width: 100%;
  max-width: 300px;
  min-width: 260px;
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--mm-shadow-lg);
  flex: 0 0 300px;
}

.mm-stats-card__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 10px;
  border-bottom: 1px solid #f0f5fc;
}

.mm-stats-card__row:last-child { border-bottom: none; }

.mm-stats-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-stats-card__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-stats-card__label {
  font-size: 12.5px;
  color: var(--mm-text-muted);
  font-weight: 500;
}

.mm-feature-strip-wrap {
  padding-inline: var(--mm-pad-x);
  margin-top: -36px;
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.mm-feature-strip {
  width: 100%;
  max-width: var(--mm-wrap);
  background: var(--mm-bg);
  border-radius: var(--mm-radius-card);
  box-shadow: var(--mm-shadow-md);
  border: 1px solid var(--mm-border-mid);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px 0;
}

.mm-feature-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid #eef3fa;
  min-width: 0;
}

.mm-feature-strip__item:last-child { border-right: none; }

.mm-feature-strip__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mm-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-feature-strip__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mm-navy);
  line-height: 1.35;
}

.mm-feature-strip__desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mm-text-muted);
  margin-top: 4px;
}

.mm-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  align-items: start;
}

.mm-panel {
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mm-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mm-primary);
}

.mm-panel__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-panel__body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mm-text-muted);
}

.mm-panel__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mm-panel__list-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
  color: #44546e;
}

.mm-panel__list-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--mm-primary);
}

.mm-panel__schedule {
  display: flex;
  flex-direction: column;
  border-radius: var(--mm-radius-btn);
  overflow: hidden;
  border: 1px solid var(--mm-border);
}

.mm-panel__schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  font-size: 13px;
}

.mm-panel__schedule-row:nth-child(odd) { background: var(--mm-bg-soft); }
.mm-panel__schedule-row:nth-child(even) { background: var(--mm-bg); }

.mm-panel__schedule-day { font-weight: 600; color: var(--mm-navy); }
.mm-panel__schedule-time { color: var(--mm-text-muted); }

.mm-panel__note {
  font-size: 12px;
  color: var(--mm-primary);
}

/* --------------------------------------------------------------------------
   14. Hospital listing
   -------------------------------------------------------------------------- */

.mm-hosp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  width: 100%;
}

.mm-hosp-card {
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--mm-transition);
}

.mm-hosp-card:hover { box-shadow: 0 10px 26px rgba(22, 36, 61, 0.12); }

.mm-hosp-card__img { overflow: hidden; }

.mm-hosp-card__img.mm-media-frame { height: auto; }

.mm-hosp-card__img .mm-ph {
  height: 100%;
  border: none;
  border-radius: 0;
}

.mm-hosp-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mm-hosp-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.mm-hosp-card__name {
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--mm-navy);
  transition: color var(--mm-transition);
}

.mm-hosp-card__name:hover { color: var(--mm-primary); }

.mm-hosp-card__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--mm-text-muted);
}

.mm-hosp-card__detail {
  display: flex;
  gap: 9px;
  align-items: center;
}

.mm-hosp-card__detail svg { color: var(--mm-primary); flex-shrink: 0; }

.mm-hosp-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mm-hosp-card__tag {
  background: #f0f5fc;
  color: #44546e;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: var(--mm-radius-chip);
  border: 1px solid var(--mm-border-strong);
}

.mm-hosp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-primary);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   15. Hospital profile
   -------------------------------------------------------------------------- */

.mm-rs-hero {
  background: var(--mm-bg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--mm-border-mid);
}

.mm-rs-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: 0;
  pointer-events: none;
}

.mm-rs-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}

.mm-rs-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--mm-wrap) + var(--mm-pad-x) * 2);
  margin-inline: auto;
  padding: 64px var(--mm-pad-x) 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.mm-rs-hero__content {
  flex: 1;
  min-width: min(100%, 340px);
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mm-rs-hero__title {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--mm-navy);
  letter-spacing: -0.5px;
  text-wrap: balance;
}

.mm-rs-hero__tagline {
  font-size: 17px;
  font-weight: 600;
  color: var(--mm-primary);
}

.mm-rs-hero__desc {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mm-text-muted);
  max-width: 520px;
}

.mm-rs-hero__stats {
  width: 250px;
  flex-shrink: 0;
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(22, 36, 61, 0.12);
  display: flex;
  flex-direction: column;
}

.mm-rs-hero__stats .mm-stats-card__row { padding: 13px; }
.mm-rs-hero__stats .mm-stats-card__value { font-size: 17px; }
.mm-rs-hero__stats .mm-stats-card__label { font-size: 11.5px; }
.mm-rs-hero__stats .mm-stats-card__icon { width: 42px; height: 42px; }

.mm-trust-strip-wrap {
  padding-inline: 60px;
  margin-top: -40px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.mm-trust-strip {
  width: 100%;
  max-width: 1240px;
  background: var(--mm-bg);
  border-radius: var(--mm-radius-card);
  box-shadow: var(--mm-shadow-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  padding: 12px 0;
}

.mm-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 26px;
  border-right: 1px solid #f0f5fc;
}

.mm-trust-strip__item:last-child { border-right: none; }

.mm-trust-strip__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mm-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-trust-strip__icon--soft {
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
}

.mm-trust-strip__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mm-navy);
  line-height: 1.35;
}

.mm-trust-strip__title--lg { font-size: 17px; }

.mm-trust-strip__desc {
  font-size: 12px;
  color: var(--mm-text-light);
  line-height: 1.5;
}

.mm-rs-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  align-items: start;
}

.mm-rs-panels .mm-panel__title { font-size: 16.5px; }
.mm-rs-panels .mm-panel__body { font-size: 13px; }

.mm-panel__info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mm-panel__info-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--mm-primary);
}

.mm-panel__info-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-panel__info-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mm-text-muted);
}

.mm-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-primary);
}

/* --------------------------------------------------------------------------
   16. Contact page
   -------------------------------------------------------------------------- */

.mm-contact-layout {
  padding: 50px var(--mm-pad-x) 80px;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  flex: 1;
}

.mm-contact-info {
  width: 380px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mm-contact-info__card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--mm-bg-soft);
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius-card);
  padding: 22px;
}

.mm-contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-contact-info__label {
  color: var(--mm-navy);
  font-size: 14.5px;
  font-weight: 700;
}

.mm-contact-info__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mm-text-muted);
}

.mm-contact-info__map {
  height: 180px;
  border-radius: var(--mm-radius-card);
  overflow: hidden;
}

.mm-contact-info__map .mm-ph { height: 100%; }

.mm-contact-form {
  width: 500px;
  max-width: 90vw;
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: flex-start;
  box-shadow: var(--mm-shadow-sm);
}

.mm-contact-form__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-contact-form__alert {
  background: var(--mm-success-bg);
  border: 1px solid var(--mm-success-border);
  color: var(--mm-success-text);
  font-size: 13px;
  padding: 14px 16px;
  border-radius: var(--mm-radius-btn);
  display: flex;
  align-items: center;
  gap: 9px;
}

.mm-contact-form__alert--error {
  background: #fdeaea;
  border: 1px solid #f0c0c0;
  color: #b03030;
}

/* --------------------------------------------------------------------------
   17. About page
   -------------------------------------------------------------------------- */

.mm-about-layout {
  padding: 70px var(--mm-pad-x);
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
  flex: 1;
}

.mm-about-layout__content {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mm-about-layout__visual {
  width: min(420px, 100%);
  flex-shrink: 0;
  align-self: flex-start;
}

.mm-about-layout__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--mm-navy);
  letter-spacing: -0.5px;
}

.mm-about-layout__text {
  font-size: 14px;
  line-height: 2;
  color: var(--mm-text-muted);
}

.mm-about-layout__cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mm-about-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--mm-bg-soft);
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius-card);
  padding: 22px;
}

.mm-about-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-about-card__title {
  color: var(--mm-navy);
  font-size: 15px;
  font-weight: 700;
}

.mm-about-card__text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--mm-text-muted);
}

.mm-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: start;
}

.mm-stat-card {
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 170px;
}

.mm-stat-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-stat-card__value {
  font-size: 30px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-stat-card__label {
  font-size: 12.5px;
  color: var(--mm-text-light);
}

/* --------------------------------------------------------------------------
   18. Article detail
   -------------------------------------------------------------------------- */

.mm-art-hero {
  background: var(--mm-bg);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--mm-border-mid);
}

.mm-art-hero--rich .mm-art-hero__inner {
  padding: 64px var(--mm-pad-x) 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
  max-width: calc(var(--mm-wrap) + var(--mm-pad-x) * 2);
  margin-inline: auto;
  width: 100%;
}

.mm-art-hero--rich .mm-art-hero__title,
.mm-art-hero--rich .mm-badge {
  position: relative;
  z-index: 2;
}

.mm-art-hero__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mm-primary);
  position: relative;
  z-index: 2;
}

.mm-art-hero__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--mm-navy);
  max-width: 820px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

.mm-art-hero__meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--mm-text-muted);
  flex-wrap: wrap;
}

.mm-art-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mm-art-hero__meta-item svg { color: var(--mm-primary); }

.mm-art-layout {
  padding: 50px var(--mm-pad-x) 80px;
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
  flex: 1;
}

.mm-art-layout__main {
  flex: 1;
  min-width: 340px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mm-art-layout__featured {
  height: 300px;
  border-radius: var(--mm-radius-card);
  overflow: hidden;
}

.mm-art-layout__featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-art-layout__featured .mm-ph { height: 100%; }

.mm-art-layout__content {
  font-size: 15px;
  line-height: 2;
  color: #44546e;
}

.mm-art-layout__content p + p { margin-top: 1em; }

.mm-art-layout__content h2,
.mm-art-layout__content h3,
.mm-art-layout__content h4 {
  color: var(--mm-navy);
  font-weight: 700;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.35;
}

.mm-art-layout__content h2 { font-size: 22px; }
.mm-art-layout__content h3 { font-size: 18px; }

.mm-art-layout__content ul,
.mm-art-layout__content ol {
  margin: 0.8em 0;
  padding-left: 1.4em;
  list-style: disc;
}

.mm-art-layout__content ol { list-style: decimal; }

.mm-art-layout__content li + li { margin-top: 0.35em; }

.mm-art-layout__content a {
  color: var(--mm-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mm-art-layout__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--mm-radius-card);
  margin: 1.2em 0;
}

.mm-art-layout__content blockquote {
  margin: 1.2em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--mm-primary);
  background: var(--mm-bg-soft);
  border-radius: 0 var(--mm-radius-btn) var(--mm-radius-btn) 0;
  color: var(--mm-text-muted);
  font-style: italic;
}

.mm-art-layout__sidebar {
  width: 310px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mm-art-sidebar__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--mm-navy);
  border-bottom: 2px solid var(--mm-primary);
  padding-bottom: 10px;
}

.mm-art-sidebar__item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
  border-radius: 12px;
  background: var(--mm-bg-soft);
  border: 1px solid var(--mm-border);
  transition: background var(--mm-transition);
  color: inherit;
}

.mm-art-sidebar__item:hover { background: var(--mm-bg-tint); }

.mm-art-sidebar__cat {
  font-size: 11.5px;
  color: var(--mm-primary);
  font-weight: 600;
}

.mm-art-sidebar__item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mm-navy);
  line-height: 1.45;
}

.mm-art-sidebar__date {
  font-size: 11.5px;
  color: var(--mm-text-faint);
}

/* --------------------------------------------------------------------------
   19. Filter bar
   -------------------------------------------------------------------------- */

.mm-filter-bar {
  width: 100%;
  max-width: calc(var(--mm-wrap) + var(--mm-pad-x) * 2);
  margin-inline: auto;
  padding: 34px var(--mm-pad-x) 0;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.mm-filter-bar--inline {
  padding: 0;
  margin-bottom: 30px;
}

.mm-search {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--mm-border-strong);
  border-radius: var(--mm-radius-pill);
  padding: 11px 18px;
  background: var(--mm-bg);
}

.mm-search svg { color: var(--mm-text-faint); flex-shrink: 0; }

.mm-search__input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 13px;
  color: var(--mm-text);
  background: transparent;
  min-width: 0;
}

.mm-search__input::placeholder { color: var(--mm-text-faint); }

.mm-chip {
  border: 1.5px solid var(--mm-border-strong);
  background: var(--mm-bg);
  color: #44546e;
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--mm-radius-btn);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--mm-transition), color var(--mm-transition), border-color var(--mm-transition);
}

.mm-chip:hover {
  border-color: var(--mm-border-accent);
  color: var(--mm-primary);
}

.mm-chip.is-active {
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
  border-color: var(--mm-primary);
}

a.mm-chip,
.mm-chip-row a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mm-filter-bar__select {
  border: 1.5px solid var(--mm-border-strong);
  border-radius: var(--mm-radius-btn);
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mm-navy);
  background: var(--mm-bg);
  outline: none;
  cursor: pointer;
  min-width: 140px;
  max-width: 240px;
}

.mm-filter-bar__select--wide {
  min-width: 180px;
  max-width: 280px;
}

/* --------------------------------------------------------------------------
   20. CTA banner
   -------------------------------------------------------------------------- */

.mm-cta-banner {
  margin-top: 40px;
  background: var(--mm-bg-muted);
  border-radius: var(--mm-radius-card);
  padding: 28px 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.mm-cta-banner__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--mm-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-cta-banner__content {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mm-cta-banner__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-cta-banner__desc {
  font-size: 13.5px;
  color: var(--mm-text-muted);
}

/* --------------------------------------------------------------------------
   21. Contact strip (profiles)
   -------------------------------------------------------------------------- */

.mm-contact-strip-wrap {
  padding: 32px var(--mm-pad-x) 50px;
  display: flex;
  justify-content: center;
  background: var(--mm-section-info-bg);
}

.mm-contact-strip-wrap--soft { background: var(--mm-section-info-bg); }

.mm-contact-strip {
  width: 100%;
  max-width: var(--mm-wrap);
  background: #fff;
  border-radius: var(--mm-radius-card);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  border: 1px solid var(--mm-border-mid);
  box-shadow: 0 12px 32px rgba(22, 36, 61, 0.1);
}

.mm-contact-strip:has(.mm-contact-strip__social) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mm-contact-strip--card {
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
}

.mm-contact-strip__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 0;
}

.mm-contact-strip__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mm-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-contact-strip__icon--soft {
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
}

.mm-contact-strip__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mm-primary);
}

.mm-contact-strip__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--mm-text);
  line-height: 1.55;
  min-width: 0;
}

.mm-contact-strip__text > span:not(.mm-contact-strip__label) {
  color: var(--mm-text-muted);
}

.mm-contact-strip__text a:not(.mm-btn) {
  color: var(--mm-primary);
  text-decoration: none;
  font-weight: 600;
}

.mm-contact-strip__text a:not(.mm-btn):hover {
  text-decoration: underline;
}

.mm-contact-strip__actions {
  display: none;
}

.mm-contact-strip__emergency {
  font-size: 12px;
  font-weight: 700;
  color: var(--mm-danger);
  margin-top: 2px;
}

.mm-contact-strip__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mm-contact-strip__social-links {
  display: flex;
  gap: 10px;
}

.mm-contact-strip__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mm-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--mm-transition);
}

.mm-contact-strip__social-link:hover {
  background: var(--mm-primary-dark);
  color: #fff;
}

/* --------------------------------------------------------------------------
   22. Placeholder image pattern
   -------------------------------------------------------------------------- */

.mm-ph {
  background: repeating-linear-gradient(
    45deg,
    #dbe8f8,
    #dbe8f8 12px,
    #e8f1fb 12px,
    #e8f1fb 24px
  );
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  min-height: 100%;
}

.mm-ph--label {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6d87a8;
  font-family: var(--mm-mono);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}

.mm-ph--sm { font-size: 11px; }
.mm-ph--fill { height: 100%; }
.mm-ph--cover img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* --------------------------------------------------------------------------
   23. Form inputs
   -------------------------------------------------------------------------- */

.mm-input,
.mm-textarea,
.mm-select {
  width: 100%;
  border: 1.5px solid var(--mm-border-strong);
  border-radius: var(--mm-radius-btn);
  padding: 13px 16px;
  font-size: 14px;
  color: var(--mm-text);
  background: var(--mm-bg);
  outline: none;
  transition: border-color var(--mm-transition), box-shadow var(--mm-transition);
}

.mm-input:focus,
.mm-textarea:focus,
.mm-select:focus {
  border-color: var(--mm-primary);
  box-shadow: 0 0 0 3px rgba(43, 108, 212, 0.12);
}

.mm-input::placeholder,
.mm-textarea::placeholder { color: var(--mm-text-faint); }

.mm-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.mm-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-navy);
  margin-bottom: 6px;
}

.mm-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   24. WhatsApp float button
   -------------------------------------------------------------------------- */

.mm-wa-float {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  right: max(24px, env(safe-area-inset-right, 0px));
  min-width: 56px;
  height: 56px;
  padding: 0 18px 0 14px;
  background: var(--mm-wa);
  color: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 90;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--mm-transition);
  animation: mm-wa-pulse 2.5s ease-in-out infinite;
}

.mm-wa-float__label {
  line-height: 1;
}

.mm-wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: mm-wa-ring 2.5s ease-out infinite;
}

.mm-wa-float:hover {
  transform: scale(1.1);
  animation: none;
  color: #fff;
}

/* --------------------------------------------------------------------------
   25. Utility helpers
   -------------------------------------------------------------------------- */

.mm-check-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: var(--mm-text);
}

.mm-check-list__item {
  display: flex;
  gap: 11px;
  align-items: center;
}

.mm-check-list__item svg { color: var(--mm-primary); flex-shrink: 0; }

.mm-split-section {
  padding: 0;
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.mm-wrap.mm-split-section {
  gap: 48px;
}

.mm-info-strip-wrap + .mm-split-section {
  padding-top: 0;
}

.mm-split-section__visual {
  width: 100%;
  max-width: 460px;
  height: auto;
}

.mm-split-section__content {
  flex: 1;
  min-width: min(100%, 280px);
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-primary);
}

.mm-text-link:hover { text-decoration: underline; }

.mm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Responsive — 1100px, 1024px, 768px, 480px
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .mm-header__toggle { display: flex; }

  .mm-header__logo-tagline { display: none; }

  .mm-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--mm-header-h) + 12px) 20px 24px;
    background: var(--mm-bg);
    box-shadow: -8px 0 32px rgba(22, 36, 61, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 45;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mm-nav.is-open { transform: translateX(0); }

  .mm-nav__link {
    padding: 14px 4px;
    border-bottom: 1px solid var(--mm-border);
    border-left: none;
  }

  .mm-nav__link.is-active {
    border-bottom-color: var(--mm-border);
    border-left: 3px solid var(--mm-primary);
    padding-left: 8px;
  }

  .mm-nav__cta {
    margin: 16px 0 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .mm-dr-hero {
    padding: 40px var(--mm-pad-x) 44px;
  }

  .mm-dr-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mm-dr-hero__aside {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .mm-dr-hero__photo {
    width: 160px;
  }

  .mm-dr-hero .mm-stats-card {
    max-width: none;
    min-width: 0;
    flex: 1 1 100%;
  }
}

@media (max-width: 1024px) {
  :root {
    --mm-pad-x: 40px;
  }

  .mm-hero-split__title,
  .mm-hero-split--compact .mm-hero-split__title { font-size: 42px; }

  .mm-hero-split--rs .mm-hero-split__title { font-size: 44px; }

  .mm-dr-hero__name { font-size: 38px; }

  .mm-rs-hero__title { font-size: 42px; }

  .mm-section-head__title { font-size: 30px; }

  .mm-art-hero__title { font-size: 32px; }

  .mm-doc-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mm-info-strip-wrap,
  .mm-feature-strip-wrap,
  .mm-trust-strip-wrap,
  .mm-contact-strip-wrap {
    padding-inline: var(--mm-pad-x);
  }

  .mm-rs-hero__stats {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .mm-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

  .mm-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --mm-pad-x: var(--mm-pad-x-mobile);
    --mm-header-h: 64px;
  }

  .mm-header__inner { padding-inline: var(--mm-pad-x-mobile); }

  .mm-section { padding-block: 48px; }

  .mm-wrap { padding-inline: var(--mm-pad-x-mobile); }

  .mm-hero-split {
    flex-direction: column;
    align-items: stretch;
    padding-inline: var(--mm-pad-x-mobile);
  }

  .mm-hero-split__text {
    padding: 40px 0 20px;
    order: 1;
  }

  .mm-hero-split::after {
    left: var(--mm-pad-x-mobile);
    right: var(--mm-pad-x-mobile);
  }

  .mm-hero-split__title,
  .mm-hero-split--compact .mm-hero-split__title { font-size: 32px; }

  .mm-hero-split--rs .mm-hero-split__title { font-size: 34px; }

  .mm-hero-split__visual {
    order: 2;
    flex: none;
    width: auto;
    max-width: none;
    margin: 0 0 32px;
    aspect-ratio: 16 / 10;
    border-radius: var(--mm-radius-card);
  }

  .mm-page-hero__layout {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px var(--mm-pad-x-mobile) 36px;
    gap: 20px;
  }

  .mm-page-hero__title { font-size: 32px; }

  .mm-page-hero__subtitle {
    font-size: 14px;
    max-width: none;
  }

  .mm-page-hero__aside { display: none; }

  .mm-page-hero__photo {
    width: 100%;
  }

  .mm-page-hero__photo img {
    opacity: 0.28;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 60%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 60%);
  }

  .mm-page-hero__blob {
    width: 82%;
    border-radius: 0 0 220px 0;
    opacity: 0.85;
  }

  .mm-page-hero__chips { gap: 8px; }

  .mm-page-hero__chip {
    font-size: 12px;
    padding: 7px 12px;
  }

  .mm-art-hero--rich .mm-art-hero__inner {
    padding: 36px var(--mm-pad-x-mobile) 32px;
  }

  .mm-art-hero__title { font-size: 28px; }

  .mm-layanan-page .mm-section-head__title { font-size: 26px; }

  .mm-layanan-page .mm-section-head__subtitle {
    font-size: 14px;
    max-width: none;
  }

  .mm-svc-grid,
  .mm-art-grid,
  .mm-why-grid,
  .mm-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .mm-btn {
    white-space: normal;
    text-align: center;
  }

  .mm-hero-split--dr,
  .mm-dr-hero {
    padding-inline: var(--mm-pad-x-mobile);
  }

  .mm-dr-hero {
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .mm-dr-hero__inner {
    gap: 22px;
  }

  .mm-dr-hero__aside {
    flex-direction: column;
    align-items: stretch;
  }

  .mm-dr-hero__photo,
  .mm-dr-hero__photo.mm-media-frame {
    width: min(180px, 52vw);
    max-width: 180px;
    margin-inline: auto;
  }

  .mm-dr-hero .mm-stats-card {
    max-width: none;
    min-width: 0;
    width: 100%;
    flex: none;
  }

  .mm-dr-hero__name { font-size: 26px; }

  .mm-rs-hero__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 40px var(--mm-pad-x-mobile) 44px;
    gap: 24px;
  }

  .mm-rs-hero__bg {
    width: 100%;
    opacity: 0.6;
  }

  .mm-rs-hero__bg img {
    mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
    opacity: 0.25;
  }

  .mm-rs-hero__content {
    min-width: 0;
    max-width: none;
  }

  .mm-rs-hero__title { font-size: 30px; }

  .mm-rs-hero__tagline { font-size: 16px; }

  .mm-rs-hero__desc { max-width: none; }

  .mm-info-strip-wrap { margin-top: 8px; margin-bottom: 32px; }

  .mm-feature-strip {
    grid-template-columns: 1fr;
  }

  .mm-feature-strip-wrap {
    margin-top: 8px;
    margin-bottom: 20px;
    padding-inline: var(--mm-pad-x-mobile);
  }

  .mm-trust-strip-wrap {
    margin-top: 20px;
    margin-bottom: 16px;
    padding-inline: var(--mm-pad-x-mobile);
  }

  .mm-info-strip__item,
  .mm-feature-strip__item,
  .mm-trust-strip__item {
    border-right: none;
    border-bottom: 1px solid #f0f5fc;
  }

  .mm-info-strip__item:last-child,
  .mm-feature-strip__item:last-child,
  .mm-trust-strip__item:last-child {
    border-bottom: none;
  }

  .mm-doc-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .mm-doc-row__divider { display: none; }

  .mm-doc-row__meta {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .mm-hosp-grid {
    grid-template-columns: 1fr;
  }

  .mm-filter-bar {
    padding-inline: var(--mm-pad-x-mobile);
    padding-top: 20px;
    gap: 10px;
  }

  .mm-filter-bar__select {
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .mm-search {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }

  .mm-filter-bar .mm-btn--primary {
    flex: 1 1 100%;
    width: 100%;
  }

  .mm-dir-section {
    padding-inline: var(--mm-pad-x-mobile);
    padding-bottom: 40px;
  }

  .mm-doc-panel {
    padding: 2px 16px;
  }

  .mm-feature-strip__item {
    padding: 20px 22px;
  }

  .mm-rs-section {
    padding-inline: var(--mm-pad-x-mobile);
  }

  .mm-contact-strip-wrap {
    padding-inline: var(--mm-pad-x-mobile);
  }

  .mm-contact-strip,
  .mm-contact-strip:has(.mm-contact-strip__social) {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    gap: 22px;
  }

  .mm-dr-profile {
    padding: 20px var(--mm-pad-x-mobile) 28px;
  }

  .mm-dr-profile__panels,
  .mm-dr-profile__skills {
    grid-template-columns: 1fr;
  }

  .mm-dr-profile__footer .mm-btn {
    width: 100%;
  }

  .mm-dr-profile__tag {
    font-size: 12px;
    padding: 7px 12px;
  }

  .mm-search { max-width: none; flex: 1 1 100%; }

  .mm-contact-form,
  .mm-contact-info { width: 100%; max-width: none; }

  .mm-art-layout__sidebar { width: 100%; }

  .mm-stat-grid { grid-template-columns: 1fr; }

  .mm-wrap.mm-split-section {
    padding-inline: var(--mm-pad-x-mobile);
    gap: 24px;
  }

  .mm-split-section {
    gap: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .mm-split-section__visual {
    width: 100%;
    max-width: none;
    order: 1;
  }

  .mm-split-section__content {
    max-width: none;
    width: 100%;
    min-width: 0;
    order: 2;
  }

  .mm-check-list {
    padding-inline: 0;
    width: 100%;
  }

  .mm-check-list__item {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .mm-section-head__title {
    overflow-wrap: anywhere;
  }

  .mm-section-head {
    margin-bottom: 28px;
  }

  .mm-section-head__title { font-size: 28px; }

  .mm-section-head__subtitle { max-width: none; }

  .mm-hosp-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .mm-hosp-card__city { white-space: normal; }

  .mm-hosp-card__body { padding: 20px; }

  .mm-info-card__phone {
    font-size: 16px;
    flex-wrap: wrap;
  }

  .mm-footer {
    padding: 48px var(--mm-pad-x-mobile) 0;
  }

  .mm-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mm-footer__brand {
    min-width: 0;
    width: 100%;
  }

  .mm-contact-layout,
  .mm-about-layout,
  .mm-art-layout {
    padding: 32px var(--mm-pad-x-mobile) 48px;
  }

  .mm-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }

  .mm-panels,
  .mm-rs-panels {
    grid-template-columns: 1fr;
  }

  .mm-pagination {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .mm-hosp-card__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .mm-hosp-card__foot .mm-btn {
    width: 100%;
    justify-content: center;
  }

  .mm-hosp-card__link {
    justify-content: center;
  }

  .mm-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .mm-contact-strip,
  .mm-info-strip,
  .mm-feature-strip,
  .mm-trust-strip {
    grid-template-columns: 1fr;
  }

  .mm-hero-split__title,
  .mm-page-hero__title,
  .mm-rs-hero__title,
  .mm-dr-hero__name,
  .mm-art-hero__title {
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .mm-hero-split__title,
  .mm-hero-split--compact .mm-hero-split__title,
  .mm-page-hero__title { font-size: 26px; }

  .mm-hero-split__subtitle { font-size: 14px; }

  .mm-rs-hero__title { font-size: 28px; }

  .mm-dr-hero__name { font-size: 28px; }

  .mm-art-hero__title { font-size: 26px; }

  .mm-section-head__title { font-size: 26px; }

  .mm-about-layout__title { font-size: 24px; }

  .mm-btn-group { flex-direction: column; }

  .mm-btn-group .mm-btn { width: 100%; }

  .mm-doc-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 0;
  }

  .mm-doc-row__avatar {
    width: 72px;
    height: 72px;
    font-size: 18px;
  }

  .mm-doc-list {
    grid-template-columns: 1fr;
  }

  .mm-chip {
    font-size: 12px;
    padding: 8px 14px;
  }

  .mm-info-strip-wrap + .mm-split-section {
    padding-top: 32px;
  }

  .mm-wa-float {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    min-width: 50px;
    height: 50px;
    padding: 0 14px;
  }

  .mm-wa-float__label {
    display: none;
  }

  .mm-dr-hero__actions,
  .mm-rs-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mm-dr-hero__actions .mm-btn,
  .mm-rs-hero__actions .mm-btn {
    width: 100%;
  }

  .mm-filter-bar__select {
    flex: 1 1 100%;
  }

  .mm-dr-hero__specialty {
    font-size: 17px;
  }

  .mm-badge {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 6px 12px;
  }

  .mm-stats-card__label,
  .mm-feature-strip__desc {
    font-size: 13px;
    color: var(--mm-text-muted);
  }

  .mm-feature-strip__item {
    padding: 18px 20px;
  }

  .mm-stats-card__row {
    padding: 12px;
  }

  .mm-hosp-card__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .mm-hosp-card__foot .mm-btn {
    width: 100%;
    justify-content: center;
  }

  .mm-hosp-card__link {
    justify-content: center;
  }

  .mm-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .mm-contact-strip,
  .mm-info-strip,
  .mm-feature-strip,
  .mm-trust-strip {
    grid-template-columns: 1fr;
  }

  .mm-stat-card__value { font-size: 26px; }
}

/* --------------------------------------------------------------------------
   Doctor profile — structured card (keahlian, fokus, kualifikasi)
   -------------------------------------------------------------------------- */

.mm-dr-profile {
  padding: 28px var(--mm-pad-x) 36px;
  background: var(--mm-bg-soft);
}

.mm-dr-profile__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mm-dr-profile__skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}

.mm-dr-profile__skill-block {
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--mm-shadow-sm);
}

.mm-dr-profile__skill-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mm-primary);
}

.mm-dr-profile__skill-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-dr-profile__highlights {
  display: none;
}

.mm-dr-profile__panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.mm-panel--profile {
  min-height: 100%;
  height: 100%;
  box-shadow: var(--mm-shadow-sm);
}

.mm-panel--profile .mm-panel__body {
  flex: 1;
}

.mm-panel--profile .mm-panel__list {
  flex: 1;
}

.mm-dr-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mm-dr-profile__tags--soft {
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.mm-dr-profile__tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mm-primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.mm-dr-profile__tag--accent {
  background: var(--mm-navy);
}

.mm-dr-profile__tag--soft {
  background: var(--mm-bg-soft);
  color: var(--mm-primary);
  border: 1.5px solid var(--mm-border-accent);
}

.mm-panel__subtitle {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-panel__subtitle svg {
  color: var(--mm-primary);
}

.mm-panel__sub {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--mm-border);
}

.mm-panel__list--spaced {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--mm-border);
}

.mm-dr-profile__footer {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.mm-dr-profile__footer .mm-btn {
  min-width: 200px;
  justify-content: center;
}

.mm-dr-profile__card,
.mm-dr-profile__grid,
.mm-dr-profile__meta-grid {
  display: none;
}

/* --------------------------------------------------------------------------
   Supplementary utilities (pages & migration)
   -------------------------------------------------------------------------- */

.mm-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(22, 36, 61, 0.08);
}

.mm-dr-hero__actions,
.mm-rs-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.mm-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: calc(var(--mm-wrap) + var(--mm-pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--mm-pad-x);
  margin-top: 14px;
}

.mm-wrap .mm-chip-row {
  padding-inline: 0;
}

.mm-dir-section {
  width: 100%;
  max-width: calc(var(--mm-wrap) + var(--mm-pad-x) * 2);
  margin-inline: auto;
  padding: 30px var(--mm-pad-x) 50px;
  flex: 1;
}

.mm-dir-count {
  font-size: 13px;
  color: var(--mm-text-faint);
  margin-bottom: 8px;
}

.mm-filter-reset {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mm-primary);
  text-decoration: none;
}

.mm-filter-reset:hover { text-decoration: underline; }

.mm-back-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: calc(var(--mm-wrap) + var(--mm-pad-x) * 2);
  margin: 4px auto 0;
  padding: 12px var(--mm-pad-x) 32px;
}

.mm-wrap.mm-back-bar {
  /* already has wrap padding — only add vertical spacing */
  padding-top: 12px;
  padding-bottom: 32px;
}

.mm-back-bar .mm-btn {
  min-height: 44px;
  padding-inline: 22px;
}

.mm-empty-state {
  padding: 50px 20px;
  text-align: center;
  color: var(--mm-text-faint);
  font-size: 14px;
}

.mm-empty-state a {
  color: var(--mm-primary);
  font-weight: 600;
}

.mm-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.mm-pagination a,
.mm-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--mm-radius-btn);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--mm-border-strong);
  color: var(--mm-navy);
  background: var(--mm-bg);
}

.mm-pagination a:hover {
  border-color: var(--mm-primary);
  color: var(--mm-primary);
}

.mm-pagination span.is-active {
  background: var(--mm-primary);
  border-color: var(--mm-primary);
  color: #fff;
}

.mm-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.9;
  color: var(--mm-text-muted);
}

.mm-prose h2 {
  color: var(--mm-navy);
  font-size: 18px;
  font-weight: 700;
  margin-top: 28px;
}

.mm-prose h2:first-child { margin-top: 0; }

.mm-prose a {
  color: var(--mm-primary);
  font-weight: 600;
}

.mm-prose p + p { margin-top: 1em; }

.mm-layanan-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 800px;
  margin: 0 auto;
}

.mm-layanan-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 22px 24px;
}

.mm-layanan-item__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-layanan-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-layanan-item__desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mm-text-muted);
}

.mm-hosp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-hosp-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}

.mm-hosp-card__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mm-text-muted);
}

.mm-hosp-card__city {
  font-size: 12px;
  font-weight: 600;
  color: var(--mm-primary);
  white-space: nowrap;
}

.mm-rs-section {
  padding: 50px var(--mm-pad-x);
}

.mm-dr-mini-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mm-dr-mini-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--mm-bg-soft);
  border: 1px solid var(--mm-border);
  transition: background var(--mm-transition);
}

.mm-dr-mini-list__item:hover { background: var(--mm-bg-tint); }

.mm-dr-mini-list__av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.mm-dr-mini-list__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-dr-mini-list__item strong {
  display: block;
  font-size: 13px;
  color: var(--mm-navy);
}

.mm-dr-mini-list__item small {
  font-size: 11.5px;
  color: var(--mm-text-muted);
}

.mm-about-advantages {
  padding: 70px var(--mm-pad-x);
  background: var(--mm-bg-soft);
}

.mm-about-advantages__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mm-advantage-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.mm-advantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 20px 22px;
}

.mm-advantage-item__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mm-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-advantage-item__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-advantage-item__desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mm-text-muted);
}

.mm-center-cta {
  text-align: center;
  margin-top: 36px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.nav-open { overflow: hidden; }

/* Why choose & testimonials (homepage CMS sections) */
.mm-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.mm-why-card {
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mm-why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mm-bg-tint);
  color: var(--mm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-why-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--mm-navy);
}

.mm-why-card__desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--mm-text-muted);
}

.mm-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.mm-testimonial-card {
  background: var(--mm-bg);
  border: 1px solid var(--mm-border-mid);
  border-radius: var(--mm-radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.mm-testimonial-card__quote {
  font-size: 14px;
  line-height: 1.85;
  color: var(--mm-text-muted);
  font-style: italic;
}

.mm-testimonial-card__quote::before {
  content: '\201C';
  color: var(--mm-primary);
  font-size: 28px;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 4px;
  font-style: normal;
}

.mm-testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.mm-testimonial-card__author strong {
  color: var(--mm-navy);
  font-weight: 700;
}

.mm-testimonial-card__author span {
  color: var(--mm-text-light);
  font-size: 12px;
}

.mm-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-split-section__visual .mm-img-cover,
.mm-split-section__visual img {
  border-radius: var(--mm-radius-card);
}

.mm-section--flush-top { padding-top: 0; }

.mm-lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mm-text-muted);
  margin: 0 auto 40px;
  max-width: 800px;
}

.mm-text-muted {
  font-size: 14px;
  line-height: 1.9;
  color: var(--mm-text-muted);
}

.mm-form-hint {
  margin: 0;
  font-size: 12px;
  color: var(--mm-text-muted);
}

.mm-about-advantages .mm-section-head__title {
  margin-top: 12px;
}

.mm-split-section__visual .mm-ph {
  height: 100%;
}

.mm-center-block {
  max-width: 800px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Hero decorations, info cards, media frames, themed sections
   -------------------------------------------------------------------------- */

.mm-hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mm-hero-deco__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(43, 108, 212, 0.07), transparent 68%);
  border: none;
}

.mm-hero-deco__orb--1 {
  width: 520px;
  height: 520px;
  top: -220px;
  right: -120px;
  opacity: 1;
}

.mm-hero-deco__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(43, 108, 212, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 85% 20%, #000 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}

/* Legacy selectors — kept for cache safety */
.mm-hero-deco__orb--2,
.mm-hero-deco__orb--3,
.mm-hero-deco__grid,
.mm-hero-deco__cross { display: none; }

.mm-dr-hero__content,
.mm-dr-hero__photo,
.mm-stats-card {
  position: relative;
  z-index: 2;
}

.mm-media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--mm-radius-card);
  background: var(--mm-bg-tint);
  border: 1px solid var(--mm-border-mid);
  box-shadow: var(--mm-shadow-sm);
}

.mm-media-frame--card { aspect-ratio: 16 / 10; width: 100%; }
.mm-media-frame--4x3 { aspect-ratio: 4 / 3; width: 100%; }
.mm-media-frame--16x9 { aspect-ratio: 16 / 9; width: 100%; }
.mm-media-frame--portrait { aspect-ratio: 9 / 10; width: 100%; max-height: 420px; }

.mm-media-frame img,
.mm-media-frame .mm-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

.mm-info-cards-wrap {
  background: var(--mm-section-info-bg);
  padding: 48px var(--mm-pad-x) 56px;
  position: relative;
  z-index: 2;
}

.mm-info-cards-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(43, 108, 212, 0.08), transparent),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(43, 108, 212, 0.06), transparent);
  pointer-events: none;
}

.mm-info-cards {
  width: 100%;
  max-width: var(--mm-wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.mm-info-card {
  border-radius: var(--mm-radius-card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  box-shadow: 0 12px 32px rgba(22, 36, 61, 0.14);
}

.mm-info-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.mm-info-card--primary {
  background: linear-gradient(145deg, var(--mm-primary) 0%, var(--mm-primary-dark) 100%);
  color: #fff;
}

.mm-info-card--navy {
  background: linear-gradient(145deg, var(--mm-navy) 0%, #0f1a2e 100%);
  color: #fff;
}

.mm-info-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mm-info-card__icon--soft {
  background: rgba(255, 255, 255, 0.15);
}

.mm-info-card--navy .mm-info-card__icon svg {
  stroke: #fff;
}

.mm-info-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.mm-info-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  opacity: 0.92;
  flex: 1;
}

.mm-info-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-top: auto;
}

.mm-info-card__phone:hover { opacity: 0.9; color: #fff; }

.mm-info-card__foot {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.mm-info-card__foot-label {
  font-size: 13px;
  opacity: 0.85;
}

.mm-info-card__foot-value {
  font-size: 15px;
  font-weight: 700;
}

.mm-info-card__btn {
  margin-top: auto;
  align-self: flex-start;
  background: var(--mm-primary);
  border-color: var(--mm-primary);
}

.mm-info-card--navy .mm-info-card__btn {
  background: #fff;
  color: var(--mm-navy);
  border-color: #fff;
}

.mm-info-card--navy .mm-info-card__btn:hover {
  background: #eef4fc;
  color: var(--mm-navy);
}

.mm-info-card__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.mm-info-card__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  opacity: 0.95;
}

.mm-info-card__row span:last-child {
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
}

.mm-info-card__row--accent span:last-child {
  font-size: 13px;
}

.mm-info-card__note {
  margin: 8px 0 0;
  font-size: 11.5px;
  font-style: italic;
  opacity: 0.85;
}

.mm-section--about {
  background: var(--mm-section-about-bg);
  padding-block: 80px;
}

.mm-section--about .mm-split-section {
  padding-block: 0;
  gap: 48px;
  align-items: center;
}

.mm-section--about .mm-split-section__visual {
  width: 100%;
  max-width: 480px;
  height: auto;
  box-shadow: var(--mm-shadow-lg);
}

.mm-section--services {
  background: var(--mm-section-services-bg);
}

.mm-section--why {
  background: var(--mm-section-why-bg);
}

.mm-section--testimonial {
  background: var(--mm-section-testimonial-bg);
}

.mm-section--articles {
  background: var(--mm-section-articles-bg);
}

.mm-section--brand {
  color: #fff;
}

.mm-section--brand .mm-section-head__title,
.mm-section--brand .mm-section-head__subtitle {
  color: #fff;
}

.mm-section--brand .mm-section-head__subtitle {
  opacity: 0.9;
}

.mm-section--brand .mm-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.mm-section--brand .mm-svc-card {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.mm-section--brand .mm-svc-card__title { color: var(--mm-navy); }
.mm-section--brand .mm-svc-card__desc { color: var(--mm-text-muted); }

.mm-section--brand .mm-lead {
  color: rgba(255, 255, 255, 0.92);
}

.mm-section--brand .mm-layanan-item {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.mm-section--brand .mm-layanan-item__title { color: var(--mm-navy); }
.mm-section--brand .mm-layanan-item__desc { color: var(--mm-text-muted); }

/* Layanan page — aligned content layout */
.mm-layanan-page .mm-section-head {
  margin-bottom: 36px;
}

.mm-layanan-page .mm-section-head__title {
  font-size: 32px;
}

.mm-layanan-page .mm-section-head__subtitle {
  max-width: 680px;
  font-size: 15px;
  line-height: 1.85;
}

.mm-svc-grid--layanan {
  align-items: stretch;
}

.mm-svc-grid--layanan .mm-svc-card {
  height: 100%;
  box-shadow: var(--mm-shadow-sm);
}

.mm-btn--light,
a.mm-btn--light,
a.mm-btn--light:visited {
  background: #fff;
  color: var(--mm-primary);
  border-color: #fff;
}

.mm-btn--light:hover,
a.mm-btn--light:hover {
  background: var(--mm-bg-tint);
  color: var(--mm-primary-dark);
  border-color: var(--mm-bg-tint);
}

.mm-center-cta--brand {
  margin-top: 44px;
}

.mm-rs-hero__content,
.mm-dr-hero__content {
  position: relative;
  z-index: 2;
}

.mm-dr-hero__photo.mm-media-frame {
  border-radius: 50%;
  width: clamp(160px, 18vw, 220px);
  max-width: 220px;
  aspect-ratio: 1 / 1;
  max-height: none;
  background: transparent;
  border: 4px solid #fff;
  box-shadow: 0 14px 36px rgba(22, 36, 61, 0.14);
}

.mm-dr-hero__content,
.mm-dr-hero__aside,
.mm-dr-hero__photo,
.mm-stats-card {
  position: relative;
  z-index: 2;
}

@media (max-width: 980px) {
  .mm-info-cards {
    grid-template-columns: 1fr;
  }

  .mm-dr-profile__panels {
    grid-template-columns: 1fr;
  }

  .mm-dr-profile__skills {
    grid-template-columns: 1fr;
  }

  .mm-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-feature-strip__item:nth-child(2n) {
    border-right: none;
  }

  .mm-feature-strip__item:nth-child(-n+2) {
    border-bottom: 1px solid #eef3fa;
  }
}

@media (max-width: 768px) {
  .mm-info-cards-wrap {
    padding: 32px var(--mm-pad-x-mobile) 40px;
  }

  .mm-info-card {
    padding: 22px 20px;
  }

  .mm-section--about {
    padding-block: 48px;
    overflow-x: clip;
  }

  .mm-section--about .mm-split-section {
    gap: 22px;
    padding-inline: var(--mm-pad-x-mobile);
  }

  .mm-section--about .mm-split-section__visual {
    max-width: none;
  }

  .mm-section--about .mm-split-section__content {
    min-width: 0;
    width: 100%;
  }

  .mm-hero-deco__orb--1 {
    width: 180px;
    height: 180px;
    right: -40px;
  }

  .mm-art-hero--rich .mm-art-hero__inner {
    padding: 48px var(--mm-pad-x-mobile) 40px;
  }
}

.mm-rs-hero--rich {
  background: var(--mm-bg);
  border-bottom: 1px solid var(--mm-border-mid);
}

.mm-rs-hero--rich .mm-rs-hero__content {
  position: relative;
  z-index: 2;
}

.mm-dr-hero--rich {
  background: var(--mm-bg);
  border-bottom: 1px solid var(--mm-border-mid);
}

.mm-dr-hero--rich .mm-dr-hero__content,
.mm-dr-hero--rich .mm-dr-hero__photo,
.mm-dr-hero--rich .mm-stats-card {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Page hero (listing & static pages)
   -------------------------------------------------------------------------- */

.mm-page-hero {
  background: var(--mm-bg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--mm-border-mid);
}

/* Photo di sisi kanan dengan fade ke putih (gaya referensi MedikaCare) */
.mm-page-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  z-index: 0;
  pointer-events: none;
}

.mm-page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mask-image: linear-gradient(to right, transparent 0%, #000 48%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 48%);
}

/* Blob biru muda melengkung di belakang teks */
.mm-page-hero__blob {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 54%;
  background: linear-gradient(118deg, #f3f8fd 0%, #e0edfa 100%);
  border-radius: 0 0 999px 0;
  z-index: 1;
  pointer-events: none;
}

.mm-page-hero--photo .mm-page-hero__aside { display: none; }

.mm-page-hero--photo .mm-hero-deco { display: none; }

.mm-page-hero--photo .mm-page-hero__chip {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}

.mm-page-hero__layout {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 64px var(--mm-pad-x) 56px;
  position: relative;
  z-index: 2;
}

.mm-page-hero__main {
  flex: 1;
  min-width: min(100%, 320px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: mm-fade-up 0.55s ease both;
}

.mm-page-hero__title {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--mm-navy);
  letter-spacing: -0.5px;
  text-wrap: balance;
  margin: 0;
}

.mm-page-hero__subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mm-text-muted);
  max-width: 560px;
}

.mm-page-hero__chips {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mm-page-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mm-bg-soft);
  border: 1px solid var(--mm-border-mid);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mm-text);
  box-shadow: none;
}

.mm-page-hero__chip svg {
  color: var(--mm-primary);
  flex-shrink: 0;
}

.mm-page-hero__aside {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mm-page-hero__panel {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--mm-bg-soft);
  border: 1px solid var(--mm-border-mid);
  box-shadow: 0 12px 36px rgba(22, 36, 61, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mm-page-hero__panel-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mm-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(43, 108, 212, 0.22);
}

.mm-page-hero__panel-icon svg { stroke: #fff; }

.mm-page-hero__panel-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed var(--mm-border-accent);
  opacity: 0.7;
  animation: mm-spin-slow 32s linear infinite;
}

.mm-page-hero__panel-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mm-primary);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(43, 108, 212, 0.2);
}

.mm-page-hero__panel-dot--1 { top: 10%; right: 20%; }
.mm-page-hero__panel-dot--2 { bottom: 16%; left: 12%; background: var(--mm-navy); }
.mm-page-hero__panel-dot--3 { display: none; }

@keyframes mm-spin-slow {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mm-page-hero__panel-ring {
    animation: none;
  }
}
