:root {
  --navy: #0f2942;
  --navy-deep: #0a1c2e;
  --teal: #2ca6a4;
  --teal-soft: #e4f4f3;
  --gold: #c9a45c;
  --cream: #f7f5f0;
  --ink: #16232f;
  --muted: #5b6b76;
  --font-head: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
}

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

.section-pad { padding: 6rem 0; }
@media (max-width: 767.98px) {
  .section-pad { padding: 4rem 0; }
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--teal);
}

.section-title {
  font-weight: 700;
  color: var(--navy);
}

.section-lede {
  color: var(--muted);
  max-width: 640px;
}

.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-light-custom {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.9rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}

.btn-navy-outline {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.btn-navy-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------- Navbar ---------- */
.navbar {
  background: var(--navy-deep);
  padding: 0.85rem 0;
  transition: box-shadow 0.2s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.navbar-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff !important;
  letter-spacing: 0.01em;
}
.navbar-brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 2px;
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem !important;
}
.navbar-nav .nav-link:hover { color: var(--gold) !important; }
.nav-call-btn {
  background: var(--teal);
  color: #fff !important;
  border-radius: 4px;
  padding: 0.5rem 1.1rem !important;
  font-weight: 700 !important;
  margin-left: 0.4rem;
}
.nav-call-btn:hover { background: var(--gold); color: var(--navy-deep) !important; }

/* ---------- Hero: compact angled photo hero, centered text ---------- */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: url('img/hero.webp') center 42% / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  padding-bottom: 4rem;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 46%, rgba(9,26,43,0.62) 0%, rgba(9,26,43,0.30) 55%, rgba(9,26,43,0.12) 100%),
    linear-gradient(to bottom, rgba(9,26,43,0.55) 0%, rgba(9,26,43,0.30) 40%, rgba(9,26,43,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.25rem 2rem;
  background: rgba(9,26,43,0.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 10px;
}
.hero-eyebrow {
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1.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-family: var(--font-head);
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.14;
  margin-bottom: 1.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: rgba(255,255,255,0.92);
  font-size: 1.08rem;
  max-width: 560px;
  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);
}
.hero-locations {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  margin-top: 1.75rem;
  letter-spacing: 0.02em;
  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.9);
}
.hero-locations strong { color: #fff; }

@media (max-width: 767.98px) {
  .hero-section { min-height: 88vh; clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); padding-top: 5.5rem; }
  .hero-content { padding: 1.75rem 1.25rem; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--teal-soft);
  border-top: 1px solid rgba(15,41,66,0.06);
  border-bottom: 1px solid rgba(15,41,66,0.06);
}
.stat-item { padding: 2.2rem 1rem; text-align: center; }
.stat-item i { font-size: 1.7rem; color: var(--teal); margin-bottom: 0.6rem; display: block; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  display: block;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- About ---------- */
.about-photo-wrap {
  background: var(--navy);
  border-radius: 8px;
  padding: 0.6rem;
  height: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.about-photo-wrap img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
.about-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 2.75rem 2.25rem;
  height: 100%;
}
.about-panel h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--gold);
}
.credential-list { list-style: none; padding: 0; margin: 0; }
.credential-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
  display: flex;
  gap: 0.65rem;
}
.credential-list li:last-child { border-bottom: none; }
.credential-list i { color: var(--gold); margin-top: 0.15rem; }

.about-copy p { color: var(--ink); }
.about-copy .lead-line {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(15,41,66,0.08);
  padding: 2.4rem 2rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15,41,66,0.1);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.service-icon i { color: var(--teal); font-size: 1.5rem; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.service-card p { color: var(--muted); font-size: 0.95rem; }
.service-card .service-detail {
  font-size: 0.9rem;
  color: var(--ink);
  margin-top: 1rem;
}

.symptom-list-wrap {
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(15,41,66,0.08);
  padding: 2.5rem;
}
.symptom-list { list-style: none; padding: 0; margin: 0; columns: 1; }
.symptom-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.symptom-list i { color: var(--teal); }
@media (min-width: 576px) {
  .symptom-list { columns: 2; column-gap: 2rem; }
  .symptom-list li { break-inside: avoid; }
}

/* ---------- New Patients ---------- */
.np-section { background: var(--navy-deep); color: #fff; }
.np-section .section-title { color: #fff; }
.np-section .section-lede { color: rgba(255,255,255,0.72); }
.accordion-item {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 0.75rem;
  border-radius: 6px !important;
  overflow: hidden;
}
.accordion-button {
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
}
.accordion-button:not(.collapsed) {
  background: rgba(44,166,164,0.16);
  color: var(--teal);
  box-shadow: none;
}
.accordion-button::after {
  filter: invert(1) brightness(1.8);
}
.accordion-body {
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
  background: rgba(0,0,0,0.12);
}

.insurance-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
}
.insurance-panel h3 {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.insurance-chip-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.4rem; }
.insurance-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  color: #fff;
}
.pip-note {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(15,41,66,0.08);
  padding: 1.9rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card i.bi-quote {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.testimonial-quote {
  font-size: 0.93rem;
  color: var(--ink);
  flex-grow: 1;
}
.testimonial-source {
  margin-top: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.88rem;
}
.testimonial-source span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}
.testimonial-card.cta-card {
  background: var(--navy);
  color: #fff;
  align-items: flex-start;
  justify-content: center;
}
.testimonial-card.cta-card h4 {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.testimonial-card.cta-card p { color: rgba(255,255,255,0.78); font-size: 0.9rem; }

/* ---------- Locations ---------- */
.location-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(15,41,66,0.08);
  overflow: hidden;
  height: 100%;
}
.location-card .map-embed {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
  filter: grayscale(15%);
}
.location-card-body { padding: 1.75rem; }
.location-card h3 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.location-card .loc-tag {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  display: block;
}
.location-card address {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}
.location-card .loc-phone {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}
footer.site-footer .footer-brand {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}
footer.site-footer h5 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
footer.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer.site-footer a:hover { color: var(--gold); }
footer.site-footer .footer-nav li { margin-bottom: 0.5rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  margin-right: 0.6rem;
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.footer-powered {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}
.footer-powered a { color: var(--gold); font-weight: 700; text-decoration: none; }
.footer-powered a:hover { text-decoration: underline; }

/* Bootstrap navbar toggler icon color fix */
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
