/* Riverside Pharmacy — design tokens & site styles
   Concept: "Desert Oasis" — calm teal water against warm desert neutrals.
   Brand #009787 (build sheet), secondary #96CEB4. Darkened brand for
   body-size text/controls to hold ≥4.5:1 on white. */

:root {
  --brand: #009787;
  --brand-dark: #00786c;      /* buttons, links on white — 5.4:1 */
  --brand-deep: #045f56;      /* headings accent, hover */
  --brand-tint: #e6f4f2;      /* light wash panels */
  --brand-tint-2: #d2ebe6;
  --sage: #96ceb4;
  --sand: #faf8f4;            /* warm page alternate */
  --ink: #182826;             /* near-black teal ink 14.8:1 */
  --ink-soft: #3f5350;        /* secondary text 7.4:1 */
  --line: #dbe6e3;
  --white: #ffffff;
  --danger: #b3261e;
  --ok: #1a7a43;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(24, 40, 38, 0.06), 0 1px 6px rgba(24, 40, 38, 0.05);
  --shadow-md: 0 4px 16px rgba(24, 40, 38, 0.1);
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --topbar-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
ul { padding-left: 1.2em; }
:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.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;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: 10px;
}
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; min-height: 48px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn svg { flex: none; }
.btn-primary { background: var(--brand-dark); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brand-deep); border-color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--brand-deep); }
.btn-ghost:hover { background: var(--brand-tint); }
.btn-lg { padding: 15px 28px; font-size: 1.08rem; }
.btn-sm { padding: 8px 16px; min-height: 40px; font-size: 0.94rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand-deep); color: #fff; font-size: 0.875rem;
  min-height: var(--topbar-h); display: flex; align-items: center;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; width: 100%; padding-top: 6px; padding-bottom: 6px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 15px; height: 15px; }
.topbar-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.open-now { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: #8ee6b8; flex: none; }
.open-dot.closed { background: #ffb4a8; }
@media (max-width: 860px) {
  .topbar-hours-label { display: none; }
  .topbar-left { gap: 12px; }
}
@media (max-width: 560px) {
  .topbar-addr span { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px; min-height: 76px;
}
.logo-link { display: inline-flex; align-items: center; flex: none; }
.logo-link img { height: 68px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.main-nav > a, .nav-drop > button {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 8px;
  background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
}
.main-nav > a:hover, .nav-drop > button:hover { background: var(--brand-tint); color: var(--brand-deep); }
.main-nav > a[aria-current="page"] { color: var(--brand-deep); box-shadow: inset 0 -3px 0 var(--brand); border-radius: 8px 8px 0 0; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 16px; height: 16px; transition: transform 0.15s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 640px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 18px; display: none;
  grid-template-columns: 1fr 1fr; gap: 2px 18px;
}
.nav-drop.open .drop-menu { display: grid; }
.drop-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px;
  border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 0.97rem;
}
.drop-menu a svg { width: 19px; height: 19px; color: var(--brand-dark); flex: none; }
.drop-menu a:hover { background: var(--brand-tint); color: var(--brand-deep); }
.drop-all {
  grid-column: 1 / -1; margin-top: 8px; border-top: 1px solid var(--line);
  padding-top: 12px; font-weight: 700; color: var(--brand-deep) !important;
}
.header-ctas { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.menu-btn {
  display: none; background: none; border: 2px solid var(--line); border-radius: 10px;
  width: 48px; height: 48px; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
}
.header-phone {
  display: none; width: 48px; height: 48px; border-radius: 10px;
  align-items: center; justify-content: center; color: var(--brand-deep);
  border: 2px solid var(--line);
}
@media (max-width: 1200px) {
  .header-ctas .btn-ghost { display: none; }
}
@media (max-width: 1023.98px) {
  .main-nav, .header-ctas { display: none; }
  .header-phone { display: inline-flex; margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .logo-link img { height: 54px; }
  .site-header .wrap { min-height: 64px; gap: 12px; }
}

/* ---------- Mobile drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(16, 28, 26, 0.5); z-index: 140; border: 0; padding: 0;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 92vw); z-index: 150;
  background: #fff; box-shadow: var(--shadow-md); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.25s ease;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.drawer-head img { height: 40px; width: auto; }
.drawer-head .drawer-close { order: 2; }
.drawer-head .drawer-logo { order: 1; }
@media (max-width: 639.98px) { .drawer { width: 100vw; } }
.drawer-hours { font-size: 0.95rem; color: var(--ink-soft); }
.drawer-hours .open-now { color: var(--brand-deep); font-weight: 600; }
.drawer-close {
  background: none; border: 0; width: 48px; height: 48px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.drawer-close:hover { background: var(--brand-tint); }
.drawer-body { overflow-y: auto; padding: 10px 18px 24px; flex: 1; }
.drawer-body > a, .drawer-services > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 6px; min-height: 48px; font-family: var(--font-head); font-weight: 600;
  font-size: 1.05rem; color: var(--ink); text-decoration: none; background: none;
  border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left;
}
.drawer-services > button svg { width: 18px; height: 18px; transition: transform 0.15s; }
.drawer-services > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-services ul { list-style: none; margin: 0; padding: 4px 0 8px; display: none; }
.drawer-services.open ul { display: block; }
.drawer-services ul a {
  display: flex; align-items: center; gap: 10px; padding: 11px 10px; min-height: 44px;
  color: var(--ink-soft); text-decoration: none; border-radius: 8px; font-size: 0.99rem;
}
.drawer-services ul a svg { width: 18px; height: 18px; color: var(--brand-dark); flex: none; }
.drawer-services ul a:hover { background: var(--brand-tint); color: var(--brand-deep); }
.drawer-ctas { display: grid; gap: 10px; padding: 18px 0 6px; }
.drawer-contact { padding-top: 14px; font-size: 0.95rem; color: var(--ink-soft); }
.drawer-contact a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; min-height: 44px; }

/* ---------- Sticky mobile bottom bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.mobile-bar.show { transform: translateY(0); }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; background: #fff; color: var(--brand-deep);
  font-family: var(--font-head); font-weight: 700; text-decoration: none;
}
.mobile-bar a.bar-refill { background: var(--brand-dark); color: #fff; }
@media (max-width: 1023.98px) {
  .mobile-bar { display: grid; }
  body.has-mobile-bar { padding-bottom: 0; }
  body.drawer-open .mobile-bar { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 78%); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 64px;
}
.hero-copy p.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.94rem; color: var(--ink-soft); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--brand-dark); }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%;
}
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; background: rgba(255, 255, 255, 0.95);
  border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--brand-deep);
  display: flex; align-items: center; gap: 8px;
}
.hero-badge svg { width: 18px; height: 18px; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 44px; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.tint { background: var(--sand); }
.section.brand-wash { background: var(--brand-tint); }
.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 720px) { .section { padding: 52px 0; } }

/* ---------- Cards / grids ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--brand-tint-2); }
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint);
  color: var(--brand-deep); display: inline-flex; align-items: center; justify-content: center;
}
.svc-icon svg { width: 25px; height: 25px; }
.svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card { position: relative; }
.svc-card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; flex: 1; }
.svc-more {
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  color: var(--brand-dark); display: inline-flex; align-items: center; gap: 6px;
}
.svc-more svg { width: 16px; height: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand-dark); color: #fff;
  font-family: var(--font-head); font-weight: 800; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.05rem;
}
.step p { color: var(--ink-soft); margin: 0; font-size: 0.99rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 26px; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); width: 100%; object-fit: cover; }
.split .checks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.split .checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.split .checks svg { width: 20px; height: 20px; color: var(--brand-dark); flex: none; margin-top: 3px; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .quote-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; margin: 0; display: flex; flex-direction: column; gap: 12px;
}
.quote-card .stars { color: #c9a227; letter-spacing: 2px; font-size: 0.95rem; }
.quote-card p { color: var(--ink); font-size: 0.99rem; margin: 0; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 18px 4px; font-family: var(--font-head);
  font-weight: 700; font-size: 1.05rem; min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; flex: none; color: var(--brand-dark); transition: transform 0.15s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 4px 18px; color: var(--ink-soft); max-width: 62em; }
.faq-item .faq-a p { margin: 0; }

/* CTA band */
.cta-band { background: var(--brand-deep); color: #fff; }
.cta-band .wrap {
  padding-top: 56px; padding-bottom: 56px; display: grid;
  grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center;
}
@media (max-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7ebe7; margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 820px) { .cta-band .actions { justify-content: flex-start; } }
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); }
.cta-band .btn-primary:hover { background: var(--brand-tint); color: var(--brand-deep); }
.cta-band .btn-outline { border-color: #9fd0c7; color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 100%); padding: 44px 0 36px; }
.breadcrumbs { font-size: 0.88rem; margin-bottom: 14px; color: var(--ink-soft); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-deep); text-decoration: underline; }
.page-hero p.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 40em; margin: 0; }

/* Service detail */
.svc-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .svc-layout { grid-template-columns: 1fr; } }
.svc-layout img { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); width: 100%; object-fit: cover; }
.svc-body p { color: var(--ink-soft); }
.svc-body p:first-of-type { color: var(--ink); font-size: 1.1rem; }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.pill-list li {
  background: var(--brand-tint); color: var(--brand-deep); border-radius: 999px;
  padding: 7px 16px; font-size: 0.94rem; font-weight: 600; font-family: var(--font-head);
}
.svc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Info cards (contact) */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.info-card h3 { display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 21px; height: 21px; color: var(--brand-dark); }
.info-card p, .info-card address { font-style: normal; color: var(--ink-soft); margin: 0 0 8px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.99rem; }
.hours-table th, .hours-table td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; color: var(--ink-soft); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { color: var(--ink); font-weight: 600; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: #10201d; color: #c5d6d2; margin-top: 0; }
.footer-main {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px;
  padding: 56px 0 40px;
}
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; } }
.footer-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 46px; width: auto; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #c5d6d2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--sage); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid #2c423e;
  display: inline-flex; align-items: center; justify-content: center; color: #c5d6d2;
}
.footer-social a:hover { background: #1b312d; color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid #243935; padding: 20px 0 26px; font-size: 0.88rem; color: #9cb4af; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom a { color: #9cb4af; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 1023.98px) { .site-footer { padding-bottom: 64px; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 130;
  max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 18px 20px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 12px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1023.98px) { .cookie-banner { bottom: 76px; } }

/* 404 */
.notfound { padding: 90px 0; text-align: center; }
.notfound .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ----- Patient Portal page ----- */
.section-tint { background: var(--brand-tint); }
.portal-split { align-items: center; }
.portal-features { list-style: none; padding: 0; margin: 22px 0 6px; display: grid; gap: 18px; }
.portal-features li { display: flex; gap: 14px; align-items: flex-start; }
.portal-features strong { display: block; margin-bottom: 2px; color: var(--ink); }
.portal-features p { margin: 0; color: var(--ink-soft); }
.portal-feature-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-tint); color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.portal-feature-icon svg { width: 22px; height: 22px; }
.portal-phones { display: flex; justify-content: center; align-items: center; gap: 20px; }
.portal-phones img { width: 50%; max-width: 240px; height: auto; border-radius: 0; box-shadow: none; }
.portal-homescreen { display: flex; flex-direction: column-reverse; align-items: center; gap: 22px; text-align: center; }
.portal-homescreen-copy { max-width: 720px; }
.portal-homescreen-img { width: 160px; height: 160px; flex: none; }
.portal-homescreen-img img { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
@media (min-width: 861px) {
  .portal-homescreen { flex-direction: row; text-align: left; gap: 40px; justify-content: space-between; }
  .portal-homescreen-img { width: 180px; height: 180px; }
}

/* ----- Homepage patient portal promo ----- */
.portal-promo {
  position: relative; overflow: hidden; border-radius: 16px;
  background: linear-gradient(115deg, #06332d 0%, #046b5f 55%, #009787 100%);
  box-shadow: 0 18px 44px rgba(6, 51, 45, 0.32);
  display: grid; grid-template-columns: 55% 1fr; gap: 32px;
  padding: 56px 56px 0; align-items: end;
}
.portal-promo-circle {
  position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.07); pointer-events: none;
}
.portal-promo-circle-1 { width: 380px; height: 380px; top: -160px; left: -120px; }
.portal-promo-circle-2 { width: 460px; height: 460px; bottom: -220px; right: -150px; }
.portal-promo-text { position: relative; z-index: 1; padding-bottom: 56px; }
.portal-promo-eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
  font-size: 0.82rem; color: #a4e6d9; margin: 0 0 10px;
}
.portal-promo-text h2 { color: #fff; margin: 0 0 14px; }
.portal-promo-text > p { color: rgba(255, 255, 255, 0.88); max-width: 34em; margin: 0 0 26px; }
.portal-promo-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.portal-promo-btn-solid { background: #fff; color: #045f56; border: 2px solid #fff; }
.portal-promo-btn-solid:hover { background: #e2f5f0; border-color: #e2f5f0; color: #045f56; }
.portal-promo-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.75); }
.portal-promo-btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.portal-promo .btn:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }
.portal-promo-phones {
  position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center;
  align-self: end; margin-bottom: -7%;
}
.portal-promo-phones img {
  width: 48%; max-width: 230px; height: auto; border-radius: 26px;
}
.portal-promo-phone-back { transform: rotate(-8deg) translateY(4%); }
.portal-promo-phone-front { transform: rotate(6deg) translateY(10%); margin-left: -16%; }
@media (max-width: 880px) {
  .portal-promo { grid-template-columns: 1fr; gap: 8px; padding: 36px 24px 0; }
  .portal-promo-text { padding-bottom: 8px; }
  .portal-promo-phones { margin-top: 18px; margin-bottom: -9%; }
}

/* ----- Hometown-modern refresh: serif display headings ----- */
:root { --font-display: "Lora", Georgia, "Times New Roman", serif; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; }
h1 { font-weight: 700; }
h2 { font-weight: 600; }

/* ----- Full-bleed photo hero ----- */
.hero-photo { position: relative; background: var(--brand-deep); overflow: hidden; }
.hero-photo .hero-bg { position: absolute; inset: 0; }
.hero-photo .hero-bg-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none;
  filter: sepia(0.35) saturate(0.75);
}
.hero-photo .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 32, 29, 0.94) 0%, rgba(9, 32, 29, 0.85) 45%, rgba(9, 32, 29, 0.58) 100%);
}
.hero-photo .wrap { position: relative; z-index: 1; display: block; padding-top: 84px; padding-bottom: 88px; }
.hero-photo .hero-copy { max-width: 640px; }
.hero-photo h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 3.8rem); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.94); color: var(--brand-deep);
  border-radius: 999px; padding: 8px 18px; margin: 0 0 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
}
.hero-pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.hero-tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: #d8ebe6; margin: 0 0 16px;
}
.hero-photo .hero-copy p.lead { color: rgba(255, 255, 255, 0.88); }
.btn-hero-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn-hero-outline:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; color: #fff; }
.hero-photo .btn:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 18px 44px; margin: 34px 0 0; padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.hero-stats div { max-width: 200px; }
.hero-stats dt {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff;
}
.hero-stats dd { margin: 4px 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); }
@media (max-width: 880px) {
  .hero-photo .wrap { padding-top: 56px; padding-bottom: 60px; }
  .hero-stats { gap: 14px 28px; }
}

/* ----- Values band ----- */
.values-band { background: #09201d; padding: 34px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item > svg { flex: none; width: 30px; height: 30px; color: var(--brand-light, #96ceb4); margin-top: 2px; }
.value-item strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.02rem; }
.value-item p { margin: 2px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }

/* ----- About: affiliations ----- */
.affil-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .affil-list { grid-template-columns: 1fr; } }
.affil-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px;
}
.affil-list li > svg { flex: none; width: 26px; height: 26px; color: var(--brand-dark); margin-top: 3px; }
.affil-list strong { display: block; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 2px; }
.affil-list p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ----- Homepage review marquee ----- */
.quote-marquee { overflow: hidden; margin-top: 6px; }
.quote-track {
  display: flex; gap: 20px; width: max-content; padding: 4px 0;
  animation: quote-scroll 70s linear infinite;
}
.quote-marquee:hover .quote-track, .quote-track:focus-within { animation-play-state: paused; }
.quote-track .quote-card { width: 340px; flex: none; margin: 0; }
@keyframes quote-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .quote-marquee { overflow-x: auto; }
  .quote-track { animation: none; width: auto; }
  .quote-track .quote-card[aria-hidden="true"] { display: none; }
}
@media (max-width: 560px) { .quote-track .quote-card { width: 280px; } }

.quote-attrib { margin-top: 12px; font-size: 0.88rem; font-weight: 600; color: var(--brand-dark); }

/* ----- About: mission & vision band ----- */
.mv-band { background: linear-gradient(135deg, #06332d, #075a4f 55%, #0a6e60); color: #fff; }
.mv-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; position: relative; }
.mv-mission { position: relative; padding-top: 40px; }
.mv-mission::before {
  content: "\201C"; position: absolute; top: -34px; left: -10px;
  font-family: var(--font-display); font-size: 9rem; line-height: 1;
  color: rgba(255, 255, 255, 0.14); pointer-events: none;
}
.mv-label {
  display: inline-block; margin: 0 0 14px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #8fe0d2;
  border: 1px solid rgba(143, 224, 210, 0.45); border-radius: 999px; padding: 6px 14px;
}
.mv-statement {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.45; margin: 0; color: #fff;
}
.mv-underline { width: 74px; height: 4px; border-radius: 2px; background: #8fe0d2; margin: 26px 0 0; }
.mv-vision {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg); padding: 30px 32px; backdrop-filter: blur(2px);
}
.mv-vision p:last-child { margin: 0; color: rgba(255, 255, 255, 0.92); line-height: 1.7; }
@media (max-width: 860px) {
  .mv-grid { grid-template-columns: 1fr; gap: 34px; }
  .mv-mission { padding-top: 30px; }
  .mv-mission::before { font-size: 7rem; top: -26px; }
}


/* ----- About: our-story slideshow ----- */
.story-slides { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.story-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.story-slide.is-active { opacity: 1; }
.story-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.story-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.55); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.story-dots button[aria-selected="true"] { background: #fff; transform: scale(1.25); }

#pharmacist { scroll-margin-top: 90px; }
