:root {
  --navy: #0d2b3e;
  --navy-2: #12384f;
  --teal: #107f94;
  --teal-dark: #0b6274;
  --mint: #e7f2f0;
  --sand: #f7f3ea;
  --gold: #f0b429;
  --ink: #1d2b36;
  --muted: #5b6b77;
  --line: #dbe5e8;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'DM Sans', system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.65; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; color: var(--navy); line-height: 1.2; }
a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }

/* Navbar */
.site-nav { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); padding: .55rem 0; }
.navbar-brand { font-family: 'Fraunces', serif; font-weight: 700; color: var(--navy); font-size: 1.15rem; white-space: normal; max-width: 70%; line-height: 1.15; }
.navbar-brand span { color: var(--teal); }
.site-nav .nav-link { color: var(--ink); font-weight: 500; font-size: .95rem; padding: .5rem .7rem; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--teal); }
.btn-call { background: var(--navy); color: #fff; border-radius: 50px; padding: .45rem 1.1rem; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.btn-call:hover { background: var(--teal); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; border: 0; border-radius: 50px; padding: .7rem 1.6rem; }
.btn-gold:hover { background: #ffc94d; color: var(--navy); }
.btn-ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; font-weight: 700; border-radius: 50px; padding: .65rem 1.6rem; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* Hero — split panel */
.hero { display: grid; grid-template-columns: 5fr 6fr; min-height: min(78vh, 720px); background: var(--navy); }
.hero-panel { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); display: flex; align-items: center; padding: 4rem 3rem 4rem max(1.5rem, calc((100vw - 1320px) / 2 + 12px)); }
.hero-content { max-width: 560px; }
.hero-eyebrow { color: #7fd6e6; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .8rem; margin-bottom: 1rem; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.9rem); font-weight: 700; margin-bottom: 1.1rem; }
.hero-subtitle { color: #d6e6ec; font-size: 1.15rem; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-note { color: #9fc3cf; font-size: .92rem; margin: 0; }
.hero-note i { color: var(--gold); margin-right: .3rem; }
.hero-photo { background: url('img/hero.webp') 72% center / cover no-repeat; min-height: 340px; }

/* Highlights strip */
.strip { background: var(--teal); color: #fff; }
.strip-cell { padding: 1.6rem .75rem; display: flex; flex-direction: column; align-items: center; gap: .1rem; border-right: 1px solid rgba(255,255,255,.18); }
.strip-cell:last-child { border-right: 0; }
.strip-cell i { font-size: 1.5rem; color: var(--gold); }
.strip-cell strong { font-family: 'Fraunces', serif; font-size: 1.5rem; line-height: 1.2; }
.strip-cell span { font-size: .88rem; opacity: .9; }

/* Sections */
.section { padding: 6rem 0; }
.section-tint { background: var(--mint); }
.section-navy { background: var(--navy); color: #d6e6ec; }
.section-navy h2 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 3.2rem; text-align: center; }
.kicker { color: var(--teal); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .78rem; margin-bottom: .6rem; }
.section-navy .kicker { color: #7fd6e6; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; margin-bottom: 1rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.section-navy .lead { color: #b9d0d9; }
.fine { font-size: .85rem; color: var(--muted); }

/* Services */
.svc { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 10px; padding: 1.8rem; height: 100%; display: flex; flex-direction: column; }
.svc.svc-alt { background: var(--sand); border-top-color: var(--gold); }
.svc i { font-size: 1.7rem; color: var(--teal); }
.svc h3 { font-size: 1.25rem; margin: .7rem 0 .6rem; }
.svc p { color: var(--muted); flex: 1; }
.svc a { font-weight: 700; text-decoration: none; }
.svc a:hover { text-decoration: underline; }
.emergency { display: flex; align-items: center; gap: 1.5rem; background: var(--navy); color: #d6e6ec; border-radius: 10px; padding: 1.8rem 2rem; margin: 2rem 0 2.5rem; }
.emergency > i { font-size: 2.2rem; color: var(--gold); }
.emergency h3 { color: #fff; font-size: 1.3rem; margin-bottom: .3rem; }
.emergency p { margin: 0; font-size: .97rem; }
.emergency .btn { white-space: nowrap; }

.detail-acc .accordion-button { font-family: 'Fraunces', serif; font-weight: 600; color: var(--navy); font-size: 1.1rem; }
.detail-acc .accordion-button:not(.collapsed) { background: var(--mint); color: var(--navy); box-shadow: none; }
.detail-acc h4 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; color: var(--teal-dark); }
.detail-acc .accordion-body { color: #34434e; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(16,127,148,.25); }

/* Why */
.why-photo { border-radius: 10px; width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: 78% center; margin-bottom: 1.5rem; }
.quote { background: #fff; border-left: 4px solid var(--gold); border-radius: 8px; padding: 1.5rem 1.6rem; margin: 0; }
.quote p { font-family: 'Fraunces', serif; font-size: 1rem; color: var(--ink); margin-bottom: .8rem; }
.quote footer { font-weight: 700; color: var(--teal-dark); }
.why-item i { font-size: 1.5rem; color: var(--teal); }
.why-item h3 { font-size: 1.15rem; margin: .4rem 0; }
.why-item p { color: var(--muted); margin: 0; font-size: .96rem; }
.checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; }
.checks li { position: relative; padding-left: 1.7rem; font-size: .95rem; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Doctors */
.doc { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.8rem; height: 100%; }
.doc img { width: 130px; height: 162px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.doc-mono { width: 130px; height: 162px; border-radius: 8px; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--teal), var(--navy)); color: #fff; font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 600; }
.doc h3 { font-size: 1.4rem; margin-bottom: .1rem; }
.doc-role { color: var(--teal); font-weight: 700; letter-spacing: .1em; font-size: .85rem; }
.doc blockquote { font-style: italic; color: var(--muted); font-size: .95rem; border-left: 3px solid var(--gold); padding-left: 1rem; margin: 1rem 0; }
.doc h4 { font-family: 'DM Sans', sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-dark); margin: 1.2rem 0 .4rem; font-weight: 700; }
.doc ul { padding-left: 1.1rem; margin: 0; font-size: .93rem; color: #34434e; }

/* Gallery */
.gallery figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; height: 100%; aspect-ratio: 3/4; background: var(--navy-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .7rem; color: #fff; font-weight: 500; font-size: .9rem; background: linear-gradient(to top, rgba(13,43,62,.85), transparent); }

/* New patients */
.panel { background: var(--sand); border-radius: 10px; padding: 1.8rem; height: 100%; }
.panel h3 { font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.panel h3 i { color: var(--teal); }
.panel h4 { font-family: 'DM Sans', sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-dark); margin-top: 1.2rem; font-weight: 700; }
.panel ul { padding-left: 1.1rem; }
.panel ul.forms { list-style: none; padding: 0; }
.panel ul.forms li { padding: .5rem 0; border-bottom: 1px solid #e6dfcc; }
.panel ul.forms a { font-weight: 500; text-decoration: none; }
.panel ul.forms a::before { content: "\F1C1"; font-family: bootstrap-icons; margin-right: .5rem; color: var(--teal); }
.panel ul.forms a:hover { text-decoration: underline; }
.ins { font-size: .92rem; }

/* FAQ */
.resources { margin-top: 2rem; }
.resources h3 { font-size: 1.15rem; }
.resources ul { list-style: none; padding: 0; }
.resources li { padding: .3rem 0; }
#faqAcc .accordion-button { font-weight: 700; color: var(--navy); }
#faqAcc .accordion-button:not(.collapsed) { background: #fff; box-shadow: none; }
#faqAcc .accordion-body { color: #34434e; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal-dark), var(--navy)); color: #fff; padding: 4.5rem 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe3ea; max-width: 560px; margin: 0 auto 1.6rem; }

/* Contact */
.contact-card { background: var(--sand); border-radius: 10px; padding: 1.8rem; height: 100%; }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.contact-card i { color: var(--teal); margin-right: .4rem; }
.contact-card h4 { font-family: 'DM Sans', sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-dark); margin: 1.4rem 0 .5rem; font-weight: 700; }
.hours { width: 100%; font-size: .95rem; }
.hours th { font-weight: 500; padding: .25rem 0; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.exterior { width: 110px; border-radius: 8px; margin-top: 1.4rem; }
.map { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 10px; }

/* Footer */
.site-footer { background: var(--navy); color: #b9d0d9; padding: 3rem 0 1.4rem; }
.site-footer a { color: #fff; }
.logo-chip { display: inline-block; background: var(--sand); border-radius: 10px; padding: .6rem .9rem; }
.logo-chip img { display: block; width: 240px; }
.social { font-size: 1.6rem; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; }
.powered { text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 50px; padding: .3rem 1rem; }
.powered:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* Responsive */
@media (max-width: 1199.98px) {
  .site-nav .navbar-collapse { padding: .8rem 0 1rem; }
  .site-nav .nav-link { padding: .6rem 0; }
}
@media (max-width: 991.98px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel { padding: 3rem 1.5rem; order: 1; }
  .hero-photo { order: 0; min-height: 260px; background-position: 74% 30%; }
  .section { padding: 4rem 0; }
  .strip-cell:nth-child(2) { border-right: 0; }
  .strip-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .emergency { flex-direction: column; align-items: flex-start; }
  .map { min-height: 340px; }
}
@media (max-width: 575.98px) {
  .checks { grid-template-columns: 1fr; }
  .navbar-brand { font-size: 1rem; }
  .hero-ctas .btn { width: 100%; }
  .gallery figure { aspect-ratio: 4/5; }
}
