/* Extra utilities not in compiled bundle */
.border-gray-150 { border-color: #e8ecef; }
.text-gray-350 { color: #b0b8c4; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn { animation: fadeIn 0.4s ease-out; }

@keyframes heroGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.12); opacity: 0.75; }
}
.hero-glow { animation: heroGlow 6s ease-in-out infinite; }

@keyframes starWiggle {
  0%, 88%, 100% { transform: rotate(0) scale(1); }
  4% { transform: rotate(-12deg) scale(1.12); }
  8% { transform: rotate(12deg) scale(1.12); }
  12% { transform: rotate(-12deg) scale(1.12); }
  16% { transform: rotate(12deg) scale(1.12); }
  20% { transform: rotate(0) scale(1); }
}
.star-animate {
  display: inline-block;
  transform-origin: center;
  color: #87ba99;
  animation: starWiggle 4s ease-in-out infinite;
  animation-delay: var(--star-delay, 0s);
  width: 14px;
  height: 14px;
  line-height: 0;
  flex-shrink: 0;
}
.star-animate .icon {
  width: 14px;
  height: 14px;
  display: block;
}

/* 4.9 rating: fifth star — half fill (left) + full stroke outline on top */
.star-rating {
  line-height: 1;
  align-items: center;
}
.star-partial-half {
  fill: currentColor;
  stroke: none;
}
.star-partial-outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  pointer-events: none;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-panel { animation: modalIn 0.35s ease-out; }

@keyframes panelIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.panel-in { animation: panelIn 0.3s ease-out; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.float-icon { animation: floatIcon 4s ease-in-out infinite; }

.tab-active { background-color: var(--color-brand-blue); color: white; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.tab-inactive { color: #6b7280; }
.tab-inactive:hover { color: var(--color-brand-blue); }

.location-tab-active { color: var(--color-brand-blue); box-shadow: 0 1px 3px rgba(0,0,0,0.08); background: white; border: 1px solid #e8ecef; }

body.modal-open { overflow: hidden; }

/* Force WhatsApp CTA green regardless of utility compilation */
.whatsapp-btn {
  background-color: var(--color-brand-green) !important;
  color: #ffffff !important;
  border: 1px solid var(--color-brand-green);
}
.whatsapp-btn:hover {
  background-color: #79aa8a !important;
}

/* Scroll reveal (fade in/out while scrolling) */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 460ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

body.js-enhanced .reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
}

body.js-enhanced .reveal-on-scroll.reveal-from-left {
  transform: translateX(-34px);
}

body.js-enhanced .reveal-on-scroll.reveal-from-right {
  transform: translateX(34px);
}

body.js-enhanced .reveal-on-scroll.reveal-from-top {
  transform: translateY(-26px);
}

body.js-enhanced .reveal-on-scroll.reveal-from-bottom {
  transform: translateY(30px);
}

body.js-enhanced .reveal-on-scroll.reveal-pop {
  transform: translateY(14px) scale(0.96);
}

body.js-enhanced .reveal-on-scroll.reveal-fade-only {
  transform: none;
}

body.js-enhanced .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

svg.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Fallback responsive utilities for navbar visibility */
@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
  .md\:flex-initial { flex: 0 auto !important; }
}

/* Hard fallback navbar layout (independent of utility classes) */
.nav-desktop-links,
.nav-desktop-action {
  display: none;
}

.nav-mobile-toggle {
  display: inline-flex;
}

/* Keep the navbar (and its toggle button) above the open drawer,
   so the same button stays in place and just shows ">".
   The bar itself goes invisible so the drawer doesn't look cut off. */
body.mobile-menu-open nav {
  z-index: 90;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Hide everything in the nav except the toggle while the menu is open */
body.mobile-menu-open nav .max-w-7xl > div:first-child {
  opacity: 0;
  pointer-events: none;
}

.nav-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 350px);
  padding: 6rem 1.15rem 1.5rem;
  border-radius: 34px 0 0 34px;
  /* Same glass effect as the navbar (bg-white/70 + backdrop-blur-lg) */
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-left: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: -14px 0 40px rgba(15, 23, 42, 0.24), 0 0 0 100vmax rgba(15, 23, 42, 0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease, visibility 260ms, box-shadow 320ms ease;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transform: translateX(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 70;
}

.nav-mobile-panel.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  box-shadow: -14px 0 40px rgba(15, 23, 42, 0.24), 0 0 0 100vmax rgba(15, 23, 42, 0.45);
}

.nav-mobile-panel > a {
  border-radius: 16px;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-mobile-panel > a:not(.whatsapp-btn):not(.bg-brand-blue) {
  border: 1.5px solid rgba(30, 41, 92, 0.28);
  border-radius: 14px;
  text-align: center;
  color: var(--color-brand-blue);
  background: transparent;
}

.nav-mobile-panel > a:not(.whatsapp-btn):not(.bg-brand-blue):hover {
  border-color: var(--color-brand-green);
  color: var(--color-brand-green);
  background: transparent;
}

/* Health tips filler card, vertically centered in the empty space */
.nav-mobile-tips {
  margin: auto 0;
  padding: 1.1rem 1rem;
  border-radius: 18px;
  border: 1.5px dashed rgba(135, 186, 153, 0.55);
  background: rgba(135, 186, 153, 0.08);
}

.nav-mobile-tips-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-green);
  margin-bottom: 0.6rem;
}

.nav-mobile-tips ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-mobile-tips li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #475569;
}

.nav-mobile-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--color-brand-green);
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .nav-desktop-links,
  .nav-desktop-action {
    display: flex !important;
  }

  .nav-mobile-toggle,
  .nav-mobile-panel {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Crawlable SEO content — available to bots, off-screen for sighted users */
.seo-crawl {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
