:root {
  --sage-50: #f7faf7;
  --sage-200: #cedbce;
  --sage-500: #7f9883;
  --sage-700: #5f7765;
  --lavender-100: #efe8f7;
  --lavender-300: #cdbddd;
  --gray-50: #f9f9fb;
  --gray-100: #f2f4f5;
  --gray-300: #d2d7dd;
  --gray-700: #3d4650;
  --gray-800: #2b333b;
  --charcoal: #1f2328;
  --white: #ffffff;
}

body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--gray-700);
  background: linear-gradient(180deg, var(--sage-50) 0%, var(--white) 58%, var(--gray-50) 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
  color: var(--charcoal);
}

.site-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

.navbar-brand {
  font-size: 1.65rem;
  font-weight: 600;
}

.site-logo-frame {
  display: block;
  height: 2.196rem;
  overflow: hidden;
}

.site-logo-text {
  display: block;
  height: 7.0625rem;
  width: auto;
  margin-top: -2.625rem;
}

.btn-primary {
  background-color: var(--sage-700);
  border-color: var(--sage-700);
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #506656;
  border-color: #506656;
}

.btn-outline-primary {
  color: var(--sage-700);
  border-color: var(--sage-700);
  font-weight: 600;
}

.btn-outline-primary:hover {
  background-color: var(--sage-700);
  border-color: var(--sage-700);
}

.hero-cover {
  --hero-image: none;
  background-image: linear-gradient(
      rgba(24, 31, 24, 0.52),
      rgba(24, 31, 24, 0.38)
    ),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-cover h1,
.hero-cover h2,
.hero-cover h3 {
  color: var(--white);
}

.hero-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.hero-lead {
  max-width: 58ch;
  font-size: 1.2rem;
}

.section-band {
  padding: 4.5rem 0;
}

.section-lavender {
  background: linear-gradient(180deg, rgba(239, 232, 247, 0.45), rgba(239, 232, 247, 0.2));
}

.section-sage {
  background: linear-gradient(180deg, rgba(206, 219, 206, 0.26), rgba(255, 255, 255, 0.65));
}

.home-callouts-band {
  padding-bottom: 2.2rem;
}

.home-testimonials-band {
  padding-top: 2.4rem;
}

.section-heading {
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.1;
}

.bio-hero-title {
  font-size: 2.35rem;
  white-space: nowrap;
}

.bio-intro-band {
  padding-bottom: 2rem;
}

.bio-detail-band {
  padding-top: 1.5rem;
}

.bio-section-title {
  font-size: 2rem;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--gray-800);
}

.soft-panel {
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(31, 35, 40, 0.07);
}

.feature-row {
  border-top: 1px solid var(--gray-300);
}

.feature-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--gray-300);
}

.feature-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lavender-100);
  color: #5f5274;
  margin-right: 0.6rem;
}

.photo-shell {
  border-radius: 8px;
  overflow: hidden;
  min-height: 380px;
}

.photo-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 1.4rem;
}

.testimonial-quote {
  font-size: 1.07rem;
  line-height: 1.65;
  color: var(--gray-800);
}

.testimonial-name {
  font-weight: 700;
  color: var(--charcoal);
}

.image-band {
  --band-image: none;
  background-image: linear-gradient(
      rgba(37, 45, 39, 0.6),
      rgba(37, 45, 39, 0.45)
    ),
    var(--band-image);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 5rem 0;
}

.image-band h2 {
  color: var(--white);
}

.profile-chip {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 0.8rem 1rem;
}

.editorial-image {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
}

.services-photo-shell {
  min-height: 420px;
}

.services-pano-wrap {
  width: 100%;
}

.services-pano-image {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
  object-position: center;
}

.services-page-band {
  padding-top: 1.6rem;
}

.services-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.services-content p {
  line-height: 1.75;
}

.service-rate {
  color: var(--charcoal);
  font-weight: 700;
}

.metric-tile {
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 1rem;
}

.metric-value {
  color: var(--charcoal);
  font-size: 1.6rem;
  font-weight: 700;
}

.status-pill {
  font-size: 0.82rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.status-lead,
.status-prospect {
  background: rgba(138, 119, 168, 0.15);
  color: #5e4a7d;
}

.status-patient {
  background: rgba(127, 156, 132, 0.2);
  color: #355840;
}

.status-inactive {
  background: rgba(55, 65, 81, 0.12);
  color: #374151;
}

.table thead th {
  color: var(--charcoal);
  font-weight: 600;
}

.info-list dt {
  color: var(--charcoal);
  font-weight: 600;
}

.auth-shell {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.footer {
  border-top: 1px solid var(--gray-300);
  background: rgba(255, 255, 255, 0.88);
}

.cookie-preferences summary {
  cursor: pointer;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: rgba(31, 35, 40, 0.95);
  color: var(--white);
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cookie-banner .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--sage-700);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .bio-hero-title {
    font-size: 2.1rem;
  }

  .bio-intro-band {
    padding-bottom: 2.2rem;
  }

  .bio-detail-band {
    padding-top: 2rem;
  }

  .bio-section-title {
    font-size: 1.8rem;
  }

  .hero-cover {
    min-height: 66vh;
  }

  .metric-value {
    font-size: 1.35rem;
  }

  .section-band {
    padding: 3.4rem 0;
  }

  .home-callouts-band {
    padding-bottom: 1.8rem;
  }

  .home-testimonials-band {
    padding-top: 2rem;
  }

  .photo-shell {
    min-height: 300px;
  }

  .services-photo-shell {
    min-height: 320px;
  }

  .services-pano-image {
    height: 70px;
  }

  .services-page-band {
    padding-top: 1.25rem;
  }
}

@media (max-width: 575px) {
  .bio-hero-title {
    font-size: 1.5rem;
  }

  .bio-section-title {
    font-size: 1.6rem;
  }
}
