:root {
  color-scheme: light;
  --ink: #16212b;
  --muted: #66737d;
  --line: #d9e5e7;
  --paper: #f7fbfa;
  --white: #ffffff;
  --teal: #087b83;
  --green: #54a66b;
  --coral: #df735d;
  --shadow: 0 24px 80px rgba(18, 47, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(247, 251, 250, 0.9);
  border-bottom: 1px solid rgba(217, 229, 231, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal);
  color: var(--white);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta,
.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px) 42px;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 42px 0 0;
}

.hero-stats div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  min-width: 0;
}

.photo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: linear-gradient(145deg, #d9f0ec, #ffffff 48%, #d8e5df);
  box-shadow: var(--shadow);
}

.clinic-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 16%, rgba(84, 166, 107, 0.18), transparent 24%),
    linear-gradient(135deg, #eff8f5 0%, #ffffff 46%, #e7f0ee 100%);
}

.window {
  position: absolute;
  top: 9%;
  left: 8%;
  width: 84%;
  height: 28%;
  border-radius: 8px;
  background: linear-gradient(135deg, #cfeae8, #ffffff);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.75);
}

.mat {
  position: absolute;
  right: 8%;
  bottom: 9%;
  width: 78%;
  height: 34%;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b7881, #62b477);
  transform: skewX(-10deg);
}

.therapist,
.patient {
  position: absolute;
  border-radius: 999px;
}

.therapist {
  right: 20%;
  top: 36%;
  width: 18%;
  height: 38%;
  background: linear-gradient(#0d7f87 0 54%, #183544 54%);
}

.therapist::before,
.patient::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d99b78;
  transform: translateX(-50%);
}

.therapist::after {
  content: "";
  position: absolute;
  left: -55%;
  top: 28%;
  width: 104%;
  height: 12%;
  border-radius: 999px;
  background: #d99b78;
  transform: rotate(22deg);
}

.patient {
  left: 20%;
  bottom: 28%;
  width: 34%;
  height: 13%;
  background: #eff5f3;
  transform: rotate(-10deg);
}

.patient::before {
  left: 12%;
  top: -110%;
  width: 22%;
}

.equipment {
  position: absolute;
  border: 10px solid rgba(8, 123, 131, 0.35);
  border-radius: 50%;
}

.equipment.one {
  left: 10%;
  bottom: 14%;
  width: 86px;
  height: 86px;
}

.equipment.two {
  right: 12%;
  top: 45%;
  width: 58px;
  height: 58px;
  border-color: rgba(223, 115, 93, 0.45);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.intro,
.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

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

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

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card span {
  color: var(--coral);
  font-weight: 800;
}

.service-card h3 {
  margin: 54px 0 12px;
  font-size: 1.3rem;
}

.service-card p {
  margin: 0;
  font-size: 0.96rem;
}

.panel {
  padding: clamp(26px, 4vw, 46px);
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
}

.panel .eyebrow,
.panel p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div,
.contact-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.feature-list p {
  margin: 0;
}

.contact {
  background: #e9f4f1;
}

.contact-box {
  display: grid;
  gap: 14px;
}

.contact-box a:first-child {
  color: var(--teal);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
}

.contact-box a:nth-child(2) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.contact-box span {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
}

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

  .nav {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .intro,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.8rem);
  }

  .hero-stats,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .photo-card {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    display: grid;
  }

  .section-heading {
    display: block;
  }

  .footer {
    flex-direction: column;
  }
}
