:root {
  --logo-blue: #0264B2;
  --logo-blue-dark: #014D8B;
  --logo-green: #08A35B;
  --logo-green-dark: #058247;
  --navy-deep: #062246;
  --navy-dark: #04162E;
  --slate-text: #253852;
  --slate-muted: #556B86;
  --border-light: #DBE6F2;
  --bg-white: #FFFFFF;
  --bg-offwhite: #F6F9FC;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-text);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-white);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP INSTITUTIONAL BAR
   ========================================================================== */
.top-strip {
  background: var(--navy-deep);
  color: #D2E3F5;
  font-size: 0.79rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip-left,
.top-strip-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.strip-rc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #5CF2A9;
  letter-spacing: 0.05em;
}

.strip-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.strip-location {
  color: #C7DBF0;
}

.strip-link {
  color: #E8F2FC;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.15s ease;
}

.strip-link:hover {
  color: #5CF2A9;
}

.strip-phone strong {
  color: #FFFFFF;
  font-weight: 700;
}

.live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--logo-green);
  box-shadow: 0 0 0 3px rgba(8, 163, 91, 0.28);
}

/* ==========================================================================
   MAIN NAVIGATION HEADER (WITH TRANSPARENT APEX LOGO)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(6, 34, 70, 0.07);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  border-left: 1px solid var(--border-light);
  white-space: nowrap;
}

.wordmark-main {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--logo-blue);
  letter-spacing: 0.03em;
  line-height: 1;
}

.wordmark-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--logo-green);
  letter-spacing: 0.22em;
  margin-top: 4px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-nav a {
  text-decoration: none;
  color: var(--navy-deep);
  font-size: 0.89rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.primary-nav a:hover {
  color: var(--logo-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--bg-offwhite);
  color: var(--navy-deep);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease;
}

.header-phone-btn svg {
  width: 15px;
  height: 15px;
  color: var(--logo-green);
}

.header-phone-btn:hover {
  border-color: var(--logo-blue);
}

.header-book-btn {
  background: var(--logo-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}

.header-book-btn:hover {
  background: var(--logo-blue-dark);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: #FFFFFF;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy-deep);
}

.mobile-menu {
  display: none;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 18px 24px 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.m-link {
  padding: 11px 0;
  text-decoration: none;
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.96rem;
}

.mobile-menu-footer p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--slate-muted);
  margin-bottom: 14px;
}

.mobile-drawer-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.m-drawer-book {
  background: var(--logo-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 11px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.m-drawer-call {
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  color: var(--navy-deep);
  border-radius: 6px;
  padding: 11px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}

/* ==========================================================================
   SEAMLESS BORDERLESS HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: clamp(500px, 68vh, 610px);
  background: linear-gradient(90deg, #F1F7FD 0%, #E7F2FC 45%, #DCEAF8 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 78%;
  max-width: 1320px;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 14%, #000000 30%, #000000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 14%, #000000 30%, #000000 100%);
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 18%;
  display: block;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 44px;
  padding-bottom: 44px;
}

.hero-content {
  max-width: 540px;
}

.hero-kicker {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 500;
  color: #063C8D;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(2, 100, 178, 0.16);
  display: inline-block;
}

.kicker-pipe {
  font-style: normal;
  color: var(--logo-green);
  margin: 0 6px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.title-dark {
  color: #022B79;
}

.title-accent {
  color: var(--logo-green);
  margin-top: 2px;
}

.hero-lead {
  font-size: 1.06rem;
  line-height: 1.58;
  color: #1A3F7D;
  max-width: 410px;
  margin-bottom: 28px;
}

.hero-cta-group {
  margin-bottom: 36px;
}

.btn-hero-primary {
  background: linear-gradient(180deg, #0264B2 0%, #014B88 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(1, 75, 136, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-hero-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(1, 75, 136, 0.32);
}

.btn-hero-primary:hover svg {
  transform: translateX(3px);
}

/* 3 Clean Unboxed Trust Icons (Matching ape.png) */
.hero-features-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  max-width: 310px;
}

.hero-feat-divider {
  width: 1px;
  height: 54px;
  background: rgba(2, 100, 178, 0.2);
}

.hero-feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  gap: 7px;
  color: #0E377A;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
  transition: color 0.15s ease;
}

.hero-feat-item:hover {
  color: var(--logo-green-dark);
}

.hero-feat-item svg {
  height: 28px;
  width: auto;
  display: block;
}

.hero-mobile-photo {
  display: none;
}

/* ==========================================================================
   ESSENTIAL HOSPITAL INFORMATION BAR
   ========================================================================== */
.hospital-info-bar {
  background: var(--navy-deep);
  color: #FFFFFF;
  border-bottom: 4px solid var(--logo-green);
}

.info-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.info-bar-cell {
  padding: 26px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-bar-cell:first-child {
  padding-left: 0;
}

.info-bar-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.cell-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5CF2A9;
  font-weight: 700;
}

.cell-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.cell-value a {
  color: #FFFFFF;
  text-decoration: none;
}

.cell-sub {
  font-size: 0.85rem;
  color: #C5DAF2;
}

.cell-sub a {
  color: #C5DAF2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   SHARED EDITORIAL HEADINGS
   ========================================================================== */
.kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--logo-green-dark);
  margin-bottom: 8px;
}

.editorial-heading h2,
.visiting-col h2,
.contact-details-col h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.heading-rule {
  width: 44px;
  height: 3px;
  background: var(--logo-blue);
  margin: 16px 0 22px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.lead-paragraph {
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--slate-text);
  margin-bottom: 16px;
}

.body-paragraph {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--slate-muted);
}

.about-summary-panel {
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--logo-blue);
  padding: 28px;
}

.about-summary-panel h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.glance-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.glance-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  padding-bottom: 11px;
  border-bottom: 1px dashed #E1EAF4;
}

.glance-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.glance-row dt {
  color: var(--slate-muted);
  font-weight: 500;
}

.glance-row dd {
  color: var(--navy-deep);
  font-weight: 700;
  text-align: right;
}

.glance-row dd a {
  color: var(--logo-blue);
  text-decoration: none;
}

/* ==========================================================================
   MEDICAL DEPARTMENTS & SERVICES
   ========================================================================== */
.departments-section {
  padding: 84px 0;
  background: var(--bg-offwhite);
  border-bottom: 1px solid var(--border-light);
}

.departments-header-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.departments-intro {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--slate-muted);
  padding-bottom: 22px;
}

.department-group {
  margin-bottom: 48px;
}

.department-group:last-child {
  margin-bottom: 0;
}

.group-title {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--logo-blue);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.dept-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dept-list-3 {
  grid-template-columns: repeat(3, 1fr);
}

.dept-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--logo-blue);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dept-item:hover {
  border-left-color: var(--logo-green);
  box-shadow: 0 10px 26px rgba(6, 34, 70, 0.06);
}

.dept-content h4 {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.dept-content p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--slate-muted);
  margin-bottom: 20px;
}

.dept-action {
  padding-top: 14px;
  border-top: 1px solid #EEF3F9;
}

.text-link-btn {
  background: none;
  border: none;
  color: var(--logo-blue);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.text-link-btn:hover {
  color: var(--logo-green-dark);
}

/* ==========================================================================
   VISITING HOURS & CLINIC SCHEDULE TABLE
   ========================================================================== */
.visiting-section {
  padding: 80px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.visiting-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 52px;
  align-items: start;
}

.visiting-col p {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--slate-muted);
  margin-bottom: 22px;
}

.emergency-notice {
  background: #F1F9F5;
  border-left: 4px solid var(--logo-green);
  padding: 18px 20px;
}

.emergency-notice strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.emergency-notice p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--slate-text);
}

.emergency-notice a {
  color: var(--logo-blue);
  font-weight: 700;
  text-decoration: none;
}

.hours-table-wrap {
  border: 1px solid var(--border-light);
  background: var(--bg-white);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.hours-table thead {
  background: var(--bg-offwhite);
  border-bottom: 1px solid var(--border-light);
}

.hours-table th {
  padding: 14px 18px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-muted);
  font-weight: 700;
}

.hours-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #EDF2F8;
  color: var(--slate-text);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table td strong {
  color: var(--navy-deep);
}

/* ==========================================================================
   CONTACT & LOCATION SECTION
   ========================================================================== */
.contact-section {
  padding: 80px 0;
  background: var(--bg-offwhite);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
}

.address-block {
  margin-bottom: 24px;
}

.address-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.rc-line {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--logo-green-dark);
  margin-bottom: 12px;
}

.street-address {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--slate-text);
}

.direct-lines {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.line-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.95rem;
}

.line-label {
  width: 90px;
  color: var(--slate-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.line-val {
  color: var(--logo-blue);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
}

.line-val:hover {
  text-decoration: underline;
}

.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-solid-btn {
  background: var(--logo-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 13px 22px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.primary-solid-btn:hover {
  background: var(--logo-blue-dark);
}

.secondary-outline-btn {
  background: #FFFFFF;
  color: var(--navy-deep);
  border: 1px solid #B8CDE4;
  border-radius: 6px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.secondary-outline-btn:hover {
  background: #F0F6FC;
  border-color: var(--logo-blue);
}

.map-box {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 1px solid var(--border-light);
  background: #E9F0F8;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* ==========================================================================
   APPOINTMENT & JOB APPLICATION MODALS
   ========================================================================== */
.modal-backdrop,
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 22, 46, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop.active,
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  background: #FFFFFF;
  width: 100%;
  max-width: 540px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--logo-blue);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(4, 22, 46, 0.25);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-dialog {
  position: relative;
  background: #FFFFFF;
  width: 100%;
  max-width: 680px;
  margin: auto;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  border-top: 5px solid var(--logo-blue);
  box-shadow: 0 24px 60px rgba(4, 22, 46, 0.3);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F1F5F9;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-dialog::-webkit-scrollbar {
  width: 8px;
}

.modal-dialog::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}

.modal-dialog::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.modal-dialog::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

.modal-dialog .modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(4, 22, 46, 0.04);
}

.modal-dialog .modal-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--slate-muted);
}

.btn-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--slate-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.btn-modal-close:hover {
  color: var(--navy-deep);
}

.modal-form {
  display: block;
}

.modal-body-scroll {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-dialog .modal-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--border-light);
  background: #FAFCFE;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-dialog .secondary-btn {
  background: none;
  border: 1px solid #D0DFEE;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--slate-text);
  cursor: pointer;
  transition: background 0.15s ease;
}

.modal-dialog .secondary-btn:hover {
  background: #F1F6FB;
}

.btn-primary-action {
  background: var(--navy-deep);
  color: #FFFFFF;
  border: none;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-primary-action:hover {
  background: var(--logo-blue);
  transform: translateY(-1px);
}

.btn-outline-action {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--logo-blue);
  color: var(--logo-blue);
  background: transparent;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-outline-action:hover {
  background: #EBF4FC;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--navy-deep);
  font-size: 1.35rem;
  cursor: pointer;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.modal-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.modal-header h2 {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.modal-header p {
  font-size: 0.84rem;
  color: var(--slate-muted);
  margin-top: 2px;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #C5D5E6;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--slate-text);
  background: #FFFFFF;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--logo-blue);
}

.date-time-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8px;
}

.booking-delivery-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.modal-submit,
.btn-email-booking {
  width: 100%;
}

.modal-direct-call {
  text-align: center;
  font-size: 0.84rem;
  color: var(--slate-muted);
}

.modal-direct-call a {
  color: var(--logo-blue);
  text-decoration: none;
}

.form-status {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--logo-green-dark);
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: #CBD9EA;
  padding: 60px 0 32px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo-badge {
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-brand strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  color: #FFFFFF;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.footer-rc {
  display: block;
  font-size: 0.76rem;
  color: #5CF2A9;
  font-weight: 700;
  margin-top: 2px;
}

.footer-motto {
  font-style: italic;
  color: #E2EEFA;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #8BA6C7;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: #CBD9EA;
  text-decoration: none;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-address {
  font-style: normal;
  line-height: 1.6;
}

.footer-address a {
  color: #FFFFFF;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #8BA6C7;
  font-size: 0.82rem;
}

.back-to-top {
  color: #CBD9EA;
  text-decoration: none;
}

/* Hidden on Desktop — Activated on Mobile / PWA */
.modal-sheet-handle,
.mobile-app-dock,
.pwa-toast,
.m-drawer-pwa,
.mobile-dept-tabs {
  display: none;
}

/* ==========================================================================
   BILLION-DOLLAR PURPOSE-BUILT MOBILE & PWA EXPERIENCE (<= 960px)
   (Desktop > 960px remains 100% untouched)
   ========================================================================== */
@media (max-width: 960px) {
  body {
    background: #F4F8FC;
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding: 0 18px;
  }

  /* 1. Completely Remove Desktop Top Institutional Bar & Navbar Phone/RC Clutter */
  .top-strip,
  .primary-nav,
  .header-phone-btn,
  .header-book-btn {
    display: none !important;
  }

  /* 2. Floating-Feel Native Glass App Bar */
  .site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(2, 100, 178, 0.1);
  }

  .header-inner {
    height: 60px;
    gap: 10px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .brand-wordmark {
    padding-left: 10px;
    border-left: 1px solid rgba(2, 100, 178, 0.16);
  }

  .wordmark-main {
    font-size: 0.96rem;
    letter-spacing: 0.025em;
  }

  .wordmark-sub {
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    margin-top: 3px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(2, 100, 178, 0.16);
    background: #F4F9FF;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--navy-deep);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .menu-toggle[aria-expanded="true"] {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
  }

  .menu-toggle[aria-expanded="true"] span {
    background: #FFFFFF;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Native App Slide-Down Navigation Sheet */
  .mobile-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 18px 22px;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 24px 48px rgba(4, 22, 46, 0.18);
    border-bottom: 1px solid rgba(2, 100, 178, 0.18);
  }

  .mobile-menu-links {
    gap: 4px;
    border-bottom: none;
    padding-bottom: 8px;
    margin-bottom: 10px;
  }

  .m-link {
    padding: 12px 14px;
    border-radius: 12px;
    background: #F6FAFE;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .m-link::after {
    content: '→';
    color: var(--logo-blue);
    font-weight: 700;
  }

  .mobile-menu-footer {
    background: #062246;
    color: #DCEAF8;
    padding: 16px;
    border-radius: 16px;
  }

  .mobile-menu-footer p {
    color: #C9DEF4;
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .mobile-menu-footer p strong {
    color: #5CF2A9;
  }

  .m-drawer-book {
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    background: var(--logo-green);
  }

  .m-drawer-call {
    border-radius: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
  }

  .m-drawer-pwa {
    margin-top: 10px;
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: 1px dashed rgba(92, 242, 169, 0.55);
    background: rgba(8, 163, 91, 0.14);
    color: #79F7BC;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
  }

  .m-drawer-pwa svg {
    width: 16px;
    height: 16px;
  }

  /* 3. Visual-First Cinema Hero (Portrait at Top, Seamless Dissolve Into Editorial Card) */
  .hero-section {
    min-height: auto;
    display: block;
    background: linear-gradient(180deg, #E3F0FC 0%, #F2F8FF 52%, #F4F8FC 100%);
    padding: 0 0 10px;
    overflow: hidden;
  }

  .hero-backdrop {
    display: none;
  }

  .hero-container {
    padding-top: 0;
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    max-width: 540px;
  }

  /* Place the unbordered doctors portrait FIRST at the top of the mobile hero */
  .hero-mobile-photo {
    order: -1;
    display: block;
    width: calc(100% + 36px);
    margin: 0 -18px;
    position: relative;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, #000000 0%, #000000 62%, rgba(0, 0, 0, 0.35) 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000000 0%, #000000 62%, rgba(0, 0, 0, 0.35) 84%, transparent 100%);
  }

  .hero-mobile-photo img {
    width: 100%;
    height: 295px;
    object-fit: cover;
    object-position: center 8%;
    display: block;
  }

  /* Editorial Hero Stage rising seamlessly out of the portrait's bottom dissolve */
  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 100%;
    margin-top: -42px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.028em;
    margin-bottom: 10px;
  }

  .hero-lead {
    font-size: 0.94rem;
    line-height: 1.52;
    color: #214071;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .hero-cta-group {
    width: 100%;
    margin-bottom: 14px;
  }

  .btn-hero-primary {
    width: 100%;
    justify-content: center;
    height: 52px;
    padding: 0 24px;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(2, 100, 178, 0.26);
  }

  /* Elevated Glassmorphic 3-Pillar Bar */
  .hero-features-row {
    max-width: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(2, 100, 178, 0.12);
    border-radius: 18px;
    padding: 13px 8px;
    box-shadow: 0 10px 26px rgba(6, 34, 70, 0.06);
  }

  .hero-feat-divider {
    height: 36px;
    background: rgba(2, 100, 178, 0.14);
  }

  .hero-feat-item {
    font-size: 0.75rem;
    font-weight: 700;
    gap: 5px;
  }

  .hero-feat-item svg {
    height: 23px;
  }

  /* 4. Mobile Triage & Location Bento Strip (Instead of Stacked Desktop Banner) */
  .hospital-info-bar {
    background: transparent;
    border-bottom: none;
    padding: 4px 18px 16px;
  }

  .hospital-info-bar .container {
    padding: 0;
    max-width: 540px;
  }

  .info-bar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .info-bar-cell {
    background: var(--navy-deep);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 15px 14px !important;
    box-shadow: 0 8px 20px rgba(4, 22, 46, 0.1);
  }

  /* Put 24-Hour Emergency Desk at the top spanning full width */
  .info-bar-cell:nth-child(2) {
    grid-column: 1 / -1;
    order: -1;
    background: linear-gradient(135deg, #062246 0%, #03396C 100%);
    border-left: 4px solid var(--logo-green);
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .info-bar-cell:nth-child(1),
  .info-bar-cell:nth-child(3) {
    justify-content: space-between;
  }

  .cell-label {
    font-size: 0.66rem;
    letter-spacing: 0.07em;
  }

  .cell-value {
    font-size: 0.86rem;
    line-height: 1.3;
  }

  .info-bar-cell:nth-child(2) .cell-value {
    font-size: 1.08rem;
  }

  .cell-sub {
    font-size: 0.73rem;
    line-height: 1.3;
    word-break: break-word;
  }

  /* 5. About Section with 2x2 Architectural Bento Grid */
  .about-section {
    margin: 0 12px 14px;
    padding: 28px 6px;
    border-radius: 22px;
    background: #FFFFFF;
    border: 1px solid rgba(2, 100, 178, 0.1);
    box-shadow: 0 8px 24px rgba(6, 34, 70, 0.04);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .editorial-heading h2,
  .visiting-col h2,
  .contact-details-col h2 {
    font-size: 1.42rem;
    line-height: 1.2;
  }

  .heading-rule {
    margin: 10px 0 14px;
    width: 36px;
  }

  .lead-paragraph {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .body-paragraph {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .about-summary-panel {
    background: #F4F8FD;
    border-radius: 18px;
    border: 1px solid #DCE8F6;
    border-top: none;
    padding: 16px;
  }

  .about-summary-panel h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--logo-blue);
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  /* Transform definition list into a 2x2 Bento Grid */
  .glance-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .glance-row {
    background: #FFFFFF;
    border: 1px solid #E3EDF8;
    border-radius: 12px;
    padding: 11px 12px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
  }

  .glance-row:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .glance-row dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--slate-muted);
  }

  .glance-row dd {
    font-size: 0.83rem;
    text-align: left;
    line-height: 1.25;
  }

  /* 6. Interactive Mobile Specialty Filter & App-Grade Department Cards */
  .departments-section {
    padding: 28px 0 36px;
    background: transparent;
    border-bottom: none;
    counter-reset: dept-counter;
  }

  .departments-header-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .departments-intro {
    font-size: 0.88rem;
    line-height: 1.52;
    padding-bottom: 0;
  }

  /* Segmented Filter Pills (Visible Only on Mobile) */
  .mobile-dept-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    margin-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-dept-tabs::-webkit-scrollbar {
    display: none;
  }

  .m-dept-tab {
    flex-shrink: 0;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid #CEDFEF;
    background: #FFFFFF;
    color: var(--navy-deep);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
  }

  .m-dept-tab.active {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(6, 34, 70, 0.18);
  }

  .department-group {
    margin-bottom: 22px;
  }

  .department-group.m-group-hidden {
    display: none;
  }

  .group-title {
    font-size: 0.75rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .dept-list,
  .dept-list-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dept-item {
    counter-increment: dept-counter;
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(2, 100, 178, 0.12);
    border-left: none;
    padding: 18px 18px 14px;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(6, 34, 70, 0.04);
    cursor: pointer;
  }

  .dept-content h4 {
    font-size: 1.06rem;
    padding-right: 0;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
  }

  .dept-content p {
    font-size: 0.85rem;
    line-height: 1.52;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .dept-action {
    padding-top: 10px;
    border-top: 1px solid #F0F5FA;
  }

  .text-link-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.83rem;
    color: var(--logo-blue);
    background: #F4F9FF;
    padding: 9px 13px;
    border-radius: 10px;
  }

  /* 7. Clinic & Visiting Hours: Native iOS Schedule Cards (Zero HTML Table Look) */
  .visiting-section {
    margin: 0 12px 16px;
    padding: 26px 6px;
    border-radius: 22px;
    background: #FFFFFF;
    border: 1px solid rgba(2, 100, 178, 0.1);
    box-shadow: 0 8px 24px rgba(6, 34, 70, 0.04);
  }

  .visiting-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .visiting-col p {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .emergency-notice {
    border-radius: 14px;
    padding: 14px 16px;
  }

  .hours-table-wrap {
    border: none;
    background: transparent;
  }

  .hours-table,
  .hours-table tbody {
    display: block;
    width: 100%;
  }

  .hours-table thead {
    display: none;
  }

  .hours-table tbody {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .hours-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2px 10px;
    background: #F6FAFE;
    border: 1px solid #E1ECF8;
    border-radius: 14px;
    padding: 12px 14px;
  }

  .hours-table td {
    padding: 0;
    border: none;
  }

  /* Unit Name */
  .hours-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.88rem;
  }

  /* Days */
  .hours-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.75rem;
    color: var(--slate-muted);
  }

  /* Hours Pill Badge on the Right */
  .hours-table td:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
    background: #E8F8F0;
    color: var(--logo-green-dark);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 6px 10px;
    border-radius: 999px;
    text-align: right;
    max-width: 145px;
    line-height: 1.25;
  }

  /* 8. Location, Directions & Contact Hub */
  .contact-section {
    margin: 0 12px 20px;
    padding: 26px 6px;
    border-radius: 22px;
    background: #FFFFFF;
    border: 1px solid rgba(2, 100, 178, 0.1);
    box-shadow: 0 8px 24px rgba(6, 34, 70, 0.04);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .address-block {
    background: #F5F9FE;
    border: 1px solid #E0ECF8;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
  }

  .address-block h3 {
    font-size: 0.98rem;
  }

  .street-address {
    font-size: 0.88rem;
  }

  .direct-lines {
    border: none;
    padding: 0;
    margin-bottom: 16px;
    gap: 8px;
  }

  .line-row {
    background: #F5F9FE;
    border: 1px solid #E0ECF8;
    border-radius: 12px;
    padding: 11px 14px;
    justify-content: space-between;
    font-size: 0.85rem;
  }

  .line-label {
    width: auto;
  }

  .contact-btns {
    flex-direction: column;
    gap: 10px;
  }

  .contact-btns .primary-solid-btn,
  .contact-btns .secondary-outline-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    justify-content: center;
    text-align: center;
  }

  .map-box,
  .map-box iframe {
    min-height: 240px;
    border-radius: 16px;
    overflow: hidden;
  }

  /* 9. Compact App-Style Mobile Footer */
  .site-footer {
    border-radius: 24px 24px 0 0;
    padding: 36px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-bottom: 24px;
  }

  .footer-col-brand,
  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  /* 10. Native Mobile Bottom-Sheet Appointment Modal & Job Application Dialog */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .modal-dialog {
    max-width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
  }

  .modal-dialog .modal-header {
    padding: 16px 18px 14px;
  }

  .modal-body-scroll {
    padding: 16px 18px;
    max-height: calc(94vh - 130px);
  }

  .modal-dialog .modal-footer {
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .modal-card {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    border: none;
    border-top: 4px solid var(--logo-blue);
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    max-height: 92vh;
    transform: translateY(100%);
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .modal-backdrop.active .modal-card {
    transform: translateY(0);
  }

  .modal-sheet-handle {
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: #CBD8E6;
    margin: 0 auto 14px;
  }

  .modal-close {
    top: 18px;
    right: 18px;
    border-radius: 50%;
  }

  .form-row,
  .date-time-split {
    grid-template-columns: 1fr;
  }

  /* 16px font size prevents iOS Safari auto-zoom on focus */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 12px;
    border-radius: 10px;
  }

  .modal-submit,
  .btn-email-booking {
    height: 48px;
    border-radius: 12px;
    font-size: 0.94rem;
  }

  /* 11. Native App 4-Tab Bottom Dock */
  .mobile-app-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(2, 100, 178, 0.12);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.35fr;
    align-items: center;
    gap: 6px;
    box-shadow: 0 -8px 26px rgba(6, 34, 70, 0.08);
  }

  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--navy-deep);
    font-size: 0.69rem;
    font-weight: 700;
    padding: 4px 0;
  }

  .dock-item svg {
    width: 20px;
    height: 20px;
    color: var(--logo-blue);
  }

  .dock-cta {
    height: 44px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--logo-blue) 0%, #014B88 100%);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(2, 100, 178, 0.25);
    cursor: pointer;
  }

  .dock-cta svg {
    width: 15px;
    height: 15px;
  }

  /* 12. PWA Install Floating Banner on Mobile */
  .pwa-toast.visible {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    z-index: 88;
    background: var(--navy-deep);
    color: #FFFFFF;
    border: 1px solid rgba(8, 163, 91, 0.45);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 14px 34px rgba(4, 22, 46, 0.32);
  }

  .pwa-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    flex-shrink: 0;
  }

  .pwa-toast-text {
    flex-grow: 1;
    min-width: 0;
  }

  .pwa-toast-text strong {
    display: block;
    font-size: 0.84rem;
    color: #FFFFFF;
  }

  .pwa-toast-text span {
    display: block;
    font-size: 0.73rem;
    color: #C3D9F0;
    line-height: 1.3;
    margin-top: 2px;
  }

  .pwa-toast-action {
    background: var(--logo-green);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 8px 13px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
  }

  .pwa-toast-close {
    background: none;
    border: none;
    color: #9AB6D6;
    font-size: 1.25rem;
    line-height: 1;
    padding: 2px 4px;
    cursor: pointer;
  }
}

/* ==========================================================================
   DEDICATED SERVICE PAGES & DEPARTMENT DIRECTORY ARCHITECTURE
   (Desktop + Mobile / PWA)
   ========================================================================== */
.dept-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.dept-title-link:hover {
  color: var(--logo-blue);
}

.dept-action-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dept-page-link {
  color: var(--logo-blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.dept-page-link:hover {
  color: var(--logo-green-dark);
  transform: translateX(3px);
}

.view-all-services-bar {
  margin-top: 38px;
  padding: 22px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--logo-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.view-all-services-bar p {
  font-size: 0.95rem;
  color: var(--slate-text);
}

.view-all-services-bar strong {
  color: var(--navy-deep);
}

/* Horizontal 8-Department Switcher Strip */
.service-switcher-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.service-switcher-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 24px;
  scrollbar-width: none;
}

.service-switcher-inner::-webkit-scrollbar {
  display: none;
}

.switcher-pill {
  flex-shrink: 0;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-offwhite);
  color: var(--navy-deep);
  font-size: 0.81rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.switcher-pill:hover {
  border-color: var(--logo-blue);
  color: var(--logo-blue);
}

.switcher-pill.active {
  background: var(--logo-blue);
  border-color: var(--logo-blue);
  color: #FFFFFF;
  font-weight: 700;
}

/* Dedicated Service Page Hero */
.service-hero {
  background: linear-gradient(115deg, #062246 0%, #03396C 60%, #025396 100%);
  color: #FFFFFF;
  padding: 64px 0 56px;
  border-bottom: 4px solid var(--logo-green);
  position: relative;
  overflow: hidden;
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: #B6D2EE;
  margin-bottom: 18px;
}

.service-breadcrumb a {
  color: #DCEBFA;
  text-decoration: none;
}

.service-breadcrumb a:hover {
  color: #5CF2A9;
}

.service-unit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 163, 91, 0.22);
  border: 1px solid rgba(92, 242, 169, 0.45);
  color: #6PF5B5;
  color: #6CF6B6;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.service-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 780px;
}

.service-hero-lead {
  font-size: 1.06rem;
  line-height: 1.65;
  color: #D8E9FA;
  max-width: 700px;
  margin-bottom: 28px;
}

.service-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.btn-service-book {
  background: var(--logo-green);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(5, 130, 71, 0.32);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-service-book:hover {
  background: var(--logo-green-dark);
  transform: translateY(-1px);
}

.btn-service-call {
  background: rgba(255, 255, 255, 0.11);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-service-call:hover {
  background: rgba(255, 255, 255, 0.18);
}

.service-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: #CAE0F7;
}

.service-hero-meta strong {
  color: #FFFFFF;
}

/* Service Detail Body & Clinical Grid */
.service-body-section {
  padding: 72px 0;
  background: var(--bg-white);
}

.service-layout-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 52px;
  align-items: start;
}

.service-main-col h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.service-main-col p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--slate-text);
  margin-bottom: 18px;
}

.service-sub-block {
  margin-top: 40px;
}

.service-sub-block h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.condition-card {
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--logo-blue);
  padding: 18px 20px;
}

.condition-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.condition-card p {
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--slate-muted);
  margin-bottom: 0;
}

/* 3-Step Patient Care Pathway */
.pathway-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pathway-step {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--logo-green);
  padding: 20px 18px;
}

.step-num {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--logo-green-dark);
  background: #E9F8F0;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.pathway-step h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.pathway-step p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--slate-muted);
  margin-bottom: 0;
}

/* Sticky Right Clinical Sidebar */
.service-sidebar {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-panel {
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--logo-blue);
  padding: 26px;
}

.sidebar-panel h3 {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-book-btn {
  margin-top: 18px;
  width: 100%;
  background: var(--logo-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.sidebar-book-btn:hover {
  background: var(--logo-blue-dark);
}

.dept-directory-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dept-directory-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-text);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  transition: all 0.15s ease;
}

.dept-directory-links a:hover {
  border-color: var(--logo-blue);
  color: var(--logo-blue);
}

.dept-directory-links a.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #FFFFFF;
}

/* Mobile Responsive Overrides for Dedicated Service Pages */
@media (max-width: 960px) {
  .service-switcher-inner {
    padding: 10px 18px;
  }

  .service-hero {
    padding: 28px 0 26px;
    border-radius: 0 0 24px 24px;
    border-bottom: none;
    box-shadow: 0 12px 30px rgba(4, 22, 46, 0.16);
  }

  .service-hero h1 {
    font-size: clamp(1.65rem, 6.8vw, 2.2rem);
    margin-bottom: 10px;
  }

  .service-hero-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .service-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
  }

  .btn-service-book,
  .btn-service-call {
    width: 100%;
    justify-content: center;
    height: 48px;
  }

  .service-hero-meta {
    gap: 10px 18px;
    font-size: 0.78rem;
    padding-top: 14px;
  }

  .service-body-section {
    padding: 20px 0 28px;
    background: transparent;
  }

  .service-layout-grid,
  .conditions-grid,
  .pathway-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-main-col {
    background: #FFFFFF;
    border-radius: 22px;
    border: 1px solid rgba(2, 100, 178, 0.1);
    padding: 22px 18px;
    box-shadow: 0 8px 24px rgba(6, 34, 70, 0.04);
  }

  .service-main-col h2 {
    font-size: 1.32rem;
  }

  .service-main-col p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .service-sub-block {
    margin-top: 26px;
  }

  .condition-card,
  .pathway-step {
    border-radius: 14px;
    padding: 16px;
  }

  .service-sidebar {
    position: static;
    gap: 14px;
  }

  .sidebar-panel {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(2, 100, 178, 0.1);
    padding: 20px 18px;
    box-shadow: 0 8px 24px rgba(6, 34, 70, 0.04);
  }

  .sidebar-book-btn {
    height: 48px;
    border-radius: 12px;
  }

  .dept-directory-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dept-directory-links a {
    border-radius: 10px;
    font-size: 0.78rem;
    padding: 10px;
  }

  .dept-action-split {
    flex-direction: row;
    width: 100%;
  }

  .dept-action-split .dept-page-link {
    background: #F4F9FF;
    color: var(--logo-blue);
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 0.81rem;
    flex: 1;
    justify-content: center;
  }

  .dept-action-split .text-link-btn {
    background: var(--navy-deep);
    color: #FFFFFF;
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 0.81rem;
    width: auto;
    flex: 1;
    justify-content: center;
  }

  .view-all-services-bar {
    border-radius: 18px;
    padding: 18px;
    margin-top: 20px;
  }
}

/* ==========================================================================
   SEAMLESS BORDERLESS VISUAL SERVICE HERO & DEPARTMENT CARD MEDIA
   ========================================================================== */
.dept-card-media {
  position: relative;
  margin: -26px -28px 18px;
  padding: 16px 20px 0;
  aspect-ratio: 16 / 10;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.dept-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  border: none;
  background: transparent;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-hero-photo img {
  background: transparent;
}

.dept-item {
  overflow: hidden;
}

.dept-item:hover .dept-card-media img {
  transform: scale(1.03);
}

.service-hero-visual {
  background: #FFFFFF;
  color: var(--navy-deep);
  padding: 40px 0 0;
  border-bottom: 1px solid var(--border-light);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: end;
}

.service-hero-copy {
  padding-bottom: 44px;
}

.service-hero-visual h1 {
  color: var(--navy-deep);
  margin-top: 0;
  margin-bottom: 14px;
}

.service-hero-visual .service-hero-lead {
  color: var(--slate-text);
}

.service-hero-visual .btn-service-book {
  background: linear-gradient(180deg, #0264B2 0%, #014B88 100%);
  box-shadow: 0 10px 24px rgba(2, 100, 178, 0.24);
}

.service-hero-visual .btn-service-call {
  background: #F4F9FF;
  color: var(--navy-deep);
  border: 1px solid #C8DDF2;
}

.service-hero-visual .service-hero-meta {
  border-top: 1px solid var(--border-light);
  color: var(--slate-muted);
}

.service-hero-visual .service-hero-meta strong {
  color: var(--navy-deep);
}

.service-hero-photo {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  line-height: 0;
}

.service-hero-photo img {
  width: 100%;
  max-width: 560px;
  max-height: 410px;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  border: none;
}

@media (max-width: 960px) {
  /* Mobile: full-bleed editorial unit photo on top of each card */
  .dept-item {
    padding: 0 0 14px;
    border-radius: 20px;
    border: 1px solid rgba(2, 100, 178, 0.10);
    box-shadow: 0 10px 26px rgba(6, 34, 70, 0.06);
  }

  .dept-card-media {
    margin: 0 0 12px;
    padding: 14px 14px 0;
    aspect-ratio: 16 / 10;
    border-radius: 20px 20px 0 0;
    background: transparent;
  }

  .dept-item .dept-content,
  .dept-item .dept-action {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dept-content p {
    -webkit-line-clamp: 2;
  }

  .dept-action .dept-page-link {
    min-height: 44px;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #F4F9FF;
    color: var(--logo-blue);
    border: 1px solid rgba(2, 100, 178, 0.14);
    box-shadow: 0 2px 6px rgba(2, 100, 178, 0.05);
    transition: background 0.18s ease, color 0.18s ease;
  }

  .service-hero-visual {
    padding: 8px 0 24px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(6, 34, 70, 0.06);
  }

  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Place clinical portrait seamlessly at the top of the mobile service hero */
  .service-hero-photo {
    order: -1;
    margin: 0 -18px;
    width: calc(100% + 36px);
    justify-content: center;
    background: transparent;
  }

  .service-hero-photo img {
    max-width: 100%;
    max-height: 255px;
    object-fit: contain;
    object-position: center bottom;
  }

  .service-hero-copy {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   CAREERS & VACANCIES PAGE STYLES (BILLION-DOLLAR DESIGN)
   ========================================================================== */
.careers-hero-section {
  background: radial-gradient(circle at top right, #09346B 0%, #062246 60%, #03142B 100%);
  color: #FFFFFF;
  padding: 64px 0 54px;
  position: relative;
  overflow: hidden;
}

.careers-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(8, 163, 91, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(2, 100, 178, 0.22) 0%, transparent 45%);
  pointer-events: none;
}

.careers-hero-content {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.careers-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #D2E3F5;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.careers-hero-badge .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5CF2A9;
  box-shadow: 0 0 8px #5CF2A9;
}

.careers-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.careers-hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: #D2E3F5;
  margin-bottom: 30px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.careers-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-careers-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--logo-green);
  color: #FFFFFF;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(8, 163, 91, 0.35);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn-careers-primary:hover {
  background: var(--logo-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(8, 163, 91, 0.45);
}

.btn-careers-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn-careers-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
}

.careers-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ch-item {
  text-align: center;
}

.ch-val {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #5CF2A9;
  line-height: 1.1;
  margin-bottom: 4px;
}

.ch-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: #C5D8ED;
  letter-spacing: 0.01em;
}

/* Culture & Why Join Us */
.careers-culture-section {
  padding: 60px 0;
  background: #F7FAFD;
}

.culture-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.culture-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(6, 34, 70, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.culture-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(6, 34, 70, 0.08);
  border-color: #CFE0F2;
}

.culture-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.culture-icon.blue { background: #EBF4FC; color: var(--logo-blue); }
.culture-icon.green { background: #EBF8F1; color: var(--logo-green); }
.culture-icon.gold { background: #FEF7ED; color: #D9822B; }
.culture-icon.purple { background: #F3EDFD; color: #7B3FE4; }

.culture-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.culture-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--slate-muted);
}

/* Open Positions Section */
.open-positions-section {
  padding: 60px 0 70px;
  background: #FFFFFF;
}

.positions-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.positions-subtitle {
  font-size: 0.96rem;
  color: var(--slate-muted);
  margin-top: 6px;
}

.job-category-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.job-filter-pill {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  background: #F1F5FA;
  color: var(--slate-muted);
  border: 1px solid #DBE5F0;
  cursor: pointer;
  transition: all 0.18s ease;
}

.job-filter-pill:hover {
  background: #E8F0FA;
  color: var(--navy-deep);
}

.job-filter-pill.active {
  background: var(--navy-deep);
  color: #FFFFFF;
  border-color: var(--navy-deep);
  box-shadow: 0 4px 12px rgba(6, 34, 70, 0.18);
}

/* Job Cards Grid */
.jobs-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.job-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(6, 34, 70, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.job-card:hover {
  transform: translateY(-3px);
  border-color: #B5D2F2;
  box-shadow: 0 12px 32px rgba(6, 34, 70, 0.09);
}

.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.job-dept-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--logo-blue);
  margin-bottom: 4px;
}

.job-role-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
}

.job-type-pill {
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.job-type-pill.fulltime {
  background: #EBF8F1;
  color: var(--logo-green-dark);
}

.job-type-pill.sessional {
  background: #FEF7ED;
  color: #B86A18;
}

.job-role-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate-text);
  margin-bottom: 18px;
  flex: 1;
}

.job-meta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: #F7FAFD;
  border-radius: 12px;
  margin-bottom: 20px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-muted);
}

.job-meta-item svg {
  color: var(--logo-blue);
  flex-shrink: 0;
}

.job-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.btn-job-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-deep);
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-job-apply:hover {
  background: var(--logo-blue);
  transform: translateY(-1px);
}

.job-status-note {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--slate-muted);
}

/* Speculative Card */
.speculative-card {
  background: linear-gradient(135deg, #09346B 0%, #062246 100%);
  border-radius: 20px;
  padding: 34px 38px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 12px 34px rgba(6, 34, 70, 0.14);
}

.speculative-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.speculative-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5CF2A9;
  flex-shrink: 0;
}

.speculative-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.speculative-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #D2E3F5;
  margin: 0;
}

.speculative-action {
  flex-shrink: 0;
}

/* Job Apply Modal Styles */
.readonly-input {
  background: #F1F6FB !important;
  font-weight: 700 !important;
  color: var(--navy-deep) !important;
  border-color: #CCDCEF !important;
}

.app-instructions-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #F0F7FF;
  border: 1px solid #CDE1F7;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--slate-text);
  margin-top: 10px;
}

.app-instructions-box .info-icon {
  color: var(--logo-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-submit-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-whatsapp-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  background: #128C7E;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-whatsapp-apply:hover {
  background: #075E54;
}

/* Careers Mobile Responsiveness */
@media (max-width: 960px) {
  .careers-hero-section {
    padding: 42px 0 36px;
  }

  .careers-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .positions-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .job-category-filters {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
  }

  .jobs-list-grid {
    grid-template-columns: 1fr;
  }

  .speculative-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
  }

  .speculative-content {
    flex-direction: column;
    text-align: center;
  }

  .speculative-action a {
    width: 100%;
    justify-content: center;
  }

  .footer-submit-group {
    flex-direction: column;
    width: 100%;
  }

  .footer-submit-group button {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   PRODUCTION RECRUITMENT ENHANCEMENTS
   ========================================================================== */
.job-ref-badge {
  display: inline-block;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4A6382;
  background: #EDF3F9;
  padding: 2px 7px;
  border-radius: 5px;
  margin-bottom: 5px;
}

.job-details-block {
  margin: 12px 0 16px;
  padding: 12px 14px;
  background: #F8FAFD;
  border-left: 3px solid var(--logo-blue);
  border-radius: 0 8px 8px 0;
}

.job-duty-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.job-duty-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.job-duty-list li {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--slate-text);
  position: relative;
  padding-left: 14px;
}

.job-duty-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--logo-green);
  font-weight: 800;
}

/* Recruitment Pathway */
.recruitment-pathway-section {
  margin: 50px 0 40px;
  padding: 42px 32px;
  background: #F7FAFE;
  border: 1px solid var(--border-light);
  border-radius: 24px;
}

.pathway-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.p-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 22px 20px;
  position: relative;
  box-shadow: 0 4px 12px rgba(6, 34, 70, 0.03);
}

.p-step-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--navy-deep);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.p-step-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.p-step-card p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--slate-muted);
  margin: 0;
}

/* Compliance Notice */
.careers-compliance-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: #FEF9F0;
  border: 1px solid #F5E0C2;
  border-radius: 14px;
  margin-top: 36px;
}

.notice-icon {
  color: #C07010;
  flex-shrink: 0;
  margin-top: 1px;
}

.notice-text {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #5C3D10;
}

.notice-text code {
  font-weight: 700;
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

/* File Drop Area for CV Upload */
.file-drop-area {
  border: 2px dashed #CCDCEF;
  background: #F8FBFE;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-drop-area:hover,
.file-drop-area.dragover {
  border-color: var(--logo-blue);
  background: #EDF5FD;
}

.cv-drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cv-drop-icon {
  color: var(--logo-blue);
}

.cv-drop-content strong {
  font-size: 0.88rem;
  color: var(--navy-deep);
}

.cv-drop-sub {
  font-size: 0.78rem;
  color: var(--slate-muted);
}

/* Application Success Box */
.apply-success-box {
  padding: 36px 24px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.success-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #EBF8F1;
  color: var(--logo-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.apply-success-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.success-ref-text {
  font-size: 0.95rem;
  color: var(--slate-text);
  margin-bottom: 12px;
}

.success-ref-text strong {
  color: var(--logo-blue);
  font-family: monospace;
  font-size: 1.05rem;
  background: #EBF4FC;
  padding: 3px 8px;
  border-radius: 6px;
}

.success-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate-muted);
  max-width: 480px;
  margin: 0 auto 24px;
}

.success-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.email-sent-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #EBF8F1;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  margin: 0 auto 16px;
  max-width: 90%;
  text-align: center;
}

.email-sent-badge svg {
  color: var(--logo-green);
  flex-shrink: 0;
}

.email-sent-badge strong {
  color: #064E3B;
  text-decoration: underline;
}


