/* ============================================
   BASE VARIABLES
   ============================================ */
:root {
  /* Bowland Pharmacy Palette */
  --brand-primary: #3f73ae;   /* Blue */
  --brand-secondary: #79bc2e; /* Green */
  --brand-bg: #e0e4e5;        /* Light Grey */
  --brand-dark: #2a507a;      /* Darker Blue for contrast */
  --brand-light: #faf7f2;     /* Warm cream for tinted content areas */

  /* Legacy purple aliases — mapped to brand blue for consistency */
  --brand-purple: var(--brand-primary);
  --brand-purple-deep: var(--brand-dark);
  --brand-accent: var(--brand-secondary);

  /* Nav height tokens — single source of truth for body offset & full-bleed heroes */
  --nav-height: 112px;

  --text-dark: #1a202c;
  --text-gray: #4a5568;
  --text-slate: #64748b;
  --white: #ffffff;
  --font-primary: 'DM Sans', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --font-accent: 'Syne', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --nav-height: 188px; }
}
@media (min-width: 1280px) {
  :root { --nav-height: 200px; }
}


/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--brand-light);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-height);
}

/* WordPress admin bar: extra body padding to account for admin bar height */
body.admin-bar {
  padding-top: calc(var(--nav-height) + 46px); /* mobile admin bar is 46px */
}

@media screen and (min-width: 783px) {
  body.admin-bar {
    padding-top: calc(var(--nav-height) + 32px); /* desktop admin bar is 32px */
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

html {
  scroll-behavior: smooth;
}


/* ============================================
   UTILITY CLASSES
   ============================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.hero-accent-text {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  display: block;
  font-size: 0.9em;
  margin: 0.1em 0;
}

/* ---- Rotating headline (line 2) ---- */
.hero-rotate-wrapper {
  display: block;
  position: relative;
  height: 1.15em;
  overflow: hidden;
  margin: 0.1em 0;
}

.hero-rotate-phrase {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  font-size: 0.9em;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (max-width: 1023px) {
  .hero-rotate-phrase {
    text-align: center;
  }
}

.hero-rotate-phrase.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-rotate-phrase.exit-up {
  opacity: 0;
  transform: translateY(-100%);
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

.icon-small {
  font-size: 0.65rem;
}

.text-primary {
  color: var(--brand-primary);
}

.text-gray {
  color: var(--text-gray);
}

@media (min-width: 1024px) {
  .desktop-only { display: inline-flex; }
  .mobile-only { display: none; }
}


/* ============================================
   SHARED: SECTION CONTAINER
   ============================================ */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}


/* ============================================
   SHARED: CTA BUTTONS
   ============================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.primary-cta {
  position: relative;
  background: linear-gradient(to right, var(--brand-primary), var(--brand-dark));
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.primary-cta:hover::before {
  left: 100%;
}

.primary-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.secondary-cta {
  background: var(--white);
  color: var(--brand-dark);
  border: 1px solid rgba(63, 115, 174, 0.2);
  box-shadow: var(--shadow-lg);
}

.secondary-cta:hover {
  border-color: var(--brand-primary);
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(63, 115, 174, 0.15);
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
  background: linear-gradient(170deg, #fdf9f3 0%, #faf6f0 50%, #f5efe6 100%);
}

/* Tighten the gap between the nav and the first row of hero pill badges
   on mobile - 5rem felt too airy under the fixed nav. Half the base
   value. Desktop has its own 2.5rem rule below and is untouched. */
@media (max-width: 1023px) {
  .hero-section {
    padding-top: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 2.5rem;
  }
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 35;
}

/* ---- Staggered entrance animations ---- */
.hero-stagger {
  opacity: 0;
  animation: fadeInUp 0.7s ease-out forwards;
}

.hero-stagger-1 { animation-delay: 0s; }
.hero-stagger-2 { animation-delay: 0.12s; }
.hero-stagger-3 { animation-delay: 0.24s; }
.hero-stagger-4 { animation-delay: 0.36s; }
.hero-stagger-5 { animation-delay: 0.5s; }
.hero-stagger-6 { animation-delay: 0.65s; }
.hero-stagger-7 { animation-delay: 0.8s; }
.hero-stagger-8 { animation-delay: 0.95s; }

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

/* Hero location badge (rich two-line style) */
.hero-local-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem 0.75rem 1rem;
  background: var(--white);
  border: 1px solid rgba(8, 93, 181, 0.2);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(8, 93, 181, 0.08);
  margin-bottom: 1.75rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-local-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(8, 93, 181, 0.12);
}

.hero-local-badge-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(8, 93, 181, 0.1);
  color: #085db5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-local-badge-content {
  display: flex;
  flex-direction: column;
}

.hero-local-badge-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 0.125rem;
}

.hero-local-badge-subtitle {
  font-size: 0.8125rem;
  color: var(--text-slate);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* NHS accent strip */
.hero-nhs-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 1023px) {
  .hero-nhs-strip {
    justify-content: center;
    gap: 0.375rem;
    margin-bottom: 1rem;
  }
}

.hero-nhs-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #005EB8;
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(0, 94, 184, 0.3);
}

.hero-nhs-label i {
  font-size: 0.5rem;
}

.hero-nhs-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(0, 94, 184, 0.06);
  border: 1px solid rgba(0, 94, 184, 0.15);
  color: #005EB8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.hero-nhs-pill:hover {
  background: rgba(0, 94, 184, 0.1);
  border-color: rgba(0, 94, 184, 0.3);
  transform: translateY(-1px);
}

a.hero-nhs-pill {
  text-decoration: none;
  color: #005EB8;
}

a.hero-nhs-pill:hover {
  color: #005EB8;
}

.hero-nhs-pill i {
  font-size: 0.625rem;
  opacity: 0.8;
}

/* Hero title: use nav blue for gradient */
.hero-title .gradient-text {
  background: linear-gradient(135deg, #054a91 0%, #085db5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.hero-title br {
  display: block;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5.5rem;
    line-height: 1;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

@media (max-width: 1023px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 1023px) {
  .hero-actions {
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  .trust-indicators {
    justify-content: center;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item i {
  color: #085db5;
  font-size: 1.125rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.trust-item:hover i {
  opacity: 1;
}

.trust-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-slate);
  transition: color 0.3s;
}

.trust-item:hover span {
  color: var(--text-dark);
}

.trust-divider {
  display: none;
}

@media (min-width: 640px) {
  .trust-divider {
    display: flex;
  }
}

.dot-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

/* Compact hero image — mobile only.
   The white border + shadow + rounded card frame was making the image feel
   boxed in on phones; strip it so the photo reads edge-to-edge at the
   full content width. object-fit: cover + fixed height preserves the
   crop framing without re-introducing a card. */
.hero-mobile-image {
  margin: 1.5rem 0;
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
}

.hero-mobile-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Hero Testimonial */
.hero-testimonial {
  position: relative;
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #f3f4f6;
  margin-top: 3rem;
  max-width: 560px;
  text-align: left;
  transition: transform 0.3s ease;
}

.hero-testimonial:hover {
  transform: translateY(-4px);
}

@media (max-width: 1023px) {
  .hero-testimonial {
    margin-left: auto;
    margin-right: auto;
  }
}

.quote-icon {
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  width: 3rem;
  height: 3rem;
  background: #085db5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.hero-quote {
  font-size: 1.125rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-slate);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-testimonial-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-weight: 700;
  color: #111827;
  font-size: 1rem;
}

.star-row {
  display: flex;
  gap: 0.25rem;
  color: #F4B400;
  font-size: 0.875rem;
}

.result-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #085db5;
  color: var(--white);
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  transition: background 0.3s;
}

.hero-testimonial:hover .result-badge {
  background: #054a91;
}

.hero-testimonial-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #085db5;
  border-radius: 0 0 1rem 1rem;
}

/* Hero Testimonial — overlay variant (desktop, inside .hero-visual) */
.hero-testimonial-overlay {
  position: absolute;
  bottom: -1rem;
  left: -3rem;
  z-index: 30;
  max-width: 360px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1.5rem;
}

.hero-testimonial-overlay .hero-quote {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.hero-testimonial-overlay .author-name {
  font-size: 0.875rem;
}

.hero-testimonial-overlay .result-badge {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* Hero Visual */
.hero-visual {
  display: none;
  position: relative;
  height: 600px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: flex;
  }
}

.hero-visual-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(63, 115, 174, 0.2), var(--brand-light));
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-image-card {
  position: relative;
  width: 600px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 30px 60px -15px rgba(15, 30, 51, 0.35),
    0 12px 28px -10px rgba(15, 30, 51, 0.18);
  border: 6px solid var(--white);
  z-index: 20;
  transform: rotate(-1.5deg);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 30, 51, 0.25) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-image-card:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* overridden inline by ACF focus field */
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.hero-image-card:hover img {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

/* Rating Badge */
.rating-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -3rem;
  background: var(--white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem;
  border-radius: 1.25rem;
  box-shadow:
    0 1px 3px rgba(63, 115, 174, 0.06),
    0 8px 24px rgba(63, 115, 174, 0.08),
    0 24px 48px rgba(63, 115, 174, 0.06);
  border: 1.5px solid rgba(63, 115, 174, 0.15);
  min-width: 270px;
  z-index: 30;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.rating-badge:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 3px rgba(63, 115, 174, 0.06),
    0 12px 32px rgba(63, 115, 174, 0.12),
    0 32px 64px rgba(63, 115, 174, 0.08);
}

.rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid #f1f5f9;
}

.rating-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.google-icon-wrapper {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1.5px solid #f0f0f0;
}

.google-icon-wrapper i {
  font-size: 0.875rem;
  background: linear-gradient(135deg, #4285F4 0%, #DB4437 33%, #F4B400 66%, #0F9D58 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-label > span {
  font-weight: 800;
  font-size: 0.875rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.badge-success {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(121, 188, 46, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(121, 188, 46, 0.3);
}

.badge-success i {
  font-size: 0.5rem;
  color: #5a9a1a;
}

.badge-success span {
  font-size: 0.6rem;
  font-weight: 800;
  color: #4a8516;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rating-score {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 0;
}

.score-number {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
  color: #111827;
  letter-spacing: -0.03em;
}

.rating-score-detail {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0.5rem;
  gap: 0.375rem;
}

.rating-score .star-row {
  font-size: 1rem;
  margin-bottom: 0;
  gap: 0.1875rem;
}

.rating-count {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
}

.rating-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1.5px solid #f1f5f9;
}

.rating-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-location i {
  font-size: 0.8125rem;
  color: var(--brand-primary);
}

.rating-location span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #374151;
}

.rating-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
  transition: all 0.3s ease;
}

.rating-link i {
  font-size: 0.5625rem;
  transition: transform 0.3s ease;
}

.rating-link:hover {
  color: var(--brand-dark);
}

.rating-link:hover i {
  transform: translateX(3px);
}


/* ============================================
   STATS BAR
   ============================================ */
.stats-section {
  position: relative;
  padding: 0;
  margin-top: -3rem;
  z-index: 20;
}

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.5rem;
  padding: 2.5rem 3rem;
  box-shadow:
    0 20px 60px -15px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(63, 115, 174, 0.05);
  transition: box-shadow 0.3s ease;
}

.stats-bar:hover {
  box-shadow:
    0 25px 70px -15px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(63, 115, 174, 0.1);
}

/* Shimmer hidden on glassmorphic bar */
.stats-shimmer {
  display: none;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(63, 115, 174, 0.15), rgba(42, 80, 122, 0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stat-icon i {
  font-size: 1.125rem;
  color: var(--brand-primary);
  transition: color 0.3s ease;
}

.stat-item:hover .stat-icon {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
}

.stat-item:hover .stat-icon i {
  color: var(--white);
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-slate);
  letter-spacing: 0.01em;
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, rgba(63, 115, 174, 0.2), transparent);
  flex-shrink: 0;
}

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

/* Tablet: 2 rows */
@media (max-width: 1023px) {
  .stats-section {
    margin-top: -2rem;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 2rem 0;
    padding: 2rem;
    border-radius: 1.25rem;
  }

  .stat-item {
    flex: 0 0 calc(50% - 1rem);
    justify-content: flex-start;
    padding-left: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .stat-item:last-of-type {
    flex: 0 0 100%;
    justify-content: center;
  }
}

/* Mobile: Premium Grid Layout */
@media (max-width: 639px) {
  .stats-section {
    margin-top: -1.5rem;
  }

  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding: 2rem 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    justify-content: flex-start;
    width: auto;
    padding: 0;
  }

  .stat-icon {
    margin: 0 auto;
    width: 3.5rem;
    height: 3.5rem;
    box-shadow: 0 4px 12px rgba(63, 115, 174, 0.12);
    background: linear-gradient(135deg, #f0f5fa, #ffffff);
    border: 1px solid rgba(63, 115, 174, 0.1);
  }

  .stat-content {
    align-items: center;
    gap: 0.125rem;
  }

  .stat-number {
    font-size: 1.375rem;
    color: var(--brand-dark);
  }

  .stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
  }

  /* Make the last item (Delivery) span full width */
  .stat-item:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(240, 245, 250, 0.9));
    border: 1px solid rgba(63, 115, 174, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin-top: 0.75rem;
    box-shadow: 0 4px 15px rgba(63, 115, 174, 0.08);
    gap: 1rem;
  }

  .stat-item:last-child .stat-icon {
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: rgba(63, 115, 174, 0.08);
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
  }

  .stat-item:last-child:hover .stat-icon {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  }

  .stat-item:last-child:hover .stat-icon i {
    color: var(--white);
  }

  .stat-item:last-child .stat-content {
    align-items: flex-start;
    text-align: left;
    gap: 0;
  }

  .stat-item:last-child .stat-number {
    font-size: 1.25rem;
  }

  .stat-divider {
    display: none;
  }
}


/* ============================================
   NHS SERVICES SECTION
   ============================================ */
.nhs-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f8fafc 100%);
  padding: 6rem 0;
  overflow: hidden;
}

.nhs-bg-blob-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: rgba(63, 115, 174, 0.05);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.nhs-bg-blob-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(248, 250, 252, 0.8);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.nhs-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.nhs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
}

.nhs-badge svg {
  width: 1rem;
  height: 1rem;
  color: #005EB8;
}

.nhs-badge span {
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nhs-header-line {
  width: 48px;
  height: 4px;
  background: #005EB8;
  border-radius: 2px;
  border-radius: 2px;
  margin: 0 auto 1.75rem;
}

.nhs-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .nhs-title {
    font-size: 3.5rem;
  }
}

.nhs-description {
  font-size: 1.25rem;
  color: #4a5568;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto;
  letter-spacing: 0.01em;
  font-weight: 300;
}

/* --- NHS Card Grid --- */
.nhs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .nhs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nhs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Scroll-reveal animation --- */
.nhs-card-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nhs-card-reveal.nhs-card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Card base --- */
.nhs-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.nhs-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* --- Clinical colour top-bar --- */
.nhs-card-topbar {
  height: 3px;
  width: 100%;
}

.nhs-card-blue .nhs-card-topbar { background: linear-gradient(90deg, #005EB8, #3b82f6); }
.nhs-card-green .nhs-card-topbar { background: linear-gradient(90deg, #059669, #34d399); }
.nhs-card-purple .nhs-card-topbar { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.nhs-card-orange .nhs-card-topbar { background: linear-gradient(90deg, #ea580c, #fb923c); }
.nhs-card-pink .nhs-card-topbar { background: linear-gradient(90deg, #db2777, #f472b6); }
.nhs-card-cyan .nhs-card-topbar { background: linear-gradient(90deg, #0891b2, #22d3ee); }

/* Card Variants */
.nhs-card-blue { background: linear-gradient(to bottom right, rgba(239, 246, 255, 0.4), #ffffff); }
.nhs-card-green { background: linear-gradient(to bottom right, rgba(236, 253, 245, 0.4), #ffffff); }
.nhs-card-purple { background: linear-gradient(to bottom right, rgba(243, 232, 255, 0.4), #ffffff); }
.nhs-card-orange { background: linear-gradient(to bottom right, rgba(255, 247, 237, 0.4), #ffffff); }
.nhs-card-pink { background: linear-gradient(to bottom right, rgba(253, 242, 248, 0.4), #ffffff); }
.nhs-card-cyan { background: linear-gradient(to bottom right, rgba(236, 254, 255, 0.4), #ffffff); }

.nhs-card-content {
  padding: 2rem;
}

/* --- Icon containers with colour-matched borders + hover pulse --- */
.nhs-card-icon {
  width: 4rem;
  height: 4rem;
  background: #f1f5f9;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.nhs-card-blue .nhs-card-icon { border: 1px solid rgba(0, 94, 184, 0.12); box-shadow: inset 0 2px 4px rgba(0, 94, 184, 0.06); }
.nhs-card-green .nhs-card-icon { border: 1px solid rgba(5, 150, 105, 0.12); box-shadow: inset 0 2px 4px rgba(5, 150, 105, 0.06); }
.nhs-card-purple .nhs-card-icon { border: 1px solid rgba(124, 58, 237, 0.12); box-shadow: inset 0 2px 4px rgba(124, 58, 237, 0.06); }
.nhs-card-orange .nhs-card-icon { border: 1px solid rgba(234, 88, 12, 0.12); box-shadow: inset 0 2px 4px rgba(234, 88, 12, 0.06); }
.nhs-card-pink .nhs-card-icon { border: 1px solid rgba(219, 39, 119, 0.12); box-shadow: inset 0 2px 4px rgba(219, 39, 119, 0.06); }
.nhs-card-cyan .nhs-card-icon { border: 1px solid rgba(8, 145, 178, 0.12); box-shadow: inset 0 2px 4px rgba(8, 145, 178, 0.06); }

.nhs-card:hover .nhs-card-icon {
  transform: scale(1.05);
}

.nhs-card-blue:hover .nhs-card-icon { background: rgba(0, 94, 184, 0.1); box-shadow: 0 4px 12px rgba(0, 94, 184, 0.15); }
.nhs-card-green:hover .nhs-card-icon { background: rgba(16, 185, 129, 0.1); box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15); }
.nhs-card-purple:hover .nhs-card-icon { background: rgba(139, 92, 246, 0.1); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15); }
.nhs-card-orange:hover .nhs-card-icon { background: rgba(249, 115, 22, 0.1); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15); }
.nhs-card-pink:hover .nhs-card-icon { background: rgba(236, 72, 153, 0.1); box-shadow: 0 4px 12px rgba(219, 39, 119, 0.15); }
.nhs-card-cyan:hover .nhs-card-icon { background: rgba(6, 182, 212, 0.1); box-shadow: 0 4px 12px rgba(8, 145, 178, 0.15); }

.nhs-card-icon svg {
  width: 2rem;
  height: 2rem;
}

/* Icon Colors */
.nhs-card-blue .nhs-card-icon svg { color: #005EB8; }
.nhs-card-green .nhs-card-icon svg { color: #059669; }
.nhs-card-purple .nhs-card-icon svg { color: #7c3aed; }
.nhs-card-orange .nhs-card-icon svg { color: #ea580c; }
.nhs-card-pink .nhs-card-icon svg { color: #db2777; }
.nhs-card-cyan .nhs-card-icon svg { color: #0891b2; }

.nhs-card-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.nhs-card-blue .nhs-card-badge { background: #dbeafe; color: #005EB8; }
.nhs-card-green .nhs-card-badge { background: #d1fae5; color: #047857; }
.nhs-card-purple .nhs-card-badge { background: #ede9fe; color: #6d28d9; }
.nhs-card-orange .nhs-card-badge { background: #ffedd5; color: #c2410c; }
.nhs-card-pink .nhs-card-badge { background: #fce7f3; color: #be185d; }
.nhs-card-cyan .nhs-card-badge { background: #cffafe; color: #0e7490; }

.nhs-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.nhs-card-desc {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.nhs-card-list {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nhs-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #1e293b;
}

.nhs-card-list li svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.nhs-card-blue .nhs-card-list li svg { color: #005EB8; }
.nhs-card-green .nhs-card-list li svg { color: #059669; }
.nhs-card-purple .nhs-card-list li svg { color: #7c3aed; }
.nhs-card-orange .nhs-card-list li svg { color: #ea580c; }
.nhs-card-pink .nhs-card-list li svg { color: #db2777; }
.nhs-card-cyan .nhs-card-list li svg { color: #0891b2; }

.nhs-card-btn {
  display: inline-block;
  width: 100%;
  padding: 0.875rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 0.9375rem;
  background: var(--white);
  border: 2px solid;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nhs-card-btn-secondary { margin-top: 0.625rem; }

.nhs-card-blue .nhs-card-btn { border-color: #005EB8; color: #005EB8; }
.nhs-card-blue .nhs-card-btn:hover { background: #005EB8; color: var(--white); box-shadow: 0 8px 24px rgba(0, 94, 184, 0.25); }

.nhs-card-green .nhs-card-btn { border-color: #059669; color: #059669; }
.nhs-card-green .nhs-card-btn:hover { background: #059669; color: var(--white); box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25); }

.nhs-card-purple .nhs-card-btn { border-color: #7c3aed; color: #7c3aed; }
.nhs-card-purple .nhs-card-btn:hover { background: #7c3aed; color: var(--white); box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25); }

.nhs-card-orange .nhs-card-btn { border-color: #ea580c; color: #ea580c; }
.nhs-card-orange .nhs-card-btn:hover { background: #ea580c; color: var(--white); box-shadow: 0 8px 24px rgba(234, 88, 12, 0.25); }

.nhs-card-pink .nhs-card-btn { border-color: #db2777; color: #db2777; }
.nhs-card-pink .nhs-card-btn:hover { background: #db2777; color: var(--white); box-shadow: 0 8px 24px rgba(219, 39, 119, 0.25); }

.nhs-card-cyan .nhs-card-btn { border-color: #0891b2; color: #0891b2; }
.nhs-card-cyan .nhs-card-btn:hover { background: #0891b2; color: var(--white); box-shadow: 0 8px 24px rgba(8, 145, 178, 0.25); }

/* --- Bottom CTA — dark NHS-blue premium --- */
.nhs-bottom-cta {
  position: relative;
  background: linear-gradient(135deg, #005EB8 0%, #003087 100%);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  z-index: 10;
}

@media (min-width: 768px) {
  .nhs-bottom-cta {
    padding: 3.5rem;
  }
}

/* Decorative glows */
.nhs-bottom-cta-glow-1 {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.nhs-bottom-cta-glow-2 {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

/* Dot pattern */
.nhs-bottom-cta-dots {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.nhs-bottom-cta-inner {
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Trust chips row */
.nhs-bottom-cta-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.nhs-cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.nhs-cta-chip i {
  font-size: 0.7rem;
}

.nhs-bottom-cta-title {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

@media (min-width: 768px) {
  .nhs-bottom-cta-title {
    font-size: 2.5rem;
  }
}

.nhs-bottom-cta-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.nhs-bottom-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .nhs-bottom-cta-actions {
    flex-direction: row;
  }
}

.nhs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #ffffff;
  color: #003087;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.nhs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #003087;
}

.nhs-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  text-decoration: none;
}

.nhs-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Trust checks row */
.nhs-bottom-cta-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.nhs-bottom-cta-checks span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.nhs-bottom-cta-checks i {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}


/* ============================================
   TREATMENTS SECTION
   ============================================ */
.treatments-section {
  padding: 6rem 0;
  background: var(--brand-light);
}

.treatments-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(63, 115, 174, 0.15);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.section-badge-icon {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.section-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-slate);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

/* Pulse dot (used in section badges across multiple pages) */
.pulse-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.pulse-dot span:first-child {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--brand-secondary);
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot span:last-child {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand-secondary);
}

.treatments-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.treatments-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Grid: 1 col mobile → 2 col tablet → 5 col single row desktop */
.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 1024px) {
  .treatments-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.treatment-card {
  display: block;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  aspect-ratio: 3/4;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .treatment-card {
    aspect-ratio: 4/5;
  }
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(63, 115, 174, 0.18);
}

.treatment-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.treatment-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.treatment-card:hover .treatment-card-image {
  transform: scale(1.08);
}

/* Per-card image focal point overrides */
.treatment-card--hair-loss .treatment-card-image {
  object-position: center top;
}

.treatment-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
  pointer-events: none;
}

/* Label — always visible, title + subtitle + arrow */
.treatment-card-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 10;
}

.treatment-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .treatment-card-title {
    font-size: 1.125rem;
  }
}

.treatment-card-subtitle {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

/* Arrow — slides in from the left on hover */
.treatment-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.625rem;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.treatment-card:hover .treatment-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.treatment-card-arrow svg {
  width: 14px;
  height: 14px;
}


/* ============================================
   PHARMACIST SECTION — Clean Clinical Card
   ============================================ */
.pharmacist-section {
  padding: 5rem 0 2rem;
  background: #fdf9f3;
  position: relative;
  overflow: hidden;
}

/* Section header */
.pharmacist-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pharmacist-section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111827;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.pharmacist-section-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Decorative background glows */
.pharmacist-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.pharmacist-bg-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(8, 93, 181, 0.08);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.pharmacist-bg-glow-2 {
  width: 350px;
  height: 350px;
  background: rgba(121, 188, 46, 0.06);
  bottom: -80px;
  right: -60px;
  animation: float 6s ease-in-out infinite reverse;
}

/* ── The card ── */
.pharmacist-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(8, 93, 181, 0.06);
  overflow: hidden;
}

/* Gradient accent bar at the top of the card */
.pharmacist-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #085db5, #3f8fd4, #79bc2e);
}

/* ── Grid inside card ── */
.pharmacist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

/* ── LEFT: Photo + identity ── */
.pharmacist-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Circular photo with gradient ring */
.pharmacist-photo-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #085db5, #3f8fd4);
  box-shadow: 0 8px 24px rgba(8, 93, 181, 0.2);
  flex-shrink: 0;
}

.pharmacist-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  display: block;
  border: 3px solid var(--white);
}

/* Identity block next to photo */
.pharmacist-identity {
  min-width: 0;
}

.pharmacist-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #085db5;
  margin: 0 0 0.25rem;
}

.pharmacist-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #111827;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.pharmacist-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  margin: 0 0 0.375rem;
  line-height: 1.4;
}

.pharmacist-gphc {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #16a34a;
  margin: 0;
}

.pharmacist-gphc i {
  font-size: 0.75rem;
}

/* ── RIGHT: Content ── */
.pharmacist-right {
  text-align: left;
}

/* Bio */
.pharmacist-bio {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

/* Credential pills */
.pharmacist-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pharmacist-credential {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid rgba(8, 93, 181, 0.1);
  padding: 0.4rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pharmacist-credential:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 93, 181, 0.1);
}

.pharmacist-credential i {
  color: #085db5;
  font-size: 0.6875rem;
}

/* CTA row */
.pharmacist-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ── Trust checks footer ── */
.pharmacist-trust-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  margin-top: 1.75rem;
  border-top: 1px solid #e5e7eb;
}

.pharmacist-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}

.pharmacist-trust-item i {
  color: #16a34a;
  font-size: 0.875rem;
}

/* ── Mobile: centre credentials, CTAs and trust checks ── */
@media (max-width: 1023px) {
  .pharmacist-credentials {
    justify-content: center;
  }

  .pharmacist-cta {
    flex-direction: column;
    align-items: center;
  }

  .pharmacist-cta .cta-button {
    justify-content: center;
    width: 100%;
  }

  .pharmacist-trust-checks {
    justify-content: center;
  }
}

/* ── Desktop: two-column layout ── */
@media (min-width: 1024px) {
  .pharmacist-card {
    padding: 2.5rem 3rem 2rem;
  }

  .pharmacist-grid {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
  }

  .pharmacist-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0.5rem;
  }

  .pharmacist-photo-wrapper {
    width: 120px;
    height: 120px;
    padding: 4px;
    margin-bottom: 0.25rem;
  }

  .pharmacist-name {
    font-size: 1.625rem;
  }
}

/* ── Tablet: horizontal identity ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .pharmacist-photo-wrapper {
    width: 100px;
    height: 100px;
  }
}


/* ============================================
   TEAM GRID (pharmacist section)
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

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

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(63, 115, 174, 0.08);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(63, 115, 174, 0.1);
  border-color: rgba(63, 115, 174, 0.2);
}

.team-card-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(63, 115, 174, 0.15);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.team-card-initials {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.team-card-role {
  font-size: 0.875rem;
  color: var(--text-slate);
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.team-card-gphc {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.team-card-gphc:hover {
  color: var(--brand-dark);
}

.team-card-gphc i {
  font-size: 0.6875rem;
}

.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
}

.team-card-tag {
  display: inline-block;
  background: rgba(63, 115, 174, 0.08);
  color: var(--brand-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
  background: #fdf9f3;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: rgba(63, 115, 174, 0.05);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* Header */
.how-it-works-header {
  text-align: center;
  margin-bottom: 4rem;
}

.how-it-works-header .section-badge {
  margin-bottom: 1.5rem;
}

.how-it-works-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .how-it-works-title {
    font-size: 3rem;
  }
}

.how-it-works-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

@media (min-width: 768px) {
  .how-it-works-description {
    font-size: 1.25rem;
  }
}

/* Steps container */
.how-it-works-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

@media (min-width: 1024px) {
  .how-it-works-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

/* Individual step */
.how-it-works-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-it-works-step-card {
  position: relative;
  background: var(--white);
  border: 2px solid rgba(63, 115, 174, 0.12);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(63, 115, 174, 0.08);
  width: 100%;
  max-width: 400px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.how-it-works-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(63, 115, 174, 0.18);
  border-color: var(--brand-primary);
}

@media (min-width: 768px) {
  .how-it-works-step-card {
    padding: 3rem 2.5rem;
  }
}

/* Step number badge — overlaps card top */
.how-it-works-step-number {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(63, 115, 174, 0.3);
  z-index: 10;
}

.how-it-works-step-number span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  padding-bottom: 0.1em;
}

/* Icon square */
.how-it-works-step-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, rgba(63, 115, 174, 0.10), rgba(42, 80, 122, 0.06));
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.4s ease;
}

.how-it-works-step-card:hover .how-it-works-step-icon {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  transform: scale(1.1) rotate(5deg);
}

.how-it-works-step-icon i {
  font-size: 2rem;
  color: var(--brand-primary);
  transition: color 0.4s ease;
}

.how-it-works-step-card:hover .how-it-works-step-icon i {
  color: var(--white);
}

/* Title */
.how-it-works-step-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.how-it-works-step-card:hover .how-it-works-step-title {
  color: var(--brand-primary);
}

@media (min-width: 768px) {
  .how-it-works-step-title {
    font-size: 1.75rem;
  }
}

/* Description */
.how-it-works-step-desc {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 500;
  flex: 1;
}

@media (min-width: 768px) {
  .how-it-works-step-desc {
    font-size: 1.0625rem;
  }
}

/* Time badge */
.how-it-works-step-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(63, 115, 174, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(63, 115, 174, 0.15);
  transition: all 0.3s ease;
}

.how-it-works-step-card:hover .how-it-works-step-time {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.how-it-works-step-time i {
  font-size: 0.875rem;
  color: var(--brand-primary);
  transition: color 0.3s ease;
}

.how-it-works-step-card:hover .how-it-works-step-time i {
  color: var(--white);
}

.how-it-works-step-time span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-dark);
  transition: color 0.3s ease;
}

.how-it-works-step-card:hover .how-it-works-step-time span {
  color: var(--white);
}

/* Timeline connector (desktop only) */
.how-it-works-connector {
  display: none;
}

@media (min-width: 1024px) {
  .how-it-works-connector {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--brand-primary), var(--brand-dark));
    z-index: 1;
  }

  .how-it-works-step:last-child .how-it-works-connector {
    display: none;
  }

  .how-it-works-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--brand-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(63, 115, 174, 0.2);
  }
}

/* CTA */
.how-it-works-cta {
  text-align: center;
  margin-top: 3rem;
}


/* ============================================
   SWITCHING SECTION — editorial clinical
   ============================================ */
.switching-section {
  --sw-ink: #0f1e33;
  --sw-primary: var(--brand-primary);
  --sw-dark: var(--brand-dark);
  --sw-soft: #eef3f9;
  --sw-hairline: rgba(15, 30, 51, 0.08);
  --sw-rule: rgba(63, 115, 174, 0.22);

  position: relative;
  padding: 7rem 0 8rem;
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(63, 115, 174, 0.08), transparent 60%),
    radial-gradient(55% 45% at 100% 100%, rgba(42, 80, 122, 0.10), transparent 60%),
    linear-gradient(180deg, #f5f8fc 0%, #eaf1f8 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Editorial rule at the top */
.switching-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 1200px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sw-rule), transparent);
}

/* Section eyebrow label (decorative, not interactive) */
.switching-section::after {
  content: '— Patient stories';
  position: absolute;
  top: 3.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sw-primary);
  z-index: 2;
  opacity: 0.7;
}

.switching-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.switching-bg::before {
  content: '';
  position: absolute;
  top: -260px;
  right: -120px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(63, 115, 174, 0.18), transparent 65%);
  border-radius: 50%;
  filter: blur(90px);
}

.switching-bg::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -140px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(42, 80, 122, 0.16), transparent 65%);
  border-radius: 50%;
  filter: blur(70px);
}

/* Fine grain to avoid banding */
.switching-section > .section-container {
  position: relative;
  z-index: 3;
}

.switching-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 10;
  padding-top: 2rem;
}

@media (min-width: 1024px) {
  .switching-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 5rem;
    align-items: center;
  }
}

/* --- LEFT CONTENT COLUMN --- */
.switching-content {
  position: relative;
}

.switching-content .section-badge {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(63, 115, 174, 0.18);
  box-shadow: 0 2px 8px rgba(15, 30, 51, 0.04);
}

.switching-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  font-weight: 900;
  color: var(--sw-ink);
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

.switching-title .gradient-text {
  background: linear-gradient(120deg, var(--sw-primary) 0%, var(--sw-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  position: relative;
  /* WebKit clips italic glyph overhang under background-clip: text.
     Generous padding enlarges the painted region; matching negative margin
     keeps line rhythm. */
  display: inline-block;
  padding: 0.05em 0.35em 0.15em 0;
  margin: 0 -0.2em -0.1em 0;
}

.switching-title .gradient-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 3px;
  background: linear-gradient(90deg, var(--sw-primary), transparent);
  border-radius: 2px;
  opacity: 0.35;
}

.switching-description {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 2.75rem;
  font-weight: 450;
  max-width: 34em;
  border-left: 2px solid var(--sw-rule);
  padding-left: 1.25rem;
}

@media (min-width: 768px) {
  .switching-description {
    font-size: 1.125rem;
  }
}

/* Feature list with editorial numbering */
.switching-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  counter-reset: sw-feature;
  border-top: 1px solid var(--sw-hairline);
}

.switching-feature {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 1.5rem 1.5rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--sw-hairline);
  border-radius: 0;
  box-shadow: none;
  counter-increment: sw-feature;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.switching-feature::before {
  content: counter(sw-feature, decimal-leading-zero);
  position: absolute;
  top: 1.55rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  font-style: italic;
  color: var(--sw-primary);
  opacity: 0.55;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.switching-feature:hover {
  transform: none;
  background: linear-gradient(90deg, rgba(63, 115, 174, 0.06), transparent 80%);
  padding-left: 1.25rem;
  box-shadow: none;
  border-color: rgba(63, 115, 174, 0.2);
}

.switching-feature:hover::before {
  opacity: 1;
  transform: translateX(-4px);
}

.switching-feature-icon {
  width: 3rem;
  height: 3rem;
  background: #ffffff;
  border: 1px solid rgba(63, 115, 174, 0.18);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sw-primary);
  font-size: 1.125rem;
  box-shadow: 0 1px 3px rgba(15, 30, 51, 0.05);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.switching-feature:hover .switching-feature-icon {
  background: linear-gradient(135deg, var(--sw-primary), var(--sw-dark));
  color: var(--white);
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(63, 115, 174, 0.35);
  border-color: transparent;
}

.switching-feature-text {
  flex: 1;
  min-width: 0;
  padding-right: 2rem;
}

.switching-feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sw-ink);
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.switching-feature:hover .switching-feature-title {
  color: var(--sw-primary);
}

.switching-feature-desc {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.65;
  font-weight: 450;
}

/* Trust proof — refined horizontal strip */
.switching-trust-proof {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 2.5rem;
  padding: 0;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--sw-hairline);
  box-shadow: 0 4px 20px rgba(15, 30, 51, 0.04);
  overflow: hidden;
}

.switching-trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.1rem 1.5rem;
  flex: 1;
  position: relative;
}

.switching-trust-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, rgba(63, 115, 174, 0.12), rgba(42, 80, 122, 0.06));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--sw-primary);
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.switching-trust-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--sw-ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.switching-trust-label {
  font-size: 0.6875rem;
  color: var(--text-slate);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.switching-trust-divider {
  width: 1px;
  height: auto;
  align-self: stretch;
  background: var(--sw-hairline);
  margin: 0;
}

.switching-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

@media (max-width: 639px) {
  .switching-section {
    padding: 5rem 0 6rem;
  }
  .switching-section::after {
    top: 2.2rem;
  }
  .switching-actions {
    flex-direction: column;
  }
  .switching-trust-proof {
    flex-wrap: wrap;
  }
  .switching-trust-item {
    flex: 1 1 45%;
  }
  .switching-trust-divider {
    display: none;
  }
}

/* --- RIGHT VISUAL COLUMN --- */
.switching-visual {
  position: relative;
  padding-bottom: 0;
}

.switching-image-card {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(42, 80, 122, 0.35),
    0 10px 24px -8px rgba(15, 30, 51, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(160deg, #d7e3f0 0%, #b8cfe5 100%);
  aspect-ratio: 4 / 5;
  transition: transform 0.5s ease;
}

.switching-image-card:hover {
  transform: translateY(-4px);
}

.switching-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.switching-image-card:hover .switching-image {
  transform: scale(1.04);
}

/* ── Empty-state illustration (no image seeded) ── */
.switching-image-card:empty {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(42, 80, 122, 0.3), transparent 55%),
    linear-gradient(155deg, var(--sw-primary) 0%, var(--sw-dark) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Geometric pattern overlay */
.switching-image-card:empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Central medallion with checkmark */
.switching-image-card:empty::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 0.8rem));
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 60%, rgba(255, 255, 255, 0.75) 100%);
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.12),
    0 0 0 24px rgba(255, 255, 255, 0.06),
    0 20px 40px rgba(0, 0, 0, 0.18);
  /* Checkmark using clip-path-ish trick: two gradients building a tick */
  background-image:
    linear-gradient(135deg, transparent 40%, var(--sw-primary) 40% 44%, transparent 44%),
    linear-gradient(45deg, transparent 52%, var(--sw-primary) 52% 56%, transparent 56%);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Decorative corner labels over empty state */
.switching-visual::before,
.switching-visual::after {
  pointer-events: none;
  position: absolute;
  z-index: 5;
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Only show decorative labels when the image-card is empty */
.switching-visual:has(.switching-image-card:empty)::before {
  content: 'GPhC Certified';
  top: 1.5rem;
  left: 1.5rem;
  opacity: 1;
}

.switching-visual:has(.switching-image-card:empty)::after {
  content: '✓ Trusted since 2008';
  top: 1.5rem;
  right: 1.5rem;
  opacity: 1;
  letter-spacing: 0.15em;
}

/* Fallback for browsers without :has — still looks good, just no labels */

/* ── Google rating card (glassmorphic) ── */
.switching-rating-badge {
  position: absolute;
  bottom: -2rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 1.25rem 1.5rem;
  border-radius: 1.1rem;
  box-shadow:
    0 24px 48px -12px rgba(15, 30, 51, 0.25),
    0 4px 12px rgba(15, 30, 51, 0.08);
}

.switching-rating-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.switching-rating-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding-right: 1rem;
  border-right: 1px solid var(--sw-hairline);
}

.switching-rating-score {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--sw-ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.switching-rating-stars {
  color: #F4B400;
  font-size: 0.6875rem;
  display: flex;
  gap: 0.125rem;
  filter: drop-shadow(0 1px 2px rgba(244, 180, 0, 0.35));
}

.switching-rating-meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.switching-rating-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--sw-ink);
  letter-spacing: -0.01em;
}

.switching-rating-count {
  font-size: 0.75rem;
  color: var(--text-slate);
}

.switching-rating-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--sw-hairline);
}

.switching-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(63, 115, 174, 0.08);
  border: 1px solid rgba(63, 115, 174, 0.14);
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.01em;
}

.switching-rating-pill i {
  color: var(--sw-primary);
  font-size: 0.625rem;
}


/* ============================================
   SAFE & SECURE SECTION
   ============================================ */
.safe-section {
  position: relative;
  background: #fdf9f3;
  padding: 6rem 0;
  overflow: hidden;
}

.safe-bg-shape-1 {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: rgba(63, 115, 174, 0.05);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.safe-bg-shape-2 {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(42, 80, 122, 0.04);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

/* Header */
.safe-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 10;
}

.safe-header .section-badge {
  margin-bottom: 1.5rem;
}

.safe-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .safe-title {
    font-size: 3rem;
  }
}

.safe-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

@media (min-width: 768px) {
  .safe-description {
    font-size: 1.25rem;
  }
}

/* ---- 3-card trust grid ---- */
.safe-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .safe-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.safe-trust-card {
  background: var(--white);
  border: 2px solid rgba(63, 115, 174, 0.1);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(63, 115, 174, 0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.safe-trust-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-dark));
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.safe-trust-card:hover {
  transform: translateY(-6px);
  border-color: rgba(63, 115, 174, 0.25);
  box-shadow: 0 20px 50px rgba(63, 115, 174, 0.14);
}

.safe-trust-card:hover::before {
  opacity: 1;
}

.safe-trust-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(63, 115, 174, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--brand-primary);
  font-size: 1.5rem;
  transition: all 0.4s ease;
}

.safe-trust-card:hover .safe-trust-icon {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(63, 115, 174, 0.3);
}

.safe-trust-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.75rem;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.safe-trust-card:hover .safe-trust-title {
  color: var(--brand-primary);
}

.safe-trust-desc {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.65;
  font-weight: 500;
  margin: 0;
}

/* ---- GPhC credential strip ---- */
.safe-credential-strip {
  position: relative;
  z-index: 10;
}

.safe-credential-inner {
  background: var(--white);
  border: 2px solid rgba(63, 115, 174, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(63, 115, 174, 0.06);
}

.safe-credential-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .safe-credential-items {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

.safe-credential {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

@media (min-width: 768px) {
  .safe-credential {
    padding: 0 2rem;
  }

  .safe-credential:first-child {
    padding-left: 0;
  }

  .safe-credential:last-child {
    padding-right: 0;
  }
}

.safe-credential-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(63, 115, 174, 0.08);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-primary);
  font-size: 1.125rem;
}

.safe-credential-text {
  display: flex;
  flex-direction: column;
}

.safe-credential-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-slate);
  margin-bottom: 0.25rem;
}

.safe-credential-value {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.safe-credential-sub {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 0.25rem;
}

/* Vertical dividers (desktop) */
.safe-credential-divider {
  display: none;
}

@media (min-width: 768px) {
  .safe-credential-divider {
    display: block;
    width: 2px;
    align-self: stretch;
    background: rgba(63, 115, 174, 0.12);
    border-radius: 1px;
    flex-shrink: 0;
  }
}

/* Horizontal divider (mobile) */
@media (max-width: 767px) {
  .safe-credential + .safe-credential-divider + .safe-credential {
    padding-top: 1.5rem;
    border-top: 2px solid rgba(63, 115, 174, 0.08);
  }
}

/* Footer: verify link + note */
.safe-credential-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(63, 115, 174, 0.08);
  text-align: center;
}

.safe-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border: 2px solid rgba(63, 115, 174, 0.25);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.safe-verify-link:hover {
  background: rgba(63, 115, 174, 0.06);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 115, 174, 0.15);
}

.safe-verify-note {
  font-size: 0.75rem;
  color: var(--text-slate);
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 639px) {
  .safe-trust-card {
    padding: 1.75rem 1.5rem;
  }

  .safe-credential-inner {
    padding: 2rem 1.5rem;
  }

  .safe-credential {
    align-items: center;
  }

  .safe-credential-value {
    font-size: 1.25rem;
  }
}


/* ============================================
   HEALTH HUB SECTION
   ============================================ */
.healthhub-section {
  padding: 6rem 0;
  background: var(--white);
}

.healthhub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.healthhub-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111827;
}

.healthhub-view-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  transition: gap 0.3s ease;
}

.healthhub-view-all:hover {
  gap: 0.75rem;
}

.healthhub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .healthhub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.healthhub-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.healthhub-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.healthhub-card-image {
  position: relative;
  height: 240px;
}

.healthhub-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.healthhub-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--brand-dark);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.healthhub-card-content {
  padding: 2rem;
  background: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.healthhub-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.healthhub-card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.healthhub-card-link {
  font-weight: 700;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}


/* ============================================
   LOCATION SECTION
   ============================================ */
.location-section {
  position: relative;
  min-height: 600px;
  height: auto;
  background: #f5efe6;
  overflow: hidden;
  padding-bottom: 4rem;
  scroll-margin-top: var(--nav-height);
}

.location-map-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Desktop only: shift the map (iframe + overlay pins) right so its visible
   portion sits past the floating info card. The 20% strip on the left
   uncovered by the wrapper picks up the section's background colour,
   which is set to match Google Maps' base tile colour so the gap blends. */
@media (min-width: 1024px) {
  .location-map-wrapper {
    transform: translateX(20%);
  }
  .location-section {
    /* Match Google Maps base tile colour so the gap behind the wrapper
       blends with the map seamlessly. */
    background: #e8eaed;
  }
}

.location-map-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.location-map-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: 0;
  filter: saturate(0.85) contrast(0.98);
  /* Frozen iframe: the simple Google Maps embed has no JS API to sync
     overlay pins with user zoom/pan, so we keep it as a static backdrop.
     Click pins to open Google Maps in a new tab for full interaction. */
  pointer-events: none;
}

.location-map-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(245, 239, 230, 0.55) 0%, rgba(245, 239, 230, 0.0) 42%),
    linear-gradient(to bottom, transparent 60%, rgba(17, 24, 39, 0.14) 100%);
  pointer-events: none;
}

/* ============================================
   LOCATION — MAP ANNOTATIONS (pin + parking callouts)
   Wayfinding overlay. Editable via ACF.
   ============================================ */
.location-map-annotations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.location-map-annotations > * {
  pointer-events: auto;
}

/* ---- Pharmacy pin — Swiss Apothecary
       Concentric rings, filled medical cross, elliptical ground shadow
       (no stick). Sits at the map centre because the iframe is centred
       on the pharmacy coordinates. ---- */
.location-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  /* Geo-anchored: JS sets --dx/--dy via the same Web Mercator projection
     used for parking callouts. Falls back to 0,0 (map centre) if JS hasn't
     run yet, which keeps the pin visible during load. */
  transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px)));
  color: var(--brand-primary, #3f73ae);
  text-decoration: none;
  cursor: pointer;
  z-index: 4;
}

/* Elliptical ground shadow — soft diffuse cushion, not a visible element. */
.location-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 48px;
  height: 12px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.1) 45%, transparent 72%);
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(4px);
  z-index: 1;
  pointer-events: none;
  animation: location-pin-shadow-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.location-pin-dot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--brand-primary, #3f73ae);
  border: 2.5px solid var(--brand-primary, #3f73ae);
  border-radius: 50%;
  /* Apothecary token: white canvas, precise navy ring, soft concentric
     breath, clean cast shadow. Lets any client logo keep its own colours. */
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 5.5px rgba(63, 115, 174, 0.18),
    0 18px 38px -10px rgba(15, 42, 80, 0.38),
    0 5px 12px rgba(15, 42, 80, 0.18);
  z-index: 3;
  animation: location-pin-drop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-pin:hover .location-pin-dot,
.location-pin:focus-visible .location-pin-dot {
  transform: scale(1.08);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 5.5px rgba(63, 115, 174, 0.35),
    0 24px 46px -10px rgba(15, 42, 80, 0.46),
    0 6px 14px rgba(15, 42, 80, 0.22);
}

.location-pin:hover::before,
.location-pin:focus-visible::before {
  width: 42px;
  opacity: 0.9;
  transition: width 0.35s ease, opacity 0.35s ease;
}

/* Remove the old tail — ground shadow replaces it. */
.location-pin-dot::after { content: none; }

/* Custom pin icon (overrides the default Swiss cross) */
.location-pin-icon {
  display: block;
  width: 68%;
  height: 68%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

/* Pharmacy pin halo retired — the parking markers carry the pulse now. */
.location-pin-halo { display: none; }

@keyframes location-pin-shadow-in {
  0%   { opacity: 0; transform: translateX(-50%) scaleX(0.2); }
  100% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

/* Pharmacy label — permanently visible balloon. Default anchor is
   up-left of the pin; modifier classes on .location-pin flip it to
   the other three corners so editors can dodge overlapping markers. */
.location-pin-label {
  position: absolute;
  left: auto;
  top: auto;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1rem 0.8rem;
  background: #fff;
  border-radius: 0.65rem;
  border: 1px solid rgba(63, 115, 174, 0.16);
  box-shadow:
    0 18px 42px -14px rgba(15, 42, 80, 0.42),
    0 3px 10px rgba(15, 42, 80, 0.14);
  white-space: nowrap;
  font-size: 0.8125rem;
  line-height: 1.25;
  z-index: 6;
  animation: location-pin-label-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

/* Beak — one of the four corners, depending on .location-pin--label-* */
.location-pin-label::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
}

/* --- Cardinal: above (centered) --- */
.location-pin--label-up .location-pin-label {
  left: 50%;
  bottom: calc(50% + 40px);
  transform: translateX(-50%);
}
.location-pin--label-up .location-pin-label::after {
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 1px solid rgba(63, 115, 174, 0.16);
  border-bottom: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 0 0 2px 0;
}

/* --- Cardinal: below (centered) --- */
.location-pin--label-down .location-pin-label {
  left: 50%;
  top: calc(50% + 40px);
  transform: translateX(-50%);
}
.location-pin--label-down .location-pin-label::after {
  left: 50%;
  top: -6px;
  transform: translateX(-50%) rotate(45deg);
  border-left: 1px solid rgba(63, 115, 174, 0.16);
  border-top: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 2px 0 0 0;
}

/* --- Cardinal: left (centered) --- */
.location-pin--label-left .location-pin-label {
  right: calc(50% + 40px);
  top: 50%;
  transform: translateY(-50%);
}
.location-pin--label-left .location-pin-label::after {
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid rgba(63, 115, 174, 0.16);
  border-right: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 0 2px 0 0;
}

/* --- Cardinal: right (centered) --- */
.location-pin--label-right .location-pin-label {
  left: calc(50% + 40px);
  top: 50%;
  transform: translateY(-50%);
}
.location-pin--label-right .location-pin-label::after {
  left: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-bottom: 1px solid rgba(63, 115, 174, 0.16);
  border-left: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 0 0 0 2px;
}

/* --- Up & left (default) --- */
.location-pin--label-up-left .location-pin-label {
  right: calc(50% + 18px);
  bottom: calc(50% + 18px);
}
.location-pin--label-up-left .location-pin-label::after {
  right: 14px;
  bottom: -6px;
  transform: rotate(45deg);
  border-right: 1px solid rgba(63, 115, 174, 0.16);
  border-bottom: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 0 0 2px 0;
}

/* --- Up & right --- */
.location-pin--label-up-right .location-pin-label {
  left: calc(50% + 18px);
  bottom: calc(50% + 18px);
}
.location-pin--label-up-right .location-pin-label::after {
  left: 14px;
  bottom: -6px;
  transform: rotate(45deg);
  border-left: 1px solid rgba(63, 115, 174, 0.16);
  border-bottom: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 0 0 0 2px;
}

/* --- Down & left --- */
.location-pin--label-down-left .location-pin-label {
  right: calc(50% + 18px);
  top: calc(50% + 18px);
}
.location-pin--label-down-left .location-pin-label::after {
  right: 14px;
  top: -6px;
  transform: rotate(45deg);
  border-top: 1px solid rgba(63, 115, 174, 0.16);
  border-right: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 0 2px 0 0;
}

/* --- Down & right --- */
.location-pin--label-down-right .location-pin-label {
  left: calc(50% + 18px);
  top: calc(50% + 18px);
}
.location-pin--label-down-right .location-pin-label::after {
  left: 14px;
  top: -6px;
  transform: rotate(45deg);
  border-top: 1px solid rgba(63, 115, 174, 0.16);
  border-left: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 2px 0 0 0;
}

@keyframes location-pin-label-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* On tablet/mobile the map is shorter — drop the permanent label and
   keep the info inside the stacked card to avoid clutter. */
@media (max-width: 1023px) {
  .location-pin-label { display: none; }
}

.location-pin-label-name {
  font-weight: 800;
  font-size: 0.9375rem;
  color: #0f2a50;
  letter-spacing: -0.01em;
}

.location-pin-label-addr {
  font-size: 0.6875rem;
  color: var(--text-slate, #475569);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.location-pin-label-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.3rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(63, 115, 174, 0.14);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-primary, #3f73ae);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: gap 0.25s ease;
}

.location-pin:hover .location-pin-label-cta,
.location-pin:focus-visible .location-pin-label-cta {
  gap: 0.55rem;
}

.location-pin-label-cta i {
  font-size: 0.625rem;
}

/* ---- Parking callouts (clickable → Google Maps)
       Geo-anchored: JS sets --dx and --dy in px based on each callout's
       real lat/lng projected through Web Mercator at the iframe's zoom.
       Callouts stay hidden until positioned to avoid a flash at (50%,50%). ---- */
.location-callout {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 2;
  opacity: 0;
  transform: translate(var(--dx, 0px), var(--dy, 0px));
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.location-callout.is-positioned {
  animation: location-callout-fade-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--callout-delay, 0.5s) forwards;
}

@keyframes location-callout-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* The visible parking marker — compact apothecary disc with a serif P.
   Acts as a button: click/tap toggles the info popup. */
.location-callout-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  background: var(--brand-primary, #3f73ae);
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(63, 115, 174, 0.22),
    0 0 0 9px rgba(63, 115, 174, 0.12),
    0 8px 18px -4px rgba(15, 42, 80, 0.45),
    0 2px 6px rgba(15, 42, 80, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  z-index: 2;
  font: inherit;
}

.location-callout-dot::before {
  content: "P";
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

/* Continuous pulse around each parking marker — two staggered waves so
   it reads as alive at a glance, not just on hover. */
.location-callout-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2.5px solid var(--brand-primary, #3f73ae);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: location-parking-pulse 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: var(--callout-delay, 0s);
  box-sizing: border-box;
}

.location-callout .location-callout-dot {
  /* Second wave — layered on the wrapper so it doesn't collide with the
     dot's own ::before (the P letter) and ::after (the first wave). */
  position: absolute;
}

.location-callout::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -13px 0 0 -13px;
  border: 2.5px solid var(--brand-primary, #3f73ae);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: location-parking-pulse 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: calc(var(--callout-delay, 0s) + 1.4s);
  z-index: 1;
  box-sizing: border-box;
}

@keyframes location-parking-pulse {
  0%   { transform: scale(0.9); opacity: 0.85; border-width: 2.5px; }
  60%  { opacity: 0.4; }
  100% { transform: scale(2.6);  opacity: 0;    border-width: 0.5px; }
}

@media (max-width: 1023px) {
  .location-callout::before {
    width: 20px;
    height: 20px;
    margin: -12px 0 0 -12px;
  }
}

.location-callout:hover .location-callout-dot,
.location-callout:focus-within .location-callout-dot,
.location-callout.is-open .location-callout-dot {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow:
    0 0 0 4px rgba(63, 115, 174, 0.45),
    0 16px 30px -8px rgba(15, 42, 80, 0.55),
    0 3px 8px rgba(15, 42, 80, 0.24);
}

/* Retired — popup architecture replaces the connector line entirely. */
.location-callout-line { display: none !important; }

/* Info popup — hidden by default, reveals on hover (desktop) or tap
   (mobile, via .is-open set by JS). */
.location-callout-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 20px);
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  max-width: 260px;
  padding: 0.85rem 1rem 0.95rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid rgba(63, 115, 174, 0.16);
  box-shadow:
    0 18px 42px -14px rgba(15, 42, 80, 0.42),
    0 3px 10px rgba(15, 42, 80, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 6;
  white-space: normal;
}

/* Beak pointing from card down to dot */
.location-callout-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: translate(-50%, -54%) rotate(45deg);
  border-right: 1px solid rgba(63, 115, 174, 0.16);
  border-bottom: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 0 0 3px 0;
}

/* "Below" variant — card sits under the dot (beak on top). */
.location-callout--below .location-callout-card {
  bottom: auto;
  top: calc(100% + 20px);
  transform: translateX(-50%) translateY(-6px);
}

.location-callout--below .location-callout-card::after {
  top: 0;
  transform: translate(-50%, -46%) rotate(45deg);
  border: none;
  border-left: 1px solid rgba(63, 115, 174, 0.16);
  border-top: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 3px 0 0 0;
}

/* Reveal triggers: desktop hover, desktop focus-within, any .is-open (JS tap) */
.location-callout:hover .location-callout-card,
.location-callout:focus-within .location-callout-card,
.location-callout.is-open .location-callout-card {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.location-callout--below:hover .location-callout-card,
.location-callout--below:focus-within .location-callout-card,
.location-callout--below.is-open .location-callout-card {
  transform: translateX(-50%) translateY(0);
}

/* Retired — the inline P icon is now the dot itself. */
.location-callout-icon { display: none; }

.location-callout-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.3;
}

.location-callout-label {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f2a50;
  letter-spacing: -0.01em;
}

.location-callout-desc {
  font-size: 0.75rem;
  color: var(--text-slate, #475569);
  letter-spacing: 0;
  line-height: 1.4;
}

.location-callout-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.55rem 0.95rem 0.6rem;
  background: var(--brand-primary, #3f73ae);
  color: #fff;
  border-radius: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px -4px rgba(63, 115, 174, 0.45);
  align-self: flex-start;
}

.location-callout-directions i {
  font-size: 0.625rem;
}

.location-callout-directions:hover,
.location-callout-directions:focus-visible {
  background: var(--brand-dark, #2a5280);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(63, 115, 174, 0.55);
  color: #fff;
}

/* Legacy anchor classes (ne/nw/se/sw) from the earlier connector-line
   design — map them to the new simplified above/below model so saved
   content keeps working. */
.location-callout--ne,
.location-callout--nw { /* card above the dot — default */ }

.location-callout--se .location-callout-card,
.location-callout--sw .location-callout-card {
  bottom: auto;
  top: calc(100% + 20px);
  transform: translateX(-50%) translateY(-6px);
}
.location-callout--se .location-callout-card::after,
.location-callout--sw .location-callout-card::after {
  top: 0;
  transform: translate(-50%, -46%) rotate(45deg);
  border: none;
  border-left: 1px solid rgba(63, 115, 174, 0.16);
  border-top: 1px solid rgba(63, 115, 174, 0.16);
  border-radius: 3px 0 0 0;
}

@keyframes location-pin-drop {
  0%   { transform: translateY(-24px); opacity: 0; }
  60%  { transform: translateY(4px);   opacity: 1; }
  100% { transform: translateY(0);     opacity: 1; }
}

@keyframes location-pin-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.9); opacity: 0.55; border-width: 2px; }
  55%  { opacity: 0.35; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0;    border-width: 1px; }
}

@keyframes location-annotation-in {
  from { opacity: 0; transform: translateY(-50%) translateX(-4px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Tablet & down — annotations stay visible; popups trigger by tap.
   Shrink the pharmacy pin and parking discs a touch so they don't
   dominate the smaller map. */
@media (max-width: 1023px) {
  .location-map-embed {
    min-height: 420px;
    filter: saturate(0.9);
  }
  .location-map-overlay {
    background: linear-gradient(to bottom, transparent 55%, rgba(17, 24, 39, 0.18) 100%);
  }
  .location-pin { width: 52px; height: 52px; }
  .location-callout-dot { width: 28px; height: 28px; }
  .location-callout-dot::before { font-size: 0.875rem; }
  .location-callout-card { min-width: 200px; max-width: 220px; }
}

.location-card {
  position: relative;
  background: var(--white);
  border-radius: 2rem;
  padding: 3rem;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin-top: 4rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1023px) {
  .location-card {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    padding: 2rem;
    /* Sit above the map pins so parking discs don't bleed over the card. */
    z-index: 5;
  }
}

/* ---- Collapsible card on mobile/tablet ---- */
.location-card-collapse,
.location-card-reopen {
  display: none;
}

@media (max-width: 1023px) {
  .location-card-collapse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: -0.5rem 0 1.25rem auto;
    padding: 0.5rem 0.875rem;
    border: 1px solid rgba(63, 115, 174, 0.25);
    border-radius: 999px;
    background: rgba(63, 115, 174, 0.06);
    color: var(--brand-primary, #3f73ae);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
  }

  .location-card-collapse i {
    transition: transform 0.2s ease;
  }

  .location-section.is-collapsed .location-card {
    visibility: hidden;
    pointer-events: none;
  }

  .location-card-reopen {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 6;
    display: none;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 999px;
    background: var(--brand-primary, #3f73ae);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .location-section.is-collapsed .location-card-reopen {
    display: inline-flex;
  }
}

/* Home & NHS Services — offset location card from the left edge (desktop only) */
@media (min-width: 1024px) {
  .page-template-page-templatespage-home-php .location-card,
  .page-template-page-templatespage-nhs-services-php .location-card {
    margin-left: 60px;
  }
}

.location-card-header {
  margin-bottom: 2rem;
}

.location-card-title {
  font-size: 2rem;
  font-weight: 900;
  color: #111827;
}

.location-pharmacy-image {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
  height: 200px;
}

.location-pharmacy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.location-detail {
  display: flex;
  gap: 1rem;
}

.location-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.location-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-slate);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.location-detail-value {
  font-size: 1rem;
  color: #111827;
  line-height: 1.5;
  display: block;
}

.location-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 0.5rem;
}

.location-parking-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.location-parking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(63, 115, 174, 0.06);
  font-size: 0.875rem;
}

.location-parking-name {
  font-weight: 500;
  color: var(--text-dark, #0f1e33);
  line-height: 1.3;
}

.location-parking-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-primary);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.location-parking-directions:hover {
  opacity: 0.7;
}

.location-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.location-hours-day {
  color: var(--text-gray);
  flex-shrink: 0;
}

.location-hours-time {
  font-weight: 600;
  color: #111827;
}

.location-hours-closed {
  color: #ef4444;
}

.location-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #111827;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.location-card-cta {
  display: flex;
  gap: 1rem;
}

/* Location section — mobile fixes */
@media (max-width: 639px) {
  .location-hours-row {
    gap: 1rem;
  }

  .location-hours-day {
    min-width: 5.5rem;
    flex-shrink: 0;
  }

  .location-card-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .location-card-cta .cta-button {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}


/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 5rem 0 6rem;
  background: var(--brand-light);
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: rgba(63, 115, 174, 0.05);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(42, 80, 122, 0.05);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

/* Header */
.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-header .section-badge {
  margin-bottom: 1.5rem;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .testimonials-title {
    font-size: 3rem;
  }
}

.testimonials-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .testimonials-description {
    font-size: 1.25rem;
  }
}

.testimonials-disclaimer {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid rgba(63, 115, 174, 0.15);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  max-width: 640px;
  text-align: left;
}

.testimonials-disclaimer i {
  color: var(--brand-primary);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.testimonials-disclaimer p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1.5;
}

/* Grid — 12-column for flexible card sizing */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* Shared card base */
.testimonial-card {
  position: relative;
  border-radius: 2rem;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.5s ease;
}

.testimonial-card-body {
  position: relative;
  z-index: 10;
}

/* Verified badge — brand-coloured pill */
.testimonial-verified {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 4px 12px rgba(63, 115, 174, 0.3);
  z-index: 20;
}

.testimonial-verified i {
  font-size: 0.625rem;
}

/* Star rows */
.star-row-large {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.testimonials-section .star-row {
  margin-bottom: 1.5rem;
}

.star-row-small {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  justify-content: center;
}

/* Quote text — editorial serif italic */
.testimonial-quote {
  font-family: var(--font-heading);
  font-style: italic;
  color: #111827;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.testimonial-quote-large {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .testimonial-quote-large {
    font-size: 1.5rem;
  }
}

/* Highlight spans in quotes — brand blue bold */
.testimonial-highlight {
  color: var(--brand-primary);
  font-weight: 700;
  font-style: normal;
}

/* Author row */
.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Avatar — brand gradient circle */
.testimonial-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(63, 115, 174, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
}

.testimonial-avatar-large {
  width: 5rem;
  height: 5rem;
  font-size: 1.875rem;
  box-shadow: 0 8px 20px rgba(63, 115, 174, 0.25);
}

/* Service tag — branded pill */
.testimonial-service {
  display: inline-block;
  background: rgba(63, 115, 174, 0.1);
  color: var(--brand-dark);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

/* Author name */
.testimonial-author-name {
  font-family: var(--font-primary);
  font-weight: 700;
  color: #111827;
  font-size: 1.25rem;
  margin-bottom: 0.125rem;
}

.testimonial-author-name-large {
  font-size: 1.5rem;
}

/* Verified status under name */
.testimonial-author-status {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
}

/* Highlights row (large card) */
.testimonial-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.testimonial-highlight-item {
  text-align: center;
}

.testimonial-highlight-item i {
  font-size: 1.5rem;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.testimonial-highlight-item span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-slate);
}

@media (max-width: 639px) {
  .testimonial-highlight-item i {
    font-size: 1.25rem;
  }
  .testimonial-highlight-item span {
    font-size: 0.75rem;
  }
}

/* Checklist (medium cards) */
.testimonial-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.testimonial-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-check i {
  color: var(--brand-primary);
  font-size: 1rem;
}

.testimonial-check span {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

/* ---- Card sizes ---- */

/* Large card (7 col) */
.testimonial-card-large {
  background: linear-gradient(135deg, var(--white), rgba(63, 115, 174, 0.02), var(--white));
  border: 2px solid #f3f4f6;
  padding: 2rem;
}

.testimonial-card-large:hover {
  border-color: rgba(63, 115, 174, 0.2);
  box-shadow: 0 20px 60px rgba(63, 115, 174, 0.12);
}

@media (min-width: 768px) {
  .testimonial-card-large {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .testimonial-card-large {
    grid-column: span 7;
  }
}

/* Medium card (5 col) */
.testimonial-card-medium {
  background: linear-gradient(135deg, var(--white), var(--white));
  border: 2px solid #f3f4f6;
}

.testimonial-card-medium:hover {
  border-color: rgba(63, 115, 174, 0.2);
  box-shadow: 0 16px 48px rgba(63, 115, 174, 0.1);
}

@media (min-width: 1024px) {
  .testimonial-card-medium {
    grid-column: span 5;
  }
}

/* CTA card (7 col, brand gradient) */
.testimonial-card-cta {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  box-shadow: 0 20px 60px rgba(42, 80, 122, 0.25);
  padding: 2.5rem;
}

@media (min-width: 1024px) {
  .testimonial-card-cta {
    grid-column: span 7;
  }
}

.testimonial-cta-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.testimonial-cta-body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .testimonial-cta-body {
    flex-direction: row;
    justify-content: space-between;
  }
}

.testimonial-cta-content {
  flex: 1;
}

.testimonial-cta-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .testimonial-cta-title {
    font-size: 2.25rem;
  }
}

.testimonial-cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Rating card inside CTA — glassmorphic */
.testimonial-cta-rating {
  flex-shrink: 0;
}

.testimonial-cta-rating-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
}

.testimonial-cta-score {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.testimonial-cta-rating-card .star-row-small {
  margin-bottom: 0.5rem;
}

.testimonial-cta-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}


/* ============================================
   STICKY CTA
   ============================================ */
/* --- Dark premium sticky CTA --- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(63, 115, 174, 0.25);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
  z-index: 9990;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-cta-visible {
  transform: translateY(0);
}

.sticky-cta-hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 1.5rem;
}

.sticky-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sticky-cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.sticky-cta-subtitle {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Trust chip between text and buttons */
.sticky-cta-centre {
  display: flex;
  align-items: center;
}

.sticky-cta-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

a.sticky-cta-trust-chip:hover,
a.sticky-cta-trust-chip:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.sticky-cta-trust-chip i {
  color: var(--brand-secondary);
  font-size: 0.75rem;
}

.sticky-cta-buttons {
  display: flex;
  gap: 0.75rem;
}

.sticky-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sticky-cta-primary {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.sticky-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(63, 115, 174, 0.12), transparent);
  transition: left 0.5s ease;
}

.sticky-cta-primary:hover::before {
  left: 100%;
}

.sticky-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.sticky-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sticky-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.sticky-cta-close {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  transition: all 0.3s ease;
}

.sticky-cta-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  transform: translateY(-50%) rotate(90deg);
}

@media (max-width: 767px) {
  .sticky-cta-text,
  .sticky-cta-centre {
    display: none;
  }

  .sticky-cta-content {
    justify-content: center;
  }

  .sticky-cta-buttons {
    width: 100%;
  }

  .sticky-cta-button {
    flex: 1;
    justify-content: center;
  }
}


/* ============================================
   FOOTER
   ============================================ */
.footer-section {
  background-color: #0f172a;
  color: #e2e8f0;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(63, 115, 174, 0.15), transparent 40%);
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-column-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* Footer Logo */
.footer-brand .footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.footer-brand .footer-logo img,
.footer-logo .logo-image {
  height: auto;
  width: auto;
  max-height: 80px;
  max-width: 180px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo:hover img,
.footer-logo:hover .logo-image {
  opacity: 1;
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 2rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: var(--brand-primary);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #94a3b8;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--brand-primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-contact-icon {
  color: var(--brand-primary);
  font-size: 1.25rem;
  width: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-text {
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer-contact-text span {
  display: block;
}

.footer-contact-text a {
  color: var(--white);
  font-weight: 600;
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-cert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

a.footer-cert-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a.footer-cert-link:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

.footer-cert-icon {
  font-size: 1.5rem;
  color: #16a34a;
}

.footer-cert-text {
  display: flex;
  flex-direction: column;
}

.footer-cert-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-cert-number {
  font-weight: 700;
  color: var(--white);
}

.footer-cert-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.1);
  display: none;
}

@media (min-width: 768px) {
  .footer-cert-divider {
    display: block;
  }
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-link {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-legal-link:hover {
  color: var(--white);
}

.footer-legal-divider {
  color: #334155;
}


/* ============================================
   REVOLUTION SLIDER PLACEHOLDER
   ============================================ */
.revslider-section {
  width: 100%;
  height: 800px;
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
}

.revslider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.revslider-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.revslider-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.revslider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 80, 122, 0.75), rgba(63, 115, 174, 0.6));
  z-index: 1;
  pointer-events: none;
}

.revslider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 2.5rem;
}

.revslider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.revslider-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.revslider-badge i {
  font-size: 0.75rem;
}

.revslider-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.04em;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.revslider-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
}

.revslider-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.revslider-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: var(--white);
  color: var(--brand-dark);
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.0625rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 48px rgba(255, 255, 255, 0.15);
  border: none;
}

.revslider-btn-primary:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 80px rgba(255, 255, 255, 0.25);
}

.revslider-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--white);
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.0625rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.revslider-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-6px) scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
  .revslider-section {
    height: 600px;
  }

  .revslider-title {
    font-size: 2.5rem;
  }

  .revslider-subtitle {
    font-size: 1.0625rem;
  }

  .revslider-cta {
    flex-direction: column;
    width: 100%;
  }

  .revslider-btn-primary,
  .revslider-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 1.125rem 2rem;
    font-size: 1rem;
  }
}


/* ============================================
   VIDEO MODAL
   Fullscreen overlay for Vimeo video playback
   ============================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.video-modal-container {
  position: relative;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.video-modal.is-active .video-modal-container {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-modal-player {
  width: 100%;
  height: 100%;
  background: #000;
}

.video-modal-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .video-modal-container {
    width: 95vw;
    border-radius: 0.75rem;
  }

  .video-modal-close {
    top: -2.5rem;
  }
}


/* ============================================
   SHARED: BOOKING CALENDAR WRAPPER
   ============================================ */
.booking-calendar-wrapper {
  position: relative;
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(63, 115, 174, 0.1);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(63, 115, 174, 0.08);
}

.booking-calendar-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
}

@media (min-width: 1024px) {
  .booking-calendar-wrapper iframe {
    min-height: 800px;
  }
}
