/* ============================================================
   MEVIOX — Design Tokens
   ============================================================ */
:root {
  --blue-900: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --cyan-400: #38bdf8;

  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1f2937;
  --text-soft: #6b7280;
  --border: #e5e7eb;

  --font-display: "Outfit", sans-serif;
  --font-body: "Poppins", sans-serif;

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(30, 58, 138, 0.06);
  --shadow-md: 0 10px 30px rgba(30, 58, 138, 0.1);
  --shadow-lg: 0 20px 50px rgba(30, 58, 138, 0.14);
}


*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  margin: 0;
  color: #111827;
  line-height: 1.1;
}
/* Default: hide the mobile call button on desktop */
#mobileCallBtn {
  display: none;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-phone,
  .desktop-book-btn {
    display: none !important;
  }

  #mobileCallBtn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 14px;
    margin-right: 10px;
    white-space: nowrap;
  }

  .nav-actions {
    display: flex !important;
    align-items: center;
  }

  .hamburger {
    display: flex;
  }
}

p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
img,
svg {
  max-width: 100%;
  display: block;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-inner--narrow {
  max-width: 820px;
}

.hidden {
  display: none !important;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  min-height: 48px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
}
.btn-secondary {
  background: #fff;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-100);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-500);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  min-height: 40px;
}
.btn-block {
  width: 100%;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 0 6px;
  transition:
    box-shadow 0.3s ease,
    padding 0.3s ease,
    background 0.3s ease;
}
.navbar.scrolled {
  padding: 0 0 4px;
  box-shadow: 0 6px 24px rgba(30, 58, 138, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff; /* changed from rgba(255,255,255,0.7) */
  border: 1px solid rgba(255, 255, 255, 0.704);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #111827;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue-600);
  transition: width 0.25s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-700);
}
.nav-phone i {
  color: var(--blue-500);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--blue-50);
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--blue-700);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 16px 20px 22px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.mobile-menu a {
  padding: 14px 6px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  min-height: 48px;
  display: flex;
  align-items: center;
}
.mobile-phone {
  gap: 10px;
  color: var(--blue-700);
  font-weight: 600;
}
.mobile-menu .btn {
  margin-top: 14px;
}
.mobile-menu.open {
  display: flex;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 4px 0 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--blue-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-100) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 20%,
    black 40%,
    transparent 90%
  );
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 20%,
    black 40%,
    transparent 90%
  );
  z-index: -1;
}
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.glow-blob--1 {
  position: fixed;
  width: 480px;
  height: 480px;
  top: -160px;
  right: -120px;
  border-radius: 50%;
  filter: blur(70px);
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.35),
    transparent 70%
  );
  z-index: -1;
}
.glow-blob--2 {
  width: 420px;
  height: 420px;
  bottom: -200px;
  left: -140px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
}
.ekg-line {
  position: absolute;
  top: 38%;
  left: 0;
  width: 100%;
  height: 80px;
  opacity: 0.35;
}
.ekg-path {
  stroke: var(--blue-500);
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: ekgDraw 6s linear infinite;
}
@keyframes ekgDraw {
  0% {
    stroke-dashoffset: 1400;
  }
  60% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -40;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
  animation: heroDotBlink 1.6s ease-in-out infinite;
}
@keyframes heroDotBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.9);
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.15);
  }
}
.eyebrow-dark {
  color: var(--blue-700);
}

.hero-title {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.grad-text {
  background: linear-gradient(
    100deg,
    var(--blue-600),
    var(--blue-500) 45%,
    var(--cyan-400)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid var(--blue-100);
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.hero-desc {
  font-size: 16.5px;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--blue-700);
  display: flex;
  align-items: center;
  gap: 4px;
}
.stat-num i {
  font-size: 13px;
  color: #f59e0b;
}
.stat-label {
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 500;
}

/* Hero ambulance */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ambulance-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.2),
    rgba(56, 189, 248, 0.1) 55%,
    transparent 75%
  );
  filter: blur(10px);
}
.ambulance-svg {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.amb-float {
  animation: ambFloat 4.5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes ambFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}
.amb-motion {
  animation: motionPulse 1.4s ease-in-out infinite;
}
@keyframes motionPulse {
  0%,
  100% {
    opacity: 0.15;
    transform: translateX(0);
  }
  50% {
    opacity: 0.6;
    transform: translateX(-8px);
  }
}

/* ============================================================
   Section titles (shared)
   ============================================================ */
.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
}
.section-sub {
  font-size: 16px;
  max-width: 560px;
  margin-bottom: 20px;
}

/* ============================================================
   Three Pillars
   ============================================================ */
.pillars {
  padding: 100px 0 40px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pillar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.pillar-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-500);
}
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 20px 0 18px;
}
.pillar-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.pillar-card p {
  font-size: 14.5px;
  margin-bottom: 20px;
}
.pillar-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 6px 12px;
  border-radius: 100px;
}

/* ============================================================
   How it works
   ============================================================ */
.how {
  padding: 60px 0;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.how-card {
  text-align: center;
  padding: 36px 24px;
  background: linear-gradient(180deg, #fff, var(--blue-50));
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease;
}
.how-card:hover {
  transform: translateY(-6px);
}
.how-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}
.how-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.how-card p {
  font-size: 14px;
}

/* ============================================================
   Experts
   ============================================================ */
.experts {
  padding: 80px 0 60px;
}

.expert-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 8px;
}
.expert-tab {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 100px;
  transition: all 0.25s ease;
  min-height: 40px;
}
.expert-tab:hover {
  border-color: var(--blue-300, var(--blue-500));
  color: var(--blue-700);
}
.expert-tab.active-tab {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.experts-grid .expert-card.extra-expert {
  display: none;
}
.experts-grid.show-all .expert-card.extra-expert {
  display: flex;
}
.expert-card[data-hidden-by-filter="true"] {
  display: none !important;
}

.expert-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-500);
}

.expert-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-available {
  background: #ecfdf5;
  color: #059669;
}
.status-available .status-dot {
  background: #10b981;
}
.status-busy {
  background: #fffbeb;
  color: #b45309;
}
.status-busy .status-dot {
  background: #f59e0b;
}

.expert-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}
.expert-name {
  font-size: 17px;
  margin-bottom: 6px;
}
.expert-specialty-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.expert-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.expert-meta span {
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.expert-meta i {
  color: var(--blue-500);
  width: 14px;
}
.expert-rating {
  font-size: 13.5px;
  font-weight: 600;
  color: #b45309;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.expert-rating i {
  color: #f59e0b;
}
.expert-rating em {
  font-style: normal;
  color: var(--text-soft);
  font-weight: 500;
}
.expert-book-btn {
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 100px;
  min-height: 44px;
  transition: all 0.25s ease;
}
.expert-book-btn:hover {
  background: var(--blue-600);
  color: #fff;
  border-color: transparent;
}

.view-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}
.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue-700);
  background: #fff;
  border: 1.5px solid var(--blue-100);
  padding: 13px 26px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  min-height: 48px;
  transition: all 0.25s ease;
}
.view-more-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.view-more-btn i {
  transition: transform 0.3s ease;
}
.view-more-btn.expanded i {
  transform: rotate(180deg);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 80px 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.faq-item.active {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  min-height: 48px;
}
.faq-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(135deg);
  background: var(--blue-600);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-answer p {
  overflow: hidden;
  padding: 0 22px;
  font-size: 14.5px;
}
.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}
.faq-item.active .faq-answer p {
  padding: 0 22px 22px;
}
.faq-answer > p {
  min-height: 0;
}
.faq-answer {
  overflow: hidden;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  padding: 20px 0 100px;
}
.final-cta-inner {
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--blue-700),
    var(--blue-600) 55%,
    var(--cyan-400)
  );
  border-radius: 28px;
  padding: 64px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta-inner h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 14px;
}
.final-cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  font-size: 16px;
}
.final-cta-inner .btn-primary {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}
.final-cta-inner .btn-primary:hover {
  transform: translateY(-2px);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #0f1e4d;
  color: #cbd5e1;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand-word {
  color: #fff;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 14px;
  margin: 16px 0 20px;
  max-width: 280px;
}
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.social-icons a:hover {
  background: var(--blue-500);
  transform: translateY(-3px);
}

.footer-col h5 {
  color: #fff;
  font-size: 14.5px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--cyan-400);
}
.emergency-number {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--cyan-400) !important;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px !important;
}
.footer-emergency p {
  color: #94a3b8;
  font-size: 13px;
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
}
.footer-bottom p {
  color: #64748b;
  font-size: 13px;
}

/* ============================================================
   Side Panel (Triage Modal)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
body.panel-is-open .modal-overlay {
  opacity: 1;
  visibility: visible;
}
body.panel-is-open {
  overflow: hidden;
}

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 100%);
  background: #fff;
  z-index: 410;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.32, 1.1);
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.side-panel.active {
  transform: translateX(0);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.panel-header h3 {
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-700);
}
.close-modal-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.2s ease;
}
.close-modal-btn:hover {
  background: var(--blue-100);
}

.panel-form {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.panel-form label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin: 12px 0 2px;
}
.panel-form input,
.panel-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.panel-form input:focus,
.panel-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
}
.panel-form textarea {
  resize: vertical;
  min-height: 100px;
}

.gps-trigger-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px dashed var(--blue-300, var(--blue-500));
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  min-height: 48px;
  transition: all 0.25s ease;
}
.gps-trigger-action:hover {
  background: var(--blue-100);
}
.gps-trigger-action.success-lock {
  border-style: solid;
  border-color: #10b981;
  background: #ecfdf5;
  color: #059669;
}

.gps-loader {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--blue-600);
  font-weight: 500;
  margin-top: 10px;
}
.gps-loader .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  animation: dotPulse 1s ease-in-out infinite;
}
.gps-loader .dot:nth-child(2) {
  animation-delay: 0.15s;
}
.gps-loader .dot:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dotPulse {
  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.panel-form .btn {
  margin-top: 20px;
}
.panel-note {
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
  color: var(--text-soft);
}

.panel-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232563eb' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.panel-form select:focus {
  outline: none;
  border-color: var(--blue-500);
  background-color: #fff;
}

/* ============================================================
   WhatsApp FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-visual {
    order: -1;
    max-width: 380px;
    margin: 0 auto;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-chips,
  .hero-actions {
    justify-content: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    text-align: center;
  }
  .pillar-grid,
  .how-grid {
    grid-template-columns: 1fr 1fr;
  }
  .experts-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* ============================================================
   Responsive — Mobile (mobile-first priority)
   ============================================================ */
@media (max-width: 680px) {
  .section-inner {
    padding: 0 18px;
  }

  .nav-inner {
    padding: 8px 14px;
    border-radius: 22px;
  }
  .brand-word {
    font-size: 18px;
  }
  .nav-phone {
    display: none;
  }
  .nav-actions .btn-sm {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    margin: 8px 18px 0;
  }

  .hero {
    padding: 4px 0 20px;
  }
  .hero-title {
    font-size: clamp(32px, 9vw, 42px);
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ambulance-svg {
    max-width: 320px;
  }

  .pillars {
    padding: 64px 0 20px;
  }
  .pillar-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }
  .experts-grid {
    grid-template-columns: 1fr;
  }

  .expert-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .expert-tabs::-webkit-scrollbar {
    display: none;
  }
  .expert-tab {
    flex: 0 0 auto;
  }

  .final-cta-inner {
    padding: 48px 22px;
    border-radius: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  .side-panel {
    width: 100%;
  }
  .whatsapp-fab {
    width: 52px;
    height: 52px;
    font-size: 23px;
    bottom: 18px;
    right: 18px;
  }
}

@media (max-width: 380px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat-num {
    font-size: 19px;
  }
}

/* ==========================================================================
   NEW — Ambulance visual: mobile copy shown under the H1
   Appended at the end so it wins the cascade without touching anything
   above. The mobile copy is hidden by default (desktop/tablet) and only
   revealed at the mobile breakpoint, where the original desktop copy is
   hidden instead — so only one ambulance ever shows at a time.
   ========================================================================== */

/* ============================================================
   REPLACE the old block at the end of style.css:

     .hero-visual--mobile { display: none; }
     @media (max-width: 768px) { ... }

   with everything below. (That old block referenced a
   .hero-visual--desktop class that doesn't exist in the HTML,
   which is why the SVG ambulance never actually hid on phones.)
   ============================================================ */

/* ==========================================================================
   Hero visual — Yourhealth.png replaces the SVG ambulance on large screens,
   stays exactly as before (image under the heading) on phones.
   ========================================================================== */

/* Base: hidden until a breakpoint below decides where it lives */
.hero-visual--mobile {
  display: none;
}

/* ---- Tablet & up: show the PNG, retire the SVG ambulance ---- */
@media (min-width: 769px) {
  .hero-visual--mobile {
    display: flex;
  }
  .hero-visual:not(.hero-visual--mobile) {
    display: none;
  }
}

/* ---- True desktop: pin the PNG to the right edge of the hero ---- */
@media (min-width: 1025px) {
  .hero-visual--mobile {
    position: absolute;
    top: 5%;
    left: 110%; /* Increase this to move image left */
    transform: translateY(-50%);

    width: 110%;
    max-width: 500px;

    display: flex;
    justify-content: center;

    margin: 0;
    z-index: 2;
    animation: ambFloat 4.5s ease-in-out infinite;
  }

  .hero-visual--mobile::before {
    content: "";
    position: absolute;
    inset: -15%;
    background: radial-gradient(
      circle,
      rgba(37, 99, 235, 0.2),
      rgba(56, 189, 248, 0.1) 55%,
      transparent 75%
    );
    filter: blur(30px);
    z-index: -1;
    border-radius: 50%;
  }

  .hero-visual--mobile img {
    width: 100%;
    max-width: 460px;
    filter: drop-shadow(0 24px 40px rgba(30, 58, 138, 0.2));
  }
}

/* ---- Phone: image stays put under the heading, just tighter ---- */
@media (max-width: 768px) {
  .hero-visual--mobile {
    display: flex;
    justify-content: center;
    margin: 0 0 8px;
    animation: ambFloat 4.5s ease-in-out infinite;
  }
  .hero-visual--mobile::before {
    content: "";
    position: absolute;
    inset: -15%;
    background: radial-gradient(
      circle,
      rgba(37, 99, 235, 0.2),
      rgba(56, 189, 248, 0.1) 55%,
      transparent 75%
    );
    filter: blur(30px);
    z-index: -1;
    border-radius: 50%;
  }

  .hero-visual--mobile img {
    width: 110%;
    max-width: 480px;
    filter: drop-shadow(0 24px 40px rgba(30, 58, 138, 0.2));
  }
}

/* ==========================================================================
   Tighter hero rhythm + left-aligned hero copy on phones
   ========================================================================== */

/* was 22px — this empty chip strip was the real source of the gap between
   the EKG line and the description paragraph, across ALL screen sizes */
.hero-chips {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hero-copy {
    text-align: left;
  }
  .eyebrow {
    margin-left: 0;
  }
  .hero-chips,
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-desc {
    margin-left: 0;
    margin-right: auto;
  }
  .hero-stats {
    justify-items: start;
    text-align: left;
  }
}

/* ==========================================================================
   Small trust & polish upgrades — same colour system, no new variables
   ========================================================================== */

/* Clear, calm focus states on everything actionable — reads as a careful,
   trustworthy product rather than a generic template */
.btn:focus-visible,
.expert-tab:focus-visible,
.expert-book-btn:focus-visible,
.faq-question:focus-visible,
.panel-form input:focus-visible,
.panel-form textarea:focus-visible,
.close-modal-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

/* Gentle "always-on" breathing ring behind the WhatsApp button —
   quietly reassures people the line is live, 24x7 */
.whatsapp-fab {
  position: fixed;
}
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: fabPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Hairline gradient top-edge on pillar cards on hover — a small signal
   of precision/quality, in your existing blue → cyan gradient */
.pillar-card {
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.pillar-card:hover::before {
  transform: scaleX(1);
}
.whatsapp-btn {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background: #1ebe5d !important;
  border-color: #1ebe5d !important;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
}

/* ============================================================
   Contact Us
   ============================================================ */
.contact {
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.contact-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 13.5px;
  word-break: break-word;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   SERVICES WE PROVIDE — vertical accordion of service categories
   Reuses existing tokens: --blue-*, --cyan-400, --font-display,
   --font-body, --radius-lg/md/sm, --shadow-sm/md, --border, --card
   ============================================================ */

.services-accordion {
  padding: 80px 0;
}

.svc-category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.svc-category {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.svc-category.svc-open {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}

.svc-category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #111827;
  text-align: left;
  min-height: 48px;
}

.svc-category-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.svc-category-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.svc-category.svc-open .svc-category-icon {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
}

.svc-category-chevron {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}
.svc-category.svc-open .svc-category-chevron {
  transform: rotate(180deg);
  background: var(--blue-600);
  color: #fff;
}

.svc-category-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  visibility: hidden;
  transition: grid-template-rows 0.4s ease, visibility 0.4s ease;
}
.svc-category-panel > * {
  overflow: hidden;
  min-height: 0; /* prevents grid item's default min-content height from
                    keeping the row from collapsing to 0 — this was the
                    actual cause of leftover visible cards */
}
.svc-category.svc-open .svc-category-panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

.svc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 4px 26px 28px;
}

/* ---- Service card ---- */
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.svc-card-body {
  padding: 20px 20px 4px;
}
.svc-card-body h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #111827;
}
.svc-card-desc {
  font-size: 13.5px;
}

.svc-card-details {
  display: none;
}
.svc-card-details p {
  overflow: hidden;
  font-size: 13px;
  padding-top: 0;
}
.svc-card.svc-details-open .svc-card-details {
  grid-template-rows: 1fr;
  margin-top: 10px;
}
.svc-card.svc-details-open .svc-card-details p {
  padding-top: 2px;
}

.svc-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 20px;
}

.svc-wa-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.3);
  transition: transform 0.25s ease;
}
.svc-wa-btn:hover {
  transform: scale(1.08);
}

.svc-view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 9px 14px;
  border-radius: 100px;
  min-height: 36px;
  transition: all 0.25s ease;
}
.svc-view-more-btn:hover {
  background: var(--blue-600);
  color: #fff;
  border-color: transparent;
}
.svc-view-more-btn i {
  font-size: 11px;
  transition: transform 0.3s ease;
}
.svc-card.svc-details-open .svc-view-more-btn i {
  transform: rotate(180deg);
}
.svc-card.svc-details-open .svc-view-more-btn .svc-view-more-label::after {
  content: "";
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .svc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .services-accordion {
    padding: 60px 0;
  }
  .svc-category-header {
    padding: 18px 18px;
    font-size: 16px;
  }
  .svc-category-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .svc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 4px 18px 22px;
  }
  .svc-card-body {
    padding: 14px 14px 2px;
  }
  .svc-card-body h4 {
    font-size: 14px;
  }
  .svc-card-desc {
    font-size: 12px;
  }
  .svc-card-footer {
    padding: 10px 14px 14px;
  }
  .svc-wa-btn {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .svc-view-more-btn {
    font-size: 11.5px;
    padding: 7px 10px;
    min-height: 30px;
  }
}
/* ============================================================
   SERVICE DETAIL MODAL
   ============================================================ */
.svc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.svc-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
body.svc-modal-open {
  overflow: hidden;
}

.svc-detail-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: min(480px, 92%);
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 510;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  padding: 32px 30px 28px;
}
.svc-detail-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.svc-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.2s ease;
}
.svc-modal-close-btn:hover {
  background: var(--blue-100);
}

.svc-modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.svc-modal-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.svc-detail-modal h4 {
  font-size: 21px;
  color: #111827;
  margin-bottom: 10px;
}

.svc-modal-desc {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.svc-modal-full {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 26px;
  color: var(--text-soft);
}

.svc-modal-actions {
  display: flex;
  gap: 12px;
}
.svc-modal-actions .btn {
  flex: 1;
}

@media (max-width: 680px) {
  .svc-detail-modal {
    padding: 26px 20px 22px;
    width: 92%;
  }
  .svc-modal-actions {
    flex-direction: column;
  }
}
/* ============================================================
   Reviews
   ============================================================ */
.reviews {
  padding: 80px 0;
}
.review-slider {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
}
.review-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  animation: reviewScroll 28s linear infinite;
}
.review-slider:hover .review-track {
  animation-play-state: paused;
}
.review-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  width: min(380px, 75vw);
  flex: 0 0 auto;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.review-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 14px;
}
.review-text {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 22px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.review-author h5 {
  font-size: 14.5px;
  margin-bottom: 2px;
}
.review-author span {
  font-size: 12.5px;
  color: var(--text-soft);
}

@keyframes reviewScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 680px) {
  .review-card {
    width: min(320px, 82vw);
  }
  .reviews {
    padding: 60px 0;
  }
}
/* ============================================================
   TERMS & POLICIES MODAL
   ============================================================ */
.policy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.policy-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
body.policy-modal-open {
  overflow: hidden;
}

.policy-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  width: min(640px, 92%);
  max-height: 82vh;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 510;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.policy-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.policy-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  z-index: 2;
  transition: background 0.2s ease;
}
.policy-modal-close-btn:hover {
  background: var(--blue-100);
}

.policy-modal-header {
  padding: 26px 60px 18px 30px;
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}
.policy-modal-header h3 {
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-700);
}

.policy-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 26px 0;
  flex: 0 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.policy-tabs::-webkit-scrollbar {
  display: none;
}
.policy-tab {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 100px;
  min-height: 38px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.policy-tab:hover {
  color: var(--blue-700);
  border-color: var(--blue-100);
}
.policy-tab.active-policy-tab {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.policy-body {
  padding: 22px 30px 30px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.policy-panel {
  display: none;
}
.policy-panel.active-policy-panel {
  display: block;
}
.policy-panel h4 {
  font-size: 18px;
  margin-bottom: 14px;
  color: #111827;
}
.policy-panel p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.policy-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .policy-modal {
    width: 94%;
    max-height: 86vh;
  }
  .policy-modal-header {
    padding: 22px 54px 16px 22px;
  }
  .policy-tabs {
    padding: 14px 18px 0;
  }
  .policy-body {
    padding: 18px 20px 24px;
  }
}
/* ============================================================
   MEVIOX CHATBOT WIDGET
   Reuses existing tokens: --font-display, --font-body, --radius-lg/md/sm,
   --shadow-sm/md/lg, --border, --card, --bg, --text, --text-soft.
   Header uses a dedicated teal/green pair so it reads as a live
   healthcare chat, distinct from the site's blue brand accents.
   Stacked ABOVE the existing #whatsappFab (which sits at bottom:24/18px)
   so the two buttons never overlap.
   ============================================================ */

:root {
  --meviox-teal-800: #0f4c3a;
  --meviox-teal-700: #146a52;
  --meviox-teal-600: #1a8567;
  --meviox-teal-50: #e9f7f1;
  --meviox-teal-100: #cfeee1;
  --meviox-cta-green: #25d366; /* WhatsApp-style CTA green, matches reference */
  --meviox-cta-green-dark: #1fb959;
}

.meviox-chatbot {
  --meviox-fab-size: 58px;
  font-family: var(--font-body);
}

/* ---------------------------------------------------------
   Floating toggle button
   --------------------------------------------------------- */
.meviox-chat-fab {
  position: fixed;
  right: 24px;
  bottom: 96px; /* clears the existing WhatsApp FAB at bottom:24px */
  z-index: 155;
  width: var(--meviox-fab-size);
  height: var(--meviox-fab-size);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--meviox-teal-700), var(--meviox-teal-600));
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(15, 76, 58, 0.4);
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  opacity: 1;
  visibility: visible;
}
.meviox-chat-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(26, 133, 103, 0.55);
  animation: meviox-fab-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.meviox-chat-fab:hover {
  transform: scale(1.08);
}
.meviox-chat-fab.meviox-is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.85);
}
@keyframes meviox-fab-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------------------------------------------------------
   Chat window
   --------------------------------------------------------- */
.meviox-chat-window {
  position: fixed;
  top: 71px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 300;
  width: auto;
  height: calc(100vh - 71px);
  height: calc(100dvh - 71px);
  max-width: none;
  max-height: none;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0 max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
  overflow: hidden;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.meviox-chat-window.meviox-is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.meviox-chat-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--card);
  box-shadow: none;
}

.meviox-chat-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--meviox-teal-800), var(--meviox-teal-600));
  color: #fff;
  border-radius: 12px 12px 0 0;
}
.meviox-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.meviox-chat-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.meviox-chat-header-text {
  min-width: 0;
}
.meviox-chat-header-text h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.meviox-chat-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meviox-chat-close {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.meviox-chat-close:hover {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}
.meviox-chat-close:focus-visible,
.meviox-chat-fab:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: 1px;
}

.meviox-chat-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 10px 12px;
  background: #f4f1ea; /* light beige/gray chat background */
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------
   Message bubbles
   --------------------------------------------------------- */
.meviox-chat-message {
  align-self: flex-start;
  max-width: 88%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 6px 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  animation: meviox-msg-in 0.176s ease-out;
}
@keyframes meviox-msg-in {
  from {
    opacity: 0;
    transform: translateX(-14px) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}
.meviox-chat-message--status {
  align-self: center;
  background: var(--meviox-teal-50);
  border-color: var(--meviox-teal-100);
  color: var(--meviox-teal-800);
  font-weight: 600;
  border-radius: 100px;
  padding: 10px 18px;
}
.meviox-chat-timestamp {
  align-self: flex-end;
  font-size: 10.5px;
  color: var(--text-soft);
  margin: -6px 4px 12px 0;
}

.meviox-chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 13px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  animation: meviox-typing-in 0.176s ease-out;
}
.meviox-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--meviox-teal-600);
  animation: meviox-dot-bounce 0.77s ease-in-out infinite;
}
.meviox-chat-typing span:nth-child(2) { animation-delay: 0.12s; }
.meviox-chat-typing span:nth-child(3) { animation-delay: 0.24s; }
@keyframes meviox-dot-bounce {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: translateY(4px) scale(0.8);
  }
  40% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes meviox-typing-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------------------------------------------------------
   Service selection card (matches reference: light green
   panel, bold header row with emoji, stacked radio-style rows)
   --------------------------------------------------------- */
.meviox-chat-services-card {
  align-self: flex-end;
  width: calc(72% + 0px);
  background: var(--meviox-teal-50);
  border: 1px solid var(--meviox-teal-100);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 4px;
  margin-left: auto;
  margin-right: 0;
  animation: meviox-card-in 0.262s ease-out;
}
@keyframes meviox-card-in {
  from {
    opacity: 0;
    transform: translateX(18px) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}
.meviox-chat-services-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--meviox-teal-800);
  margin-bottom: 12px;
}
.meviox-chat-services-title .meviox-emoji {
  font-size: 16px;
  line-height: 1;
}

.meviox-chat-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  width: 100%;
}

.meviox-chat-service {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-left: auto;
  text-align: left;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  animation: meviox-service-in 0.262s ease-out both;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
@keyframes meviox-service-in {
  from {
    opacity: 0;
    transform: translateX(18px) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}
.meviox-chat-service-radio {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--meviox-teal-600);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.meviox-chat-service-radio::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--meviox-teal-600);
  transform: scale(0);
  transition: transform 0.15s ease;
}
.meviox-chat-service-emoji {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
}
.meviox-chat-service-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}
.meviox-chat-service:hover,
.meviox-chat-service:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--meviox-teal-600);
  outline: none;
}
.meviox-chat-service:focus-visible {
  outline: 3px solid rgba(26, 133, 103, 0.45);
  outline-offset: 2px;
}
.meviox-chat-service.meviox-is-selected {
  border-color: var(--meviox-teal-600);
  background: var(--meviox-teal-50);
}
.meviox-chat-service.meviox-is-selected .meviox-chat-service-radio::after {
  transform: scale(1);
}
.meviox-chat-service:disabled {
  cursor: default;
  opacity: 0.6;
}
.meviox-chat-service:disabled:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------
   Sticky "Contact NOW" footer CTA (matches reference button)
   --------------------------------------------------------- */
.meviox-chat-footer {
  flex: 0 0 auto;
  padding: 5px 12px;
  background: var(--card);
  border-top: 1px solid var(--border);
}
.meviox-chat-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 100px;
  background: var(--meviox-cta-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}
.meviox-chat-cta:hover,
.meviox-chat-cta:focus-visible {
  background: var(--meviox-cta-green-dark);
  transform: translateY(-1px);
  outline: none;
}
.meviox-chat-cta:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.5);
  outline-offset: 2px;
}
.meviox-chat-cta .meviox-emoji {
  font-size: 16px;
  line-height: 1;
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */
@media (max-width: 680px) {
  .meviox-chat-fab {
    right: 18px;
    bottom: 82px;
    width: 52px;
    height: 52px;
    font-size: 21px;
  }
  .meviox-chat-window {
    top: 68px;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .meviox-chat-fab::before,
  .meviox-chat-typing span,
  .meviox-chat-message,
  .meviox-chat-services-card {
    animation: none !important;
  }
}