/* Sayre Professional Pharmacy — static site styles */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --brand: #5C0212;
  --brand-dark: #43010d;
  --brand-tint: #f7eef0;
  --ink: #231a1c;
  --ink-soft: #55444a;
  --paper: #ffffff;
  --cream: #faf7f5;
  --line: #e5dadd;
  --ok: #1c6b34;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(35, 26, 28, .08);
  --font-display: "Inter", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Top bar */
.topbar { background: var(--brand-dark); color: #fff; font-size: .92rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; min-height: 38px; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { flex: none; }
.open-dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa0a6; display: inline-block; flex: none; }
.open-dot.is-open { background: #4ade80; }
.open-dot.is-closed { background: #f87171; }
.topbar .hours-note { opacity: .92; }
@media (max-width: 767px) {
  .topbar .hide-sm { display: none; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 112px; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-link img { width: 88px; height: 88px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.15; color: var(--brand); }
@media (max-width: 767px) {
  .site-header .wrap { min-height: 88px; }
  .brand-link img { width: 68px; height: 68px; }
}
.primary-nav { display: none; }
.header-ctas { display: none; }
.header-call { display: none; }
.hamburger {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--brand); cursor: pointer;
}
@media (max-width: 1023.5px) {
  .header-call {
    display: inline-flex; margin-left: auto; align-items: center; gap: 8px;
    color: var(--brand); text-decoration: none; font-weight: 700; min-height: 44px; padding: 0 6px;
  }
  .hamburger { margin-left: 0; }
}
@media (min-width: 1024px) {
  .hamburger { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
  .primary-nav > a {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
    text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; background: none; border: none; cursor: pointer; font-family: inherit;
  }
  .primary-nav > a:hover { background: var(--brand-tint); color: var(--brand); }
  .primary-nav > a[aria-current="page"] { color: var(--brand); }
  .header-ctas { display: flex; gap: 10px; margin-left: auto; align-items: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-tint); }
.btn-ghost { color: var(--brand); background: transparent; padding: 10px 12px; }
.btn-ghost:hover { background: var(--brand-tint); }
.btn svg { flex: none; }

/* Hero */
.hero { position: relative; background: var(--paper); color: #fff; overflow: visible; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center 42%;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-photo img.is-active { opacity: 1; }
.hero-photo img.hero-museum-photo { object-position: 50% 65%; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo img { transition: none; }
}
.hero a:focus-visible, .hero button:focus-visible { outline-color: var(--brand); }
.hero-stage { position: relative; background: #29252a; }
.hero-inner { position: relative; padding: 190px 0 180px; max-width: 610px; margin-left: auto; }
.hero-text-card {
  background: rgba(255, 250, 246, .82);
  color: var(--ink);
  border: 1px solid #e8ded7;
  border-top: 4px solid var(--brand);
  border-radius: 6px 6px 18px 18px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 8px 28px rgba(35, 26, 28, .14);
}
.hero h1 { color: var(--brand); font-size: clamp(2rem, 3.3vw, 2.65rem); margin-bottom: .45em; }
.hero .tagline { font-size: clamp(1rem, 1.6vw, 1.1rem); margin-bottom: 1.3em; color: var(--ink); }
.hero-tagline-emphasis {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: .01em;
}
.hero-tagline-emphasis strong {
  position: relative; display: inline-block; padding-bottom: 5px;
  color: var(--ink); font-weight: 800;
}
.hero-tagline-emphasis strong::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 54px; height: 3px; border-radius: 999px;
  background: #e8b9c2;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-ctas .btn-outline { border-color: #fff; color: #fff; }
.hero-ctas .btn-outline:hover { background: rgba(255,255,255,.12); }
.hero-call { color: var(--brand); font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.hero-call:hover { text-decoration: underline; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #e8ded7; font-size: .9rem; color: var(--ink); }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust { position: relative; z-index: 2; margin-top: -96px; transform: translateY(48px); }
.hero-trust .card { color: var(--ink); min-height: 100%; }
.hero-trust .card { padding: 18px 20px; }
.hero-trust .card .icon-chip { width: 40px; height: 40px; margin-bottom: 9px; }
.hero-trust .card h2 { margin-bottom: 5px; font-size: 1.2rem; }
.hero-trust .card p { margin-bottom: 0; }
section.home-services { padding-top: 135px; }
@media (max-width: 767px) {
  .hero-photo img { object-position: 60% center; }
  .hero-photo img.hero-museum-photo { object-position: 60% 65%; }
  .hero-inner { padding-top: 80px; padding-bottom: 85px; }
  .hero-trust { margin-top: -62px; transform: translateY(38px); }
  section.home-services { padding-top: 105px; }
}

/* Sections */
.team-photo {
  display: block;
  width: 100%;
  height: auto;
}
.section.team-photo-section { padding: 0; overflow: hidden; scroll-margin-top: 120px; }
.services-gallery {
  --gallery-height: 320px;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  scroll-margin-top: 120px;
}
.services-gallery-viewport { overflow-x: auto; overflow-y: hidden; }
.services-gallery-track,
.services-gallery-group { display: flex; width: max-content; gap: 0; margin: 0; padding: 0; }
.services-gallery-group { flex: none; }
.services-gallery-group img {
  flex: none;
  width: auto;
  height: var(--gallery-height);
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}
.services-gallery-group[aria-hidden="true"] { display: none; }
.services-gallery.is-enhanced .services-gallery-viewport { overflow-x: hidden; }
.services-gallery.is-enhanced .services-gallery-group[aria-hidden="true"] { display: flex; }
.services-gallery.is-enhanced .services-gallery-track {
  animation: services-gallery-scroll 95s linear infinite;
  will-change: transform;
}
.services-gallery:hover .services-gallery-track,
.services-gallery:focus-within .services-gallery-track { animation-play-state: paused; }
.services-gallery-viewport:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
@keyframes services-gallery-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 767px) {
  .services-gallery { --gallery-height: 220px; scroll-margin-top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .services-gallery.is-enhanced .services-gallery-viewport { overflow-x: auto; }
  .services-gallery.is-enhanced .services-gallery-track { animation: none; transform: none; }
  .services-gallery.is-enhanced .services-gallery-group[aria-hidden="true"] { display: none; }
}
.section { padding: 42px 0; }
.section.alt { background: var(--cream); }
.section-head { max-width: 640px; margin-bottom: 30px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; font-weight: 700; color: var(--brand); margin-bottom: 8px; }

/* Cards */
.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .icon-chip {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand); text-decoration: underline; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { text-decoration: underline; }

/* Hours table */
.hours-table { border-collapse: collapse; width: 100%; max-width: 560px; }
.hours-table caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 700; white-space: nowrap; }
.hours-table .today th, .hours-table .today td { background: var(--brand-tint); }
.hours-note-small { font-size: .92rem; color: var(--ink-soft); }

/* Trust */
.trust-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* Split layout */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split .img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .img-frame img { width: 100%; height: 100%; object-fit: cover; }


/* Contact */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; }
.contact-list svg { color: var(--brand); flex: none; margin-top: 3px; }
.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Staff */
.staff-card { display: flex; align-items: center; gap: 16px; }
.team-profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.team-profile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-profile-portrait { display: block; width: 100%; height: auto; }
.team-profile-content { padding: 24px; }
.team-profile-content h3 { color: var(--brand); margin-bottom: 4px; }
.team-profile-role { font-weight: 600; margin-bottom: 10px; }
.team-profile-experience {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-tint);
  color: var(--brand);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
}
.team-profile-bio { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 0; }
@media (max-width: 900px) {
  .team-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .team-profiles { grid-template-columns: minmax(0, 1fr); }
}
.staff-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-size: 1.5rem; flex: none;
}

/* Page hero band */
.page-hero { background: var(--brand-tint); padding: 44px 0; border-bottom: 1px solid var(--line); }
.page-hero p.lede { max-width: 640px; font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 0; }
.breadcrumbs { font-size: .9rem; margin-bottom: 12px; color: var(--ink-soft); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.service-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 32px 0; }
.service-hero-img img { width: 100%; object-fit: cover; max-height: 420px; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--brand); }
.cta-band .btn-primary:hover { background: var(--brand-tint); }

/* Footer */
.site-footer { background: #2a080f; color: #efdfe2; padding: 52px 0 90px; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { width: 44px; height: 44px; background: #fff; border-radius: 8px; padding: 3px; }
.footer-logo .name { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }
.footer-bottom a { color: #efdfe2; }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(20, 8, 10, .5); z-index: 140; opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 400px; background: var(--paper); z-index: 150;
  transform: translateX(100%); transition: transform .2s ease-out; overflow-y: auto; padding: 18px 20px 32px;
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  width: 48px; height: 48px; border: 1px solid var(--line); background: none; border-radius: 8px; color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-left: auto;
}
.drawer-top { display: flex; align-items: center; }
.drawer .brand-link { margin: 8px 0 18px; }
.drawer nav a {
  display: flex; align-items: center; min-height: 48px; padding: 12px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem;
}
.drawer-ctas { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.drawer-ctas .btn { width: 100%; }
.drawer-hours { background: var(--cream); border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; }

/* Sticky bottom CTA bar (mobile) */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .2s ease;
}
.bottom-bar.show { transform: translateY(0); }
.bottom-bar .inner { display: flex; gap: 10px; }
.bottom-bar .btn { flex: 1; min-height: 48px; }
@media (max-width: 1023.5px) { .bottom-bar { display: block; } }

/* Misc */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.checklist svg { color: var(--ok); flex: none; margin-top: 4px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 22px; }
.notice {
  background: var(--brand-tint); border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 1.2em 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

.drawer[hidden] { display: none; }

.check-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.check-list li svg { flex: none; color: var(--brand); margin-top: 2px; }

/* Highlighted lunch-break note */
.hours-break-note {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 560px; margin: 14px 0 6px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--brand-tint); border-left: 4px solid var(--brand);
  color: var(--ink);
}
.hours-break-note svg { flex: none; color: var(--brand); margin-top: 2px; }

/* About decorative panel */
.about-panel {
  position: relative; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(135deg, #fdf6f7 0%, #fff 45%, var(--brand-tint) 100%);
}
.about-panel .prose { position: relative; z-index: 1; max-width: 700px; }
.about-panel .deco { position: absolute; z-index: 0; pointer-events: none; }
.about-panel .circle { border-radius: 50%; }
.about-panel .c1 { width: 280px; height: 280px; right: -80px; top: -80px; background: radial-gradient(circle at 32% 32%, rgba(92,2,18,.16), rgba(92,2,18,.03) 70%); }
.about-panel .c2 { width: 160px; height: 160px; left: -55px; bottom: -55px; border: 2px dashed rgba(92,2,18,.28); }
.about-panel .c3 { width: 46px; height: 46px; right: 26%; top: 14%; background: rgba(92,2,18,.10); }
.about-panel .pill { border-radius: 999px; box-shadow: 0 4px 12px rgba(92,2,18,.10); }
.about-panel .p1 { width: 120px; height: 44px; right: 7%; bottom: 14%; transform: rotate(-24deg); background: linear-gradient(90deg, var(--brand) 50%, #f0d6db 50%); opacity: .85; }
.about-panel .p2 { width: 88px; height: 32px; right: 17%; bottom: 30%; transform: rotate(16deg); background: linear-gradient(90deg, #e8cdd3 50%, #fff 50%); border: 1px solid var(--line); }
.about-panel .p3 { width: 64px; height: 24px; left: 62%; top: 7%; transform: rotate(-14deg); background: linear-gradient(90deg, rgba(92,2,18,.75) 50%, #f7e9ec 50%); opacity: .7; }
@media (max-width: 700px) {
  .about-panel .p1, .about-panel .p2, .about-panel .p3 { display: none; }
  .about-panel .c1 { width: 180px; height: 180px; right: -60px; top: -60px; }
}

/* Keep content and overlapping trust cards above the full-width photographs. */
.hero .wrap { position: relative; z-index: 1; }


/* Services page showcase */
.services-intro { max-width: 700px; }
.service-jump-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.service-jump-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--brand); text-decoration: none; font-weight: 700; }
.service-jump-nav a:hover { background: var(--brand-tint); border-color: #c9a3ab; }
.services-bento { display: grid; gap: 18px; }
.service-panel { position: relative; overflow: hidden; scroll-margin-top: 140px; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #fff, #fdf8f9); box-shadow: 0 10px 30px rgba(35,26,28,.07); }
.service-panel h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 13px; }
.service-panel p { max-width: 580px; }
.service-number { position: absolute; right: 22px; top: 16px; color: rgba(92,2,18,.09); font-size: 3.4rem; line-height: 1; font-weight: 800; }
.service-panel-featured { min-height: 390px; color: #fff; background: linear-gradient(135deg, var(--brand-dark), var(--brand) 65%, #7d2636); border: 0; }
.service-panel-featured h2, .service-panel-featured a { color: #fff; }
.service-panel-featured .icon-chip { background: rgba(255,255,255,.13); color: #fff; }
.service-panel-featured .service-number { color: rgba(255,255,255,.10); }
.service-panel-featured > div:first-child { position: relative; z-index: 1; }
.service-lead { font-size: 1.16rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.service-tags span { padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.service-route { position: absolute; right: 40px; bottom: 36px; display: flex; align-items: center; color: rgba(255,255,255,.8); }
.route-dot { width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; }
.route-line { width: 120px; border-top: 3px dashed rgba(255,255,255,.4); }
.service-action { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--brand); font-weight: 700; text-decoration: none; }
.service-action:hover { text-decoration: underline; }
@media (min-width: 800px) { .services-bento { grid-template-columns: repeat(2, 1fr); } .service-panel-featured { grid-column: 1 / -1; } }
@media (max-width: 700px) { .service-route { display: none; } .service-panel-featured { min-height: 0; } }

.fulfillment-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 30px; padding: 18px 20px; border-radius: 16px;
  background: var(--brand-tint); border: 1px solid var(--line);
}
.fulfillment-options { display: flex; flex-wrap: wrap; gap: 9px; }
.fulfillment-options span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px;
  border-radius: 999px; background: #fff; color: var(--brand);
  border: 1px solid #e1cbd0; font-weight: 700; font-size: .92rem;
}
@media (max-width: 700px) {
  .fulfillment-strip { align-items: flex-start; flex-direction: column; }
}

/* Patient Portal only — clearer hierarchy within the existing brand */
.patient-portal-page .page-hero {
  background: #f2e5e8;
  border-bottom: 1px solid #d6bcc2;
}
.patient-portal-page .page-hero h1,
.patient-portal-page #portal-heading,
.patient-portal-page #portal-install-heading { color: var(--brand); }
.patient-portal-page .page-hero p.lede { color: var(--ink); }
.patient-portal-page .portal-access .check-list {
  padding: 16px 0;
  border-top: 1px solid #d6bcc2;
  border-bottom: 1px solid #d6bcc2;
}
.patient-portal-page .portal-access .check-list li:last-child { margin-bottom: 0; }
.patient-portal-page .portal-access .btn-primary {
  min-height: 50px;
  padding: 12px 24px;
  box-shadow: 0 3px 8px rgba(92, 2, 18, .16);
}
.patient-portal-page .portal-app-frame {
  padding: clamp(16px, 3vw, 28px);
  background: var(--cream);
  border: 1px solid #d6bcc2;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(35, 26, 28, .06);
}
.patient-portal-page .portal-install {
  background: #f2e5e8;
  border-top: 1px solid #d6bcc2;
}
.patient-portal-page #portal-install-heading {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}
.patient-portal-page .portal-install .btn-outline { background: var(--paper); }
.patient-portal-page .portal-install .btn-outline:hover { background: var(--brand-tint); }
.patient-portal-page .portal-homescreen-frame img {
  margin-left: auto;
  margin-right: 8%;
  border: 1px solid #d6bcc2;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(35, 26, 28, .1);
}
@media (max-width: 767px) {
  .patient-portal-page .portal-homescreen-frame img { margin-inline: auto; }
}
