:root {
  --red: #c8102e;
  --red-dark: #9c0c22;
  --dark: #1a1a1a;
  --grey: #5c5c5c;
  --light-grey: #eee;
  --cream: #faf6f2;
  --green: #2f4f3f;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Top utility bar */
.topbar {
  background: var(--dark);
  color: #cfcfcf;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar span { margin-right: 18px; }

/* Header / nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  text-decoration: none;
  font-family: var(--serif);
}
.logo-icon { height: 40px; width: auto; display: block; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo .k1 { color: var(--red); font-weight: 700; font-size: 22px; letter-spacing: 1px; }
.logo .k2 { color: var(--dark); font-weight: 700; font-size: 13px; letter-spacing: 3px; }
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--dark);
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a.active { border-bottom-color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Mobile hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #eee;
  transition: max-height .25s ease;
}
.mobile-nav.open { max-height: 520px; }
.mobile-nav a {
  text-decoration: none;
  color: var(--dark);
  font-size: 15.5px;
  font-weight: 500;
  padding: 14px 24px;
  border-bottom: 1px solid #f2f2f2;
}
.mobile-nav a.active { color: var(--red); font-weight: 700; }
.mobile-nav .mobile-nav-book {
  margin: 14px 24px 18px;
  text-align: center;
}

/* Services slideshow (beneath header) */
.svc-slideshow {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: var(--dark);
}
.svc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
  background-size: cover;
  background-position: center;
}
.svc-slide.active { opacity: 1; visibility: visible; }
.svc-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,0) 65%);
}
.svc-slide .container { position: relative; height: 100%; }

/* Frosted panel: blurs the photo directly behind the text so copy stays
   readable without darkening or covering the rest of the image. */
.svc-slide-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 40px;
  z-index: 2;
  max-width: 560px;
  color: #fff;
  background: rgba(10, 12, 12, .38);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-radius: 18px;
  padding: 26px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.svc-slide-content .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.svc-slide-content h2 { color: #fff; font-size: 32px; margin: 12px 0 10px; }
.svc-slide-content p { color: #f2f2f2; font-size: 15px; max-width: 52ch; margin: 0 0 20px; }
.svc-note { font-size: 12px; color: #dcdcdc; margin-top: 10px; }

.svc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.svc-arrow:hover { background: rgba(255,255,255,.32); }
.svc-arrow.prev { left: 18px; }
.svc-arrow.next { right: 18px; }

.svc-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.svc-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  padding: 0;
}
.svc-dots button.active { background: #fff; width: 22px; border-radius: 5px; }

@media (max-width: 900px) {
  .svc-slideshow { height: 560px; }
  .svc-slide-content { max-width: none; bottom: 56px; }
  .svc-slide-content h2 { font-size: 26px; }
}
@media (max-width: 560px) {
  .svc-slideshow { height: 620px; }
  .svc-arrow { width: 36px; height: 36px; font-size: 15px; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--cream), #fff);
  padding: 64px 0 48px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block;
  background: #fdecec;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
h1, h2, h3 { font-family: var(--serif); color: var(--dark); }
.hero h1 { font-size: 46px; line-height: 1.12; margin: 0 0 18px; }
.hero p.lead { font-size: 17px; color: var(--grey); max-width: 46ch; margin-bottom: 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-row { display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.stat-row .stat b { display: block; font-size: 22px; color: var(--red); font-family: var(--serif); }
.stat-row .stat span { font-size: 12px; color: var(--grey); letter-spacing: .5px; }
.hero-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.hero-card img { border-radius: var(--radius); }

.hero-visual { display: flex; justify-content: flex-end; margin-bottom: 22px; }
.hero-visual img {
  width: 100%;
  max-width: 460px;
  display: block;
}

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: 32px; margin: 0 0 10px; }
.section-head p { color: var(--grey); margin: 0; }
.section-alt { background: var(--cream); }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 { font-size: 18px; margin: 0; }
.card p { color: var(--grey); font-size: 14.5px; margin: 0; flex: 1; }
.card .tag { font-size: 11px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .5px; }
.card-link { font-size: 13.5px; font-weight: 700; color: var(--red); text-decoration: none; margin-top: 4px; }

/* Prescription Refill / Transfer action cards */
.rx-action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rx-action-card {
  background: #fff; border: 1px solid #eee; border-radius: var(--radius);
  padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,.03);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.rx-icon { font-size: 30px; }
.rx-action-card h3 { font-size: 19px; margin: 0; }
.rx-action-card p { color: var(--grey); font-size: 14.5px; margin: 0 0 6px; flex: 1; }
@media (max-width: 640px) { .rx-action-grid { grid-template-columns: 1fr; } }

.highlight-strip {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 30px;
}
.highlight-strip h3 { color: #fff; font-size: 20px; margin: 0 0 18px; }
.highlight-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.highlight-card { background: rgba(255,255,255,.06); border-radius: 10px; padding: 16px; }
.highlight-card h4 { color: #fff; font-size: 14.5px; margin: 0 0 8px; font-family: var(--serif); }
.highlight-card p { color: #cfcfcf; font-size: 12.5px; margin: 0 0 8px; }
.highlight-card .note { color: var(--red); font-weight: 700; font-size: 11px; }

/* AI review */
.ai-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.ai-locked {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}
.ai-locked .lock-icon { font-size: 34px; margin-bottom: 12px; }
.ai-locked h3 { margin: 0 0 10px; }
.ai-locked p { color: var(--grey); max-width: 46ch; margin: 0 auto 22px; }
.ai-locked .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
textarea, input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14.5px;
  font-family: var(--sans);
  background: #fff;
}
textarea { resize: vertical; min-height: 90px; }
label { font-size: 12.5px; font-weight: 700; letter-spacing: .4px; color: var(--grey); text-transform: uppercase; display: block; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.chip {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.disclaimer { font-size: 12.5px; color: var(--grey); margin-top: 8px; }
.input-warning {
  background: #fff8ec; border: 1px solid #f3e2b8; border-left: 3px solid #c98a12;
  border-radius: 6px; padding: 10px 12px; font-size: 12.5px; color: #6b4c05;
  margin: 8px 0 0; line-height: 1.5;
}

.tabs { display: flex; gap: 4px; border-bottom: 1px solid #eee; margin: 26px 0 18px; flex-wrap: wrap; }
.tab-btn {
  background: none; border: none; padding: 10px 16px; font-size: 13.5px; font-weight: 600;
  color: var(--grey); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; font-size: 14.5px; color: var(--dark); line-height: 1.6; }
.tab-panel.active { display: block; }
.tab-panel p { margin: 0 0 10px; }
.tab-panel p:last-child { margin-bottom: 0; }

/* AI Medication Review — med detail card & condition option picker */
.med-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.med-detail-head h3 { margin: 0; font-size: 19px; }
.med-brands { color: var(--grey); font-weight: 500; font-size: 14px; }
.med-options { margin-top: 16px; }
.med-option-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.med-option-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  border: 2px solid #eee; border-radius: 10px; background: #fff; padding: 14px 16px;
  cursor: pointer; font-family: inherit; width: 100%;
}
.med-option-card:hover { border-color: var(--red); }
.med-option-card.active { border-color: var(--red); background: #fff6f6; }
.med-option-name { font-weight: 700; font-size: 14.5px; flex: 1 1 auto; }
.med-option-purpose { color: var(--grey); font-size: 13px; flex: 2 1 auto; }
.med-option-detail { margin-top: 6px; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
table th { background: var(--red); color: #fff; text-align: left; padding: 10px 14px; font-size: 13px; }
table td { padding: 10px 14px; border-bottom: 1px solid #eee; vertical-align: top; }
table tr:nth-child(even) td { background: #fafafa; }
.table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid #eee; margin-bottom: 24px; }

/* Continent / country picker */
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 2px solid var(--dark);
  background: #fff;
  color: var(--dark);
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.pill.active { background: var(--dark); color: #fff; }
.pill-sm { border-color: #ccc; padding: 8px 16px; font-weight: 500; }
.pill-sm.active { background: var(--red); border-color: var(--red); color: #fff; }
.picker-step { margin-bottom: 26px; }
.picker-step h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--grey); margin: 0 0 12px; }
.guidance-card {
  background: var(--cream);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 20px 22px;
  margin-top: 10px;
}
.guidance-card h4 { margin: 0 0 10px; font-family: var(--serif); font-size: 20px; }

/* Immunization filter chips */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

/* Footer */
footer.site-footer { background: var(--dark); color: #cfcfcf; padding: 50px 0 26px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer-grid p, .footer-grid a { color: #b8b8b8; font-size: 13.5px; text-decoration: none; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; margin-top: 34px; padding-top: 18px; font-size: 12px; color: #888; }
.footer-disclaimer { font-size: 12px; color: #888; max-width: 900px; margin-top: 10px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20,20,20,.5);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 30px; position: relative;
}
.modal-close {
  position: absolute; top: 18px; right: 18px; background: none; border: none;
  font-size: 20px; cursor: pointer; color: var(--grey);
}
.modal h2 { margin: 0 0 6px; font-size: 26px; }
.modal p.sub { color: var(--grey); margin: 0 0 20px; font-size: 14px; }
.tile-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.tile {
  border: 2px solid #eee; border-radius: 10px; padding: 14px 10px; text-align: center; cursor: pointer; background: #fff;
}
.tile.active { border-color: var(--dark); background: var(--dark); color: #fff; }
.tile .t-title { font-weight: 700; font-size: 14px; display: block; }
.tile .t-sub { font-size: 11.5px; color: inherit; opacity: .7; }
.cal { border: 1px solid #eee; border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 700; }
.cal-head button { background: none; border: 1px solid #ddd; border-radius: 6px; width: 30px; height: 30px; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 13px; }
.cal-grid .dow { color: var(--grey); font-size: 11px; padding: 4px 0; }
.cal-grid button.day {
  background: none; border: none; padding: 8px 0; border-radius: 6px; cursor: pointer; font-size: 13px;
}
.cal-grid button.day:hover:not(:disabled) { background: var(--light-grey); }
.cal-grid button.day.selected { background: var(--red); color: #fff; }
.cal-grid button.day:disabled { color: #ddd; cursor: not-allowed; }
.cal-grid button.day.today { font-weight: 700; text-decoration: underline; }
.confirm-box { text-align: center; padding: 20px 0; }
.confirm-box .big-check { font-size: 40px; margin-bottom: 10px; }

/* Scroll-to-top button (bottom-left, so it never collides with the
   language toggle in the bottom-right corner) */
.scrolltop-fab {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  border: 1px solid #e2e2e2;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.scrolltop-fab.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scrolltop-fab:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Language widget — stacked above the chat launcher, bottom-right */
.lang-fab {
  position: fixed; right: 22px; bottom: 96px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; background: var(--dark); color: #fff;
  border: none; font-size: 20px; cursor: pointer; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .2s ease, transform .2s ease;
}
.lang-fab.kp-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }
.lang-menu {
  position: fixed; right: 22px; bottom: 152px; z-index: 90;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 10px; display: none;
  min-width: 200px; border: 1px solid #eee;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left; background: none; border: none; padding: 10px 12px;
  border-radius: 8px; cursor: pointer; font-size: 14px;
}
.lang-menu button:hover { background: var(--light-grey); }
.lang-menu button.active { color: var(--red); font-weight: 700; }

/* ---------------- Kensington Pharmacy chatbot ---------------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 62px; height: 62px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  color: #fff; box-shadow: 0 10px 26px rgba(200,16,46,.4);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  transition: transform .2s ease, opacity .2s ease;
}
.chat-fab:hover { transform: scale(1.06); }
.chat-fab.kp-hidden { opacity: 0; transform: scale(.7); pointer-events: none; }
.chat-fab .chat-fab-dot {
  position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: #38c172; border: 2px solid #fff;
}

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 96;
  width: 368px; max-width: calc(100vw - 32px);
  height: 540px; max-height: calc(100vh - 100px);
  background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
  display: none; flex-direction: column; overflow: hidden;
  border: 1px solid #eee;
}
.chat-panel.open { display: flex; }

.chat-header {
  background: var(--dark); color: #fff; padding: 16px 18px;
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(145deg, var(--red), #7c1c2c);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 14px; letter-spacing: .3px; color: #fff;
  position: relative;
}
.chat-avatar::after {
  content: ""; position: absolute; bottom: -1px; right: -1px; width: 11px; height: 11px;
  border-radius: 50%; background: #38c172; border: 2px solid var(--dark);
}
.chat-header-text { flex: 1; }
.chat-header-text .name { font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.2; }
.chat-header-text .status { font-size: 11.5px; color: #c7c7c7; }
.chat-close { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; opacity: .8; }
.chat-close:hover { opacity: 1; }

.chat-body {
  flex: 1; overflow-y: auto; padding: 16px; background: var(--cream);
  display: flex; flex-direction: column; gap: 12px;
}
.chat-msg { display: flex; flex-direction: column; max-width: 86%; }
.chat-msg.bot { align-self: flex-start; align-items: flex-start; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-bubble {
  padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5;
  white-space: pre-line;
}
.chat-msg.bot .chat-bubble { background: #fff; border: 1px solid #eee; color: var(--dark); border-bottom-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: var(--dark); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-msg-actions button, .chat-msg-actions a {
  border: 1px solid var(--red); color: var(--red); background: #fff;
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; text-decoration: none; display: inline-block;
}
.chat-msg-actions button:hover, .chat-msg-actions a:hover { background: var(--red); color: #fff; }

.chat-typing { display: flex; gap: 4px; padding: 12px 14px; }
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #bbb;
  animation: chatTypingBounce 1.1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTypingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.chat-quick-replies {
  padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0;
  border-top: 1px solid #eee; background: #fff;
}
.chat-quick-replies button {
  border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 7px 13px;
  font-size: 12px; cursor: pointer; color: var(--dark);
}
.chat-quick-replies button:hover { border-color: var(--red); color: var(--red); }

.chat-input-row {
  display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid #eee; flex-shrink: 0; background: #fff;
}
.chat-input-row input {
  flex: 1; border: 1px solid #ddd; border-radius: 999px; padding: 10px 16px; font-size: 13.5px;
}
.chat-input-row button {
  width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--red); color: #fff;
  font-size: 15px; cursor: pointer; flex-shrink: 0;
}
.chat-input-row button:hover { background: var(--red-dark); }

@media (max-width: 560px) {
  .chat-panel { right: 16px; bottom: 16px; width: calc(100vw - 32px); height: calc(100vh - 90px); }
  .chat-fab { right: 16px; bottom: 16px; }
  .lang-fab { right: 16px; bottom: 90px; }
  .lang-menu { right: 16px; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Page hero (sub-pages) */
.page-hero { background: var(--cream); padding: 46px 0; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
.page-hero h1 { font-size: 34px; margin: 0 0 12px; }
.page-hero p { color: var(--grey); max-width: 60ch; margin: 0 0 20px; }
.page-hero .hero-visual { margin-bottom: 0; }
.page-hero .hero-visual img { max-width: 380px; }

.callout { background: #fdf4f4; border: 1px solid #f4dede; border-left: 4px solid var(--red); border-radius: 8px; padding: 16px 18px; font-size: 13.5px; color: var(--dark); margin: 18px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

@media (max-width: 900px) {
  .hero-grid, .two-col, .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid { text-align: left; }
  .page-hero .hero-visual { order: -1; margin-bottom: 20px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Header: replace full nav + Book Appointment button with hamburger */
  nav.main-nav { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .nav-row { padding: 12px 0; }

  /* Hide the address/phone/fax/hours strip above the header on mobile to
     save vertical space — still shown on desktop. */
  .topbar { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-2, .highlight-grid { grid-template-columns: 1fr; }
  .tile-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 27px; }
  section { padding: 40px 0; }
  .section-head h2 { font-size: 26px; }
  .svc-slide-content h2 { font-size: 22px; }
  .logo .k1 { font-size: 18px; letter-spacing: .5px; }
  .logo .k2 { font-size: 10.5px; letter-spacing: 2px; }
  .logo-icon { height: 32px; }
  .rx-action-grid { gap: 14px; }
  .highlight-strip { padding: 20px; }
  .modal { padding: 22px 18px; }
  .med-option-card { flex-direction: column; align-items: flex-start; gap: 4px; }
  .med-option-purpose { font-size: 12.5px; }
  .stat-row { gap: 20px; }
  .cta-row .btn, .btn-row .btn { width: 100%; }
}
