/* Riverside Pharmacy — static site styles */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --brand: #e00138;            /* build sheet primary; 4.96:1 on white */
  --brand-dark: #b0012c;
  --secondary: #0047B3;        /* build sheet secondary; 8.23:1 on white */
  --ink: #1a1a1a;
  --ink-soft: #444b53;
  --paper: #ffffff;
  --paper-soft: #f7f8fa;
  --paper-tint: #fdf2f4;
  --line: #e3e6ea;
  --ok: #1c7c35;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.07);
  --maxw: 1160px;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; border-radius: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--ink); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover, .topbar a:focus-visible { text-decoration: underline; }
.open-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #9aa3ad; margin-right: 7px; vertical-align: baseline; }
.open-now .open-dot { background: #4ade80; }
.closed-now .open-dot { background: #f87171; }
.topbar-hours { margin-left: auto; }
@media (max-width: 639px) { .topbar-hours, .topbar-addr { 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: 26px; min-height: 72px; }
.logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo-link img { height: 44px; width: auto; }
.primary-nav { display: none; }
.header-ctas { display: none; }
.header-call { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; text-decoration: none; padding: 10px; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; color: var(--ink);
}
@media (min-width: 1024px) {
  .header-call, .menu-btn { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 4px; }
  .primary-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
  .primary-nav a, .nav-drop > a, .nav-drop > button {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 16px; font-weight: 600;
    color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 8px;
  }
  .primary-nav a:hover, .nav-drop > button:hover { background: var(--paper-soft); color: var(--brand-dark); }
  .nav-drop { position: relative; }
  .nav-drop-menu {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px;
    list-style: none; margin: 0; display: none; max-height: 70vh; overflow: auto;
  }
  .nav-drop.open .nav-drop-menu,
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu { display: block; }
  .nav-drop-menu a { display: flex; width: 100%; gap: 10px; align-items: center; padding: 10px 12px; font-weight: 500; }
  .nav-drop-menu svg { color: var(--brand); flex: 0 0 auto; }
  .header-ctas { display: flex; gap: 8px; margin-left: auto; }
  .header-ctas .btn { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1359px) {
  .site-header .wrap { gap: 16px; }
  .primary-nav a, .nav-drop > a, .nav-drop > button { padding: 10px 10px; }
  .header-ctas .btn { padding: 12px 16px; font-size: 15px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  font-weight: 700; font-size: 16px; border-radius: 999px; padding: 12px 22px; min-height: 48px;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand-dark); background: var(--paper); }
.btn-outline:hover { background: var(--paper-tint); color: var(--brand-dark); }
.btn-quiet { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-quiet:hover { border-color: var(--ink-soft); }
.btn svg { flex: 0 0 auto; }

/* Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(15,18,22,.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: 16px 20px 32px; display: flex; flex-direction: column; gap: 4px;
}
.drawer.open { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-backdrop { transition: none; } }
.drawer-top { display: flex; justify-content: flex-end; }
.drawer-close { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.drawer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; margin: 4px 0 12px; }
.drawer-logo img { height: 36px; width: auto; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a {
  display: flex; align-items: center; min-height: 48px; padding: 12px 8px; font-size: 17px; font-weight: 600;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.drawer-services-btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 8px;
  font-size: 17px; font-weight: 600; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--ink);
}
.drawer-services-list { display: none; }
.drawer-services-list.open { display: block; }
.drawer-services-list a { font-weight: 500; padding-left: 20px; }
.drawer-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.drawer-ctas .btn { width: 100%; }
.drawer-hours { margin-top: 18px; font-size: 15px; color: var(--ink-soft); background: var(--paper-soft); border-radius: var(--radius); padding: 14px 16px; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 14s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 46% at 8% 96%, rgba(244, 232, 32, .16) 0%, rgba(244, 232, 32, 0) 70%),
    linear-gradient(100deg, rgba(13,16,20,.88) 0%, rgba(13,16,20,.60) 52%, rgba(176,1,44,.38) 100%);
}
.hero h1 { position: relative; padding-bottom: 16px; }
.hero h1::after {
  content: ""; position: absolute; left: 2px; bottom: 0; width: 76px; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, #f4e820, #f8f06a);
  box-shadow: 0 2px 14px rgba(244, 232, 32, .55);
}
.hero-inner { position: relative; padding: clamp(72px, 10vw, 128px) 0 clamp(96px, 12vw, 150px); max-width: 680px; animation: ph-rise .55s ease both; }
@media (prefers-reduced-motion: reduce) { .hero-media img, .hero-inner { animation: none; } }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 10px; }
.hero .tagline { font-size: clamp(18px, 2.6vw, 22px); margin: 0 0 22px; color: #f3f5f7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-call { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; }
.hero-call:hover, .hero-call:focus-visible { color: #fff; text-decoration: underline; }
.hero-open { margin-top: 18px; font-size: 15px; }
/* Interior-page intro header: brand-gradient container card */
.page-hero { padding: 26px 0 8px; background: var(--paper); }
.ph-card {
  position: relative; overflow: hidden; border-radius: 22px; color: #fff;
  background: linear-gradient(118deg, var(--brand-dark) 0%, var(--brand) 46%, #f5325e 100%);
  padding: clamp(34px, 5.5vw, 58px) clamp(24px, 5vw, 56px);
  box-shadow: 0 14px 34px -18px rgba(176, 1, 44, .55);
}
.page-hero .hero-inner { position: relative; color: #fff; padding: 0; max-width: 720px; animation: ph-rise .55s ease both; }
@media (prefers-reduced-motion: reduce) { .page-hero .hero-inner { animation: none; } }
@keyframes ph-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ph-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; padding: 6px 14px; backdrop-filter: blur(2px);
}
.page-hero h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.12; margin: 0; }
.page-hero .lead { color: rgba(255, 255, 255, .92); margin: 12px 0 0; max-width: 620px; }
.ph-deco { position: absolute; inset: 0; pointer-events: none; }
.ph-orb { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .10); }
.ph-orb-1 { width: 340px; height: 340px; right: -110px; top: -160px; }
.ph-orb-2 { width: 180px; height: 180px; right: 140px; bottom: -110px; background: rgba(255, 255, 255, .07); }
.ph-ring { position: absolute; width: 120px; height: 120px; right: 60px; top: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); }
.ph-plus { position: absolute; right: 210px; top: 58px; font-size: 30px; font-weight: 700; color: rgba(255, 255, 255, .30); line-height: 1; }
@media (max-width: 720px) { .ph-ring, .ph-plus { display: none; } }
.ph-card .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.ph-card .btn-primary:hover, .ph-card .btn-primary:focus-visible { background: #ffe6ec; color: var(--brand-dark); }
.ph-card .hero-call { color: #fff; }

/* Essentials (services page) */
.essential {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--brand);
  border-radius: var(--radius); padding: 28px clamp(20px, 3.5vw, 36px); margin: 0 0 22px;
  scroll-margin-top: 90px; box-shadow: var(--shadow);
}
.essential-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.essential-head svg { color: var(--brand); flex: 0 0 auto; width: 30px; height: 30px; }
.essential-head h3 { margin: 0; font-size: clamp(21px, 2.8vw, 26px); }
.essential .prose p:last-child { margin-bottom: 0; }
.essential-cta { margin: 20px 0 0; }

.services-more { margin: 28px 0 0; text-align: center; }

/* Jazzed-up section headings */
.band h2:not(.visually-hidden) {
  letter-spacing: -.015em;
}
.band h2:not(.visually-hidden)::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  margin-top: 12px; background: linear-gradient(90deg, var(--brand), var(--accent-yellow, #F4E820));
}
.band .prose h2::after { width: 40px; height: 3px; }
.cta-band h2::after, .pp-text h2::after { margin-inline: auto; background: linear-gradient(90deg, var(--accent-yellow, #F4E820), #fff); }
.pp-text h2::after { margin-inline: 0; }
.card h3 { transition: color .18s ease; }
.card:hover h3, a.card:focus-visible h3 { color: var(--brand); }
.essential-head h3 { letter-spacing: -.01em; }

/* Patient portal page */
.eyebrow {
  display: inline-block; margin: 0 0 10px; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.portal-hero-band { padding-top: clamp(28px, 5vw, 64px); }
.portal-copy h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; margin: 0 0 18px; }
.portal-bullets { margin: 0 0 28px; padding-left: 22px; display: grid; gap: 10px; }
.portal-bullets li { color: var(--ink-soft); }
.portal-bullets strong { color: var(--ink); }
.portal-install-panel {
  display: grid; gap: 24px; align-items: center; border-radius: 16px;
  background: var(--paper-tint, #fdf2f4); padding: clamp(20px, 3vw, 36px); overflow: hidden;
}
@media (min-width: 900px) { .portal-install-panel { grid-template-columns: 1fr auto; } }
.portal-install-panel h2 { font-size: clamp(20px, 2.4vw, 26px); }
.portal-install-panel p { max-width: 60ch; }
.portal-install-panel .portal-install-media img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; justify-self: center; }
.portal-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .portal-grid { grid-template-columns: 1.1fr .9fr; } }
.portal-features { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 18px; }
.portal-features li { display: flex; gap: 14px; align-items: flex-start; }
.portal-features svg { color: var(--brand); flex: 0 0 auto; margin-top: 2px; }
.portal-features strong { display: block; margin-bottom: 2px; }
.portal-features p { margin: 0; color: var(--ink-soft); }
.portal-phones { position: relative; min-height: 560px; }
.pp-shot { position: absolute; width: min(300px, 42vw); height: auto; border-radius: 28px; box-shadow: 0 24px 48px -18px rgba(13, 16, 20, .45); }
.pp-shot-back { left: 4%; top: 30px; transform: rotate(-7deg); }
.pp-shot-front { left: 38%; top: 90px; transform: rotate(5deg); }
@media (max-width: 899px) { .portal-phones { min-height: 480px; } .pp-shot { width: min(250px, 44vw); } .pp-shot-front { left: 44%; } }
.portal-grid-install .portal-install-media img { width: 100%; max-width: 520px; height: auto; border-radius: var(--radius); }
@media (min-width: 900px) { .portal-grid-install { grid-template-columns: .9fr 1.1fr; } }

/* Homepage patient portal promo (matched to reference site, in brand red) */
.portal-promo {
  position: relative; overflow: hidden; border-radius: 16px;
  background: linear-gradient(115deg, var(--brand-dark) 0%, var(--brand) 55%, #f4436e 100%);
  box-shadow: 0 18px 44px rgba(122, 8, 32, .28);
  display: grid; gap: 24px; padding: 44px 28px 0;
}
@media (min-width: 900px) { .portal-promo { grid-template-columns: 55% 1fr; gap: 32px; padding: 56px 56px 0; align-items: center; } }
.pp-circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.pp-c1 { width: 340px; height: 340px; top: -140px; left: -110px; }
.pp-c2 { width: 420px; height: 420px; bottom: -190px; right: -140px; }
.pp-text { position: relative; z-index: 1; padding-bottom: 44px; }
@media (min-width: 900px) { .pp-text { padding-bottom: 56px; } }
.pp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffd3de; margin: 0 0 10px; }
.portal-promo h2 { color: #fff; margin: 0 0 14px; }
.portal-promo h2::after { display: none; }
.pp-accent { color: var(--accent-yellow, #F4E820); font-style: italic; white-space: nowrap; }
.pp-text > p { color: #ffe6ec; max-width: 480px; }
.pp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pp-btn-solid { background: #fff; color: var(--brand-dark); border-color: #fff; }
.pp-btn-solid:hover { background: #ffe6ec; border-color: #ffe6ec; color: var(--brand-dark); }
.pp-btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.pp-btn-outline:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.pp-btn-solid:focus-visible, .pp-btn-outline:focus-visible { outline: 3px solid #ffd3de; outline-offset: 3px; }
.pp-phones { position: relative; z-index: 1; height: 300px; align-self: end; }
@media (min-width: 900px) { .pp-phones { height: 360px; } }
.pp-phone { position: absolute; bottom: -60px; width: 52%; height: auto; border-radius: 24px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .4)); }
.pp-phone-back { left: 4%; transform: rotate(-8deg); }
.pp-phone-front { left: 38%; transform: rotate(6deg); z-index: 2; }

/* Sections */
section.band { padding: 56px 0; }
section.band-soft { background: var(--paper-soft); }
.band h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 8px; }
.band .lead { color: var(--ink-soft); max-width: 720px; margin: 0 0 28px; }
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: none; transition: box-shadow .15s ease, border-color .15s ease; display: flex; flex-direction: column; gap: 8px;
}
.card:hover { box-shadow: var(--shadow); }
.card .icon { color: var(--brand); }
.card h3 { margin: 0; font-size: 18px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card-link { font-weight: 700; text-decoration: none; color: var(--brand-dark); margin-top: auto; }
.card-link:hover { text-decoration: underline; }
a.card { color: inherit; text-decoration: none; }

/* Hours table */
.hours-table { border-collapse: collapse; width: 100%; max-width: 460px; }
.hours-table caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; }
.hours-table .today th, .hours-table .today td { background: var(--paper-tint); font-weight: 700; }

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

/* Feature boxes overlapping the home hero */
.hero-features { position: relative; z-index: 2; margin-top: clamp(-72px, -6vw, -44px); padding-bottom: 8px; }
.hero-trust .card {
  background: var(--paper); border-top: 4px solid var(--brand); box-shadow: 0 16px 34px -18px rgba(13, 16, 20, .35);
}
.hero-trust .card svg { color: var(--brand); }
.hero-trust .card:hover { box-shadow: 0 18px 38px -16px rgba(13, 16, 20, .45); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 10px; }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-a { padding: 0 18px 16px; color: var(--ink-soft); }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 36px; }
.prose ul { padding-left: 22px; }
.prose img { border-radius: var(--radius); }
.figure-band { margin: 0 0 28px; }
.figure-band img { border-radius: var(--radius); width: 100%; height: auto; object-fit: cover; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #ffe3ea; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); }
.cta-band .btn-primary:hover { background: var(--paper-tint); color: var(--brand-dark); }
.cta-band a.plain { color: #fff; font-weight: 700; }

/* Footer */
.site-footer { background: #14171b; color: #cfd6dd; padding: 48px 0 110px; font-size: 15px; }
@media (min-width: 1024px) { .site-footer { padding-bottom: 48px; } }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffd3de; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-logo img { height: 34px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; }
.site-footer h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-legal { border-top: 1px solid #2a2f36; margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
address { font-style: normal; }

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

body.drawer-open .bottom-bar { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Breadcrumbs */
.crumbs { font-size: 14px; color: var(--ink-soft); padding: 14px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* Immunization options */
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background: var(--paper-tint); border: 1px solid #f2c4cf; color: var(--brand-dark); font-weight: 600; border-radius: 999px; padding: 8px 16px; }

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

/* Inert CTA (destination not yet available) */
.btn-inert { opacity: .65; cursor: not-allowed; pointer-events: none; }
.ph-card .hero-note { margin: 10px 0 0; font-size: 14px; color: rgba(255, 255, 255, .85); }

/* About page intro: text beside circular storefront photo, no overlap */
.about-intro { display: grid; gap: 28px; align-items: center; margin-bottom: 8px; }
@media (min-width: 800px) { .about-intro { grid-template-columns: 1fr 280px; gap: 48px; } }
.about-intro .about-circle {
  width: min(280px, 70vw); height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 4px solid #fff; justify-self: center;
  box-shadow: 0 14px 30px -12px rgba(13, 16, 20, .35);
}

/* Essential service cards with photos */
.essential.has-media { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .essential.has-media { grid-template-columns: 1.15fr .85fr; }
  .essential.has-media:nth-of-type(even) { grid-template-columns: .85fr 1.15fr; }
  .essential.has-media:nth-of-type(even) .essential-media { order: -1; }
}
.essential-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 14px 30px -14px rgba(13, 16, 20, .3); }


/* Portal page combined app image + real phone assets */
.pp-app-shot { width: 100%; max-width: 560px; height: auto; justify-self: center; }
.pp-phone { border-radius: 0; }

/* Homepage hours + map side by side */
.hours-map { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 900px) { .hours-map { grid-template-columns: 1fr 1fr; } }
.hours-map .map-frame { width: 100%; min-height: 300px; height: 100%; border: 0; border-radius: 14px; box-shadow: 0 14px 30px -14px rgba(13, 16, 20, .3); }

.hours-address { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 0 0 16px; }
.hours-address svg { color: var(--brand); flex: 0 0 auto; }

/* Faint brand-yellow band (homepage hours) */
.band-yellow { background: #FDFBE8; }

/* ===== Paid-ads landing page (/pharmacy-near-me-*) ===== */
.lp { background: #fff; }
.lp-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: .75rem 1.25rem; border-radius: 999px; font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lp-btn .icon { width: 16px; height: 16px; }
.lp-btn-primary { background: var(--brand, #E00138); color: #fff; }
.lp-btn-primary:hover { background: var(--brand-dark, #a80029); }
.lp-btn-dark { background: #1a2233; color: #fff; }
.lp-btn-ghost { border: 2px solid #fff; color: #fff; }
.lp-btn-ghost:hover { background: rgba(255,255,255,.12); }
.lp-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.lp-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.lp-logo img { height: 48px; width: auto; display: block; }
.lp-header-actions { display: flex; align-items: center; gap: 12px; }
.lp-open { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: #333; }
@media (max-width: 640px) { .lp-open { display: none; } .lp-logo img { height: 40px; } .lp-btn { padding: .75rem 1rem; } }
.lp-hero { position: relative; background: #14100e; color: #fff; overflow: hidden; padding: 4rem 0; }
@media (min-width: 900px) { .lp-hero { padding: 5.5rem 0; } }
.lp-hero-media { position: absolute; inset: 0; }
.lp-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.lp-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,12,10,.95) 20%, rgba(15,12,10,.55) 60%, rgba(15,12,10,.25)); }
.lp-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.lp-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .8rem; margin: 0 0 12px; color: #d8cfc9; }
.lp-eyebrow-accent { color: var(--brand, #E00138); }
.lp-hero h1 { font-size: clamp(28px, 3.4vw, 44px); margin: 0 0 18px; line-height: 1.08; white-space: normal; }
@media (min-width: 900px) { .lp-hero h1 { white-space: nowrap; } }
.lp-lead { font-size: 1.05rem; line-height: 1.65; margin: 0 0 14px; max-width: 60ch; }
.lp-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.lp-about { background: var(--paper-tint, #faf6ef); padding: clamp(48px, 7vw, 84px) 0; }
.lp-about-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .lp-about-grid { grid-template-columns: .9fr 1.1fr; } }
.lp-about-photo { width: 100%; height: auto; border-radius: 1.5rem; }
.lp-about h2, .lp-services h2, .lp-contact h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 14px; }
.lp-sec-head { text-align: center; margin-bottom: 36px; }
.lp-services { padding: clamp(48px, 7vw, 84px) 0; }
.lp-cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .lp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .lp-cards { grid-template-columns: repeat(3, 1fr); } }
.lp-card { background: #fff; border: 1px solid #eee2d9; border-radius: 16px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.lp-card h3 { font-size: 1.05rem; margin: 12px 0 8px; }
.lp-card p { margin: 0; font-size: .95rem; color: #4a4440; }
.lp-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fdeef1; color: var(--brand, #E00138); flex: none; }
.lp-strip { max-width: 48rem; margin: 40px auto 0; background: #fdeef1; border-radius: 16px; padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.lp-strip p { margin: 0; font-weight: 700; color: var(--brand-dark, #7c001f); }
@media (min-width: 640px) { .lp-strip { flex-direction: row; text-align: left; justify-content: space-between; } }
.lp-contact { background: var(--paper-tint, #faf6ef); padding: clamp(48px, 7vw, 84px) 0; }
.lp-contact-card { background: #fff; border-radius: 20px; overflow: hidden; display: grid; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
@media (min-width: 900px) { .lp-contact-card { grid-template-columns: 1fr 1fr; } }
.lp-map iframe { width: 100%; height: 100%; min-height: 320px; display: block; border: 0; }
.lp-contact-info { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 20px; align-content: start; }
.lp-info-row { display: flex; gap: 14px; align-items: flex-start; }
.lp-info-row h3 { margin: 0 0 4px; font-size: 1rem; }
.lp-info-row p { margin: 0; }
.lp-hours { width: 100%; border-collapse: collapse; border: 1px solid #eee2d9; border-radius: 12px; overflow: hidden; }
.lp-hours th, .lp-hours td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #f1e8e0; font-size: .95rem; }
.lp-hours thead th { background: #faf6ef; font-weight: 700; }
.lp-final { padding: clamp(48px, 7vw, 84px) 0; }
.lp-final-card { max-width: 48rem; margin: 0 auto; background: #1a2233; color: #fff; border-radius: 20px; padding: clamp(36px, 5vw, 56px); text-align: center; display: grid; gap: 22px; justify-items: center; }
.lp-final-card h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.lp-footer { text-align: center; padding: 28px 16px 40px; font-size: .9rem; color: #4a4440; }
.lp-footer p { margin: 4px 0; }
.lp-footer a { color: inherit; }
