:root {
  --ink: #172023;
  --muted: #5d6b70;
  --line: #dce6e5;
  --surface: #ffffff;
  --soft: #f2f7f6;
  --mint: #8fd3c6;
  --teal: #0b756f;
  --rose: #a83f55;
  --sun: #f1c768;
  --shadow: 0 18px 55px rgba(23, 32, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px min(48px, 5vw);
  color: #ffffff;
}

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

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

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

.nav a,
.header-call {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 9px 14px;
  background: rgba(14, 22, 24, 0.24);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
}

.header-call {
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  padding: 120px min(48px, 5vw) 72px;
  overflow: hidden;
  color: #ffffff;
  background: url("assets/clinic-procedures.webp") center / cover no-repeat;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 18, 0.58);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

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

h1 {
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.3rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero__lead {
  width: min(650px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
}

.button--primary {
  background: var(--mint);
  color: #093734;
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #ffffff;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin: 0;
}

.hero__facts div {
  min-width: 0;
  border-left: 3px solid var(--sun);
  padding-left: 14px;
}

.hero__facts dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 4px 0 0;
  color: #ffffff;
  font-weight: 800;
}

.intro-band {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.intro-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
}

.intro-band p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--teal);
  font-weight: 800;
  white-space: nowrap;
}

.section {
  padding: 78px 0;
}

.section--soft {
  background: var(--soft);
}

.section__head {
  width: min(680px, 100%);
  margin-bottom: 30px;
}

.section__head p {
  color: var(--muted);
}

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

.service-card,
.contact-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.service-card {
  min-height: 176px;
  padding: 20px;
  border-top: 5px solid var(--mint);
}

.service-card:nth-child(3n + 2) {
  border-top-color: var(--rose);
}

.service-card:nth-child(3n) {
  border-top-color: var(--sun);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.team-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--rose);
  content: "";
}

.team-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000000;
  box-shadow: var(--shadow);
}

.team-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 55%;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  gap: 34px;
}

.contact-head {
  margin-bottom: 0;
}

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

.contact-item {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.contact-item span {
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-item a,
.contact-item strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-item small {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  background: #142022;
  color: rgba(255, 255, 255, 0.78);
}

.footer__inner {
  display: grid;
  gap: 8px;
  padding: 24px 0;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 80svh;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .team-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 16px 14px;
  }

  .brand small,
  .header-call {
    display: none;
  }

  .hero {
    min-height: 78svh;
    padding: 104px 14px 42px;
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.74rem;
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .hero__facts,
  .intro-band__grid,
  .services-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .hero__facts {
    gap: 12px;
  }

  .intro-band__grid {
    align-items: start;
  }

  .text-link {
    justify-self: start;
    white-space: normal;
  }

  .section {
    padding: 56px 0;
  }
}
