/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1a3a5c;
  --teal:    #2a7f7f;
  --teal-lt: #3aa8a8;
  --gold:    #c8922a;
  --cream:   #f7f9fb;
  --white:   #ffffff;
  --gray:    #6b7280;
  --gray-lt: #e8edf2;
  --text:    #1e2a38;
  --font-display: 'Merriweather', Georgia, serif;
  --font-body:    'Open Sans', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.3;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: #b8d0e8;
  font-size: 13px;
  padding: 7px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: #b8d0e8; }
.top-bar a:hover { color: #fff; }
.top-bar .bill-pay {
  background: var(--gold);
  color: #fff;
  padding: 4px 12px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
}
.top-bar .bill-pay:hover { background: #a97620; text-decoration: none; }

/* ===== HEADER / NAV ===== */
header {
  background: var(--white);
  border-bottom: 3px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
}
.logo-wrap .logo-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.logo-wrap .logo-sub {
  font-size: 12px;
  color: var(--teal);
  letter-spacing: .04em;
  font-weight: 600;
}
.header-phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.header-phone span { font-size: 12px; color: var(--gray); display: block; text-align: right; }

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
nav ul li a {
  display: block;
  padding: 8px 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
nav ul li a:hover, nav ul li a.active {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
}
.nav-wrap { display: flex; }

@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  .nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--teal);
    padding: 10px 20px 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
  }
  .nav-wrap.open { display: block; }
  nav ul { flex-direction: column; gap: 2px; }
  .header-inner { flex-wrap: wrap; }
  .header-phone { font-size: 15px; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5580 60%, var(--teal) 100%);
  color: var(--white);
  padding: 80px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,36,64,.85) 0%, rgba(42,85,128,.78) 60%, rgba(30,120,120,.78) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero-slide-caption { font-size: 14px; color: #d8ecf5; margin-top: 18px; font-style: italic; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #a8d8d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
}
.hero p {
  font-size: 18px;
  color: #c8dff0;
  max-width: 640px;
  margin: 0 auto 30px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.18); text-decoration: none; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }

/* ===== ALERT BANNER ===== */
.alert-bar {
  background: #fef3cd;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  color: #7a5a00;
}
.alert-bar a { color: #7a5a00; font-weight: 700; }

/* ===== SECTIONS ===== */
section { padding: 64px 0; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  color: var(--gray);
  max-width: 640px;
  font-size: 16px;
  margin-bottom: 40px;
}
.section-bg { background: var(--cream); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: 10px;
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
  border-top: 4px solid var(--teal);
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-3px); }
.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--gray); }
.team-photo {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 14px; border: 3px solid var(--teal);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== ABOUT SPLIT ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #c8dff0 0%, #a0c4e0 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(200,146,42,.35);
}
.about-badge strong { display: block; font-size: 28px; }
.about-list { list-style: none; margin: 20px 0; }
.about-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid var(--gray-lt);
}
.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 700px) {
  .about-split { grid-template-columns: 1fr; gap: 30px; }
  .about-badge { bottom: 10px; right: 10px; }
}

@media (max-width: 700px) {
  .contact-split { grid-template-columns: 1fr !important; }
}

/* ===== HOURS / INFO CARDS ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.info-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 22px;
  border-left: 5px solid var(--teal);
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.info-card h3 { font-size: 15px; margin-bottom: 12px; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.info-card p, .info-card address { font-size: 14px; color: var(--text); font-style: normal; line-height: 1.8; }
.info-card a { color: var(--teal); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours-table tr:not(:last-child) td { border-bottom: 1px solid var(--gray-lt); }
.hours-table td { padding: 5px 4px; }
.hours-table td:last-child { text-align: right; color: var(--gray); }

/* ===== NOTICE BOX ===== */
.notice-box {
  background: #fff8e6;
  border: 1px solid #f0d080;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 14px;
  color: #6b4f00;
  margin: 40px 0;
}
.notice-box strong { display: block; margin-bottom: 6px; font-size: 15px; }

/* ===== INSURANCE LOGOS ===== */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.ins-badge {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: clamp(22px, 3.5vw, 34px); margin-bottom: 12px; }
.cta-banner p { color: #b8d8d8; font-size: 16px; margin-bottom: 28px; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: #9ab8d4;
  padding: 50px 0 20px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .logo-title { color: var(--white); font-family: var(--font-display); font-size: 18px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
footer h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: #9ab8d4; transition: color .2s; }
footer ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #6a8daa;
}
.footer-bottom a { color: #6a8daa; }

.nondiscrimination {
  font-size: 12px;
  color: #7a9bba;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
  margin-top: 16px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== PAGE INNER ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #254f7a 100%);
  color: var(--white);
  padding: 52px 20px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(24px, 4vw, 38px); }
.page-hero p { color: #b8d0e8; margin-top: 10px; font-size: 16px; }

.breadcrumb { font-size: 13px; color: #8ab0cc; margin-bottom: 10px; }
.breadcrumb a { color: #8ab0cc; }
.breadcrumb a:hover { color: var(--white); }

/* ===== MAP EMBED PLACEHOLDER ===== */
.map-wrap {
  width: 100%;
  height: 340px;
  background: #dbe8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ===== CONTACT FORM ===== */
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cdd8e3;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-form textarea { height: 120px; resize: vertical; }

/* ===== PATIENT PORTAL ===== */
.portal-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  max-width: 500px;
  margin: 0 auto;
}
.portal-card .icon { font-size: 56px; margin-bottom: 18px; }
.portal-card h2 { margin-bottom: 12px; }
.portal-card p { color: var(--gray); font-size: 15px; margin-bottom: 24px; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.divider { border: none; border-top: 1px solid var(--gray-lt); margin: 40px 0; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  color: #c5d8ea;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  z-index: 999;
  box-shadow: 0 -4px 14px rgba(0,0,0,.2);
}
#cookie-banner a { color: #a0cce0; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btn {
  padding: 7px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.cookie-accept { background: var(--teal); color: #fff; }
.cookie-reject { background: transparent; border: 1px solid #6a8daa; color: #c5d8ea; }
