/* =========================================================
assets/lab-testing.css (FULL)
- Clean lab service page styles
- Uses your existing assets/style.css header + hero system
- Fixes: :root variables + hero tint overlay layering
========================================================= */

/* ✅ FIX: must be :root (not root) */
:root{
  --ris-yellow:#ffb018;
  --ink:#0f172a;
  --muted:#475569;
  --line:rgba(15,23,42,.12);
  --shadow: 0 18px 45px rgba(15,23,42,.08);
}

/* Base */
.labBody{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
}

/* Optional SR only helper */
.srOnly{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* =========================================================
HERO (tint image slightly orange so text is readable)
========================================================= */

/* Keep media positioned so overlay works */


/* ✅ Orange tint overlay — LIGHT, not dark, and never blocks clicks */
.labHeroOverlay{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;

  /* Soft RIS orange tint + gentle dark assist */
  background:
    linear-gradient(
      180deg,
      rgba(255,176,24,.30) 0%,
      rgba(255,176,24,.26) 45%,
      rgba(0,0,0,.22) 100%
    );

  /* Blend keeps image visible but warmer */
  mix-blend-mode: multiply;
}

/* ✅ Ensure hero text is always above overlays */
.itk-hero__content{
  position: relative;
  z-index: 5;
}

/* Breadcrumb */
.labCrumb{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.labCrumb a{ color:inherit; text-decoration:none; }
.labCrumb a:hover{ text-decoration:underline; }

/* Hero typography */
.labHero__title{
  margin: 12px 0 10px;
  font-family:"Poppins",system-ui;
  font-weight:600;
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing:-.03em;
  line-height:1.05;
  color:#fff;
  text-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.labHero__lead{
  max-width: 72ch;
  margin: 0;
  line-height: 1.85;
  color: rgba(255,255,255,.90);
  text-shadow: 0 10px 20px rgba(0,0,0,.22);
}

/* Hero buttons */
.labHero__actions{
  margin-top: 16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.labBtn{
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:600;
  border:1px solid transparent;
  transition: transform .16s ease, filter .16s ease;
}
.labBtn:hover{ transform: translateY(-2px); filter: brightness(.98); }

.labBtn--primary{
  background: var(--ris-yellow);
  color:#111;
  border-color: rgba(0,0,0,.12);
}
.labBtn--ghost{
  background: rgba(255,255,255,.14);
  color:#fff;
  border-color: rgba(255,255,255,.22);
}

/* =========================================================
MAIN BACKGROUND (subtle clean)
========================================================= */
.labMain{
  padding: 34px 0 70px;
  background:
    radial-gradient(900px 420px at 12% 10%, rgba(255,176,24,.10), transparent 60%),
    radial-gradient(800px 360px at 90% 0%, rgba(59,130,246,.06), transparent 55%),
    linear-gradient(#ffffff, #ffffff);
}

/* =========================================================
INTRO
========================================================= */
.labIntro{
  padding: 10px 0 28px;
}

.labIntro__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
}

.labIntro__text p{
  margin:0 0 12px;
  color: rgba(15,23,42,.72);
  line-height: 1.9;
  font-size: 14.8px;
  max-width: 95ch;
}

.labIntro__pic{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:#eef2f7;
  min-height: 220px;
}

.labIntro__pic img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* =========================================================
SERVICES GRID
========================================================= */
.labServices{
  padding: 16px 0 0;
}

.labH2{
  margin: 0 0 14px;
  font-family:"Poppins",system-ui;
  font-weight:600;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing:-.02em;
}

.labGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.labCard{
  text-decoration:none;
  color:inherit;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 14px 28px rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.labCard:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15,23,42,.10);
  border-color: rgba(15,23,42,.18);
}

.labCard__img{
  height: 170px;
  background:#eef2f7;
}

.labCard__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.labCard__body{
  padding: 14px;
}

.labCard__body h3{
  margin:0 0 6px;
  font-family:"Poppins",system-ui;
  font-weight:600;
  font-size: 14.5px;
}

.labCard__body p{
  margin:0;
  color: rgba(15,23,42,.68);
  line-height: 1.7;
  font-size: 13.8px;
}

/* =========================================================
BOTTOM CTA
========================================================= */
.labBottomCta{
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b1220;
  color:#fff;
  padding: 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

.labBottomCta h3{
  margin:0 0 6px;
  font-family:"Poppins",system-ui;
  font-weight:600;
  font-size: 15px;
}

.labBottomCta p{
  margin:0;
  color: rgba(255,255,255,.74);
  line-height: 1.6;
  font-size: 13.6px;
}

/* =========================================================
RESPONSIVE
========================================================= */
@media (max-width: 980px){
  .labIntro__grid{ grid-template-columns: 1fr; }
  .labGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px){
  .labGrid{ grid-template-columns: 1fr; }
}

/* Blend-mode fallback (some browsers) */
@supports not (mix-blend-mode: multiply){
  .labHeroOverlay{
    mix-blend-mode: normal;
    background: linear-gradient(
      180deg,
      rgba(255,176,24,.22) 0%,
      rgba(0,0,0,.30) 100%
    );
  }
}
/* =========================================================
LAB SERVICES SLIDER
========================================================= */

.labServices{
  padding: 16px 0 0;
}

.labServices__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.labSlider{
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 28px rgba(15,23,42,.06);
  padding: 12px 12px 10px;
}

/* Track */
.labTrack{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 340px);
  gap: 14px;

  overflow-x:auto;
  overflow-y:hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  padding: 4px 6px 12px;
  cursor: grab;

  scrollbar-width: thin;
  scrollbar-color: rgba(15,23,42,.18) transparent;
}
.labTrack.is-dragging{ cursor: grabbing; }
.labTrack::-webkit-scrollbar{ height: 7px; }
.labTrack::-webkit-scrollbar-thumb{
  background: rgba(15,23,42,.18);
  border-radius: 999px;
}

/* Make each card snap nicely */
.labTrack .labCard{
  scroll-snap-align: start;
}

/* Arrows */
.labArrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 26px rgba(15,23,42,.12);
  display:grid;
  place-items:center;
  font-size: 28px;
  line-height: 1;
  cursor:pointer;
  transition: transform .18s ease, opacity .18s ease;
}

.labArrow:hover{ transform: scale(1.05); }
.labArrow:active{ transform: scale(.98); }
.labArrow[disabled]{ opacity:.35; cursor:not-allowed; box-shadow:none; }

.labServices__controls{
  display:flex;
  gap: 10px;
}

/* Edge fades */
.labFade{
  position:absolute;
  top: 12px;
  bottom: 44px;
  width: 64px;
  pointer-events:none;
  z-index: 2;
}

/* Progress + dots */
.labMeta{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 4px 6px 0;
}

.labBar{
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(15,23,42,.10);
  overflow:hidden;
}
.labBar__fill{
  display:block;
  height:100%;
  width:0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ris-yellow), rgba(255,176,24,.55));
}

.labDots{
  display:flex;
  gap: 6px;
}
.labDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,.18);
}
.labDot.is-active{ background: var(--ris-yellow); }

/* Mobile: hide fades if you want more space */
@media (max-width: 640px){
  .labFade{ display:none; }
  .labServices__head{ align-items:center; }
}
