/* FOCOS Orthopaedic Hospital — site styles. Brand colours from the staff ID card. */
:root {
  --navy: #203A6C;
  --navy-deep: #152850;
  --navy-soft: #2C4A80;
  --green: #1E5128;
  --green-soft: #E6EFE7;
  --gold: #F2B33D;
  --ink: #1B2733;
  --ink-2: #3A4654;
  --ink-3: #4A5563;
  --ground: #F6F7F4;
  --white: #FFFFFF;
  --line: #E1E5E0;
  --line-2: #CDD5CF;
  --photo: #D7E0EC;
  --display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #163d1e; color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy-deep); font-weight: 700; }
.btn-gold:hover { background: #e3a227; color: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #DCE6EF; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; }
.topbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; }
.topbar .links { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--display); font-weight: 700; font-size: 25px; color: var(--navy); letter-spacing: -0.4px; }
.brand-name span { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px 22px; font-weight: 500; }
.nav a { text-decoration: none; padding: 8px 0; white-space: nowrap; }
.header-cta { white-space: nowrap; }
.btn { white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); }
.menu-toggle { display: none; }
@media (max-width: 1220px) {
  .site-header .wrap { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .site-header.open .nav { display: flex; }
  .header-cta { display: none; }
  .site-header.open .header-cta { display: inline-flex; width: 100%; }
}

/* Sections */
.section { padding: 96px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); }
.section-tight { padding: 64px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 64px; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.h2 { font-weight: 700; font-size: clamp(32px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.6px; }
.lead { color: var(--ink-2); max-width: 48ch; }
.muted { color: var(--ink-3); }

/* Hero */
.hero { background: var(--white); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero h1 { font-weight: 700; font-size: clamp(44px, 6vw, 76px); line-height: 0.98; letter-spacing: -1.2px; }
.hero-copy > p { font-size: 20px; color: var(--ink-2); max-width: 34ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--ink-3); }
.hero-media { flex: 1 1 480px; min-width: 0; display: flex; gap: 22px; }
.photo { position: relative; flex: 1 1 auto; min-height: 520px; border-radius: 28px; background: var(--photo); overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spine { flex: 0 0 172px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; margin: 0; padding: 0; list-style: none; }
.spine li { background: var(--navy); color: var(--white); border-radius: 12px; padding: 16px 18px; }
.spine li:nth-child(even) { margin-left: 12px; }
.spine li:first-child { border-radius: 22px 22px 12px 12px; }
.spine li:last-child { border-radius: 12px 12px 22px 22px; }
.spine li.accent { background: var(--green); }
.spine strong { display: block; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.spine span { font-size: 13px; color: #CAD6E3; }
@media (max-width: 640px) {
  .hero .wrap { padding-top: 40px; padding-bottom: 56px; gap: 32px; }
  .hero-media { flex-direction: column; }
  .photo { min-height: 300px; }
  .spine { flex-direction: row; flex-wrap: wrap; flex-basis: auto; }
  .spine li { flex: 1 1 140px; margin-left: 0 !important; border-radius: 12px !important; }
}

/* Quick paths */
.paths { background: var(--ground); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.paths .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.paths a { text-decoration: none; padding: 30px 28px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.paths a:first-child { border-left: 0; padding-left: 0; }
.paths strong { font-family: var(--display); font-size: 22px; color: var(--navy); }
.paths span { color: var(--ink-3); font-size: 16px; }
.paths a:hover strong { color: var(--green); }
@media (max-width: 640px) { .paths a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } .paths a:first-child { border-top: 0; } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.service-card { text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.service-card strong { font-family: var(--display); font-size: 26px; color: var(--navy); line-height: 1.15; }
.service-card span { color: var(--ink-3); font-size: 16px; }
.service-card:hover { border-color: var(--navy); }
.service-card.lead-card { background: var(--navy); border-color: var(--navy); grid-row: span 2; justify-content: space-between; gap: 40px; padding: 36px; min-height: 260px; }
.service-card.lead-card strong { color: var(--white); font-size: 40px; }
.service-card.lead-card span { color: #DCE6EF; font-size: 17px; }
.service-card.lead-card em { font-style: normal; font-weight: 600; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips a { text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 15px; }
.chips a:hover { border-color: var(--navy); }

/* Steps */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > .side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split > .main { flex: 2 1 560px; min-width: 0; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px 40px; }
.steps li { display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--navy); padding-top: 18px; }
.steps li:last-child { border-top-color: var(--green); }
.steps b { font-family: var(--display); color: var(--green); }
.steps strong { font-size: 20px; color: var(--navy); }
.steps span { color: var(--ink-3); font-size: 16px; }

/* Mission band */
.band { background: var(--navy); color: var(--white); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.band .photo { flex: 1 1 440px; min-height: 520px; background: var(--navy-soft); }
.band .photo img { object-position: 50% 18%; }
.band .copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.band h2 { color: var(--white); }
.band p { color: #DCE6EF; max-width: 50ch; }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 24px; }
.person { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.person .portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--photo); overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 44px; color: var(--navy-soft); }
.person .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person strong { font-size: 19px; color: var(--navy); line-height: 1.3; }
.person span { color: var(--ink-3); font-size: 15px; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 32px; }
.news-card { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.news-card .thumb { aspect-ratio: 16 / 10; border-radius: 18px; background: #E3E9E4; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card small { color: var(--green); font-size: 14px; font-weight: 600; }
.news-card strong { font-size: 21px; line-height: 1.3; color: var(--navy); }
.news-card:hover strong { text-decoration: underline; }

/* Insurers */
.insurers { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; }
.insurers .label { font-weight: 600; color: var(--navy); }
.insurer-list { flex: 1 1 600px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; margin: 0; padding: 0; list-style: none; color: var(--ink-3); font-family: var(--display); font-weight: 700; font-size: 20px; }
.insurer-list img { height: 36px; width: auto; }

/* Visit */
.visit { background: var(--green-soft); }
.visit .wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.visit .info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.visit .map { flex: 1.4 1 480px; min-width: 0; min-height: 360px; border-radius: var(--radius); overflow: hidden; background: #CBD8CF; }
.visit .map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.hours { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; font-size: 16px; }
.hours dt { font-weight: 600; color: var(--navy); }
.hours dd { margin: 0; }

/* Breadcrumbs */
.crumbs { font-size: 14px; color: #CAD6E3; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs a { color: #CAD6E3; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #8EA3BD; }

/* Lists of conditions */
.conditions { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.conditions li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.conditions strong { display: block; font-size: 19px; color: var(--navy); }
.conditions span { color: var(--ink-3); font-size: 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tile { background: var(--ground); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.tile h3 { font-size: 24px; }
.tile p { color: var(--ink-2); font-size: 16px; }

/* Rich text from the admin */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: 16px; }
.prose blockquote { margin: 0; padding-left: 20px; border-left: 3px solid var(--green); color: var(--ink-2); }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 600; font-size: 19px; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 26px; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { margin-top: 10px; color: var(--ink-2); }

/* CTA band */
.cta { background: var(--green); color: var(--white); }
.cta .wrap { padding-top: 60px; padding-bottom: 60px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta h2 { color: var(--white); font-weight: 700; font-size: 36px; line-height: 1.1; max-width: 24ch; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9D5E2; font-size: 15px; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.site-footer nav, .site-footer .contact { display: flex; flex-direction: column; gap: 8px; }
.site-footer h2 { font-family: var(--body); font-size: 15px; color: var(--white); font-weight: 600; }
.site-footer a { color: #C9D5E2; }
.site-footer a:hover { color: var(--white); }
.site-footer .contact a { color: var(--white); }
.site-footer .bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; border-top: 1px solid #2A4270; padding-top: 24px; font-size: 14px; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 18px; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; padding: 0 14px; background: var(--white); }
.pager .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Staff verification */
.verify { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.verify .ask { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.verify form { display: flex; flex-wrap: wrap; gap: 12px; }
.verify label { width: 100%; font-weight: 600; color: var(--navy); }
.verify input { flex: 1 1 220px; min-height: 52px; border: 2px solid var(--line-2); border-radius: 14px; padding: 10px 16px; font: inherit; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; background: var(--white); color: var(--ink); }
.verify input:focus { border-color: var(--navy); outline: none; }
.verify .result { flex: 0 1 380px; min-width: 0; }
.notice { border-radius: 18px; padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.notice svg { flex: 0 0 26px; }
.notice strong { display: block; font-size: 19px; }
.notice-bad { background: #FBE9E7; color: #7A1E12; }
.notice-wait { background: #FFF4DD; color: #6B4A00; }
.notice-ok { background: var(--green-soft); color: var(--green); }

/* The on-screen staff card mirrors the printed one. */
.id-card { width: 100%; max-width: 340px; margin: 0 auto; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(21, 40, 80, 0.16); text-align: center; }
.id-card .top { background: var(--navy); color: var(--white); padding: 18px 20px 72px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 0 0 50% 50% / 0 0 36px 36px; }
.id-card .top img { width: 46px; height: 46px; }
.id-card .top span { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.05; text-align: left; letter-spacing: 0.2px; }
.id-card .face { width: 160px; height: 160px; margin: -64px auto 0; border-radius: 50%; border: 6px solid var(--white); background: var(--photo); overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 48px; color: var(--navy-soft); position: relative; }
.id-card .face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.id-card .body { padding: 16px 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.id-card .name { font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1.1; color: var(--ink); text-transform: uppercase; }
.id-card .role { font-size: 16px; color: var(--ink-2); }
.id-card .sid { margin-top: 8px; font-weight: 700; letter-spacing: 1px; color: var(--ink); }
.id-card .dept { background: var(--green); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 17px; padding: 12px 16px; text-transform: uppercase; letter-spacing: 0.3px; }
.id-card .stamp { display: inline-flex; align-self: center; align-items: center; gap: 6px; margin-top: 12px; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.checked { margin-top: 16px; text-align: center; font-size: 14px; color: var(--ink-3); }

/* Home banner: tall and full width. Each photo fills the banner and zooms in slowly; banners slide in
   from the right. The text sits in a dark glass box low on the left, below the faces in the photos. */
.banner { position: relative; background: #0B1220; color: var(--white); overflow: hidden; }
.banner-track { position: relative; height: clamp(620px, 90vh, 980px); }
.banner-slide { position: absolute; inset: 0; transform: translateX(100%); visibility: hidden; transition: transform 1s cubic-bezier(.65, 0, .35, 1), visibility 0s linear 1s; }
.banner-slide.is-active { transform: translateX(0); visibility: visible; transition: transform 1s cubic-bezier(.65, 0, .35, 1); z-index: 2; }
.banner-slide.is-prev { transform: translateX(-100%); z-index: 1; }
.banner-media { position: absolute; inset: 0; overflow: hidden; background: #0B1220; }
.banner-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform-origin: 50% 42%; will-change: transform; }
/* A soft dark fade at the bottom only, so the glass box and controls read on any photo. */
.banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 14, 0.62) 0%, rgba(5, 8, 14, 0.18) 38%, rgba(5, 8, 14, 0) 60%); pointer-events: none; }
.banner-slide.is-active .banner-media img { animation: banner-zoom 9s ease-out both; }
@keyframes banner-zoom { from { transform: scale(1.02); } to { transform: scale(1.22); } }
.banner.is-paused .banner-media img { animation-play-state: paused; }
.banner-panel { position: absolute; z-index: 1; left: max(24px, calc((100vw - var(--wrap)) / 2 + 32px)); bottom: 88px; width: min(620px, calc(100% - 48px)); padding: 22px 28px 24px; border-radius: 22px; background: rgba(8, 12, 20, 0.46); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .banner-panel { background: rgba(8, 12, 20, 0.72); } }
.banner-copy { display: flex; flex-direction: column; gap: 12px; }
.banner-copy h1, .banner-copy .banner-title { color: var(--white); font-weight: 700; font-size: clamp(28px, 2.7vw, 42px); line-height: 1.1; letter-spacing: -0.6px; margin: 0; text-wrap: balance; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.banner-copy p { font-size: clamp(16px, 1.1vw, 18px); color: #EEF2F7; max-width: 56ch; }
.banner-copy .btn-row { margin-top: 4px; }
.banner-copy .btn { min-height: 46px; padding: 10px 22px; }
.banner-controls { position: absolute; z-index: 3; left: max(24px, calc((100vw - var(--wrap)) / 2 + 32px)); bottom: 24px; display: flex; align-items: center; gap: 6px; }
.banner-dot { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.banner-dot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 20px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.5); }
.banner-dot[aria-current="true"]::before { background: var(--gold); }
.banner-dot:hover::before { background: var(--white); }
.banner-pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(8, 12, 20, 0.46); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-right: 6px; }
.banner-pause:hover { background: rgba(8, 12, 20, 0.7); }
/* Phones: the photo on top, the dark glass box under it, so no face is ever covered. */
@media (max-width: 700px) {
  .banner-track { height: auto; display: grid; }
  .banner-slide { position: relative; grid-area: 1 / 1; display: flex; flex-direction: column; background: #0B1220; }
  .banner-media { position: relative; inset: auto; aspect-ratio: 4 / 4.2; }
  .banner-media img { object-position: 42% 40%; }
  .banner-panel { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 12px 0; padding: 22px 20px 92px; border-radius: 18px; flex: 1 1 auto; }
  .banner-controls { left: 28px; bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-slide, .banner-slide.is-active { transition: none; }
  .banner-slide.is-active .banner-media img { animation: none; }
}

/* The things people most often come to do, right under the banner. */
.actions-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.actions-bar ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1240px) { .actions-bar ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .actions-bar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 0; }
  .action { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 14px; }
  .action small { display: none; }
  .action strong { white-space: normal; }
  .actions-bar li:first-child { grid-column: 1 / -1; }
  .actions-bar li:first-child .action { flex-direction: row; align-items: center; }
}
.actions-bar li { display: flex; }
.action { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px 16px; border-radius: 16px; background: var(--ground); border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.action:hover { border-color: var(--navy); color: var(--navy); background: #EEF2F7; }
.action svg { flex: 0 0 auto; width: 26px; height: 26px; color: var(--green); }
.action span { display: flex; flex-direction: column; line-height: 1.25; }
.action strong { font-size: 16px; white-space: nowrap; }
.action span { min-width: 0; }
.action small { font-size: 14px; color: var(--ink-3); }
.action.primary { background: var(--green); border-color: var(--green); color: var(--white); }
.action.primary svg, .action.primary small { color: #D7E9DA; }
.action.primary:hover { background: #163d1e; color: var(--white); }
.action.urgent { background: #FBE9E7; border-color: #F1C4BD; color: #7A1E12; }
.action.urgent svg, .action.urgent small { color: #9B2C1E; }
.action.urgent:hover { background: #F7DAD5; color: #7A1E12; }
.kicker { font-weight: 600; color: var(--gold); margin: 0; }
.kicker-dark { color: var(--green); }
.band .copy p + p { margin-top: -6px; }
.band .photo { min-height: 520px; }
.band .photo img { object-position: 50% 18%; }
.band .kicker { color: var(--gold); }

/* "Why choose FOCOS" with the hospital video beside it. */
.why { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.why-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.why-copy .lead { max-width: 60ch; }
.video { flex: 1.15 1 520px; min-width: 0; position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0B1220; box-shadow: 0 20px 50px rgba(21, 40, 80, 0.18); }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-play svg { transition: transform 0.2s ease; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35)); }
.video-play:hover svg, .video-play:focus-visible svg { transform: scale(1.08); }
.video-caption { position: absolute; left: 16px; bottom: 14px; color: var(--white); font-weight: 600; font-size: 15px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); pointer-events: none; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) { .video-play svg { transition: none; } }

/* Insurance providers: centred heading and note, then logo cards. */
.insurers-section { background: var(--white); border-top: 1px solid var(--line); text-align: center; }
.insurers-section .h2 { margin-bottom: 18px; }
.insurers-section .lead { margin: 0 auto 44px; max-width: 72ch; }
.insurers-section .lead a { font-weight: 600; color: var(--navy); white-space: nowrap; }
.insurer-rows { display: grid; gap: 14px; }
.insurer-marquee { --card: 230px; --gap: 22px; overflow: hidden; padding: 4px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.insurer-track { display: flex; width: max-content; animation: insurer-scroll 45s linear infinite; }
.insurer-marquee:hover .insurer-track, .insurer-marquee:focus-within .insurer-track { animation-play-state: paused; }
.insurer-grid { list-style: none; margin: 0; padding: 0 var(--gap) 0 0; display: flex; gap: var(--gap); }
.insurer-grid > li { flex: 0 0 var(--card); }
@keyframes insurer-scroll { to { transform: translateX(-50%); } }
.insurer-marquee.is-reverse .insurer-track { animation-direction: reverse; animation-duration: 52s; }
.insurer-card { height: 116px; display: flex; align-items: center; justify-content: center; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 5px 0 #DDE2E7; }
.insurer-card img { max-width: 100%; max-height: 66px; width: auto; height: auto; object-fit: contain; }
.insurer-card span { font-weight: 700; font-size: 20px; color: var(--ink-3); }
@media (max-width: 600px) { .insurer-marquee { --card: 170px; --gap: 14px; } .insurer-card { height: 92px; padding: 12px 14px; } .insurer-card img { max-height: 52px; } .insurer-track { animation-duration: 35s; } .insurer-marquee.is-reverse .insurer-track { animation-duration: 40s; } .insurer-rows { gap: 8px; } }
/* Without motion: one still, wrapped grid. */
@media (prefers-reduced-motion: reduce) {
  .insurer-marquee { -webkit-mask-image: none; mask-image: none; }
  .insurer-track { width: auto; animation: none; }
  .insurer-grid { flex-wrap: wrap; justify-content: center; padding: 0; max-width: 1180px; margin: 0 auto; }
  .insurer-grid[aria-hidden] { display: none; }
  .insurer-rows { gap: 22px; }
}

/* ===== Home polish ===== */
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.section { padding: 104px 0; }
@media (max-width: 640px) { .section { padding: 72px 0; } }
.kicker { font-size: 15px; letter-spacing: 0.2px; }

/* Section titles: kicker, heading, optional lead; split puts an action on the right. */
.section-title { display: flex; flex-direction: column; gap: 10px; margin-bottom: 48px; }
.section-title .lead { margin-top: 6px; }
.section-title-split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.section-title-split > div { display: flex; flex-direction: column; gap: 10px; }
.section-title-center { align-items: center; text-align: center; }

/* Services: one large photo card, four smaller cards, then the rest as a quiet list. */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; text-decoration: none; color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(21, 40, 80, 0.10); border-color: #D3DAE3; color: var(--ink); }
.svc-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.svc-icon svg { width: 26px; height: 26px; }
.svc strong { font-size: 22px; color: var(--navy); line-height: 1.2; }
.svc > span:not(.svc-icon) { color: var(--ink-3); font-size: 16px; }
.svc em { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 600; font-size: 15px; color: var(--green); }
.svc-lead { grid-row: span 2; padding: 0; overflow: hidden; border: 0; background: var(--navy-deep); min-height: 440px; color: var(--white); }
.svc-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 12, 20, 0.86) 0%, rgba(8, 12, 20, 0.35) 55%, rgba(8, 12, 20, 0.05) 100%); }
.svc-lead:hover img { transform: scale(1.04); }
.svc-lead:hover { color: var(--white); }
.svc-lead-body { position: relative; z-index: 1; margin-top: auto; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.svc-lead .svc-icon { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.svc-lead strong { color: var(--white); font-size: 30px; }
.svc-lead-body > span:not(.svc-icon) { color: #E6ECF3; font-size: 16px; max-width: 42ch; }
.svc-lead em { color: var(--gold); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-lead { grid-column: 1 / -1; grid-row: auto; min-height: 340px; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc { padding: 22px; } }
.svc-more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.svc-more > span { font-weight: 600; color: var(--navy); }
.svc-more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.svc-more a { color: var(--ink-3); text-decoration: none; }
.svc-more a:hover { color: var(--green); text-decoration: underline; }

/* Welcome band: photo and a short text column. */
.band .wrap { gap: 64px; }
.band .photo { border-radius: 28px; min-height: 480px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); }
.band .copy { gap: 18px; }
.band .h2 { font-size: clamp(32px, 3.6vw, 48px); }
.band .band-lead { font-size: 20px; line-height: 1.55; color: #EEF2F7; max-width: 46ch; }
.band .band-note { font-size: 15px; color: #B9C7D8; }
.band .btn-row { margin-top: 8px; }

/* Why choose + video. */
.why-copy { gap: 16px; }
.why-copy .lead { font-size: 19px; line-height: 1.6; }
.why-copy .btn-row { margin-top: 8px; }

/* Treatment process: four steps on a line. */
.process { background: var(--ground); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 12%; right: 12%; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, #C9D3DE 0 8px, transparent 8px 14px); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 8px; }
.step-no { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); color: var(--navy); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; position: relative; z-index: 1; }
.timeline li:last-child .step-no { background: var(--green); border-color: var(--green); color: var(--white); }
.timeline strong { font-size: 19px; color: var(--navy); }
.timeline li > span:last-child { color: var(--ink-3); font-size: 16px; max-width: 26ch; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
}
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }

/* People. */
.people { gap: 28px 24px; }
.person { text-decoration: none; }
.person .portrait { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.person:hover .portrait { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(21, 40, 80, 0.14); }
.person .portrait-empty { background: linear-gradient(160deg, #2C4A80 0%, #203A6C 55%, #152850 100%); }
.portrait-empty .initials { width: 96px; height: 96px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); font-size: 34px; font-weight: 600; letter-spacing: 1px; display: inline-flex; align-items: center; justify-content: center; }
.person-text { display: flex; flex-direction: column; gap: 2px; }
.person:hover strong { color: var(--green); }

/* News cards. */
.news-grid { gap: 28px; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; gap: 0; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(21, 40, 80, 0.10); }
.news-card:hover strong { text-decoration: none; color: var(--green); }
.news-card .thumb { position: relative; border-radius: 0; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.news-card .thumb-empty { background: linear-gradient(150deg, #EEF2F7 0%, #DCE6EF 100%); }
.news-card .thumb-empty .thumb-logo { position: static; width: 76px; height: 76px; object-fit: contain; opacity: 0.6; }
.thumb-tag { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.news-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.news-body small { color: var(--ink-3); font-weight: 500; }
.news-excerpt { color: var(--ink-3); font-size: 15px; }

/* Visit. */
.visit .map { box-shadow: 0 20px 40px rgba(21, 40, 80, 0.12); border: 1px solid rgba(21, 40, 80, 0.08); }
.hours { background: rgba(255, 255, 255, 0.6); border-radius: 18px; padding: 18px 22px; }

/* Footer: no underlines until hover. */
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .contact a { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 46px; height: 46px; }
@media (max-width: 640px) { .band .photo { min-height: 340px; } .band .wrap { gap: 36px; } .section-title { margin-bottom: 32px; } }

/* ===== Inner pages ===== */
.h3 { font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.3px; }

/* Page hero: the page's photo full width with the title in a dark glass box, like the home banner. */
.page-hero { position: relative; background: var(--navy-deep); color: var(--white); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; min-height: clamp(400px, 56vh, 560px); display: flex; align-items: flex-end; padding-top: 48px; padding-bottom: 56px; }
.page-hero.no-photo .wrap, .page-hero.is-compact .wrap { min-height: 0; padding-top: 56px; padding-bottom: 64px; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; animation: hero-settle 12s ease-out both; }
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 14, 0.66) 0%, rgba(5, 8, 14, 0.2) 45%, rgba(5, 8, 14, 0.05) 70%); }
.page-hero-panel { width: min(680px, 100%); display: flex; flex-direction: column; gap: 14px; }
.has-photo .page-hero-panel { padding: 24px 30px 28px; border-radius: 22px; background: rgba(8, 12, 20, 0.48); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .has-photo .page-hero-panel { background: rgba(8, 12, 20, 0.74); } }
.no-photo { background: radial-gradient(120% 140% at 100% 0%, #2C4A80 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.page-hero h1 { color: var(--white); font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.8px; text-wrap: balance; }
.page-hero-intro { font-size: clamp(17px, 1.3vw, 20px); color: #EEF2F7; max-width: 52ch; }
.page-hero-kicker { font-weight: 600; color: var(--gold); }
.page-hero .btn-row { margin-top: 6px; }
.page-hero .crumbs { color: #D5DFEA; }
.page-hero .crumbs a { color: #D5DFEA; }
@media (max-width: 700px) {
  .page-hero.has-photo .wrap { min-height: 0; padding: 0 12px 28px; display: block; }
  .page-hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .page-hero-media::after { background: linear-gradient(0deg, rgba(5, 8, 14, 0.45) 0%, rgba(5, 8, 14, 0) 45%); }
  .has-photo .page-hero-panel { margin-top: -40px; padding: 20px 20px 22px; border-radius: 18px; background: rgba(13, 20, 36, 0.92); }
  .page-hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .page-hero-media img { animation: none; } }

/* Text with a side column. */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.article-main { min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.article-aside { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; gap: 48px; } .article-aside { position: static; } }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 14px 34px rgba(21, 40, 80, 0.07); }
.aside-card h2 { font-size: 22px; line-height: 1.2; }
.aside-card p { color: var(--ink-2); font-size: 16px; }
.aside-actions { display: flex; flex-direction: column; gap: 10px; }
.aside-actions .btn { width: 100%; white-space: normal; text-align: center; }
.aside-hours { margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.aside-hours dt { font-weight: 600; color: var(--navy); }
.aside-hours dd { margin: 0; color: var(--ink-2); }
.aside-links { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 22px 26px; }
.aside-links h2 { font-size: 15px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.aside-links a { text-decoration: none; padding: 9px 0; border-top: 1px solid var(--line); color: var(--navy); font-weight: 500; }
.aside-links h2 + a { border-top: 0; }
.aside-links a:hover, .aside-links a[aria-current] { color: var(--green); }
.aside-links a[aria-current]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin: 0 8px 2px 0; }
.aside-stats dl { margin: 0; display: grid; gap: 14px; }
.aside-stats dl div { display: flex; flex-direction: column; padding-top: 14px; border-top: 1px solid var(--line); }
.aside-stats dl div:first-child { border-top: 0; padding-top: 0; }
.aside-stats dt { font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.05; letter-spacing: -0.5px; }
.aside-stats dd { margin: 0; color: var(--ink-3); font-size: 15px; }

/* Rich text: calmer rhythm, tick lists and numbered steps. */
.prose { max-width: 70ch; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.05em; }
.prose > p:first-child { font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; margin-top: 1.8em; letter-spacing: -0.3px; }
.prose h3 { font-size: 21px; margin-top: 1.5em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose a { font-weight: 500; }
.prose strong { color: var(--ink); }
.prose ul { list-style: none; padding: 0; }
.prose ul > li { position: relative; padding-left: 32px; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14.2 7' fill='none' stroke='%231E5128' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.prose ol { list-style: none; padding: 0; counter-reset: step; }
.prose ol > li { position: relative; padding-left: 44px; counter-increment: step; min-height: 30px; }
.prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 0.05em; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.prose li + li { margin-top: 0.55em; }
.prose img { border-radius: 18px; height: auto; }
.prose figure { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--green); color: var(--ink-2); font-style: italic; }
@media (max-width: 640px) { .prose { font-size: 17px; } .prose > p:first-child { font-size: 18px; } }

/* Blocks inside the main column. */
.block { display: flex; flex-direction: column; gap: 22px; }
.check-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.check-grid li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 52px; display: flex; flex-direction: column; gap: 2px; }
.check-grid li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14.2 7' fill='none' stroke='%231E5128' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.check-grid strong { color: var(--navy); font-size: 17px; }
.check-grid span { color: var(--ink-3); font-size: 15px; }
.tiles-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tiles-2 .tile { background: var(--white); border: 1px solid var(--line); padding: 22px 24px; gap: 6px; border-radius: 18px; }
.tiles-2 .tile h3 { font-size: 19px; }
.tiles-2 .tile p { font-size: 15px; color: var(--ink-3); }
.note-line { margin-top: 40px; color: var(--ink-3); }

/* Card grids. */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
@media (max-width: 400px) { .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; } }
.photo-card, .story-card, .cond-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.photo-card:hover, .story-card:hover, .cond-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(21, 40, 80, 0.10); color: var(--ink); }
.photo-card-media, .story-media, .cond-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(150deg, #EEF2F7 0%, #DCE6EF 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo-card-media img, .story-media img, .cond-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-card:hover .photo-card-media img, .story-card:hover .story-media img { transform: scale(1.04); }
.photo-card-media .thumb-logo, .story-media .thumb-logo, .cond-media .thumb-logo, .mini-thumb .thumb-logo { position: static; width: 72px; height: 72px; object-fit: contain; opacity: 0.55; transform: none; }
.photo-card-body, .story-body, .cond-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1 1 auto; }
.photo-card-body strong, .story-body strong, .cond-body strong { font-size: 22px; line-height: 1.25; color: var(--navy); }
.photo-card-body > span, .cond-body > span { color: var(--ink-3); font-size: 16px; }
.photo-card em, .story-card em, .cond-card em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 600; font-size: 15px; color: var(--green); }
.story-body small { color: var(--ink-3); font-weight: 500; font-size: 14px; }
.story-media { aspect-ratio: 4 / 3; }
.story-media img { object-position: 50% 20%; }
.story-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
@media (max-width: 400px) { .mini-grid { grid-template-columns: 1fr; } }
.mini-card { display: flex; gap: 16px; align-items: center; padding: 12px; padding-right: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--ground); text-decoration: none; color: var(--ink); transition: border-color 0.2s ease, background 0.2s ease; }
.mini-card:hover { border-color: var(--navy); background: var(--white); color: var(--ink); }
.mini-thumb { position: relative; flex: 0 0 96px; height: 96px; border-radius: 12px; overflow: hidden; background: linear-gradient(150deg, #EEF2F7 0%, #DCE6EF 100%); display: flex; align-items: center; justify-content: center; }
.mini-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-thumb .thumb-logo { width: 46px; height: 46px; }
.mini-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini-text strong { font-size: 18px; color: var(--navy); }
.mini-text span { font-size: 15px; color: var(--ink-3); line-height: 1.45; }
.mini-card:hover strong { color: var(--green); }

/* People grids and profile pages. */
.people-lg { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 28px; }
@media (max-width: 560px) { .people, .people-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } .person strong { font-size: 16px; } .person span { font-size: 14px; } }
.person .portrait img { object-position: 50% 20%; }
.crumbs-dark, .crumbs-dark a { color: var(--ink-3); }
.crumbs-dark li + li::before { color: var(--line-2); }
.profile { background: var(--white); border-bottom: 1px solid var(--line); }
.profile .wrap { padding-top: 32px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 36px; }
.profile-grid { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: 64px; align-items: start; }
.profile-photo { position: sticky; top: 112px; }
.profile-photo .portrait { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--photo); box-shadow: 0 30px 60px rgba(21, 40, 80, 0.16); }
.profile-photo .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.profile-photo .portrait-empty { background: linear-gradient(160deg, #2C4A80 0%, #203A6C 55%, #152850 100%); }
.profile-photo .portrait-story { aspect-ratio: 4 / 4.4; background: #0B1220; }
.profile-photo .portrait-story img { object-fit: contain; }
.profile-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.profile-main h1 { font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.8px; text-wrap: balance; }
.profile-role { font-size: 20px; color: var(--green); font-weight: 600; margin-top: -8px; }
.facts { margin: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--ground); }
.facts div { padding: 14px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.profile-bio { margin-top: 12px; }
@media (max-width: 860px) { .profile-grid { grid-template-columns: 1fr; gap: 32px; } .profile-photo { position: static; max-width: 380px; } }
.video-tall { flex: none; width: 100%; aspect-ratio: 16 / 10; }

/* News list and article pages. */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-chips a { text-decoration: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 15px; font-weight: 500; color: var(--navy); }
.filter-chips a:hover { border-color: var(--navy); }
.filter-chips a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.news-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--ink); margin-bottom: 32px; transition: box-shadow 0.2s ease; }
.news-lead:hover { box-shadow: 0 20px 44px rgba(21, 40, 80, 0.12); color: var(--ink); }
.news-lead-media { position: relative; min-height: 340px; background: linear-gradient(150deg, #EEF2F7 0%, #DCE6EF 100%); display: flex; align-items: center; justify-content: center; }
.news-lead-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-lead-media .thumb-logo { position: static; width: 90px; height: 90px; opacity: 0.55; }
.news-lead-body { display: flex; flex-direction: column; gap: 12px; padding: 36px; justify-content: center; }
.news-lead-body small { color: var(--ink-3); font-weight: 500; }
.news-lead-body strong { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; color: var(--navy); letter-spacing: -0.3px; }
.news-lead-body > span { color: var(--ink-3); }
.news-lead-body em { font-style: normal; font-weight: 600; color: var(--green); }
@media (max-width: 860px) { .news-lead { grid-template-columns: 1fr; } .news-lead-media { min-height: 0; aspect-ratio: 16 / 9; } .news-lead-body { padding: 24px; } }
.news-card .thumb img { object-position: 50% 30%; }
.article-head { background: var(--white); border-bottom: 1px solid var(--line); }
.article-head .wrap { padding-top: 32px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.article-head h1 { font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.8px; max-width: 24ch; text-wrap: balance; }
.article-meta { color: var(--ink-3); font-weight: 500; }
.article-section { padding-top: 56px; }
.article-main .article-figure { margin: 0; }
.article-figure img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 20px 44px rgba(21, 40, 80, 0.12); }
.article-video { flex: none; width: 100%; }
.article-main > .prose + .article-back, .article-back { margin-top: -24px; font-weight: 600; }
.pager a[rel] { padding: 0 18px; }

/* FAQ pages. */
.faq-layout { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.faq-layout .section-title { margin: 0; position: sticky; top: 112px; }
.faq-layout .faq { max-width: none; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-title { position: static; } }
.faq details:first-child { padding-top: 4px; }
.faq summary { font-size: 18px; }
.faq-groups { display: flex; flex-direction: column; gap: 56px; max-width: 900px; }
.faq-group { scroll-margin-top: 110px; display: flex; flex-direction: column; gap: 8px; }

/* Contact. */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.contact-card svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--green-soft); color: var(--green); margin-bottom: 6px; }
.contact-card h2 { font-size: 18px; }
.contact-number { font-size: 26px; font-weight: 700; text-decoration: none; color: var(--navy); letter-spacing: -0.3px; }
.contact-card p { color: var(--ink-3); font-size: 15px; }
.contact-card.is-urgent { background: #FBE9E7; border-color: #F1C4BD; }
.contact-card.is-urgent svg { background: #F6D3CD; color: #9B2C1E; }
.contact-card.is-urgent h2, .contact-card.is-urgent .contact-number { color: #7A1E12; }

/* About: photo mosaic and awards. */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.mosaic figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; background: var(--photo); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 150px 150px; } .mosaic figure:first-child { grid-column: 1 / -1; grid-row: auto; } .mosaic figure:nth-child(n+6) { display: none; } }
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.awards li { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.awards b { font-size: 34px; color: var(--gold); line-height: 1; letter-spacing: -0.5px; }
.awards span { color: var(--ink-2); }

/* International patients: the journey in four stages. */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.journey > li { background: var(--ground); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.journey .step-no { margin: 0 0 4px; width: 46px; height: 46px; }
.journey > li:last-child .step-no { background: var(--green); border-color: var(--green); color: var(--white); }
.journey h3 { font-size: 21px; }
.journey ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); font-size: 15px; }
.journey ul li { padding-left: 16px; position: relative; }
.journey ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@media (max-width: 1100px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .journey { grid-template-columns: 1fr; } }

/* Billing: ways to pay. */
.pay-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.pay-methods { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pay-methods li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--ground); border: 1px solid var(--line); }
.pay-methods svg { width: 28px; height: 28px; color: var(--green); flex: 0 0 auto; }
.pay-methods strong { color: var(--navy); font-size: 16px; }
@media (max-width: 900px) { .pay-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Volunteer: a quote. */
.quote { margin: 0; padding: 30px 34px; background: var(--navy); color: var(--white); border-radius: 24px; display: flex; flex-direction: column; gap: 14px; max-width: 70ch; }
.quote blockquote { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 500; }
.quote blockquote p::before { content: "“"; color: var(--gold); }
.quote blockquote p::after { content: "”"; color: var(--gold); }
.quote figcaption { color: #C9D5E2; font-size: 15px; }

/* Medical conditions. */
.cond-media { aspect-ratio: 16 / 9; }
.cond-media img { object-position: 50% 30%; }

/* Photo gallery and lightbox. */
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 14px; }
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.gallery a { display: block; border-radius: 18px; overflow: hidden; background: var(--photo); }
.gallery img { width: 100%; height: auto; transition: transform 0.5s ease; }
.gallery a:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 8, 14, 0.88); }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 14px; margin: 0 auto; }
.lightbox p { color: #EEF2F7; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(8, 12, 20, 0.6); color: var(--white); font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox-close { top: -8px; right: -8px; }
.lightbox-prev { left: 8px; top: 40%; }
.lightbox-next { right: 8px; top: 40%; }

/* Video gallery. */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
@media (max-width: 400px) { .video-grid { grid-template-columns: 1fr; } }
.video-item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.video-item .video { flex: none; width: 100%; }
.video-item figcaption { font-weight: 600; color: var(--navy); font-size: 18px; }

/* Header: the About menu. */
.nav-group { position: relative; }
.nav-group-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: none; font: inherit; font-weight: 500; color: var(--navy); cursor: pointer; }
.nav-group-toggle svg { transition: transform 0.2s ease; }
.nav-group.open .nav-group-toggle svg { transform: rotate(180deg); }
.nav-group-toggle.is-current { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); }
.nav-menu { display: none; position: absolute; top: calc(100% + 10px); left: -18px; min-width: 240px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 44px rgba(21, 40, 80, 0.14); z-index: 10; }
.nav-group.open .nav-menu { display: flex; flex-direction: column; }
.nav-menu a { padding: 10px 12px; border-radius: 10px; }
.nav-menu a:hover { background: var(--ground); }
.nav .nav-menu a[aria-current="page"] { box-shadow: none; background: var(--green-soft); }
@media (hover: hover) and (min-width: 1221px) { .nav-group:hover .nav-menu { display: flex; flex-direction: column; } .nav-group:hover .nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } }
@media (max-width: 1220px) {
  .nav-group-toggle { width: 100%; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
  .nav-group-toggle.is-current { box-shadow: none; }
  .nav-menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .nav-menu a { border-top: 0 !important; padding: 9px 0; }
}

/* Review fixes */
.facts { display: flex; flex-wrap: wrap; }
.facts div { flex: 1 1 200px; }
.profile-photo .portrait-story { background: var(--white); border: 1px solid var(--line); }
.featured-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.featured-5 > * { grid-column: span 2; }
.featured-5 > :nth-child(n+4) { grid-column: span 3; }
.featured-5 > :nth-child(n+4) .photo-card-media { aspect-ratio: 16 / 8; }
@media (max-width: 1000px) { .featured-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .featured-5 > * { grid-column: auto !important; } .featured-5 > :first-child { grid-column: 1 / -1 !important; } .featured-5 > :nth-child(n+4) .photo-card-media { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .featured-5 { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .aside-links.is-long { display: none; } }
.has-photo .page-hero-panel { width: min(600px, 100%); }
@media (min-width: 1221px) { .nav { margin-left: auto; gap: 4px 20px; } }

/* ===== Forms: appointment request, job application, payment (layout of the HMS portal pages) ===== */
.form-section { padding-top: 56px; }
.form-card { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(21, 40, 80, 0.10); }
.form-card-narrow { max-width: 560px; }
.form-card-head { background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%); color: var(--white); padding: 26px 32px; }
.form-card-head h2 { color: var(--white); font-size: clamp(24px, 2.4vw, 30px); }
.form-card-head p { color: #DCE6EF; margin-top: 4px; }
.form-card-body { padding: 28px 32px 34px; }
@media (max-width: 600px) { .form-card-head { padding: 22px 20px; } .form-card-body { padding: 22px 18px 26px; } }
.form-hint { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.form-aside { max-width: 760px; margin: 20px auto 0; text-align: center; color: var(--ink-3); font-size: 15px; }
.hms-form { display: flex; flex-direction: column; gap: 20px; }
.hms-form .field { display: flex; flex-direction: column; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.hms-form legend, .hms-form label, .hms-form .label { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; }
.hms-form legend { margin-bottom: 8px; }
.hms-form input:not([type=radio]):not([type=file]), .hms-form select, .hms-form textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); }
.hms-form textarea { min-height: 110px; resize: vertical; }
.hms-form input:focus, .hms-form select:focus, .hms-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(32, 58, 108, 0.16); }
.hms-form [aria-invalid="true"] { border-color: #B3261E !important; }
.hms-form small { font-size: 13px; color: var(--ink-3); }
.hms-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .hms-form .two { grid-template-columns: 1fr; } }
.with-icon { position: relative; }
.with-icon > svg { position: absolute; left: 14px; top: 25px; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: #8794A3; stroke-width: 1.8; pointer-events: none; }
.with-icon > input, .with-icon > select, .with-icon > textarea { padding-left: 42px !important; }
.with-icon.is-area > svg { top: 24px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 16px; cursor: pointer; background: var(--white); transition: border-color 0.15s ease, background 0.15s ease; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { background: var(--ground); }
.choice-icon { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: #EEF1F4; color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; }
.choice-icon svg { width: 20px; height: 20px; }
.choice strong { display: block; color: var(--ink); font-size: 16px; }
.choice small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 400; }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.choice:has(input:checked) .choice-icon { background: var(--green); color: var(--white); }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.sub-field { margin-top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; min-height: 54px; font-size: 17px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-white { background: var(--white); color: var(--navy); font-weight: 700; }
.btn-white:hover { background: #EEF2F7; color: var(--navy); }
.btn-danger { background: #FBE9E7; color: #7A1E12; border-color: #F1C4BD; }
.btn-danger:hover { background: #F7DAD5; color: #7A1E12; }
.field-error { color: #B3261E; font-size: 14px; font-weight: 500; }
.form-alert { background: #FBE9E7; color: #7A1E12; border: 1px solid #F1C4BD; border-radius: 14px; padding: 14px 16px; font-size: 15px; margin-bottom: 18px; }
.form-alert a { color: inherit; font-weight: 600; }
.form-alert-wait { background: #FFF4DD; color: #6B4A00; border-color: #F2DDA4; }
.form-ok { background: var(--green-soft); color: var(--green); border: 1px solid #C5DCC8; border-radius: 14px; padding: 14px 16px; margin: 18px 0; font-weight: 600; }
.form-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 10px 0; }
.form-done > svg { width: 60px; height: 60px; color: var(--green); background: var(--green-soft); border-radius: 50%; padding: 12px; margin-bottom: 6px; }
.form-done h3 { font-size: 24px; }
.form-done p { color: var(--ink-2); max-width: 46ch; }
.form-done .btn-row { justify-content: center; margin-top: 12px; }
.form-ref { font-size: 15px; }
.cf-turnstile { min-height: 65px; }
.secure-note { font-size: 13px; color: var(--ink-3); }
.file-box { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; background: var(--white); }
.file-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.file-head strong { font-size: 15px; color: var(--ink); }
.file-box input[type=file] { font: inherit; font-size: 14px; color: var(--ink-3); max-width: 100%; }
.file-box input[type=file]::file-selector-button { margin-right: 12px; padding: 9px 16px; border-radius: 999px; border: 0; background: var(--green-soft); color: var(--green); font-weight: 600; cursor: pointer; }
.plain-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); font-size: 15px; }

/* Careers: the HMS job portal's layout in the website's colours. */
.careers-hero { background: radial-gradient(120% 140% at 100% 0%, #2C4A80 0%, var(--navy) 42%, var(--navy-deep) 100%); color: var(--white); position: relative; overflow: hidden; }
.careers-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 36px 36px; pointer-events: none; }
.careers-hero .wrap { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 22px; }
.careers-hero h1 { color: var(--white); font-weight: 800; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -1px; max-width: 18ch; text-wrap: balance; }
.careers-hero p { color: #DCE6EF; font-size: 18px; max-width: 56ch; }
.careers-hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: center; text-align: center; padding: 36px 0 12px; }
.careers-hero-copy .btn-row { justify-content: center; }
.careers-hero-copy .btn svg { flex: 0 0 auto; }
.careers-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.careers-stats > div { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.careers-stats span { font-size: 14px; font-weight: 600; color: #C9D5E2; }
.careers-stats strong { font-size: 32px; font-weight: 800; line-height: 1.1; }
.careers-stats small { color: #C9D5E2; font-size: 14px; }
@media (max-width: 760px) { .careers-stats { grid-template-columns: 1fr; } }
.careers-filter { position: relative; z-index: 2; margin-top: -30px; }
.filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) 280px auto; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 20px 44px rgba(21, 40, 80, 0.12); }
.filter-bar input, .filter-bar select { width: 100%; min-height: 50px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 16px; font: inherit; background: var(--white); }
@media (max-width: 860px) { .filter-bar { grid-template-columns: 1fr; } }
.careers-list { padding-top: 56px; }
.careers-list-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.count-pill { background: var(--green-soft); color: var(--green); font-weight: 600; font-size: 14px; padding: 5px 12px; border-radius: 999px; }
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
@media (max-width: 400px) { .job-grid { grid-template-columns: 1fr; } }
.job-card { display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px 24px 0; text-decoration: none; color: var(--ink); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.job-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(21, 40, 80, 0.12); color: var(--ink); }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.job-icon { width: 46px; height: 46px; border-radius: 14px; background: #EEF2F7; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease; }
.job-icon svg, .empty-state svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.job-card:hover .job-icon { background: var(--navy); color: var(--white); }
.job-card strong { font-size: 21px; line-height: 1.25; color: var(--navy); }
.job-card:hover strong { color: var(--green); }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-3); }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: #EEF1F4; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-gold { background: #FFF4DD; color: #6B4A00; }
.job-excerpt { font-size: 15px; color: var(--ink-3); }
.job-card-foot { margin: auto -24px 0; padding: 14px 24px; background: var(--ground); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.job-card-foot small { color: var(--ink-3); font-size: 13px; }
.job-card-foot em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--green); }
.empty-state { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 56px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-state svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: #EEF1F4; color: var(--ink-3); }
.empty-state p { color: var(--ink-3); max-width: 48ch; }
.back-link { color: #C9D5E2; text-decoration: none; font-weight: 500; }
.back-link:hover { color: var(--white); }
.pill-light { align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.16); color: #DCE6EF; font-size: 14px; font-weight: 600; }
.job-hero h1, .track-hero h1 { max-width: 24ch; }
.job-highlights { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.job-highlights li { padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 15px; font-weight: 600; color: #EEF2F7; }
.job-body { padding-top: 48px; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
@media (max-width: 1050px) { .job-layout { grid-template-columns: 1fr; } }
.job-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 14px 34px rgba(21, 40, 80, 0.06); display: flex; flex-direction: column; gap: 14px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px; }
.job-dates { display: flex; flex-wrap: wrap; gap: 8px; }
.h4 { font-size: 20px; }
.job-aside { position: sticky; top: 112px; scroll-margin-top: 110px; }
@media (max-width: 1050px) { .job-aside { position: static; } }
.apply-panel { padding: 0; overflow: hidden; gap: 0; }
.apply-overview { padding: 22px 24px; background: var(--ground); border-bottom: 1px solid var(--line); }
.apply-overview h2, .apply-form h2 { font-size: 20px; margin-bottom: 14px; }
.apply-overview dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.apply-overview dl div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.apply-overview .wide { grid-column: 1 / -1; }
.apply-overview dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.apply-overview dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.apply-form { padding: 24px; }
.tracking-code { width: 100%; background: #EEF2F7; border: 1px solid #D5DFEA; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.tracking-code span { font-size: 14px; font-weight: 600; color: var(--navy); }
.tracking-code strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 30px; letter-spacing: 3px; color: var(--navy-deep); }
.tracking-code small { color: var(--ink-3); }
.form-done .aside-actions { width: 100%; }

/* Application tracker. */
.track-hero .wrap { align-items: flex-start; }
.track-section { padding-top: 40px; }
.track-panel { max-width: none; }
.track-form { display: flex; flex-direction: column; gap: 8px; }
.track-form label { font-weight: 600; }
.track-row { display: flex; gap: 10px; }
.track-row input { flex: 1 1 auto; min-width: 0; min-height: 54px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 16px; font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; letter-spacing: 3px; text-transform: uppercase; }
.track-row .btn { min-width: 120px; }
.track-form small { color: var(--ink-3); font-size: 14px; }
.track-panel .form-alert { margin: 6px 0 0; }
.track-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .track-grid { grid-template-columns: 1fr; } }
.track-main, .track-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.status-box { border-radius: 22px; padding: 24px 26px; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.status-box h2 { font-size: 26px; }
.status-box p { color: var(--ink-2); }
.status-box .kicker { color: var(--ink-3); font-size: 14px; }
.tone-green { background: var(--green-soft); border-color: #C5DCC8; }
.tone-red { background: #FBE9E7; border-color: #F1C4BD; }
.tone-blue { background: #EEF2F7; border-color: #D5DFEA; }
.tone-gold { background: #FFF4DD; border-color: #F2DDA4; }
.tone-gray { background: var(--white); }
.progress-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.progress-steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--ink-3); font-size: 15px; }
.progress-steps span { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; background: #EEF1F4; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.progress-steps .is-done { color: var(--navy); }
.progress-steps .is-done span { background: var(--navy); color: var(--white); }
.progress-steps .is-current { border-color: var(--navy); }
@media (max-width: 640px) { .progress-steps { grid-template-columns: 1fr 1fr; } }
.timeline-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.timeline-list li:first-child { border-top: 0; }
.timeline-list time { color: var(--ink-3); font-size: 14px; }

/* Payment. */
.pay-layout { display: grid; grid-template-columns: minmax(0, 760px) 320px; gap: 28px; justify-content: center; align-items: start; }
.pay-layout .form-card { margin: 0; }
@media (max-width: 1100px) { .pay-layout { grid-template-columns: 1fr; } .pay-layout .form-card { margin: 0 auto; width: 100%; } .pay-aside { max-width: 760px; margin: 0 auto; width: 100%; } }
.receipt-list { margin: 20px 0 22px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.receipt-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.receipt-list div:first-child { border-top: 0; }
.receipt-list dt { color: var(--ink-3); }
.receipt-list dd { margin: 0; text-align: right; font-weight: 500; }
@media print { .topbar, .site-header, .site-footer, .page-hero, .receipt .btn-row { display: none !important; } .form-card { box-shadow: none; border: 0; } }
[hidden] { display: none !important; }
.pay-online { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 0 0 22px; color: var(--ink-3); }

/* Footer: four columns of links; on phones the footer is hidden (the menu has every page). */
.site-footer .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .site-footer { display: none; } }
.nav-more { display: none; }
@media (max-width: 700px) {
  .nav-more { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 6px; }
  .nav-more span { font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 10px 0 2px; }
  .nav .nav-more a { border-top: 0; padding: 9px 0; }
}
.brand img { width: 64px; height: 64px; }
.site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 640px) { .brand img { width: 56px; height: 56px; } }

/* ===== Header, modern version ===== */
/* Top bar: one slim line. */
.topbar { font-size: 14px; }
.topbar .wrap { padding-top: 7px; padding-bottom: 7px; flex-wrap: nowrap; }
.emergency-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 999px; background: rgba(229, 72, 77, 0.16); border: 1px solid rgba(255, 140, 140, 0.35); color: var(--white) !important; font-weight: 600; white-space: nowrap; }
.emergency-pill .dot { width: 8px; height: 8px; margin: 0; border-radius: 50%; background: #FF6B6B; box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); animation: pulse-dot 2.2s ease-out infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255, 107, 107, 0); } }
@media (prefers-reduced-motion: reduce) { .emergency-pill .dot { animation: none; } }
.topbar .links { align-items: center; gap: 4px 22px; flex-wrap: nowrap; white-space: nowrap; }
.tb-social { display: inline-flex; gap: 2px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.tb-social a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #C9D5E2 !important; }
.tb-social a:hover { background: rgba(255, 255, 255, 0.12); color: var(--white) !important; }
@media (max-width: 900px) { .topbar .links { display: none; } .topbar .wrap { justify-content: center; } }

/* Header: frosted white; logo eases smaller once you scroll. */
.site-header { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(21, 40, 80, 0.08); transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; z-index: 20; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--white); } }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(21, 40, 80, 0.10); }
.brand img { transition: transform 0.3s ease; transform-origin: left center; }
.site-header.is-scrolled .brand img { transform: scale(0.78); }

/* Menu items: a soft pill on hover and for the current page. */
@media (min-width: 1221px) {
  .nav { gap: 2px; }
  .nav > a, .nav-group-toggle { padding: 8px 13px; border-radius: 999px; transition: background 0.15s ease, color 0.15s ease; }
  .nav > a:hover, .nav-group-toggle:hover, .nav-group.open .nav-group-toggle { background: #EEF2F7; color: var(--navy); }
  .nav > a[aria-current="page"], .nav-group-toggle.is-current { background: var(--green-soft); color: var(--green); box-shadow: none; }
}

/* Phones: a full-screen menu, and Call / Book always at hand at the bottom. */
@media (max-width: 1220px) {
  .site-header.open .nav { position: fixed; top: var(--menu-top, 77px); left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: var(--white); overflow-y: auto; padding: 8px 24px 120px; }
  .site-header.open .nav > a, .site-header.open .nav-group-toggle { font-size: 20px; font-weight: 600; padding: 15px 0; }
  .site-header.open .nav-menu a { font-size: 17px; }
  .site-header.open .header-cta { display: none; }
  body.menu-open { overflow: hidden; }
}
.mobile-actions { display: none; }
@media (max-width: 700px) {
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(21, 40, 80, 0.08); }
  .mobile-actions .btn { min-height: 48px; padding: 10px 18px; }
  body { padding-bottom: 76px; }
}
.site-header.open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
/* Phones: the bottom bar offers Direct Call and Book Appointment, so the banner shows no buttons. */
@media (max-width: 700px) { .banner-copy .btn-row { display: none; } }
.mobile-actions { grid-template-columns: 1fr 1fr; }
.mobile-actions .btn { padding: 10px 12px; font-size: 16px; white-space: nowrap; }
@media (max-width: 360px) { .mobile-actions .btn { font-size: 15px; padding: 10px 8px; } .mobile-actions .btn svg { display: none; } }
