:root {
  --navy: #0b1f33;
  --blue: #0066a1;
  --blue-2: #0e6fa8;
  --blue-soft: #eaf4fa;
  --blue-band: #f4f9fc;
  --line: #d8e8f1;
  --text: #475867;
  --muted: #6c7b88;
  --green: #1f8a4c;
  --white: #ffffff;
  --warm: #fbfaf7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

p { margin: 0; }

.wrap {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  width: min(1280px, calc(100% - 40px));
}

.nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.links a:not(.btn) {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

.links .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.links a:not(.btn):hover,
.links a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.btn:hover { background: var(--blue-2); border-color: var(--blue-2); }

.btn.outline { background: var(--white); color: var(--blue); }

.btn.outline:hover { background: var(--blue-soft); color: var(--navy); }

.hero {
  background: var(--white);
  padding: 66px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 880px);
  gap: 32px;
  align-items: start;
}

.status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
}

h1, h2, h3 {
  color: var(--navy);
  margin: 0;
}

h1 {
  margin-top: 24px;
  max-width: 760px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -.03em;
  line-height: 1.14;
  text-wrap: balance;
}

h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -.025em;
  line-height: 1.18;
}

h3 {
  font-size: 20px;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.lead {
  margin-top: 24px;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions,
.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.schedule-card,
.card,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.schedule-card { padding: 24px; }

.schedule-card p { margin-top: 8px; }

.schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}

.schedule-row:first-of-type { margin-top: 20px; }

/* Appointment request form styles (white clinical theme) */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
}

.form-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
}

.form-note {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid .form-card {
    order: -1;
  }
}

.task-band {
  background: var(--blue-band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 0;
}

.task {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  min-height: 170px;
}

.task:hover,
.card:hover,
.schedule-row:hover {
  border-color: rgba(0, 102, 161, .45);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.task p,
.card p,
.service p,
.pathway li {
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding: 118px 0 78px;
  border-bottom: 1px solid var(--line);
}

.task-band + .section { padding-top: 82px; }

.section.tight { padding-top: 78px; }

.section.blue-band { background: var(--blue-band); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.split > div:first-child {
  min-width: 0;
}

.split h2 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.about-split {
  grid-template-columns: minmax(420px, .85fr) 1fr;
}

.about-split h2 {
  max-width: 500px;
  text-wrap: balance;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pathways,
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.inline-cards {
  margin-top: 28px;
}

.card,
.pathway {
  padding: 26px;
}

.provider-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-band);
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
  align-items: stretch;
}

.proof-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
}

.proof-card .quote {
  margin-top: 0;
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.badge-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 14px;
}

.badge-tile img {
  max-height: 86px;
  width: auto;
}

.pathway ul,
.clean-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.pathway li,
.clean-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}

.service {
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 155px;
}

.card h2 {
  font-size: 22px;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.service h3 a,
.card h2 a,
.card h3 a {
  color: var(--navy);
}

.service h3 a:hover,
.card h2 a:hover,
.card h3 a:hover {
  color: var(--blue);
}

.service:nth-child(even) { border-right: 0; }
.service:nth-last-child(-n+2) { border-bottom: 0; }

.provider-bar,
.resources-grid {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  display: grid;
  overflow: hidden;
}

.provider-bar { grid-template-columns: repeat(2, 1fr); }
.resources-grid { grid-template-columns: repeat(2, 1fr); }

.provider,
.resource {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.provider:last-child,
.resource:nth-child(even) { border-right: 0; }

.resource:nth-child(n + 3) { border-top: 1px solid var(--line); }

.quote {
  background: var(--warm);
  border-left: 4px solid var(--blue);
  padding: 22px;
  color: var(--navy);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.035em;
  margin-top: 20px;
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}

.location-card > div { padding: 34px; }

.location-card > div:first-child {
  background: var(--blue-soft);
  border-right: 1px solid var(--line);
}

.page-hero {
  padding: 76px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: 920px; }

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.profile-card {
  margin-top: 12px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.back-link:hover {
  color: var(--navy);
}

.breadcrumb {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.notice {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  color: var(--navy);
  font-weight: 700;
}

.footer {
  background: var(--blue-band);
  color: var(--navy);
  padding: 46px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.footer h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 14px;
}

.footer a {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.fine-print {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .utility .wrap { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  .hero-grid,
  .detail-hero-grid,
  .split,
  .location-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .task-grid,
  .pathways,
  .cards-3,
  .proof-grid,
  .provider-bar,
  .resources-grid {
    grid-template-columns: 1fr;
    transform: none;
  }
  .badge-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding-top: 78px; }
  .services,
  .cards-2 {
    grid-template-columns: 1fr;
  }
  .service,
  .service:nth-child(even),
  .service:nth-last-child(-n+2),
  .provider,
  .resource,
  .resource:nth-child(even),
  .location-card > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  h1 { font-size: clamp(28px, 6.4vw, 36px); }
  h2 { font-size: clamp(22px, 4.8vw, 28px); }
  .card h2 { font-size: 20px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 22px; }
  .service { min-height: 0; }
  .profile-card .provider-photo { max-width: 200px; }
  .hero, .page-hero { padding-top: 46px; }
  .hero-actions, .action-row { flex-direction: column; }
  .btn { width: 100%; }
  .badge-row { grid-template-columns: 1fr; }
}

/* Hamburger menu for mobile */
.hamburger {
  display: none;
  position: relative;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--navy);
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.hamburger svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: opacity 0.15s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.hamburger::before { transform: translate(-50%, -50%) rotate(45deg); }
.hamburger::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.hamburger[aria-expanded="true"] svg { opacity: 0; pointer-events: none; }
.hamburger[aria-expanded="true"]::before,
.hamburger[aria-expanded="true"]::after { opacity: 1; }

.hamburger .line {
  transition: none;
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 16px 28px 22px;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  padding: 11px 0;
  font-size: 15px;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav a.btn {
  margin-top: 8px;
  border-radius: 8px;
  text-align: center;
  color: var(--white);
}

/* Mobile nav styles */
@media (max-width: 1200px) {
  .nav {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    min-height: 0;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 44px);
  }
  .brand-logo {
    width: 100%;
    max-height: 72px;
  }
  .hamburger {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
  }
  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 20px;
    box-shadow: 0 6px 20px rgba(11, 31, 51, 0.08);
    flex-direction: column;
    gap: 2px;
    width: 100%;
    z-index: 25;
  }
  .links.open {
    display: flex;
  }
  .links a:not(.btn) {
    padding: 14px 24px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
  }
  .links a:not(.btn):hover {
    background: var(--blue-soft);
    color: var(--navy);
    border-color: transparent;
  }
  .links .btn {
    margin: 14px 24px 6px;
    width: auto;
    align-self: stretch;
    justify-content: center;
  }
  .links a.active {
    background: var(--blue-soft);
    color: var(--blue);
  }
}

@media (max-width: 560px) {
  .site-header .wrap { width: min(100% - 20px, 1280px); }
  .nav { gap: 8px; padding: 8px 0; }
  .brand { max-width: calc(100% - 40px); }
  .brand-logo { max-height: none; }
  .hamburger { width: 44px; height: 44px; }
  .brand { max-width: calc(100% - 52px); }
}

/* Readability pass: larger body copy for an older patient audience */
:root { --text: #3b4b59; }

.task p,
.card p,
.service p,
.pathway li {
  font-size: 17px;
  line-height: 1.55;
}

.service h3 { font-size: 21px; }
.service { min-height: 0; }

.btn { font-size: 16px; }
.links a:not(.btn),
.links .btn { font-size: 15px; }

.eyebrow,
.breadcrumb,
.status { font-size: 13px; }

.footer a { font-size: 15px; }

h2 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -.02em;
}

.section { padding: 88px 0 64px; }
.section.tight { padding-top: 64px; }

.provider-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.provider-card .provider-photo {
  max-width: 132px;
  margin: 0;
}

.provider-card h3 { font-size: 22px; line-height: 1.2; }
.provider-card p { margin-top: 8px; }

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

.text-link:hover { color: var(--navy); }

.location-card > div:first-child { background: var(--white); }
.location-card p { text-wrap: pretty; }

.hours {
  margin-top: 10px;
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 960px) {
  .section { padding: 56px 0 48px; }
  .section.tight { padding-top: 56px; }
  h2 { font-size: clamp(25px, 6.4vw, 30px); }
}

@media (max-width: 560px) {
  .provider-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .provider-card .provider-photo { max-width: 96px; }
  .provider-card h3 { font-size: 19px; }
}

.visit-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.visit-path {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  background: var(--white);
}

.visit-path h3 { margin-bottom: 10px; }

.visit-path p { margin: 0; }

.visit-path a {
  color: var(--blue);
  font-weight: 800;
}

.visit-path a:hover { color: var(--navy); }

.visit-path-emergency {
  background: var(--warm);
  border-color: #e4d3c4;
}

@media (max-width: 960px) {
  .visit-paths { grid-template-columns: 1fr; }
}

.visit-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px;
  background: var(--white);
}

.visit-location p { margin-top: 8px; }

.suite-list { margin: 0; }

.suite-list > div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.suite-list > div:last-child { border-bottom: 1px solid var(--line); }

.suite-list dt {
  color: var(--navy);
  font-weight: 800;
}

.suite-list dd {
  margin: 4px 0 0;
  color: var(--text);
}

.suite-list .suite-note {
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .visit-location { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}

.hero h1 { margin-top: 0; }

.booking-hero { padding: 56px 0 64px; }

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 56px;
  align-items: start;
}

.booking-grid h1 { margin-top: 14px; }
.booking-grid .lead { margin-top: 16px; }

.booking-facts { margin: 32px 0 0; }

.booking-facts > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.booking-facts dt {
  color: var(--navy);
  font-weight: 800;
}

.booking-facts dd { margin: 0; }

@media (max-width: 960px) {
  .booking-grid { grid-template-columns: 1fr; gap: 32px; }
  .booking-hero { padding: 40px 0 48px; }
}

@media (max-width: 560px) {
  .booking-facts > div { grid-template-columns: 1fr; gap: 2px; }
}

input, textarea, select, button { font: inherit; }
a[href^="tel:"] { white-space: nowrap; }

.booking-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  grid-template-areas: "intro form" "facts form";
  grid-template-rows: auto 1fr;
  row-gap: 0;
}
.booking-intro { grid-area: intro; }
.booking-grid .form-card { grid-area: form; }
.booking-grid .booking-facts { grid-area: facts; align-self: start; }

@media (max-width: 960px) {
  .booking-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "form" "facts";
    grid-template-rows: auto;
    row-gap: 32px;
  }
  .booking-grid .booking-facts { margin-top: 0; }
}
