/* Mitchell's Pharmacy — design system */
:root {
  --navy: #012c5f;
  --navy-700: #023d80;
  --navy-600: #064a96;
  --baby-blue: #cbddf0;
  --baby-blue-light: #e7f0fa;
  --baby-blue-50: #f3f8fd;
  --ink: #15263b;
  --body: #3c4a5c;
  --muted: #607089;
  --line: #d9e2ee;
  --white: #ffffff;
  --bg: #f3f8fc;
  --bg-alt: #f3f8fd;
  --gold: #e8a838;
  --shadow-sm: 0 1px 2px rgba(1, 44, 95, 0.06), 0 2px 8px rgba(1, 44, 95, 0.06);
  --shadow-md: 0 6px 24px rgba(1, 44, 95, 0.1);
  --shadow-lg: 0 18px 48px rgba(1, 44, 95, 0.16);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1180px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --topbar-h: 40px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--navy-600);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

svg {
  flex: none;
}

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

.narrow {
  max-width: 800px;
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Section headers / titles rendered in all caps (via CSS so source copy stays intact) */
.section-title,
.svc-card-title,
.page-hero h1.page-hero-title-1line,
main h2,
.site-footer h2,
.staff-group h3,
.services-more .btn,
.about-more .btn,
.hero-tagline,
.primary-nav > ul > li > a,
.drawer-link,
.header-ctas .btn,
.drawer-ctas .btn {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Full-bleed baby-blue band behind selected section headings */
#locations-heading,
#services-heading,
#about-heading {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--baby-blue);
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.6;
}
.muted {
  color: var(--muted);
  font-size: 0.95rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--navy-600);
  margin: 0 0 0.6rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease,
    box-shadow 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn svg {
  width: 19px;
  height: 19px;
}
.btn-lg {
  padding: 1rem 1.8rem;
  font-size: 1.08rem;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--navy-700);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
}
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  background: var(--baby-blue-light);
}
.btn-ghost {
  background: var(--baby-blue-light);
  color: var(--navy);
}
.btn-ghost:hover {
  background: var(--baby-blue);
}
.btn-call {
  background: var(--navy-600);
  color: #fff;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: #dce8f6;
  font-size: 0.86rem;
}
.topbar a {
  color: #dce8f6;
}
.topbar a:hover {
  color: #fff;
  text-decoration: none;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-h);
  gap: 1rem;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-loc {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.topbar-loc-name {
  font-weight: 600;
}
.topbar-divider {
  width: 1px;
  height: 16px;
  background: currentColor;
  opacity: 0.35;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}
.open-now .dot,
.open-now-text {
  font-weight: 600;
}
.open-now.is-open {
  color: #8fe3b0;
}
.open-now.is-closed {
  color: #f3b9b9;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.is-stuck {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.logo {
  flex: none;
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 50px;
  width: auto;
}
.primary-nav {
  margin-left: 0.5rem;
}
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ink);
  font-weight: 600;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.98rem;
  white-space: nowrap;
}
.primary-nav > ul > li > a:hover {
  background: var(--baby-blue-50);
  color: var(--navy);
  text-decoration: none;
}
.primary-nav a[aria-current="page"] {
  color: var(--navy);
}
.primary-nav > ul > li > a svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.has-dropdown {
  position: relative;
}
.has-dropdown:hover > a svg,
.has-dropdown:focus-within > a svg {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 290px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.7rem;
  border-radius: 9px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
}
.dropdown a:hover {
  background: var(--baby-blue-50);
  color: var(--navy);
  text-decoration: none;
}
.dropdown a svg {
  width: 19px;
  height: 19px;
  color: var(--navy-600);
}
.dropdown-sm {
  min-width: 220px;
}
.header-ctas {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-ctas .btn {
  padding: 0.62rem 1rem;
  font-size: 0.92rem;
}
.header-call,
.hamburger {
  display: none;
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 18, 40, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
  z-index: 150;
}
.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(360px, 88vw);
  background: #fff;
  z-index: 160;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 2rem;
  overflow-y: auto;
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer[hidden] {
  display: flex;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.drawer-logo img {
  height: 42px;
  width: auto;
}
.drawer-close {
  background: var(--baby-blue-50);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--navy);
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.drawer-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.drawer-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.drawer-sublist {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem 0.5rem;
}
.drawer-sublist a {
  display: block;
  padding: 0.55rem 0.25rem;
  color: var(--body);
  font-weight: 500;
}
.drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 0;
}
.drawer-hours {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
}
.hero-banner {
  background: var(--baby-blue);
  padding: 0.75rem 0;
  text-align: center;
}
.hero-figure,
.hero-media,
.hero-media img {
  display: block;
  width: 100%;
}
.hero-media img {
  height: clamp(360px, 52vh, 560px);
  object-fit: cover;
  object-position: center 35%;
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 auto;
  white-space: nowrap;
}
.hero-actions {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.hero-actions-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.15rem;
}
.hero-call svg {
  width: 20px;
  height: 20px;
}
.hero-open {
  color: var(--body);
}
.hero-open svg {
  width: 18px;
  height: 18px;
}

/* Locations section */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.75rem;
}
.loc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.loc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.loc-card-img {
  display: block;
  width: 100%;
  height: auto;
}
.loc-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.loc-card-logo {
  width: 200px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 0.25rem;
}
.loc-card h2 {
  margin: 0;
}
.badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--baby-blue);
  color: var(--navy);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  vertical-align: middle;
}
.loc-card-addr a,
.loc-card-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--body);
  font-weight: 500;
}
.loc-card-addr svg,
.loc-card-contact svg {
  width: 17px;
  height: 17px;
  color: var(--navy-600);
}
.loc-card-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}
.loc-card-fax {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.loc-card-fax svg {
  width: 16px;
  height: 16px;
}
.loc-card .btn {
  margin-top: auto;
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0.25rem 0;
}
.hours-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 0.4rem;
  font-family: var(--serif);
}
.hours-table th,
.hours-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.hours-table th {
  font-weight: 500;
  color: var(--body);
}
.hours-table td {
  text-align: right;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}
.hours-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
}
.hours-note svg {
  width: 15px;
  height: 15px;
}

/* Services grid (home) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.svc-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.svc-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.svc-card-link:hover {
  text-decoration: none;
}
.svc-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.svc-card:hover .svc-card-media img {
  transform: scale(1.05);
}
.svc-card-body {
  padding: 1.4rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
}
.svc-card-icon {
  position: absolute;
  top: -28px;
  left: 1.35rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.svc-card-icon svg {
  width: 26px;
  height: 26px;
}
.svc-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.75rem;
}
.svc-card-text {
  color: var(--body);
  font-size: 0.97rem;
}
.services-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* Services index */
.svc-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.svc-index-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.svc-index-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--baby-blue);
}
.svc-index-card a {
  display: block;
  padding: 1.8rem;
  height: 100%;
  color: inherit;
}
.svc-index-card a:hover {
  text-decoration: none;
}
.svc-index-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--baby-blue-light);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.svc-index-icon svg {
  width: 28px;
  height: 28px;
}
.svc-index-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.svc-index-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy-600);
  font-weight: 600;
  margin-top: 0.75rem;
}
.svc-index-more svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s;
}
.svc-index-card:hover .svc-index-more svg {
  transform: translateX(4px);
}

/* About */
.about-copy {
  max-width: 820px;
  margin: 2.5rem auto 0;
}
.about-copy p {
  font-size: 1.12rem;
  line-height: 1.7;
}
.about-copy-lg {
  margin: 0;
}
.about-page-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about-portrait {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
}
.about-portrait figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: #fff;
}
.mission-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(2rem, 5vw, 3.25rem);
}
.mission-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--baby-blue-50);
  color: var(--navy);
}
.mission-icon svg {
  width: 28px;
  height: 28px;
}
.mission-card .section-title {
  margin-bottom: 1rem;
}
.mission-statement {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 56ch;
  margin: 0 auto;
}
.mission-card--invert {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.mission-card--invert .section-title {
  color: #fff;
}
.mission-card--invert .mission-statement {
  color: #fff;
}
.mission-card--invert .mission-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.about-stack {
  max-width: 1000px;
}
.about-copy-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-photo-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.75rem;
  margin-top: 2.75rem;
}
.about-photo {
  margin: 0;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.about-photo img {
  display: block;
  height: 400px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
}
.about-photo figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: #fff;
  text-align: center;
}
.about-actions-center {
  justify-content: center;
  margin-top: 2.5rem;
}
.about-actions-center .btn {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.about-actions-center .btn:hover {
  background: var(--navy);
  color: #fff;
}
.svc-slideshow--square .svc-slideshow-track {
  aspect-ratio: 1 / 1;
}
.staff-feature {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--baby-blue);
}
.staff-feature img {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 460px);
  object-fit: cover;
}
.svc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}
.svc-gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--baby-blue);
}
.svc-gallery-item img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.about-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.about-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.about-figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: #fff;
}
.about-historic {
  margin: 2.5rem auto 0;
  max-width: 460px;
  text-align: center;
}
.about-historic img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.about-historic figcaption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
}
.about-more,
.about-actions {
  margin-top: 2rem;
}
.about-more {
  display: flex;
  justify-content: center;
}
.about-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Reviews */
.reviews-section {
  background: var(--navy);
  color: #eaf2fb;
}
.reviews-inner {
  text-align: center;
  max-width: 720px;
}
.reviews-section .section-title {
  color: #fff;
}
.reviews-lead {
  font-size: 1.15rem;
  color: #cfe0f3;
  margin-bottom: 2rem;
}
.review-cta {
  display: flex;
  justify-content: center;
}
.review-cta .btn svg {
  color: var(--gold);
}
.reviews-cta-lead {
  font-size: 1.05rem;
  color: #cfe0f3;
  margin: 0 0 1.5rem;
}
.review-loc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.review-loc-btn {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.review-loc-btn:hover {
  background: var(--soft-blue, #cbddf0);
  border-color: var(--soft-blue, #cbddf0);
  color: var(--navy);
}
.review-loc-btn svg {
  color: var(--gold);
}
.testimonial-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 2.5rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.testimonial-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  padding: 0.25rem 0.75rem;
  animation: testimonial-scroll 45s linear infinite;
}
.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}
@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.testimonial-card {
  flex: 0 0 360px;
  max-width: 360px;
  margin: 0;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}
.testimonial-stars {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--gold);
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--body);
}
.testimonial-card figcaption {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .testimonial-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }
}

/* Portal */
.portal-section {
  background: var(--baby-blue-50);
}
.portal-section .section-title {
  text-align: left;
}
.portal-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.portal-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.portal-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--ink);
}
.portal-list svg {
  width: 20px;
  height: 20px;
  color: #1f9d57;
}
.app-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.app-badges img {
  height: 44px;
  width: auto;
}
.portal-media {
  text-align: center;
}
.portal-media-zoom {
  display: inline-block;
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 18px;
  line-height: 0;
  box-shadow: 0 18px 40px rgba(1, 44, 95, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portal-media-zoom:hover,
.portal-media-zoom:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(1, 44, 95, 0.26);
}
.portal-media-zoom {
  max-width: 100%;
}
.portal-media-zoom img {
  margin: 0 auto;
  max-height: 460px;
  width: auto;
  max-width: 100%;
  border-radius: 18px;
  display: block;
}
.portal-media-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(1, 44, 95, 0.88);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.portal-media-hint svg {
  width: 15px;
  height: 15px;
}
.portal-media-zoom:hover .portal-media-hint,
.portal-media-zoom:focus-visible .portal-media-hint {
  opacity: 1;
}
@media (hover: none) {
  .portal-media-hint {
    opacity: 1;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(1, 22, 48, 0.86);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 0.25s ease;
}
.lightbox.is-open img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox-close svg {
  width: 24px;
  height: 24px;
}
@media (prefers-reduced-motion: reduce) {
  .portal-media-zoom,
  .lightbox,
  .lightbox img {
    transition: none;
  }
  .portal-media-zoom:hover,
  .portal-media-zoom:focus-visible {
    transform: none;
  }
  .lightbox.is-open img {
    transform: none;
  }
}

/* Contact band */
.contact-band {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 0;
}
.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-band h2 {
  color: #fff;
  margin: 0;
}
.contact-band-items {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact-band-items a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}
.contact-band-items svg {
  width: 20px;
  height: 20px;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.08rem;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0.25rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.faq-trigger svg {
  width: 22px;
  height: 22px;
  flex: none;
  transition: transform 0.25s;
  color: var(--navy-600);
}
.faq-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 0.25rem 1.25rem;
}
.faq-a p {
  margin: 0;
  color: var(--body);
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.7rem 0;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb li[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}
.crumb-sep {
  color: var(--line);
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow {
  color: var(--baby-blue);
}
.page-hero h1 {
  color: #fff;
  max-width: 18ch;
}
.page-hero h1.page-hero-title-1line {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.15rem, 5vw, 3.1rem);
}
.page-hero-lead {
  font-size: 1.18rem;
  color: #d6e4f4;
  max-width: 60ch;
  margin: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-700), var(--navy));
  color: #fff;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: clamp(2.5rem, 5vw, 3.5rem) 24px;
}
.cta-band h2 {
  color: #fff;
  margin: 0 0 0.3rem;
}
.cta-band p {
  margin: 0;
  color: #cfe0f3;
}
.cta-band-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Staff */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.staff-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 640px) {
  .staff-grid-2 {
    grid-template-columns: 1fr;
  }
}
.staff-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.staff-photo {
  margin: -1.5rem -1.6rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--baby-blue);
}
.staff-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.staff-group h3 {
  color: var(--navy);
  border-bottom: 2px solid var(--baby-blue);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}
.staff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.staff-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 500;
}
.staff-list svg {
  width: 18px;
  height: 18px;
  color: var(--navy-600);
  flex: none;
}

/* Service detail */
.service-hero {
  position: relative;
  isolation: isolate;
}
.service-hero-img {
  width: 100%;
  height: clamp(220px, 32vw, 360px);
  object-fit: cover;
}
.service-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
  background: linear-gradient(
    to top,
    rgba(1, 24, 52, 0.85),
    rgba(1, 24, 52, 0.2)
  );
  color: #fff;
}
.service-hero-inner h1 {
  color: #fff;
  margin: 0;
}
.service-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.service-hero-icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}
.service-grid {
  display: block;
}
.service-main {
  max-width: 760px;
}
.service-grid--split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}
.service-grid--split .service-main {
  max-width: none;
}
.service-grid--split > .immun-options {
  margin: 0;
}
.service-side-img {
  margin: 0;
}
.service-side-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.svc-slideshow {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--baby-blue);
}
.service-grid--split > .svc-slideshow {
  margin: 0;
}
.svc-slideshow-track {
  position: relative;
  width: 100%;
  aspect-ratio: 533 / 800;
}
.svc-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.svc-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.svc-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(1, 44, 95, 0.78);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.svc-slide-btn:hover,
.svc-slide-btn:focus-visible {
  background: var(--navy);
}
.svc-slide-btn svg {
  width: 22px;
  height: 22px;
}
.svc-slide-prev {
  left: 0.75rem;
}
.svc-slide-next {
  right: 0.75rem;
}
.svc-slide-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.svc-slide-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.svc-slide-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}
.service-main .lead {
  margin-bottom: 1.5rem;
}
.check-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
}
.check-list svg {
  width: 20px;
  height: 20px;
  color: #1f9d57;
  flex: none;
  margin-top: 2px;
}
.immun-options {
  background: var(--baby-blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
}
.immun-options h2 {
  font-size: 1.35rem;
  margin-top: 0;
}
.immun-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.5rem 0 0;
}
.immun-note svg {
  width: 18px;
  height: 18px;
}
.service-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.service-aside {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
}
.aside-card h2 {
  font-size: 1.25rem;
  margin-top: 0;
}
.aside-card p {
  margin: 0 0 0.75rem;
}
.aside-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--body);
  font-weight: 500;
}
.aside-card a svg {
  width: 17px;
  height: 17px;
  color: var(--navy-600);
}
.aside-card .btn {
  margin-top: 0.75rem;
}

/* Contact + location detail */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.contact-details {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.contact-details li a,
.contact-details li span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--body);
  font-weight: 500;
}
.contact-details svg {
  width: 18px;
  height: 18px;
  color: var(--navy-600);
  flex: none;
}
.contact-fax {
  color: var(--muted);
}
.contact-map,
.loc-detail-map {
  margin: 1.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}
.contact-map iframe,
.loc-detail-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.transferApp,
.transferApp > div {
  width: 100%;
}
.transferApp iframe {
  width: 100%;
  border: 0;
  display: block;
}
.loc-detail-hero {
  position: relative;
  isolation: isolate;
}
.loc-detail-hero img {
  width: 100%;
  height: clamp(240px, 34vw, 400px);
  object-fit: cover;
}
.loc-detail-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
  background: linear-gradient(
    to top,
    rgba(1, 24, 52, 0.85),
    rgba(1, 24, 52, 0.15)
  );
  color: #fff;
}
.loc-detail-logo {
  height: 72px;
  width: auto;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  align-self: flex-start;
}
.loc-detail-hero-inner h1 {
  color: #fff;
  margin: 0;
}
.loc-detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}
.loc-detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}
.loc-detail-aside {
  background: var(--baby-blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.loc-detail-aside h2 {
  font-size: 1.3rem;
  margin-top: 0;
}

/* Action cards (refill/transfer) */
.action-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.action-card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}
.action-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--baby-blue-50);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.action-card-icon svg {
  width: 26px;
  height: 26px;
}
.phone-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.phone-lg svg {
  width: 26px;
  height: 26px;
}
.hipaa-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--baby-blue-50);
  border: 1px solid var(--baby-blue);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: var(--ink);
  font-size: 0.96rem;
  margin: 1.5rem 0;
}
.hipaa-note svg {
  width: 20px;
  height: 20px;
  color: var(--navy-600);
  flex: none;
  margin-top: 2px;
}

/* Legal copy */
.legal-copy h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}
.bullet-list {
  padding-left: 1.25rem;
  margin: 1rem 0;
}
.bullet-list li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: #02213f;
  color: #b9cce0;
  padding-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.footer-logo {
  height: 50px;
  width: auto;
  background: #fff;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.95rem;
  max-width: 32ch;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #cfe0f3;
  font-weight: 500;
}
.footer-email svg {
  width: 18px;
  height: 18px;
}
.site-footer address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
}
.site-footer a {
  color: #b9cce0;
}
.site-footer a:hover {
  color: #fff;
}
.footer-fax {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #8ba6c4;
}
.footer-fax svg {
  width: 15px;
  height: 15px;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.86rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Sticky bottom bar (mobile) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(1, 44, 95, 0.1);
  padding: 0.5rem;
  gap: 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}
.sticky-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.5rem;
  border-radius: 10px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
}
.sticky-btn svg {
  width: 22px;
  height: 22px;
}
.sticky-btn-primary {
  background: var(--navy);
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .primary-nav,
  .header-ctas {
    display: none;
  }
  .header-call {
    display: inline-flex;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--baby-blue-50);
    color: var(--navy);
    align-items: center;
    justify-content: center;
  }
  .header-call svg {
    width: 22px;
    height: 22px;
  }
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--navy);
    color: #fff;
    cursor: pointer;
  }
  .hamburger svg {
    width: 24px;
    height: 24px;
  }
  .about-page-grid,
  .service-grid,
  .service-grid--split,
  .loc-detail-grid,
  .portal-inner {
    grid-template-columns: 1fr;
  }
  .service-grid--split .service-side-img {
    max-width: 480px;
  }
  .service-aside {
    position: static;
  }
  .about-photo-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .about-photo {
    width: 100%;
    max-width: 460px;
  }
  .about-photo img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .container {
    padding: 0 18px;
  }
  .topbar-left {
    gap: 0.65rem;
  }
  .topbar-loc {
    gap: 0.5rem;
  }
  .topbar-loc-link {
    display: none;
  }
  .sticky-cta {
    display: flex;
  }
  main {
    padding-bottom: 4.5rem;
  }
  /* Show the full staff group photo (no side cropping) on narrow screens */
  .hero-media img {
    height: auto;
    object-position: center;
  }
  .hero-tagline {
    white-space: normal;
    font-size: clamp(1rem, 4.4vw, 1.25rem);
  }
  .hero-actions-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  /* About gallery: 2-up instead of cramped 3-up slivers */
  .about-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
  }
  /* Center the orphaned 3rd image in the 2-column layout */
  .about-gallery .about-figure:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 0.425rem);
    justify-self: center;
  }
  .about-figure img {
    height: 160px;
  }
  .contact-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Compact button (used in cookie banner) */
.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}
.btn-sm svg {
  width: 16px;
  height: 16px;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #fff;
  border-top: 3px solid var(--navy);
  box-shadow: 0 -6px 24px rgba(1, 44, 95, 0.16);
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink, #1a2433);
}
.cookie-banner-text a {
  color: var(--navy);
  font-weight: 600;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-actions .btn {
    flex: 1 1 auto;
  }
}
/* Keep sticky mobile CTA bar clear of the cookie banner when both show */
.cookie-banner:not([hidden]) ~ .sticky-cta {
  bottom: 0;
}
