/* ==========================================================================
   Phòng Khám Chuyên Khoa Răng Hàm Mặt – Tai Mũi Họng Dr. Hải
   VERSION 2 — "Clinical Prestige" Boutique Medical UI (Mobile-First + SEO)
   Palette: Warm Ivory #FAFBFD · Deep Royal Navy #0B2545 · Brand Cobalt #0054A6
            Medical Emerald #0D8A55 · Champagne Gold #B88A2E · Medical Red #D92027
   ========================================================================== */

:root {
  --navy: #0B2545;
  --navy-soft: #13345E;
  --cobalt: #0054A6;
  --cobalt-dark: #003D7A;
  --sky: #0EA5E9;
  --emerald: #0D8A55;
  --emerald-dark: #096B41;
  --emerald-soft: #ECFDF5;
  --gold: #B88A2E;
  --gold-soft: #FBF6E9;
  --red: #D92027;
  --red-soft: #FEF2F2;

  --ink: #0B1B32;
  --text: #334155;
  --muted: #64748B;
  --ivory: #FAFBFD;
  --warm-bg: #F4F7FB;
  --ice: #EFF6FF;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);

  --shadow-card: 0 2px 6px rgba(11, 37, 69, 0.04), 0 12px 32px -14px rgba(11, 37, 69, 0.12);
  --shadow-lift: 0 16px 40px -14px rgba(11, 37, 69, 0.2);
  --shadow-dock: 0 12px 32px -4px rgba(11, 37, 69, 0.22), 0 0 0 1px rgba(11, 37, 69, 0.08);

  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 28px;
  --r-pill: 9999px;

  --header-h: 64px;
  --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, serif;
}

@media (min-width: 768px) {
  :root {
    --header-h: 78px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body.drhai-mm-body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.drhai-mm-body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v2-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .v2-container { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .v2-container { padding: 0 32px; }
}

.v2-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-icon-sm { width: 15px; height: 15px; }
.v2-icon-lg { width: 22px; height: 22px; }

/* ==========================================================================
   Top Slim Trust Bar (Deep Royal Navy)
   ========================================================================== */
.v2-topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}

.v2-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
}

.v2-topbar-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-weight: 500;
}

.v2-topbar-loc span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.v2-topbar-tel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 700;
  transition: background 0.18s ease;
}

.v2-topbar-tel:hover {
  background: var(--emerald);
}

.v2-topbar-zalo {
  display: none;
}

@media (min-width: 640px) {
  .v2-topbar-zalo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #93C5FD;
    font-weight: 600;
  }
  .v2-topbar-zalo:hover { color: #FFFFFF; }
}

/* ==========================================================================
   Sticky Translucent Header (Zero Truncation Even at 360px!)
   ========================================================================== */
.v2-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.v2-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 10px;
}

.v2-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

@media (min-width: 1024px) {
  .v2-brand { flex: initial; }
}

.v2-logo-frame {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(13, 138, 85, 0.32);
  padding: 2px;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.08);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .v2-logo-frame { width: 48px; height: 48px; }
}

.v2-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.v2-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.v2-brand-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.v2-brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--emerald);
  line-height: 1.25;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .v2-brand-name { font-size: 16.5px; }
  .v2-brand-sub { font-size: 11.5px; }
}

.v2-nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .v2-nav-desktop {
    display: flex;
    align-items: center;
    gap: 2px;
  }
}

.v2-nav-link {
  padding: 8px 11px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.v2-nav-link:hover,
.v2-nav-link.is-active {
  color: var(--navy);
  background: var(--warm-bg);
}

.v2-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.v2-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}

.v2-icon-btn:active { transform: scale(0.95); }

.v2-icon-btn.is-call {
  background: var(--emerald-soft);
  border-color: rgba(13, 138, 85, 0.25);
  color: var(--emerald);
}

@media (min-width: 1024px) {
  .v2-mobile-only { display: none !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.v2-btn:active { transform: scale(0.98); }

.v2-btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13px;
}

.v2-btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -8px rgba(0, 84, 166, 0.55);
}

.v2-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.v2-btn-emerald {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -8px rgba(13, 138, 85, 0.5);
}

.v2-btn-emerald:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.v2-btn-outline {
  background: #FFFFFF;
  color: var(--navy);
  border-color: var(--border-strong);
}

.v2-btn-outline:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--ice);
}

.v2-btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.26);
}

.v2-btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
}

.v2-btn.v2-desktop-cta {
  display: none;
}

@media (min-width: 1024px) {
  .v2-btn.v2-desktop-cta {
    display: inline-flex;
  }
}

/* ==========================================================================
   Mobile Drawer
   ========================================================================== */
.mm-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 37, 69, 0.52);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mm-drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.mm-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  width: min(88vw, 340px);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 36px rgba(11, 37, 69, 0.22);
}

.mm-drawer.is-open { transform: translateX(0); }

.mm-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.mm-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mm-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.mm-drawer-link:hover, .mm-drawer-link:active {
  background: var(--ice);
  color: var(--cobalt);
}

.mm-drawer-foot {
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mm-drawer-foot .v2-full { grid-column: 1 / -1; }

/* ==========================================================================
   Hero Section (Editorial Prestige + Ambient Medical Glow)
   ========================================================================== */
.v2-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(14, 165, 233, 0.11) 0%, transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(13, 138, 85, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #FFFFFF 0%, var(--ivory) 100%);
  padding: 22px 0 34px;
}

@media (min-width: 768px) {
  .v2-hero { padding: 48px 0 64px; }
}

@media (min-width: 1024px) {
  .v2-hero { padding: 62px 0 76px; }
}

.v2-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

@media (min-width: 1024px) {
  .v2-hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    gap: 48px;
  }
}

.v2-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--ice);
  border: 1px solid rgba(0, 84, 166, 0.16);
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.v2-cross-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.v2-hero-title {
  margin: 0 0 14px;
  font-size: clamp(27px, 6.8vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--navy);
}

.v2-serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--cobalt);
}

.v2-serif-accent.is-emerald {
  color: var(--emerald);
}

.v2-hero-lead {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.68;
  max-width: 560px;
}

@media (min-width: 640px) {
  .v2-hero-lead { font-size: 16px; }
}

.v2-hero-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

@media (min-width: 440px) {
  .v2-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Metric Bento Strip */
.v2-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (min-width: 640px) {
  .v2-metrics { gap: 14px; }
}

.v2-metric-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 10px;
  box-shadow: 0 4px 16px -8px rgba(11, 37, 69, 0.08);
}

@media (min-width: 640px) {
  .v2-metric-box { padding: 14px 16px; }
}

.v2-metric-num {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

@media (min-width: 640px) {
  .v2-metric-num { font-size: 22px; }
}

.v2-metric-num.is-cobalt { color: var(--cobalt); }
.v2-metric-num.is-emerald { color: var(--emerald); }

.v2-metric-lbl {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

@media (min-width: 640px) {
  .v2-metric-lbl { font-size: 12px; }
}

/* Hero Visual Card with Glass Overlay */
.v2-hero-visual {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(11, 37, 69, 0.1);
}

.v2-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.mm-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.85s ease;
}

.mm-hero-slide.is-active { opacity: 1; }

.v2-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.02) 45%, rgba(11, 37, 69, 0.78) 100%);
  pointer-events: none;
}

.v2-hero-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 520px) {
  .v2-hero-overlay {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.v2-glass-quote {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-radius: var(--r-lg);
  max-width: 340px;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.22);
}

.v2-glass-kicker {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  margin-bottom: 2px;
}

.v2-glass-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.mm-hero-dots {
  display: inline-flex;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(11, 37, 69, 0.55);
  backdrop-filter: blur(6px);
  align-self: flex-start;
}

@media (min-width: 520px) {
  .mm-hero-dots { align-self: flex-end; }
}

.mm-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.mm-hero-dot.is-active {
  width: 22px;
  border-radius: var(--r-pill);
  background: #FFFFFF;
}

/* Mobile Quick-Tap Shortcut Tiles (Top 4 Patient Intents) */
.v2-quick-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .v2-quick-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 32px;
  }
}

.v2-quick-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 14px -8px rgba(11, 37, 69, 0.1);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.v2-quick-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 84, 166, 0.35);
}

.v2-quick-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v2-quick-ico.is-blue { background: var(--ice); color: var(--cobalt); }
.v2-quick-ico.is-green { background: var(--emerald-soft); color: var(--emerald); }
.v2-quick-ico.is-gold { background: var(--gold-soft); color: var(--gold); }
.v2-quick-ico.is-navy { background: #E2E8F0; color: var(--navy); }

.v2-quick-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.v2-quick-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.v2-section {
  padding: 46px 0;
}

@media (min-width: 768px) {
  .v2-section { padding: 72px 0; }
}

.v2-section-warm {
  background: var(--warm-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.v2-section-navy {
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(13, 138, 85, 0.16) 0%, transparent 45%),
    var(--navy);
  color: #FFFFFF;
}

.v2-section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .v2-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 34px;
  }
}

.v2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin-bottom: 6px;
}

.v2-kicker.is-cobalt { color: var(--cobalt); }
.v2-kicker.is-gold { color: #E8C675; }

.v2-title {
  margin: 0;
  font-size: clamp(23px, 5.2vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.v2-section-navy .v2-title { color: #FFFFFF; }

.v2-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 470px;
}

.v2-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  align-self: flex-start;
  transition: all 0.18s ease;
}

@media (min-width: 768px) {
  .v2-view-all { align-self: auto; }
}

.v2-view-all:hover {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

/* ==========================================================================
   Commitments (3 Editorial Pillars)
   ========================================================================== */
.v2-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .v2-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.v2-pillar {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.v2-pillar-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: rgba(11, 37, 69, 0.06);
  line-height: 1;
}

.v2-pillar-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.v2-pillar h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
}

.v2-pillar p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.62;
}

/* ==========================================================================
   Services Section (Segmented Switcher + Refined Cards)
   ========================================================================== */
.v2-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--warm-bg);
  border: 1px solid var(--border);
  width: 100%;
}

@media (min-width: 640px) {
  .v2-tabs {
    display: inline-grid;
    width: auto;
  }
}

.v2-tab-btn {
  min-height: 44px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.v2-tab-btn.is-active-blue {
  background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 16px -6px rgba(0, 84, 166, 0.55);
}

.v2-tab-btn.is-active-green {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 16px -6px rgba(13, 138, 85, 0.5);
}

.v2-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .v2-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .v2-services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .v2-services-grid.is-ent {
    grid-template-columns: repeat(2, 1fr);
  }
}

.v2-service-card {
  background: #FFFFFF;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.v2-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(0, 84, 166, 0.35);
}

.v2-service-card.is-ent:hover {
  border-color: rgba(13, 138, 85, 0.4);
}

.v2-service-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--warm-bg);
}

.v2-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.v2-service-card:hover .v2-service-media img {
  transform: scale(1.06);
}

.v2-service-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(11, 37, 69, 0.14);
}

.v2-service-card.is-ent .v2-service-tag { color: var(--emerald); }

.v2-service-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.v2-service-title {
  margin: 0 0 7px;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
}

.v2-service-title a:hover { color: var(--cobalt); }
.v2-service-card.is-ent .v2-service-title a:hover { color: var(--emerald); }

.v2-service-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.v2-card-foot {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.v2-text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cobalt);
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
}

.v2-text-link:hover { text-decoration: underline; }
.v2-text-link.is-emerald { color: var(--emerald); }

/* ==========================================================================
   Equipment Gallery (Swipeable on Mobile, Clean Grid on Desktop)
   ========================================================================== */
.v2-equip-wrap {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.v2-equip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.v2-equip-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.v2-swipe-hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--cobalt);
}

@media (min-width: 1024px) {
  .v2-swipe-hint { display: none; }
}

.v2-equip-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.v2-equip-track::-webkit-scrollbar { display: none; }

@media (min-width: 1024px) {
  .v2-equip-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    padding-bottom: 0;
    gap: 18px;
  }
}

.v2-equip-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 540px) {
  .v2-equip-card { flex: 0 0 46%; }
}

.v2-equip-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.v2-equip-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v2-equip-img.is-cover { padding: 0; }
.v2-equip-img.is-cover img { object-fit: cover; }

.v2-equip-body { padding: 14px 16px; }

.v2-equip-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  margin-bottom: 4px;
}

.v2-equip-body h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.v2-equip-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   Doctor Prestige Spotlight (Deep Royal Navy Editorial Section)
   ========================================================================== */
.v2-doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 1024px) {
  .v2-doctor-grid {
    grid-template-columns: 5fr 7fr;
    gap: 44px;
  }
}

.v2-doc-portrait {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-2xl);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.v2-doc-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3.5;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(11,37,69,0.2) 100%);
}

.v2-doc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.v2-doc-card-body {
  padding: 20px;
}

.v2-doc-card-body h3 {
  margin: 4px 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
}

.v2-doc-card-body p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.62;
}

.v2-doc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.v2-gold-badge {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(232, 198, 117, 0.15);
  border: 1px solid rgba(232, 198, 117, 0.35);
  color: #F6DFA4;
}

.v2-doc-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 24px;
}

@media (min-width: 640px) {
  .v2-doc-timeline { grid-template-columns: 1fr 1fr; }
}

.v2-milestone {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 16px 18px;
}

.v2-milestone-yr {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(13, 138, 85, 0.25);
  color: #6EE7B7;
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.v2-milestone h4 {
  margin: 0 0 5px;
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
}

.v2-milestone p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.v2-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Case Studies & Health Knowledge Cards
   ========================================================================== */
.v2-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .v2-cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .v2-cases-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.v2-case-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.v2-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.v2-case-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--warm-bg);
}

.v2-case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.v2-case-card:hover .v2-case-thumb img { transform: scale(1.05); }

.v2-case-loc-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(11, 37, 69, 0.8);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
}

.v2-case-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.v2-case-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.38;
  color: var(--navy);
}

.v2-case-title a:hover { color: var(--cobalt); }

.v2-case-quote {
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 2.5px solid var(--gold);
  font-size: 12.5px;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  flex: 1;
}

/* Articles Filter & Grid */
.v2-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.v2-filter-bar::-webkit-scrollbar { display: none; }

.mm-filter-btn {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.mm-filter-btn.is-active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

.v2-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .v2-articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .v2-articles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.mm-article-card {
  background: #FFFFFF;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mm-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.mm-article-card[hidden] { display: none; }

.v2-article-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: var(--warm-bg);
}

.v2-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mm-article-card:hover .v2-article-thumb img { transform: scale(1.05); }

.v2-article-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.v2-cat-chip {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  background: var(--ice);
  color: var(--cobalt);
  margin-bottom: 9px;
}

.v2-cat-chip.is-green {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.v2-article-title {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
}

.v2-article-title a:hover { color: var(--cobalt); }

.v2-article-sum {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

/* ==========================================================================
   SEO FAQ Accordion
   ========================================================================== */
.v2-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 900px;
}

.v2-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.v2-faq-item[open] {
  border-color: rgba(0, 84, 166, 0.38);
}

.v2-faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  line-height: 1.42;
}

.v2-faq-q::-webkit-details-marker { display: none; }

.v2-faq-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--warm-bg);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.v2-faq-item[open] .v2-faq-plus {
  transform: rotate(45deg);
  background: var(--navy);
  color: #FFFFFF;
}

.v2-faq-a {
  padding: 14px 20px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.66;
  border-top: 1px solid var(--border);
}

.v2-faq-a p { margin: 0; }
.v2-faq-a a { color: var(--cobalt); font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   Contact & Booking Card
   ========================================================================== */
.v2-contact-card {
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  display: grid;
  grid-template-columns: 1fr;
  background: #FFFFFF;
}

@media (min-width: 1024px) {
  .v2-contact-card { grid-template-columns: 5fr 7fr; }
}

.v2-contact-left {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #FFFFFF;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 640px) {
  .v2-contact-left { padding: 34px; }
}

.v2-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v2-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.v2-contact-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #93C5FD;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v2-contact-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.v2-contact-val {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.45;
}

.v2-contact-val a:hover { text-decoration: underline; color: #93C5FD; }

.v2-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.v2-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.18s ease;
}

.v2-social-btn:hover { background: rgba(255, 255, 255, 0.22); }

.v2-contact-right {
  padding: 26px 20px;
}

@media (min-width: 640px) {
  .v2-contact-right { padding: 34px 36px; }
}

.v2-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .v2-form-grid { grid-template-columns: 1fr 1fr; }
}

.v2-full { grid-column: 1 / -1; }

.v2-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.v2-input, .v2-select, .v2-textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: var(--ivory);
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

@media (min-width: 768px) {
  .v2-input, .v2-select, .v2-textarea { font-size: 14.5px; }
}

.v2-textarea { min-height: 88px; resize: vertical; }

.v2-input:focus, .v2-select:focus, .v2-textarea:focus {
  background: #FFFFFF;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.14);
}

.mm-form-status {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-weight: 600;
  display: none;
}

.mm-form-status.is-success {
  display: block;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  border: 1px solid rgba(13, 138, 85, 0.28);
}

/* ==========================================================================
   Footer & Floating Glass Mobile App Dock
   ========================================================================== */
.v2-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 28px 0 calc(106px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .v2-footer { padding: 34px 0; }
}

.v2-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .v2-footer-inner { flex-direction: row; align-items: center; }
}

.v2-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  padding: 2px;
  flex-shrink: 0;
}

.v2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.v2-footer-links a:hover { color: var(--cobalt); }

/* Floating Glass Mobile Bottom Dock */
.v2-mobile-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  box-shadow: var(--shadow-dock);
}

@media (min-width: 768px) {
  .v2-mobile-dock { display: none; }
}

.v2-dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.v2-dock-btn:active { transform: scale(0.96); }
.v2-dock-btn.is-call { background: var(--emerald-soft); color: var(--emerald); }
.v2-dock-btn.is-zalo { background: var(--ice); color: var(--cobalt); }
.v2-dock-btn.is-book {
  background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 100%);
  color: #FFFFFF;
}

/* Desktop Floating Bar (Reveals cleanly after hero scroll) */
.mm-desktop-float { display: none; }

@media (min-width: 768px) {
  .mm-desktop-float {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 42;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .mm-desktop-float.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.v2-float-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-dock);
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.v2-float-pill:hover { transform: translateY(-2px); }
.v2-float-pill.is-book { background: var(--navy); color: #FFFFFF; }
.v2-float-pill.is-zalo { background: #FFFFFF; color: var(--cobalt); }
.v2-float-pill.is-call { background: var(--emerald); color: #FFFFFF; }

/* ==========================================================================
   Bottom-Sheet Modals
   ========================================================================== */
.mm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(11, 37, 69, 0.56);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

@media (min-width: 640px) {
  .mm-modal-backdrop { align-items: center; padding: 20px; }
}

.mm-modal-backdrop.is-open { opacity: 1; visibility: visible; }

.mm-modal {
  width: 100%;
  max-width: 560px;
  max-height: 90dvh;
  background: #FFFFFF;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -14px 40px rgba(11, 37, 69, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(28px);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  .mm-modal { border-radius: var(--r-2xl); max-height: 85dvh; }
}

.mm-modal-backdrop.is-open .mm-modal { transform: translateY(0); }

.mm-sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: #CBD5E1;
  margin: 10px auto 2px;
}

@media (min-width: 640px) { .mm-sheet-handle { display: none; } }

.mm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.mm-modal-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.mm-modal-body {
  padding: 20px;
  overflow-y: auto;
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}

.mm-modal-list {
  margin: 12px 0 18px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mm-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Re-used modal button aliases for app.js service quick-view */
.mm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; border: 1px solid transparent; cursor: pointer; }
.mm-btn-primary { background: var(--navy); color: #FFFFFF; }
.mm-btn-secondary { background: #FFFFFF; color: var(--navy); border-color: var(--border-strong); }
.mm-btn-ice { background: var(--ice); color: var(--cobalt); }
.mm-pill-badge { display: inline-flex; padding: 4px 10px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 700; background: var(--ice); color: var(--cobalt); }
