@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --dark:        #c8ddf0;
  --dark-mid:    #d8e8f5;
  --slate:       #4a5568;
  --steel:       #6b7a8d;
  --blue-pale:   #eaf4fd;
  --blue-light:  #f0f7fd;
  --blue-mid:    #b8cfe8;
  --silver:      #e8ecf0;
  --fog:         #f4f6f8;
  --white:       #ffffff;
  --accent:      #3d6a91;
  --accent-dark: #2a4f70;
  --text-dark:   #1e2f40;
  --text-body:   #3a4f62;
  --text-muted:  #6a7f95;
  --border:      rgba(61,106,145,0.2);
  --border-dark: rgba(61,106,145,0.28);
  --border-light: rgba(61,106,145,0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--dark-mid);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 40px;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.45);
}
.topbar a { color: var(--blue-pale); text-decoration: none; transition: opacity 0.2s; }
.topbar a:hover { opacity: 0.75; }
.topbar-right { display: flex; gap: 28px; align-items: center; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--dark);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  gap: 24px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
}
.nav-logo-text em {
  font-size: 9px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  flex-shrink: 0;
}
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-book {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-book:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 60px 56px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}
.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}
.footer-logo-sub {
  font-size: 10px;
  font-family: 'Jost', sans-serif;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}
.footer-col a:hover { color: var(--accent-dark); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); letter-spacing: 0.3px; }

/* ── SHARED UTILITIES ── */
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
}
.section-label.dark {
  color: var(--accent-dark);
}
.section-label.dark::before {
  background: var(--accent-dark);
}
.btn-gold {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-gold:hover { background: var(--accent-dark); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent-dark);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 36px;
  border: 1px solid var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade { opacity: 0; animation: fadeUp 0.9s ease forwards; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }

/* ════════════════════════════════════
   MOBILE RESPONSIVE — max-width: 768px
   ════════════════════════════════════ */

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--dark);
  border-bottom: 1px solid var(--border-dark);
  z-index: 199;
  padding: 24px 24px 32px;
  flex-direction: column;
  gap: 0;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile-menu a:hover, .nav-mobile-menu a.active { color: var(--accent-dark); }
.nav-mobile-menu .nav-book-mobile {
  margin-top: 20px;
  display: block;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-bottom: none;
}

@media (max-width: 768px) {

  /* NAV */
  nav {
    padding: 0 20px;
    height: 60px;
  }
  .nav-links, .nav-book { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-text { font-size: 15px; }
  .nav-logo img { height: 40px; width: 40px; }
  .nav-mobile-menu { top: 60px; }

  /* FOOTER */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 20px;
  }

  /* SHARED */
  .btn-gold, .btn-outline { padding: 14px 24px; font-size: 10px; }
  .section-label { font-size: 9px; letter-spacing: 2px; }
}

/* ── INDEX MOBILE ── */
@media (max-width: 768px) {
  /* Hero */
  .hero { grid-template-columns: 1fr !important; min-height: auto; }
  .hero-left { padding: 48px 20px 40px; }
  .hero-left h1 { font-size: 44px; letter-spacing: -1px; margin-bottom: 20px; }
  .hero-left p { font-size: 14px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions a { text-align: center; }
  .hero-right { min-height: 260px; }
  .hero-right img { object-position: center top; }
  .hero-info-card { bottom: 16px; left: 16px; padding: 14px 18px; }
  .hero-info-card strong { font-size: 12px; }
  .hero-info-card span { font-size: 11px; }

  /* Info strip */
  .info-strip { grid-template-columns: 1fr 1fr !important; }
  .info-strip-item { padding: 20px 16px; gap: 10px; }
  .info-strip-item h4 { font-size: 9px; }
  .info-strip-item p { font-size: 12px; }

  /* Services preview */
  .services-preview { padding: 56px 20px; }
  .services-preview-header { flex-direction: column; gap: 12px; margin-bottom: 36px; }
  .services-preview-header h2 { font-size: 36px; }
  .services-preview-header p { text-align: left; max-width: 100%; }
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card { padding: 32px 24px; }

  /* About strip */
  .about-strip { grid-template-columns: 1fr !important; }
  .about-strip-left { padding: 52px 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .about-strip-right { padding: 40px 20px; }
  .about-strip-left h2 { font-size: 34px; }

  /* CTA band */
  .cta-band { flex-direction: column !important; padding: 52px 20px; gap: 24px; }
  .cta-band h2 { font-size: 32px; }
  .btn-white { text-align: center; width: 100%; padding: 14px; }
}

/* ── ABOUT MOBILE ── */
@media (max-width: 768px) {
  /* Page hero */
  .page-hero { grid-template-columns: 1fr !important; gap: 20px; padding: 52px 20px 40px; }
  .page-hero h1 { font-size: 44px; }
  .page-hero-right p { font-size: 14px; }

  /* Mission */
  .mission { grid-template-columns: 1fr !important; gap: 40px; padding: 52px 20px; }
  .mission-left h2 { font-size: 32px; }
  .mission-left p { font-size: 14px; }

  /* Team */
  .team-section { padding: 52px 20px; }
  .team-member {
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
  .team-photo {
    width: 120px;
    aspect-ratio: 3/4;
  }
  .team-name { font-size: 28px; }
  .team-title { font-size: 10px; }
  .team-bio { font-size: 13px; }
  .cred-row span { font-size: 12px; }

  /* Clinic env */
  .clinic-env { padding: 52px 20px; }
  .clinic-env h2 { font-size: 32px; margin-bottom: 36px; }
  .clinic-env-grid { grid-template-columns: 1fr !important; }
}

/* ── SERVICES MOBILE ── */
@media (max-width: 768px) {
  /* Page hero */
  .page-hero { grid-template-columns: 1fr !important; gap: 20px; padding: 52px 20px 40px; }
  .page-hero h1 { font-size: 44px; }

  /* Service sections */
  .service-section-header {
    grid-template-columns: 1fr !important;
    gap: 0;
    padding: 44px 20px 0;
  }
  .service-section-num { font-size: 64px; margin-bottom: -8px; }
  .service-section-title h2 { font-size: 32px; }
  .service-section-title p { font-size: 13px; }

  .service-items { margin: 28px 20px 48px; }

  /* Cards — stack image above text on mobile */
  .service-item {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }
  .service-item-img-wrap {
    width: 100% !important;
    height: 200px;
  }
  .service-item-body { padding: 20px; }
  .service-item h3 { font-size: 20px; }
  .service-item p { font-size: 13px; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr !important; }
  .contact-left { padding: 52px 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .contact-right { padding: 40px 20px; }
  .contact-left h2 { font-size: 32px; }
  .form-row input, .form-row select, .form-row textarea { font-size: 16px; } /* prevent iOS zoom */
}
