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

:root {
  --sage: #7a9e8e;
  --sage-light: #a8c5b7;
  --sage-dark: #4d7265;
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --charcoal: #2c2c2c;
  --muted: #6b6b6b;
  --border: rgba(122, 158, 142, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 5rem;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, padding 0.3s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: 1rem 5rem;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: white;
  text-decoration: none;
  transition: color 0.4s;
}

nav.scrolled .nav-logo {
  color: var(--charcoal);
}

.nav-logo span {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.4s;
}

nav.scrolled .nav-logo span {
  color: var(--sage-dark);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: white;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: white;
}

nav.scrolled .nav-links a {
  color: var(--muted);
}

nav.scrolled .nav-links a:hover {
  color: var(--sage-dark);
}

nav.scrolled .nav-links a.active {
  color: var(--sage-dark);
}

.nav-book {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: white;
  color: var(--sage-dark);
  padding: 0.65rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.nav-book:hover {
  background: var(--cream);
}

nav.scrolled .nav-book {
  background: var(--sage-dark);
  color: white;
}

nav.scrolled .nav-book:hover {
  background: var(--sage);
}

nav.menu-open {
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

nav.menu-open .nav-logo {
  color: var(--charcoal);
}

nav.menu-open .nav-logo span {
  color: var(--sage-dark);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

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

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: white;
  transition: transform 0.25s, opacity 0.25s, background 0.3s;
}

nav.scrolled .nav-toggle,
nav.menu-open .nav-toggle {
  background: rgba(122, 158, 142, 0.08);
  border-color: rgba(77, 114, 101, 0.18);
}

nav.scrolled .nav-toggle span,
nav.menu-open .nav-toggle span {
  background: var(--charcoal);
}

nav.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

nav.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

nav.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}


.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #3a5a50;
  background-image:
    linear-gradient(112deg,
      rgba(20, 36, 31, 0.9) 0%,
      rgba(20, 36, 31, 0.72) 38%,
      rgba(20, 36, 31, 0.34) 68%,
      rgba(20, 36, 31, 0.44) 100%),
    url('images/background1.jpg');
  background-size: cover;
  background-position: center center;
  z-index: 0;
  transform: scale(1.03);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(245, 240, 232, 0.18), transparent 22%),
    linear-gradient(to bottom, rgba(14, 25, 21, 0.16) 0%, rgba(14, 25, 21, 0.46) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 6rem;
  max-width: 740px;
}

.hero-tag {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.6rem;
  display: block;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.4rem, 7vw, 6.8rem);
  font-weight: 300;
  line-height: 1.04;
  color: white;
  margin-bottom: 1.6rem;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

h1 em {
  font-style: italic;
  color: var(--sage-light);
}

.hero-sub {
  font-size: 1.22rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 520px;
  font-weight: 400;
  line-height: 1.8;
}

.hero-pills {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.pill {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.05rem;
  border-radius: 100px;
  border: 1px solid rgba(168, 197, 183, 0.4);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  color: var(--sage-dark);
  padding: 1.1rem 2.2rem;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
  width: fit-content;
}

.btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-primary svg {
  transition: transform 0.2s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* ─── SECTIONS SHARED ─────────────────────────────────────────────────────── */

section {
  padding: 6rem 6rem;
}

.section-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1rem;
  display: block;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.9rem, 4.6vw, 4.15rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.35rem;
}

h2 em {
  font-style: italic;
  color: var(--sage-dark);
}

/* ─── INSURANCE ───────────────────────────────────────────────────────────── */

.insurance {
  background: var(--cream);
}

.insurance-inner {
  max-width: 960px;
}

.zero-copay {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(122, 158, 142, 0.15);
  border: 1px solid var(--sage-light);
  color: var(--sage-dark);
  font-size: 0.96rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

.zero-copay::before {
  content: '✓';
  font-weight: 700;
  margin-right: 0.2rem;
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.insurance-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.1rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.insurance-item:hover {
  border-color: var(--sage-light);
  box-shadow: 0 4px 16px rgba(122, 158, 142, 0.12);
}

/* ─── CONDITIONS + SERVICES ───────────────────────────────────────────────── */

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

.conditions {
  border-right: 1px solid var(--border);
  padding-right: 5rem;
}

.services {
  padding-left: 5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.tag {
  font-size: 0.96rem;
  padding: 0.6rem 1.1rem;
  border-radius: 2px;
  background: var(--cream);
  color: var(--charcoal);
  border: 1px solid var(--border);
}

.tag-break {
  flex-basis: 100%;
  width: 0;
  height: 0;
}

.conditions .note {
  margin-top: 1.6rem;
  font-size: 1rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.8;
  border-left: 2px solid var(--sage-light);
  padding-left: 1.1rem;
  max-width: 42rem;
}

.service-list {
  list-style: none;
  margin-top: 1.5rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-list li:first-child {
  border-top: 1px solid var(--border);
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--sage-light);
  min-width: 28px;
  line-height: 1;
  margin-top: 0.1rem;
}

/* ─── PROVIDER ────────────────────────────────────────────────────────────── */

.provider {
  background: var(--charcoal);
  color: white;
}

.provider-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.provider-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.provider-avatar {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 0;
  overflow: visible;
  box-shadow: none;
}

.provider-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: none;
}

.provider-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  color: white;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.provider-title {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 500;
}

.provider .section-label {
  color: var(--sage-light);
}

.provider h2 {
  color: white;
}

.provider-bio {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.95;
  font-weight: 400;
}

.provider-bio p+p {
  margin-top: 1.2rem;
}

/* ─── CONTACT ─────────────────────────────────────────────────────────────── */

.contact-section {
  background: var(--sage-dark);
  padding: 6rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-left h2 {
  color: white;
  font-size: clamp(3rem, 4.8vw, 4.2rem);
  margin-bottom: 1.2rem;
}

.contact-left h2 em {
  color: rgba(168, 197, 183, 0.9);
}

.contact-left p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 2.4rem;
  max-width: 440px;
}

.contact-lbl {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1rem;
  display: block;
}

.btn-book-large {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: white;
  color: var(--sage-dark);
  padding: 1.2rem 2.4rem;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
  width: fit-content;
}

.btn-book-large:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-book-large svg {
  transition: transform 0.2s;
}

.btn-book-large:hover svg {
  transform: translateX(4px);
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.7rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: 0 18px 40px rgba(18, 31, 27, 0.12);
}

.contact-card>div:last-child {
  flex: 1;
}

.contact-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.contact-icon {
  min-width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.contact-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: white;
  line-height: 1.2;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.contact-card-value--compact {
  font-size: 1.65rem;
}

a.contact-card-value:hover {
  color: var(--sage-light);
}

.contact-card-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.4rem;
  font-weight: 400;
  line-height: 1.7;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */

footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.38);
  padding: 2rem 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ─── ANIMATIONS ──────────────────────────────────────────────────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content>* {
  animation: fadeUp 0.8s ease both;
}

.hero-content>*:nth-child(1) {
  animation-delay: 0.15s;
}

.hero-content>*:nth-child(2) {
  animation-delay: 0.28s;
}

.hero-content>*:nth-child(3) {
  animation-delay: 0.40s;
}

.hero-content>*:nth-child(4) {
  animation-delay: 0.52s;
}

.hero-content>*:nth-child(5) {
  animation-delay: 0.64s;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {

  nav,
  nav.scrolled {
    padding: 1rem 1.5rem;
  }

  nav {
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .nav-book {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1.5rem;
    right: 1.5rem;
    padding: 0.8rem;
    background: rgba(250, 248, 244, 0.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(25, 45, 38, 0.16);
  }

  nav.menu-open .mobile-nav {
    display: grid;
    gap: 0.35rem;
  }

  .mobile-nav a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    transition: background 0.2s, color 0.2s;
  }

  .mobile-nav a:hover {
    background: rgba(122, 158, 142, 0.1);
    color: var(--sage-dark);
  }

  .mobile-nav a.active {
    background: rgba(122, 158, 142, 0.14);
    color: var(--sage-dark);
  }

  .mobile-nav-book {
    margin-top: 0.35rem;
    background: var(--sage-dark);
    color: white !important;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.84rem !important;
  }

  .mobile-nav-book:hover {
    background: var(--sage);
    color: white !important;
  }

  .hero-content {
    padding: 0 1.8rem;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 4.6rem);
    line-height: 1.02;
  }

  .hero-bg {
    background-position: center center;
    transform: scale(1.01);
  }

  section {
    padding: 4rem 1.8rem;
  }

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

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

  .conditions {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
  }

  .services {
    padding-left: 0;
  }

  .tag-list {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }

  .tag-break {
    display: none;
  }

  .provider-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.8rem;
  }

  footer {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
    padding: 1.8rem 1.5rem;
  }
}
