/* ============================================
   BASE VARIABLES
   ============================================ */
:root {
  --brand-purple: #a39ee3;
  --brand-light: #fef6f4;
  --brand-dark: #6B4FA0;
  --brand-accent: #8b85d6;
  --text-dark: #2D1B4E;
  --text-gray: #4A3D5C;
  --text-slate: #6B5F7A;
  --white: #ffffff;
  --font-primary: 'DM Sans', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --font-accent: 'Syne', sans-serif;

  /* Warm accent palette */
  --terracotta: #C47A65;
  --terracotta-soft: #D4907C;
  --terracotta-dark: #B8694F;
  --trust-green: #7A9E7E;

  --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);
}


/* ============================================
   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: 80px; /* Space for fixed navigation */
}

/* WordPress admin bar: push fixed nav below admin bar */
body.admin-bar .mega-menu-nav {
  top: 32px;
}

body.admin-bar .mega-menu-list {
  top: 112px; /* 80px nav + 32px admin bar */
  height: calc(100vh - 112px);
  height: calc(100dvh - 112px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .mega-menu-nav {
    top: 46px; /* WP admin bar is taller on mobile */
  }
  body.admin-bar .mega-menu-list {
    top: 126px; /* 80px nav + 46px admin bar */
    height: calc(100vh - 126px);
    height: calc(100dvh - 126px);
  }
}

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 (the only non-semantic classes allowed in HTML)
   ============================================ */
    .gradient-text {
      background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-purple) 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; /* Slightly smaller for elegance */
      margin: 0.1em 0;
    }

.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

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

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

.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 {
  background: linear-gradient(to right, var(--brand-purple), var(--brand-dark));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.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(163, 158, 227, 0.2);
  box-shadow: var(--shadow-lg);
}

.secondary-cta:hover {
  border-color: var(--brand-purple);
  transform: scale(1.05);
}


/* ============================================
   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; }
}


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

.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-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 78, 124, 0.7), rgba(125, 111, 163, 0.6));
  z-index: 1;
  pointer-events: none;
}

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

.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-block;
  padding: 0.625rem 1.5rem;
  background: rgba(154, 227, 216, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(154, 227, 216, 0.3);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.revslider-title {
  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);
  font-family: var(--font-heading);
}

.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: #9ae3d8;
  color: var(--text-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(154, 227, 216, 0.3);
  border: none;
}

.revslider-btn-primary:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 80px rgba(154, 227, 216, 0.5);
  background: #85d9cc;
}

.revslider-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-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;
  }
}


/* ============================================
   MEGA MENU NAVIGATION
   Premium design with icon dropdowns
   ============================================ */
.mega-menu-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Glass background via pseudo-element to prevent clipping children */
.mega-menu-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(163, 158, 227, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: -1;
  transition: all 0.3s ease;
}

.mega-menu-nav.scrolled::before {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.mega-menu-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

    /* Logo */
.mega-menu-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-right: 3rem;
}

.mega-menu-logo:hover {
  transform: scale(1.05);
}

.logo-image {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.footer-logo .logo-image {
  height: 60px;
  filter: brightness(0) invert(1); /* Make logo white for dark footer */
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

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

/* Menu List */
.mega-menu-list {
  display: none;
  align-items: center;
  gap: 1.5rem; /* Increased gap for cleaner look */
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .mega-menu-list {
    display: flex;
    pointer-events: none; /* Prevent the oversized list bounding box from blocking page content beneath the nav */
  }
}

.mega-menu-item {
  position: relative;
  flex-shrink: 0; /* Prevent items from shrinking */
  pointer-events: auto; /* Re-enable on each nav item so links remain clickable */
}

.mega-menu-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 0.5rem; /* Reduced padding, relying on gap */
  font-size: 1rem; /* Slightly larger text */
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap; /* Force single line text */
}

.mega-menu-link i:first-child {
  font-size: 1rem;
  color: var(--brand-purple);
  transition: transform 0.3s ease;
}

.mega-menu-link:hover {
  background: rgba(163, 158, 227, 0.1);
  color: var(--brand-dark);
}

.mega-menu-link:hover i:first-child {
  transform: scale(1.1);
}

.mega-menu-arrow {
  font-size: 0.625rem !important;
  color: #9ca3af !important;
  transition: transform 0.3s ease !important;
  margin-left: 0.25rem;
}

/* Arrow rotation handled by .dropdown-open class below, not :hover */

/* Dropdown */
.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  padding-top: 1rem;
  background: transparent;
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  min-width: 500px;
  z-index: 100;
}

.mega-menu-dropdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: transparent;
}

.mega-menu-dropdown-wide {
  min-width: 750px;
}

/* Dropdown visibility is JS-controlled only via .dropdown-open class.
   CSS :hover was removed because fast mouse passes across the nav
   would instantly show the dropdown (z-index: 9999), blocking hero
   CTAs underneath. JS adds an open delay so only intentional hovers trigger. */
.mega-menu-has-dropdown.dropdown-open .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: none; /* Transparent wrapper must NOT capture clicks */
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Also add the dropdown arrow rotation for JS-managed state */
.mega-menu-has-dropdown.dropdown-open .mega-menu-arrow {
  transform: rotate(180deg);
}

/* Bridge no longer needs pointer-events — JS handles the hover gap with a timeout */
.mega-menu-dropdown::before {
  pointer-events: none;
}

.mega-menu-dropdown-inner {
  pointer-events: none; /* Only interactive when dropdown is open */
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(163, 158, 227, 0.15);
}

.mega-menu-has-dropdown.dropdown-open .mega-menu-dropdown-inner {
  pointer-events: auto; /* Enable clicks only when dropdown is intentionally open */
}

.mega-menu-dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.mega-menu-travel .mega-menu-dropdown-inner {
  grid-template-columns: 1fr 1fr 1.2fr;
}

/* Dropdown Sections */
.mega-menu-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mega-menu-section-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(163, 158, 227, 0.2);
}

.mega-menu-section-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-section-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.mega-menu-section-links a i {
  font-size: 0.875rem;
  color: var(--brand-purple);
  width: 1.25rem;
  flex-shrink: 0;
}

.mega-menu-section-links a:hover {
  background: rgba(163, 158, 227, 0.1);
  color: var(--brand-dark);
  padding-left: 1rem;
}

/* Destinations Grid */
.mega-menu-destinations {
  border-left: 2px solid rgba(163, 158, 227, 0.15);
  padding-left: 2rem;
}

.mega-menu-destinations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-destination-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(163, 158, 227, 0.05);
  border: 2px solid rgba(163, 158, 227, 0.15);
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mega-menu-destination-card:hover {
  background: rgba(163, 158, 227, 0.15);
  border-color: var(--brand-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(163, 158, 227, 0.2);
}

.mega-menu-flag {
  width: 28px;
  height: 21px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mega-menu-destination-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #374151;
}

.mega-menu-destination-card:hover .mega-menu-destination-name {
  color: var(--brand-dark);
}

/* CTA Buttons */
    .mega-menu-cta {
  display: none;
  align-items: center;
  gap: 0.75rem; /* Tighter gap */
  flex-shrink: 0; /* Prevent shrinking */
}

@media (min-width: 1024px) {
  .mega-menu-cta {
    display: flex;
  }
}

.mega-menu-cta-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem; /* Compact padding */
  background: rgba(163, 158, 227, 0.1);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap; /* Force single line */
}

.mega-menu-cta-phone:hover {
  background: rgba(163, 158, 227, 0.2);
  border-color: var(--brand-purple);
}

.mega-menu-cta-phone i {
  font-size: 0.875rem;
}

.mega-menu-cta-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(to right, var(--brand-purple), var(--brand-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(163, 158, 227, 0.3);
  transition: all 0.3s ease;
}

.mega-menu-cta-book:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(163, 158, 227, 0.4);
}

/* Mobile Toggle */
.mega-menu-mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
}

@media (min-width: 1024px) {
  .mega-menu-mobile-toggle {
    display: none;
  }
}

.mega-menu-mobile-toggle span {
  width: 1.5rem;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mega-menu-mobile-toggle:hover span {
  background: var(--brand-purple);
}

    /* Mobile Menu - Premium Redesign */
@media (max-width: 1023px) {
  .mega-menu-list {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 8rem; /* Extra padding for bottom actions */
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid rgba(163, 158, 227, 0.1);
    z-index: 9998;
    pointer-events: none; /* Prevent hidden menu from blocking page interactions */
  }

  .mega-menu-list.mobile-open {
    transform: translateX(0);
    pointer-events: auto; /* Re-enable interactions when menu is open */
  }

  .mega-menu-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }

  .mega-menu-link {
    width: 100%;
    justify-content: space-between;
    padding: 1.25rem 0.5rem;
    font-size: 1.25rem; /* Larger text */
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-primary); /* Matches buttons/body for clarity */
    letter-spacing: -0.01em;
  }
  
  .mega-menu-link:hover,
  .mega-menu-has-dropdown.mobile-dropdown-open > .mega-menu-link {
    color: var(--brand-purple);
    background: transparent;
    padding-left: 1rem; /* Slide effect */
  }

  .mega-menu-arrow {
    font-size: 0.875rem !important;
    background: rgba(163, 158, 227, 0.1);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  /* Mobile Dropdown Styling */
  .mega-menu-dropdown {
    position: static;
    transform: none;
    margin-top: 0;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    display: none;
    background: #f8f7ff; /* Subtle contrast background */
    border-radius: 1rem;
    margin-bottom: 1rem;
  }

  .mega-menu-has-dropdown.mobile-dropdown-open .mega-menu-dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  .mega-menu-dropdown-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
    background: transparent;
    pointer-events: auto; /* Safe on mobile — parent uses display:none to hide */
  }

  .mega-menu-section-title {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
  }

  .mega-menu-section-links a {
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 0.75rem;
  }

  .mega-menu-travel .mega-menu-dropdown-inner {
    grid-template-columns: 1fr;
  }

  .mega-menu-destinations {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .mega-menu-destinations-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile Actions (Book & Call) */
  .mobile-nav-actions {
    margin-top: 2rem;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
  }
  
  .mobile-nav-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.125rem;
  }
}

/* Hide mobile actions on desktop */
@media (min-width: 1024px) {
  .mobile-nav-actions {
    display: none;
  }
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 20px; /* Body already provides 80px for fixed nav */
  padding-bottom: 5rem;
  overflow: hidden;
}

/* Background blobs */
.hero-bg-shape-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: rgba(163, 158, 227, 0.1);
  border-radius: 50%;
  filter: blur(100px);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-bg-shape-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(139, 133, 214, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite reverse;
}

/* Grid */
.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;
  }
}

/* Content column */
.hero-content {
  text-align: center;
  animation: fadeInUp 0.8s ease-out; /* No 'forwards' — final state set explicitly below
                                        to avoid transform context causing hit-test issues */
  opacity: 1;
  position: relative;
  z-index: 35; /* Above hero-image-card (20) and rating-badge (30) */
}

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

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 122, 101, 0.12);
  border-radius: 9999px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(196, 122, 101, 0.10), 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: default;
}

.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-purple);
  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-purple);
}

.hero-badge-text {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-slate);
  transition: color 0.3s ease;
}

.hero-badge:hover .hero-badge-text {
  color: var(--brand-purple);
}

    /* Title */
    .hero-title {
      font-size: 3rem;
      font-weight: 800; /* Extra bold for authority */
      color: #2D1B4E; /* Richer black/navy */
      margin-bottom: 1.5rem;
      letter-spacing: -0.05em; /* Tighter, editorial tracking */
      line-height: 1.05; /* Compact leading for a solid block feel */
    }

    .hero-title br {
      display: block; /* Force stacking on all screens for impact */
    }

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

    @media (min-width: 1024px) {
      .hero-title {
        font-size: 5.5rem; /* Massive scale for desktop */
        line-height: 1;
      }
    }

/* Description */
.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;
  }
}

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

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

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

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

/* Trust indicators */
.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: var(--brand-purple);
  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;
}


/* ============================================
   HERO TESTIMONIAL CARD
   ============================================ */
.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: var(--brand-purple);
  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: #2D1B4E;
  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: var(--brand-purple);
  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: var(--brand-dark);
}

.hero-testimonial-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--brand-purple);
  border-radius: 0 0 1rem 1rem;
}


/* ============================================
   HERO VISUAL (right column)
   ============================================ */
.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(163, 158, 227, 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;
}

/* Main image card */
.hero-image-card {
  position: relative;
  width: 420px;
  height: 560px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
  border: 6px solid var(--white);
  z-index: 20;
  transform: rotate(-2deg);
  transition: transform 0.7s ease-out; /* Was 'all' — only transform needs to animate */
}

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

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.7s ease;
}

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

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

    .hero-image-caption {
      position: absolute;
      bottom: 1.5rem;
      left: 1.5rem;
      right: 1.5rem;
      padding: 1.5rem;
      background: rgba(163, 158, 227, 0.9);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: 1.25rem;
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: var(--white);
      box-shadow: 0 10px 30px -5px rgba(109, 104, 181, 0.4);
      transform: translateY(0);
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .hero-image-card:hover .hero-image-caption {
      transform: translateY(-5px);
      background: rgba(109, 104, 181, 0.95);
    }

.caption-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.caption-title {
  font-size: 1.875rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}


/* ============================================
   GOOGLE RATING BADGE
   ============================================ */
.rating-badge {
  position: absolute;
  bottom: 3rem;
  right: -2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  min-width: 260px;
  z-index: 30;
  transition: transform 0.5s ease;
}

.rating-badge:hover {
  transform: translateY(-4px);
}

.rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

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

.google-icon-wrapper {
  width: 2rem;
  height: 2rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f3f4f6;
}

.google-icon-wrapper i {
  font-size: 1rem;
  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: 700;
  font-size: 0.875rem;
  color: #2D1B4E;
}

.badge-success {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #f0fdf4;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid #dcfce7;
}

.badge-success i {
  font-size: 0.625rem;
  color: #16a34a;
}

.badge-success span {
  font-size: 0.625rem;
  font-weight: 700;
  color: #15803d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.score-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
  color: #2D1B4E;
  letter-spacing: -0.02em;
}

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

.rating-score .star-row {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.rating-count {
  font-size: 0.6875rem;
  color: #9ca3af;
  font-weight: 500;
}

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

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

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

.rating-location span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
}

.rating-link {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--brand-purple);
}

.rating-link:hover {
  text-decoration: underline;
}


/* ============================================
   HERO WARM PALETTE OVERRIDES (scoped to .hero-section only)
   ============================================ */

/* Background — soft cream/blush */
.hero-section {
  background: #FDF6F3;
}

/* Decorative blobs — warm terracotta tint instead of purple */
.hero-section .hero-bg-shape-1 {
  background: rgba(196, 122, 101, 0.08);
}

.hero-section .hero-bg-shape-2 {
  background: rgba(212, 144, 124, 0.08);
}

/* Visual glow — warm tint */
.hero-section .hero-visual-glow {
  background: linear-gradient(135deg, rgba(196, 122, 101, 0.12), #FDF6F3);
}

/* Headlines — deeper purple #6B4FA0 (hero only) */
.hero-section .gradient-text {
  background: linear-gradient(135deg, #6B4FA0 0%, #8B6BBF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Body text — dark purple-charcoal (hero gets darker than --text-gray default) */
.hero-section .hero-description {
  color: #2D1B4E;
}

.hero-section .hero-badge-text {
  color: #2D1B4E;
}

.hero-section .hero-badge:hover .hero-badge-text {
  color: #6B4FA0;
}

/* Badge border — warm tint */
.hero-section .hero-badge {
  border-color: rgba(196, 122, 101, 0.15);
  box-shadow: 0 8px 30px rgba(196, 122, 101, 0.10), 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Pulse dot — deep purple to match headline */
.hero-section .pulse-dot span:first-child {
  background: #6B4FA0;
}

.hero-section .pulse-dot span:last-child {
  background: #6B4FA0;
}

/* Primary CTA — saturated terracotta */
.hero-section .primary-cta {
  background: linear-gradient(135deg, #C47A65, #B8694F);
  box-shadow: 0 10px 25px -3px rgba(196, 122, 101, 0.35), 0 4px 10px -2px rgba(196, 122, 101, 0.15);
}

.hero-section .primary-cta:hover {
  background: linear-gradient(135deg, #D4907C, #C47A65);
  box-shadow: 0 20px 35px -5px rgba(196, 122, 101, 0.4), 0 8px 15px -3px rgba(196, 122, 101, 0.2);
}

/* Secondary CTA — warm accent border */
.hero-section .secondary-cta {
  color: #6B4FA0;
  border-color: rgba(196, 122, 101, 0.25);
}

.hero-section .secondary-cta:hover {
  border-color: #C47A65;
  color: #C47A65;
}

/* Trust indicators — muted sage green ticks */
.hero-section .trust-item i {
  color: #7A9E7E;
  opacity: 0.9;
}

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

.hero-section .trust-item span {
  color: #2D1B4E;
}

.hero-section .dot-separator {
  background: rgba(196, 122, 101, 0.3);
}

/* Testimonial card — warm shadow */
.hero-section .hero-testimonial {
  box-shadow: 0 8px 30px rgba(196, 122, 101, 0.12);
  border-color: rgba(196, 122, 101, 0.08);
}

.hero-section .quote-icon {
  background: #6B4FA0;
}

.hero-section .hero-quote {
  color: #2D1B4E;
}

.hero-section .result-badge {
  background: #C47A65;
}

.hero-section .hero-testimonial:hover .result-badge {
  background: #B8694F;
}

.hero-section .hero-testimonial-accent {
  background: linear-gradient(90deg, #C47A65, #D4907C);
}

/* Image card — warm shadow */
.hero-section .hero-image-card {
  box-shadow: 0 30px 60px -15px rgba(196, 122, 101, 0.25);
}

/* Image caption — deep purple instead of brand-purple */
.hero-section .hero-image-caption {
  background: rgba(107, 79, 160, 0.9);
  box-shadow: 0 10px 30px -5px rgba(107, 79, 160, 0.35);
}

.hero-section .hero-image-card:hover .hero-image-caption {
  background: rgba(107, 79, 160, 0.95);
}

/* Rating badge — warm shadow */
.hero-section .rating-badge {
  box-shadow: 0 20px 60px -15px rgba(196, 122, 101, 0.12);
}

.hero-section .rating-location i {
  color: #6B4FA0;
}

.hero-section .rating-link {
  color: #C47A65;
}


/* ============================================
   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(196, 122, 101, 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(196, 122, 101, 0.1);
}

/* Individual stat */
.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(196, 122, 101, 0.15), rgba(184, 105, 79, 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(--terracotta);
  transition: color 0.3s ease;
}

.stat-item:hover .stat-icon {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-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: #2D1B4E;
  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;
}

/* Vertical dividers */
.stat-divider {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, rgba(196, 122, 101, 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;
  }

  /* Centre the 5th item on its own row */
  .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; /* Tighter vertical gap */
    padding: 2rem 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.85); /* Slightly more opaque for contrast */
  }

  .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(196, 122, 101, 0.12);
    background: linear-gradient(135deg, #fef6f4, #ffffff);
    border: 1px solid rgba(196, 122, 101, 0.1);
  }

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

  .stat-number {
    font-size: 1.375rem; /* Slightly refined size */
    color: var(--brand-dark); /* Richer color */
  }
  
  .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(254, 246, 244, 0.9));
    border: 1px solid rgba(196, 122, 101, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin-top: 0.75rem;
    box-shadow: 0 4px 15px rgba(196, 122, 101, 0.08);
    gap: 1rem;
  }

  .stat-item:last-child .stat-icon {
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: rgba(196, 122, 101, 0.08);
    color: var(--terracotta);
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
  }

  .stat-item:last-child:hover .stat-icon {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
    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;
  }
}


/* ============================================
   HOW IT WORKS SECTION
   3-step process with timeline connector
   ============================================ */
.how-it-works-section {
  background: var(--white);
  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(196, 122, 101, 0.04);
  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: #2D1B4E;
  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(196, 122, 101, 0.12);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(196, 122, 101, 0.08);
  width: 100%;
  max-width: 400px;
  z-index: 2;
}

.how-it-works-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(196, 122, 101, 0.18);
  border-color: var(--terracotta-soft);
}

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

/* Step number badge */
.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(--terracotta), var(--terracotta-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(196, 122, 101, 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);
}

/* Icon */
.how-it-works-step-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, rgba(196, 122, 101, 0.10), rgba(184, 105, 79, 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(--terracotta), var(--terracotta-dark));
  transform: scale(1.1) rotate(5deg);
}

.how-it-works-step-icon i {
  font-size: 2rem;
  color: var(--terracotta);
  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: #2D1B4E;
  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(--terracotta);
}

@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;
}

@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(196, 122, 101, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(196, 122, 101, 0.15);
  transition: all 0.3s ease;
}

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

.how-it-works-step-time i {
  font-size: 0.875rem;
  color: var(--terracotta);
  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(--terracotta-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(--terracotta-soft), var(--terracotta-dark));
    z-index: 1;
  }

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

  /* Animated dots on connector */
  .how-it-works-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--terracotta-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(196, 122, 101, 0.2);
  }
}

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

.how-it-works-cta .cta-button {
  margin-bottom: 0;
}

/* Trust badges in How It Works */
.how-it-works-trust-badges {
  margin-top: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(196, 122, 101, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  line-height: 0;
}

.how-it-works-trust-badges img {
  height: 70px;
  width: auto;
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  display: block;
  margin: 0;
}

.how-it-works-trust-badges img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

@media (max-width: 767px) {
  .how-it-works-trust-badges {
    gap: 2.5rem;
    padding-top: 1.25rem;
    padding-bottom: 0;
    margin-top: 1.5rem;
  }

  .how-it-works-trust-badges img {
    height: 60px;
  }
}

@media (max-width: 479px) {
  .how-it-works-trust-badges {
    gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 0;
  }

  .how-it-works-trust-badges img {
    height: 50px;
  }
}


/* ============================================
   TREATMENTS SECTION
   ============================================ */
.treatments-section {
  padding: 5rem 0 6rem;
  background: #ffffff;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 122, 101, 0.12);
  border-radius: 9999px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(196, 122, 101, 0.10), 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: default;
}

.section-badge-text {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-slate);
  transition: color 0.3s ease;
}

.section-badge:hover .section-badge-text {
  color: var(--brand-dark);
}

.treatments-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2D1B4E;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.treatments-description {
  font-size: 1.0625rem;
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Card grid */
.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* Individual card */
.treatment-card {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #f3f4f6;
  transition: box-shadow 0.5s ease, transform 0.3s ease;
}

.treatment-card:hover {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-0.5rem);
}

.treatment-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
}

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

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

/* Dark gradient overlay */
.treatment-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(109, 104, 181, 0.4) 50%, transparent);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.treatment-card:hover .treatment-card-overlay {
  opacity: 1;
}

/* Hover button */
.treatment-card-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.treatment-card:hover .treatment-card-hover {
  opacity: 1;
}

.treatment-card-button {
  background: var(--white);
  color: var(--brand-purple);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(1rem);
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.treatment-card:hover .treatment-card-button {
  transform: translateY(0);
  box-shadow: var(--shadow-xl);
}

/* Bottom label */
.treatment-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 10;
}

.treatment-card-title {
  font-family: var(--font-primary);
  color: var(--white);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.treatment-card:hover .treatment-card-title {
  transform: translateY(-0.5rem);
}

/* Expanding line on hover */
.treatment-card-line {
  height: 4px;
  width: 0;
  background: var(--white);
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  transition: width 0.5s ease;
}

.treatment-card:hover .treatment-card-line {
  width: 100%;
}


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

.pharmacist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .pharmacist-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

/* Image column */
.pharmacist-image-wrapper {
  position: relative;
}

.pharmacist-image-glow {
  position: absolute;
  inset: 0;
  background: rgba(196, 122, 101, 0.15);
  border-radius: 2.5rem;
  transform: rotate(3deg) scale(1.05);
  filter: blur(20px);
}

.pharmacist-image-card {
  position: relative;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(196, 122, 101, 0.18);
  border: 4px solid var(--white);
  cursor: pointer;
}

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

.pharmacist-image-card:hover .pharmacist-image {
  transform: scale(1.05);
}

/* Video play overlay */
.pharmacist-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.pharmacist-image-card:hover .pharmacist-video-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.play-button {
  position: relative;
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}

.pharmacist-image-card:hover .play-button {
  transform: scale(1.1);
}

.play-button i {
  color: var(--brand-purple);
  font-size: 1.5rem;
  margin-left: 0.25rem;
  position: relative;
  z-index: 10;
}

.play-button-ping {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Video label on hover */
.pharmacist-video-label {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.3s ease;
}

.pharmacist-image-card:hover .pharmacist-video-label {
  opacity: 1;
  transform: translateY(0);
}

.pharmacist-video-label span {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}

/* Experience badge */
.pharmacist-experience-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid #f3f4f6;
  animation: float 6s ease-in-out infinite;
}

.pharmacist-experience-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #C47A65;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.pharmacist-experience-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1023px) {
  .pharmacist-experience-badge {
    bottom: -1rem;
    right: 1rem;
    padding: 1rem;
  }

  .pharmacist-experience-number {
    font-size: 1.75rem;
  }

  .pharmacist-experience-label {
    font-size: 0.6875rem;
  }
}

@media (max-width: 767px) {
  .pharmacist-image-wrapper {
    max-width: 400px;
    margin: 0 auto 1.5rem;
  }

  .pharmacist-image-card {
    border-radius: 1.5rem;
    border-width: 3px;
  }

  .pharmacist-video-label {
    bottom: 1rem;
    opacity: 1;
    transform: translateY(0);
  }

  .pharmacist-experience-badge {
    bottom: -0.75rem;
    right: -0.25rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
  }

  .pharmacist-experience-number {
    font-size: 1.5rem;
    margin-bottom: 0.125rem;
  }

  .pharmacist-experience-label {
    font-size: 0.625rem;
  }

  .play-button {
    width: 3.5rem;
    height: 3.5rem;
  }

  .play-button i {
    font-size: 1.125rem;
  }
}

/* Content column */
.pharmacist-content {
  padding-top: 1rem;
}

.pharmacist-content .section-badge {
  margin-bottom: 1.5rem;
}

.pharmacist-name {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2D1B4E;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

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

.pharmacist-role {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-primary);
  color: #C47A65;
  margin-bottom: 1.5rem;
}

.pharmacist-bio {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.pharmacist-quote {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
}

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

/* Credentials */
.pharmacist-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.pharmacist-credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f3f4f6;
}

.pharmacist-credential i {
  color: #7A9E7E;
  font-size: 1rem;
}

.pharmacist-credential span {
  font-weight: 700;
  color: #374151;
  font-size: 0.9375rem;
}

/* CTA */
.pharmacist-cta {
  margin-top: 0;
}

.pharmacist-cta .primary-cta {
  background: linear-gradient(135deg, #C47A65, #B8694F);
  box-shadow: 0 10px 25px -3px rgba(196, 122, 101, 0.35);
}


/* ============================================
   SWITCHING PROVIDER SECTION v3
   Premium packaging showcase
   ============================================ */
.switching-section {
  position: relative;
  background: #ffffff;
  padding: 6rem 0;
  overflow: hidden;
}

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

/* Centred header */
.switching-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

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

/* Strong badge variant */
.switching-badge-strong {
  background: linear-gradient(135deg, rgba(163, 158, 227, 0.15), rgba(109, 104, 181, 0.1)) !important;
  border: 2px solid var(--brand-purple) !important;
  padding: 0.875rem 2rem !important;
  box-shadow: 0 8px 30px rgba(163, 158, 227, 0.2), 0 2px 8px rgba(109, 104, 181, 0.15) !important;
}

.switching-badge-strong .section-badge-text {
  color: var(--brand-dark) !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
}

.switching-badge-strong .pulse-dot span:first-child,
.switching-badge-strong .pulse-dot span:last-child {
  background: var(--brand-dark) !important;
}

.switching-title {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #2D1B4E;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.switching-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 500;
}

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

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

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

.switching-card {
  background: var(--white);
  border: 2px solid rgba(196, 122, 101, 0.12);
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(196, 122, 101, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.switching-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196, 122, 101, 0.3);
  box-shadow: 0 25px 60px rgba(196, 122, 101, 0.18);
}

/* Featured card (first card) */
.switching-card-featured {
  border-color: rgba(196, 122, 101, 0.25);
  box-shadow: 0 15px 50px rgba(196, 122, 101, 0.12);
}

/* --- Image-led card layout --- */
.switching-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

/* Gradient overlay on image bottom */
.switching-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 27, 78, 0.4) 0%, transparent 50%);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
}

/* Icon badge floating on image */
.switching-card-icon-badge {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C47A65;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.switching-card:hover .switching-card-icon-badge {
  background: linear-gradient(135deg, #C47A65, #B8694F);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(196, 122, 101, 0.4);
}

/* --- Icon-only fallback (no image uploaded) --- */
.switching-card-icon-only {
  padding: 2rem 2rem 0;
}

.switching-card-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: linear-gradient(135deg, rgba(196, 122, 101, 0.12), rgba(196, 122, 101, 0.05));
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #C47A65;
  font-size: 1.75rem;
  transition: all 0.4s ease;
}

.switching-card:hover .switching-card-icon {
  background: linear-gradient(135deg, #C47A65, #B8694F);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(196, 122, 101, 0.35);
}

/* Card content area */
.switching-card-content {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.switching-card-title {
  font-family: var(--font-primary);
  font-size: 1.375rem;
  font-weight: 800;
  color: #2D1B4E;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.switching-card:hover .switching-card-title {
  color: #C47A65;
}

.switching-card-desc {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
  flex: 1;
}

.switching-card-highlight {
  display: inline-block;
  margin-top: 1.25rem;
  background: linear-gradient(135deg, #C47A65, #B8694F);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(196, 122, 101, 0.3);
  align-self: flex-start;
}

/* CTAs — centred */
.switching-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

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

@media (max-width: 639px) {
  .switching-card-content {
    padding: 1.25rem 1.5rem 1.75rem;
  }
  .switching-card-image {
    height: 180px;
  }
}


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

.safe-bg-shape-1 {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: rgba(196, 122, 101, 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(212, 144, 124, 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: #2D1B4E;
  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 horizontal 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(196, 122, 101, 0.1);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(196, 122, 101, 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, #C47A65, #D4907C);
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

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

.safe-trust-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(196, 122, 101, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #C47A65;
  font-size: 1.5rem;
  transition: all 0.4s ease;
}

.safe-trust-card:hover .safe-trust-icon {
  background: linear-gradient(135deg, #C47A65, #B8694F);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(196, 122, 101, 0.3);
}

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

.safe-trust-card:hover .safe-trust-title {
  color: #C47A65;
}

.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(196, 122, 101, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(196, 122, 101, 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(196, 122, 101, 0.08);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #C47A65;
  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: #2D1B4E;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.safe-credential-sub {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #C47A65;
  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(196, 122, 101, 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(196, 122, 101, 0.08);
  }
}

/* Footer: verify link + note */
.safe-credential-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(196, 122, 101, 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: #C47A65;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border: 2px solid rgba(196, 122, 101, 0.25);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.safe-verify-link:hover {
  background: rgba(196, 122, 101, 0.06);
  border-color: #C47A65;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 122, 101, 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;
  }
}


/* ============================================
   FOOTER SECTION
   Billion-pound premium design with depth and contrast
   ============================================ */
.footer-section {
  position: relative;
  background: #0f0b1f;
  color: var(--white);
  padding: 5rem 0 0;
  overflow: hidden;
}

.footer-gradient-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(163, 158, 227, 0.15), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(109, 104, 181, 0.12), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(139, 133, 214, 0.05), transparent 60%);
  pointer-events: none;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(163, 158, 227, 0.5), transparent);
}

.footer-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(163, 158, 227, 0.08), transparent);
  pointer-events: none;
}

/* Main footer grid */
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(163, 158, 227, 0.2);
  position: relative;
  z-index: 10;
}

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

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

/* Footer column */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Brand column */
.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-dark));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 10px 30px rgba(163, 158, 227, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.footer-logo-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
}

.footer-logo-icon i {
  font-size: 1.75rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Social links */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(163, 158, 227, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(163, 158, 227, 0.3);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-social-link i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  border-color: var(--brand-purple);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(163, 158, 227, 0.4);
}

.footer-social-link:hover::before {
  opacity: 1;
}

.footer-social-link:hover i {
  color: var(--white);
  transform: scale(1.1);
}

/* Column titles */
.footer-column-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(to right, var(--brand-purple), transparent);
  border-radius: 9999px;
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-left: 0;
}

.footer-link::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--brand-purple);
  font-weight: 700;
}

.footer-link:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact items */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.footer-contact-item:hover {
  transform: translateX(4px);
}

.footer-contact-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, rgba(163, 158, 227, 0.15), rgba(109, 104, 181, 0.1));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(163, 158, 227, 0.3);
  transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-dark));
  border-color: var(--brand-purple);
  box-shadow: 0 8px 20px rgba(163, 158, 227, 0.3);
}

.footer-contact-icon i {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon i {
  transform: scale(1.1);
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.375rem;
}

.footer-contact-text span,
.footer-contact-text a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  line-height: 1.6;
}

.footer-contact-text a {
  transition: color 0.3s ease;
}

.footer-contact-text a:hover {
  color: var(--white);
}

/* Certifications bar */
.footer-certifications {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(163, 158, 227, 0.2);
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.footer-cert-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 2rem;
  background: rgba(163, 158, 227, 0.08);
  border: 1px solid rgba(163, 158, 227, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.footer-cert-item:hover {
  background: rgba(163, 158, 227, 0.12);
  border-color: rgba(163, 158, 227, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(163, 158, 227, 0.15);
}

.footer-cert-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-dark));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(163, 158, 227, 0.3);
  position: relative;
  overflow: hidden;
}

.footer-cert-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15));
}

.footer-cert-icon i {
  font-size: 1.375rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

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

.footer-cert-label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
}

.footer-cert-number {
  font-size: 1.125rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.footer-cert-divider {
  display: none;
}

@media (max-width: 767px) {
  .footer-certifications {
    gap: 1rem;
    flex-direction: column;
  }

  .footer-cert-item {
    width: 100%;
  }

  .footer-cert-divider {
    display: none;
  }
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.footer-legal-link {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.footer-legal-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-purple);
  transition: width 0.3s ease;
}

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

.footer-legal-link:hover::after {
  width: 100%;
}

.footer-legal-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-bottom-right {
    width: 100%;
  }
}




/* ============================================
   HEALTH HUB SECTION
   On-brand with purple accents and light background
   ============================================ */
.healthhub-section {
  background: var(--brand-light);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.healthhub-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: rgba(196, 122, 101, 0.06);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.healthhub-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(139, 133, 214, 0.06);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

.healthhub-section .section-container {
  position: relative;
  z-index: 2;
}

/* Header row */
.healthhub-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.healthhub-header-text {
  flex: 1;
}

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

.healthhub-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2D1B4E;
  line-height: 1.15;
  text-align: left;
  letter-spacing: -0.02em;
}

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

.healthhub-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--brand-dark);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(196, 122, 101, 0.15);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.healthhub-view-all:hover {
  border-color: var(--terracotta);
  transform: scale(1.05);
}

.healthhub-view-all i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.healthhub-view-all:hover i {
  transform: translateX(4px);
}

/* Responsive header */
@media (max-width: 767px) {
  .healthhub-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

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

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

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

/* Article card */
.healthhub-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 2px solid #f3f4f6;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
}

.healthhub-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(196, 122, 101, 0.2);
}

/* Card image */
.healthhub-card-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

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

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

.healthhub-card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--brand-purple);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
}

/* Card content */
.healthhub-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.healthhub-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #2D1B4E;
  line-height: 1.3;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.healthhub-card:hover .healthhub-card-title {
  color: var(--brand-purple);
}

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

.healthhub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-purple);
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  width: fit-content;
}

.healthhub-card:hover .healthhub-card-link {
  border-bottom-color: var(--brand-purple);
  gap: 0.75rem;
}

.healthhub-card-link i {
  font-size: 0.625rem;
  transition: transform 0.3s ease;
}

.healthhub-card:hover .healthhub-card-link i {
  transform: translateX(4px);
}


/* ============================================
   LOCATION SECTION
   Full-width map with floating info card
   ============================================ */
.location-section {
  position: relative;
  background: #ffffff;
  padding-bottom: 6rem;
}

/* Full-width map */
.location-map-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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

.location-map-embed {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--brand-light) 100%);
  pointer-events: none;
}

@media (max-width: 767px) {
  .location-map-wrapper {
    height: 300px;
  }
}

/* Floating card */
.location-card {
  position: relative;
  margin-top: -8rem;
  background: var(--white);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 25px 80px -15px rgba(0, 0, 0, 0.15);
  border: 2px solid #f3f4f6;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
  transition: box-shadow 0.3s ease;
}

.location-card:hover {
  box-shadow: 0 30px 100px -15px rgba(196, 122, 101, 0.15);
}

@media (max-width: 767px) {
  .location-card {
    margin-top: -4rem;
    padding: 1.25rem;
    border-radius: 1.5rem;
    overflow: hidden;
  }

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

  .location-detail {
    gap: 0.75rem;
  }

  .location-detail-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
  }

  .location-detail-icon i {
    font-size: 0.875rem;
  }

  .location-detail-value {
    font-size: 0.875rem;
  }

  .location-contact-link {
    font-size: 0.875rem;
    word-break: break-all;
  }

  .location-hours-row {
    max-width: 100%;
  }

  .location-hours-day,
  .location-hours-time {
    font-size: 0.8125rem;
  }

  .location-details {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Header */
.location-card-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.location-card-header .section-badge {
  margin-bottom: 1rem;
}

.location-card-title {
  font-size: 2rem;
  font-weight: 900;
  color: #2D1B4E;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .location-card-title {
    font-size: 2.5rem;
  }
}

/* Details grid */
.location-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .location-details {
    grid-template-columns: 1fr 1fr;
  }
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.location-detail-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-dark));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(163, 158, 227, 0.25);
  transition: all 0.3s ease;
}

.location-detail:hover .location-detail-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(163, 158, 227, 0.35);
}

.location-detail-icon i {
  color: var(--white);
  font-size: 1.125rem;
}

.location-detail-text {
  flex: 1;
}

.location-detail-label {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-slate);
  margin-bottom: 0.5rem;
}

.location-detail-value {
  font-size: 1rem;
  color: #2D1B4E;
  line-height: 1.6;
  font-weight: 500;
}

/* Directions link */
.location-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-purple);
  transition: all 0.3s ease;
}

.location-directions-link:hover {
  color: var(--brand-dark);
  gap: 0.75rem;
}

.location-directions-link i {
  font-size: 0.75rem;
}

/* Opening hours */
.location-hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.location-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 260px;
}

.location-hours-day {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-gray);
}

.location-hours-time {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #2D1B4E;
}

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

/* Contact links */
.location-contact-link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #2D1B4E;
  transition: color 0.3s ease;
  margin-bottom: 0.25rem;
}

.location-contact-link:hover {
  color: var(--brand-purple);
}

/* Pharmacy image */
.location-pharmacy-image {
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 2px solid #f3f4f6;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease;
}

.location-pharmacy-image:hover {
  box-shadow: var(--shadow-xl);
}

.location-pharmacy-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.location-pharmacy-image:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .location-pharmacy-image img {
    height: 300px;
  }
}

/* CTA row */
.location-card-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .location-card-cta {
    flex-direction: row;
  }
}


/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 5rem 0 6rem;
  background: #FDF6F3;
  position: relative;
  overflow: hidden;
}

/* Decorative blob for testimonials */
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: rgba(196, 122, 101, 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(139, 133, 214, 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: #2D1B4E;
  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(--brand-light);
  border: 1px solid rgba(196, 122, 101, 0.15);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  max-width: 640px;
  text-align: left;
}

.testimonials-disclaimer i {
  color: var(--brand-purple);
  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 */
.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 styles */
.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 */
.testimonial-verified {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand-purple);
  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: var(--shadow-lg);
  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 */
.testimonial-quote {
  font-family: var(--font-heading);
  font-style: italic;
  color: #2D1B4E;
  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;
  }
}

.testimonial-highlight {
  color: var(--brand-purple);
  font-weight: 700;
  font-style: normal;
}

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

.testimonial-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  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: var(--shadow-xl);
}

.testimonial-service {
  display: inline-block;
  background: rgba(163, 158, 227, 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;
}

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

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

.testimonial-author-status {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-purple);
}

/* Highlights row (card 1) */
.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 (cards 2 & 3) */
.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-purple);
  font-size: 1rem;
}

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

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

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

.testimonial-card-large:hover {
  border-color: rgba(196, 122, 101, 0.2);
  box-shadow: var(--shadow-2xl);
}

@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(196, 122, 101, 0.2);
  box-shadow: var(--shadow-xl);
}

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

/* CTA card (7 col, purple) */
.testimonial-card-cta {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-dark));
  box-shadow: var(--shadow-2xl);
  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 */
.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);
}


/* ============================================
   QUICK BOOK SECTION (homepage)
   Two-column: headline + trust left, card right
   ============================================ */
.qb-section {
  position: relative;
  padding: 6rem 0;
  background: #FDF6F3;
  overflow: hidden;
}

.qb-blob-1 {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: rgba(196, 122, 101, 0.06);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.qb-blob-2 {
  position: absolute;
  bottom: -10%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: rgba(212, 144, 124, 0.05);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

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

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

/* ---- Left Column ---- */
.qb-left {
  text-align: center;
}

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

.qb-section .section-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 122, 101, 0.12);
  box-shadow: 0 8px 30px rgba(196, 122, 101, 0.10);
  margin-bottom: 2rem;
}

.qb-section .section-badge-text {
  color: #2D1B4E;
}

.qb-section .pulse-dot span:first-child {
  background: #6B4FA0;
}

.qb-section .pulse-dot span:last-child {
  background: #6B4FA0;
}

.qb-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2D1B4E;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.qb-title span {
  display: block;
}

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

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

.qb-description {
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

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

/* Trust checks */
.qb-trust-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1023px) {
  .qb-trust-list {
    align-items: center;
  }
}

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

.qb-trust-item i {
  color: #7A9E7E;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.qb-trust-item span {
  font-size: 1rem;
  font-weight: 600;
  color: #2D1B4E;
}

/* Left CTA */
.qb-left-cta {
  color: #6B4FA0;
  border: 2px solid rgba(196, 122, 101, 0.25);
  background: transparent;
}

.qb-left-cta:hover {
  border-color: #C47A65;
  color: #C47A65;
}

/* ---- Right Column ---- */
.qb-right {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ---- Quick Book Card ---- */
.qb-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 2rem;
  border: 1px solid rgba(196, 122, 101, 0.12);
  box-shadow: 0 30px 80px -10px rgba(196, 122, 101, 0.22),
              0 8px 20px -4px rgba(196, 122, 101, 0.08);
  padding: 2.5rem;
  transform: rotate(-1deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  z-index: 10;
}

.qb-card:hover {
  transform: rotate(0deg);
  box-shadow: 0 35px 90px -10px rgba(196, 122, 101, 0.28),
              0 12px 25px -4px rgba(196, 122, 101, 0.12);
}

/* Terracotta accent bar at top */
.qb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 4px;
  background: linear-gradient(90deg, #C47A65, #D4907C, #C47A65);
  border-radius: 0 0 4px 4px;
}

/* ---- Card Header ---- */
.qb-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.qb-card-icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #C47A65, #B8694F);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(196, 122, 101, 0.35);
}

.qb-card-heading {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: #2D1B4E;
  line-height: 1.2;
  margin: 0;
}

.qb-card-available {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.375rem;
}

.qb-card-available .pulse-dot span:first-child {
  background: #7A9E7E;
}

.qb-card-available .pulse-dot span:last-child {
  background: #7A9E7E;
}

.qb-card-available > span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #7A9E7E;
}

/* ---- Card Divider ---- */
.qb-card-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196, 122, 101, 0.2), transparent);
  margin-bottom: 1.5rem;
}

/* ---- Card Services Label ---- */
.qb-card-services-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #2D1B4E;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* ---- Card Service Grid ---- */
.qb-card-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.qb-card-service {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(196, 122, 101, 0.12);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: var(--font-primary);
}

.qb-card-service:hover {
  border-color: #C47A65;
  background: rgba(196, 122, 101, 0.04);
  box-shadow: 0 6px 20px rgba(196, 122, 101, 0.15);
  transform: translateY(-2px);
}

.qb-card-service-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, rgba(196, 122, 101, 0.12), rgba(196, 122, 101, 0.05));
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B4FA0;
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.qb-card-service:hover .qb-card-service-icon {
  background: linear-gradient(135deg, #C47A65, #B8694F);
  color: var(--white);
}

.qb-card-service > span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2D1B4E;
  line-height: 1.3;
}

/* ---- Card Main CTA ---- */
.qb-card-cta {
  width: 100%;
  padding: 1.125rem 2rem;
  font-size: 1.0625rem;
  background: linear-gradient(135deg, #C47A65, #B8694F);
  box-shadow: 0 10px 25px -3px rgba(196, 122, 101, 0.4),
              0 4px 10px -2px rgba(196, 122, 101, 0.15);
  margin-bottom: 1.5rem;
}

.qb-card-cta:hover {
  background: linear-gradient(135deg, #D4907C, #C47A65);
  box-shadow: 0 15px 35px -5px rgba(196, 122, 101, 0.5),
              0 8px 15px -3px rgba(196, 122, 101, 0.2);
}

/* ---- Card Footer ---- */
.qb-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.qb-card-footer-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qb-card-footer-item i {
  color: #7A9E7E;
  font-size: 0.875rem;
}

.qb-card-footer-item span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4a5568;
}

/* ---- Floating Trust Badge ---- */
.qb-floating-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(196, 122, 101, 0.12);
  box-shadow: 0 12px 35px rgba(196, 122, 101, 0.18);
  z-index: 20;
  transition: transform 0.4s ease;
  animation: float 5s ease-in-out infinite;
}

.qb-floating-badge:hover {
  transform: translateY(-3px);
}

.qb-floating-badge i {
  color: #7A9E7E;
  font-size: 1.125rem;
}

.qb-floating-badge span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #2D1B4E;
}

/* ---- Quick Book Responsive ---- */
@media (max-width: 1023px) {
  .qb-card {
    transform: rotate(0deg);
    max-width: 500px;
  }

  .qb-floating-badge {
    display: none;
  }
}

@media (max-width: 639px) {
  .qb-card {
    padding: 1.75rem;
  }

  .qb-card-service-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   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;
  }
}


/* ============================================
   SCROLL REVEAL ANIMATIONS (Home Page)
   Elements start hidden and animate in when
   they enter the viewport via IntersectionObserver
   ============================================ */

/* Base hidden state — applied by JS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Visible state — toggled by JS */
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delays for child items */
.reveal-stagger-1 { transition-delay: 0.08s; }
.reveal-stagger-2 { transition-delay: 0.16s; }
.reveal-stagger-3 { transition-delay: 0.24s; }
.reveal-stagger-4 { transition-delay: 0.32s; }
.reveal-stagger-5 { transition-delay: 0.40s; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
