:root {
  --bg: #f7fbfb;
  --paper: #ffffff;
  --ink: #17323a;
  --muted: #5f7378;
  --line: #d8e7e8;
  --teal: #087c84;
  --teal-dark: #075b63;
  --blue: #2d88c8;
  --green: #58b894;
  --warm: #f3efe8;
  --shadow: 0 24px 70px rgba(14, 72, 82, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 0 max(20px, calc((100vw - 1160px) / 2));
  background: rgba(247, 251, 251, 0.92);
  border-bottom: 1px solid rgba(216, 231, 232, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}

.brand-mark-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand strong,
.footer strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #425d63;
  font-size: 0.95rem;
}

.nav a,
.text-link,
.footer a {
  transition: color 160ms ease;
}

.nav a:hover,
.text-link:hover,
.footer a:hover {
  color: var(--teal);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
}

.header-action,
.button-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(8, 124, 132, 0.22);
}

.button-secondary {
  color: var(--teal-dark);
  background: #fff;
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 76px);
  padding: 66px 0 78px;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

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

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
}

.quick-facts div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #dbe9e9;
  box-shadow: var(--shadow);
}

.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  content: "";
  background: linear-gradient(0deg, rgba(9, 56, 62, 0.45), transparent);
  pointer-events: none;
}

.hero-media img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.services {
  padding: 72px 0 96px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.doctor-copy h2,
.location h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

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

.service-grid article {
  min-height: 250px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--teal-dark);
  background: #eaf6f3;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
}

.service-grid h3 {
  margin: 44px 0 10px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.service-grid p,
.doctor-copy p,
.doctor-copy li,
.location p,
.contact-layout p,
.footer p {
  color: var(--muted);
}

.doctor-band {
  padding: 88px 0;
  background: #eaf5f5;
}

.doctor-layout {
  max-width: 820px;
}

.doctor-copy ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 24px 0 0;
}

.location {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 42px;
  align-items: center;
  padding: 94px 0;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 800;
}

.map-card {
  min-height: 300px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 91, 99, 0.96), rgba(45, 136, 200, 0.86)),
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.14) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.12) 50%, transparent 51%);
  background-size: auto, 64px 64px, 64px 64px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.map-card span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.78;
}

.map-card strong {
  display: block;
  margin-top: 88px;
  font-size: 2.35rem;
  line-height: 1;
}

.map-card p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-band {
  padding: 62px 0;
  background: var(--warm);
}

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

.contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e2ded5;
  border-radius: var(--radius);
}

.contact-panel p {
  margin: 6px 0 0;
  font-size: 0.94rem;
}

.footer {
  padding: 34px 0;
  background: #17323a;
  color: #fff;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

.footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .doctor-layout,
  .location,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 44px;
  }

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

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .header-action {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .quick-facts,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 210px;
  }

  .hero-media {
    border-radius: 16px;
  }

  .map-card strong {
    margin-top: 56px;
    font-size: 2rem;
  }
}
