:root {
  --navy: #17324a;
  --navy-deep: #0f2333;
  --sage: #5f8a6d;
  --sage-light: #cddccd;
  --ivory: #f7f4ec;
  --ivory-dark: #eee9db;
  --text: #23303a;
  --gold: #b98a3e;
  --font-head: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-serif {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-deep);
}

a { text-decoration: none; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-pad { padding: 5.5rem 0; }

.bg-ivory-dark { background: var(--ivory-dark); }
.bg-navy { background: var(--navy); }

/* Navbar */
.navbar-wfw {
  background: rgba(23, 50, 74, 0.97);
  padding: 0.65rem 0;
  transition: padding 0.2s ease;
}

.navbar-brand-name {
  font-family: var(--font-head);
  color: #fff !important;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.navbar-brand-name span {
  color: var(--sage-light);
}

.navbar-wfw .nav-link {
  color: #e7ece9 !important;
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.5rem 0.9rem !important;
  letter-spacing: 0.01em;
}

.navbar-wfw .nav-link:hover {
  color: #fff !important;
}

.btn-navbar-cta {
  background: var(--sage);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.5rem 1.3rem !important;
  font-weight: 600;
  margin-left: 0.5rem;
}

.btn-navbar-cta:hover { background: #517a5e; color: #fff !important; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(15,35,51,0.45) 0%, rgba(15,35,51,0.10) 100%),
              linear-gradient(to bottom, rgba(15,35,51,0.45) 0%, rgba(15,35,51,0.20) 45%, rgba(15,35,51,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 3rem 2.5rem;
  margin: 0 1rem;
  background: rgba(15,35,51,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 1rem;
}

.hero-eyebrow {
  color: var(--sage-light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: #f2f0e8;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 1.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.btn-wfw-primary {
  background: var(--sage);
  border: none;
  color: #fff;
  padding: 0.85rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.btn-wfw-primary:hover { background: #517a5e; color: #fff; }

.btn-wfw-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  background: transparent;
}

.btn-wfw-outline:hover { background: #fff; color: var(--navy-deep); }

/* About / History */
.founding-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ivory-dark);
  border: 1px solid var(--sage-light);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.stat-block {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-top: 0.4rem;
}

/* Doctors */
.doctor-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23,50,74,0.08);
  height: 100%;
}

.doctor-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.doctor-body { padding: 1.75rem; }

.doctor-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: 0.15rem;
}

.doctor-title {
  color: var(--sage);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}

.doctor-body ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
  font-size: 0.93rem;
}

.doctor-body ul li { margin-bottom: 0.4rem; }

/* Conditions grid */
.condition-tile {
  background: #fff;
  border: 1px solid var(--ivory-dark);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  text-align: center;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.condition-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(23,50,74,0.1);
}

.condition-tile i {
  font-size: 1.6rem;
  color: var(--sage);
  margin-bottom: 0.6rem;
  display: block;
}

.condition-tile span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* Techniques */
.technique-card {
  background: var(--navy);
  color: #f0ece0;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  height: 100%;
}

.technique-card i {
  font-size: 1.9rem;
  color: var(--sage-light);
  margin-bottom: 1rem;
  display: block;
}

.technique-card h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.technique-card p {
  font-size: 0.9rem;
  color: #d3d8d3;
  margin-bottom: 0;
}

/* New patients steps */
.step-item { text-align: center; padding: 1rem; }

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Insurance badges */
.insurance-badge {
  background: #fff;
  border: 1px solid var(--ivory-dark);
  border-radius: 0.6rem;
  padding: 0.9rem 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: 0 8px 22px rgba(23,50,74,0.07);
  position: relative;
}

.testimonial-card i.bi-quote-open,
.testimonial-quote-mark {
  font-size: 1.8rem;
  color: var(--sage-light);
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin: 0.75rem 0 1.1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--navy);
}

/* Office photo panel */
.office-photo-frame {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(23,50,74,0.15);
}

.office-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Location */
.location-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(23,50,74,0.08);
  height: 100%;
}

.location-card h4 {
  font-size: 1.1rem;
  margin: 1.1rem 0 0.4rem;
}

.location-card h4:first-child { margin-top: 0; }

.location-card i { color: var(--sage); margin-right: 0.5rem; }

.map-frame {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23,50,74,0.08);
  height: 100%;
  min-height: 380px;
}

.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Footer */
.footer-wfw {
  background: var(--navy-deep);
  color: #cfd6d2;
  padding: 3.5rem 0 1.5rem;
}

.footer-logo-chip {
  background: var(--ivory);
  border-radius: 0.75rem;
  padding: 0.6rem 1.1rem;
  display: inline-block;
}

.footer-logo-chip img { height: 34px; display: block; }

.footer-wfw h5 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-wfw a { color: #cfd6d2; }
.footer-wfw a:hover { color: #fff; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; font-size: 0.92rem; }

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  margin-right: 0.6rem;
  font-size: 1.05rem;
}

.social-icons a:hover { background: var(--sage); }

.powered-by {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.powered-by a {
  color: var(--sage-light);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .section-pad { padding: 3.5rem 0; }
  .hero-content { padding: 2rem 1.5rem; }
}
