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

:root {
  --emerald-950: #042f23;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #faf9f6;
  --cream-dark:  #f5f0e8;
  --sand:        #e8e0d0;
  --warm-gray:   #6b6560;
  --dark:        #1a1a18;
  --white:       #ffffff;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ───────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--emerald-950); }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-label-light { color: var(--emerald-300); background: rgba(16,185,129,.15); border-color: rgba(16,185,129,.25); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 20px; }
.section-title-light { color: var(--white); }
.section-subtitle { font-size: 1.05rem; color: var(--warm-gray); max-width: 560px; line-height: 1.7; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  border-radius: 100px; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald-700); color: var(--white);
  box-shadow: 0 4px 14px rgba(4,120,87,.3);
}
.btn-primary:hover { background: var(--emerald-800); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(4,120,87,.35); }
.btn-light {
  background: var(--white); color: var(--emerald-800);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost-light {
  background: rgba(255,255,255,.15); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.25); }
.btn-accent {
  background: var(--emerald-500); color: var(--white);
  box-shadow: 0 4px 14px rgba(16,185,129,.35);
}
.btn-accent:hover { background: var(--emerald-600); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--emerald-700);
  border: 1.5px solid var(--emerald-200);
}
.btn-ghost:hover { background: var(--emerald-50); }
.btn-full { width: 100%; justify-content: center; }
.btn-small { font-size: .85rem; padding: 8px 18px; }
.btn-lg { font-size: 1rem; padding: 14px 28px; }

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,249,246,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: 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: 10px; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.1rem; color: var(--emerald-900);
}
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a:not(.btn) {
  font-size: .9rem; font-weight: 500; color: var(--warm-gray);
  padding: 8px 14px; border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-links a:not(.btn):hover { color: var(--emerald-700); background: var(--emerald-50); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  width: 22px; height: 2px; background: var(--dark); border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #042f23 0%, #065f46 30%, #047857 60%, #059669 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(16,185,129,.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(52,211,153,.15) 0%, transparent 50%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 780px; padding-top: 72px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: var(--emerald-100);
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 18px; border-radius: 100px;
  font-size: .85rem; font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800; color: var(--white);
  margin-bottom: 24px; line-height: 1.15;
}
.accent-underline {
  position: relative;
  color: var(--emerald-300);
}
.accent-underline::after {
  content: '';
  position: absolute; bottom: 2px; left: 0; right: 0;
  height: 6px; background: rgba(52,211,153,.35);
  border-radius: 4px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 600px; margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.75); font-size: .9rem;
}
.trust-item svg { color: var(--emerald-400); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }

/* ── Sections ─────────────────────────────────────── */
.section { padding: 96px 0; }

/* ── About ────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 560/680;
}
.about-image-accent {
  position: absolute; top: -16px; right: -16px;
  width: 120px; height: 120px;
  background: var(--emerald-100);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-content { max-width: 520px; }
.about-content .lead { font-size: 1.1rem; color: var(--emerald-800); margin-bottom: 16px; line-height: 1.75; }
.about-content p { color: var(--warm-gray); margin-bottom: 14px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.value-item { display: flex; align-items: flex-start; gap: 12px; }
.value-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--emerald-50); border: 1px solid var(--emerald-100);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-700);
}
.value-item span { font-size: .9rem; color: var(--dark); line-height: 1.5; padding-top: 8px; }

/* ── Services ─────────────────────────────────────── */
.services { background: var(--cream-dark); }
.services-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.services-header .section-subtitle { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-100);
}
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--emerald-50) 0%, var(--emerald-100) 100%);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-700); margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
  color: var(--white);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--emerald-900); }
.service-card p { font-size: .92rem; color: var(--warm-gray); line-height: 1.7; }

/* ── Patient Info ─────────────────────────────────── */
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.info-visual { position: relative; }
.info-image {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); object-fit: cover;
  aspect-ratio: 600/720;
}
.info-card {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  max-width: 280px;
}
.info-card-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--emerald-100); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-700);
}
.info-card-text { display: flex; flex-direction: column; }
.info-card-text strong { font-size: .9rem; color: var(--dark); }
.info-card-text span { font-size: .8rem; color: var(--warm-gray); }
.info-block { max-width: 520px; }

/* Accordion */
.accordion-item {
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
}
.accordion-item.active { border-color: var(--emerald-200); box-shadow: 0 2px 12px rgba(4,120,87,.08); }
.accordion-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; text-align: left;
  font-weight: 600; font-size: .95rem; color: var(--dark);
  transition: var(--transition);
}
.accordion-header:hover { color: var(--emerald-700); }
.accordion-chevron {
  color: var(--emerald-500);
  transition: transform .3s ease;
  flex-shrink: 0; margin-left: 12px;
}
.accordion-item.active .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.accordion-item.active .accordion-body { max-height: 200px; }
.accordion-body p { padding: 0 22px 18px; font-size: .9rem; color: var(--warm-gray); line-height: 1.7; }
.accordion-body a { color: var(--emerald-600); font-weight: 500; }

/* ── CTA ──────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, #042f23 0%, #065f46 50%, #047857 100%);
  padding: 100px 0;
}
.cta-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 56px; align-items: center;
}
.cta-text { color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.75; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-image {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); object-fit: cover;
  aspect-ratio: 500/500;
}

/* ── Contact ──────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: var(--emerald-50); border: 1px solid var(--emerald-100);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-700);
}
.contact-detail strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--emerald-800); margin-bottom: 4px; }
.contact-detail span, .contact-detail a { font-size: .95rem; color: var(--warm-gray); line-height: 1.6; }
.contact-detail a:hover { color: var(--emerald-600); }
.map-wrap { margin-top: 24px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { font-size: 1.4rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--dark); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: .95rem;
  color: var(--dark); background: var(--cream);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--emerald-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  text-align: center; padding: 40px 20px;
}
.success-icon { color: var(--emerald-500); margin-bottom: 16px; }
.form-success h4 { font-size: 1.3rem; margin-bottom: 8px; color: var(--emerald-800); }
.form-success p { color: var(--warm-gray); font-size: .95rem; }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--emerald-950);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1.6fr;
  gap: 56px; padding-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 320px; }
.footer-links { display: flex; gap: 48px; }
.footer-col strong {
  display: block; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--emerald-400);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .9rem; transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); text-align: center; }
.footer-bottom a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid, .info-split, .cta-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { max-width: 100%; }
  .info-block { max-width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; padding: 24px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links a:not(.btn) { padding: 12px 14px; width: 100%; }
  .hero { min-height: 85vh; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-image-accent { display: none; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .info-card { position: relative; bottom: auto; left: auto; margin-top: 16px; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .container { padding: 0 16px; }
  .footer-links { flex-direction: column; gap: 24px; }
}

/* ── Reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
