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

:root {
  --teal:      #0d9488;
  --teal-dark: #0f766e;
  --teal-light:#ccfbf1;
  --slate:     #1e293b;
  --slate-mid: #475569;
  --slate-light:#94a3b8;
  --bg:        #f8fafc;
  --white:     #ffffff;
  --font-sans: 'Instrument Sans', system-ui, sans-serif;
  --font-serif:'Playfair Display', Georgia, serif;
  --max-w:     1200px;
  --radius:    12px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--slate); color: var(--white);
  padding: .5rem 1rem; z-index: 200; font-size: .875rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Typography ───────────────────────────────────── */
h1, h2, h3 { font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }

.section-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--slate);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--slate-mid);
  max-width: 560px;
  margin-bottom: 3rem;
}

.light .section-title,
.section-title.light { color: var(--white); }
.light-body { color: rgba(255,255,255,.78); font-size: 1.0625rem; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8125rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 500;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--slate-light);
}
.btn-ghost:hover { border-color: var(--slate); color: var(--slate); }

.btn-full { width: 100%; justify-content: center; }

/* ── NAV ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248,250,252,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,41,59,.07);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: 0 1px 16px rgba(30,41,59,.07); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9375rem; font-weight: 500; color: var(--slate);
  letter-spacing: -.01em;
}
.nav-logo { color: var(--teal); }

.nav-links {
  display: flex; gap: 2rem; margin-left: auto;
}
.nav-links a {
  font-size: .875rem; font-weight: 400; color: var(--slate-mid);
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--teal);
  transition: width .25s;
}
.nav-links a:hover { color: var(--slate); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--slate); color: var(--white);
  padding: .5rem 1.25rem; border-radius: 100px;
  font-size: .8125rem; font-weight: 500;
  transition: background .2s;
}
.nav-cta:hover { background: var(--teal-dark); color: var(--white); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--slate); transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  color: var(--slate);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-accent {
  font-style: italic;
  color: var(--teal);
}

.hero-body {
  font-size: 1.0625rem;
  color: var(--slate-mid);
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  list-style: none;
  display: flex; gap: 2.5rem;
  padding: 0;
  border-top: 1px solid rgba(30,41,59,.1);
  padding-top: 1.5rem;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--slate);
  margin-bottom: .15rem;
}
.stat-label { font-size: .8125rem; color: var(--slate-light); }

.hero-image { position: relative; }

.hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 68/86;
  background: var(--teal-light);
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-accent-block {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--slate);
  border-radius: var(--radius);
}
.accent-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.55;
}

/* ── SERVICES ─────────────────────────────────────── */
.services {
  padding: 7rem 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid rgba(30,41,59,.08);
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(13,148,136,.08);
  transform: translateY(-3px);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--teal-light);
  margin-bottom: 1rem;
  line-height: 1;
}
.service-card:hover .service-num { color: var(--teal); }

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: .625rem;
}
.service-card p {
  font-size: .9375rem;
  color: var(--slate-mid);
  line-height: 1.65;
}

/* ── ABOUT ────────────────────────────────────────── */
.about {
  padding: 7rem 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 60/75;
  background: var(--teal-light);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-content .section-title { margin-bottom: 1.25rem; }
.about-content p {
  font-size: 1rem;
  color: var(--slate-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-list {
  list-style: none; margin-top: 1.75rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.about-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: .9375rem;
  color: var(--slate-mid);
}
.about-list li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

/* ── NEW PATIENTS ─────────────────────────────────── */
.new-patients {
  padding: 7rem 0;
  background: var(--slate);
}

.np-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.np-text .section-title { margin-bottom: 1rem; }
.np-text .light-body { margin-bottom: 2rem; max-width: 400px; }

.np-steps {
  list-style: none; display: flex; flex-direction: column; gap: 2rem;
}
.np-steps li {
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--teal);
}
.np-steps strong {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: .25rem;
}
.np-steps p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ── CONTACT ──────────────────────────────────────── */
.contact {
  padding: 7rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 1rem; }
.contact-info .light-body { margin-bottom: 2rem; max-width: 400px; }

.contact-details {
  list-style: none;
  display: flex; flex-direction: column; gap: 1.25rem;
  margin-top: 2rem;
}
.detail-label {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: .25rem;
}
.detail-value {
  font-size: 1.0625rem;
  color: var(--slate);
  font-weight: 400;
}
.detail a.detail-value { color: var(--teal); }
.detail a.detail-value:hover { color: var(--teal-dark); }

.contact-form-wrap {
  background: var(--bg);
  border: 1px solid rgba(30,41,59,.07);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: .4375rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid rgba(30,41,59,.15);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: .9375rem;
  color: var(--slate);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: .8125rem;
  color: var(--slate-light);
  margin-top: 1rem;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 2rem;
  color: var(--teal-dark);
}
.form-success svg { margin: 0 auto 1rem; color: var(--teal); }
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--slate);
  margin-bottom: .5rem;
}
.form-success p { font-size: .9375rem; color: var(--slate-mid); }

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--slate);
  color: rgba(255,255,255,.6);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9375rem; font-weight: 500; color: var(--white);
}
.footer-logo { color: var(--teal); }
.footer-contact { display: flex; gap: 1.5rem; font-size: .875rem; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--white); }
.footer-copy { font-size: .8125rem; }

/* ── MOBILE NAV ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav.open .nav-links,
  .nav.open .nav-cta {
    display: flex;
  }
  .nav.open .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(248,250,252,.97);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(30,41,59,.07);
  }
  .nav.open .nav-cta {
    display: inline-flex;
    margin: 0 1.5rem 1.5rem;
    text-align: center;
    justify-content: center;
  }
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { order: -1; max-width: 500px; }
  .hero-img-wrap { aspect-ratio: 4/3; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 480px; aspect-ratio: 4/5; }
  .np-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
  .hero-grid { padding: 2.5rem 1.25rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .services { padding: 4rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .about { padding: 4rem 0; }
  .new-patients { padding: 4rem 0; }
  .contact { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
