/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;

  --cream-50:   #fefdf8;
  --cream-100:  #fdf9f0;
  --cream-200:  #faf5e8;
  --cream-300:  #f5edd6;
  --cream-400:  #ebe0bc;
  --cream-500:  #dfcfa0;
  --cream-600:  #c9b47a;
  --cream-700:  #a68f56;
  --cream-800:  #7d6a3a;
  --cream-900:  #524624;

  --text-dark:   #0f1a16;
  --text-mid:    #2a3d34;
  --text-light:  #5a7066;
  --text-muted:  #8fa399;
  --text-on-dark:#f0f7f4;
  --text-on-cream:#1a2e24;

  --bg-white:    #fefdf8;
  --bg-cream:    #faf5e8;
  --bg-emerald:  #064e3b;
  --bg-emerald-dark: #022c22;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;

  --shadow-sm:   0 1px 3px rgba(6,78,59,.06);
  --shadow-md:   0 4px 20px rgba(6,78,59,.08);
  --shadow-lg:   0 12px 40px rgba(6,78,59,.12);

  --transition:  0.3s cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--emerald-800); color: var(--text-on-dark);
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 9999; font-size: .875rem;
}
.skip-link:focus { top: 16px; }

/* ── Typography ───────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 16px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .875rem;
  letter-spacing: .04em;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--cream {
  background: var(--cream-200);
  color: var(--text-on-dark);
  border: 1px solid var(--cream-300);
}
.btn--cream:hover {
  background: var(--cream-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--emerald {
  background: var(--emerald-800);
  color: var(--text-on-dark);
  border: 1px solid var(--emerald-700);
}
.btn--emerald:hover {
  background: var(--emerald-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost-light {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255,255,255,.35);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--emerald-700);
  border: 1px solid var(--emerald-200);
}
.btn--ghost-dark:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-400);
}

.btn--sm { padding: 10px 20px; font-size: .8125rem; }
.btn--full { width: 100%; }

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(254,253,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6,78,59,.07);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: .875rem;
  letter-spacing: .08em;
  color: var(--emerald-700);
  width: 36px; height: 36px;
  border: 1px solid var(--emerald-200);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.logo-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--text-dark);
  letter-spacing: .02em;
}

.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--emerald-600);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--emerald-700); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.nav-toggle-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-dark);
  transition: all var(--transition);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--emerald-950);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,44,34,.88) 0%,
    rgba(6,78,59,.72) 50%,
    rgba(4,120,87,.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 72px;
}
.hero-eyebrow {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--emerald-200);
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Sections ─────────────────────────────────────────────────── */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-cream); }

/* ── About ────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  width: 100%; height: 100%;
  border: 1px solid var(--emerald-200);
  border-radius: var(--radius-md);
  z-index: -1;
}
.about-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-300);
}
.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .875rem;
  color: var(--text-mid);
  font-weight: 400;
}
.value-icon {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* ── Services ─────────────────────────────────────────────────── */
.services .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid rgba(6,78,59,.08);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--emerald-100);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.service-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  font-size: .9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Patient Info ─────────────────────────────────────────────── */
.patient-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.patient-info-col:first-child {
  position: sticky;
  top: 120px;
}
.info-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--cream-300);
}
.info-block:first-child { padding-top: 0; }
.info-block:last-child { border-bottom: none; }
.info-block-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.info-block p {
  font-size: .9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Testimonial ──────────────────────────────────────────────── */
.testimonial-section {
  background: var(--emerald-900);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.testimonial-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.testimonial-quote-wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote-mark {
  color: var(--emerald-500);
  margin-bottom: 32px;
  opacity: .6;
}
.testimonial-quote-wrap blockquote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  line-height: 1.55;
  color: var(--text-on-dark);
  font-style: italic;
  margin-bottom: 32px;
}
.testimonial-cite {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--emerald-400);
}

/* ── CTA ──────────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg-cream);
  padding: 120px 0;
  text-align: center;
}
.cta-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ──────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-intro {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail dt {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-detail dd {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.contact-detail a {
  color: var(--emerald-700);
  border-bottom: 1px solid var(--emerald-200);
  transition: all var(--transition);
}
.contact-detail a:hover {
  color: var(--emerald-900);
  border-color: var(--emerald-600);
}

.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid rgba(6,78,59,.08);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.contact-form-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--bg-cream);
  border: 1px solid var(--cream-400);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-400);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  border-radius: var(--radius-md);
  margin-top: 20px;
}
.form-success svg { color: var(--emerald-600); flex-shrink: 0; }
.form-success p {
  font-size: .9375rem;
  color: var(--emerald-900);
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--emerald-950);
  padding: 64px 0 40px;
  color: var(--text-on-dark);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .logo-mark {
  border-color: rgba(255,255,255,.15);
  color: var(--emerald-300);
}
.footer-brand .logo-text { color: var(--text-on-dark); }
.footer-tagline {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer-nav ul { display: flex; gap: 32px; }
.footer-nav a {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--emerald-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a {
  color: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: all var(--transition);
}
.footer-bottom a:hover { color: var(--emerald-300); border-color: var(--emerald-400); }

/* ── Scroll Reveal (progressive enhancement) ──────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid,
  .patient-info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .patient-info-col:first-child { position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(254,253,248,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .main-nav a { font-size: 1.125rem; }
  .main-nav .btn--sm {
    margin-top: 16px;
    font-size: .9375rem;
    padding: 14px 28px;
  }

  .hero-content { padding-top: 72px; }
  .hero-scroll-indicator { display: none; }

  .about-image-wrap img { height: 360px; }
  .about-image-wrap::after { display: none; }
  .about-values { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 28px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav ul { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-headline { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; }
}
