/* =========================================================
   keICURA HEALTHCARE LIMITED — STYLE SHEET (v3)
   Mobile-first dashboard overview + detailed service pages.
   Tokens: jungle green + black + white
   ========================================================= */

:root {
  --jungle: #175E29;
  --jungle-dark: #0C3417;
  --jungle-deep: #081F0D;
  --jungle-light: #EAF3EC;
  --sage: #8FC3A2;
  --black: #14170F;
  --white: #FFFFFF;
  --paper: #F7F9F7;
  --line: #E4E9E4;
  --text: #1C201B;
  --muted: #5B655C;

  --radius-lg: 22px;
  --radius: 16px;
  --radius-s: 11px;
  --shadow-sm: 0 8px 22px -12px rgba(12,52,23,.2);
  --shadow: 0 18px 42px -18px rgba(12,52,23,.3);
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-soft: cubic-bezier(.16,1,.3,1);

  --font-head: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 10px; color: var(--black); }
h1 { letter-spacing: -0.025em; }
h3, h4 { font-weight: 700; letter-spacing: -0.008em; }
p { margin: 0 0 14px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--jungle); color: var(--white);
  padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

body.page-enter { animation: pageFade .5s var(--ease-soft); }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  min-height: 48px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: linear-gradient(135deg, rgba(29,110,50,.95), rgba(11,47,21,.95));
  color: var(--white);
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--primary:active { transform: translateY(0); }
.btn--outline {
  background: rgba(23,94,41,.05);
  color: var(--jungle);
  border-color: rgba(23,94,41,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--outline:hover { background: var(--jungle); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn--white {
  background: rgba(255,255,255,.92);
  color: var(--jungle);
  border-color: rgba(255,255,255,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.7); }
.btn--ghost-light { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost-light:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }
.btn--full { width: 100%; }
.btn--sm { padding: 10px 18px; min-height: 40px; font-size: 14px; }
.btn--whatsapp {
  background: linear-gradient(135deg, rgba(37,211,102,.95), rgba(20,150,70,.95));
  color: var(--white);
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn--whatsapp:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(228,233,228,.8);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; }
.brand img { height: 38px; width: auto; }
.main-nav {
  position: fixed; inset: 0 0 0 auto; width: min(84vw, 320px);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  padding: 84px 24px 24px;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateX(100%);
  transition: transform .35s var(--ease-soft);
  box-shadow: -20px 0 50px -20px rgba(0,0,0,.25), inset 1px 0 0 rgba(255,255,255,.5);
  z-index: 210;
  overflow-y: auto;
}
.main-nav.open { transform: translateX(0); }
.main-nav a {
  padding: 13px 6px;
  font-weight: 600;
  font-size: 17.5px;
  border-bottom: 1px solid var(--line);
  color: var(--black);
}
.main-nav a.active { color: var(--jungle); }
.main-nav .nav-cta { margin-top: 16px; }

.nav-scrim {
  position: fixed; inset: 0; background: rgba(8,31,13,.45);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease);
  z-index: 205;
}
.nav-scrim.open { opacity: 1; visibility: visible; }

.nav-toggle {
  width: 44px; height: 44px; border-radius: 11px; border: 1px solid rgba(228,233,228,.9);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 14px -8px rgba(12,52,23,.25);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.nav-toggle:hover { border-color: var(--jungle); transform: translateY(-1px); }
.nav-toggle span { width: 20px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-icon { width: 19px; height: 19px; color: var(--jungle); flex-shrink: 0; }
.main-nav a {
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateX(14px);
  transition: opacity .35s var(--ease-soft), transform .35s var(--ease-soft), color .2s ease;
}
.main-nav.open a { opacity: 1; transform: translateX(0); }
.main-nav.open a:nth-child(1) { transition-delay: .06s; }
.main-nav.open a:nth-child(2) { transition-delay: .1s; }
.main-nav.open a:nth-child(3) { transition-delay: .14s; }
.main-nav.open a:nth-child(4) { transition-delay: .18s; }
.main-nav.open a:nth-child(5) { transition-delay: .22s; }
.main-nav.open a:nth-child(6) { transition-delay: .26s; }
.main-nav.open a:nth-child(7) { transition-delay: .3s; }
.main-nav.open a:nth-child(8) { transition-delay: .34s; }
.main-nav.open a:nth-child(9) { transition-delay: .38s; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }

/* =========================================================
   HOME — compact dashboard overview
   ========================================================= */
.dash-hero { position: relative; padding: 22px 0 18px; text-align: center; overflow: hidden; }
.dash-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.dash-ambient span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(23,94,41,.26), rgba(23,94,41,0) 70%);
  filter: blur(1px);
  animation: floatBlob 12s ease-in-out infinite;
}
.dash-ambient span:nth-child(1) { width: 300px; height: 300px; top: -90px; left: -70px; animation-delay: 0s; }
.dash-ambient span:nth-child(2) { width: 260px; height: 260px; top: 30px; right: -80px; background: radial-gradient(circle at 60% 40%, rgba(143,195,162,.34), rgba(143,195,162,0) 70%); animation-delay: -4s; }
.dash-ambient span:nth-child(3) { width: 220px; height: 220px; bottom: -100px; left: 25%; animation-delay: -8s; }
@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(22px,-26px) scale(1.12); }
}
.dash-hero > .container { position: relative; z-index: 1; }
.dash-logo { height: 46px; width: auto; margin: 0 auto 14px; }
.dash-tagline { font-family: var(--font-head); font-weight: 700; color: var(--jungle); font-size: 16px; margin-bottom: 8px; }
.dash-intro { font-size: 15px; color: var(--muted); max-width: 380px; margin: 0 auto; }

.tiles { padding: 4px 0 14px; position: relative; z-index: 1; overflow: hidden; }
.tiles .dash-ambient span { animation-duration: 14s; }
.tiles .dash-ambient span:nth-child(1) { width: 260px; height: 260px; top: -60px; left: -50px; }
.tiles .dash-ambient span:nth-child(2) { width: 220px; height: 220px; bottom: -70px; right: -60px; background: radial-gradient(circle at 60% 40%, rgba(143,195,162,.28), rgba(143,195,162,0) 70%); animation-delay: -6s; }
.tile-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  position: relative;
  display: block;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 8px 22px -14px rgba(12,52,23,.25);
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft), border-color .35s var(--ease-soft), background .35s var(--ease-soft);
  transform-style: preserve-3d;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(23,94,41,.05), rgba(23,94,41,0) 55%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.tile:hover, .tile:focus-visible {
  transform: translateY(-6px) rotateX(3deg);
  background: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.95);
  box-shadow: 0 1px 0 rgba(255,255,255,.95) inset, var(--shadow);
}
.tile:hover::after { opacity: 1; }
.tile:active { transform: translateY(-1px) scale(.98); }
.tile-icon {
  width: 46px; height: 46px; margin: 0 auto 10px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(23,94,41,.16));
  color: var(--jungle);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(9px) saturate(160%);
  -webkit-backdrop-filter: blur(9px) saturate(160%);
  box-shadow: 0 6px 14px -9px rgba(12,52,23,.4), inset 0 1px 0 rgba(255,255,255,.85), inset 0 -5px 8px -6px rgba(12,52,23,.2);
}
.tile-icon::before {
  content: ""; position: absolute; top: -55%; left: -25%;
  width: 85%; height: 85%;
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,0) 65%);
  transform: rotate(-18deg);
  pointer-events: none;
}
.tile-icon svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.tile:hover .tile-icon {
  background: linear-gradient(135deg, rgba(29,110,50,.92), rgba(11,47,21,.9));
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 8px 18px -8px rgba(12,52,23,.5), inset 0 1px 0 rgba(255,255,255,.35);
  transform: scale(1.08) rotate(-4deg);
}
.tile h3 { font-size: 14.5px; margin-bottom: 2px; font-weight: 700; position: relative; z-index: 1; }
.tile p { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; position: relative; z-index: 1; }
.tile-arrow {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 700; color: var(--jungle);
  opacity: .65; transition: opacity .3s var(--ease), gap .3s var(--ease);
}
.tile-arrow svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.tile:hover .tile-arrow { opacity: 1; }
.tile:hover .tile-arrow svg { transform: translateX(3px); }

.tile-grid .tile:nth-child(1) { transition-delay: 0s; }
.tile-grid .tile:nth-child(2) { transition-delay: .05s; }
.tile-grid .tile:nth-child(3) { transition-delay: .1s; }
.tile-grid .tile:nth-child(4) { transition-delay: .15s; }
.tile-featured.reveal { transition-delay: .2s; }

/* ---------- Featured wide tile (Visa & Visit Services) ---------- */
.tile-featured {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  margin-top: 12px;
  background: linear-gradient(120deg, rgba(12,52,23,.94), rgba(23,94,41,.94));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 18px 18px;
  color: var(--white);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 22px -14px rgba(12,52,23,.4);
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
  transform-style: preserve-3d;
  -webkit-tap-highlight-color: transparent;
}
.tile-featured::before {
  content: "";
  position: absolute; top: -40%; right: -15%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.1), rgba(255,255,255,0) 70%);
}
.tile-featured:hover, .tile-featured:focus-visible { transform: translateY(-6px) rotateX(3deg); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), var(--shadow); border-color: rgba(255,255,255,.3); }
.tile-featured:active { transform: translateY(-1px) scale(.99); }
.tile-featured .tile-icon { background: rgba(255,255,255,.16); color: var(--white); flex-shrink: 0; margin: 0; }
.tile-featured:hover .tile-icon { background: var(--white); color: var(--jungle); transform: scale(1.08) rotate(-4deg); }
.tile-featured-body { position: relative; z-index: 1; text-align: left; flex: 1; }
.tile-featured-body h3 { font-size: 15px; margin-bottom: 2px; color: var(--white); }
.tile-featured-body p { font-size: 12.5px; color: rgba(255,255,255,.78); margin: 0; }
.tile-featured .tile-arrow { color: var(--white); flex-shrink: 0; }


.quick-actions { display: flex; gap: 10px; padding: 4px 0 20px; }
.quick-actions .btn { flex: 1; }

.dash-more { text-align: center; padding: 4px 0 8px; }
.dash-more a { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.dash-more svg { width: 14px; height: 14px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- Below-the-fold home sections ---------- */
section { padding: 54px 0; }
.section-alt { background: var(--paper); }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--jungle);
  margin-bottom: 10px;
}
.section-head { max-width: 560px; margin: 0 auto 32px; text-align: center; }
.section-head h2 { font-size: clamp(23px, 5vw, 32px); }
.lead { font-size: 16.5px; color: var(--muted); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item { text-align: center; padding: 6px; }
.why-icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--jungle);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 15.5px; margin-bottom: 4px; }
.why-item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Services slider (replaces the Why keICURA grid) ---------- */
.services-slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--jungle-dark);
}
.slider-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease-soft);
  z-index: 1;
}
.slider-slide.active { opacity: 1; z-index: 2; }
.slider-slide-bg {
  position: absolute; inset: -8%;
  background-size: cover; background-position: center;
  filter: blur(28px) brightness(.62) saturate(115%);
  transform: scale(1.1);
  transition: transform 5s linear;
}
.slider-slide.active .slider-slide-bg { transform: scale(1.18); }
.slider-slide-fg {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;
  transform: scale(.97);
  transition: transform 5s linear;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.35));
}
.slider-slide.active .slider-slide-fg { transform: scale(1); }
.slider-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,31,13,0) 45%, rgba(8,31,13,.82) 100%);
}
.slider-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 22px 20px;
  z-index: 1;
  display: flex; align-items: center; gap: 12px;
}
.slider-caption-icon {
  position: relative; overflow: hidden;
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px) saturate(160%); -webkit-backdrop-filter: blur(8px) saturate(160%);
  box-shadow: 0 6px 14px -9px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.35);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.slider-caption-icon::before {
  content: ""; position: absolute; top: -55%; left: -25%;
  width: 85%; height: 85%;
  background: linear-gradient(135deg, rgba(255,255,255,.4), rgba(255,255,255,0) 65%);
  transform: rotate(-18deg);
  pointer-events: none;
}
.slider-caption-icon svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.slider-caption h3 { color: var(--white); font-size: 17px; margin: 0; }
.slider-caption p { color: rgba(255,255,255,.78); font-size: 12.5px; margin: 0; }

.slider-dots {
  position: absolute; top: 16px; left: 0; right: 0; z-index: 3;
  display: flex; gap: 6px; padding: 0 20px;
}
.slider-dot {
  flex: 1; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,.32);
  overflow: hidden;
}
.slider-dot-fill {
  display: block; height: 100%; width: 0%;
  background: var(--white);
  border-radius: 3px;
}
.slider-dot.active .slider-dot-fill { animation: dotFill 4s linear forwards; }
.slider-dot.done .slider-dot-fill { width: 100%; }
@keyframes dotFill { from { width: 0%; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .slider-slide-bg, .slider-slide-fg { transition: none; }
  .slider-slide.active .slider-slide-bg { transform: scale(1.1); }
  .slider-slide.active .slider-slide-fg { transform: scale(.97); }
  .slider-dot.active .slider-dot-fill { animation: none; width: 100%; }
}

@media (min-width: 720px) {
  .services-slider { aspect-ratio: 21 / 9; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--jungle-light) 100%);
  color: var(--black);
  text-align: center;
  padding: 52px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-banner-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cta-banner-ambient span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(23,94,41,.14), rgba(23,94,41,0) 70%);
  animation: floatBlob 15s ease-in-out infinite;
}
.cta-banner-ambient span:nth-child(1) { width: 280px; height: 280px; top: -120px; left: -60px; }
.cta-banner-ambient span:nth-child(2) { width: 240px; height: 240px; bottom: -110px; right: -50px; animation-delay: -6s; }
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--black); font-size: clamp(21px, 5vw, 28px); }
.cta-banner p { color: var(--muted); max-width: 480px; margin: 0 auto 22px; font-size: 15px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* =========================================================
   PAGE BANNER (compact service page header)
   ========================================================= */
.page-banner { background: var(--white); padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.page-banner-icon {
  position: relative; overflow: hidden;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(29,110,50,.92), rgba(11,47,21,.9));
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(9px) saturate(160%);
  -webkit-backdrop-filter: blur(9px) saturate(160%);
  box-shadow: 0 8px 18px -10px rgba(12,52,23,.45), inset 0 1px 0 rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.page-banner-icon::before {
  content: ""; position: absolute; top: -55%; left: -25%;
  width: 85%; height: 85%;
  background: linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,0) 65%);
  transform: rotate(-18deg);
  pointer-events: none;
}
.page-banner-icon svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--jungle); font-weight: 600; }
.page-banner h1 { font-size: clamp(24px, 6vw, 34px); margin-bottom: 8px; }
.page-banner p { color: var(--muted); max-width: 520px; margin: 0; font-size: 15.5px; }

/* ---------- Feature list (used on service detail pages) ---------- */
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature-item { padding-left: 18px; border-left: 3px solid var(--jungle); }
.feature-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.feature-item p { font-size: 14.5px; color: var(--muted); margin: 0; }

.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  position: relative; overflow: hidden;
  width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(23,94,41,.16));
  color: var(--jungle);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(9px) saturate(160%);
  -webkit-backdrop-filter: blur(9px) saturate(160%);
  box-shadow: 0 6px 14px -9px rgba(12,52,23,.4), inset 0 1px 0 rgba(255,255,255,.85), inset 0 -5px 8px -6px rgba(12,52,23,.2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card-icon::before {
  content: ""; position: absolute; top: -55%; left: -25%;
  width: 85%; height: 85%;
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,0) 65%);
  transform: rotate(-18deg);
  pointer-events: none;
}
.card-icon svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.card:hover .card-icon { transform: scale(1.06) rotate(-3deg); box-shadow: 0 8px 18px -8px rgba(12,52,23,.45), inset 0 1px 0 rgba(255,255,255,.9); }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; }

.media-block { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media-block img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* =========================================================
   MEDICAL TOURISM — immersive experience
   ========================================================= */
.immersive {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.immersive-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}
.immersive-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  animation: slowZoom 26s ease-in-out infinite alternate;
}
@keyframes slowZoom { from { transform: scale(1.02); } to { transform: scale(1.11); } }
.immersive-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,31,13,.55) 0%, rgba(8,31,13,.55) 30%, rgba(8,31,13,.92) 100%),
    linear-gradient(100deg, rgba(8,31,13,.75) 0%, rgba(12,52,23,.35) 60%);
}
.immersive-content { position: relative; z-index: 2; width: 100%; padding: 120px 0 40px; }
.immersive .eyebrow { color: var(--sage); }
.immersive h1 { color: var(--white); font-size: clamp(30px, 8vw, 52px); margin-bottom: 14px; }
.immersive-lead { color: rgba(255,255,255,.85); font-size: 16.5px; max-width: 540px; margin-bottom: 30px; }

.immersive-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.immersive-feature { padding-left: 16px; border-left: 3px solid var(--sage); }
.immersive-feature h3 { color: var(--white); font-size: 16px; margin-bottom: 3px; }
.immersive-feature p { color: rgba(255,255,255,.72); font-size: 14px; margin: 0; }

.immersive-cta { display: flex; flex-direction: column; gap: 12px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.7); font-size: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  letter-spacing: .06em; text-transform: uppercase;
}
.scroll-hint span { width: 1px; height: 26px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.scroll-hint span::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--white); animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { to { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .immersive-bg img { animation: none; }
  .scroll-hint span::after { animation: none; }
}

/* ---------- Contact ---------- */
.contact-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px;
}
.contact-card-icon {
  position: relative; overflow: hidden;
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(23,94,41,.16));
  color: var(--jungle);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(9px) saturate(160%);
  -webkit-backdrop-filter: blur(9px) saturate(160%);
  box-shadow: 0 5px 12px -8px rgba(12,52,23,.4), inset 0 1px 0 rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon::before {
  content: ""; position: absolute; top: -55%; left: -25%;
  width: 85%; height: 85%;
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,0) 65%);
  transform: rotate(-18deg);
  pointer-events: none;
}
.contact-card-icon svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.contact-card h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 3px; }
.contact-card a, .contact-card span { display: block; font-size: 15.5px; font-weight: 600; color: var(--black); }
.contact-card a:hover { color: var(--jungle); }

/* =========================================================
   ASK keICURA — simple modal
   ========================================================= */
.ask-fab {
  position: fixed; right: 18px; bottom: 100px; z-index: 150;
  display: flex; align-items: center; gap: 8px;
  background: var(--jungle); color: var(--white);
  border-radius: 999px; padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow);
  border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  transition: transform .25s var(--ease);
}
.ask-fab:hover { transform: translateY(-2px); }
.ask-fab-icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ask-fab-icon img { width: 20px; height: 20px; }

.ask-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease);
}
.ask-modal.open { opacity: 1; visibility: visible; }
.ask-modal-backdrop { position: absolute; inset: 0; background: rgba(8,31,13,.5); }
.ask-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  padding: 26px 22px 30px;
  transform: translateY(40px);
  transition: transform .35s var(--ease-soft);
  max-height: 88vh; overflow-y: auto;
}
.ask-modal.open .ask-panel { transform: translateY(0); }
.ask-panel-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--paper); color: var(--black);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.ask-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.ask-panel-head img { width: 40px; height: 40px; }
.ask-panel h3 { font-size: 19px; margin: 0; }
.ask-panel-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.ask-topics { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.ask-topic {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: var(--white); cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ask-topic:hover { border-color: var(--jungle); background: var(--jungle-light); }
.ask-topic-icon {
  position: relative; overflow: hidden;
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(23,94,41,.16));
  color: var(--jungle);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  box-shadow: 0 4px 10px -7px rgba(12,52,23,.4), inset 0 1px 0 rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
}
.ask-topic-icon::before {
  content: ""; position: absolute; top: -55%; left: -25%;
  width: 85%; height: 85%;
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,0) 65%);
  transform: rotate(-18deg);
  pointer-events: none;
}
.ask-topic-icon svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.ask-panel-alt { text-align: center; font-size: 13.5px; color: var(--muted); }
.ask-panel-alt a { color: var(--jungle); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--jungle-light) 100%); color: var(--muted); padding: 48px 0 20px; border-top: 1px solid var(--line); }
.footer-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.footer-ambient span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(23,94,41,.12), rgba(23,94,41,0) 70%);
  animation: floatBlob 18s ease-in-out infinite;
}
.footer-ambient span:nth-child(1) { width: 320px; height: 320px; top: -140px; left: -80px; animation-delay: 0s; }
.footer-ambient span:nth-child(2) { width: 260px; height: 260px; bottom: -120px; right: -60px; background: radial-gradient(circle at 60% 40%, rgba(23,148,66,.14), rgba(23,148,66,0) 70%); animation-delay: -7s; }
.footer-pulse-line { position: absolute; top: 0; left: 0; width: 100%; height: 44px; z-index: 0; opacity: .55; }
.footer-pulse-line path {
  fill: none; stroke: var(--jungle); stroke-width: 1.4;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: pulseDraw 6s ease-in-out infinite;
}
@keyframes pulseDraw {
  0% { stroke-dashoffset: 340; opacity: 0; }
  10% { opacity: .5; }
  55% { stroke-dashoffset: 0; opacity: .5; }
  75% { opacity: 0; }
  100% { stroke-dashoffset: -340; opacity: 0; }
}
.footer-grid { position: relative; z-index: 1; display: grid; gap: 26px; margin-bottom: 26px; }
.footer-brand img { height: 40px; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; color: var(--muted); }
.footer-col h4 { color: var(--black); font-size: 14.5px; margin-bottom: 12px; }
.footer-col a, .footer-col span { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--jungle); }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
  transition: transform .25s var(--ease);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Form ---------- */
.form-card { background: var(--paper); border-radius: var(--radius); padding: 24px 18px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 15px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line); font-family: var(--font-body); font-size: 15.5px;
  background: var(--white); color: var(--text); min-height: 48px;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--jungle); box-shadow: 0 0 0 3px rgba(23,94,41,.15);
}
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; text-align: center; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-soft), transform .6s var(--ease-soft); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  body.page-enter { animation: none; }
  .dash-ambient span, .footer-ambient span, .footer-pulse-line path { animation: none; }
  .footer-pulse-line { opacity: 0; }
  .tile, .tile-featured { transform: none !important; }
}

/* =========================================================
   Tablet and up
   ========================================================= */
@media (min-width: 720px) {
  section { padding: 74px 0; }
  .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .cta-actions { flex-direction: row; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .dash-hero { padding: 34px 0 26px; }
  .quick-actions { max-width: 420px; margin: 0 auto; }
}

/* =========================================================
   Desktop
   ========================================================= */
@media (min-width: 1000px) {
  .brand img { height: 44px; }
  .main-nav {
    position: static; width: auto; transform: none; padding: 0; box-shadow: none;
    flex-direction: row; align-items: center; gap: 28px; background: transparent;
  }
  .main-nav a { border-bottom: none; padding: 6px 0; font-size: 15px; position: relative; opacity: 1; transform: none; transition: color .2s ease; }
  .nav-icon { display: none; }
  .main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: var(--jungle); transform: scaleX(0); transition: transform .25s var(--ease);
  }
  .main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
  .main-nav .nav-cta { display: none; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }

  .dash-hero { padding: 46px 0 30px; }
  .dash-logo { height: 56px; }
  .dash-tagline { font-size: 18px; }
  .dash-intro { max-width: 480px; font-size: 16px; }
  .tile-grid { max-width: 900px; margin: 0 auto; }
  .quick-actions { max-width: 380px; }

  .about-grid, .contact-grid { display: grid; gap: 60px; align-items: center; }
  .about-grid { grid-template-columns: .85fr 1.15fr; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; }

  .immersive-content { padding: 140px 0 70px; max-width: 640px; }
}

@media (min-width: 1240px) {
  .container { padding: 0 24px; }
}
