:root {
  color-scheme: light;
  --ink: #172326;
  --muted: #58696d;
  --surface: #ffffff;
  --surface-soft: #f3f8f7;
  --line: #d9e7e5;
  --teal: #087c78;
  --teal-dark: #025b58;
  --mint: #dff4ef;
  --coral: #c95d4f;
  --amber: #d99a2b;
  --shadow: 0 16px 38px rgba(23, 35, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.8;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 231, 229, 0.86);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nav-links {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 18px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal-dark);
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(2, 91, 88, 0.05), rgba(2, 91, 88, 0.35) 40%, rgba(1, 42, 43, 0.86) 100%),
    url("assets/clinic-booking-hero.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  min-height: clamp(560px, 82vh, 780px);
}

.hero-inner {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  min-height: inherit;
  padding: 40px clamp(20px, 6vw, 86px);
}

.hero-copy {
  max-width: 650px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
}

.eyebrow {
  color: var(--amber);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.hero .eyebrow {
  color: #f1c56b;
}

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

h1 {
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 1;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.25;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  max-width: 600px;
}

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

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

.button-primary {
  background: var(--coral);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.trust-note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 6vw, 86px);
}

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

.section-heading {
  max-width: 760px;
}

.section-heading p,
.split-layout p,
.feature-card p,
.status-item p,
.operations-list span,
.site-footer p,
.legal-content p,
.legal-hero p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.feature-card,
.status-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.feature-icon {
  color: var(--coral);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.clinic-section {
  background: #fff;
}

.split-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 78px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
}

.operations-list {
  border-top: 1px solid var(--line);
}

.operations-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding: 20px 0;
}

.launch-section {
  background: var(--mint);
}

.status-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.status-item span {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  padding: 4px 12px;
}

.status-item strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.status-item.is-ready span {
  background: #dff4ef;
  color: var(--teal-dark);
}

.status-item.is-next span {
  background: #fff3d8;
  color: #8a5b08;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 86px);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer p {
  margin: 4px 0 0;
}

.legal-page {
  background: var(--surface-soft);
}

.legal-hero {
  background: var(--teal-dark);
  color: #fff;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 86px);
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.legal-content {
  background: var(--surface);
  margin: 0 auto;
  max-width: 900px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 32px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    background-position: center left;
  }

  .feature-grid,
  .status-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-links {
    gap: 12px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    align-items: flex-end;
    padding-bottom: 48px;
  }

  .button {
    width: 100%;
  }
}
