/* ======================================================
   CITY RX PHARMACY — MAIN STYLESHEET
   Brand: Teal #04A2B1 (logo), Coral Accent #FF6B47, Black #1a1a2e, White #fff
   Fonts: Nunito (body), Lora (headings italic)
====================================================== */

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

:root {
  /* Brand teal — sourced from City Rx Pharmacy logo */
  --teal: #04A2B1;
  --teal-dark: #038494;
  --teal-darker: #025E6B;
  --teal-light: #E0F4F6;
  --teal-mid: #A8DCE2;

  /* Coral accent — used for primary CTAs / attention */
  --coral: #FF6B47;
  --coral-dark: #E54E2C;
  --coral-darker: #C73E1F;
  --coral-light: #FFE9E0;

  --black: #1a1a2e;
  --dark: #2c2c44;
  --text: #2d3748;
  --text-muted: #667085;
  --white: #ffffff;
  --off-white: #f7fdfe;
  --bg-light: #eef9fb;
  --border: #c5e6ea;
  --shadow-sm: 0 2px 12px rgba(4,162,177,0.08);
  --shadow: 0 6px 32px rgba(4,162,177,0.12);
  --shadow-lg: 0 16px 56px rgba(4,162,177,0.18);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --nav-height: 74px;
  --bar-height: 40px;
}

html { scroll-behavior: smooth; }

/* ===== ICON UTILITY (Lucide SVG sprite) =====
   .icon sizes itself to match the parent's font-size, just like an emoji glyph,
   so all the existing icon-container CSS keeps working without changes.
   Color follows currentColor of the parent. */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}
.icon * { stroke: currentColor; }

/* Per-container icon colors (so SVGs inherit the right brand color) */
.feature-icon-wrap { color: var(--teal-dark); }
.feature-icon-wrap.prescriber { color: var(--prescriber, #6366f1); }
.promise-icon { color: var(--teal-dark); }
.partner-icon-wrap { color: var(--prescriber, #6366f1); }
.cred-header-icon { color: var(--prescriber, #6366f1); }
.refer-method-icon { color: var(--prescriber, #6366f1); }
.info-block-icon { color: var(--teal-dark); }
.svc-icon { color: var(--teal-dark); }
.delivery-feature-icon { color: var(--teal-dark); }
.story-icon-big { color: var(--teal-dark); }
.success-icon { color: #16a34a; }
.delivery-opt-icon { color: var(--teal); }
.ctop-icon { color: var(--teal-dark); }
.hcard-icon { color: var(--teal); }
.cat-card { color: var(--teal); }
.cat-card:hover { color: white; }
.team-avatar { color: var(--teal-dark); }

:root {
  --desktop-scale: 1.1;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  zoom: var(--desktop-scale);
}

/* Fallback for browsers that do not support zoom (e.g. Firefox) */
@supports not (zoom: 1) {
  body {
    transform: scale(var(--desktop-scale));
    transform-origin: top center;
    width: calc(100% / var(--desktop-scale));
  }
}

/* ===== LOGO ===== */
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo .brand-logo {
  height: 54px;
}

.footer-brand .brand-logo {
  height: 64px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .nav-logo .brand-logo { height: 44px; }
  .footer-brand .brand-logo { height: 56px; }
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: linear-gradient(90deg, var(--teal-darker) 0%, var(--teal-dark) 100%);
  color: rgba(255,255,255,0.95);
  text-align: center;
  padding: 0 16px;
  height: var(--bar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 200;
}

.announcement-bar a {
  color: white;
  text-decoration: none;
}

.announcement-bar a:hover { text-decoration: underline; }

.announcement-bar .icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.22em;
}

/* ===== NAV ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--border);
  height: var(--nav-height);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo { text-decoration: none; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: 10px;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--teal-dark);
  background: var(--teal-light);
}

.nav-links a.active {
  color: var(--teal-dark);
  background: var(--teal-light);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  font-size: 10px;
  line-height: 1;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 6px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 101;
}

/* Invisible bridge so the small visual gap doesn't break hover */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li { width: 100%; }

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  white-space: nowrap;
  width: 100%;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  padding: 6px 8px;
  border-radius: 8px;
  line-height: 0;
  transition: background 0.2s, color 0.2s;
}

.nav-toggle svg {
  display: block;
  width: 26px;
  height: 26px;
}

.nav-toggle:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
  width: 100%;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--coral);
  color: white;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 18px rgba(255,107,71,0.28);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255,107,71,0.42);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--teal-dark);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid var(--teal);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--teal-light);
}

.btn-white {
  display: inline-block;
  background: white;
  color: var(--coral-dark);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.btn-white:hover {
  background: var(--off-white);
  color: var(--coral-darker);
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: white;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}

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

.btn-teal-outline {
  display: inline-block;
  background: transparent;
  color: var(--teal-dark);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--teal);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.btn-teal-outline:hover {
  background: var(--teal-light);
}

.btn-full { width: 100%; text-align: center; font-size: 16px; padding: 15px; }

/* ===== SECTION ===== */
.section { padding: 80px 0; }
.bg-light {
  background: linear-gradient(180deg, #e8f6f6 0%, #f5fcfc 50%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.bg-light::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 220px;
  background: radial-gradient(ellipse at center top, rgba(4, 162, 177, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.bg-light > .container { position: relative; z-index: 1; }
.bg-teal { background: var(--teal-dark); }

/* ===== SECTION HEADER ===== */
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-label.light { color: var(--teal-mid); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 14px;
}

.section-header h2 em {
  font-style: italic;
  color: var(--teal-dark);
}

.section-header.light h2 { color: white; }
.section-header.light h2 em,
.section-header.light .white-em { color: white; }

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.88);
}

/* ===== HERO ===== */
.hero {
  min-height: auto;
  background: linear-gradient(145deg, #f0fbfb 0%, #e0f5f5 40%, #f8fffe 100%);
  display: flex;
  /* Top-align so the pill badge sits at the same Y position
     in both Patient and Prescriber modes (regardless of content height). */
  align-items: flex-start;
  /* Extra top padding leaves room for the absolute-positioned audience toggle */
  padding: 96px 0 44px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(4,162,177,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
}

.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(4,162,177,0.08) 0%, transparent 70%);
  bottom: -150px; left: -100px;
}

.shape-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(4,162,177,0.15) 0%, transparent 70%);
  top: 30%; left: 30%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-darker);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 9px; height: 9px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.85; transform: scale(1.2); box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 14px;
}

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

.hero-sub {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 24px 0 0;
}

.stat-item:first-child { padding-left: 0; }

.stat-item strong {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--teal-dark);
  line-height: 1;
}

.stat-item span {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.stat-sep {
  width: 1.5px;
  height: 40px;
  background: var(--border);
  margin: 0 24px 0 0;
}

/* Hero Cards */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.hcard {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.hcard:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--teal-mid);
}

.hcard-main {
  grid-column: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hcard-icon { font-size: 32px; margin-bottom: 6px; }

.hcard h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
}

.hcard p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.hcard-link {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  margin-top: 6px;
  display: inline-block;
}

.hcard-link:hover { color: var(--teal-dark); }

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--teal);
  padding: 18px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.trust-item span { font-size: 16px; }

/* ===== FEATURES GRID ===== */
/* 4-up row on desktop (Why Partner With Us); minmax(0,1fr) avoids overflow from long headings */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.feature-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.feature-card:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--black);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== CATEGORIES ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.cat-grid.large {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.cat-card {
  position: relative;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px 16px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-mid) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.cat-card .cat-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.cat-card .cat-img-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d6eef1 0%, #c2e4ea 100%);
  border: 1.5px solid #b8dde3;
  border-radius: 16px;
  padding: 10px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.7), 0 4px 12px rgba(4,162,177,0.10);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.cat-card .cat-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.cat-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
  margin: 0;
  transition: color 0.25s;
}

.cat-card:hover {
  border-color: var(--teal-mid);
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(4, 162, 177, 0.16);
}

.cat-card:hover::before {
  transform: scaleX(1);
}

.cat-card:hover .cat-icon-wrap {
  background: var(--teal);
  color: white;
  transform: scale(1.05);
}

.cat-card:hover .cat-img-wrap {
  transform: scale(1.04) translateY(-2px);
  border-color: var(--teal-mid);
  background: linear-gradient(135deg, #c8e7ec 0%, #b0d9e1 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.7), 0 10px 22px rgba(4,162,177,0.18);
}

.cat-card:hover h4 { color: var(--teal-dark); }

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ===== HORIZONTAL SCROLLING TESTIMONIALS ===== */
.testimonial-scroll-wrap {
  position: relative;
  margin: 0 -8px;
}

.testimonial-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 8px 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.testimonial-scroll::-webkit-scrollbar { display: none; }

.testimonial-scroll .tcard {
  flex: 0 0 380px;
  scroll-snap-align: start;
  min-width: 380px;
  display: flex;
  flex-direction: column;
}

.testimonial-scroll .tcard > p { flex: 1; }

/* Edge-fade masking — hints at more content */
.testimonial-scroll-wrap::before,
.testimonial-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 10px; bottom: 28px;
  width: 48px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s;
}

.testimonial-scroll-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(255, 255, 255, 0) 100%);
}

.testimonial-scroll-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg) 0%, rgba(255, 255, 255, 0) 100%);
}

.testimonial-scroll-wrap.at-start::before { opacity: 0; }
.testimonial-scroll-wrap.at-end::after { opacity: 0; }

/* Arrow navigation buttons */
.tscroll-arrow {
  position: absolute;
  top: calc(50% - 14px);
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  font-size: 28px;
  line-height: 1;
  color: var(--teal-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  padding: 0 0 3px;
}

.tscroll-prev { left: -14px; }
.tscroll-next { right: -14px; }

.tscroll-arrow:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 10px 24px rgba(4, 162, 177, 0.3);
}

.tscroll-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Hide arrows on small touch screens — users can swipe */
@media (max-width: 768px) {
  .tscroll-arrow { display: none; }
  .testimonial-scroll .tcard { flex: 0 0 88%; min-width: 88%; }
  .testimonial-scroll-wrap::before,
  .testimonial-scroll-wrap::after { width: 20px; }
}

.tcard {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}

.tcard:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--teal-mid);
}

.stars { color: #f59e0b; font-size: 17px; letter-spacing: 2px; margin-bottom: 14px; }

/* Top row in a testimonial card: stars + "Google Review" badge */
.tcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tcard-top .stars { margin-bottom: 0; }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.google-badge svg {
  width: 13px;
  height: 13px;
  display: block;
}

.tcard > p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.tcard-author strong { display: block; font-size: 14px; font-weight: 800; }
.tcard-author small { font-size: 12px; color: var(--text-muted); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-darker) 0%, var(--teal-dark) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.cta-inner p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-banner .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  color: white;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #0d1c2e 0%, var(--black) 70%);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  max-width: 340px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 4px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.footer-col ul a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}

.footer-col ul a:hover { color: var(--teal-mid); }

.footer-cta-link {
  display: inline-block;
  background: var(--coral);
  color: white !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(255,107,71,0.25);
}

.footer-cta-link:hover {
  background: var(--coral-dark) !important;
  transform: translateY(-1px);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-inner span {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(145deg, var(--teal-light) 0%, #d0eeee 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero-shape {
  position: absolute;
  bottom: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4,162,177,0.18) 0%, transparent 70%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  margin: 12px 0 16px;
  max-width: 700px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--teal-dark);
}

.page-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* Legal / policy pages — shorter hero, less empty teal area */
.page-hero.page-hero--compact {
  padding: 28px 0 44px;
}

.page-hero.page-hero--compact .page-hero-shape {
  bottom: -120px;
  right: -90px;
  width: 260px;
  height: 260px;
  opacity: 0.75;
}

.page-hero.page-hero--compact .section-label {
  margin-bottom: 6px;
  font-size: 11px;
}

.page-hero.page-hero--compact h1 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin: 4px 0 8px;
  max-width: 720px;
  line-height: 1.18;
}

.page-hero.page-hero--compact .legal-hero-lead {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 0;
  max-width: 560px;
  color: var(--text-muted);
}

.page-hero.page-hero--compact .legal-hero-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 14px;
  margin-bottom: 0;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(4, 162, 177, 0.28);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 12px rgba(4, 162, 177, 0.08);
}

.page-hero.page-hero--compact .legal-hero-meta strong {
  color: var(--teal-darker);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ===== DELIVERY PAGE ===== */
.delivery-hero {
  background: linear-gradient(180deg, #f5fcfc 0%, #f0f9f9 35%, #ffffff 100%);
  padding: 72px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.delivery-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(4, 162, 177, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.delivery-hero .container { position: relative; z-index: 1; }

.delivery-breadcrumb {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.delivery-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.delivery-breadcrumb a:hover { color: var(--teal-dark); }

.delivery-hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--black);
  margin: 0 auto 20px;
  max-width: 720px;
}

.delivery-hero-title .delivery-accent {
  color: var(--teal-dark);
  font-style: italic;
}

.delivery-hero-lead {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.delivery-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-delivery-call {
  display: inline-block;
  background: white;
  color: var(--black);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid #e2e8f0;
  transition: all 0.2s;
}

.btn-delivery-call:hover {
  border-color: var(--teal-mid);
  background: var(--off-white);
}

.delivery-how {
  background: linear-gradient(180deg, #e8f6f6 0%, #f5fcfc 50%, var(--bg-light) 100%);
  position: relative;
}

.delivery-how::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(4, 162, 177, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.delivery-how .container { position: relative; z-index: 1; }

.delivery-how-head {
  text-align: center;
}

.delivery-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-darker);
  background: rgba(4, 162, 177, 0.14);
  border: 1px solid rgba(4, 162, 177, 0.25);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.delivery-how h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
  text-align: center;
}

.delivery-how .delivery-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.65;
  text-align: center;
}

.delivery-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.delivery-step-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: left;
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.delivery-step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal-mid);
  line-height: 1;
  opacity: 0.95;
}

.delivery-step-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
  padding-right: 56px;
}

.delivery-step-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Local cities — flat white band (not bg-light gradient) so it doesn’t stack identical to .delivery-how above */
.delivery-local {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.delivery-local .section-header {
  margin-bottom: 40px;
}

.delivery-local-areas {
  max-width: 920px;
  margin: 0 auto 28px;
}

.delivery-local-footnote {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Safety cards — flat tint (no gradient) so it reads differently from mint .delivery-how and white .delivery-local */
.delivery-safety {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  position: relative;
}

.delivery-safety .section-header {
  margin-bottom: 48px;
}

/* Services page FAQ — white strip after soft-blue .delivery-safety (avoids two identical tints) */
.services-faq {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.delivery-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.delivery-feature-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.delivery-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #d1f7f9 0%, #c5f0f2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.delivery-feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}

.delivery-feature-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== SPLIT GRID ===== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-text h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 16px;
}

.split-text h2 em {
  font-style: italic;
  color: var(--teal-dark);
}

.split-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.split-text p strong { color: var(--text); }

.story-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-num-card {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
}

.story-num-card strong {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.story-num-card span {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 700;
  opacity: 0.95;
  line-height: 1.25;
}

.story-img-card {
  background: var(--teal-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
}

.story-icon-big { font-size: 52px; margin-bottom: 10px; }

.story-img-card p {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-darker);
  margin: 0;
}

.story-badge-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.story-badge-card span {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.story-badge-card > div {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

.story-badge-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin: 0;
}

.story-badge-card small {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.story-badge-card br {
  display: none;
}

/* ===== VALUES GRID ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.value-num {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 42px;
  font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
  font-family: 'Lora', serif;
  letter-spacing: -2px;
}

.value-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  margin: 16px 0 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.team-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}

.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--teal-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

.team-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== AREAS ===== */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.area-chip {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 700;
  transition: all 0.2s;
  cursor: default;
}

.area-chip:hover {
  background: rgba(255,255,255,0.25);
}

.area-chip.highlighted {
  background: white;
  color: var(--teal-dark);
  border-color: white;
}

/* Service area chips on light backgrounds (matches Core Values section tone) */
.bg-light .area-chip,
.delivery-local .area-chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.bg-light .area-chip:hover,
.delivery-local .area-chip:hover {
  background: var(--teal-light);
  border-color: var(--teal-mid);
}
.bg-light .area-chip.highlighted,
.delivery-local .area-chip.highlighted {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: none;
}
.bg-light .area-chip.highlighted:hover,
.delivery-local .area-chip.highlighted:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

/* ===== SERVICES DETAIL ===== */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.svc-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.svc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--teal-mid);
}

.svc-icon {
  background: var(--teal-light);
  font-size: 42px;
  padding: 28px 28px 20px;
  display: block;
}

.svc-body {
  padding: 24px 28px 32px;
  flex: 1;
}

.svc-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}

.svc-body > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.svc-list li {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.svc-list li::before {
  content: '✓';
  width: 22px; height: 22px; min-width: 22px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.process-step {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  transition: all 0.3s;
  position: relative;
}

.process-step:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.step-num {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 1px;
}

.step-icon { font-size: 38px; margin-bottom: 12px; margin-top: 8px; }

.process-step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-arrow {
  font-size: 24px;
  color: var(--teal-mid);
  padding: 0 8px;
  flex-shrink: 0;
}

/* ===== REFILL PAGE ===== */
.refill-hero { background: linear-gradient(145deg, #daf5f5 0%, #c0eaea 100%); }

.refill-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.form-card-header {
  background: var(--teal);
  padding: 28px 36px;
  color: white;
}

.form-card-header h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
}

.form-card-header p {
  font-size: 13px;
  opacity: 0.8;
}

#refillFormContent, #contactFormContent {
  padding: 36px;
}

.form-section-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-light);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  background: var(--bg-light);
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 14px;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(4,162,177,0.12);
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: #b0c4c4;
  font-weight: 500;
}

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

.form-group select { appearance: none; cursor: pointer; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
}

.checkbox-label input { margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); }

/* Delivery options */
.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.delivery-opt {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
}

.delivery-opt input { display: none; }

.delivery-opt.selected {
  border-color: var(--teal);
  background: var(--teal-light);
}

.delivery-opt-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.delivery-opt-icon { font-size: 28px; }

.delivery-opt strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  display: block;
}

.delivery-opt small {
  font-size: 12px;
  color: var(--text-muted);
}

/* Sidebar */
.refill-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.sidebar-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.sidebar-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.sidebar-card.teal-card {
  background: var(--teal);
  border-color: var(--teal);
}

.sidebar-card.teal-card h3 { color: white; }
.sidebar-card.teal-card p { color: rgba(255,255,255,0.85); }

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

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

.hours-list .closed { color: var(--text-muted); }

.hours-list.plain li { border-bottom: 1px dashed var(--border); }

/* ===== SUCCESS STATE ===== */
.success-state {
  padding: 48px 36px;
  text-align: center;
}

.success-icon { font-size: 56px; margin-bottom: 16px; }

.success-state h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 12px;
}

.success-state p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}

.success-info {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.success-info div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 8px 16px;
  border-radius: 8px;
}

/* ===== CONTACT PAGE ===== */
.contact-top-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 12px;
}

.ctop-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s;
}

.ctop-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--teal-mid);
}

.ctop-icon { font-size: 36px; margin-bottom: 14px; display: block; }

.ctop-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}

.ctop-card > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.ctop-link {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  padding: 8px 16px;
  background: var(--teal-light);
  border-radius: 8px;
  transition: all 0.2s;
}

.ctop-link:hover { background: var(--teal-mid); }

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-panel h2 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 28px;
}

.info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1.5px solid var(--border);
}

.info-block:last-of-type { border-bottom: none; }

.info-block-icon {
  font-size: 22px;
  width: 48px; height: 48px; min-width: 48px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-block strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.info-block p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.65;
  font-weight: 600;
}

.info-block a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.map-wrap { margin-top: 24px; }

.contact-form-wrap .form-card { box-shadow: var(--shadow-lg); }

/* ===== ANIMATIONS ===== */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-anim].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  body {
    zoom: 1;
  }

  @supports not (zoom: 1) {
    body {
      transform: none;
      width: 100%;
    }
  }

  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .refill-layout { grid-template-columns: 1fr; }
  /* On tablet/mobile, surface the form first since it's the primary action */
  .refill-form-wrap { order: 1; }
  .refill-sidebar { order: 2; display: grid; grid-template-columns: 1fr 1fr; }
  .delivery-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-top: 1.5px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 99;
    gap: 4px;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  /* Inline the dropdown on mobile — no hover, just show as indented sub-items */
  .nav-dropdown { width: 100%; }
  .nav-dropdown::after { display: none; }
  .dropdown-arrow { display: none; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 14px;
    margin: 2px 0 6px;
    border-left: 2px solid var(--border);
    margin-left: 8px;
    min-width: 0;
  }
  .nav-dropdown-menu a {
    font-size: 13.5px;
    padding: 7px 12px;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .split-grid { grid-template-columns: 1fr; }
  .contact-main-grid { grid-template-columns: 1fr; }
  .contact-top-cards { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .delivery-options { grid-template-columns: 1fr; }
  .delivery-steps-grid { grid-template-columns: 1fr; }
  .delivery-feature-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-card { padding: 22px 14px 18px; }
  .cat-card .cat-img-wrap { width: 92px; height: 92px; padding: 10px; }
  .cat-card h4 { font-size: 15px; }
  .process-steps { flex-direction: column; align-items: stretch; }
  .process-arrow { transform: rotate(90deg); text-align: center; }
  .process-step { max-width: 100%; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .trust-inner { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .refill-sidebar { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .stat-sep { display: none; }
  .stat-item { padding: 0 12px 0 0; }
  .areas-grid { gap: 10px; }
  .story-num-card {
    padding: 18px 20px;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 56px 0; }
}

/* ===== LEGAL PAGES ===== */
.legal-page-section {
  padding-top: 24px;
  padding-bottom: 72px;
  /* First stop matches .page-hero gradient end (#d0eeee) so no hard seam between hero and this section */
  background: linear-gradient(180deg, #d0eeee 0%, #e4f5f5 56px, var(--bg-light) 160px, var(--bg-light) 100%);
  border-top: none;
  margin-top: 0;
}

/* Full width of .container (same column as hero) — avoids a narrow card with empty space on the right */
.legal-content {
  width: 100%;
  max-width: none;
  margin: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px clamp(20px, 4vw, 40px) 44px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.legal-content p,
.legal-content li,
.legal-content h2,
.legal-content h3 {
  max-width: none;
}

.legal-content h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--black);
  margin: 32px 0 14px;
  line-height: 1.3;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--teal-darker);
  margin: 22px 0 10px;
}

.legal-content p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 1.25rem;
  padding: 0;
}

.legal-content li {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.legal-content a:hover { text-decoration: underline; }

.legal-contact {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-top: 8px;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .legal-content { padding: 28px 22px 36px; }
  .page-hero.page-hero--compact {
    padding: 22px 0 26px;
  }
  .page-hero.page-hero--compact .legal-hero-meta {
    font-size: 12.5px;
    padding: 8px 14px;
    border-radius: 12px;
  }
}

/* ======================================================
   AUDIENCE SWITCHER (Patient / Prescriber)
   Visibility is driven entirely by html[data-audience],
   set in <head> inline script for flicker-free first paint
   and kept in sync by main.js on toggle clicks.
   Hidden elements get display:none; visible elements use
   their own natural display (grid / flex / block / etc.).
====================================================== */
html[data-audience="patient"] .mode-prescriber-only { display: none !important; }
html[data-audience="prescriber"] .mode-patient-only { display: none !important; }

/* Single anchored audience-toggle bar at the top of the hero.
   Absolute-positioned so it stays put when content below changes mode. */
.hero-audience-bar {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none; /* let clicks pass through everywhere except the toggle itself */
}

.hero-audience-bar > .container {
  pointer-events: none;
}

/* Hero audience toggle pill */
.audience-toggle {
  display: inline-flex;
  align-items: center;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 5px;
  box-shadow: var(--shadow-sm);
  position: relative;
  gap: 4px;
  pointer-events: auto;
}

.aud-opt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.aud-opt:hover { color: var(--teal-darker); }

.aud-opt .aud-icon { font-size: 15px; line-height: 1; }

/* Active state driven by html[data-audience] for flicker-free first paint.
   .is-active is also supported for any JS-driven sync. */
html[data-audience="patient"] .aud-opt[data-mode="patient"],
.aud-opt[data-mode="patient"].is-active {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 14px rgba(4,162,177,0.30);
}

html[data-audience="prescriber"] .aud-opt[data-mode="prescriber"],
.aud-opt[data-mode="prescriber"].is-active {
  background: var(--prescriber, #1f3a5f);
  color: white;
  box-shadow: 0 4px 14px rgba(31,58,95,0.30);
}

/* "For Prescribers" nav link styling */
.nav-links a.nav-prescriber-link {
  color: var(--prescriber, #1f3a5f);
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links a.nav-prescriber-link::before {
  content: '🩺';
  font-size: 14px;
}

.nav-links a.nav-prescriber-link:hover {
  background: #eaf0f8;
  color: var(--prescriber, #1f3a5f);
  border-color: #d6e1ee;
}

.nav-links a.nav-prescriber-link.active {
  background: #eaf0f8;
  color: var(--prescriber, #1f3a5f);
  border-color: #d6e1ee;
}

/* ======================================================
   PRESCRIBER COLOR ACCENT
====================================================== */
:root {
  --prescriber: #1f3a5f;
  --prescriber-dark: #15294a;
  --prescriber-light: #eaf0f8;
  --prescriber-mid: #b8c8de;
}

/* Prescriber-mode hero pill badge variant */
.hero-pill-badge.prescriber {
  color: var(--prescriber-dark);
  border-color: var(--prescriber-mid);
  background: white;
}

.hero-pill-badge.prescriber .pulse-dot {
  background: var(--prescriber);
  box-shadow: 0 0 0 0 rgba(31,58,95,0.4);
  animation: pulse-prescriber 2s infinite;
}

@keyframes pulse-prescriber {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(31,58,95,0.4); }
  50% { opacity: 0.85; transform: scale(1.2); box-shadow: 0 0 0 5px rgba(31,58,95,0); }
}

/* Prescriber-mode hero stats */
body.mode-prescriber .hero h1 em { color: var(--prescriber); }
body.mode-prescriber .stat-item strong { color: var(--prescriber-dark); }

/* Prescriber-mode hero CTA buttons */
.btn-prescriber {
  display: inline-block;
  background: var(--prescriber);
  color: white;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 18px rgba(31,58,95,0.28);
}

.btn-prescriber:hover {
  background: var(--prescriber-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(31,58,95,0.42);
}

.btn-prescriber-outline {
  display: inline-block;
  background: transparent;
  color: var(--prescriber-dark);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid var(--prescriber);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-prescriber-outline:hover { background: var(--prescriber-light); }

/* Prescriber-mode feature card icon override */
body.mode-prescriber .feature-icon-wrap.prescriber {
  background: var(--prescriber-light);
}

/* Prescriber-mode CTA banner */
.cta-banner.prescriber-cta {
  background: linear-gradient(135deg, #15294a 0%, #1f3a5f 100%);
}

/* ======================================================
   PRESCRIBERS PAGE
====================================================== */

/* Page hero variant */
/* Prescriber-themed hero — variant of .page-hero */
.page-hero.page-hero--prescriber {
  background: linear-gradient(145deg, #eaf0f8 0%, #d6e1ee 100%);
}

.page-hero.page-hero--prescriber .page-hero-shape {
  background: radial-gradient(circle, rgba(31,58,95,0.18) 0%, transparent 70%);
}

.page-hero.page-hero--prescriber h1 em {
  color: var(--prescriber);
}

.prescriber-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.prescriber-hero-grid .section-label { color: var(--prescriber); }

.prescriber-hero-main {
  max-width: 640px;
}

.prescriber-hero-grid h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--black);
  margin: 12px 0 16px;
}

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

.prescriber-hero-grid .lead {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 520px;
}

.prescriber-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.prescriber-hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prescriber-highlight-item {
  background: rgba(255,255,255,0.88);
  border: 1.5px solid var(--prescriber-mid);
  border-radius: 14px;
  padding: 14px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(31,58,95,0.08);
}

.prescriber-highlight-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  background: var(--prescriber-light);
  color: var(--prescriber-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.prescriber-highlight-item strong {
  display: block;
  font-size: 14px;
  color: var(--black);
  font-weight: 900;
  line-height: 1.35;
}

.prescriber-highlight-item small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  font-weight: 700;
}

/* Credentials card */
.credentials-card {
  background: white;
  border: 1.5px solid var(--prescriber-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 14px 44px rgba(31,58,95,0.18);
}

.credentials-card .cred-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid var(--prescriber-light);
}

.cred-header-icon {
  width: 44px; height: 44px;
  background: var(--prescriber-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cred-header h3 {
  font-size: 16px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: 0.2px;
}

.cred-header small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cred-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cred-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: var(--prescriber-light);
  border-radius: 10px;
  font-size: 14px;
}

.cred-list .cred-label {
  font-weight: 800;
  color: var(--prescriber-dark);
  letter-spacing: 0.4px;
  font-size: 12px;
  text-transform: uppercase;
}

.cred-list .cred-value {
  font-weight: 700;
  color: var(--text);
  font-family: 'Nunito', monospace;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cred-copy {
  background: white;
  border: 1.5px solid var(--prescriber-mid);
  color: var(--prescriber);
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.cred-copy:hover {
  background: var(--prescriber);
  color: white;
  border-color: var(--prescriber);
}

.cred-copy.copied {
  background: #16a34a;
  color: white;
  border-color: #16a34a;
}

.cred-list a {
  color: var(--text);
  text-decoration: none;
}

.cred-list a:hover { color: var(--prescriber); }

/* Trust strip variant */
.trust-strip.prescriber-trust { background: var(--prescriber); }

.prescriber-credentials-inline {
  background: #f4f8ff;
  border-top: 1px solid #dbe5f4;
  border-bottom: 1px solid #dbe5f4;
}

.prescriber-credentials-inline-inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(140px, 1fr));
  gap: 10px;
  align-items: stretch;
  padding: 14px 0;
}

.pc-inline-head,
.pc-inline-chip {
  background: white;
  border: 1.5px solid #d6e0f0;
  border-radius: 12px;
  padding: 11px 13px;
}

.pc-inline-head strong,
.pc-inline-chip strong {
  display: block;
  color: var(--prescriber-dark);
  font-size: 14px;
  line-height: 1.35;
}

.pc-inline-head small,
.pc-inline-chip span {
  display: block;
  color: var(--text-muted);
  font-size: 11.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 4px;
}

/* Partner grid (variant of features) */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.partner-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.partner-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--prescriber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.partner-card:hover {
  border-color: var(--prescriber-mid);
  box-shadow: 0 12px 36px rgba(31,58,95,0.15);
  transform: translateY(-4px);
}

.partner-card:hover::after { transform: scaleX(1); }

.partner-icon-wrap {
  width: 50px; height: 50px;
  background: var(--prescriber-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.partner-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}

.partner-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Refer-a-Patient form section */
.refer-section { background: var(--prescriber-light); }

.refer-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.refer-intro h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.25;
}

.refer-intro h2 em {
  font-style: italic;
  color: var(--prescriber);
}

.refer-intro > p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.refer-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.refer-method {
  background: white;
  border: 1.5px solid var(--prescriber-mid);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.refer-method-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--prescriber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.refer-method strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 2px;
}

.refer-method small {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.refer-form-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(31,58,95,0.12);
}

.refer-form-card .form-card-header {
  background: var(--prescriber);
}

.refer-form-card .form-section-title {
  color: var(--prescriber-dark);
  border-bottom-color: var(--prescriber-light);
}

.refer-form-card .form-group input:focus,
.refer-form-card .form-group select:focus,
.refer-form-card .form-group textarea:focus {
  border-color: var(--prescriber);
  box-shadow: 0 0 0 3px rgba(31,58,95,0.12);
}

.refer-form-card .checkbox-label input { accent-color: var(--prescriber); }

.refer-form-card #referFormContent { padding: 32px; }

/* Provider testimonials variant */
/* ============================================
   PROVIDER TESTIMONIAL CARD (enhanced)
   - Used in prescriber view of testimonials
============================================ */
.tcard.provider-tcard {
  background: var(--white);
  border: 1.5px solid var(--prescriber-mid);
  position: relative;
  overflow: hidden;
  padding: 36px 30px 28px 30px;
}

.tcard.provider-tcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--prescriber) 0%, var(--prescriber-dark) 100%);
}

.tcard.provider-tcard::after {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: 'Lora', serif;
  font-size: 110px;
  line-height: 1;
  color: var(--prescriber-light);
  font-weight: 700;
  pointer-events: none;
  z-index: 0;
}

.tcard.provider-tcard > * { position: relative; z-index: 1; }

.tcard.provider-tcard:hover {
  border-color: var(--prescriber);
  box-shadow: 0 14px 36px rgba(31, 58, 95, 0.15);
  transform: translateY(-4px);
}

.tcard.provider-tcard .stars {
  margin-bottom: 18px;
}

.tcard.provider-tcard > p {
  font-size: 15px;
  line-height: 1.75;
  font-style: normal;
  color: var(--text);
  margin-bottom: 24px;
}

.tcard.provider-tcard .tcard-author {
  padding-top: 18px;
  border-top: 1px solid var(--prescriber-light);
  gap: 14px;
}

.tcard.provider-tcard .avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--prescriber) 0%, var(--prescriber-dark) 100%);
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(31, 58, 95, 0.25);
  letter-spacing: 0.5px;
}

.tcard.provider-tcard .tcard-author strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--prescriber-dark);
  margin-bottom: 2px;
}

.tcard.provider-tcard .tcard-author small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

/* Footer prescriber col */
.footer-grid--with-prescriber {
  grid-template-columns: 1.5fr 0.85fr 0.95fr 1.1fr 1.05fr;
  gap: 32px;
}

.footer-col.prescriber-col h4 { color: var(--prescriber-mid); }

.footer-col .footer-prescriber-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--prescriber);
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}

.footer-col .footer-prescriber-link:hover {
  background: var(--prescriber-dark) !important;
  transform: translateY(-1px);
}

/* Mobile + responsive for new components */
@media (max-width: 1024px) {
  .footer-grid--with-prescriber { grid-template-columns: 1fr 1fr 1fr; }
  .prescriber-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .prescriber-credentials-inline-inner { grid-template-columns: 1fr 1fr; }
  .refer-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .footer-grid--with-prescriber { grid-template-columns: 1fr; }
  .hero-audience-bar { top: 18px; }
  .hero { padding-top: 90px; }
  .audience-toggle { width: auto; }
  .aud-opt { padding: 8px 14px; font-size: 13px; }
  .page-hero.page-hero--prescriber { padding: 64px 0 56px; }
  .prescriber-hero-grid .lead { font-size: 15.5px; }
  .prescriber-highlight-item { padding: 12px 12px; }
  .prescriber-credentials-inline-inner { grid-template-columns: 1fr; padding: 12px 0; }
  .nav-links a.nav-prescriber-link { width: 100%; justify-content: flex-start; }
}

/* Short laptop viewports — compress hero so stats remain above the fold */
@media (max-height: 820px) and (min-width: 769px) {
  .hero { padding: 84px 0 32px; }
  .hero h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
  .hero-sub { margin-bottom: 20px; line-height: 1.6; }
  .hero-pill-badge { margin-bottom: 14px; }
  .hero-actions { margin-bottom: 22px; }
  .hero-audience-bar { top: 20px; }
}

/* ======================================================
   THE CITY RX PROMISE SECTION
   ====================================================== */
.promise-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3fbfc 100%);
  position: relative;
}

.promise-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--teal-mid) 50%, transparent 100%);
  opacity: 0.25;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.promise-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.promise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-mid) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.promise-card:hover {
  border-color: var(--teal-mid);
  box-shadow: 0 12px 32px rgba(4, 162, 177, 0.12);
  transform: translateY(-6px);
}

.promise-card:hover::before { transform: scaleX(1); }

.promise-num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 38px;
  font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
  font-family: 'Lora', serif;
  letter-spacing: -2px;
  opacity: 0.9;
  transition: color 0.3s ease;
}

.promise-card:hover .promise-num { color: var(--teal); opacity: 0.4; }

.promise-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-light) 0%, #d8f3f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.promise-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--black);
  line-height: 1.3;
}

.promise-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Prescriber-mode re-color */
body.mode-prescriber .promise-card::before {
  background: linear-gradient(90deg, var(--prescriber) 0%, var(--prescriber-mid) 100%);
}

body.mode-prescriber .promise-num { color: var(--prescriber-light); }
body.mode-prescriber .promise-card:hover .promise-num { color: var(--prescriber); }

body.mode-prescriber .promise-icon {
  background: linear-gradient(135deg, var(--prescriber-light) 0%, #e8eef7 100%);
}

body.mode-prescriber .promise-card:hover {
  border-color: var(--prescriber-mid);
  box-shadow: 0 12px 32px rgba(31, 58, 95, 0.12);
}

@media (max-width: 1024px) {
  .promise-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 560px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise-card { padding: 28px 22px 24px; }
  .promise-num { font-size: 32px; top: 16px; right: 18px; }
}

/* ======================================================
   OUR STORY SECTION
   ====================================================== */
.story-section {
  background: linear-gradient(180deg, #f3fbfc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(4, 162, 177, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.story-section::after {
  content: '';
  position: absolute;
  bottom: -140px; left: -140px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(4, 162, 177, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.story-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ===== STORY VISUAL (left column) ===== */
.story-visual {
  position: relative;
  padding: 40px 30px 30px;
}

.story-quote-mark {
  position: absolute;
  top: -20px; left: 0;
  font-family: 'Lora', serif;
  font-size: 180px;
  font-weight: 600;
  color: var(--teal);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.story-seal {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 50px rgba(4, 162, 177, 0.28);
  margin: 0 auto 40px;
  padding: 10px;
}

.story-seal small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 6px;
}

.story-seal strong {
  font-family: 'Lora', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}

.story-seal-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed var(--teal-mid);
  opacity: 0.35;
  animation: slowSpin 60s linear infinite;
  pointer-events: none;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.story-numbers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.story-num-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.story-num-item:last-child { border-bottom: none; }

.story-num-item strong {
  font-family: 'Lora', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

.story-num-item span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-align: right;
}

/* ===== STORY TEXT (right column) ===== */
.story-text .section-label { margin-bottom: 14px; }

.story-text h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 22px;
}

.story-text h2 em {
  font-style: italic;
  color: var(--teal-dark);
}

.story-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}

.story-highlight {
  padding: 18px 22px;
  background: white;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  margin: 24px 0 28px !important;
  box-shadow: 0 4px 12px rgba(4, 162, 177, 0.06);
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.story-highlight strong {
  color: var(--teal-dark);
  font-weight: 800;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ===== PRESCRIBER-MODE RECOLOR ===== */
body.mode-prescriber .story-section::before,
body.mode-prescriber .story-section::after {
  background: radial-gradient(circle, rgba(31, 58, 95, 0.06) 0%, transparent 70%);
}

body.mode-prescriber .story-quote-mark { color: var(--prescriber); }

body.mode-prescriber .story-seal {
  background: linear-gradient(135deg, var(--prescriber) 0%, #15294a 100%);
  box-shadow: 0 20px 50px rgba(31, 58, 95, 0.3);
}

body.mode-prescriber .story-seal-ring { border-color: var(--prescriber-mid); }

body.mode-prescriber .story-num-item strong { color: var(--prescriber-dark); }

body.mode-prescriber .story-text h2 em { color: var(--prescriber); }

body.mode-prescriber .story-highlight {
  border-left-color: var(--prescriber);
  box-shadow: 0 4px 12px rgba(31, 58, 95, 0.08);
}

body.mode-prescriber .story-highlight strong { color: var(--prescriber-dark); }

/* Tighten spacing between Promise and Story in prescriber view */
body.mode-prescriber .promise-section {
  padding-bottom: 44px;
}

body.mode-prescriber .story-section.mode-prescriber-only {
  padding-top: 44px;
  padding-bottom: 36px;
}

body.mode-prescriber .story-section.mode-prescriber-only + .section.mode-prescriber-only {
  padding-top: 40px;
}

/* Tighten spacing between Promise and Story in patient view */
body:not(.mode-prescriber) .promise-section {
  padding-bottom: 48px;
}

body:not(.mode-prescriber) .story-section.mode-patient-only {
  padding-top: 44px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .story-layout { grid-template-columns: 1fr; gap: 40px; }
  .story-visual { max-width: 420px; margin: 0 auto; padding-top: 20px; }
  .story-quote-mark { font-size: 140px; top: -10px; }
  .story-text { text-align: left; }
}

@media (max-width: 560px) {
  .story-seal { width: 150px; height: 150px; }
  .story-seal strong { font-size: 42px; }
  .story-num-item { padding: 14px 18px; }
  .story-num-item strong { font-size: 22px; }
  .story-text h2 { font-size: 1.7rem; }
  .story-highlight { padding: 14px 16px; font-size: 15px !important; }
}

/* ======================================================
   "READ ALL REVIEWS ON GOOGLE" CTA
   ====================================================== */
.google-reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.google-reviews-cta a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 26px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  font-family: 'Nunito', sans-serif;
}

.google-reviews-cta a:hover {
  border-color: var(--teal-mid);
  box-shadow: 0 8px 24px rgba(4, 162, 177, 0.12);
  transform: translateY(-2px);
}

.google-logo svg {
  width: 20px;
  height: 20px;
  display: block;
}

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}

.google-rating strong {
  font-size: 20px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.5px;
}

.google-rating .mini-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1.5px;
}

.google-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
}

body.mode-prescriber .google-text { color: var(--prescriber); }
body.mode-prescriber .google-reviews-cta a:hover {
  border-color: var(--prescriber-mid);
  box-shadow: 0 8px 24px rgba(31, 58, 95, 0.12);
}

@media (max-width: 560px) {
  .google-reviews-cta a { flex-wrap: wrap; justify-content: center; padding: 14px 20px; gap: 10px; }
  .google-rating { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
}

/* ============================================
   FAQ SECTION
============================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  background: var(--off-white);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
  user-select: none;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover { color: var(--teal-dark); }

.faq-item .faq-toggle {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-item .faq-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--teal);
  color: var(--white);
}

.faq-item .faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.faq-item .faq-answer a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.faq-item .faq-answer a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; gap: 12px; }
  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-item .faq-answer { padding: 16px 20px 20px 20px; font-size: 14.5px; }
}
