/* Old Cutler Pharmacy — "Vice Vials" design system
   Concept: the pharmacy's Miami-gradient vial branding (pink → sky blue with
   pale-yellow sunset stripes) drives accents, bands, and gradients across a
   clean, trustworthy healthcare layout. */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --pink: #E50098;          /* supplied reference: vivid magenta */
  --pink-700: #CC0088;      /* accessible white-text magenta */
  --pink-800: #AA0072;
  --blue: #00BEDB;          /* supplied reference: cyan */
  --blue-700: #006B88;      /* darker cyan for readable links */
  --blue-900: #003B70;
  --yellow: #D4F7FC;        /* cool highlight replaces yellow */
  --ink: #003568;
  --ink-soft: #3D4B5A;
  --bg: #FFFFFF;
  --bg-alt: #F1FBFE;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(22, 32, 43, 0.10);
  --grad: linear-gradient(110deg, var(--pink) 0%, #BC73DE 44%, var(--blue) 80%);
  --grad-deep: linear-gradient(115deg, var(--blue-900) 0%, #005579 60%, var(--blue-700) 100%);
}

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: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); }
a:hover { color: var(--pink-700); }
h1, h2, h3 { line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); margin: 0.2em 0; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 0; }
h3 { font-size: 1.1rem; margin: 0 0 0.25rem; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-lead { max-width: 62ch; color: var(--ink-soft); font-size: 1.06rem; }
.alt-band { background: var(--bg-alt); }
.warm-band { background: #FCF1FA; }

.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;
}
.skip-link {
  position: absolute; left: 0.5rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px;
  transition: top 120ms ease-out;
}
.skip-link:focus { top: 0.5rem; }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--blue-900);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.6rem 1.35rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  font-size: 1rem; cursor: pointer; transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lg { padding: 0.8rem 1.7rem; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--pink-700); color: #fff; }
.btn-primary:hover { background: var(--pink-800); color: #fff; }
.btn-secondary { background: var(--blue-700); color: #fff; }
.btn-secondary:hover { background: var(--blue-900); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; background: rgba(255,255,255,0.12); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--blue-900); }
.btn-white:hover { background: var(--yellow); color: var(--blue-900); }
.btn-white-outline { border-color: #fff; color: #fff; }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

.icon { flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 40px; height: 40px; }

/* Top bar */
.top-bar { background: var(--grad); color: var(--ink); font-size: 0.86rem; }
.top-bar a { color: var(--ink); text-decoration: none; font-weight: 600; }
.top-bar a:hover { color: var(--yellow); }
.top-bar-inner { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; padding: 0.4rem 0; align-items: center; }
.top-bar-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.open-indicator .dot { width: 10px; height: 10px; border-radius: 50%; background: #9AA7B3; display: inline-block; }
.open-indicator.is-open .dot { background: #35C46F; }
.open-indicator.is-closed .dot { background: #E2574C; }
@media (max-width: 640px) {
  .top-bar-item:nth-child(3) { 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: 3px solid transparent;
  border-image: var(--grad) 1;
  box-shadow: 0 2px 14px rgba(22,32,43,0.07);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; padding: 0.4rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-logo { width: auto; height: 84px; }
@media (max-width: 1200px) and (min-width: 1024px) { .brand-logo { height: 68px; } }
@media (max-width: 1420px) and (min-width: 1024px) {
  .header-inner { gap: 1rem; }
  .primary-nav ul { gap: 1rem; }
  .header-ctas .btn { font-size: 0.92rem; padding: 0.5rem 1rem; white-space: nowrap; }
}
.header-ctas .btn { white-space: nowrap; }
@media (max-width: 400px) { .brand-logo { height: 56px; } }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 0.4rem 0.15rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.primary-nav a:hover { color: var(--pink-700); border-bottom-color: var(--pink-700); }
.header-ctas { display: flex; gap: 0.6rem; }
.header-call, .hamburger { display: none; }

@media (max-width: 1023px) {
  .primary-nav, .header-ctas { display: none; }
  .header-call {
    display: inline-flex; margin-left: auto; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; background: var(--pink-700); color: #fff;
  }
  .hamburger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 2px solid var(--ink); border-radius: 10px; cursor: pointer;
  }
  .hamburger-lines { display: flex; flex-direction: column; gap: 4px; }
  .hamburger-lines span { width: 20px; height: 2px; background: var(--ink); display: block; }
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(16, 22, 29, 0.5); z-index: 140;
  opacity: 0; transition: opacity 150ms ease-out;
}
.drawer-backdrop.show { opacity: 1; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: 100%; max-width: 400px; background: #fff; overflow-y: auto;
  padding: 1rem 1.25rem 2rem; transform: translateX(100%); transition: transform 200ms ease-out;
  box-shadow: -12px 0 40px rgba(0,0,0,0.18);
}
.mobile-drawer.show { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  .mobile-drawer, .drawer-backdrop { transition: none; }
}
.drawer-close {
  width: 44px; height: 44px; border: 2px solid var(--ink); background: none;
  border-radius: 10px; font-size: 1.1rem; cursor: pointer; float: right;
}
.drawer-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-weight: 800; margin: 0.5rem 0 1rem; }
.drawer-brand img { height: 52px; width: auto; }
.drawer-nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid #E4E9EE; }
.drawer-nav a {
  display: block; padding: 14px 4px; min-height: 48px; text-decoration: none;
  color: var(--ink); font-weight: 600; border-bottom: 1px solid #E4E9EE;
}
.drawer-subhead { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); margin: 1.2rem 0 0.3rem; }
.drawer-disclosure {
  width: 100%; text-align: left; padding: 12px 4px; min-height: 48px;
  background: none; border: none; border-bottom: 1px solid #E4E9EE;
  font: inherit; font-weight: 600; color: var(--blue-700); cursor: pointer;
}
.drawer-disclosure::after { content: " ▾"; }
.drawer-disclosure[aria-expanded="true"]::after { content: " ▴"; }
.drawer-services-list { list-style: none; margin: 0; padding: 0; }
.drawer-services-list a { display: block; padding: 12px 12px; min-height: 44px; text-decoration: none; color: var(--ink); border-bottom: 1px solid #F0F3F6; }
.drawer-ctas { display: flex; flex-direction: column; gap: 10px; margin: 1.25rem 0; }
.drawer-hours { font-size: 0.95rem; color: var(--ink-soft); }

/* Hero */
.hero { position: relative; color: var(--ink); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(238, 0, 166, 0.62) 0%, rgba(244, 64, 189, 0.22) 16%, transparent 32%, transparent 76%, rgba(0, 213, 237, 0.18) 88%, rgba(0, 213, 237, 0.58) 100%),
    linear-gradient(100deg, rgba(255, 243, 253, 0.18) 0%, rgba(255, 244, 253, 0.78) 22%, rgba(249, 248, 255, 0.84) 48%, rgba(241, 251, 255, 0.44) 67%, transparent 82%);
}
.hero-inner { position: relative; padding: clamp(3.2rem, 9vw, 7rem) 0; max-width: 820px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; font-size: 0.85rem; color: var(--ink); margin: 0; }
.hero h1 { color: var(--ink); }
.hero-title-accent { display: block; color: var(--pink-700); background: linear-gradient(100deg, var(--pink-700), #934BB1 45%, var(--blue-700)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; width: fit-content; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 56ch; color: var(--ink); }
.hero .btn-ghost { background: #fff; border-color: var(--blue); color: var(--ink); }
.hero .btn-ghost:hover { background: var(--bg-alt); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.4rem 0 1rem; }
.hero-open { font-size: 0.95rem; color: var(--ink); display: inline-flex; align-items: center; gap: 0.45rem; }

/* Vial stripe motif */
.stripe-band {
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--pink) 0 22%, var(--yellow) 22% 26%, var(--blue) 26% 50%,
    var(--yellow) 50% 54%, var(--pink) 54% 78%, var(--blue) 78% 100%
  );
  position: relative;
}

/* Services grid */
.services-grid {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff; border: 1px solid #E8EDF2; border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1rem; display: flex; flex-direction: column; gap: 0.55rem;
  color: var(--pink-700); transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.service-card a, .service-card span { color: var(--ink); font-weight: 700; text-decoration: none; }
.service-card a:hover { color: var(--pink-700); }
.service-card .service-desc { margin: -0.25rem 0 0; font-size: 0.92rem; line-height: 1.5; color: #5A6B7A; }
.services-grid-featured { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.2rem; }
.services-grid-featured .service-card-lg {
  padding: 2.4rem 2rem 2.1rem; gap: 0.8rem; align-items: flex-start; text-align: left;
  border-top: 6px solid transparent; border-image: var(--grad) 1; box-shadow: var(--shadow);
}
.service-card-lg .service-icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 16px; background: var(--grad); color: #fff;
}
.service-card-lg .service-icon-tile svg { width: 32px; height: 32px; }
.service-card-lg a { font-size: 1.35rem; }
.service-card-lg .service-desc { font-size: 1rem; margin-top: 0; }
.service-card-lg .service-more-link { margin-top: 0.3rem; font-weight: 700; font-size: 0.92rem; color: var(--pink-700); }
.service-card-lg:hover .service-more-link { text-decoration: underline; }
.services-more { margin: 1.4rem 0 0; color: #5A6B7A; }
.services-more a { color: var(--pink-700); font-weight: 600; }
@media (max-width: 860px) { .services-grid-featured { grid-template-columns: 1fr; } }
.team-cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .team-cred-grid { grid-template-columns: 1fr; } }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
.about-story h2 { margin-top: 0.2rem; }
.glance-card { background: #fff; border: 1px solid #E8EDF2; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 1.5rem; border-top: 5px solid transparent; border-image: var(--grad) 1; }
.glance-card h3 { margin: 0 0 1rem; font-size: 1.1rem; color: var(--ink); }
.glance-card ul { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: 1rem; }
.glance-card li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--pink-700); }
.glance-card li svg { flex: 0 0 auto; margin-top: 0.15rem; }
.glance-card li div { display: grid; gap: 0.1rem; }
.glance-card li strong { color: var(--ink); }
.glance-card li span { color: #5A6B7A; font-size: 0.92rem; }
.glance-card .btn { width: 100%; text-align: center; }
.values-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.values-section { padding-top: 0; }
@media (max-width: 860px) { .about-grid, .values-grid { grid-template-columns: 1fr; } }
.reviews-section { background: var(--grad-deep, linear-gradient(120deg, #1E3A5F, #2F6EA8)); color: #fff; overflow: hidden; padding-bottom: 3.2rem; }
.reviews-section h2 { color: #fff; margin-top: 0.1rem; }
.reviews-marquee { margin-top: 1.6rem; overflow: hidden; }
.reviews-track { list-style: none; margin: 0; padding: 0 0 0.4rem; display: flex; gap: 1.2rem; width: max-content; animation: reviews-scroll 60s linear infinite; }
.reviews-marquee:hover .reviews-track, .reviews-marquee:focus-within .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 1.2rem; }
  .reviews-track .review-card[aria-hidden="true"] { display: none; }
}
.review-card { flex: 0 0 340px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.3rem 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; border-top: 5px solid transparent; border-image: var(--grad) 1; }
.review-card p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: #37464F; }
.review-stars { color: var(--pink-700); letter-spacing: 0.15em; font-size: 1.05rem; }
.review-source { margin-top: auto; font-size: 0.82rem; font-weight: 600; color: #5A6B7A; text-transform: uppercase; letter-spacing: 0.08em; }
.reviews-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.reviews-cta p { margin: 0; color: #EAF2FA; }
@media (max-width: 640px) { .review-card { flex-basis: 280px; } }
.section-cta { margin-top: 1.6rem; }

/* Portal promo panel */
.portal-promo {
  position: relative; overflow: hidden; border-radius: 16px;
  background: var(--grad-deep); color: #fff; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 55% 1fr; gap: 1rem; padding: clamp(1.6rem, 4vw, 3rem);
}
.portal-promo h2 { color: #fff; }
.portal-promo p { color: #EAF2FA; }
.promo-circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); }
.promo-circle-1 { width: 340px; height: 340px; top: -160px; left: -120px; }
.promo-circle-2 { width: 420px; height: 420px; bottom: -220px; right: -140px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; font-size: 0.82rem; color: var(--pink-700); margin: 0 0 0.3rem; }
.eyebrow-light { color: #FBD0E7; } /* light brand-pink tint — AA on the dark-to-mid gradient area under left-aligned text */
.portal-promo-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; position: relative; z-index: 1; }
.portal-promo-text { position: relative; z-index: 1; }
.portal-promo-phones { position: relative; display: flex; align-items: flex-end; justify-content: center; margin-bottom: calc(-1 * clamp(1.6rem, 4vw, 3rem)); }
.promo-phone { width: min(360px, 100%); filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35)); transform: rotate(3deg) translateY(6%); }
@media (max-width: 860px) {
  .portal-promo { grid-template-columns: 1fr; }
  .portal-promo-phones { margin-top: 0.6rem; }
}

/* Hours + trust */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.hours-table { border-collapse: collapse; width: 100%; max-width: 460px; margin: 1rem 0 1.4rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(22,32,43,0.06); }
.hours-table th, .hours-table td { text-align: left; padding: 0.62rem 1rem; border-bottom: 1px solid #EDF1F5; }
.hours-table thead th { background: var(--blue-900); color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hours-table tbody tr:last-child th, .hours-table tbody tr:last-child td { border-bottom: 0; }
.hours-table tbody th { font-weight: 600; }
.trust-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.trust-list li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--pink-700); }
.trust-list p { margin: 0.15rem 0 0; color: var(--ink-soft); }
.trust-list h3 { color: var(--ink); }

/* Team */
.team-grid { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); gap: 1.2rem; justify-content: center; }
.team-card { background: #fff; border-radius: var(--radius); border: 1px solid #E8EDF2; padding: 1.6rem 1.2rem; text-align: center; box-shadow: 0 2px 10px rgba(22,32,43,0.05); }
.team-avatar {
  width: 74px; height: 74px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.4rem; margin-bottom: 0.7rem;
}
.team-card p { color: var(--ink-soft); margin: 0; }
.team-section { text-align: center; }
.team-section h2 { text-align: center; }

/* Review CTA */
.review-cta-section { background: var(--grad); }
.review-cta { text-align: center; color: #fff; }
.review-cta h2 { color: #fff; }
.review-cta p { color: #FBEAF4; }
.review-cta .btn-primary { background: #fff; color: var(--pink-800); }
.review-cta .btn-primary:hover { background: var(--yellow); color: var(--pink-800); }

/* Page hero */
.page-hero { background: var(--grad-deep); color: #fff; padding-top: clamp(2rem, 5vw, 3.4rem); }
.page-hero h1 { color: #fff; }
.page-hero-lead { color: #EAF2FA; max-width: 62ch; font-size: 1.08rem; }
.page-hero .container { padding-bottom: clamp(1.8rem, 4vw, 3rem); }
.breadcrumb ol { list-style: none; display: flex; gap: 0.5rem; margin: 0; padding: 0; font-size: 0.88rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: #B7D3EC; }
.breadcrumb a { color: #E0EDFA; }
.breadcrumb [aria-current] { color: #fff; }

/* Feature rows (services) */
.feature-row { display: grid; grid-template-columns: 84px 1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 640px) { .feature-row { grid-template-columns: 1fr; } }
.feature-icon-badge {
  width: 84px; height: 84px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff;
}
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 1.2rem; padding: 0; }
.pill-list li {
  background: #fff; border: 1.5px solid var(--blue); color: var(--blue-900);
  border-radius: 999px; padding: 0.35rem 0.95rem; font-weight: 600; font-size: 0.93rem;
}
.check-list { list-style: none; margin: 1rem 0 1.6rem; padding: 0; }
.check-list li { padding-left: 1.9rem; position: relative; margin-bottom: 0.55rem; font-weight: 600; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 1.05em; height: 0.55em;
  border-left: 3px solid var(--pink-700); border-bottom: 3px solid var(--pink-700); transform: rotate(-45deg);
}
.inline-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

/* Contact */
.contact-list { list-style: none; margin: 1rem 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-list li { display: flex; align-items: center; gap: 0.8rem; color: var(--pink-700); font-size: 1.04rem; }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list span { color: var(--ink); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 480px; display: block; }

/* Patient portal page */
.feature-list { list-style: none; margin: 1.4rem 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.feature-list li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--pink-700); }
.feature-list p { margin: 0.1rem 0 0; color: var(--ink-soft); }
.portal-screens img { filter: drop-shadow(0 18px 34px rgba(18, 64, 107, 0.25)); }
.homescreen-img img { border-radius: 50%; box-shadow: var(--shadow); }

/* Legal */
.legal-content h2 { margin-top: 2rem; }
.legal-content p { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #C9D3DC; border-top: 6px solid transparent; border-image: var(--grad) 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 0 1.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 56px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; }
.footer-logo-fallback { color: var(--pink); font-weight: 800; font-size: 1.2rem; }
.footer-tagline { color: var(--yellow); font-weight: 700; margin: 0.8rem 0 0.3rem; }
.footer-head { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: #F783C1; margin-bottom: 0.7rem; } /* brand pink tint, ~6.5:1 on ink */
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-list a { color: #C9D3DC; text-decoration: none; }
.footer-list a:hover { color: var(--yellow); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; align-items: center; border-top: 1px solid #2A3642; padding: 1.1rem 0 5.5rem; font-size: 0.88rem; }
.footer-legal-links { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.footer-legal-links a { color: #C9D3DC; }
.footer-legal-links a:hover { color: var(--yellow); }
@media (min-width: 1024px) { .footer-legal { padding-bottom: 1.1rem; } }

/* Sticky bottom CTA bar (mobile) */
.sticky-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: none; grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-top: 1px solid #E4E9EE;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px; height: auto; min-height: 64px;
}
.sticky-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; border-radius: 12px; text-decoration: none; font-weight: 700;
  background: var(--blue-900); color: #fff;
}
.sticky-cta-primary { background: var(--pink-700); }
@media (max-width: 1023px) {
  .sticky-cta-bar.visible { display: grid; }
  body.drawer-open .sticky-cta-bar { display: none; }
}
