:root {
  --primary: #004274;
  --primary-dark: #002d54;
  --accent: #0b7285;
  --bg: #ffffff;
  --surface: #f5f8fb;
  --text: #1a2332;
  --text-light: #5a6b7e;
  --border: #e2e8f0;
  --radius: 12px;
  --max-width: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.a11y-no-anim { scroll-behavior: auto; }

body {
  font-family: 'Heebo', 'Assistant', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }

a { color: var(--primary); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.site-header .brand { display: flex; align-items: center; gap: 12px; }
.site-header .brand img { height: 56px; width: auto; }
.site-header nav.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
}
.site-header nav.main-nav a { color: var(--text); text-decoration: none; }
.site-header nav.main-nav a:hover { color: var(--primary); }

.hamburger {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamburger svg { width: 24px; height: 24px; stroke: var(--primary); }

@media (max-width: 860px) {
  .site-header nav.main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
  }
  .site-header nav.main-nav.open { display: flex; }
  .site-header nav.main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(0,66,116,.08), rgba(0,66,116,.02)), var(--surface);
  padding: 56px 24px 64px;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,420px);
  gap: 32px;
  align-items: center;
}
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,66,116,.18);
}
.hero-card {
  background: var(--primary);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
}
.hero-card h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 10px; }
.hero-card .subtitle { font-size: 1.05rem; opacity: .92; margin-bottom: 18px; }
.hero-card .cta-label { font-size: .95rem; opacity: .85; margin-bottom: 4px; }
.hero-card .phone-link {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;
}
.hero-card .insurance-note { font-weight: 700; color: #bfe6f5; }

p.intro-answer {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border-inline-start: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 28px;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
}

/* Sections */
section { padding: 56px 24px; }
section.alt { background: var(--surface); }
.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 32px;
}

.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.about-grid h3 { color: var(--primary); font-size: 1.3rem; margin: 20px 0 8px; }
.about-grid p { margin-bottom: 10px; color: var(--text-light); }

/* Interest chips */
.interests-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.interest-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.interest-chip svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 2; }

/* Publications */
.pub-list { max-width: var(--max-width); margin: 0 auto; display: grid; gap: 18px; }
.pub-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.pub-item .pub-title { font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.pub-item .pub-meta { color: var(--text-light); font-size: .92rem; }

/* Branches */
.branches-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.branch-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.branch-card.primary { border-color: var(--primary); box-shadow: 0 6px 20px rgba(0,66,116,.12); }
.branch-card h3 { color: var(--primary); font-size: 1.05rem; margin-bottom: 6px; }
.branch-card .badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.branch-card address { font-style: normal; color: var(--text-light); margin-bottom: 12px; }
.branch-card a.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  color: var(--accent);
}

/* Contact form */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--primary);
  color: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
}
.contact-wrap h2 { text-align: center; margin-bottom: 20px; font-size: 1.3rem; }
.contact-wrap form { display: grid; gap: 14px; }
.contact-wrap label { font-size: .85rem; font-weight: 600; margin-bottom: 4px; display: block; }
.contact-wrap input, .contact-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}
.contact-wrap textarea { min-height: 100px; resize: vertical; }
.contact-wrap button[type="submit"] {
  background: #1a6b3f;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.contact-wrap button[type="submit"]:hover { background: #14562f; }
.contact-wrap .form-note { font-size: .9rem; opacity: .85; text-align: center; margin-top: 6px; }

/* Video */
.video-wrap { max-width: 720px; margin: 0 auto; }
.video-wrap iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #cfe0ee;
  padding: 40px 24px 24px;
}
.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.footer-content h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.footer-content p { margin-bottom: 6px; font-size: .92rem; }
.footer-content a { color: #cfe0ee; text-decoration: none; }
.footer-content a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-copy {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 16px;
  font-size: .82rem;
  text-align: center;
  color: #9fb6cc;
}
.updated-note { font-size: .9rem; color: var(--text-light); margin-top: 24px; text-align: center; }

/* FAB */
.fab-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.fab {
  pointer-events: auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fab.wa { background: #25D366; }
.fab.call { background: var(--primary); }
.fab svg { width: 28px; height: 28px; fill: white; }

@media (max-width: 480px) {
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 24px; height: 24px; }
}
@media print { .fab-container { display: none; } }
