*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --teal:#0B7B6B;
  --teal2:#0D9E89;
  --teal-light:#E6F7F4;
  --teal-dim:rgba(11,123,107,0.12);
  --teal-glow:rgba(11,123,107,0.07);
  --red-pulse:#E8445A;
  --cream:#FAFCFB;
  --white:#FFFFFF;
  --ink:#0F1F1D;
  --ink2:#1A3330;
  --text:#2D4A46;
  --muted:#5E7E7A;
  --border:rgba(11,123,107,0.14);
  --nav-h:66px;
}
html{scroll-behavior:smooth}
body{
  font-family:'DM Sans',sans-serif;
  background:var(--cream);
  color:var(--text);
  overflow-x:hidden;
  line-height:1.6;
}

/* ── ECG PULSE ANIMATION ── */
@keyframes ecg-draw{
  0%{stroke-dashoffset:900}
  100%{stroke-dashoffset:0}
}
@keyframes ecg-fade{
  0%,60%{opacity:1}
  80%,100%{opacity:0}
}
@keyframes pulse-dot{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.4);opacity:0.7}
}
@keyframes float-up{
  0%{opacity:0;transform:translateY(20px)}
  100%{opacity:1;transform:translateY(0)}
}
@keyframes shimmer{
  0%{background-position:200% center}
  100%{background-position:-200% center}
}
@keyframes heartbeat{
  0%,100%{transform:scale(1)}
  14%{transform:scale(1.12)}
  28%{transform:scale(1)}
  42%{transform:scale(1.06)}
  70%{transform:scale(1)}
}
@keyframes float-particle{
  0%{transform:translateY(0) rotate(0deg);opacity:0.5}
  50%{opacity:1}
  100%{transform:translateY(-80px) rotate(180deg);opacity:0}
}
@keyframes drift{
  0%{transform:translate(0,0) rotate(0deg)}
  33%{transform:translate(18px,-12px) rotate(120deg)}
  66%{transform:translate(-14px,10px) rotate(240deg)}
  100%{transform:translate(0,0) rotate(360deg)}
}
@keyframes spin-slow{
  0%{transform:rotate(0deg)}
  100%{transform:rotate(360deg)}
}
@keyframes blink-dot{
  0%,100%{opacity:0.3}
  50%{opacity:1}
}

/* ── MEDICAL CANVAS BG ── */
#med-canvas{
  position:fixed;top:0;left:0;width:100%;height:100%;
  pointer-events:none;z-index:0;
  opacity:0.55;
}
body>*:not(#med-canvas){position:relative;z-index:1}
/* per-section SVG backgrounds */
.bg-layer{
  position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;
}
.bg-layer svg{width:100%;height:100%;position:absolute;inset:0}
section,.about,.services-sec,.whyus,.tests,.contact-sec{position:relative}
/* ensure direct content children sit above bg-layer */
section>.container,section>.hero-content,
.about>.container,.services-sec>.container,
.whyus>.container,.tests>.container,.contact-sec>.container{position:relative;z-index:1}
/* also for svc-hd directly in section */
.services-sec>.svc-hd{position:relative;z-index:1}

/* ── NAV ── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:200;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(16px);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 5%;height:var(--nav-h);
  border-bottom:1px solid var(--border);
  box-shadow:0 1px 20px rgba(11,123,107,0.06);
}
.nav-logo{display:flex;align-items:center;gap:11px;text-decoration:none}
.nav-logo-icon{
  width:38px;height:38px;border-radius:10px;
  background:linear-gradient(135deg,var(--teal),var(--teal2));
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;flex-shrink:0;
  animation:heartbeat 2.4s ease-in-out infinite;
}
.nav-logo-text .top{
  font-family:'Fraunces',serif;font-weight:700;font-size:1.05rem;
  color:var(--teal);letter-spacing:-0.01em;display:block;line-height:1.1;
}
.nav-logo-text .btm{font-size:0.6rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--muted);font-weight:400}
.nav-links{display:flex;align-items:center;gap:0.2rem}
.nav-links a{
  color:var(--text);text-decoration:none;font-size:0.78rem;
  letter-spacing:0.06em;font-weight:500;padding:7px 14px;border-radius:100px;
  transition:color 0.2s,background 0.2s;
}
.nav-links a:hover,.nav-links a.active{color:var(--teal);background:var(--teal-dim)}
.nav-call{
  background:var(--teal);color:#fff !important;
  padding:8px 18px !important;border-radius:100px !important;
  font-weight:600 !important;
  box-shadow:0 4px 14px rgba(11,123,107,0.3);
  transition:background 0.2s !important,box-shadow 0.2s !important;
}
.nav-call:hover{background:var(--teal2) !important;box-shadow:0 6px 20px rgba(11,123,107,0.4) !important}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:8px}
.hamburger span{display:block;width:22px;height:2px;background:var(--teal);border-radius:2px;transition:transform 0.3s,opacity 0.3s}
.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)}
.mob-menu{
  display:none;position:fixed;top:var(--nav-h);left:0;right:0;z-index:199;
  background:rgba(255,255,255,0.98);backdrop-filter:blur(16px);
  flex-direction:column;border-bottom:1px solid var(--border);
  box-shadow:0 8px 32px rgba(11,123,107,0.1);
}
.mob-menu.open{display:flex}
.mob-menu a{
  color:var(--text);text-decoration:none;padding:15px 6%;
  font-size:0.88rem;letter-spacing:0.06em;font-weight:500;
  border-bottom:1px solid var(--border);transition:color 0.2s,background 0.2s;
}
.mob-menu a:hover{color:var(--teal);background:var(--teal-glow)}

/* ── HERO ── */
.hero{
  min-height:100svh;
  background:var(--white);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  padding:calc(var(--nav-h) + 50px) 5% 60px;
  text-align:center;
  position:relative;overflow:hidden;
}
/* soft radial glow */
.hero::before{
  content:'';position:absolute;
  top:-100px;left:50%;transform:translateX(-50%);
  width:900px;height:600px;
  background:radial-gradient(ellipse at center,rgba(11,123,107,0.07) 0%,transparent 70%);
  pointer-events:none;
}
/* dot grid */
.hero::after{
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(circle,rgba(11,123,107,0.1) 1px,transparent 1px);
  background-size:28px 28px;
  pointer-events:none;mask-image:radial-gradient(ellipse at center,black 20%,transparent 70%);
}
.hero-content{position:relative;z-index:1;max-width:700px;margin:0 auto}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--teal-dim);border:1px solid var(--border);
  color:var(--teal);font-size:0.68rem;letter-spacing:0.2em;text-transform:uppercase;
  font-weight:600;padding:6px 18px;border-radius:100px;margin-bottom:2rem;
  animation:float-up 0.8s ease both;
}
.hero-badge::before{content:'';width:6px;height:6px;background:var(--teal2);border-radius:50%;animation:pulse-dot 1.5s ease-in-out infinite}
.hero h1{
  font-family:'Fraunces',serif;
  font-size:clamp(2.8rem,7vw,5.2rem);
  font-weight:700;color:var(--ink);
  line-height:1.05;letter-spacing:-0.02em;
  margin-bottom:0.75rem;
  animation:float-up 0.8s ease 0.1s both;
}
.hero h1 em{
  font-style:italic;font-weight:300;
  color:var(--teal);display:block;
}
.hero-sub{
  font-size:1rem;color:var(--muted);line-height:1.8;
  max-width:460px;margin:0 auto 2.5rem;font-weight:300;
  animation:float-up 0.8s ease 0.2s both;
}
.hero-btns{
  display:flex;gap:12px;justify-content:center;flex-wrap:wrap;
  animation:float-up 0.8s ease 0.3s both;
  margin-bottom:3.5rem;
}
.btn-teal{
  background:var(--teal);color:#fff;text-decoration:none;
  padding:13px 28px;border-radius:100px;
  font-weight:600;font-size:0.82rem;letter-spacing:0.06em;
  box-shadow:0 6px 20px rgba(11,123,107,0.3);
  transition:background 0.2s,transform 0.2s,box-shadow 0.2s;
  display:inline-flex;align-items:center;gap:8px;
}
.btn-teal:hover{background:var(--teal2);transform:translateY(-2px);box-shadow:0 10px 28px rgba(11,123,107,0.38)}
.btn-outline{
  border:1.5px solid var(--teal);color:var(--teal);text-decoration:none;
  padding:12px 28px;border-radius:100px;
  font-weight:500;font-size:0.82rem;letter-spacing:0.06em;
  transition:background 0.2s;
  display:inline-flex;align-items:center;gap:8px;
}
.btn-outline:hover{background:var(--teal-dim)}

/* ECG strip */
.ecg-strip{
  width:100%;max-width:620px;margin:0 auto;
  animation:float-up 0.8s ease 0.4s both;
  position:relative;
}
.ecg-strip svg{width:100%;overflow:visible}
.ecg-line{
  stroke-dasharray:900;
  stroke-dashoffset:900;
  animation:ecg-draw 2.2s ease 0.5s forwards;
}
.hero-stats{
  display:flex;justify-content:center;gap:0;
  margin-top:2.5rem;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 4px 24px rgba(11,123,107,0.07);
  animation:float-up 0.8s ease 0.5s both;
}
.hstat{padding:18px 28px;text-align:center;border-right:1px solid var(--border)}
.hstat:last-child{border-right:none}
.hstat .num{font-family:'Fraunces',serif;font-size:1.9rem;font-weight:700;color:var(--teal);line-height:1}
.hstat .lbl{font-size:0.62rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted);margin-top:3px}

/* ── SECTIONS ── */
section{padding:76px 5%}
.container{max-width:1060px;margin:0 auto}
.s-tag{font-size:0.62rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--teal);font-weight:600;margin-bottom:0.5rem}
.s-title{font-family:'Fraunces',serif;font-size:clamp(1.8rem,4vw,2.8rem);font-weight:700;color:var(--ink);line-height:1.15;margin-bottom:0.75rem}
.s-sub{color:var(--muted);font-size:0.9rem;line-height:1.8;max-width:480px;font-weight:300}
.teal-rule{width:40px;height:3px;background:linear-gradient(90deg,var(--teal),var(--teal2));border-radius:2px;margin-bottom:1rem}

/* ── SERVICES ── */
.services-sec{background:var(--cream)}
.svc-hd{text-align:center;margin-bottom:3rem}
.svc-hd .s-sub{margin:0 auto}
.svc-hd .teal-rule{margin:0 auto 1rem}
.svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;max-width:1060px;margin:0 auto}
.svc-card{
  background:var(--white);border-radius:16px;padding:2rem 1.75rem;
  border:1px solid var(--border);
  transition:box-shadow 0.3s,transform 0.3s,border-color 0.3s;
  position:relative;overflow:hidden;
}
.svc-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--teal),var(--teal2));
  transform:scaleX(0);transform-origin:left;transition:transform 0.35s;
}
.svc-card:hover{box-shadow:0 12px 40px rgba(11,123,107,0.1);transform:translateY(-4px);border-color:rgba(11,123,107,0.25)}
.svc-card:hover::before{transform:scaleX(1)}
.svc-icon-wrap{
  width:52px;height:52px;border-radius:14px;
  background:var(--teal-light);
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;margin-bottom:1.25rem;
  transition:background 0.25s;
}
.svc-card:hover .svc-icon-wrap{background:var(--teal-dim)}
.svc-card h3{font-family:'Fraunces',serif;font-weight:600;font-size:1.05rem;color:var(--ink);margin-bottom:0.5rem}
.svc-card p{font-size:0.8rem;color:var(--muted);line-height:1.7;font-weight:300}
.svc-tag{
  display:inline-block;margin-top:1rem;
  font-size:0.62rem;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--teal);font-weight:600;
  background:var(--teal-light);
  padding:3px 10px;border-radius:100px;
}

/* ── ABOUT ── */
.about{background:var(--white)}
.about-inner{display:grid;grid-template-columns:1fr 1fr;gap:4.5rem;align-items:center}
/* visual side: health card style */
.lab-card{
  background:linear-gradient(135deg,var(--teal),#054d42);
  border-radius:20px;padding:2.5rem;color:#fff;
  position:relative;overflow:hidden;
}
.lab-card::before{
  content:'';position:absolute;
  top:-60px;right:-60px;width:200px;height:200px;
  border-radius:50%;background:rgba(255,255,255,0.05);
}
.lab-card::after{
  content:'';position:absolute;
  bottom:-40px;left:-40px;width:160px;height:160px;
  border-radius:50%;background:rgba(255,255,255,0.04);
}
.lc-inner{position:relative;z-index:1}
.lc-logo{font-family:'Fraunces',serif;font-size:1.3rem;font-weight:700;margin-bottom:0.5rem}
.lc-sub{font-size:0.68rem;letter-spacing:0.2em;text-transform:uppercase;opacity:0.65;margin-bottom:2rem}
.lc-divider{height:1px;background:rgba(255,255,255,0.15);margin-bottom:1.5rem}
.lc-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;font-size:0.82rem}
.lc-row .k{opacity:0.6;font-weight:300}
.lc-row .v{font-weight:600}
/* pulse ECG mini in card */
.lc-ecg{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,0.12)}
.lc-ecg-label{font-size:0.6rem;letter-spacing:0.2em;text-transform:uppercase;opacity:0.5;margin-bottom:8px}
.lc-ecg svg{width:100%;overflow:visible}
.lc-ecg .mini-ecg{
  stroke-dasharray:500;
  stroke-dashoffset:500;
  animation:ecg-draw 2s ease 1s forwards;
}
.about-pts{display:flex;flex-direction:column;gap:14px;margin-top:1.75rem}
.apt{
  display:flex;gap:14px;align-items:flex-start;
  padding:14px 16px;background:var(--cream);border-radius:10px;
  border:1px solid var(--border);
  transition:border-color 0.2s,background 0.2s;
}
.apt:hover{border-color:rgba(11,123,107,0.3);background:var(--teal-light)}
.apt-icon{
  width:36px;height:36px;border-radius:8px;
  background:var(--teal-light);
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;flex-shrink:0;
}
.apt-body h4{font-weight:600;font-size:0.88rem;color:var(--ink);margin-bottom:2px}
.apt-body p{font-size:0.78rem;color:var(--muted);line-height:1.6;font-weight:300}

/* ── WHY US ── */
.whyus{background:var(--cream)}
.whyus-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:4rem;align-items:center}
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.why-card{
  background:var(--white);border-radius:14px;padding:1.5rem;
  border:1px solid var(--border);
  transition:box-shadow 0.25s,transform 0.25s;
}
.why-card:hover{box-shadow:0 8px 28px rgba(11,123,107,0.09);transform:translateY(-3px)}
.why-icon{font-size:1.6rem;margin-bottom:0.75rem;display:block}
.why-card h4{font-family:'Fraunces',serif;font-weight:600;font-size:0.95rem;color:var(--ink);margin-bottom:4px}
.why-card p{font-size:0.75rem;color:var(--muted);line-height:1.65;font-weight:300}
/* numbers side */
.why-numbers{display:flex;flex-direction:column;gap:1rem}
.wn{
  background:var(--white);border-radius:14px;padding:1.5rem;
  border:1px solid var(--border);display:flex;align-items:center;gap:1.25rem;
}
.wn-num{font-family:'Fraunces',serif;font-size:2.5rem;font-weight:700;color:var(--teal);line-height:1;flex-shrink:0}
.wn-text h4{font-weight:600;font-size:0.88rem;color:var(--ink);margin-bottom:2px}
.wn-text p{font-size:0.75rem;color:var(--muted);font-weight:300}

/* ── TESTS ── */
.tests{background:var(--teal);color:#fff}
.tests .s-tag{color:rgba(255,255,255,0.6)}
.tests .s-title{color:#fff}
.tests-inner{display:grid;grid-template-columns:1fr 2fr;gap:4rem;align-items:start}
.tests-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:0.5rem}
.test-pill{
  background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.15);
  border-radius:8px;padding:10px 14px;
  font-size:0.8rem;font-weight:500;color:rgba(255,255,255,0.9);
  transition:background 0.2s;cursor:default;
}
.test-pill:hover{background:rgba(255,255,255,0.18)}
.test-pill .t-icon{margin-right:6px}

/* ── KEYWORDS ── */
.kw{background:var(--ink2);padding:22px 5%;text-align:center}
.kw p{font-size:0.68rem;color:rgba(255,255,255,0.4);letter-spacing:0.08em;line-height:2.5}
.kw p a{color:rgba(11,199,180,0.6);text-decoration:none;margin:0 6px;transition:color 0.2s}
.kw p a:hover{color:#0dd9c4}

/* ── CONTACT ── */
.contact-sec{background:var(--white)}
.contact-inner{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}
.c-cards{display:flex;flex-direction:column;gap:12px;margin-top:1.75rem}
.c-card{
  display:flex;align-items:center;gap:16px;
  background:var(--cream);border:1px solid var(--border);
  border-radius:12px;padding:14px 18px;
  transition:border-color 0.2s,box-shadow 0.2s;
}
.c-card:hover{border-color:rgba(11,123,107,0.35);box-shadow:0 4px 16px rgba(11,123,107,0.08)}
.c-icon{
  width:42px;height:42px;
  background:linear-gradient(135deg,var(--teal),var(--teal2));
  border-radius:10px;display:flex;align-items:center;justify-content:center;
  font-size:1rem;flex-shrink:0;color:#fff;
}
.c-lbl{font-size:0.6rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--muted);font-weight:500}
.c-val{color:var(--ink);font-size:0.9rem;font-weight:600;margin-top:2px}
.c-val a{color:var(--ink);text-decoration:none;transition:color 0.2s}
.c-val a:hover{color:var(--teal)}
.c-val .sub{font-size:0.75rem;color:var(--muted);font-weight:300;margin-top:1px;display:block;font-family:'DM Sans',sans-serif}
.contact-right{display:flex;flex-direction:column;gap:14px}
.map-box{
  background:var(--teal-light);border:1px solid var(--border);
  border-radius:14px;height:200px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;text-align:center;
}
.map-box p{color:var(--muted);font-size:0.8rem}
.map-box a{color:var(--teal);font-size:0.82rem;font-weight:600;text-decoration:none}
.map-box a:hover{text-decoration:underline}
.hours-box{
  background:var(--cream);border:1px solid var(--border);
  border-radius:14px;padding:1.5rem;
}
.hours-title{font-size:0.62rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem;font-weight:600}
.hours-row{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid var(--border);font-size:0.82rem}
.hours-row:last-child{border-bottom:none}
.hours-row .day{color:var(--muted)}
.hours-row .time{color:var(--ink);font-weight:500}
.wa-btn{
  display:flex;align-items:center;justify-content:center;gap:10px;
  background:#25D366;color:#fff;border-radius:100px;
  padding:13px;font-weight:600;font-size:0.82rem;letter-spacing:0.06em;
  text-decoration:none;transition:opacity 0.2s,transform 0.2s;
}
.wa-btn:hover{opacity:0.9;transform:translateY(-1px)}

/* ── FOOTER ── */
footer{
  background:var(--ink);color:rgba(255,255,255,0.45);
  text-align:center;padding:2rem 5%;font-size:0.75rem;line-height:2;
}
footer .brand{
  font-family:'Fraunces',serif;font-size:1.1rem;font-weight:700;
  color:var(--teal2);display:block;margin-bottom:4px;
}
footer a{color:rgba(255,255,255,0.45);text-decoration:none}
footer a:hover{color:var(--teal2)}

/* ── REVEAL ── */
.reveal{opacity:0;transform:translateY(24px);transition:opacity 0.6s ease,transform 0.6s ease}
.reveal.visible{opacity:1;transform:none}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .about-inner,.whyus-inner,.contact-inner,.tests-inner{grid-template-columns:1fr;gap:2.5rem}
}
@media(max-width:640px){
  .nav-links{display:none}
  .hamburger{display:flex}
  section{padding:52px 5%}
  .hero{padding-top:calc(var(--nav-h)+30px)}
  .hero-stats{flex-direction:column;gap:0;width:100%;max-width:280px;margin-left:auto;margin-right:auto}
  .hstat{border-right:none;border-bottom:1px solid var(--border)}
  .hstat:last-child{border-bottom:none}
  .why-grid{grid-template-columns:1fr}
  .tests-list{grid-template-columns:1fr}
}
@media(max-width:420px){
  .svc-grid{grid-template-columns:1fr}
}