/* Working-group corrections. Preserve the existing page structure and animation. */
:root { --muted: #52646e; --emerald: #456b28; }
body { cursor: auto; }
a, button, summary { cursor: pointer; }
.cursor { display: none; }
.site-header {
  background: #f8fbf5;
  color: #263369;
  border-color: #dce5d5;
  backdrop-filter: none;
  box-shadow: 0 8px 28px #101e3c1a;
}
.medsi-brand { flex: 0 0 152px; width: 152px; }
.medsi-brand img { width: 152px; height: 51px; max-height: none; object-fit: contain; }
.status { color: #45652d; }
.status span { background: #689743; box-shadow: none; animation: none; }
.nav { color: #29396a; }
.nav a:hover { color: #426427; }
.menu-button { color: #29396a; background: #edf3e8; border-color: #d1ddc8; flex-shrink: 0; }
.appointment, .primary {
  color: #233518;
  background: #d9edb9;
  box-shadow: none;
}
.appointment:hover, .primary:hover { background: #c9e59e; }
.secondary { color: #263369; background: #edf2fb; border-color: #d6dfed; }
.secondary:hover { background: #dce6f6; }
.preloader { background: #f8fbf5; }
.preloader-logo { border: 0; border-radius: 0; width: 210px; height: auto; box-shadow: none; animation: none; }
.preloader-logo img { width: 210px; }
.doctor-grid { align-items: start; gap: 28px; }
.doctor-card { padding: 20px; border: 1px solid #dce4df; box-shadow: none; backdrop-filter: none; border-radius: 16px; background: #fff; }
.doctor-photo { aspect-ratio: 4 / 5; border-radius: 10px; background: #f0f2ed; }
.doctor-photo img { object-fit: cover; object-position: center 25%; min-height: 0; }
.doctor-photo.large { aspect-ratio: 4 / 5; }
.doctor-card span { color: #456b28; letter-spacing: .035em; }
.doctor-card h3 { overflow-wrap: anywhere; }
.doctor-bio { white-space: pre-line; font-size: .96rem; line-height: 1.65; }
.doctor-booking { display: inline-flex; align-items: center; min-height: 44px; color: #2c347f; text-decoration: underline; text-underline-offset: 5px; font-weight: 700; }
.doctor-booking:hover { color: #456b28; }
.clinical-details { background: #fff; }
.clinical-article + .clinical-article { margin-top: 60px; padding-top: 48px; border-top: 1px solid #dce4df; }
.clinical-article > h2, .clinic-tour h2 { max-width: 24ch; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.13; margin-bottom: 20px; text-wrap: balance; }
.clinical-article > p { max-width: 72ch; color: var(--muted); line-height: 1.75; }
.clinical-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 28px 0; }
.clinical-columns h3 { font-size: 1.2rem; margin-bottom: 16px; }
.clinical-columns ul { margin: 0; padding-left: 22px; color: var(--muted); }
.clinical-columns li { padding-left: 4px; line-height: 1.7; margin: 8px 0; }
.clinical-columns li::marker { color: #456b28; }
.clinical-note { margin-bottom: 12px; }
.clinic-tour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: 56px; align-items: center; background: #eef4e9; }
.clinic-tour p { max-width: 48ch; line-height: 1.75; color: var(--muted); }
.clinic-tour video { display: block; width: 100%; aspect-ratio: 464 / 832; max-height: 580px; background: #172521; object-fit: contain; border-radius: 12px; }
.map-card { background: #eef4e9; color: #263369; box-shadow: none; }
.map-card p { color: #52646e; line-height: 1.7; }
.map-card .primary { justify-self: start; }
.checkups-pin { min-height: auto; }
.checkup-track { width: 100%; overflow-x: auto; padding-bottom: 24px; scroll-snap-type: x mandatory; }
.checkup-card { flex: 0 0 min(350px, 82vw); scroll-snap-align: start; }
:focus-visible { outline: 3px solid #8cba51; outline-offset: 5px; }
::selection { background: #d9edb9; color: #172521; }
@media (max-width: 1100px) { .nav { background: #f8fbf5; border: 1px solid #dce5d5; } }
@media (max-width: 900px) and (min-width: 641px) { .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .medsi-brand { width: 122px; flex-basis: 122px; }
  .medsi-brand img { width: 122px; height: 41px; }
  .site-header { gap: 8px; padding: 10px; }
  .menu-button { width: 40px; height: 40px; }
  .clinical-columns, .clinic-tour { grid-template-columns: 1fr; gap: 24px; }
  .clinic-tour video { max-width: 330px; justify-self: center; }
  .doctor-photo { aspect-ratio: 4 / 5; }
  .hero h1, .page-hero h1, .service-hero h1 { font-size: clamp(2.3rem, 9vw, 3.15rem); overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
