:root {
  --ink: #0c365a;
  --ink-soft: #4f708d;
  --navy: #0b3150;
  --navy-light: #1e4a6d;
  --primary: #397fb7;
  --primary-deep: #185f91;
  --accent: #79a1ce;
  --paper: #eff2f4;
  --pale-blue: #d4e7f6;
  --white: #ffffff;
  --line: rgba(12, 54, 90, 0.14);
  --shadow: 0 24px 70px rgba(12, 54, 90, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

doctor-header,
doctor-hero,
doctor-services,
doctor-about,
doctor-credentials,
doctor-contact,
doctor-footer {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(57, 127, 183, 0.42);
  outline-offset: 4px;
}

.skip-link {
  background: var(--navy);
  color: var(--white);
  left: 16px;
  padding: 12px 18px;
  position: fixed;
  top: -80px;
  transition: top 180ms ease;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy) 0 52%, var(--accent) 52% 100%);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  justify-content: center;
  letter-spacing: 0.06em;
  min-width: 39px;
}

.button {
  align-items: center;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border: 1px solid var(--primary-deep);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 650;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: linear-gradient(135deg, #0c4f7e, var(--primary-deep));
  border-color: #0c4f7e;
  transform: translateY(-2px);
}

.button-small {
  font-size: 12px;
  min-height: 42px;
  padding: 0 20px;
}

.button-light {
  align-self: flex-start;
  background: var(--white);
  border-color: var(--white);
  color: var(--primary-deep);
}

.button-light:hover {
  background: var(--pale-blue);
  border-color: var(--pale-blue);
}

.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 650;
  gap: 12px;
  width: fit-content;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.status-dot {
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(57, 127, 183, 0.14);
  display: inline-block;
  height: 9px;
  width: 9px;
}

.section {
  padding: clamp(84px, 9vw, 138px) clamp(24px, 7vw, 112px);
}

.section-shell {
  margin: 0 auto;
  max-width: 1400px;
}

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

.eyebrow {
  color: var(--primary-deep);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(39px, 4.5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0;
}

.section-heading > p:last-child:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 630px;
}

@media (max-width: 700px) {
  .section {
    padding: 86px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
