:root {
  color-scheme: light;
  --ink: #16201f;
  --muted: #5e6c68;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dfe5df;
  --teal: #0f6f65;
  --teal-dark: #0a4c48;
  --coral: #d86d56;
  --sage: #dbe8dc;
  --blue: #d9e9f1;
  --shadow: 0 24px 70px rgba(22, 32, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid rgba(223, 229, 223, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-size: 26px;
  line-height: 1;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a,
.text-link,
.service-card a {
  text-decoration: none;
}

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

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-action,
.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 111, 101, 0.22);
}

.button.secondary {
  color: var(--teal-dark);
  background: var(--surface);
  border: 1px solid var(--line);
}

.nav-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px) 42px;
  background:
    linear-gradient(115deg, rgba(251, 250, 246, 0.96) 0%, rgba(251, 250, 246, 0.88) 48%, rgba(217, 233, 241, 0.45) 100%),
    url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1600&q=82") center right / cover;
}

.hero-copy {
  max-width: 720px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-text,
.section-heading,
.split-section p,
.doctor-copy p,
.pricing-section p,
.cta-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-row {
  margin-top: 28px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(15, 111, 101, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.phone-card {
  width: min(100%, 390px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.phone-top {
  width: 90px;
  height: 6px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: #c8d8d2;
}

.message {
  width: fit-content;
  max-width: 92%;
  margin-bottom: 14px;
  padding: 13px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.45;
}

.message.received {
  color: var(--ink);
  background: #eef5ef;
}

.message.sent {
  margin-left: auto;
  color: #fff;
  background: var(--teal);
}

.coverage-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 14px;
  border-radius: 16px;
  background: #16201f;
  color: #fff;
  font-weight: 800;
}

.coverage-check {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 24px;
}

.notice,
.section,
.split-section,
.doctor-band,
.pricing-section,
.cta-section {
  margin-inline: auto;
  width: min(1140px, calc(100% - 36px));
}

.notice {
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px solid rgba(216, 109, 86, 0.35);
  border-radius: 8px;
  background: #fff7f3;
  color: #60463e;
  line-height: 1.55;
}

.section {
  padding: 86px 0 48px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(22, 32, 31, 0.06);
}

.service-card p {
  color: var(--muted);
  line-height: 1.58;
}

.service-card a,
.text-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--sage);
  font-weight: 900;
}

.split-section,
.pricing-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--teal-dark);
  font-weight: 900;
}

.steps p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.doctor-band {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.doctor-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.doctor-copy {
  align-self: center;
  padding: clamp(30px, 5vw, 60px);
}

.doctor-registration {
  width: fit-content;
  margin: 22px 0;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--teal-dark) !important;
  font-size: 14px !important;
  font-weight: 800;
}

.pricing-section {
  align-items: center;
}

.coverage-card {
  justify-self: end;
  width: min(100%, 360px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(22, 32, 31, 0.08);
}

.coverage-card-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 30px;
  font-weight: 900;
}

.coverage-card p {
  margin: 10px 0 0;
}

.cta-section {
  margin-bottom: 34px;
  padding: 66px clamp(22px, 5vw, 70px);
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  text-align: center;
}

.cta-section p {
  max-width: 650px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
}

.cta-section .button {
  margin-top: 10px;
  background: #fff;
  color: var(--teal-dark);
  box-shadow: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.subpage {
  min-height: calc(100vh - 77px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.subpage h1 {
  max-width: 900px;
}

.services-page {
  padding-bottom: 86px;
}

.services-intro {
  max-width: 780px;
  margin-bottom: 38px;
}

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

.service-detail-card {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(22, 32, 31, 0.06);
}

.service-detail-card h2 {
  margin-bottom: 16px;
}

.service-detail-card p {
  color: var(--muted);
  line-height: 1.7;
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 12px;
  background: var(--teal-dark);
  color: #fff;
}

.services-cta h2,
.services-cta p {
  margin: 0;
}

.services-cta .eyebrow {
  margin-bottom: 8px;
  color: var(--mint);
}

.services-cta .button {
  flex: 0 0 auto;
}

.doctor-profile-page {
  padding-bottom: 86px;
}

.doctor-profile-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.doctor-portrait-card {
  width: 190px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.doctor-portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.doctor-id {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 15px;
}

.doctor-id strong {
  font-size: 18px;
}

.doctor-id span {
  color: var(--muted);
  font-size: 12px;
}

.doctor-profile-copy h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.profile-points {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.profile-points article {
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  background: var(--surface);
}

.profile-points p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.experience-section {
  margin: 56px 0 30px;
}

.experience-section h2 {
  margin-bottom: 22px;
}

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

.experience-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.experience-grid h3 {
  margin-top: 0;
  color: var(--teal-dark);
}

.experience-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .doctor-band {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
  }

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

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

  .coverage-card {
    justify-self: start;
  }
}

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

  .brand small,
  .nav-action {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .services-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .doctor-profile-layout {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
  }

  .doctor-portrait-card {
    width: 120px;
    border-radius: 12px;
  }

  .doctor-id {
    padding: 10px;
  }

  .doctor-id strong {
    font-size: 15px;
  }

  .doctor-id span {
    font-size: 10px;
  }

  .doctor-profile-copy h1 {
    font-size: 34px;
  }

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

  .doctor-image {
    min-height: 0;
  }

  .doctor-band {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
  }

  .doctor-copy {
    padding: 20px 16px;
  }

  .doctor-copy h2 {
    font-size: 30px;
  }

  .doctor-copy p {
    font-size: 15px;
  }

  .coverage-card {
    width: 100%;
  }
}
