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

:root {
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

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

  --radius: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--slate-800);
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-700); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

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

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.section-title--light { color: #ffffff; }

.section-sub {
  font-size: 1.05rem;
  color: var(--slate-500);
  max-width: 540px;
  line-height: 1.75;
}

.section-sub--light { color: var(--teal-100); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--teal-600);
  color: #ffffff;
  border-color: var(--teal-600);
}
.btn--primary:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--slate-700);
  border-color: var(--slate-200);
}
.btn--ghost:hover {
  border-color: var(--teal-600);
  color: var(--teal-600);
}

.btn--light {
  background: #ffffff;
  color: var(--teal-700);
  border-color: #ffffff;
}
.btn--light:hover {
  background: var(--teal-50);
  color: var(--teal-800);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--nav {
  background: var(--teal-600);
  color: #ffffff;
  border-color: var(--teal-600);
  padding: 10px 20px;
  font-size: 0.8125rem;
}
.btn--nav:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #ffffff;
}

.btn--full { width: 100%; }

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-900);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--teal-600);
  color: #ffffff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate-600);
  position: relative;
}

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal-600);
  transition: width var(--transition);
}

.nav a:not(.btn):hover { color: var(--teal-600); }
.nav a:not(.btn):hover::after { width: 100%; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle-line {
  width: 22px;
  height: 1.5px;
  background: var(--slate-700);
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--slate-50);
  overflow: hidden;
}

.hero .container--split {
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-600);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--slate-500);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--slate-400);
  flex-wrap: wrap;
}

.hero-trust .sep { color: var(--slate-200); }

.hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ── Intro Strip ──────────────────────────────────── */
.intro-strip {
  padding: 64px 0;
  border-bottom: 1px solid var(--slate-100);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.intro-item { position: relative; }

.intro-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--teal-100);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.intro-item p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.7;
  padding-left: 0;
}

/* ── Services ─────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: #ffffff;
}

.services .section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.services .section-sub { margin: 0 auto; }

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

.service-card {
  padding: 36px 28px;
  border: 1px solid var(--slate-100);
  border-radius: 10px;
  transition: all var(--transition);
  background: #ffffff;
}

.service-card:hover {
  border-color: var(--teal-200);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.08);
  transform: translateY(-3px);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--teal-600);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ── About ────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--slate-50);
}

.about .container--split {
  gap: 56px;
  align-items: stretch;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.about-content { display: flex; flex-direction: column; justify-content: center; }

.about-content .section-sub { margin-bottom: 28px; }

.about-content p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.about-feature svg {
  width: 18px;
  height: 18px;
  color: var(--teal-600);
  flex-shrink: 0;
}

/* ── New Patients ─────────────────────────────────── */
.new-patients {
  padding: 100px 0;
  background: var(--teal-800);
  overflow: hidden;
}

.new-patients-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.new-patients-content .section-title { color: #ffffff; }

.new-patients-content p {
  font-size: 1rem;
  color: var(--teal-200);
  line-height: 1.8;
  margin-bottom: 16px;
}

.np-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.np-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.np-step-num {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--teal-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.np-step-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.new-patients-image { border-radius: 10px; overflow: hidden; }
.new-patients-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* ── Contact ──────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: #ffffff;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.contact-detail {
  display: flex;
  gap: 16px;
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  color: var(--teal-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.contact-detail a:hover { color: var(--teal-600); }

/* Form */
.contact-form-wrap {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  padding: 40px;
}

.form-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--slate-900);
  margin-bottom: 28px;
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-600);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-800);
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-300); }

.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius);
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--teal-800);
}

.form-success svg {
  width: 20px;
  height: 20px;
  color: var(--teal-600);
  flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--slate-800);
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-brand .logo-mark { width: 40px; height: 40px; font-size: 0.875rem; }
.footer-brand .logo-text { font-size: 1.25rem; color: #ffffff; }
.footer-brand p { font-size: 0.875rem; color: var(--slate-400); line-height: 1.7; max-width: 320px; }

.footer-links { display: flex; gap: 48px; }

.footer-col strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a,
.footer-col span {
  font-size: 0.875rem;
  color: var(--slate-400);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--teal-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--teal-400); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .container--split { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; max-height: 420px; }
  .hero-image img { border-radius: 10px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .new-patients-inner { grid-template-columns: 1fr; }
  .new-patients-image { order: -1; max-height: 360px; }
  .new-patients-image img { border-radius: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    padding: 24px;
    transform: translateY(-110%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav li { border-bottom: 1px solid var(--slate-100); }
  .nav li:last-child { border-bottom: none; margin-top: 8px; }

  .nav a:not(.btn) {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--slate-700);
  }

  .nav a:not(.btn)::after { display: none; }

  .hero { min-height: auto; padding-top: 100px; padding-bottom: 40px; }
  .hero .container--split { gap: 32px; }
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.625rem; }
}

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