/* ============================================================
   ST MARKS PHARMACY — Design System v2
   42 Derby Road, Southport, PR9 0TZ · GPhC No: 1089480
   Fonts: Bricolage Grotesque (display) + Atkinson Hyperlegible (body)
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  /* Core palette */
  --c-primary:       oklch(0.28 0.10 162);   /* deep teal-green */
  --c-primary-mid:   oklch(0.38 0.10 162);
  --c-primary-light: oklch(0.55 0.09 162);
  --c-primary-pale:  oklch(0.95 0.018 162);
  --c-primary-ultra: oklch(0.98 0.008 162);

  --c-accent:        oklch(0.68 0.16 68);    /* warm amber — CTAs */
  --c-accent-dark:   oklch(0.55 0.17 68);
  --c-accent-pale:   oklch(0.95 0.06 68);

  --c-urgent:        oklch(0.44 0.18 25);    /* red — shingles, red flags */
  --c-urgent-pale:   oklch(0.96 0.04 25);

  --c-nhs:           #005EB8;

  --c-surface:       oklch(0.99 0.003 162);
  --c-surface-2:     oklch(0.96 0.012 162);

  --c-ink:           oklch(0.17 0.04 162);
  --c-ink-mid:       oklch(0.35 0.04 162);
  --c-ink-muted:     oklch(0.50 0.03 162);

  --c-border:        oklch(0.88 0.012 162);
  --c-border-strong: oklch(0.75 0.025 162);

  /* Typography */
  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body:    'Atkinson Hyperlegible', 'Arial', sans-serif;

  /* Spacing (4px base) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w:      1200px;
  --max-w-text: 680px;

  /* Radii */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px oklch(0.17 0.04 162 / 0.08);
  --shadow-md:  0 4px 12px oklch(0.17 0.04 162 / 0.10), 0 1px 3px oklch(0.17 0.04 162 / 0.06);
  --shadow-lg:  0 8px 24px oklch(0.17 0.04 162 / 0.12), 0 2px 6px oklch(0.17 0.04 162 / 0.06);

  /* Motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --t-fast: 150ms var(--ease-out-quart);
  --t-med:  280ms var(--ease-out-quart);
  --t-slow: 480ms var(--ease-out-quart);
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px — larger base for accessibility */
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover { color: var(--c-primary-mid); }

ul, ol { padding-left: var(--sp-6); }
li { margin-bottom: var(--sp-2); }

p {
  max-width: var(--max-w-text);
  margin-bottom: var(--sp-5);
  text-wrap: pretty;
}
p:last-child { margin-bottom: 0; }


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-primary);
  text-wrap: balance;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem);  margin-bottom: var(--sp-6); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: var(--sp-5); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); margin-bottom: var(--sp-4); }
h4 { font-size: 1.2rem; margin-bottom: var(--sp-3); }
h5 { font-size: 1.05rem; }

.text-muted  { color: var(--c-ink-muted); }
.text-small  { font-size: 0.9rem; }
.text-large  { font-size: 1.15rem; line-height: 1.6; }
.text-center { text-align: center; }
.font-display { font-family: var(--font-display); }


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container--narrow {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-16) 0;
}

.section--sm {
  padding: var(--sp-10) 0;
}

.section--lg {
  padding: var(--sp-24) 0;
}

.section--tinted {
  background: var(--c-primary-ultra);
}

.section--green {
  background: var(--c-primary);
  color: white;
}

.section--green h2,
.section--green h3 {
  color: white;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }


/* ============================================================
   5. ACCESSIBILITY
   ============================================================ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--sp-4);
  background: var(--c-primary);
  color: white;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  left: var(--sp-4);
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}


/* ============================================================
   6. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75em 1.6em;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-primary);
  color: white;
  border-color: var(--c-primary);
}
.btn-primary:hover {
  background: var(--c-primary-mid);
  border-color: var(--c-primary-mid);
  color: white;
}

.btn-accent {
  background: var(--c-accent);
  color: var(--c-ink);
  border-color: var(--c-accent);
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: white;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: white;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.9em 2em;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.55em 1.2em;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}


/* ============================================================
   7. BADGES
   ============================================================ */

.badge {
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

.badge-nhs      { background: var(--c-nhs); color: white; }
.badge-free     { background: var(--c-accent); color: var(--c-ink); }
.badge-walkin   { background: var(--c-primary-pale); color: var(--c-primary); }
.badge-private  { background: var(--c-ink); color: white; }
.badge-urgent   { background: var(--c-urgent); color: white; }
.badge-delivery { background: #25D366; color: white; }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}


/* ============================================================
   8. HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-primary);
  box-shadow: 0 2px 12px oklch(0.17 0.04 162 / 0.25);
}

.header-topbar {
  background: oklch(0.22 0.08 162);
  padding: var(--sp-2) 0;
  font-size: 0.82rem;
  color: oklch(0.85 0.04 162);
  letter-spacing: 0.01em;
}

.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}

.header-topbar a {
  color: oklch(0.92 0.05 162);
  text-decoration: none;
}
.header-topbar a:hover { color: white; }

.header-topbar-contact {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
}

.nav-main {
  padding: 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-logo {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--sp-1);
  flex: 1;
}

.nav-links a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  color: oklch(0.90 0.04 162);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: white;
  background: oklch(0.38 0.09 162 / 0.5);
}

.nav-ctas {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}


/* ============================================================
   9. PHOTO HERO
   ============================================================ */

.photo-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-primary); /* fallback if image fails */
}

.photo-hero--short {
  min-height: 360px;
}

.photo-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.photo-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    oklch(0.22 0.10 162 / 0.88) 0%,
    oklch(0.28 0.10 162 / 0.72) 50%,
    oklch(0.28 0.10 162 / 0.45) 100%
  );
}

.photo-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-20) 0;
  width: 100%;
}

.photo-hero__content .container {
  max-width: 720px;
  margin: 0;
}

.photo-hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 8px oklch(0 0 0 / 0.25);
}

.photo-hero__lead {
  color: oklch(0.92 0.04 162);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
  max-width: 60ch;
}

.photo-hero__meta {
  color: oklch(0.85 0.04 162);
  font-size: 0.9rem;
  margin-bottom: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

.photo-hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.photo-hero__meta-item::before {
  content: '✓';
  color: var(--c-accent);
  font-weight: 700;
}


/* ============================================================
   10. WALK-IN BAR
   ============================================================ */

.walkin-bar {
  background: var(--c-accent);
  padding: var(--sp-4) 0;
}

.walkin-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.walkin-bar__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ink);
}

.walkin-bar__text span {
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 0.9rem;
  display: block;
  margin-top: 2px;
  color: var(--c-ink-mid);
}

.walkin-bar__actions {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  flex-wrap: wrap;
}


/* ============================================================
   11. BOOKING SPLIT
   ============================================================ */

.booking-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
}

.booking-panel {
  padding: var(--sp-10) var(--sp-10);
}

.booking-panel--walkin {
  background: white;
}

.booking-panel--advance {
  background: var(--c-primary);
  color: white;
}

.booking-panel--advance h3,
.booking-panel--advance p {
  color: white;
}

.booking-panel__icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.booking-panel h3 {
  font-size: 1.4rem;
  margin-bottom: var(--sp-3);
}

.booking-panel p {
  font-size: 0.95rem;
  margin-bottom: var(--sp-6);
  max-width: 36ch;
}

.booking-panel__list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--sp-6);
}

.booking-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--c-border);
  margin: 0;
}

.booking-panel--advance .booking-panel__list li {
  border-color: oklch(0.38 0.09 162 / 0.5);
  color: oklch(0.90 0.04 162);
}

.booking-panel__list li::before {
  content: '✓';
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.booking-panel--advance .booking-panel__list li::before {
  color: oklch(0.85 0.14 68);
}


/* ============================================================
   12. CONSULT PICKER (Pharmacy First — face-to-face or online)
   ============================================================ */

.consult-picker {
  background: var(--c-primary-ultra);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  margin: var(--sp-10) 0;
}

.consult-picker h3 {
  margin-bottom: var(--sp-3);
}

.consult-picker__lead {
  margin-bottom: var(--sp-8);
  color: var(--c-ink-mid);
}

.consult-picker__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.consult-option {
  background: white;
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.consult-option:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
}

.consult-option__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-3);
}

.consult-option h4 {
  font-size: 1.05rem;
  margin-bottom: var(--sp-2);
  color: var(--c-primary);
}

.consult-option p {
  font-size: 0.88rem;
  color: var(--c-ink-muted);
  margin-bottom: var(--sp-4);
  max-width: none;
}


/* ============================================================
   13. HOME DELIVERY CTA
   ============================================================ */

.delivery-cta {
  background: oklch(0.18 0.06 162);
  color: white;
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.delivery-cta__text h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
}

.delivery-cta__text p {
  color: oklch(0.82 0.05 162);
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: 50ch;
}

.delivery-cta__badge {
  background: #25D366;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3em 0.8em;
  border-radius: var(--r-pill);
  display: inline-block;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}


/* ============================================================
   14. SERVICE INFO BAR
   ============================================================ */

.service-info-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-1);
  background: var(--c-primary);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: var(--sp-8) 0;
}

.service-info-item {
  padding: var(--sp-5) var(--sp-6);
  background: var(--c-primary);
}

.service-info-item:nth-child(even) {
  background: var(--c-primary-mid);
}

.service-info-item__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(0.72 0.07 162);
  margin-bottom: var(--sp-1);
  font-family: var(--font-display);
}

.service-info-item__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  line-height: 1.2;
}


/* ============================================================
   15. CONDITION CONTENT BLOCKS
   ============================================================ */

.condition-section {
  padding: var(--sp-10) 0;
  border-bottom: 1px solid var(--c-border);
}

.condition-section:last-child {
  border-bottom: none;
}

.condition-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: var(--sp-5);
}

.symptom-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.symptom-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--c-primary-ultra);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  font-size: 0.95rem;
  margin: 0;
}

.symptom-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--c-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.red-flag-box {
  background: var(--c-urgent-pale);
  border: 2px solid var(--c-urgent);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-8);
  margin: var(--sp-8) 0;
}

.red-flag-box__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-urgent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.red-flag-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--sp-4);
}

.red-flag-box li {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid oklch(0.44 0.18 25 / 0.15);
  font-size: 0.95rem;
  color: oklch(0.30 0.08 25);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin: 0;
}

.red-flag-box li::before {
  content: '⚠';
  flex-shrink: 0;
}

.red-flag-box__cta {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-urgent);
  font-size: 1rem;
}

.info-callout {
  background: var(--c-primary-pale);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-8);
  margin: var(--sp-6) 0;
  border-left: 4px solid var(--c-primary);
}

.info-callout p { margin-bottom: 0; font-size: 0.95rem; }


/* ============================================================
   16. PAGE LAYOUT (service pages with sidebar)
   ============================================================ */

.page-body {
  padding: var(--sp-16) 0;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-12);
  align-items: start;
}

.page-main {
  min-width: 0;
}

.page-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--c-primary);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  color: white;
  margin-bottom: var(--sp-6);
}

.sidebar-card h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid oklch(0.38 0.09 162 / 0.5);
}

.sidebar-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.sidebar-card .btn:last-child { margin-bottom: 0; }

.sidebar-card p {
  font-size: 0.9rem;
  color: oklch(0.85 0.04 162);
  max-width: none;
  margin-bottom: var(--sp-4);
}

.sidebar-also {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
}

.sidebar-also h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-ink-muted);
  margin-bottom: var(--sp-4);
}

.sidebar-also ul {
  list-style: none;
  padding: 0;
}

.sidebar-also li {
  margin: 0;
  border-bottom: 1px solid var(--c-border);
}

.sidebar-also li:last-child { border-bottom: none; }

.sidebar-also a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  font-size: 0.9rem;
  color: var(--c-ink);
  text-decoration: none;
}

.sidebar-also a:hover { color: var(--c-primary); }

.sidebar-also a::after { content: '→'; color: var(--c-primary); }


/* ============================================================
   17. CARDS & SERVICES GRID
   ============================================================ */

.service-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow var(--t-med), transform var(--t-med);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card__body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__tag {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-primary-light);
  margin-bottom: var(--sp-2);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--sp-3);
  color: var(--c-ink);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--c-ink-muted);
  max-width: none;
  flex: 1;
  margin-bottom: var(--sp-5);
}

.service-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}

.service-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-primary);
}

.service-card__link {
  font-size: 0.85rem;
  color: var(--c-primary);
  text-decoration: none;
  font-weight: 600;
}

.service-card__link:hover { text-decoration: underline; }


/* ============================================================
   18. STATS / TRUST BAR
   ============================================================ */

.trust-bar {
  background: var(--c-primary);
  padding: var(--sp-10) 0;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-6);
  text-align: center;
}

.trust-stat {
  color: white;
}

.trust-stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.03em;
}

.trust-stat__label {
  font-size: 0.85rem;
  color: oklch(0.80 0.05 162);
  display: block;
}


/* ============================================================
   19. PHOTO PAIR SECTION (image + text side by side)
   ============================================================ */

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.photo-pair--reverse {
  direction: rtl;
}

.photo-pair--reverse > * {
  direction: ltr;
}

.photo-pair__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.photo-pair__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-pair__content h2 {
  margin-bottom: var(--sp-5);
}


/* ============================================================
   20. FOOTER
   ============================================================ */

.site-footer {
  background: oklch(0.16 0.06 162);
  color: oklch(0.82 0.04 162);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer-brand__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 28ch;
  margin-bottom: var(--sp-5);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(0.65 0.06 162);
  margin-bottom: var(--sp-5);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: var(--sp-3);
}

.footer-col a {
  color: oklch(0.80 0.04 162);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--t-fast);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid oklch(0.28 0.07 162);
  padding-top: var(--sp-8);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-legal strong {
  color: white;
  font-family: var(--font-display);
}

.footer-legal a {
  color: oklch(0.82 0.08 162);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal a:hover { color: white; }

.footer-compliance {
  font-size: 0.8rem;
  text-align: right;
  line-height: 1.7;
}

.footer-compliance a {
  color: oklch(0.75 0.04 162);
  text-decoration: none;
}

.footer-compliance a:hover { color: white; }


/* ============================================================
   21. HOMEPAGE SECTIONS
   ============================================================ */

.pharmacy-first-hub {
  padding: var(--sp-16) 0;
}

.pf-conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
}

.pf-condition-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--t-fast);
}

.pf-condition-card:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-ultra);
  color: var(--c-primary);
  transform: translateX(4px);
}

.pf-condition-card::after {
  content: '→';
  margin-left: auto;
  color: var(--c-primary-light);
}

.pf-condition-card.urgent {
  border-color: var(--c-urgent);
}

.pf-condition-card.urgent:hover {
  background: var(--c-urgent-pale);
  color: var(--c-urgent);
}


/* ============================================================
   22. CONVENIENCE STRIP
   ============================================================ */

.convenience-strip {
  background: var(--c-surface-2);
  padding: var(--sp-12) 0;
}

.convenience-strip h2 {
  margin-bottom: var(--sp-8);
}

.convenience-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
}

.convenience-item {
  background: white;
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--c-border);
}

.convenience-item__icon {
  font-size: 1.8rem;
  margin-bottom: var(--sp-3);
  line-height: 1;
}

.convenience-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--c-primary);
  margin-bottom: var(--sp-2);
}

.convenience-item p {
  font-size: 0.85rem;
  color: var(--c-ink-muted);
  margin: 0;
  max-width: none;
}


/* ============================================================
   23. REVIEWS
   ============================================================ */

.reviews-section {
  padding: var(--sp-16) 0;
}

.review-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
}

.review-stars {
  color: var(--c-accent);
  font-size: 1.1rem;
  margin-bottom: var(--sp-3);
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-ink);
  margin-bottom: var(--sp-4);
  max-width: none;
  font-style: italic;
}

.review-author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-primary);
}


/* ============================================================
   24. ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 1; /* visible by default — JS enhances */
}

.reveal.js-ready {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.js-visible {
  animation: fadeUp var(--t-slow) var(--ease-out-quart) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.js-ready, .reveal.js-visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .btn:hover { transform: none; }
  .service-card:hover { transform: none; }
  .pf-condition-card:hover { transform: none; }
}


/* ============================================================
   25. RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .page-sidebar {
    position: static;
  }

  .booking-split {
    grid-template-columns: 1fr;
  }

  .consult-picker__options {
    grid-template-columns: 1fr;
  }

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

  .photo-pair {
    grid-template-columns: 1fr;
  }

  .photo-pair--reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-primary);
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
    box-shadow: var(--shadow-lg);
    z-index: 200;
  }

  .nav-links.is-open { display: flex; }
  .nav-ctas { display: none; }

  .nav-inner { position: relative; flex-wrap: wrap; }

  .delivery-cta {
    flex-direction: column;
    padding: var(--sp-8);
  }

  .walkin-bar .container {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-4);
  }

  .trust-bar .container {
    grid-template-columns: 1fr 1fr;
  }

  .booking-panel {
    padding: var(--sp-6);
  }

  .service-info-bar {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .footer-compliance {
    text-align: left;
  }

  .header-topbar-contact {
    display: none;
  }

  .photo-hero {
    min-height: 420px;
  }

  .photo-hero--short {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .section { padding: var(--sp-10) 0; }
  .btn-group { flex-direction: column; width: 100%; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .trust-bar .container { grid-template-columns: 1fr 1fr; }
  .symptom-list { grid-template-columns: 1fr; }
  .service-info-bar { grid-template-columns: 1fr; }
}


/* ============================================================
   26. PRICE TABLE (private service pages)
   ============================================================ */

.price-table {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  margin: var(--sp-6) 0;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-4);
  align-items: baseline;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--c-border);
}

.price-row:last-child { border-bottom: 0; }

.price-row:nth-child(even) { background: var(--c-primary-ultra); }

.price-row__label {
  font-weight: 700;
  color: var(--c-ink);
}

.price-row__label small {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--c-ink-mid);
  margin-top: 2px;
}

.price-row__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-primary);
  white-space: nowrap;
}

.price-note {
  font-size: 0.9rem;
  color: var(--c-ink-mid);
  margin-top: var(--sp-3);
}

/* Price badge in service info bar */
.service-info-item__value.is-price {
  color: var(--c-accent-dark);
  font-weight: 700;
}


/* ============================================================
   27. FAQ (accordion via native details)
   ============================================================ */

.faq {
  margin-top: var(--sp-6);
  border-top: 1px solid var(--c-border);
}

.faq details {
  border-bottom: 1px solid var(--c-border);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-5) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--c-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}

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

.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--c-primary);
  transition: transform var(--t-fast);
  line-height: 1;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details > p,
.faq details > ul {
  padding: 0 0 var(--sp-5);
  margin: 0;
  color: var(--c-ink-mid);
}

.faq details > ul { padding-left: var(--sp-6); }


/* ============================================================
   28. BOOKING FORM
   ============================================================ */

.booking-form-section {
  background: var(--c-primary-ultra);
}

.booking-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-6), 5vw, var(--sp-12));
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.form-field { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-ink);
}

.form-field label .req { color: var(--c-urgent); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-field textarea { resize: vertical; min-height: 110px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-pale);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--c-ink-muted); }

.form-hint { font-size: 0.85rem; color: var(--c-ink-mid); }

.form-submit-row {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: flex-start;
}

.form-disclaimer { font-size: 0.85rem; color: var(--c-ink-mid); }

.form-confirm {
  display: none;
  background: var(--c-primary-pale);
  border: 1.5px solid var(--c-primary-light);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  text-align: center;
}

.form-confirm.is-visible { display: block; }

.form-confirm__icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
}

.form-confirm h3 { color: var(--c-primary); margin-bottom: var(--sp-2); }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-submit-row .btn { width: 100%; justify-content: center; }
}
