/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #1a3a2e;
  background-color: #FAFAF5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #065F46;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  color: #064E3B;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: #3d5c4e;
  max-width: 560px;
  line-height: 1.75;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 60px;
  transition: all 0.3s ease;
}
.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn-emerald {
  background: #064E3B;
  color: #FAFAF5;
}
.btn-emerald:hover { background: #065F46; transform: translateY(-1px); }
.btn-cream {
  background: #FAFAF5;
  color: #064E3B;
}
.btn-cream:hover { background: #EDEDE0; transform: translateY(-1px); }
.btn-ghost-light {
  background: rgba(250,250,245,0.12);
  color: #FAFAF5;
  border: 1px solid rgba(250,250,245,0.35);
}
.btn-ghost-light:hover { background: rgba(250,250,245,0.22); }
.btn-outline-emerald {
  background: transparent;
  color: #064E3B;
  border: 1px solid #064E3B;
}
.btn-outline-emerald:hover { background: #064E3B; color: #FAFAF5; }

/* ===== NAV ===== */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,250,245,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6,78,59,0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-scrolled.scrolled { box-shadow: 0 1px 20px rgba(6,78,59,0.06); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  color: #064E3B;
}
.nav-logo { width: 28px; height: 28px; color: #064E3B; flex-shrink: 0; }
.nav-brand-text { white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 32px; }
.menu li a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #3d5c4e;
  transition: color 0.2s;
  position: relative;
}
.menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #064E3B;
  transition: width 0.3s ease;
}
.menu li a:hover { color: #064E3B; }
.menu li a:hover::after { width: 100%; }

/* Mobile menu button */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
  z-index: 1001;
}
.menu-btn span {
  display: block;
  height: 1.5px;
  background: #064E3B;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.menu-btn.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,78,59,0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.active { opacity: 1; pointer-events: all; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #064E3B 0%, #065F46 35%, #047857 65%, #059669 100%);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(16,185,129,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(5,150,105,0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(6,78,59,0.4) 0%, transparent 70%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 25% 25%, #d9f99d 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, #d9f99d 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
  padding-top: 72px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d9f99d;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: #FAFAF5;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  color: rgba(250,250,245,0.82);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.hero-divider-line {
  width: 60px;
  height: 1px;
  background: rgba(217,249,157,0.4);
}
.hero-divider-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(217,249,157,0.7);
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(250,250,245,0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== SERVICES ===== */
.services { background: #FAFAF5; }
.services .section-header { text-align: center; margin-bottom: 64px; }
.services .section-subtitle { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #FFFFFF;
  border: 1px solid rgba(6,78,59,0.08);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.35s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(6,78,59,0.08);
  border-color: rgba(6,78,59,0.15);
}
.service-icon {
  width: 48px;
  height: 48px;
  color: #064E3B;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #064E3B;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 14px;
  font-weight: 300;
  color: #3d5c4e;
  line-height: 1.7;
}

/* ===== ABOUT ===== */
.about { background: #F5F5EC; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image {
  width: 100%;
  height: 720px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(6,78,59,0.12);
}
.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(6,78,59,0.15);
  border-radius: 16px;
  z-index: -1;
}
.about-content { max-width: 480px; }
.about-text {
  font-size: 15px;
  font-weight: 300;
  color: #3d5c4e;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(6,78,59,0.1);
  border-bottom: 1px solid rgba(6,78,59,0.1);
}
.stat { flex: 1; text-align: center; }
.stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: #064E3B;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b8f7a;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(6,78,59,0.12);
}
.about-cta { margin-top: 32px; }

/* ===== NEW PATIENTS ===== */
.new-patients { background: #FAFAF5; }
.new-patients-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.new-patients-content { max-width: 480px; }
.new-patients-text {
  font-size: 15px;
  font-weight: 300;
  color: #3d5c4e;
  line-height: 1.8;
  margin-bottom: 32px;
}
.new-patient-list { margin-bottom: 36px; }
.new-patient-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: #1a3a2e;
  padding: 10px 0;
  border-bottom: 1px solid rgba(6,78,59,0.06);
}
.new-patient-list li:last-child { border-bottom: none; }
.check-icon { width: 18px; height: 18px; color: #064E3B; flex-shrink: 0; }
.new-patients-image {
  width: 100%;
  height: 680px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(6,78,59,0.1);
}

/* ===== CONTACT ===== */
.contact { background: #F5F5EC; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.contact-info { padding: 40px 0; }
.contact-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: #3d5c4e;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 440px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; margin-bottom: 36px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 20px;
  height: 20px;
  color: #064E3B;
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #064E3B;
  margin-bottom: 4px;
}
.contact-item span, .contact-item a {
  font-size: 14px;
  font-weight: 300;
  color: #3d5c4e;
  line-height: 1.7;
}
.contact-item a:hover { color: #064E3B; text-decoration: underline; }
.contact-map {
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 20px 60px rgba(6,78,59,0.08);
}

/* ===== FOOTER ===== */
.footer {
  background: #064E3B;
  color: #FAFAF5;
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { width: 28px; height: 28px; color: #d9f99d; margin-bottom: 12px; }
.footer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(250,250,245,0.6);
  line-height: 1.6;
  max-width: 280px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(250,250,245,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: #d9f99d; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-phone {
  font-size: 15px;
  font-weight: 500;
  color: #d9f99d;
}
.footer-contact p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(250,250,245,0.6);
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(250,250,245,0.1);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(250,250,245,0.4);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up { transform: translateY(0); }
.reveal-left { transform: translateX(0); }
.reveal-right { transform: translateX(0); }

@media (prefers-reduced-motion: no-preference) {
  .reveal-up { opacity: 0; transform: translateY(24px); }
  .reveal-left { opacity: 0; transform: translateX(-24px); }
  .reveal-right { opacity: 0; transform: translateX(24px); }
  .reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .new-patients-inner, .contact-grid { gap: 40px; }
  .about-image, .new-patients-image { height: 500px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #FAFAF5;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(6,78,59,0.1);
    z-index: 1000;
  }
  .menu.active { transform: translateX(0); }
  .menu li a { font-size: 16px; }
  .menu-btn { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid, .new-patients-inner, .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-image-wrap { order: -1; }
  .about-image, .new-patients-image { height: 400px; }
  .about-image-accent { display: none; }
  .new-patients-content { max-width: 100%; }
  .contact-map { min-height: 300px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-divider-line { width: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .service-card { padding: 28px 24px; }
  .about-stats { flex-direction: column; gap: 20px; }
  .stat-divider { width: 40px; height: 1px; }
}
