/* ==========================================================
   LabCity — dense diagnostics homepage (NO animations)
   Red #c2191a · Navy #040f33
   ========================================================== */
:root{
  --red:#c2191a; --red-dark:#a5130f; --navy:#040f33; --navy-2:#0b1a4a;
  --bg:#f4f5f8; --white:#fff; --line:#e5e7ef; --line-2:#eef0f6;
  --muted:#5b6172; --red-light:#ffece9; --navy-light:#eef0f6; --green:#159a63;
  --r:14px; --maxw:1240px;
  --sh:0 4px 18px rgba(4,15,51,.07); --sh-2:0 10px 30px rgba(4,15,51,.10);
}
*{margin:0;padding:0;box-sizing:border-box}
/* Hard lock: no horizontal scroll, no pinch/pan-zoom gestures, no elastic
   overscroll bounce (the bounce is what was dragging the fixed bottom tab
   bar out of place on scroll) */
html,body{
  overflow-x:clip;
  max-width:100%;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
/* Motion kept OFF globally, except intentional micro-transitions (mega menu, tabs) */
*,*::before,*::after{animation:none!important}
html{scroll-behavior:auto}
body{font-family:'Inter',system-ui,sans-serif;background:var(--bg);color:var(--navy);line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font-family:inherit;cursor:pointer;border:none;background:none}
/* ---- Button / interactive hover effects ---- */
.nav-book,.bk-go,.add-btn,.store,.detect-loc,.city,.hicon,.see-all,.head-loc,
.pkg-card,.test-card,.concern,.organ,.mega-link,.booker-chips a,.foot-social a{
  transition:background .2s ease,color .2s ease,border-color .2s ease,box-shadow .22s ease}
.nav-book:hover,.bk-go:hover,.add-btn:hover,.store:hover,.detect-loc:hover{box-shadow:var(--sh-2)}
.concern:hover,.organ:hover,.pkg-card:hover,.test-card:hover{box-shadow:var(--sh-hover)}
.ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* ---------- LOCATION MODAL (redesigned) ---------- */
.modal-overlay{position:fixed;inset:0;background:rgba(4,15,51,.5);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:200;display:none;align-items:center;justify-content:center;padding:20px}
.modal-overlay.open{display:flex}
.loc-modal{position:relative;background:#fff;border-radius:24px;width:min(540px,100%);max-height:88vh;overflow:auto;box-shadow:0 40px 90px rgba(4,15,51,.35);padding:28px}
.loc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.loc-head h3{font-size:1.24rem;font-weight:700;color:var(--navy);line-height:1.2}
.loc-head p{font-size:.86rem;color:var(--muted);margin-top:3px}
.loc-x{width:34px;height:34px;border-radius:50%;background:var(--bg);color:var(--muted);display:grid;place-items:center;flex-shrink:0}
.loc-x:hover{background:var(--red-light);color:var(--red)}
.loc-x .ic{width:16px;height:16px}

.loc-search{display:flex;align-items:center;gap:10px;background:var(--bg);border:1px solid var(--line);border-radius:13px;padding:0 14px;margin-bottom:10px}
.loc-search .ic{color:var(--muted);width:18px;height:18px;flex-shrink:0}
.loc-search input{flex:1;border:none;background:none;outline:none;padding:13px 0;font-size:.92rem;color:var(--navy)}
.loc-search:focus-within{border-color:var(--red);box-shadow:var(--ring)}

.loc-detect{display:flex;align-items:center;gap:12px;width:100%;background:var(--red-light);border:none;border-radius:13px;padding:12px 14px;margin-bottom:22px;text-align:left}
.loc-detect:hover{background:#ffdfda}
.loc-detect .ld-ico{width:34px;height:34px;border-radius:10px;background:#fff;color:var(--red);display:grid;place-items:center;flex-shrink:0}
.loc-detect .ld-ico .ic{width:16px;height:16px}
.loc-detect .ld-text{flex:1;display:flex;flex-direction:column;gap:1px}
.loc-detect .ld-text strong{font-size:.87rem;font-weight:600;color:var(--navy)}
.loc-detect .ld-text small{font-size:.76rem;color:var(--muted)}
.loc-detect .ld-arrow{width:16px;height:16px;color:var(--red);flex-shrink:0}

.loc-label{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600;margin:0 0 12px}
.loc-cities{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:24px}
.loc-city{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:11px;padding:11px 10px;font-size:.86rem;font-weight:500;color:var(--navy);text-align:center;background:#fff}
.loc-city:hover{border-color:var(--red);color:var(--red);background:var(--red-light)}
.loc-city.active{border-color:var(--red);background:var(--red-light);color:var(--red);font-weight:600}
.loc-city.active::after{content:"✓";font-weight:700;color:var(--red)}

.loc-more{display:flex;flex-wrap:wrap;gap:9px}
.loc-chip{border:1px solid var(--line);border-radius:100px;padding:8px 15px;font-size:.82rem;font-weight:500;color:var(--muted)}
.loc-chip:hover{border-color:var(--red);color:var(--red);background:var(--red-light)}
.loc-chip.active{background:var(--red);border-color:var(--red);color:#fff}

@media(max-width:640px){
  .loc-modal{padding:22px;border-radius:20px}
  .loc-cities{grid-template-columns:repeat(2,1fr)}
  .loc-head h3{font-size:1.1rem}
}

/* ---------- HERO ---------- */
.hero{background:linear-gradient(180deg,#fff, var(--bg));padding:34px 0 44px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}
.rating-row{display:flex;align-items:center;gap:8px;font-size:.86rem;font-weight:700;color:var(--navy)}
.rating-row .stars{color:#f5a623;letter-spacing:1px}
.hero-title{font-size:clamp(2rem,4vw,3rem);font-weight:800;letter-spacing:-.02em;line-height:1.1;margin:14px 0 10px}
.hero-title span{color:var(--red)}
.hero-sub{color:var(--muted);font-size:1rem;margin-bottom:22px;max-width:520px}

.booker{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--sh);padding:16px}
.booker-tabs{display:flex;gap:0;border-bottom:1.5px solid var(--line);margin-bottom:16px}
.btab{flex:1;padding:12px 8px;font-weight:700;font-size:.92rem;color:var(--muted);background:none;border:none;border-bottom:2.5px solid transparent;margin-bottom:-1.5px;transition:color .2s ease, border-color .2s ease}
.btab:hover{color:var(--navy)}
.btab.active{color:var(--red);border-bottom-color:var(--red);background:none}
.booker-body{display:grid;grid-template-columns:1.7fr 1fr auto;gap:10px}
.bk-field{display:flex;align-items:center;gap:9px;background:var(--bg);border:1.5px solid var(--line);border-radius:11px;padding:0 14px}
.bk-field .ic{color:var(--muted)}
.bk-field input{border:none;background:none;outline:none;padding:14px 0;font-size:.92rem;width:100%}
.bk-field:focus-within{border-color:var(--red)}
.bk-go{background:var(--red);color:#fff;font-weight:800;padding:0 26px;border-radius:11px;font-size:.95rem}
.bk-go:hover{background:var(--red-dark)}
.booker-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;font-size:.82rem}
.booker-chips span{color:var(--muted);font-weight:700}
.booker-chips a{background:var(--navy-light);padding:5px 12px;border-radius:100px;font-weight:600;color:var(--navy)}
.booker-chips a:hover{background:var(--red-light);color:var(--red)}
.hero-usps{list-style:none;display:flex;flex-wrap:wrap;gap:20px;margin-top:18px}
.hero-usps li{display:flex;align-items:center;gap:7px;font-size:.88rem;font-weight:700;color:var(--navy)}
.hero-usps .ic{width:18px;height:18px;color:#fff;background:var(--green);border-radius:50%;padding:3px}

.hero-right{position:relative}
.hero-photo{border-radius:20px;overflow:hidden;box-shadow:var(--sh-2);aspect-ratio:4/3;background:var(--navy-light)}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.float-card{position:absolute;background:#fff;box-shadow:var(--sh-2);border-radius:12px;padding:11px 14px;display:flex;align-items:center;gap:10px}
.fc-1{left:-14px;top:24px}
.fc-2{right:-10px;bottom:26px}
.fc-ico{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:#fff}
.fc-ico.green{background:var(--green)}
.fc-ico.red{background:var(--red)}
.fc-ico .ic{width:18px;height:18px}
.float-card strong{display:block;font-size:.85rem;color:var(--navy)}
.float-card small{font-size:.74rem;color:var(--muted)}

/* ---------- SECTION SHELL ---------- */
.section{padding:44px 0}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.sec-head.center{justify-content:center;text-align:center}
.kicker{display:block;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--red);font-weight:800;margin-bottom:6px}
.kicker.light{color:#ff8f74}
.sec-head h2{font-size:clamp(1.5rem,2.6vw,2rem);font-weight:800;letter-spacing:-.02em;color:var(--navy)}
.sec-head h2.light{color:#fff}
.see-all{color:var(--red);font-weight:700;font-size:.9rem;white-space:nowrap}
.see-all:hover{text-decoration:underline}

/* ---------- CONCERNS (image based, no boxes) ---------- */
.concern-imgs-section{background:#fff;width:100%}
.concern-img-grid{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;background:#fff}
.concern-img{background:transparent;border:none;box-shadow:none;padding:0;text-align:center;font-size:.95rem;font-weight:500;color:var(--navy);display:flex;flex-direction:column;align-items:center;gap:12px;text-decoration:none;flex:1 1 0}
.cimg-bg{width:96px;height:96px;border-radius:22px;background:linear-gradient(160deg,#ffffff,#f5f6f9);display:grid;place-items:center;transition:background .15s ease}
.concern-img img{width:56px;height:56px;object-fit:contain}
.concern-img:hover{color:var(--red)}
.concern-img:hover img{transform:scale(1.06);transition:transform .15s ease}

/* ---------- PACKAGES (card refresh — brand colors) ---------- */
.pkg-band{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pkg-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pkg-dots{display:none}
.pkg-card{border:1px solid var(--line);border-radius:18px;padding:22px;background:#fff;display:flex;flex-direction:column}
.pkg-card:hover{box-shadow:var(--sh-2);border-color:transparent}

/* icon + price row */
.pkg-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.pkg-icon{width:46px;height:46px;border-radius:13px;background:var(--red-light);color:var(--red);display:grid;place-items:center;flex-shrink:0}
.pkg-icon .ic{width:23px;height:23px}
.pkg-price-block{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.pkg-price-main{font-size:1.15rem;font-weight:700;color:#3a3f4b;line-height:1;white-space:nowrap}
.pkg-price-old{font-size:.74rem;color:var(--muted);font-weight:500;text-decoration:line-through}

/* category badge row */
.pkg-badge-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.pkg-cat-badge{display:inline-block;background:#fff1e0;color:#c56a10;font-size:.66rem;font-weight:500;letter-spacing:.03em;text-transform:uppercase;padding:5px 12px;border-radius:100px;width:fit-content}
.pkg-off-chip{background:#e6f6ee;color:var(--green);font-size:.66rem;font-weight:500;padding:5px 10px;border-radius:100px;white-space:nowrap}

.pkg-card h3{font-size:1.05rem;font-weight:700;color:var(--navy);line-height:1.28;margin-bottom:14px}

/* info pills */
.pkg-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.pkg-pill{display:flex;align-items:center;gap:6px;border:1px solid rgba(194,25,26,.22);background:var(--red-light);color:var(--red);font-size:.7rem;font-weight:500;padding:6px 12px;border-radius:100px}
.pkg-pill .ic{width:14px;height:14px;color:var(--red)}

.pkg-divider{border-top:1px solid var(--line);margin-bottom:14px}

/* reports-in / method meta */
.pkg-meta-row{display:flex;gap:26px;margin-bottom:18px}
.pkg-meta-row div{display:flex;flex-direction:column;gap:3px}
.pkg-meta-label{font-size:.64rem;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.pkg-meta-row strong{font-size:.86rem;font-weight:600;color:var(--navy)}

/* footer: rating + call + add */
.pkg-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid var(--line);margin-top:auto}
.pkg-rating{display:flex;align-items:center;gap:5px;font-size:.86rem;font-weight:600;color:var(--navy)}
.pr-star{color:#f5a623}
.pkg-actions{display:flex;align-items:center;gap:8px}
.pkg-call{width:40px;height:40px;border-radius:10px;border:1.5px solid rgba(194,25,26,.22);background:var(--red-light);color:var(--red);display:grid;place-items:center;flex-shrink:0}
.pkg-call:hover{background:var(--red);color:#fff;border-color:var(--red)}
.pkg-call .ic{width:17px;height:17px}

.pkg-price{display:flex;align-items:baseline;gap:8px}
.pkg-price strong{font-size:1.5rem;font-weight:800;color:var(--navy)}
.pkg-price.small strong{font-size:1.2rem}
.pkg-price s{font-size:.85rem;color:var(--muted);font-weight:500}
.add-btn{background:var(--red);color:#fff;font-weight:600;font-size:.85rem;padding:11px 20px;border-radius:10px;display:inline-flex;align-items:center;gap:6px}
.add-btn .ic{width:15px;height:15px}
.add-btn.sm{padding:9px 16px;font-size:.82rem}
.add-btn:hover{background:var(--red-dark)}

@media(max-width:420px){
  .pkg-card{padding:18px}
  .pkg-price-main{font-size:1.05rem}
  .pkg-meta-row{gap:18px}
}

/* ---------- TESTS ---------- */
.test-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.test-card{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:6px}
.test-card:hover{box-shadow:var(--sh)}
.tc-tag{background:var(--red-light);color:var(--red);font-size:.7rem;font-weight:800;padding:4px 9px;border-radius:100px;width:fit-content}
.test-card h3{font-size:1rem;font-weight:800;color:var(--navy);line-height:1.25;margin-top:2px}
.test-card p{font-size:.82rem;color:var(--muted)}
.tc-foot{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding-top:10px;border-top:1px solid var(--line)}

/* ---------- ORGANS ---------- */
.organ-band{background:var(--navy-light)}
.organ-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}
.organ{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 8px;text-align:center;font-size:.85rem;font-weight:700;color:var(--navy);display:flex;flex-direction:column;align-items:center;gap:9px}
.og-ico{width:46px;height:46px;border-radius:12px;background:var(--navy);color:#fff;display:grid;place-items:center}
.og-ico .ic{width:22px;height:22px}
.organ:hover{border-color:var(--red);box-shadow:var(--sh)}
.organ:hover .og-ico{background:var(--red)}

/* ---------- WHY ---------- */
.why-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.why-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}
.why-ico{width:52px;height:52px;border-radius:13px;background:var(--red-light);color:var(--red);display:grid;place-items:center;margin-bottom:14px}
.why-ico .ic{width:26px;height:26px}
.why-item strong{display:block;font-size:1.05rem;color:var(--navy);margin-bottom:5px}
.why-item p{font-size:.86rem;color:var(--muted)}

/* ---------- HOW ---------- */
.how-band{background:var(--navy)}
.how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.how-step{background:var(--navy-2);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:26px 22px;color:#fff}
.hs-num{width:44px;height:44px;border-radius:12px;background:var(--red);color:#fff;font-weight:800;font-size:1.2rem;display:grid;place-items:center;margin-bottom:16px}
.how-step strong{display:block;font-size:1.1rem;margin-bottom:6px}
.how-step p{font-size:.86rem;color:rgba(255,255,255,.72)}

/* ---------- STATS ---------- */
.stats-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:44px auto;background:var(--red);border-radius:18px;padding:30px}
.stats-bar .stat{text-align:center;color:#fff;border-right:1px solid rgba(255,255,255,.2)}
.stats-bar .stat:last-child{border-right:none}
.stats-bar .stat strong{display:block;font-size:2rem;font-weight:800}
.stats-bar .stat span{font-size:.85rem;opacity:.9}

/* ---------- REVIEWS ---------- */
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.review{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:14px}
.review .stars{color:#f5a623;letter-spacing:2px}
.review blockquote{font-size:.95rem;color:var(--navy);line-height:1.55}
.review figcaption{display:flex;align-items:center;gap:11px;margin-top:auto}
.rv-av{width:42px;height:42px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;display:grid;place-items:center}
.review figcaption strong{display:block;font-size:.92rem;color:var(--navy)}
.review figcaption small{color:var(--muted);font-size:.8rem}

/* ---------- APP BAND ---------- */
.app-band{background:var(--navy);border-radius:20px;padding:40px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:44px}
.app-copy h2{margin:6px 0 8px}
.app-copy p{color:rgba(255,255,255,.75);max-width:460px}
.app-badges{display:flex;gap:12px;margin-top:18px}
.store{background:#fff;color:var(--navy);font-weight:800;padding:12px 22px;border-radius:10px;font-size:.9rem}
.store:hover{background:var(--red);color:#fff}
.app-rating{text-align:center;color:#fff;background:var(--navy-2);border-radius:16px;padding:24px 30px;flex-shrink:0}
.app-rating strong{display:block;font-size:2.2rem;font-weight:800;color:#f5a623}
.app-rating span{font-size:.85rem;opacity:.85}

/* ---------- FOOTER ---------- */
.footer{background:var(--navy);color:#fff;padding:48px 0 24px}
.footer-top{display:grid;grid-template-columns:1.2fr 2.4fr;gap:40px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.12)}
.foot-brand p{color:rgba(255,255,255,.68);font-size:.9rem;margin:14px 0 18px;max-width:380px}
.foot-contact{display:flex;flex-direction:column;gap:10px}
.foot-contact a{display:flex;align-items:center;gap:9px;color:#fff;font-weight:700;font-size:.92rem}
.foot-contact .ic{color:#ff8f74}
.foot-links{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.fl-col h4{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:#ff8f74;margin-bottom:14px;font-weight:800}
.fl-col a{display:block;color:rgba(255,255,255,.72);font-size:.88rem;padding:6px 0}
.fl-col a:hover{color:#fff}
.foot-badges{display:flex;flex-wrap:wrap;gap:12px;padding:26px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.fb{border:1px solid rgba(255,255,255,.2);border-radius:100px;padding:8px 16px;font-size:.8rem;font-weight:600;color:rgba(255,255,255,.85)}
.foot-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:22px;flex-wrap:wrap}
.foot-bottom p{color:rgba(255,255,255,.6);font-size:.85rem}
.foot-social{display:flex;gap:10px}
.foot-social a{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.2);display:grid;place-items:center;color:#fff}
.foot-social a:hover{background:var(--red);border-color:var(--red)}

/* ==================== RESPONSIVE ==================== */
@media(max-width:1024px){
  .searchbar{max-width:none}
  .navbar{display:none}
  .hamburger{display:flex}
  .hicon span{display:none}
  .concern-img-grid{flex-wrap:wrap;justify-content:center}
  .concern-img{flex:0 0 22%}
  .pkg-grid,.review-grid,.why-strip,.how-grid{grid-template-columns:repeat(2,1fr)}
  .test-grid{grid-template-columns:repeat(2,1fr)}
  .organ-grid{grid-template-columns:repeat(4,1fr)}
  .footer-top{grid-template-columns:1fr}
}
@media(max-width:768px){
  .hero-grid{grid-template-columns:1fr}
  .hero-right{order:-1}
  .booker-body{grid-template-columns:1fr}
  .stats-bar{grid-template-columns:repeat(2,1fr);gap:22px}
  .stats-bar .stat:nth-child(2){border-right:none}
  .app-band{flex-direction:column;text-align:center;align-items:stretch}
  .app-badges{justify-content:center}
}
@media(max-width:560px){
  .head-loc{padding:8px 10px}
  .head-loc .hl-text small,.head-loc .chev{display:none}
  .concern-img-grid{flex-wrap:wrap;justify-content:center}
  .concern-img{flex:0 0 30%}
  .pkg-grid,.test-grid,.review-grid,.why-strip,.how-grid{grid-template-columns:1fr}
  .organ-grid{grid-template-columns:repeat(3,1fr)}
  .foot-links{grid-template-columns:repeat(2,1fr)}
  .city-grid.metro{grid-template-columns:repeat(3,1fr)}
  .city-grid.other{grid-template-columns:repeat(2,1fr)}
  .sec-head{flex-direction:column;align-items:flex-start}
}

/* ============================================================
   MODERN THEME PASS — cosmetic only (layout untouched)
   Soft layered shadows · rounder corners · gradient accents
   ============================================================ */
:root{
  --bg:#f7f8fc;
  --r:20px; --r-sm:14px; --r-xs:10px;
  --maxw:1240px;
  --sh:0 1px 2px rgba(4,15,51,.03), 0 6px 16px rgba(4,15,51,.045);
  --sh-2:0 10px 28px rgba(4,15,51,.08);
  --sh-hover:0 14px 34px rgba(4,15,51,.10);
  --ring:0 0 0 4px rgba(194,25,26,.10);
  --hair:1px solid rgba(4,15,51,.055);
}

/* ---- Header ---- */
.mainhead{box-shadow:0 1px 0 rgba(4,15,51,.03), 0 6px 20px rgba(4,15,51,.04)}
.navbar{border-top:var(--hair)}
.nav-item>a{border-radius:10px}
.head-icons{margin-left:auto}
.head-loc{border:var(--hair);background:#fff;box-shadow:var(--sh);border-radius:14px}
.head-loc:hover{box-shadow:var(--sh-2)}
.hicon:hover{color:var(--red)}

/* ---- Search bar (softly rounded, consistent) ---- */
.searchbar{background:#fff;border:var(--hair);border-radius:14px;box-shadow:var(--sh);padding:0 18px;max-width:660px}
.searchbar:focus-within{border-color:var(--red);box-shadow:var(--ring)}

/* ---- Buttons ---- */
.nav-book,.bk-go,.add-btn{border-radius:12px;background:linear-gradient(180deg,#d21e1f,#af130f)}
.nav-book:hover,.bk-go:hover,.add-btn:hover{background:linear-gradient(180deg,#c2191a,#94100c)}
.store{border-radius:12px}

/* ---- Cards: dissolve hard borders into soft shadows ---- */
.pkg-card,.test-card,.concern,.organ,.why-item,.review,.how-step,.app-rating{
  border:var(--hair)!important;border-radius:var(--r);box-shadow:var(--sh)}
.concern,.organ{border-radius:var(--r-sm)}
.pkg-card:hover,.test-card:hover,.concern:hover,.organ:hover,.review:hover,.why-item:hover{
  box-shadow:var(--sh-hover);border-color:transparent!important}

/* ---- Booker ---- */
.booker{border:none;border-radius:22px;box-shadow:var(--sh-2)}
.bk-field{background:#f6f7fb;border:var(--hair);border-radius:14px}
.bk-field:focus-within{border-color:var(--red);box-shadow:var(--ring)}

/* ---- Chips · tags · pills ---- */
.booker-chips a,.pkg-badge,.pkg-off,.tc-tag,.fb{border-radius:999px}
.pkg-meta span{background:#eef0f6;border-radius:10px}

/* ---- Icon tiles ---- */
.cn-ico,.og-ico,.why-ico,.fc-ico,.hs-num,.brand-mark{border-radius:16px}
.cn-ico{border-radius:50%}

/* ---- Offer banners as gradients ---- */

/* ---- Feature bands as gradients ---- */
.stats-bar{background:linear-gradient(135deg,#d61f20,#a5130f);border-radius:26px;box-shadow:var(--sh-2)}
.how-band{background:linear-gradient(180deg,#07143d,#040f33)}
.how-step{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)!important}
.app-band{background:linear-gradient(135deg,#10225c,#040f33);border-radius:26px}
.footer{background:linear-gradient(180deg,#050f2f,#02081c)}
.pkg-band{background:#fff}
.organ-band{background:#eef0f6}

/* ---- Mega menu ---- */
.mega{border-radius:0 0 22px 22px;box-shadow:var(--sh-2)}
.mega-promo{border-radius:18px}
.mega-col a{border-bottom:1px solid rgba(4,15,51,.05)}

/* ---- Floating cards · modal ---- */
.float-card{border-radius:16px;box-shadow:var(--sh-2);border:var(--hair)}
.modal{border-radius:24px;box-shadow:var(--sh-2)}
.modal-search{border-radius:14px;border:var(--hair)}
.city{border:var(--hair);border-radius:12px}
.city:hover{border-color:var(--red)}
.mega-link{border:var(--hair);border-radius:12px}

/* ---- Hero surface ---- */
.hero{background:linear-gradient(180deg,#ffffff,#f6f7fb)}
.hero-photo{border-radius:24px}

/* ---- Section rhythm (more air between sections) ---- */
.section{padding:76px 20px}
.stats-bar{margin:66px 0}
.app-band{margin:24px 0 66px}

/* ============================================================
   TWEAKS — outline CTA · single search
   ============================================================ */
/* Header CTA → looks like a menu item: red text + red-bg icon (no border) */
.nav-book{background:none;color:var(--red);border:none;display:inline-flex;align-items:center;gap:9px;box-shadow:none;font-weight:700;font-size:.9rem;padding:0 6px}
.nav-book .np-ico{width:30px;height:30px;border-radius:9px;background:var(--red);color:#fff;display:grid;place-items:center;flex-shrink:0}
.nav-book .np-ico .ic{width:17px;height:17px}
.nav-book:hover{background:none;color:var(--red-dark);box-shadow:none}

/* Hero booker → one clean, prominent search field */
.booker-body{grid-template-columns:1fr}
.booker .bk-field{border-radius:14px;padding:2px 16px}
.booker .bk-field .ic{color:var(--red);width:21px;height:21px}
.booker .bk-field input{padding:17px 0;font-size:1.02rem}

/* ============================================================
   ALIGN HEIGHTS — location selector, header search & hero search
   ============================================================ */
.searchbar{height:52px}
.searchbar input{padding:0}
.head-loc{height:52px;padding:0 16px}

/* Hero booker search bar → identical to header search bar */
.booker .bk-field{background:#fff;border:var(--hair);border-radius:14px;box-shadow:var(--sh);height:52px;padding:0 16px}
.booker .bk-field .ic{color:var(--muted);width:20px;height:20px}
.booker .bk-field input{padding:0;font-size:.95rem}
.booker .bk-field:focus-within{border-color:var(--red);box-shadow:var(--ring)}

/* ============================================================
   MOBILE HEADER (matches provided design) + drawer fix
   ============================================================ */
/* Closed mobile drawer must not add to page width */
.mdrawer{display:none;transform:none}
.mdrawer.open{display:flex}
/* Promo strip — mobile only */
.head-promo{display:none}

@media(max-width:768px){
  .mainhead{background:var(--navy);border-radius:0 0 clamp(18px,5vw,26px) clamp(18px,5vw,26px);box-shadow:none;position:relative;top:auto}
  .mainhead-inner{flex-wrap:wrap;height:auto;padding-top:calc(clamp(12px,3.5vw,18px) + env(safe-area-inset-top));padding-bottom:clamp(14px,4vw,20px);gap:clamp(10px,3vw,16px);align-items:center}
  .brand-name{color:#fff}
  .brand-mark{width:clamp(32px,9vw,40px);height:clamp(32px,9vw,40px)}
  .brand{min-width:0;flex-shrink:1}
  .brand-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .head-loc{order:2;margin-left:auto;flex-shrink:0;max-width:46vw;background:transparent;border:1.4px solid rgba(255,255,255,.45);border-radius:12px;box-shadow:none;height:clamp(38px,10vw,46px);padding:0 clamp(10px,3vw,16px);gap:clamp(4px,1.5vw,8px)}
  .head-loc .ic,.head-loc .chev{color:#fff}
  .head-loc .hl-text{min-width:0}
  .head-loc .hl-text strong{color:#fff;font-size:clamp(.85rem,3.6vw,1rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;max-width:22vw}

  /* Header icon cluster (account/cart/hamburger) is retired on mobile —
     cart + full menu now live in the app-style bottom tab bar instead */
  .head-icons{display:none}

  .searchbar{order:5;flex:1 0 100%;width:100%;max-width:none;height:clamp(48px,13vw,56px)}
  .searchbar input{font-size:clamp(.9rem,3.6vw,1rem)}
  .head-promo{display:block;order:6;flex:1 0 100%;text-align:center;color:#fff;font-weight:500;font-size:clamp(.78rem,3.4vw,.95rem);letter-spacing:.01em;margin-top:-2px}
  .head-promo strong{font-weight:700}
}

/* Mobile-only fixed bar: just the curved bg + search input, appears once
   the full header (logo/city/promo) has been scrolled past */
.mh-search-fixed{display:none}
@media(max-width:768px){
  .mh-search-fixed{
    display:block;position:fixed;top:0;left:0;right:0;z-index:110;
    background:var(--navy);border-radius:0 0 clamp(14px,4vw,20px) clamp(14px,4vw,20px);
    box-shadow:0 6px 20px rgba(4,15,51,.14);
    padding-top:env(safe-area-inset-top);
    transform:translateY(-100%);opacity:0;
    transition:transform .3s cubic-bezier(.22,1,.36,1),opacity .25s ease;
    pointer-events:none;
  }
  .mh-search-fixed.show{transform:translateY(0);opacity:1;pointer-events:auto}
  .mh-search-fixed-inner{padding-top:10px;padding-bottom:10px}
  .mh-search-fixed .searchbar{width:100%;height:clamp(44px,12vw,50px)}
}

/* Extra-small phones (≤360px, e.g. iPhone SE/5) — guarantee zero
   horizontal overflow on the widest fixed-min-width grid */
@media(max-width:360px){
  .pkg-grid{grid-template-columns:1fr}
  .head-loc .hl-text strong{max-width:18vw}
  .brand-name{font-size:1.1rem}
}

/* ============================================================
   TYPOGRAPHY WEIGHTS — only main titles bold; rest 500/600
   ============================================================ */
.brand-name{font-weight:700}
.sec-head h2,.loc-head h3{font-weight:700}
.kicker,.loc-label,.fl-col h4{font-weight:700}
.nav-item>a,.nav-book,.hicon,.head-loc .hl-text strong,
.btab,.see-all,.booker-chips span,.booker-chips a,.md-link,
.pkg-card h3,.test-card h3,.why-item strong,.how-step strong,.review figcaption strong,
.concern,.organ,.loc-city,.pkg-count,.foot-contact a,
.pkg-badge,.pkg-off,.tc-tag,.fb,.loc-chip,
.btn,.add-btn,.bk-go,.store,.detect-loc,.hero-usps li{font-weight:600}
.mega-col a,.mega-link{font-weight:500}
/* numbers / prices keep a little emphasis (700) */
.pkg-price strong,.price strong,.stats-bar .stat strong,.hs-num,.rv-av,
.cart-count,.app-rating strong,.loc-badge{font-weight:700}

/* ============================================================
   HERO — full-width background image + search box overlaid
   ============================================================ */
.hero{position:relative;padding:0;background:#040f33 url('https://images.pexels.com/photos/8442574/pexels-photo-8442574.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,15,51,.55),rgba(4,15,51,.80));z-index:1}
.hero-inner{position:relative;z-index:2;min-height:540px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:26px;padding-top:70px;padding-bottom:70px}
.hero .booker{width:100%;max-width:520px;margin:0}
.hero-usps{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:14px 30px;margin:0}
.hero-usps li{color:#fff;font-weight:700;font-size:.98rem;display:flex;align-items:center;gap:8px}
.hero-usps .ic{width:18px;height:18px;color:#fff;background:var(--green);border-radius:50%;padding:3px}
@media(max-width:768px){
  .hero-inner{min-height:auto;padding-top:46px;padding-bottom:46px}
  .hero-usps{gap:12px 20px}
}

/* ============================================================
   RESPONSIVE PASS — fluid container + auto-fit grids (all devices)
   ============================================================ */
:root{--pad:clamp(16px,4vw,40px)}
.wrap{padding-left:var(--pad);padding-right:var(--pad)}
.section{padding:clamp(46px,7vw,80px) var(--pad)}

/* Grids now reflow fluidly at ANY viewport width */
.concern-img-grid{flex-wrap:wrap}
.pkg-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}
.test-grid{grid-template-columns:repeat(auto-fit,minmax(215px,1fr))}
.organ-grid{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}
.why-strip{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.review-grid{grid-template-columns:repeat(auto-fit,minmax(275px,1fr))}
.how-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.foot-links{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.stats-bar{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.loc-cities{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}

/* Footer top stacks on smaller screens */
@media(max-width:860px){.footer-top{grid-template-columns:1fr}}

/* Hero scales with the viewport */
.hero-inner{min-height:clamp(400px,58vh,560px)}
.hero .booker{max-width:min(520px,100%)}

/* Fluid headline sizes */
.sec-head h2{font-size:clamp(1.4rem,calc(1rem + 1.8vw),2rem)}
.brand-name{font-size:clamp(1.25rem,calc(1rem + 1vw),1.5rem)}

/* Never allow media/boxes to force overflow on tiny screens */
img,.stats-bar,.app-band{max-width:100%}

/* ============================================================
   MOBILE-ONLY HOME SECTIONS
   Desktop keeps the full hero search/booker. On mobile the hero
   is swapped for two compact, thumb-friendly sections.
   ============================================================ */
.mob-quick,.mob-ways,.mob-slider{display:none}

/* Quick Book — bold gradient tiles */
.mob-quick{background:#fff;padding:18px 0 8px}
.mq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mq-box{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:128px;border-radius:20px;padding:16px;color:#fff;box-shadow:0 14px 26px -12px rgba(4,15,51,.4);isolation:isolate}
.mq-tests{background:linear-gradient(150deg,#e2413c 0%,#a5130f 62%,#7c0e0b 100%)}
.mq-pkgs{background:linear-gradient(150deg,#1c2b5e 0%,#0a1638 62%,#040f33 100%)}
.mq-box:active{transform:scale(.97)}
.mq-glow{position:absolute;inset:0;z-index:-1}
.mq-glow::before{content:"";position:absolute;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.14);top:-46px;right:-28px}
.mq-glow::after{content:"";position:absolute;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.08);bottom:-24px;left:-14px}
.mq-ico{width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);display:grid;place-items:center}
.mq-ico .ic{width:19px;height:19px;color:#fff}
.mq-text{font-size:1.02rem;font-weight:700;line-height:1.22}
.mq-text small{display:block;font-size:.66rem;font-weight:600;text-transform:uppercase;letter-spacing:.09em;opacity:.75;margin-bottom:3px}
.mq-arrow{position:absolute;bottom:14px;right:14px;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.2);display:grid;place-items:center}
.mq-arrow .ic{width:14px;height:14px;color:#fff}

/* More ways to book — fieldset-style panel with glowing icon chips */
.mob-ways{background:#fff;padding:10px 0 24px}
.mw-panel{position:relative;border:1.5px solid var(--line);border-radius:22px;padding:26px 10px 18px}
.mw-label{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#fff;padding:0 14px;font-size:.64rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.mw-row{display:flex;justify-content:space-around}
.mw-item{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:.75rem;font-weight:600;color:var(--navy);flex:1}
.mw-ico{width:46px;height:46px;border-radius:50%;display:grid;place-items:center}
.mw-item:active .mw-ico{transform:scale(.92)}
.mw-ico .ic{width:20px;height:20px;color:#fff}
.mw-wa{background:linear-gradient(145deg,#33d670,#159a52);box-shadow:0 8px 16px -4px rgba(21,154,82,.5)}
.mw-call{background:linear-gradient(145deg,#e2413c,#a5130f);box-shadow:0 8px 16px -4px rgba(194,25,26,.45)}
.mw-rx{background:linear-gradient(145deg,#1c2b5e,#040f33);box-shadow:0 8px 16px -4px rgba(4,15,51,.45)}

/* Promo slider — native scroll-snap, GPU-friendly, no JS drag math.
   One flex row that scrolls; IntersectionObserver just syncs the dots.
   Equal breathing room on both edges — the same gap you see after
   the last slide is now mirrored before the first slide too. */
.mob-slider{background:#fff;padding:2px 0 26px}
.ms-track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;padding:2px 20px}
.ms-track::-webkit-scrollbar{display:none}
.ms-slide{scroll-snap-align:start;scroll-snap-stop:always;flex:0 0 84%;aspect-ratio:16/7.4;border-radius:16px;overflow:hidden;box-shadow:0 12px 24px -10px rgba(4,15,51,.3);background:var(--bg)}
.ms-slide img{display:block;width:100%;height:100%;object-fit:cover}

.ms-dots{display:flex;justify-content:center;gap:6px;margin-top:14px}
.ms-dot{width:6px;height:6px;border-radius:50%;background:var(--line);transition:width .25s ease,background .25s ease}
.ms-dot.active{width:18px;border-radius:4px;background:var(--red)}

@media(max-width:768px){
  .hero{display:none}
  .mob-quick,.mob-ways,.mob-slider{display:block}
}

/* Package cards — mobile carousel, one-and-a-half cards visible
   (same native scroll-snap + IntersectionObserver-dots pattern as
   the promo image slider above). */
@media(max-width:768px){
  .pkg-grid{display:flex;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;gap:14px;padding-bottom:2px}
  .pkg-grid::-webkit-scrollbar{display:none}
  .pkg-card{scroll-snap-align:start;scroll-snap-stop:always;flex:0 0 66%}
  .pkg-dots{display:flex;justify-content:center;gap:6px;margin-top:16px}
  .pkg-dot{width:6px;height:6px;border-radius:50%;background:var(--line);transition:width .25s ease,background .25s ease}
  .pkg-dot.active{width:18px;border-radius:4px;background:var(--red)}
}