/* Pine Castle Chiropractic */
:root {
  --bg: #f4f7f5;
  --bg-alt: #e8efeb;
  --surface: #ffffff;
  --text: #2d3a36;
  --text-muted: #5c6b66;
  --accent: #3d6b5c;
  --accent-hover: #325a4d;
  --accent-soft: #d4e6de;
  --accent-light: #edf5f1;
  --warm: #6b8f7a;
  --border: #d0ddd6;
  --shadow: 0 4px 24px rgba(45, 58, 54, 0.06);
  --shadow-lg: 0 12px 40px rgba(45, 58, 54, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, 92vw);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(1120px, 92vw);
  margin-inline: auto;
  padding-inline: 4vw;
}

.logo {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo span {
  color: var(--accent);
}

.header-nav {
  display: none;
  gap: 1.75rem;
}

.header-nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-ctas {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.menu-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: background 0.2s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle-icon::before {
  top: -6px;
}

.menu-toggle-icon::after {
  top: 6px;
}

.site-header.nav-open .menu-toggle-icon {
  background: transparent;
}

.site-header.nav-open .menu-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.nav-open .menu-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 767.98px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .header-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0.25rem 0 0.75rem;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
  }

  .header-nav a {
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .header-nav a:last-child {
    border-bottom: none;
  }

  .site-header.nav-open .header-nav {
    display: flex;
  }
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(61, 107, 92, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--warm);
  color: #fff;
}

.btn-secondary:hover {
  background: #5a7d6a;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--accent-soft);
}

.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(165deg, var(--bg) 0%, var(--accent-light) 55%, var(--bg-alt) 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(280px, 360px);
    gap: 3rem;
    align-items: start;
  }
}

.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-building {
  margin: 0;
}

.hero-building img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-card .qr-code {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-tagline {
  margin: 0 0 1.25rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
}

.hero-tagline strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-doctor {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.hero-price {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
}

.qr-code {
  display: block;
  margin: 0 auto 1rem;
  width: min(200px, 70%);
  height: auto;
  border-radius: var(--radius);
}

.visit-card-qr {
  text-align: center;
}

.visit-card-qr p {
  text-align: left;
}

.hero-info {
  margin-bottom: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-info-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--accent-light);
  border-bottom: 1px solid var(--border);
}

.hero-info-feature .hero-info-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
}

.hero-info-feature-text p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
}

.hero-info-feature-text strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-info-note {
  margin-top: 0.35rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600;
  color: var(--warm) !important;
}

.hero-info-points {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .hero-info-points {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-info-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.hero-info-points li:last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .hero-info-points li {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }

  .hero-info-points li:last-child {
    border-right: none;
  }
}

.hero-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 10px;
}

.hero-info-points .hero-info-icon {
  background: var(--accent-soft);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.card-label {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
}

.card-text {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
}

.hero-card .btn + .btn {
  margin-top: 0.75rem;
}

.cta-bar {
  background: var(--accent);
  color: #fff;
  padding: 0.875rem 0;
}

.cta-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.cta-bar-text {
  font-weight: 500;
  font-size: 0.9375rem;
}

.cta-bar-buttons {
  display: flex;
  gap: 0.5rem;
}

.cta-bar .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta-bar .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.cta-bar .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.cta-bar .btn-primary:hover {
  background: var(--accent-light);
  color: var(--accent-hover);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-subtitle {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.section-intro {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.subsection {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.subsection-header {
  text-align: center;
  margin-bottom: 2rem;
}

.subsection-header h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.services-heading h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.services-heading {
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.service-card-link:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: inherit;
}

.service-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.service-price {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.service-card p:not(.service-price) {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.benefits-grid {
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.benefits-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 500;
}

.benefits-grid li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.visit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.visit-line {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.visit-line:last-child {
  margin-bottom: 0;
}

.visit-line strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

.visit-note {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--warm);
}

.alert-banner {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.alert-banner p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.alert-banner p + p {
  margin-top: 0.5rem;
}

.alert-banner-warn {
  border-color: #c9a227;
  background: #faf6e8;
}

.alert-banner-strong {
  font-weight: 700;
  color: #8b6914 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tips-intro.visit-card p:last-child {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.tips-general {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.tips-general li + li {
  margin-top: 0.5rem;
}

.tips-conditions {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.tip-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tip-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

.tip-item summary::-webkit-details-marker {
  display: none;
}

.tip-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.tip-item[open] summary::after {
  content: "−";
}

.tip-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tips-link {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.hours-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-list li span:first-child {
  font-weight: 600;
  color: var(--text);
}

.hours-list em {
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--warm);
}

.visit-cta {
  margin-top: 2rem;
  flex-direction: column;
  align-items: center;
}

.visit-callout {
  margin: 0 0 1rem;
  max-width: 36rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  text-align: left;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col p {
  margin: 0.35rem 0;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-col a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
}

.schedule-section .section-header {
  margin-bottom: 1.5rem;
}

.schedule-placeholder {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.schedule-placeholder p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.site-footer p {
  margin: 0.25rem 0;
  font-size: 0.9375rem;
}

.footer-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
}

.footer-phone {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.footer-phone:hover {
  color: var(--accent-soft);
}

.copyright {
  margin-top: 2rem !important;
  font-size: 0.8125rem !important;
  opacity: 0.5;
}

.fab-call {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--warm);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(45, 58, 54, 0.25);
}

.fab-call:hover {
  background: var(--accent);
  color: #fff;
}

@media (min-width: 768px) {
  .fab-call {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 4rem;
  }
}

/* Interior pages */
.page-hero {
  padding-top: 3rem;
  background: linear-gradient(165deg, var(--bg) 0%, var(--accent-light) 55%, var(--bg-alt) 100%);
}

.page-hero .section-header {
  margin-bottom: 2rem;
}

.page-hero .section-header-tight {
  margin-bottom: 1.25rem;
}

.chiropractic-layout {
  display: grid;
  gap: 0.5rem 3rem;
  align-items: start;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "content"
    "photo";
}

.chiropractic-page-header {
  grid-area: title;
  margin: 0 0 0.25rem;
  text-align: center;
}

.chiropractic-page-header h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.chiropractic-layout .doctor-profile-aside {
  grid-area: photo;
}

.chiropractic-layout .chiropractic-intro {
  grid-area: content;
  margin: 0;
}

.chiropractic-layout .chiropractic-intro h2 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .chiropractic-layout {
    grid-template-columns: minmax(240px, 320px) 1fr;
    grid-template-areas:
      "title title"
      "photo content";
    row-gap: 0.5rem;
    column-gap: 3rem;
  }
}

.chiropractic-intro {
  margin: 0;
}

.doctor-profile {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .doctor-profile {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.doctor-profile-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.doctor-bio h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.625rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

.doctor-bio p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

.doctor-bio p:last-child {
  margin-bottom: 0;
}

.doctor-bio .credentials {
  font-weight: 600;
  color: var(--accent);
}

@media (min-width: 768px) {
  .doctor-bio h2,
  .doctor-bio p {
    text-align: left;
  }
}

.doctor-photo {
  margin: 0;
  text-align: center;
}

.doctor-photo img {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.doctor-profile-content h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.doctor-profile-content h2:not(:first-child) {
  margin-top: 1.5rem;
}

.doctor-profile-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.doctor-profile-content .lead {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

.doctor-profile-content .credentials {
  font-weight: 600;
  color: var(--accent);
}

.legal-block {
  margin-bottom: 1.5rem;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.legal-block p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.header-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}
