:root {
  --navy: #13294b;
  --navy-deep: #0a1730;
  --teal: #1fb6ac;
  --teal-dark: #158f88;
  --ivory: #f7f5ef;
  --cream-card: #fffdf9;
  --slate: #47536b;
  --gold: #c9a463;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate);
  background: var(--ivory);
}

h1, h2, h3, h4, .navbar-brand, .price-tag {
  font-family: 'Playfair Display', Georgia, serif;
}

a { color: var(--teal-dark); }
a:hover { color: var(--navy); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.section-title {
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-pad { padding: 5.5rem 0; }
.bg-white { background: #fff; }
.bg-ivory { background: var(--ivory); }

/* ---------- Navbar ---------- */
.wfw-navbar {
  background: var(--navy);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.wfw-navbar .brand-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.1;
}
.wfw-navbar .brand-sub {
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
}
.wfw-navbar .nav-link {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
}
.wfw-navbar .nav-link:hover { color: var(--teal); }
.btn-call {
  background: var(--teal);
  color: var(--navy-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  white-space: nowrap;
}
.btn-call:hover { background: #29d6ca; color: var(--navy-deep); }

/* ---------- Hero: typographic-forward, navy duotone ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 46%, rgba(10,23,48,0.55) 0%, rgba(10,23,48,0.08) 100%),
    linear-gradient(180deg, rgba(10,23,48,0.86) 0%, rgba(19,41,75,0.80) 45%, rgba(10,23,48,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  padding: 2.5rem 2rem;
  background: rgba(10,23,48,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 1.5rem;
}
.hero-eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  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 {
  font-weight: 800;
  color: #fff;
  font-size: clamp(1.9rem, 7vw, 4.6rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  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: #eef2f8;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 2rem;
  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-cta-primary {
  background: var(--teal);
  border: none;
  color: var(--navy-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.7rem;
}
.btn-cta-primary:hover { background: #29d6ca; color: var(--navy-deep); }
.btn-cta-secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.65rem 1.6rem;
}
.btn-cta-secondary:hover { background: #fff; color: var(--navy); }

/* Insurance/payment section buttons need dark text on light bg */
#insurance .btn-cta-secondary {
  border-color: var(--navy);
  color: var(--navy);
}
#insurance .btn-cta-secondary:hover { background: var(--navy); color: #fff; }
#visit .btn-cta-secondary {
  border-color: var(--navy);
  color: var(--navy);
}
#visit .btn-cta-secondary:hover { background: var(--navy); color: #fff; }

/* ---------- Specialty strip ---------- */
.specialty-strip {
  background: var(--navy-deep);
  padding: 1.75rem 0;
}
.specialty-cell {
  color: #fff;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.specialty-cell:last-child { border-right: none; }
.specialty-cell i { font-size: 1.6rem; color: var(--teal); }
.specialty-cell span { font-weight: 600; font-size: 0.95rem; }

/* ---------- About ---------- */
.about-photo { max-width: 100%; }
.lead-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--navy);
}
.credential-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.credential-list li { margin-bottom: 0.6rem; }
.credential-list i { color: var(--teal-dark); margin-right: 0.5rem; }

/* ---------- Services ---------- */
.service-card {
  background: var(--cream-card);
  border: 1px solid rgba(19,41,75,0.08);
  border-radius: 1.25rem;
  padding: 2rem;
}
.service-card h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}
.service-card h3 i { color: var(--teal-dark); }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(19,41,75,0.08);
}
.service-list li:last-child { border-bottom: none; }
.service-list strong { color: var(--navy); }

/* ---------- ClearCorrect pricing ---------- */
.price-card {
  background: #fff;
  border: 1px solid rgba(19,41,75,0.1);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
}
.price-card h4 { color: var(--navy); font-size: 1.1rem; margin-bottom: 0.6rem; }
.price-tag { color: var(--teal-dark); font-weight: 700; font-size: 1.3rem; margin-bottom: 0.3rem; }
.price-note { font-size: 0.82rem; color: var(--slate); margin: 0; }

/* ---------- Implants ---------- */
.implants-section {
  background: linear-gradient(180deg, #fff 0%, var(--ivory) 100%);
}
.implants-lead { max-width: 680px; }
.stat-block {
  text-align: center;
  padding: 1.5rem 1rem;
  height: 100%;
}
.stat-block i { font-size: 2rem; color: var(--teal-dark); margin-bottom: 0.75rem; display: block; }
.stat-block h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.stat-block p { font-size: 0.9rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-card img { width: 100%; height: 260px; object-fit: cover; }
.gallery-caption {
  text-align: center;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

/* ---------- Insurance ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li { margin-bottom: 0.7rem; font-weight: 500; color: var(--navy); }
.check-list i { color: var(--teal-dark); margin-right: 0.6rem; }

/* ---------- FAQ ---------- */
.accordion-button {
  font-weight: 600;
  color: var(--navy);
}
.accordion-button:not(.collapsed) {
  background: rgba(31,182,172,0.09);
  color: var(--navy);
}
.accordion-button:focus { box-shadow: none; border-color: rgba(19,41,75,0.15); }

/* ---------- Visit ---------- */
.visit-card {
  background: #fff;
  border: 1px solid rgba(19,41,75,0.1);
  border-radius: 1.25rem;
  padding: 1.75rem;
}
.visit-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 1rem; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(19,41,75,0.08);
  font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { font-weight: 600; color: var(--navy); }
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(19,41,75,0.12);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.site-footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-logo-chip {
  background: #f9f7f2;
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
}
.footer-muted { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-muted a { color: rgba(255,255,255,0.85); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--teal); }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-top: 1rem;
  font-size: 1.1rem;
}
.social-icon:hover { background: var(--teal); color: var(--navy-deep); }
.footer-hr { border-color: rgba(255,255,255,0.15); margin: 2.5rem 0 1.5rem; }
.powered-by a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
}
.powered-by a:hover { color: var(--teal); }
.powered-by strong { color: var(--teal); }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .wfw-navbar .nav-link { padding: 0.6rem 0.5rem; }
  .btn-call { margin-top: 0.5rem; display: inline-block; }
  .specialty-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
}

@media (max-width: 575.98px) {
  .section-pad { padding: 3.5rem 0; }
  .hero-content { padding: 1.75rem 1.25rem; }
}
