/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: #1a2e2a;
  background: #faf8f4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
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: inherit; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Custom Properties ── */
:root {
  --emerald-900: #042f23;
  --emerald-800: #064e3b;
  --emerald-700: #065f46;
  --emerald-600: #047857;
  --emerald-500: #059669;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #faf8f4;
  --cream-dark:  #f0ebe0;
  --gold:        #d4a843;
  --gold-light:  #f5e6c0;
  --text-dark:   #1a2e2a;
  --text-mid:    #3d5a52;
  --text-light:  #6b8f84;
  --white:       #ffffff;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(6,78,59,.06), 0 1px 2px rgba(6,78,59,.04);
  --shadow-md:   0 4px 16px rgba(6,78,59,.08), 0 2px 4px rgba(6,78,59,.04);
  --shadow-lg:   0 12px 40px rgba(6,78,59,.10), 0 4px 12px rgba(6,78,59,.05);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-weight: 500;
  border-radius: var(--radius); transition: all var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: .875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; padding: 16px 24px; font-size: 1rem; }
.btn-emerald {
  background: var(--emerald-700); color: var(--white);
  border: 2px solid var(--emerald-700);
}
.btn-emerald:hover { background: var(--emerald-800); border-color: var(--emerald-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-cream {
  background: var(--gold); color: var(--emerald-900);
  border: 2px solid var(--gold);
}
.btn-cream:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ── Section Labels ── */
.section-label {
  font-family: 'Inter', sans-serif; font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.section-title { margin-bottom: 20px; }
.section-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-mid);
  max-width: 640px; line-height: 1.7; margin-bottom: 48px;
}
.text-light { color: var(--white) !important; }

/* ── Header ── */
#main-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,248,244,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6,78,59,.08);
  transition: box-shadow var(--transition);
}
#main-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;
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.25rem; color: var(--emerald-800);
}
.logo-light { color: var(--white); }
.logo-icon { color: var(--gold); }

#main-nav ul {
  display: flex; align-items: center; gap: 8px;
}
#main-nav a:not(.btn) {
  padding: 8px 16px; font-size: .9rem; font-weight: 500;
  color: var(--text-mid); border-radius: var(--radius); transition: all var(--transition);
}
#main-nav a:not(.btn):hover { color: var(--emerald-700); background: var(--emerald-50); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px 0;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--emerald-800);
  border-radius: 2px; transition: all 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); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  #main-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--cream); padding: 32px 24px;
    transform: translateX(100%); transition: transform var(--transition);
    overflow-y: auto;
  }
  #main-nav.open { transform: translateX(0); }
  #main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  #main-nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  #main-nav .btn { margin-top: 16px; justify-content: center; }
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--emerald-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .45;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(4,47,35,.92) 0%, rgba(6,78,59,.82) 50%, rgba(10,105,77,.70) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 120px 0 80px;
  max-width: 780px;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white); margin-bottom: 24px;
  line-height: 1.1;
}
.hero-headline em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,.82); line-height: 1.75;
  max-width: 580px; margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.85);
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.5);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Services ── */
.services { padding: 100px 0 112px; background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px; border: 1px solid rgba(6,78,59,.06);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: rgba(6,78,59,.10);
}
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--emerald-50); color: var(--emerald-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.service-card p { font-size: .95rem; color: var(--text-mid); line-height: 1.7; }

/* ── About ── */
.about { padding: 100px 0 112px; background: var(--white); overflow: hidden; }
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
.about-images { position: relative; max-width: 520px; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 450px; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: -40px; right: -24px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--white);
}
.about-img-secondary img { width: 260px; height: 180px; object-fit: cover; }
.about-accent {
  position: absolute; top: -24px; right: 40px;
  color: var(--gold); opacity: .6;
}
.about-content .section-title { margin-bottom: 24px; }
.about-text {
  font-size: 1rem; color: var(--text-mid); line-height: 1.8;
  margin-bottom: 20px;
}
.about-values { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .925rem; font-weight: 500; color: var(--text-dark);
}
.value-item svg { color: var(--emerald-600); flex-shrink: 0; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}

/* ── New Patients ── */
.new-patients { padding: 100px 0 112px; background: var(--emerald-800); }
.new-patients-inner {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
.new-patients-text {
  font-size: 1.05rem; color: rgba(255,255,255,.80); line-height: 1.8;
  margin-bottom: 40px; max-width: 520px;
}
.new-patient-steps { display: flex; flex-direction: column; gap: 28px; }
.step-num {
  font-family: 'Playfair Display', serif; font-size: 2rem;
  font-weight: 700; color: var(--gold); line-height: 1;
}
.new-patient-steps li {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
}
.new-patient-steps strong {
  display: block; font-size: 1.05rem; color: var(--white); margin-bottom: 4px;
}
.new-patient-steps span { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.6; }
.new-patients-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.new-patients-image img { width: 100%; height: 480px; object-fit: cover; }

@media (min-width: 900px) {
  .new-patients-inner { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

/* ── Contact ── */
.contact { padding: 100px 0 112px; background: var(--cream); }
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px;
}
.contact-lead { font-size: 1.05rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-detail svg { color: var(--emerald-600); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong {
  display: block; font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-light);
  margin-bottom: 4px;
}
.contact-detail span, .contact-detail a {
  font-size: 1rem; color: var(--text-dark); line-height: 1.6;
}
.contact-detail a:hover { color: var(--emerald-700); text-decoration: underline; }

/* Form */
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 32px; box-shadow: var(--shadow-md);
  border: 1px solid rgba(6,78,59,.06);
}
.form-title { font-size: 1.5rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 500;
  color: var(--text-mid); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid rgba(6,78,59,.15);
  border-radius: var(--radius); background: var(--cream); color: var(--text-dark);
  transition: all var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--emerald-600); background: var(--white);
  box-shadow: 0 0 0 3px rgba(5,150,105,.10);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: .8rem; color: var(--text-light); margin-top: 16px; text-align: center; }
.form-success {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--emerald-50); color: var(--emerald-800);
  font-weight: 500; font-size: .95rem; margin-top: 20px;
}
.form-success svg { flex-shrink: 0; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ── Map Strip ── */
.map-strip { background: var(--emerald-900); }

/* ── Footer ── */
#footer { background: var(--emerald-900); color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-links strong, .footer-contact strong {
  display: block; font-family: 'Inter', sans-serif;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact address { font-style: normal; font-size: .9rem; line-height: 1.7; margin-bottom: 8px; }
.footer-contact a { font-size: .9rem; transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 0; font-size: .825rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
/* If JS is disabled, all content is already visible — no changes needed. */
