:root {
  --primary: #8f123b;
  --primary-dark: #64102e;
  --accent: #d6a547;
  --ink: #24272b;
  --muted: #656b72;
  --line: #dedfe1;
  --surface: #f5f3f1;
  --white: #fff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(36, 39, 43, 0.1);
}

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

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span,
.footer-brand div {
  display: flex;
  flex-direction: column;
}

.brand strong {
  color: var(--primary-dark);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 17px;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-light {
  color: var(--primary-dark);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--primary-dark);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.button-large {
  min-width: 210px;
  min-height: 54px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 78px));
  overflow: hidden;
  background: var(--primary-dark);
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 26%;
  filter: saturate(0.84) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(49, 5, 23, 0.68);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(660px, calc(100% - 48px));
  min-height: min(690px, calc(100vh - 78px));
  margin: 0 auto 0 max(24px, calc((100vw - var(--max)) / 2));
  padding: 70px 0 84px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-heading-light .eyebrow {
  color: #f2c974;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
}

h1 {
  max-width: 720px;
  margin-bottom: 6px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.08;
}

.hero-tagline {
  margin-bottom: 24px;
  color: #f2c974;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(20px, 3vw, 31px);
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.emergency-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #f2c974;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(242, 201, 116, 0.16);
}

.quick-info {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(var(--max), calc(100% - 48px));
  margin: -44px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(36, 39, 43, 0.12);
}

.quick-info > div {
  display: flex;
  min-height: 110px;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
}

.quick-info > div + div {
  border-left: 1px solid var(--line);
}

.quick-info p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.quick-info small {
  color: var(--muted);
  font-size: 12px;
}

.quick-info strong,
.quick-info a {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.quick-icon,
.service-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.quick-icon svg {
  width: 28px;
  height: 28px;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 44px;
}

.section-heading h2,
.appointment-section h2,
.contact-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
}

.section-heading > p:last-child,
.appointment-section > div > p:last-child {
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 250px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  background: #f9eef2;
  border-radius: 50%;
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hospital-tour {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: 68px;
  max-width: 100%;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 10px 0 110px;
  overflow: hidden;
}

.hospital-tour-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
}

.hospital-tour-copy,
.hospital-video {
  min-width: 0;
}

.hospital-tour-copy > p:last-of-type {
  color: var(--muted);
}

.hospital-tour-copy dl {
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.hospital-tour-copy dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.hospital-tour-copy dt {
  color: var(--muted);
  font-size: 12px;
}

.hospital-tour-copy dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.hospital-video {
  max-width: 100%;
  overflow: hidden;
  background: #111;
  box-shadow: 0 20px 50px rgba(36, 39, 43, 0.18);
}

.hospital-video video {
  display: block;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: cover;
}

.doctors-section {
  color: var(--white);
  background: var(--ink);
}

.doctors-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading-light {
  color: var(--white);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.doctor-item {
  position: relative;
  display: grid;
  grid-template-columns: 122px 1fr;
  min-height: 300px;
  align-items: center;
  gap: 28px;
  padding: 36px;
  background: #303439;
}

.doctor-item img,
.doctor-monogram {
  width: 122px;
  height: 154px;
  object-fit: cover;
  object-position: center 20%;
}

.doctor-monogram {
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: #eee7e9;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 30px;
}

.doctor-number {
  margin-bottom: 30px;
  color: #f2c974;
  font-size: 12px;
  font-weight: 700;
}

.doctor-item h3 {
  margin-bottom: 4px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 23px;
}

.doctor-item p {
  margin-bottom: 4px;
  color: #c7c9cc;
  font-size: 14px;
}

.doctor-item .qualifications {
  color: #f2c974;
  font-weight: 600;
}

.doctor-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.doctor-link span {
  margin-left: 6px;
}

.appointment-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.appointment-section > div {
  max-width: 680px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  background: var(--surface);
}

.contact-copy {
  width: min(100%, calc(var(--max) * 0.58));
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding: 100px 70px 100px 0;
}

address {
  display: flex;
  flex-direction: column;
  margin: 24px 0;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 38px;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.contact-details {
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-details div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  color: var(--muted);
  font-size: 13px;
}

.contact-details dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.map-panel {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: var(--white);
  background: var(--primary-dark);
  text-align: center;
  text-decoration: none;
}

.map-panel strong {
  margin: 20px 0 4px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 28px;
}

.map-panel span:last-child {
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.map-pin-large svg {
  width: 54px;
  height: 54px;
  color: #f2c974;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 32px max(24px, calc((100vw - var(--max)) / 2));
  color: #c7c9cc;
  background: #17191c;
  font-size: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-brand span {
  color: #c7c9cc;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > a {
  justify-self: end;
  color: var(--white);
}

.mobile-actions {
  display: none;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-booking {
    display: none;
  }

  nav {
    position: absolute;
    top: 77px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  nav.nav-open {
    display: flex;
  }

  nav a {
    padding: 12px 0;
  }

  .menu-button {
    display: block;
  }

  .hero-image {
    object-position: 60% 22%;
  }

  .hero-shade {
    background: rgba(49, 5, 23, 0.74);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .hospital-tour {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: 80px 0;
  }

  .map-panel {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 66px;
  }

  .site-header {
    min-height: 68px;
    padding: 8px 18px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 15px;
  }

  nav {
    top: 67px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background: rgba(49, 5, 23, 0.78);
  }

  .hero-content {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    min-width: 0;
    min-height: 620px;
    margin: 0 18px;
    padding: 64px 0 72px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-tagline {
    font-size: 21px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .quick-info {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    margin-top: -28px;
  }

  .quick-info > div {
    min-height: 86px;
    padding: 17px 20px;
  }

  .quick-info > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section,
  .doctors-inner,
  .hospital-tour {
    width: calc(100% - 36px);
    padding: 76px 0;
  }

  .hospital-tour {
    gap: 26px;
    padding-top: 0;
    overflow: visible;
  }

  .hospital-video {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    min-width: 0;
    margin: 0 auto;
    overflow: hidden;
  }

  .hospital-video video {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0;
  }

  .hospital-tour-copy dl div {
    grid-template-columns: 105px 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
    padding: 28px;
  }

  .doctor-item {
    grid-template-columns: 92px 1fr;
    min-height: 250px;
    gap: 20px;
    padding: 24px 20px;
  }

  .doctor-item img,
  .doctor-monogram {
    width: 92px;
    height: 124px;
  }

  .doctor-number {
    margin-bottom: 18px;
  }

  .doctor-item h3 {
    font-size: 18px;
  }

  .appointment-section {
    display: block;
  }

  .appointment-section .button {
    width: 100%;
    margin-top: 20px;
  }

  .contact-copy {
    width: calc(100% - 36px);
    padding: 72px 0;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .text-link {
    text-align: center;
  }

  .contact-details div {
    grid-template-columns: 90px 1fr;
  }

  .map-panel {
    min-height: 330px;
    padding: 40px 24px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 34px 18px;
  }

  footer > a {
    justify-self: center;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    height: 66px;
    max-width: 100vw;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 22px rgba(36, 39, 43, 0.12);
  }

  .mobile-actions a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-actions a + a {
    border-left: 1px solid var(--line);
  }

  .mobile-actions .mobile-book {
    color: var(--white);
    background: var(--primary);
  }

  .mobile-actions svg {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
