/*
  Affordable Office Spaces — Medical Offices Premium v4
  Direct, product-led presentation layered over the preserved shared shell and
  medical-offices.css. The page presents real office inquiries, not a planning platform.
*/

.medical-offices-v4 {
  --mo4-night: #071d25;
  --mo4-night-2: #0b303a;
  --mo4-ink: #102b34;
  --mo4-muted: #60727a;
  --mo4-orange: #f46b2a;
  --mo4-orange-dark: #dc5519;
  --mo4-aqua: #61d8ce;
  --mo4-aqua-dark: #188e87;
  --mo4-ice: #eff8fa;
  --mo4-paper: #fbfdfd;
  --mo4-line: rgba(16, 43, 52, .12);
  --mo4-shadow: 0 28px 80px rgba(5, 29, 38, .14);
  --mo4-shadow-soft: 0 18px 55px rgba(5, 29, 38, .09);
  background: var(--mo4-paper);
}

.medical-offices-v4 main { position: relative; overflow: clip; }
.medical-offices-v4 h1,
.medical-offices-v4 h2,
.medical-offices-v4 h3,
.medical-offices-v4 h4 { text-wrap: balance; }
.medical-offices-v4 p { text-wrap: pretty; }
.medical-offices-v4 .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.medical-offices-v4 .mo4-section { padding: clamp(82px, 8.5vw, 132px) 0; }
.medical-offices-v4 #practice-uses,
.medical-offices-v4 #compare,
.medical-offices-v4 #requirements,
.medical-offices-v4 #services,
.medical-offices-v4 #locations,
.medical-offices-v4 #gallery,
.medical-offices-v4 #process,
.medical-offices-v4 #stories,
.medical-offices-v4 #faq,
.medical-offices-v4 #medical-request { scroll-margin-top: 154px; }

/* Shared section heading ------------------------------------------------ */
.mo4-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 72px);
}
.mo4-section-head__copy { max-width: 820px; }
.mo4-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: #46606a;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mo4-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--mo4-orange), var(--mo4-aqua));
}
.mo4-section-head h2 {
  max-width: 900px;
  margin: 0;
  color: var(--mo4-ink);
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.5vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.mo4-section-head h2 em { color: var(--mo4-orange); font-style: normal; }
.mo4-section-head__aside {
  margin: 0;
  color: var(--mo4-muted);
  font-size: 1rem;
  line-height: 1.72;
}

/* Hero ------------------------------------------------------------------ */
.mo4-hero {
  position: relative;
  isolation: isolate;
  min-height: 920px;
  padding: 46px 0 92px;
  background:
    radial-gradient(circle at 14% 18%, rgba(97, 216, 206, .22), transparent 30%),
    radial-gradient(circle at 87% 18%, rgba(244, 107, 42, .16), transparent 28%),
    linear-gradient(180deg, #f8fcfd 0%, #edf7f9 100%);
}
.mo4-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .42;
  background-image:
    linear-gradient(rgba(16,43,52,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,43,52,.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}
.mo4-hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.mo4-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 46px;
  color: #5d7179;
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mo4-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s ease; }
.mo4-breadcrumb a:hover { color: var(--mo4-orange); }
.mo4-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(470px, 1.06fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}
.mo4-hero__copy { position: relative; z-index: 2; }
.mo4-hero h1 {
  max-width: 800px;
  margin: 0;
  color: var(--mo4-ink);
  font-family: var(--font-display);
  font-size: clamp(3.45rem, 6.4vw, 6.75rem);
  line-height: .91;
  letter-spacing: -.075em;
}
.mo4-hero h1 em { color: var(--mo4-orange); font-style: normal; }
.mo4-hero__lede {
  max-width: 700px;
  margin: 30px 0 0;
  color: #526a73;
  font-size: clamp(1.04rem, 1.35vw, 1.21rem);
  line-height: 1.72;
}
.mo4-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.mo4-hero__actions .button { min-height: 54px; }
.mo4-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 38px 0 0;
}
.mo4-hero__facts > div {
  min-height: 118px;
  padding: 20px;
  border: 1px solid rgba(16,43,52,.1);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
}
.mo4-hero__facts dt {
  margin: 0 0 8px;
  color: var(--mo4-orange);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mo4-hero__facts dd { margin: 0; color: var(--mo4-ink); font-size: .93rem; font-weight: 750; line-height: 1.45; }
.mo4-hero__visual {
  position: relative;
  min-height: 650px;
  padding: 14px;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 42px 110px rgba(5,29,38,.22);
}
.mo4-hero__media { position: absolute; inset: 14px; overflow: hidden; border-radius: 33px; background: var(--mo4-night); }
.mo4-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,24,31,.02) 20%, rgba(5,24,31,.9) 100%);
  pointer-events: none;
}
.mo4-hero__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .26s ease, transform .8s var(--ease-out); }
.mo4-hero__visual:hover .mo4-hero__media img { transform: scale(1.025); }
.mo4-hero__badge {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: white;
  background: rgba(7,29,37,.68);
  font-size: .78rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
}
.mo4-hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--mo4-aqua); box-shadow: 0 0 0 5px rgba(97,216,206,.16); }
.mo4-hero__card {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  z-index: 2;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  color: white;
  background: rgba(7,29,37,.86);
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(20px);
}
.mo4-hero__card small { color: var(--mo4-aqua); font-size: .76rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.mo4-hero__card h2 { margin: 10px 0 10px; color: white; font-size: clamp(1.65rem, 2.35vw, 2.35rem); line-height: 1.08; letter-spacing: -.045em; }
.mo4-hero__card p { margin: 0; color: rgba(255,255,255,.74); font-size: .98rem; line-height: 1.58; }
.mo4-hero__card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.mo4-hero__card li { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.87); font-size: .75rem; font-weight: 750; }

.mo4-hero__use {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--mo4-orange), #ff8146);
  box-shadow: 0 12px 28px rgba(255,101,52,.26);
  font-size: .92rem;
  font-weight: 850;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s ease, filter .25s ease, background .25s ease;
}
.mo4-hero__use span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform .25s ease;
}
.mo4-hero__use:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 34px rgba(255,101,52,.32);
}
.mo4-hero__use:hover span { transform: translateX(2px); }
.mo4-hero__use:focus-visible {
  outline: 3px solid rgba(100,217,207,.92);
  outline-offset: 3px;
}

.mo4-mode-switcher {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 58px;
  gap: 16px;
  align-items: stretch;
  margin-top: 48px;
  padding: 15px;
  border-radius: 29px;
}
.mo4-mode-switcher__intro { display: grid; align-content: center; padding: 8px 13px; }
.mo4-mode-switcher__intro small { color: #657880; font-size: .73rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.mo4-mode-switcher__intro strong { margin-top: 4px; color: var(--mo4-ink); font-size: 1rem; }
.mo4-mode-switcher__buttons { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.mo4-mode-switcher__buttons button {
  position: relative;
  min-height: 68px;
  padding: 12px 14px 12px 45px;
  border: 0;
  border-radius: 18px;
  color: #4c626b;
  background: transparent;
  font-weight: 800;
  text-align: left;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mo4-mode-switcher__buttons button span {
  position: absolute;
  left: 14px;
  top: 50%;
  color: var(--mo4-orange);
  font-size: .76rem;
  font-weight: 900;
  transform: translateY(-50%);
}
.mo4-mode-switcher__buttons button:hover { color: var(--mo4-ink); background: rgba(255,255,255,.65); transform: translateY(-1px); }
.mo4-mode-switcher__buttons button.is-active { color: white; background: var(--mo4-night); box-shadow: 0 12px 28px rgba(7,29,37,.2); }
.mo4-mode-switcher__buttons button.is-active span { color: var(--mo4-aqua); }
.mo4-icon-toggle {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  align-self: center;
  border: 1px solid rgba(16,43,52,.12);
  border-radius: 50%;
  color: var(--mo4-ink);
  background: white;
  box-shadow: 0 9px 24px rgba(5,29,38,.09);
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.mo4-icon-toggle:hover { color: var(--mo4-orange); border-color: rgba(244,107,42,.38); transform: scale(1.04); }
.mo4-icon-toggle svg { width: 21px; height: 21px; }

/* Page rail -------------------------------------------------------------- */
.mo4-rail-wrap { position: relative; z-index: 40; height: 0; }
.mo4-rail {
  position: sticky;
  top: 88px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(calc(100% - 48px), 1120px);
  min-height: 62px;
  margin: 0 auto;
  padding: 7px 10px 7px 16px;
  border: 1px solid rgba(16,43,52,.09);
  border-radius: 22px;
  background: rgba(251,253,253,.88);
  box-shadow: 0 18px 50px rgba(5,29,38,.12);
  backdrop-filter: blur(22px) saturate(145%);
  transform: translateY(-31px);
}
.mo4-rail__brand { display: flex; align-items: center; gap: 8px; margin-right: auto; color: var(--mo4-ink); font-size: .78rem; font-weight: 900; white-space: nowrap; }
.mo4-rail__brand i { width: 10px; height: 10px; border-radius: 50%; background: var(--mo4-orange); box-shadow: 0 0 0 5px rgba(244,107,42,.12); }
.mo4-rail nav { display: flex; align-items: center; gap: 2px; }
.mo4-rail a { position: relative; display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding: 10px 12px; border-radius: 13px; color: #5a7078; font-size: .74rem; font-weight: 800; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.mo4-rail a:hover,
.mo4-rail a.is-active { color: var(--mo4-ink); background: #eaf7f7; }
.mo4-rail a.is-active::after { content: ""; position: absolute; right: 12px; bottom: 5px; left: 12px; height: 2px; border-radius: 2px; background: linear-gradient(90deg,var(--mo4-orange),var(--mo4-aqua)); }
.mo4-rail__progress { position: absolute; right: 16px; bottom: 4px; left: 16px; height: 2px; overflow: hidden; border-radius: 10px; background: rgba(16,43,52,.07); }
.mo4-rail__progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--mo4-orange),var(--mo4-aqua)); }

/* Event type cards ------------------------------------------------------- */
.mo4-types { padding-top: clamp(122px, 10vw, 174px); background: #fbfdfd; }
.mo4-type-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.mo4-type-card {
  position: relative;
  display: grid;
  min-height: 410px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--mo4-line);
  border-radius: 30px;
  background: white;
  box-shadow: var(--mo4-shadow-soft);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.mo4-type-card:hover { transform: translateY(-7px); border-color: rgba(244,107,42,.32); box-shadow: var(--mo4-shadow); }
.mo4-type-card__number { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: white; background: var(--mo4-orange); font-size: .78rem; font-weight: 900; }
.mo4-type-card h3 { margin: 42px 0 14px; color: var(--mo4-ink); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.1; letter-spacing: -.04em; }
.mo4-type-card p { margin: 0; color: var(--mo4-muted); font-size: .94rem; line-height: 1.62; }
.mo4-type-card ul { display: grid; gap: 8px; margin: 20px 0 26px; padding: 0; list-style: none; }
.mo4-type-card li { position: relative; padding-left: 17px; color: #3e5660; font-size: .84rem; font-weight: 680; line-height: 1.45; }
.mo4-type-card li::before { content: ""; position: absolute; top: .55em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--mo4-aqua); }
.mo4-type-card button { align-self: end; justify-self: start; min-height: 46px; padding: 0; border: 0; color: var(--mo4-orange-dark); background: transparent; font-weight: 850; }
.mo4-type-card button::after { content: " →"; }
.mo4-type-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -80px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(97,216,206,.2), transparent 68%); }

/* Compare ---------------------------------------------------------------- */
.mo4-compare { background: linear-gradient(180deg, #eff8fa, #f9fcfd); }
.mo4-compare__shell { display: grid; grid-template-columns: 390px minmax(0,1fr); gap: 18px; }
.mo4-compare__tabs { display: grid; gap: 10px; }
.mo4-compare__tabs button {
  position: relative;
  min-height: 132px;
  padding: 22px 24px 22px 74px;
  border: 1px solid var(--mo4-line);
  border-radius: 25px;
  color: var(--mo4-ink);
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 38px rgba(5,29,38,.07);
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.mo4-compare__tabs button:hover { transform: translateX(4px); border-color: rgba(244,107,42,.32); }
.mo4-compare__tabs button.is-active { color: white; border-color: var(--mo4-night); background: var(--mo4-night); }
.mo4-compare__tabs button > span { position: absolute; left: 22px; top: 24px; color: var(--mo4-orange); font-size: .78rem; font-weight: 900; }
.mo4-compare__tabs button.is-active > span { color: var(--mo4-aqua); }
.mo4-compare__tabs strong { display: block; font-size: 1.1rem; }
.mo4-compare__tabs small { display: block; margin-top: 7px; color: #6c7e85; font-size: .83rem; line-height: 1.45; }
.mo4-compare__tabs button.is-active small { color: rgba(255,255,255,.66); }
.mo4-compare__panel {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 34px;
  color: white;
  background: var(--mo4-night);
  box-shadow: var(--mo4-shadow);
}
.mo4-compare__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.mo4-compare__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,29,37,.96) 0%, rgba(7,29,37,.78) 58%, rgba(7,29,37,.38) 100%); }
.mo4-compare__content { position: relative; z-index: 2; display: grid; align-content: end; min-height: 480px; max-width: 700px; padding: clamp(34px,5vw,66px); }
.mo4-compare__content small { color: var(--mo4-aqua); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.mo4-compare__content h3 { margin: 13px 0; color: white; font-size: clamp(2rem,4vw,4rem); line-height: .98; letter-spacing: -.055em; }
.mo4-compare__content p { margin: 0; color: rgba(255,255,255,.73); font-size: 1rem; line-height: 1.68; }
.mo4-compare__content ul { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.mo4-compare__content li { position: relative; padding-left: 23px; color: rgba(255,255,255,.88); font-size: .9rem; font-weight: 700; }
.mo4-compare__content li::before { content: "✓"; position: absolute; left: 0; color: var(--mo4-aqua); font-weight: 900; }
.mo4-compare__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mo4-compare__actions a,
.mo4-compare__actions button { min-height: 48px; }

/* Requirements ----------------------------------------------------------- */
.mo4-requirements { background: #fbfdfd; }
.mo4-requirements__layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 18px; align-items: stretch; }
.mo4-space-photo { position: relative; min-height: 720px; overflow: hidden; border-radius: 34px; background: var(--mo4-night); box-shadow: var(--mo4-shadow); }
.mo4-space-photo img { width: 100%; height: 100%; object-fit: cover; }
.mo4-space-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,29,37,.9) 100%); pointer-events: none; }
.mo4-space-photo__pin {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 999px;
  color: white;
  background: rgba(7,29,37,.7);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  font-size: .76rem;
  font-weight: 820;
  backdrop-filter: blur(14px);
  transition: transform .2s ease, background .2s ease;
}
.mo4-space-photo__pin:hover,
.mo4-space-photo__pin.is-active { background: white; color: var(--mo4-ink); transform: translateY(-2px); }
.mo4-space-photo__pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--mo4-orange); }
.mo4-space-photo__pin--arrival { top: 13%; left: 8%; }
.mo4-space-photo__pin--room { top: 32%; right: 8%; }
.mo4-space-photo__pin--guests { bottom: 48%; left: 14%; }
.mo4-space-photo__pin--present { bottom: 40%; right: 9%; }
.mo4-space-photo__detail {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 24px;
  color: white;
  background: rgba(7,29,37,.86);
  backdrop-filter: blur(18px);
}
.mo4-space-photo__detail small { color: var(--mo4-aqua); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mo4-space-photo__detail h3 { margin: 8px 0 8px; color: white; font-size: 1.55rem; letter-spacing: -.04em; }
.mo4-space-photo__detail p { margin: 0; color: rgba(255,255,255,.72); font-size: .9rem; line-height: 1.58; }
.mo4-requirement-panel { display: grid; grid-template-rows: auto 1fr auto; min-height: 720px; padding: clamp(26px,3.5vw,42px); border: 1px solid var(--mo4-line); border-radius: 34px; background: white; box-shadow: var(--mo4-shadow-soft); }
.mo4-requirement-panel__head h3 { margin: 0; color: var(--mo4-ink); font-size: clamp(1.8rem,3vw,3rem); line-height: 1; letter-spacing: -.05em; }
.mo4-requirement-panel__head p { margin: 14px 0 0; color: var(--mo4-muted); line-height: 1.62; }
.mo4-requirement-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; align-content: center; margin: 28px 0; }
.mo4-requirement {
  position: relative;
  display: grid;
  min-height: 142px;
  padding: 18px 18px 18px 54px;
  border: 1px solid var(--mo4-line);
  border-radius: 22px;
  background: #f9fcfd;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.mo4-requirement:hover { transform: translateY(-2px); border-color: rgba(244,107,42,.28); }
.mo4-requirement:has(input:checked) { border-color: rgba(24,142,135,.5); background: #edfafa; }
.mo4-requirement input { position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; accent-color: var(--mo4-aqua-dark); }
.mo4-requirement strong { color: var(--mo4-ink); font-size: .96rem; }
.mo4-requirement span { margin-top: 7px; color: var(--mo4-muted); font-size: .81rem; line-height: 1.48; }
.mo4-requirement-panel__footer { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding-top: 22px; border-top: 1px solid var(--mo4-line); }
.mo4-requirement-summary small { display: block; color: #6b7f87; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.mo4-requirement-summary strong { display: block; margin-top: 5px; color: var(--mo4-ink); font-size: .92rem; line-height: 1.45; }

/* Services --------------------------------------------------------------- */
.mo4-services { background: linear-gradient(180deg,#eff8fa,#f8fcfd); }
.mo4-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.mo4-service-card { min-height: 250px; padding: 26px; border: 1px solid var(--mo4-line); border-radius: 27px; background: rgba(255,255,255,.84); box-shadow: 0 15px 42px rgba(5,29,38,.07); }
.mo4-service-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: var(--mo4-orange); background: #fff1e9; }
.mo4-service-card__icon svg { width: 23px; height: 23px; }
.mo4-service-card h3 { margin: 28px 0 10px; color: var(--mo4-ink); font-size: 1.18rem; line-height: 1.22; letter-spacing: -.035em; }
.mo4-service-card p { margin: 0; color: var(--mo4-muted); font-size: .88rem; line-height: 1.62; }
.mo4-service-note { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-top: 18px; padding: 20px 22px; border: 1px solid rgba(244,107,42,.22); border-radius: 24px; background: #fff8f4; }
.mo4-service-note__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: var(--mo4-orange); font-weight: 900; }
.mo4-service-note p { margin: 0; color: #5e676a; font-size: .88rem; line-height: 1.55; }
.mo4-service-note a { color: var(--mo4-orange-dark); font-weight: 850; white-space: nowrap; }

/* Locations -------------------------------------------------------------- */
.mo4-locations { background: #fbfdfd; }
.mo4-location-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.mo4-location-card { overflow: hidden; border: 1px solid var(--mo4-line); border-radius: 32px; background: white; box-shadow: var(--mo4-shadow-soft); }
.mo4-location-card__media { position: relative; height: 360px; overflow: hidden; }
.mo4-location-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.mo4-location-card:hover .mo4-location-card__media img { transform: scale(1.035); }
.mo4-location-card__media span { position: absolute; left: 22px; bottom: 22px; padding: 9px 13px; border-radius: 999px; color: white; background: rgba(7,29,37,.72); font-size: .74rem; font-weight: 850; backdrop-filter: blur(12px); }
.mo4-location-card__body { padding: 28px; }
.mo4-location-card__body small { color: var(--mo4-orange); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mo4-location-card h3 { margin: 9px 0 5px; color: var(--mo4-ink); font-size: 1.55rem; letter-spacing: -.04em; }
.mo4-location-card address { color: #4f666f; font-style: normal; font-weight: 720; }
.mo4-location-card p { margin: 16px 0 0; color: var(--mo4-muted); font-size: .9rem; line-height: 1.6; }
.mo4-location-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mo4-location-card__actions button,
.mo4-location-card__actions a { min-height: 48px; }

/* Gallery ---------------------------------------------------------------- */
.mo4-gallery { background: var(--mo4-night); color: white; }
.mo4-gallery .mo4-kicker { color: var(--mo4-aqua); }
.mo4-gallery .mo4-section-head h2 { color: white; }
.mo4-gallery .mo4-section-head__aside { color: rgba(255,255,255,.64); }
.mo4-gallery-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-rows: 270px; gap: 12px; }
.mo4-gallery-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: #0b303a; cursor: zoom-in; }
.mo4-gallery-card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.mo4-gallery-card:nth-child(2) { grid-column: span 5; }
.mo4-gallery-card:nth-child(3) { grid-column: span 5; }
.mo4-gallery-card:nth-child(4),
.mo4-gallery-card:nth-child(5),
.mo4-gallery-card:nth-child(6) { grid-column: span 4; }
.mo4-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease-out), filter .4s ease; }
.mo4-gallery-card:hover img { transform: scale(1.045); filter: saturate(1.08); }
.mo4-gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 48%,rgba(5,22,29,.9) 100%); }
.mo4-gallery-card__caption { position: absolute; z-index: 2; right: 20px; bottom: 18px; left: 20px; display: flex; justify-content: space-between; gap: 12px; align-items: end; color: white; }
.mo4-gallery-card__caption strong { font-size: .98rem; }
.mo4-gallery-card__caption span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.12); }

/* Process ---------------------------------------------------------------- */
.mo4-process { background: #f4fafb; }
.mo4-process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; counter-reset: step; }
.mo4-process-card { position: relative; min-height: 300px; padding: 30px; border: 1px solid var(--mo4-line); border-radius: 29px; background: white; box-shadow: var(--mo4-shadow-soft); counter-increment: step; }
.mo4-process-card::before { content: "0" counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; color: white; background: var(--mo4-orange); font-size: .78rem; font-weight: 900; }
/* Legacy markup safeguard: the numbered badge is generated only once by ::before. */
.mo4-process-card > span { display: none !important; }
.mo4-process-card h3 { margin: 44px 0 12px; color: var(--mo4-ink); font-size: 1.45rem; line-height: 1.16; letter-spacing: -.04em; }
.mo4-process-card p { margin: 0; color: var(--mo4-muted); font-size: .9rem; line-height: 1.62; }
.mo4-process-card:nth-child(2)::before { background: var(--mo4-aqua-dark); }
.mo4-process-card:nth-child(3)::before { background: var(--mo4-night); }
.mo4-process-note { margin: 18px 0 0; padding: 18px 22px; border-radius: 22px; color: #5d676b; background: #fff8dd; font-size: .88rem; line-height: 1.56; }
.mo4-process-note strong { color: #7d6512; }

/* Stories ---------------------------------------------------------------- */
.mo4-stories { background: #fbfdfd; }
.mo4-story-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.mo4-story { position: relative; min-height: 330px; padding: 30px; border: 1px solid var(--mo4-line); border-radius: 29px; background: white; box-shadow: var(--mo4-shadow-soft); }
.mo4-story::before { content: "“"; position: absolute; top: 15px; right: 25px; color: rgba(244,107,42,.16); font-family: Georgia,serif; font-size: 6rem; line-height: 1; }
.mo4-story blockquote { position: relative; margin: 50px 0 30px; color: var(--mo4-ink); font-size: 1.02rem; font-weight: 650; line-height: 1.7; }
.mo4-story footer { display: flex; align-items: center; gap: 13px; }
.mo4-story footer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.mo4-story footer strong { display: block; color: var(--mo4-ink); }
.mo4-story footer span { display: block; color: var(--mo4-muted); font-size: .78rem; }
.mo4-story-note { margin: 18px 0 0; color: #6a7d84; font-size: .8rem; text-align: center; }

/* FAQ -------------------------------------------------------------------- */
.mo4-faq { background: linear-gradient(180deg,#eff8fa,#fbfdfd); }
.mo4-faq__layout { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(30px,6vw,90px); align-items: start; }
.mo4-faq__intro { position: sticky; top: 160px; }
.mo4-faq__intro h2 { margin: 0; color: var(--mo4-ink); font-size: clamp(2.7rem,5vw,5.15rem); line-height: .98; letter-spacing: -.06em; }
.mo4-faq__intro h2 em { color: var(--mo4-orange); font-style: normal; }
.mo4-faq__intro p { max-width: 520px; margin: 24px 0 0; color: var(--mo4-muted); line-height: 1.72; }
.mo4-faq-list { display: grid; gap: 10px; }
.mo4-faq-list details { border: 1px solid var(--mo4-line); border-radius: 22px; background: white; box-shadow: 0 12px 32px rgba(5,29,38,.06); }
.mo4-faq-list summary { position: relative; min-height: 78px; padding: 25px 66px 23px 24px; color: var(--mo4-ink); font-weight: 820; list-style: none; cursor: pointer; }
.mo4-faq-list summary::-webkit-details-marker { display: none; }
.mo4-faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--mo4-orange); background: #fff1e9; font-size: 1.25rem; transform: translateY(-50%); transition: transform .2s ease; }
.mo4-faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.mo4-faq-list details p { margin: 0; padding: 0 24px 26px; color: var(--mo4-muted); font-size: .92rem; line-height: 1.68; }

/* Request form ----------------------------------------------------------- */
.mo4-request { position: relative; background: var(--mo4-night); color: white; }
.mo4-request::before { content: ""; position: absolute; inset: 0; opacity: .35; background: radial-gradient(circle at 18% 25%, rgba(97,216,206,.28), transparent 32%), radial-gradient(circle at 88% 22%, rgba(244,107,42,.22), transparent 28%); }
.mo4-request .container { position: relative; }
.mo4-request__layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(520px,1.18fr); gap: clamp(34px,6vw,86px); align-items: start; }
.mo4-request__intro { position: sticky; top: 150px; }
.mo4-request__intro .mo4-kicker { color: var(--mo4-aqua); }
.mo4-request__intro h2 { margin: 0; color: white; font-size: clamp(3rem,5.7vw,5.8rem); line-height: .93; letter-spacing: -.065em; }
.mo4-request__intro h2 em { color: var(--mo4-orange); font-style: normal; }
.mo4-request__intro > p { margin: 25px 0 0; color: rgba(255,255,255,.68); line-height: 1.72; }
.mo4-request-summary { margin-top: 30px; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: rgba(255,255,255,.07); backdrop-filter: blur(16px); }
.mo4-request-summary__head { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.12); }
.mo4-request-summary__head small { color: var(--mo4-aqua); font-size: .73rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mo4-request-summary__head span { color: rgba(255,255,255,.55); font-size: .75rem; }
.mo4-request-summary dl { display: grid; gap: 13px; margin: 19px 0 0; }
.mo4-request-summary dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.mo4-request-summary dt { color: rgba(255,255,255,.48); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.mo4-request-summary dd { margin: 0; color: white; font-size: .86rem; font-weight: 700; line-height: 1.42; }
.mo4-request__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: white; font-weight: 850; }
.mo4-request__phone svg { width: 20px; height: 20px; color: var(--mo4-orange); }
.mo4-form { padding: clamp(25px,4vw,48px); border-radius: 36px; color: var(--mo4-ink); background: white; box-shadow: 0 35px 100px rgba(0,0,0,.28); }
.mo4-form__head { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; margin-bottom: 28px; }
.mo4-form__head small { color: var(--mo4-orange); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mo4-form__head h3 { margin: 6px 0 0; color: var(--mo4-ink); font-size: clamp(1.85rem,3vw,3rem); line-height: 1.02; letter-spacing: -.05em; }
.mo4-form__progress { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--mo4-ink); background: conic-gradient(var(--mo4-orange) var(--mo4-progress,50%), #e9eef0 0); font-size: .79rem; font-weight: 900; }
.mo4-form__progress::before { content: ""; position: absolute; }
.mo4-form__progress span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: white; }
.mo4-form__panel[hidden] { display: none; }
.mo4-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.mo4-field { display: grid; gap: 8px; }
.mo4-field--full { grid-column: 1 / -1; }
.mo4-field > span,
.mo4-fieldset legend { color: var(--mo4-ink); font-size: .82rem; font-weight: 850; }
.mo4-field input,
.mo4-field select,
.mo4-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(16,43,52,.17);
  border-radius: 15px;
  color: var(--mo4-ink);
  background: #fbfdfd;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mo4-field textarea { min-height: 145px; resize: vertical; }
.mo4-field input:focus,
.mo4-field select:focus,
.mo4-field textarea:focus { border-color: var(--mo4-aqua-dark); background: white; box-shadow: 0 0 0 4px rgba(97,216,206,.15); }
.mo4-fieldset { grid-column: 1/-1; margin: 0; padding: 0; border: 0; }
.mo4-radio-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 10px; }
.mo4-radio {
  position: relative;
  display: grid;
  min-height: 76px;
  padding: 15px 15px 15px 45px;
  border: 1px solid var(--mo4-line);
  border-radius: 18px;
  background: #f9fcfd;
  cursor: pointer;
}
.mo4-radio input { position: absolute; left: 15px; top: 18px; width: 20px; height: 20px; accent-color: var(--mo4-orange); }
.mo4-radio strong { color: var(--mo4-ink); font-size: .85rem; }
.mo4-radio span { margin-top: 4px; color: var(--mo4-muted); font-size: .76rem; line-height: 1.38; }
.mo4-radio:has(input:checked) { border-color: rgba(244,107,42,.5); background: #fff7f2; box-shadow: 0 0 0 3px rgba(244,107,42,.08); }
.mo4-consent { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; color: #5a6c73; font-size: .8rem; line-height: 1.5; }
.mo4-consent input { width: 21px; height: 21px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--mo4-orange); }
.mo4-form__note { margin-top: 18px; padding: 15px 17px; border-radius: 16px; color: #77631c; background: #fff8d9; font-size: .77rem; line-height: 1.5; }
.mo4-form__actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 24px; }
.mo4-form__actions .button { min-height: 52px; }
.mo4-form__back { min-height: 48px; padding: 0 14px; border: 0; color: #5d7078; background: transparent; font-weight: 820; }
.mo4-form__status { margin: 18px 0 0; color: #2f706d; font-size: .83rem; font-weight: 750; }

/* Dialog and utility ----------------------------------------------------- */
.mo4-gallery-dialog { width: min(1040px, calc(100% - 28px)); max-height: 92vh; padding: 0; overflow: visible; border: 0; border-radius: 30px; background: transparent; }
.mo4-gallery-dialog::backdrop { background: rgba(3,18,24,.84); backdrop-filter: blur(8px); }
.mo4-gallery-dialog figure { position: relative; margin: 0; overflow: hidden; border-radius: 28px; background: var(--mo4-night); box-shadow: 0 35px 100px rgba(0,0,0,.45); }
.mo4-gallery-dialog img { width: 100%; max-height: 76vh; object-fit: contain; background: #061c24; }
.mo4-gallery-dialog figcaption { display: flex; justify-content: space-between; gap: 18px; padding: 17px 22px; color: white; background: var(--mo4-night); }
.mo4-gallery-dialog__close,
.mo4-gallery-dialog__nav { position: absolute; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; background: rgba(7,29,37,.78); backdrop-filter: blur(12px); }
.mo4-gallery-dialog__close { top: 14px; right: 14px; font-size: 1.5rem; }
.mo4-gallery-dialog__nav { top: 50%; transform: translateY(-50%); font-size: 1.25rem; }
.mo4-gallery-dialog__nav--prev { left: 14px; }
.mo4-gallery-dialog__nav--next { right: 14px; }
.mo4-toast { position: fixed; z-index: 9999; right: 22px; bottom: 22px; max-width: min(380px, calc(100% - 44px)); padding: 15px 18px; border-radius: 17px; color: white; background: var(--mo4-night); box-shadow: 0 20px 55px rgba(0,0,0,.25); font-size: .84rem; font-weight: 750; }
.mo4-mobile-cta { display: none; }

/* Focus ------------------------------------------------------------------ */
.medical-offices-v4 button:focus-visible,
.medical-offices-v4 a:focus-visible,
.medical-offices-v4 input:focus-visible,
.medical-offices-v4 select:focus-visible,
.medical-offices-v4 textarea:focus-visible,
.medical-offices-v4 summary:focus-visible {
  outline: 3px solid rgba(244,107,42,.72);
  outline-offset: 3px;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .mo4-hero__grid { grid-template-columns: minmax(0,1fr) minmax(390px,.9fr); gap: 44px; }
  .mo4-hero__visual { min-height: 600px; }
  .mo4-mode-switcher { grid-template-columns: 170px minmax(0,1fr) 58px; }
  .mo4-mode-switcher__buttons button { padding-left: 38px; font-size: .83rem; }
  .mo4-mode-switcher__buttons button span { left: 11px; }
  .mo4-type-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mo4-compare__shell { grid-template-columns: 330px minmax(0,1fr); }
  .mo4-requirements__layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .mo4-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mo4-request__layout { grid-template-columns: minmax(0,.78fr) minmax(480px,1.22fr); }
  .mo4-rail { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .mo4-rail::-webkit-scrollbar { display: none; }
  .mo4-rail__brand { position: sticky; left: 0; z-index: 2; padding-right: 12px; background: linear-gradient(90deg,rgba(251,253,253,.98) 85%,transparent); }
}

@media (max-width: 980px) {
  .mo4-hero { min-height: auto; padding-top: 34px; }
  .mo4-hero__grid { grid-template-columns: 1fr; }
  .mo4-hero__visual { min-height: 600px; }
  .mo4-mode-switcher { grid-template-columns: 1fr 58px; }
  .mo4-mode-switcher__intro { grid-column: 1/-1; padding-bottom: 0; }
  .mo4-mode-switcher__buttons { grid-column: 1; grid-template-columns: repeat(4,minmax(150px,1fr)); overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
  .mo4-mode-switcher__buttons button { min-width: 150px; }
  .mo4-icon-toggle { grid-column: 2; grid-row: 2; }
  .mo4-section-head { grid-template-columns: 1fr; gap: 20px; }
  .mo4-section-head__aside { max-width: 700px; }
  .mo4-rail { top: 78px; width: calc(100% - 28px); }
  .mo4-compare__shell { grid-template-columns: 1fr; }
  .mo4-compare__tabs { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mo4-compare__tabs button { min-height: 150px; padding: 58px 18px 18px; }
  .mo4-compare__tabs button > span { top: 18px; left: 18px; }
  .mo4-requirements__layout { grid-template-columns: 1fr; }
  .mo4-space-photo { min-height: 620px; }
  .mo4-requirement-panel { min-height: 0; }
  .mo4-gallery-grid { grid-auto-rows: 240px; }
  .mo4-gallery-card:nth-child(1) { grid-column: span 12; grid-row: span 2; }
  .mo4-gallery-card:nth-child(2), .mo4-gallery-card:nth-child(3) { grid-column: span 6; }
  .mo4-gallery-card:nth-child(4), .mo4-gallery-card:nth-child(5), .mo4-gallery-card:nth-child(6) { grid-column: span 4; }
  .mo4-faq__layout { grid-template-columns: 1fr; }
  .mo4-faq__intro { position: static; }
  .mo4-request__layout { grid-template-columns: 1fr; }
  .mo4-request__intro { position: static; }
  .mo4-request-summary { max-width: 700px; }
}

@media (max-width: 720px) {
  .medical-offices-v4 .container { width: min(calc(100% - 28px), var(--container)); }
  .medical-offices-v4 .mo4-section { padding: 78px 0; }
  .mo4-hero { padding-bottom: 76px; }
  .mo4-breadcrumb { margin-bottom: 32px; }
  .mo4-hero h1 { font-size: clamp(3.1rem,14.5vw,5.1rem); }
  .mo4-hero__lede { margin-top: 22px; }
  .mo4-hero__actions { display: grid; }
  .mo4-hero__actions .button { width: 100%; justify-content: center; }
  .mo4-hero__facts { grid-template-columns: 1fr; }
  .mo4-hero__facts > div { min-height: auto; }
  .mo4-hero__visual { min-height: 560px; border-radius: 32px; padding: 10px; }
  .mo4-hero__media { inset: 10px; border-radius: 24px; }
  .mo4-hero__badge { top: 24px; left: 24px; }
  .mo4-hero__card { right: 20px; bottom: 20px; left: 20px; padding: 22px; }
  .mo4-mode-switcher { grid-template-columns: 1fr 52px; margin-top: 26px; padding: 12px; }
  .mo4-mode-switcher__buttons { grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  .mo4-mode-switcher__buttons button { min-width: 0; min-height: 78px; padding: 39px 12px 12px; text-align: center; }
  .mo4-mode-switcher__buttons button span { top: 13px; left: 50%; transform: translateX(-50%); }
  .mo4-icon-toggle { width: 50px; height: 50px; }
  .mo4-rail-wrap { height: 36px; }
  .mo4-rail { top: 72px; min-height: 58px; transform: translateY(-20px); }
  .mo4-rail__brand { display: none; }
  .mo4-rail a { padding: 10px; }
  .mo4-section-head h2 { font-size: clamp(2.65rem,12vw,4.15rem); }
  .mo4-type-grid { grid-template-columns: 1fr; }
  .mo4-type-card { min-height: 340px; }
  .mo4-compare__tabs { grid-template-columns: 1fr; }
  .mo4-compare__tabs button { min-height: 104px; padding: 20px 20px 20px 64px; }
  .mo4-compare__tabs button > span { top: 22px; left: 20px; }
  .mo4-compare__panel, .mo4-compare__content { min-height: 540px; }
  .mo4-compare__content { padding: 30px 24px; }
  .mo4-space-photo { min-height: 570px; }
  .mo4-space-photo__pin { min-height: 44px; padding: 0 10px; font-size: .7rem; }
  .mo4-space-photo__pin--arrival { top: 18px; left: 14px; }
  .mo4-space-photo__pin--room { top: 18px; right: 14px; }
  .mo4-space-photo__pin--guests { top: 72px; bottom: auto; left: 14px; }
  .mo4-space-photo__pin--present { top: 72px; right: 14px; bottom: auto; }
  .mo4-space-photo__detail { right: 13px; bottom: 13px; left: 13px; padding: 19px; }
  .mo4-requirement-grid { grid-template-columns: 1fr; }
  .mo4-requirement { min-height: 116px; }
  .mo4-requirement-panel__footer { grid-template-columns: 1fr; }
  .mo4-requirement-panel__footer .button { width: 100%; justify-content: center; }
  .mo4-service-grid { grid-template-columns: 1fr; }
  .mo4-service-card { min-height: 220px; }
  .mo4-service-note { grid-template-columns: auto 1fr; }
  .mo4-service-note a { grid-column: 1/-1; }
  .mo4-location-grid { grid-template-columns: 1fr; }
  .mo4-location-card__media { height: 310px; }
  .mo4-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 310px; }
  .mo4-gallery-card:nth-child(n) { grid-column: auto; grid-row: auto; }
  .mo4-process-grid, .mo4-story-grid { grid-template-columns: 1fr; }
  .mo4-process-card { min-height: 250px; }
  .mo4-faq-list summary { min-height: 72px; padding: 22px 58px 21px 20px; }
  .mo4-faq-list details p { padding: 0 20px 23px; }
  .mo4-request__intro h2 { font-size: clamp(3rem,13vw,4.5rem); }
  .mo4-form { padding: 24px 18px; border-radius: 28px; }
  .mo4-field-grid { grid-template-columns: 1fr; }
  .mo4-field--full, .mo4-fieldset { grid-column: auto; }
  .mo4-radio-grid { grid-template-columns: 1fr; }
  .mo4-form__actions { flex-direction: column-reverse; align-items: stretch; }
  .mo4-form__actions .button { width: 100%; justify-content: center; }
  .mo4-request-summary dl > div { grid-template-columns: 90px 1fr; }
  .mo4-gallery-dialog__nav { top: auto; bottom: 60px; transform: none; }
  .mo4-mobile-cta {
    position: fixed;
    z-index: 900;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 19px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 18px 50px rgba(5,29,38,.18);
    backdrop-filter: blur(18px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  }
  .mo4-mobile-cta.is-mo4-suppressed {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
  }
  .mo4-mobile-cta a { display: grid; place-items: center; min-height: 48px; border-radius: 13px; color: var(--mo4-ink); font-size: .8rem; font-weight: 850; }
  .mo4-mobile-cta a:last-child { color: white; background: var(--mo4-orange); }
  .medical-offices-v4:has(#medical-request:target) .mo4-mobile-cta { display: none; }
}

@media (max-width: 360px) {
  .mo4-mode-switcher__buttons { grid-template-columns: 1fr; }
  .mo4-hero__visual { min-height: 610px; }
  .mo4-hero__card { padding: 19px; }
  .mo4-space-photo { min-height: 620px; }
  .mo4-space-photo__pin { max-width: 120px; white-space: normal; line-height: 1.2; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .medical-offices-v4 *,
  .medical-offices-v4 *::before,
  .medical-offices-v4 *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mo4-hero__canvas { display: none; }
}

/* Medical Office use-cases expansion ---------------------------------- */
.medical-offices-v4 #medical-use-cases { scroll-margin-top: 154px; }

.mo4-use-cases {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 9% 18%, rgba(244,107,42,.18), transparent 31rem),
    radial-gradient(circle at 92% 68%, rgba(97,216,206,.19), transparent 34rem),
    linear-gradient(145deg, #061b23 0%, #082a34 52%, #0a3540 100%);
}
.mo4-use-cases__grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}
.mo4-use-cases__glow {
  position: absolute;
  z-index: -2;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}
.mo4-use-cases__glow--one { top: -340px; right: -260px; background: radial-gradient(circle, rgba(97,216,206,.21), transparent 68%); }
.mo4-use-cases__glow--two { bottom: -390px; left: -280px; background: radial-gradient(circle, rgba(244,107,42,.18), transparent 68%); }
.mo4-use-cases .mo4-kicker { color: #94eee6; }
.mo4-use-cases__heading {
  display: grid;
  grid-template-columns: minmax(0,1.16fr) minmax(330px,.72fr);
  align-items: end;
  gap: clamp(38px,6vw,94px);
}
.mo4-use-cases__heading h2 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3rem,4.55vw,5.55rem);
  font-weight: 700;
  letter-spacing: -.066em;
  line-height: 1.01;
  text-wrap: balance;
}
.mo4-use-cases__heading h2 em { color: var(--mo4-orange); font-style: normal; }
.mo4-use-cases__intro { padding-bottom: 8px; }
.mo4-use-cases__intro p { max-width: 600px; margin: 0; color: rgba(255,255,255,.69); font-size: 1rem; line-height: 1.76; }
.mo4-use-cases__intro a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 18px;
  color: #9cf3eb;
  font-size: .86rem;
  font-weight: 850;
  transition: color .22s ease, transform .22s ease;
}
.mo4-use-cases__intro a:hover { color: #fff; transform: translateX(3px); }
.mo4-use-cases__layout {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(450px,.92fr);
  align-items: start;
  gap: 22px;
  margin-top: 64px;
}
.mo4-use-cases__cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; min-width: 0; }
.mo4-use-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 308px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 19px 52px rgba(1,14,19,.14);
  backdrop-filter: blur(19px) saturate(125%);
  transition: transform .32s var(--ease-out), border-color .32s ease, background .32s ease, box-shadow .32s ease;
}
.mo4-use-case-card::after {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -86px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: .45;
  background: radial-gradient(circle,rgba(97,216,206,.13),transparent 70%);
  transition: opacity .32s ease, transform .5s var(--ease-out);
}
.mo4-use-case-card:hover { transform: translateY(-5px); border-color: rgba(97,216,206,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 28px 70px rgba(1,14,19,.24); }
.mo4-use-case-card:hover::after { opacity: .86; transform: scale(1.12); }
.mo4-use-case-card.is-active {
  border-color: rgba(244,107,42,.52);
  background: radial-gradient(circle at 95% 5%,rgba(97,216,206,.14),transparent 38%),linear-gradient(145deg,rgba(244,107,42,.17),rgba(255,255,255,.065));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12),0 31px 76px rgba(1,14,19,.29);
}
.mo4-use-case-card__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.mo4-use-case-card__top > span { color: var(--mo4-orange); font-family: var(--font-display); font-size: .82rem; font-weight: 850; letter-spacing: .1em; }
.mo4-use-case-card__top > i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  color: #9af3eb;
  background: rgba(255,255,255,.07);
}
.mo4-use-case-card__top svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mo4-use-case-card h3 { position: relative; z-index: 1; margin: 20px 0 10px; font-family: var(--font-display); font-size: clamp(1.08rem,1.3vw,1.34rem); letter-spacing: -.035em; line-height: 1.2; }
.mo4-use-case-card p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.67); font-size: .88rem; line-height: 1.62; }
.mo4-use-case-card__tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.mo4-use-case-card__tags span { display: inline-flex; align-items: center; min-height: 31px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.045); font-size: .82rem; font-weight: 800; }
.mo4-use-case-card button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 18px 0 0;
  border: 0;
  color: #96eee6;
  background: transparent;
  font-size: .84rem;
  font-weight: 850;
  text-align: left;
}
.mo4-use-case-card button span { font-size: 1rem; transition: transform .22s ease; }
.mo4-use-case-card button:hover span,
.mo4-use-case-card button:focus-visible span { transform: translateX(4px); }
.mo4-use-case-card button:focus-visible { outline: 3px solid rgba(244,107,42,.48); outline-offset: 6px; border-radius: 8px; }

.mo4-use-case-spotlight {
  position: sticky;
  top: 154px;
  min-width: 0;
  overflow: hidden;
  border-color: rgba(255,255,255,.18);
  border-radius: 38px;
  color: #fff;
  background: linear-gradient(148deg,rgba(6,27,35,.96),rgba(10,52,63,.94));
  box-shadow: 0 38px 100px rgba(1,14,19,.36),inset 0 1px 0 rgba(255,255,255,.1);
}
.mo4-use-case-spotlight__media { position: relative; min-height: 310px; overflow: hidden; background: #0a2932; }
.mo4-use-case-spotlight__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); transition: opacity .26s ease, transform .7s var(--ease-out); }
.mo4-use-case-spotlight:hover .mo4-use-case-spotlight__media img { transform: scale(1.045); }
.mo4-use-case-spotlight__media img.is-changing { opacity: .24; transform: scale(1.07); }
.mo4-use-case-spotlight__wash { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(4,19,25,.02) 16%,rgba(4,19,25,.26) 53%,rgba(4,19,25,.94) 100%); }
.mo4-use-case-spotlight__media figcaption { position: absolute; right: 28px; bottom: 25px; left: 28px; }
.mo4-use-case-spotlight__media figcaption span,
.mo4-use-case-spotlight__media figcaption strong { display: block; }
.mo4-use-case-spotlight__media figcaption span { color: #93efe6; font-size: .82rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.mo4-use-case-spotlight__media figcaption strong { max-width: 510px; margin-top: 7px; font-family: var(--font-display); font-size: clamp(1.35rem,2vw,2.02rem); letter-spacing: -.045em; line-height: 1.14; }
.mo4-use-case-spotlight__body { padding: 31px 31px 34px; }
.mo4-use-case-spotlight__top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.mo4-use-case-spotlight__top > span { color: var(--mo4-orange); font-size: .82rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.mo4-use-case-spotlight__top > strong { color: rgba(255,255,255,.5); font-size: .82rem; }
.mo4-use-case-spotlight__top i { color: #fff; font-style: normal; }
.mo4-use-case-spotlight__body > h3 { margin: 15px 0 12px; font-family: var(--font-display); font-size: clamp(1.65rem,2.35vw,2.52rem); letter-spacing: -.052em; line-height: 1.08; text-wrap: balance; }
.mo4-use-case-spotlight__body > p { margin: 0; color: rgba(255,255,255,.69); font-size: .94rem; line-height: 1.68; }
.mo4-use-case-spotlight__path { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 24px; }
.mo4-use-case-spotlight__path > div { min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(255,255,255,.045); }
.mo4-use-case-spotlight__path span,
.mo4-use-case-spotlight__path strong,
.mo4-use-case-spotlight__path small { display: block; }
.mo4-use-case-spotlight__path span { color: var(--mo4-orange); font-family: var(--font-display); font-size: .82rem; font-weight: 850; }
.mo4-use-case-spotlight__path strong { margin-top: 8px; font-size: .84rem; line-height: 1.3; }
.mo4-use-case-spotlight__path small { margin-top: 5px; color: rgba(255,255,255,.53); font-size: .82rem; line-height: 1.45; }
.mo4-use-case-spotlight__facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 22px 0 0; }
.mo4-use-case-spotlight__facts > div { min-width: 0; padding: 13px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.038); }
.mo4-use-case-spotlight__facts dt { color: rgba(255,255,255,.48); font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.mo4-use-case-spotlight__facts dd { margin: 6px 0 0; color: #fff; font-size: .84rem; font-weight: 750; line-height: 1.38; }
.mo4-use-case-spotlight__confirm { margin-top: 20px; padding: 17px 18px; border: 1px solid rgba(97,216,206,.16); border-radius: 19px; background: linear-gradient(135deg,rgba(97,216,206,.1),rgba(244,107,42,.055)); }
.mo4-use-case-spotlight__confirm > span { color: #91eee5; font-size: .82rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.mo4-use-case-spotlight__confirm ul { display: grid; gap: 7px; margin: 11px 0 0; padding: 0; list-style: none; }
.mo4-use-case-spotlight__confirm li { position: relative; padding-left: 19px; color: rgba(255,255,255,.68); font-size: .84rem; line-height: 1.42; }
.mo4-use-case-spotlight__confirm li::before { content: "✓"; position: absolute; left: 0; color: var(--mo4-orange); font-weight: 900; }
.mo4-use-case-spotlight__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.mo4-use-case-spotlight__actions .button { min-height: 48px; }
.mo4-use-case-spotlight__note { margin-top: 16px !important; color: rgba(255,255,255,.52) !important; font-size: .82rem !important; line-height: 1.52 !important; }

.mo4-use-cases__proof { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.mo4-use-cases__proof article { min-width: 0; min-height: 170px; padding: 19px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(255,255,255,.045); }
.mo4-use-cases__proof span,
.mo4-use-cases__proof strong,
.mo4-use-cases__proof small { display: block; }
.mo4-use-cases__proof span { color: var(--mo4-orange); font-size: .82rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.mo4-use-cases__proof strong { margin-top: 11px; font-family: var(--font-display); font-size: .96rem; line-height: 1.3; }
.mo4-use-cases__proof small { margin-top: 8px; color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.48; }
.mo4-use-cases__alternatives { display: flex; align-items: center; justify-content: space-between; gap: 34px; margin-top: 18px; padding: 24px 26px; border-color: rgba(255,255,255,.14); border-radius: 24px; color: #fff; background: rgba(255,255,255,.055); }
.mo4-use-cases__alternatives > div:first-child { max-width: 760px; }
.mo4-use-cases__alternatives span,
.mo4-use-cases__alternatives strong { display: block; }
.mo4-use-cases__alternatives span { color: #91eee5; font-size: .82rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.mo4-use-cases__alternatives strong { margin-top: 7px; font-family: var(--font-display); font-size: 1.08rem; }
.mo4-use-cases__alternatives p { margin: 7px 0 0; color: rgba(255,255,255,.6); font-size: .84rem; line-height: 1.52; }
.mo4-use-cases__alternatives > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.mo4-use-cases__alternatives a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; color: #fff; background: rgba(255,255,255,.055); font-size: .82rem; font-weight: 850; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.mo4-use-cases__alternatives a:hover { transform: translateY(-2px); border-color: rgba(97,216,206,.38); background: rgba(97,216,206,.09); }

@media (max-width: 1180px) {
  .mo4-use-cases__layout { grid-template-columns: minmax(0,1fr) minmax(420px,.9fr); }
  .mo4-use-case-card { min-height: 326px; }
  .mo4-use-cases__proof { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .mo4-use-cases__heading { grid-template-columns: 1fr; gap: 22px; }
  .mo4-use-cases__intro { max-width: 760px; }
  .mo4-use-cases__layout { grid-template-columns: 1fr; }
  .mo4-use-case-spotlight { position: relative; top: auto; }
  .mo4-use-case-spotlight__media { min-height: 390px; }
  .mo4-use-cases__alternatives { align-items: flex-start; flex-direction: column; }
  .mo4-use-cases__alternatives > div:last-child { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .mo4-use-cases__heading h2 { font-size: clamp(2.75rem,12vw,4.25rem); }
  .mo4-use-cases__layout { margin-top: 44px; }
  .mo4-use-cases__cards { grid-template-columns: 1fr; }
  .mo4-use-case-card { min-height: 0; padding: 22px; }
  .mo4-use-case-spotlight { border-radius: 30px; }
  .mo4-use-case-spotlight__media { min-height: 330px; }
  .mo4-use-case-spotlight__body { padding: 25px 21px 28px; }
  .mo4-use-case-spotlight__path { grid-template-columns: 1fr; }
  .mo4-use-case-spotlight__facts { grid-template-columns: 1fr; }
  .mo4-use-case-spotlight__actions { display: grid; }
  .mo4-use-case-spotlight__actions .button { width: 100%; justify-content: center; }
  .mo4-use-cases__proof { grid-template-columns: 1fr; }
  .mo4-use-cases__proof article { min-height: 0; }
  .mo4-use-cases__alternatives { padding: 22px; }
  .mo4-use-cases__alternatives > div:last-child { display: grid; width: 100%; }
  .mo4-use-cases__alternatives a { justify-content: center; width: 100%; }
}

@media (max-width: 360px) {
  .mo4-use-case-spotlight__media { min-height: 360px; }
  .mo4-use-case-spotlight__media figcaption { right: 20px; bottom: 20px; left: 20px; }
}


/* Medical Office live booking integration */
.mo4-booking-status {
  margin: 18px 0 2px;
  padding: 14px 16px;
  border: 1px solid rgba(28, 151, 145, .22);
  border-radius: 16px;
  color: #365c63;
  background: rgba(100, 217, 207, .10);
  font-size: .92rem;
  line-height: 1.55;
}
.mo4-booking-status.is-error {
  border-color: rgba(237, 107, 47, .32);
  color: #8b3a16;
  background: rgba(255, 128, 72, .10);
}
.mo4-booking-status.is-success { color: #275d5a; }
.mo4-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.mo4-booking-success {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(100, 217, 207, .34);
  border-radius: 24px;
  color: #102b34;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(232,250,248,.94));
  text-align: center;
}
.mo4-booking-success > span {
  display: block;
  color: #ec6b2b;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mo4-booking-success h3 { margin: 10px 0 12px; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.mo4-booking-success p { max-width: 600px; margin: 0 auto 16px; color: #5d747c; }
.mo4-booking-success strong { display: inline-block; padding: 10px 15px; border-radius: 999px; background: #0d2731; color: #fff; }
.mo4-form select:disabled,
.mo4-form input:disabled { cursor: not-allowed; opacity: .62; background: #eef3f4; }
