/* ============================================================
   Main Drug Mart + Weston-Church Clinic
   Design system — warm editorial healthcare
   ============================================================ */

:root {
  /* Ink + surfaces */
  --ink: #201b18;
  --ink-soft: #52493f;
  --muted: #6f675e;
  --paper: #faf7f2;
  --cream: #f4efe7;
  --white: #ffffff;
  --line: #e7dfd4;
  --line-strong: #d8cdbd;

  /* Pharmacy brand — matches the red storefront logo */
  --brand: #b7222c;
  --brand-deep: #8c1620;
  --brand-ink: #5c0e14;
  --brand-tint: #fbeeec;
  --brand-tint-strong: #f4d9d5;

  /* Clinic identity — calm teal, deliberately distinct */
  --clinic: #16697a;
  --clinic-deep: #0f4c5c;
  --clinic-ink: #0a3540;
  --clinic-tint: #e9f3f4;
  --clinic-tint-strong: #d2e6e9;

  --gold: #e2a33b;
  --green-ok: #2e7d4f;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(41, 31, 22, 0.06), 0 2px 8px rgba(41, 31, 22, 0.05);
  --shadow-md: 0 2px 6px rgba(41, 31, 22, 0.06), 0 14px 34px rgba(41, 31, 22, 0.1);
  --shadow-lg: 0 4px 10px rgba(41, 31, 22, 0.08), 0 28px 60px rgba(41, 31, 22, 0.16);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;

  --wrap: min(1160px, calc(100% - 48px));
  --wrap-narrow: min(840px, calc(100% - 48px));

  --accent: var(--brand);
  --accent-deep: var(--brand-deep);
  --accent-tint: var(--brand-tint);
  --accent-tint-strong: var(--brand-tint-strong);
}

body[data-site="clinic"] {
  --accent: var(--clinic);
  --accent-deep: var(--clinic-deep);
  --accent-tint: var(--clinic-tint);
  --accent-tint-strong: var(--clinic-tint-strong);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--accent-tint-strong);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  color: var(--white);
  background: var(--ink);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0;
  outline: none;
}

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

/* ------------------------------------------------------------
   Utility top bar
   ------------------------------------------------------------ */

.topbar {
  color: #f6ede6;
  background: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.topbar-inner {
  width: var(--wrap);
  margin: 0 auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}

.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-note svg {
  flex: 0 0 auto;
  color: var(--gold);
}

.topbar-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.topbar a {
  color: var(--white);
  text-decoration: none;
}

.topbar a:hover,
.topbar a:focus-visible {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  background: rgba(250, 247, 242, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo-image {
  width: 250px;
  max-width: 46vw;
  height: auto;
  max-height: 36px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: linear-gradient(150deg, var(--clinic), var(--clinic-deep));
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.brand-name,
.brand-subtitle {
  display: block;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 650;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--ink-soft);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--cream);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--white);
  background: var(--accent);
  padding: 0 18px;
  box-shadow: var(--shadow-sm);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--accent-deep);
}

.site-nav .nav-link-alt {
  color: var(--accent-deep);
  background: var(--accent-tint);
}

.site-nav .nav-link-alt:hover,
.site-nav .nav-link-alt:focus-visible {
  color: var(--accent-ink, var(--ink));
  background: var(--accent-tint-strong);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--accent-tint), transparent 60%),
    var(--paper);
}

.hero-inner {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 7vw, 84px) 0 clamp(48px, 7vw, 88px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 14px;
  color: var(--accent-deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-badge svg {
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 3.7rem);
  line-height: 1.05;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-deep);
}

.hero-copy {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  color: var(--accent);
  flex: 0 0 auto;
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

/* Pharmacy hero is a pre-cropped portrait of the pharmacist. */
body[data-site="pharmacy"] .hero-figure img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

/* Clinic hero is framed on the receptionist, who sits on the right of the source. */
body[data-site="clinic"] .hero-figure img {
  object-position: 76% center;
}

.hero-card {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.hero-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--accent);
  border-radius: 12px;
}

.hero-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
}

.hero-card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.button:active {
  transform: translateY(1px);
}

.button svg {
  flex: 0 0 auto;
}

.button-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: var(--shadow-sm);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
}

.button-outline {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line-strong);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--ink-soft);
}

.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button-light:hover,
.button-light:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

/* ------------------------------------------------------------
   Quick actions strip
   ------------------------------------------------------------ */

.quick-actions {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-action:hover,
.quick-action:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent-tint-strong);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.quick-action-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border-radius: 12px;
}

.quick-action strong {
  display: block;
  font-size: 0.99rem;
  line-height: 1.25;
}

.quick-action span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-white {
  background: var(--white);
}

.section-tint {
  background: var(--cream);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(255, 255, 255, 0.07), transparent 60%),
    var(--ink);
}

.section-inner {
  width: var(--wrap);
  margin: 0 auto;
}

.narrow {
  width: var(--wrap-narrow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-dark .eyebrow {
  color: #f0c98a;
}

.section-dark .eyebrow::before {
  background: var(--gold);
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-heading h2,
.two-column h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.14;
}

.section-heading p,
.two-column > div > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 680px;
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-heading-split > div {
  max-width: 640px;
}

/* ------------------------------------------------------------
   Service cards
   ------------------------------------------------------------ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  position: relative;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.section-tint .service-card,
.section-dark .service-card {
  background: var(--white);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-tint-strong);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border-radius: 14px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ------------------------------------------------------------
   Steps
   ------------------------------------------------------------ */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 30px 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.05rem;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.step-arrow {
  position: absolute;
  top: 40px;
  right: -21px;
  z-index: 1;
  color: var(--line-strong);
}

/* ------------------------------------------------------------
   Stats / trust band
   ------------------------------------------------------------ */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
}

.stat strong span {
  color: var(--gold);
}

.stat p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 64px) clamp(28px, 5vw, 64px);
  color: var(--white);
  background:
    radial-gradient(700px 300px at 12% 110%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(120deg, var(--accent-deep), var(--accent));
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.cta-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

.cta-band .button-primary {
  color: var(--accent-deep);
  background: var(--white);
}

.cta-band .button-primary:hover,
.cta-band .button-primary:focus-visible {
  background: var(--cream);
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ------------------------------------------------------------
   Visit / hours / map
   ------------------------------------------------------------ */

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.visit-info {
  display: grid;
  gap: 18px;
  align-content: start;
}

.info-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 800;
}

.info-card-title svg {
  color: var(--accent-deep);
}

.info-card address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.7;
}

.info-card a {
  color: var(--accent-deep);
  font-weight: 700;
}

.phone-menu {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phone-menu li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.phone-menu .key {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.hours-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 600;
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.map-frame {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 800;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.photo-row figure {
  margin: 0;
}

.photo-row img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.photo-row figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ------------------------------------------------------------
   Notices, panels, two-column
   ------------------------------------------------------------ */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.notice {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid #ecd9a8;
  background: #fdf6e3;
  color: #6b5518;
  font-size: 0.95rem;
  font-weight: 600;
}

.notice svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #b98a1e;
}

.info-list {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.info-list > div {
  display: grid;
  gap: 4px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.info-list > div:last-child {
  border-bottom: 0;
}

.info-list strong {
  font-size: 0.98rem;
}

.info-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.info-list a {
  color: var(--accent-deep);
  font-weight: 700;
}

.recruit-list {
  padding: 30px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.recruit-list strong {
  font-size: 1.05rem;
}

.recruit-list ul {
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.recruit-list li {
  display: flex;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.recruit-list li svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--green-ok);
}

.recruit-list .button {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  text-align: center;
  white-space: normal;
}

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */

.faq-list {
  max-width: 840px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--accent-tint-strong);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ------------------------------------------------------------
   Cross-site band
   ------------------------------------------------------------ */

.switcher-band {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.switcher-content {
  width: var(--wrap);
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

.switcher-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.switcher-copy .quick-action-icon {
  width: 50px;
  height: 50px;
}

.switcher-content p {
  margin: 0;
  font-weight: 600;
  color: var(--ink-soft);
}

.switcher-content p strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

/* ------------------------------------------------------------
   Legal page
   ------------------------------------------------------------ */

.legal-page {
  min-height: 60vh;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.legal-page h2 {
  margin: 36px 0 10px;
  font-size: 1.4rem;
}

.legal-page p {
  color: var(--ink-soft);
  max-width: 720px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}

.footer-grid {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-about strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-about p {
  margin: 0;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.96rem;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.footer-grid p {
  font-size: 0.93rem;
  margin: 8px 0;
}

.legal {
  width: var(--wrap);
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.legal a {
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------------------------------------
   Back to top
   ------------------------------------------------------------ */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--accent-deep);
}

/* ------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .quick-action,
  .service-card,
  .button {
    transition: none;
  }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1024px) {
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .service-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step-arrow {
    display: none;
  }
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 84px;
  }

  .topbar-links span.topbar-address {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    border-radius: 12px;
    min-height: 48px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    order: -1;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  body[data-site="pharmacy"] .hero-figure img {
    aspect-ratio: 4 / 5;
    max-height: 68vh;
  }

  .hero-card {
    left: 14px;
    bottom: 14px;
  }

  .two-column,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .switcher-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  :root {
    --wrap: min(1160px, calc(100% - 36px));
    --wrap-narrow: min(840px, calc(100% - 36px));
  }

  body {
    font-size: 1rem;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-note {
    display: none;
  }

  .brand-logo-image {
    width: 200px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
    margin-top: -22px;
  }

  .service-grid,
  .service-grid-four,
  .stats-band,
  .photo-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .cta-band-actions {
    flex-direction: column;
  }

  .cta-band-actions .button {
    width: 100%;
  }

  .photo-row img {
    height: 230px;
  }

  .map-frame {
    min-height: 340px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}
