:root{
    --primary:#104C91;
    --navy:#0A2E5C;
    --cyan:#12B5C9;
    --bg-light:#F5F8FA;
    --white:#FFFFFF;
    --text:#2B2F38;
    --accent:#F2994A;
    --wa:#25D366;
    box-sizing:border-box;
    padding-top:env(safe-area-inset-top,0px);
    padding-bottom:env(safe-area-inset-bottom,0px);
  }
  *,*::before,*::after{box-sizing:inherit;}
  html{scroll-behavior:smooth; scroll-padding-top:96px; overflow-x:hidden; width:100%;}
  body{
    margin:0;
    width:100%;
    font-family:'Work Sans', system-ui, sans-serif;
    color:var(--text);
    background:var(--white);
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{
    font-family:'Manrope', system-ui, sans-serif;
    color:var(--navy);
    margin:0;
    line-height:1.15;
    letter-spacing:-0.01em;
  }
  p{margin:0;}
  a{color:inherit; text-decoration:none;}
  button{font-family:inherit; cursor:pointer;}
  img{max-width:100%; display:block;}
  ul{margin:0;}
  .wrap{max-width:1360px; margin:0 auto; padding:0 16px;}
  @media (min-width:1024px){ .wrap{padding:0 24px;} }

  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
    outline:2.5px solid var(--cyan);
    outline-offset:2px;
    border-radius:4px;
  }

  /* ---------- top info bar ---------- */
  .topbar{ background:var(--navy); color:#CFE0F2; font-size:12.5px; }
  .topbar .wrap{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; }
  .topbar-left{font-weight:500;}
  .topbar-right{display:flex; gap:20px; flex-wrap:wrap;}
  .topbar-right span{opacity:.9;}
  .topbar a{transition:opacity .15s;}
  .topbar a:hover{opacity:.75;}
  .open-status{display:inline-flex; align-items:center; gap:6px; font-weight:700; opacity:1 !important; color:#8FF0B3;}
  .open-status .open-dot{width:7px; height:7px; border-radius:50%; background:#3CE281; box-shadow:0 0 0 3px rgba(60,226,129,.25); flex-shrink:0;}
  .open-status.is-closed{color:#F2B183;}
  .open-status.is-closed .open-dot{background:#F2994A; box-shadow:0 0 0 3px rgba(242,153,74,.25);}
  @media (max-width:640px){ .topbar-left{display:none;} .topbar .wrap{justify-content:center;} }

  /* ---------- navbar ---------- */
  .navbar{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92); backdrop-filter:blur(10px); border-bottom:1px solid #E6ECF1; transition:box-shadow .25s ease; }
  .navbar.scrolled{box-shadow:0 6px 24px -12px rgba(10,46,92,.18);}
  .nav-inner{ display:flex; align-items:center; justify-content:flex-start; padding-top:12px; padding-bottom:12px; }
  .navbar .nav-inner, .topbar .wrap{ max-width:none; padding-left:clamp(16px,2.6vw,40px); padding-right:clamp(16px,2.6vw,40px); }
  .menu-btn{margin-left:auto;}
  .brand{display:flex; align-items:center; gap:12px; flex-shrink:0;}
  .brand-logo{ height:46px; width:auto; flex-shrink:0; }
  .brand-text{display:none; flex-direction:column; line-height:1.15; padding-left:12px; border-left:1px solid #E1E9F0;}
  .brand-text .b1{font-family:'Manrope'; font-weight:800; font-size:14.5px; color:var(--navy);}
  .brand-text .b2{font-size:11.5px; color:#5C7691; font-weight:500; margin-top:2px;}
  @media (min-width:480px){ .brand-text{display:flex;} }
  @media (min-width:1024px) and (max-width:1279px){ .brand-text{display:none;} }
  .nav-links{display:none; align-items:center; justify-content:center; gap:clamp(20px,2.4vw,36px);}
  .nav-links a{ font-size:14.5px; white-space:nowrap; font-weight:600; color:var(--text); position:relative; padding:6px 0; transition:color .15s; }
  .nav-links a:hover{color:var(--primary);}
  .nav-links a::after{ content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--cyan); transition:width .2s; }
  .nav-links a:hover::after{width:100%;}
  .nav-ctas{display:none; align-items:center; gap:10px; justify-self:end;}
  .btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 20px; border-radius:9px; font-weight:700; font-size:14.5px; border:none; transition:transform .15s, box-shadow .15s, background .15s; white-space:nowrap; }
  .btn:active{transform:scale(.97);}
  .btn-primary{background:var(--primary); color:#fff;}
  .btn-primary:hover{background:#0D3E76; box-shadow:0 8px 20px -8px rgba(16,76,145,.55);}
  .btn-accent{background:var(--accent); color:#fff;}
  .btn-accent:hover{background:#DF8438; box-shadow:0 8px 20px -8px rgba(242,153,74,.55);}
  .btn-wa{background:var(--wa); color:#fff;}
  .btn-wa:hover{background:#1EBB59; box-shadow:0 8px 20px -8px rgba(37,211,102,.5);}
  .btn-ghost{background:transparent; color:var(--primary); border:1.5px solid #D6E3EE;}
  .btn-ghost:hover{border-color:var(--primary); background:#F0F6FC;}
  .btn-outline-white{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.5);}
  .btn-outline-white:hover{background:rgba(255,255,255,.12); border-color:#fff;}
  .btn-sm{padding:9px 14px; font-size:13.5px; border-radius:8px;}
  .icon{width:18px; height:18px; flex-shrink:0;}
  .icon-sm{width:15px; height:15px;}

  .menu-btn{ display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:9px; border:1.5px solid #E1E9F0; background:#fff; }
  @media (min-width:1024px){ .navbar .nav-inner{display:grid; grid-template-columns:1fr auto 1fr;} .nav-links{display:flex;} .nav-ctas{display:flex;} .menu-btn{display:none;} }

  .mobile-menu{ display:none; position:fixed; inset:0; z-index:60; background:rgba(10,20,35,.4); }
  .mobile-menu.open{display:block;}
  .mobile-panel{ position:absolute; top:0; right:0; height:100%; width:min(320px,86vw); background:#fff; padding:22px; display:flex; flex-direction:column; gap:4px; box-shadow:-12px 0 40px -12px rgba(0,0,0,.25); transform:translateX(100%); transition:transform .28s ease; padding-top:calc(22px + env(safe-area-inset-top,0px)); }
  .mobile-menu.open .mobile-panel{transform:translateX(0);}
  .mobile-panel a{ padding:14px 6px; font-weight:600; font-size:16px; color:var(--navy); border-bottom:1px solid #F0F3F6; }
  .mobile-panel-ctas{display:flex; flex-direction:column; gap:10px; margin-top:16px;}
  .mobile-close{align-self:flex-end; margin-bottom:6px;}

  .reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}
  .reveal.reveal-left{transform:translateX(-60px);}
  .reveal.reveal-left.in{transform:translateX(0);}
  .reveal.reveal-right{transform:translateX(60px); transition-delay:.1s;}
  .reveal.reveal-right.in{transform:translateX(0);}
  @media (prefers-reduced-motion:reduce){ .reveal{opacity:1; transform:none; transition:none;} html{scroll-behavior:auto;} }

  /* ---------- hero ---------- */
  .hero{ position:relative; background:var(--bg-light); overflow:hidden; padding:56px 0 0; }
  .hero-grid{ display:grid; grid-template-columns:1fr; gap:44px; position:relative; z-index:1; align-items:center; }
  @media (min-width:1024px){ .hero-grid{grid-template-columns:1.05fr .95fr; gap:36px;} }
  .eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; letter-spacing:.04em; color:var(--primary); background:#E4EFFA; border:1px solid #CFE1F2; padding:7px 14px; border-radius:100px; }
  .eyebrow .dot{width:6px; height:6px; border-radius:50%; background:var(--cyan);}
  .hero h1{ font-size:clamp(32px,5vw,52px); margin-top:18px; font-weight:800; }
  .hero h1 .hl{color:var(--primary);}
  .hero-sub{ margin-top:20px; font-size:16.5px; line-height:1.65; color:#4B5768; max-width:520px; }
  .hero-ctas{display:flex; flex-wrap:wrap; gap:12px; margin-top:30px;}

  .hero-visual{position:relative;}
  .collage{ position:relative; height:400px; perspective:1000px; --mx:0; --my:0; }
  .cpanel{
    --d:12;
    position:absolute; display:flex; flex-direction:column; justify-content:flex-end; gap:4px; padding:16px; border-radius:20px; overflow:hidden;
    background:#fff; border:1px solid #E6ECF1; box-shadow:0 24px 50px -26px rgba(10,46,92,.35);
    transform:translate3d(calc(var(--mx) * var(--d) * 1px), calc(var(--my) * var(--d) * 1px), 0) rotateY(calc(var(--mx) * 7deg)) rotateX(calc(var(--my) * -7deg));
    transition:transform .25s ease-out, scale .25s ease, box-shadow .25s ease;
    will-change:transform;
  }
  .collage.is-leaving .cpanel{ transition:transform .6s cubic-bezier(.2,.8,.2,1), scale .25s ease, box-shadow .25s ease; }
  .cpanel:hover{ scale:1.04; box-shadow:0 34px 60px -24px rgba(10,46,92,.5); z-index:5; }
  .cp-ic{ display:flex; align-items:center; justify-content:center; border-radius:50%; flex-shrink:0; position:relative; z-index:1; }
  .cp-ic svg{ width:50%; height:50%; }
  .cp-label{ font-family:'Manrope'; font-weight:800; font-size:15px; line-height:1.2; position:relative; z-index:1; }
  .cp-sub{ font-size:12px; opacity:.8; position:relative; z-index:1; }
  .cp-arrow{ position:absolute; top:14px; right:14px; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.18); transition:transform .2s; z-index:1; }
  .cp-arrow svg{ width:14px; height:14px; }
  .cpanel:hover .cp-arrow{ transform:translate(2px,-2px); }

  /* Find a Test — large navy panel */
  .cpanel-1{ --d:10; width:62%; height:78%; top:0; left:6%; background:linear-gradient(0deg,rgba(10,46,92,.85) 0%,rgba(10,46,92,.4) 48%,rgba(10,46,92,.18) 100%), url('../images/sections/hero-lab.jpg') center/cover; border-color:transparent; color:#fff; padding:22px; }
  .cpanel-1::before{ content:''; position:absolute; width:260px; height:260px; border-radius:50%; background:radial-gradient(circle, rgba(18,181,201,.35), transparent 70%); top:-70px; right:-60px; }
  .cpanel-1 .cp-ic{ width:96px; height:96px; margin:auto auto 22px 0; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.3); color:#fff; box-shadow:0 0 0 12px rgba(255,255,255,.06), 0 0 0 28px rgba(255,255,255,.04); }
  .cpanel-1 .cp-arrow{ top:auto; bottom:22px; right:22px; }
  .cpanel-1 .cp-label{ font-size:20px; }
  .cpanel-1 .cp-sub{ font-size:13px; }
  /* WhatsApp — green panel */
  .cpanel-3{ --d:26; width:36%; height:34%; top:6%; right:4%; background:linear-gradient(150deg,rgba(43,224,113,.55),rgba(26,174,84,.68)), url('../images/sections/hero-whatsapp.jpg') center/cover; border-color:transparent; color:#fff; z-index:2; }
  .cpanel-3 .cp-ic{ width:44px; height:44px; background:rgba(255,255,255,.22); color:#fff; margin-bottom:auto; }
  /* Call — white panel with warm accent */
  .cpanel-2{ --d:-18; width:46%; height:44%; bottom:0; right:0; background:linear-gradient(0deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.6) 55%,rgba(255,255,255,.35) 100%), url('../images/sections/hero-call.jpg') center/cover; color:var(--navy); z-index:3; }
  .cpanel-2 .cp-ic{ width:52px; height:52px; background:linear-gradient(135deg,#F7B26E,#F2994A); color:#fff; margin-bottom:auto; box-shadow:0 10px 20px -8px rgba(242,153,74,.7); }
  .cpanel-2 .cp-arrow{ background:#F0F6FC; color:var(--primary); }
  .cpanel-2 .cp-sub{ color:#3A4A5C; opacity:1; }
  .collage-dot{ position:absolute; width:70px; height:70px; border-radius:50%; border:1.5px dashed #B9D3EB; top:38%; left:0%; transform:translate3d(calc(var(--mx) * -30px), calc(var(--my) * -30px), 0); transition:transform .25s ease-out; }
  @media (max-width:480px){
    .collage{height:320px;}
    .cpanel{padding:12px;}
    .cp-sub, .cp-arrow{display:none;}
    .cp-label{font-size:13px;}
    .cpanel-1{padding:16px;} .cpanel-1 .cp-ic{width:72px; height:72px;} .cpanel-1 .cp-label{font-size:16px;}
    .cpanel-3 .cp-ic, .cpanel-2 .cp-ic{width:38px; height:38px;}
  }
  @media (prefers-reduced-motion:reduce){ .cpanel, .collage-dot{ transform:none !important; transition:none; } }

  .hero-strip{ position:relative; z-index:2; margin-top:34px; }
  .strip-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; background:#fff; border:1px solid #E6ECF1; border-radius:16px; padding:18px; box-shadow:0 24px 60px -30px rgba(10,46,92,.3); transform:translateY(28px); }
  @media (max-width:640px){ .strip-row{grid-template-columns:1fr; gap:10px;} }
  .strip-item{ display:flex; align-items:center; gap:12px; padding:6px 4px; }
  .strip-item + .strip-item{ border-left:1px solid #EEF2F6; padding-left:16px; }
  @media (max-width:640px){ .strip-item + .strip-item{ border-left:none; border-top:1px solid #EEF2F6; padding-left:4px; padding-top:14px; } }
  .strip-ic{ width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .strip-item:nth-child(1) .strip-ic{background:#E4EFFA; color:var(--primary);}
  .strip-item:nth-child(2) .strip-ic{background:#E3F8FA; color:var(--cyan);}
  .strip-item:nth-child(3) .strip-ic{background:#FEF0E4; color:var(--accent);}
  .strip-item .t1{font-size:13.5px; font-weight:700; color:var(--navy);}
  .strip-item .t2{font-size:12px; color:#8A99A9;}
  .hero-spacer{height:104px;}

  /* ---------- stats strip ---------- */
  .stats{ background:var(--navy); padding:60px 0 44px; position:relative; overflow:hidden; }
  .stats::before{ content:''; position:absolute; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle, rgba(18,181,201,.16), transparent 70%); top:-180px; left:-120px; pointer-events:none; }
  .stats::after{ content:''; position:absolute; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle, rgba(242,153,74,.12), transparent 70%); bottom:-180px; right:-100px; pointer-events:none; }
  .stats-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; position:relative; z-index:1; }
  @media (min-width:768px){ .stats-grid{grid-template-columns:repeat(4,1fr);} }
  .stat{ display:flex; align-items:center; gap:16px; background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.09); border-radius:16px; padding:20px; transition:transform .2s ease, background .2s ease, border-color .2s ease; }
  .stat:hover{ transform:translateY(-4px); background:rgba(255,255,255,.075); border-color:rgba(255,255,255,.18); }
  .stat .ic{ width:50px; height:50px; border-radius:13px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .stat .ic.ic-cyan{ color:var(--cyan); background:linear-gradient(150deg, rgba(18,181,201,.28), rgba(18,181,201,.06)); border:1px solid rgba(18,181,201,.35); box-shadow:0 0 0 6px rgba(18,181,201,.05); }
  .stat .ic.ic-accent{ color:var(--accent); background:linear-gradient(150deg, rgba(242,153,74,.28), rgba(242,153,74,.06)); border:1px solid rgba(242,153,74,.35); box-shadow:0 0 0 6px rgba(242,153,74,.05); }
  .stat .num{font-family:'Manrope'; font-weight:800; font-size:25px; color:#fff; letter-spacing:-0.01em;}
  .stat .lbl{font-size:12.5px; color:#AEC3DA; font-weight:500; margin-top:2px; line-height:1.4;}

  section{padding:112px 0;}
  .section-alt{background:var(--bg-light);}
  .section-dark{background:var(--navy); color:#DCE7F2;}
  .section-dark h2, .section-dark h3{color:#fff;}
  .head-row{max-width:640px; margin-bottom:44px;}
  .head-row.center{margin-left:auto; margin-right:auto; text-align:center;}
  .head-flex{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:36px;}
  .eyebrow-alt{ font-size:12.5px; font-weight:700; letter-spacing:.04em; color:var(--cyan); display:block; margin-bottom:10px; }
  h2{font-size:clamp(26px,3.4vw,36px); font-weight:800;}
  .section-sub{margin-top:14px; font-size:15.5px; color:#5C6C7E; line-height:1.6;}
  .section-dark .section-sub{color:#B7CAE0;}
  .nav-arrows{display:flex; gap:10px; flex-shrink:0;}
  .arrow-btn{ width:42px; height:42px; border-radius:50%; border:1.5px solid #E1E9F0; background:#fff; display:flex; align-items:center; justify-content:center; color:var(--primary); transition:background .15s,color .15s; }
  .arrow-btn:hover{background:var(--primary); color:#fff;}
  .arrow-btn.light{border-color:rgba(255,255,255,.35); background:transparent; color:#fff;}
  .arrow-btn.light:hover{background:#fff; color:var(--primary);}
  .arrow-btn:disabled{opacity:.35; pointer-events:none;}

  /* ---------- ABOUT (collage) ---------- */
  .about-grid{ display:grid; grid-template-columns:1fr; gap:48px; align-items:center; }
  @media (min-width:960px){ .about-grid{grid-template-columns:1.05fr .95fr; gap:56px;} }
  .about-copy{max-width:560px;}
  .about-eyebrow{ font-size:15px; letter-spacing:.06em; }
  #about h2{ font-size:clamp(32px,4.6vw,46px); margin-top:16px; }
  .about-list{ list-style:none; padding:0; margin:30px 0 0; display:flex; flex-direction:column; gap:22px; }
  .about-list li{display:flex; align-items:flex-start; gap:16px;}
  .al-ic{ width:22px; height:22px; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; transition:transform .2s ease; }
  .about-list li:hover .al-ic{ transform:scale(1.1); }
  .al-ic svg{width:20px; height:20px; display:block;}
  .al-ic.al-blue{ color:var(--primary); }
  .about-list strong{display:block; font-size:15.5px; font-weight:700; color:var(--navy); padding-top:6px;}
  .about-list li span{display:block; font-size:13px; color:#5C6C7E; line-height:1.55; margin-top:4px;}

  .about-visual{ position:relative; }
  .about-visual::before{ content:''; position:absolute; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle, rgba(18,181,201,.16), transparent 70%); top:-50px; right:-60px; z-index:0; }
  .about-collage{ position:relative; height:440px; margin:0 auto; max-width:520px; z-index:1; }
  .ac-panel{ position:absolute; border-radius:18px; background:#fff; border:1px solid #E6ECF1; box-shadow:0 20px 46px -24px rgba(10,46,92,.32); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:16px; transition:transform .3s ease, box-shadow .3s ease; }
  .ac-panel:hover{ transform:translateY(-6px) scale(1.03); box-shadow:0 28px 54px -22px rgba(10,46,92,.4); z-index:4 !important; }
  .ac-1{width:220px; height:280px; left:0; top:18%; z-index:1; transform:rotate(-6deg); background:linear-gradient(0deg,rgba(10,46,92,.82),rgba(10,46,92,.35) 55%,rgba(10,46,92,.15)), url('../images/sections/about-pathology.jpg') center/cover; color:#fff;}
  .ac-1:hover{transform:rotate(-6deg) translateY(-6px) scale(1.03);}
  .ac-2{width:232px; height:305px; left:50%; top:0; transform:translateX(-50%); z-index:3; background:linear-gradient(0deg,rgba(10,46,92,.82),rgba(10,46,92,.3) 55%,rgba(10,46,92,.1)), url('../images/sections/about-ecg.jpg') center/cover; color:#fff;}
  .ac-2:hover{transform:translateX(-50%) translateY(-6px) scale(1.03);}
  .ac-3{width:220px; height:280px; right:0; top:18%; z-index:1; transform:rotate(6deg); background:linear-gradient(0deg,rgba(10,46,92,.82),rgba(10,46,92,.35) 55%,rgba(10,46,92,.15)), url('../images/sections/about-consultation.jpg') center/cover; color:#fff;}
  .ac-3:hover{transform:rotate(6deg) translateY(-6px) scale(1.03);}
  .ac-panel svg{width:42px; height:42px; color:#fff;}
  .ac-panel .aclabel{font-size:13.5px; font-weight:700; text-align:center; color:#fff;}
  @media (max-width:1100px){ .about-collage{max-width:440px; height:400px;} }
  @media (max-width:560px){ .about-collage{height:300px; max-width:340px;} .ac-1,.ac-3{width:150px; height:195px;} .ac-1{left:0;} .ac-3{right:0;} .ac-2{width:170px; height:225px;} .ac-panel svg{width:32px; height:32px;} .ac-panel .aclabel{font-size:11.5px;} }
  @media (prefers-reduced-motion:reduce){ .ac-panel{transition:none;} }
  .notice{ margin:28px 0 0; background:#fff; border:1px solid #E4EAEF; border-left:3px solid var(--accent); border-radius:10px; padding:14px 16px; font-size:13px; color:#5C6C7E; display:flex; gap:10px; }
  .notice svg{width:18px; height:18px; color:var(--accent); flex-shrink:0; margin-top:1px;}

  /* ---------- horizontal scroll (tests + services) ---------- */
  .search-box{ display:flex; align-items:center; gap:12px; background:#fff; border:1.5px solid #E1E9F0; border-radius:12px; padding:14px 18px; max-width:560px; box-shadow:0 10px 30px -20px rgba(10,46,92,.2); }
  .search-box svg{width:20px; height:20px; color:#8A99A9; flex-shrink:0;}
  .search-box input{ border:none; outline:none; flex:1; font-size:15px; font-family:inherit; background:transparent; color:var(--text); min-width:0; }
  .chips{ display:flex; gap:10px; overflow-x:auto; margin-top:22px; padding-bottom:8px; scrollbar-width:thin; }
  .chip{ flex-shrink:0; padding:9px 16px; border-radius:100px; border:1.5px solid #E1E9F0; background:#fff; font-size:13.5px; font-weight:600; color:#4B5768; transition:all .15s; white-space:nowrap; }
  .chip:hover{border-color:var(--primary); color:var(--primary);}
  .chip.active{background:var(--primary); border-color:var(--primary); color:#fff;}

  .scroll-row{ display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x proximity; padding:6px 4px 18px; margin-top:8px; scrollbar-width:thin; }
  #svcRow{ justify-content:center; flex-wrap:wrap; }
  .scroll-row::-webkit-scrollbar{height:6px;}
  .scroll-row::-webkit-scrollbar-thumb{background:#D6E3EE; border-radius:10px;}

  #testGrid{align-items:flex-start;}
  .test-card{ scroll-snap-align:start; flex:0 0 270px; background:#fff; border:1px solid #EAEFF3; border-radius:16px; padding:22px; display:flex; flex-direction:column; gap:12px; transition:box-shadow .2s, transform .2s; }
  .test-card:hover{box-shadow:0 18px 36px -20px rgba(10,46,92,.22); transform:translateY(-3px);}
  .test-ic{width:42px; height:42px; border-radius:11px; background:#E3F8FA; color:var(--cyan); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
  .test-cat{font-size:11px; font-weight:700; letter-spacing:.03em; color:var(--cyan); text-transform:uppercase;}
  .test-card h3{font-size:16.5px; font-weight:700; margin-top:2px;}
  .test-card p{font-size:13.5px; color:#5C6C7E; line-height:1.55;}
  .test-includes{font-size:12.5px; color:var(--navy); background:#F5F8FA; border-radius:8px; padding:9px 10px; line-height:1.5;}
  .test-includes strong{color:var(--primary);}
  .test-pending{font-size:12px; color:#8A99A9; font-style:italic; border-top:1px dashed #E6ECF1; padding-top:12px;}
  .test-wa{ display:inline-flex; align-items:center; justify-content:center; gap:7px; font-size:13.5px; font-weight:700; color:var(--wa); border:1.5px solid #CDEFDB; background:#F1FBF5; padding:9px 12px; border-radius:9px; margin-top:2px; transition:background .15s; }
  .test-wa:hover{background:#E4F8EB;}
  .no-results{display:none; text-align:center; padding:40px 0; color:#8A99A9; font-size:14.5px;}
  .no-results.show{display:block;}

  /* ---------- services (bold blue) ---------- */
  .services-blue{ background:linear-gradient(150deg, var(--primary), var(--navy)); position:relative; overflow:hidden; }
  .services-blue::before{ content:''; position:absolute; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle, rgba(18,181,201,.22), transparent 70%); top:-160px; left:-120px; }
  .services-blue::after{ content:''; position:absolute; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle, rgba(242,153,74,.16), transparent 70%); bottom:-180px; right:-110px; pointer-events:none; }
  .services-blue .wrap{position:relative; z-index:1;}
  .services-blue .eyebrow-alt{color:#9FDCE6;}
  .services-blue h2{color:#fff;}
  .services-blue .section-sub{color:#C6D8EA;}
  .svc-card{ scroll-snap-align:start; flex:0 0 280px; background:#fff; border-radius:18px; padding:0; overflow:hidden; box-shadow:0 26px 50px -24px rgba(0,0,0,.35); position:relative; transition:transform .25s ease, box-shadow .25s ease; }
  .svc-card:hover{ transform:translateY(-7px); box-shadow:0 36px 64px -20px rgba(0,0,0,.5); }
  .svc-tag{ position:absolute; top:14px; right:14px; z-index:2; font-size:10.5px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:#fff; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.3); backdrop-filter:blur(4px); padding:5px 10px; border-radius:100px; }
  .svc-mock{ height:160px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; transition:transform .3s ease; }
  .svc-card:hover .svc-mock{ transform:scale(1.05); }
  .svc-mock.sm-navy{ background:linear-gradient(0deg,rgba(10,46,92,.5),rgba(10,46,92,.06)), url('../images/sections/svc-pathology.jpg') center/cover; }
  .svc-mock.sm-cyan{ background:linear-gradient(0deg,rgba(10,46,92,.4),rgba(10,46,92,.04)), url('../images/sections/svc-xray.jpg') center/cover; }
  .svc-mock.sm-accent{ background:linear-gradient(0deg,rgba(10,46,92,.4),rgba(10,46,92,.04)), url('../images/sections/svc-ecg.jpg') center/cover; }
  .svc-mock.sm-muted{ background:linear-gradient(0deg,rgba(10,46,92,.42),rgba(10,46,92,.05)), url('../images/sections/svc-home-collection.jpg') center/cover; }
  .svc-body{padding:22px 20px;}
  .svc-body h3{font-size:17px; font-weight:700;}
  .svc-body p{font-size:13.5px; color:#5C6C7E; margin-top:8px; line-height:1.55; min-height:58px;}
  .pending-tag{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; color:var(--accent); background:#FEF0E4; padding:5px 10px; border-radius:100px; width:fit-content; margin-top:6px; }
  .svc-pending{ box-shadow:0 16px 34px -22px rgba(0,0,0,.3); }
  .svc-pending .svc-body h3{color:#5C6C7E;}
  .svc-cta{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; color:var(--primary); margin-top:14px; }
  .svc-cta-ic{ width:26px; height:26px; border-radius:50%; background:#E4EFFA; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, background .2s ease; }
  .svc-card:hover .svc-cta-ic{ background:var(--primary); color:#fff; transform:translateX(3px); }

  /* ---------- why choose: feature + small ---------- */
  .why-layout{display:grid; grid-template-columns:1fr; gap:20px;}
  @media (min-width:900px){ .why-layout{grid-template-columns:1.15fr .85fr;} }
  .why-feature{ background:linear-gradient(150deg,#0D3E76,#0A2E5C); border-radius:20px; padding:36px; position:relative; overflow:hidden; border:1px solid rgba(255,255,255,.08); }
  .why-feature::after{ content:''; position:absolute; width:260px; height:260px; border-radius:50%; background:radial-gradient(circle, rgba(18,181,201,.28), transparent 70%); bottom:-100px; right:-80px; }
  .why-feature-ic{ width:56px; height:56px; border-radius:14px; background:rgba(18,181,201,.18); color:var(--cyan); display:flex; align-items:center; justify-content:center; position:relative; z-index:1; }
  .why-feature h3{font-size:24px; margin-top:20px; position:relative; z-index:1;}
  .why-feature p{font-size:14.5px; color:#B7CAE0; margin-top:12px; line-height:1.65; max-width:460px; position:relative; z-index:1;}
  .why-small-grid{display:grid; grid-template-columns:1fr; gap:16px;}
  @media (min-width:520px) and (max-width:899px){ .why-small-grid{grid-template-columns:1fr 1fr;} }
  .why-card{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:14px; padding:22px; backdrop-filter:blur(6px); }
  .why-ic{width:40px; height:40px; border-radius:10px; background:rgba(18,181,201,.15); color:var(--cyan); display:flex; align-items:center; justify-content:center; margin-bottom:14px;}
  .why-card h3{font-size:15.5px; font-weight:700; color:#fff;}
  .why-card p{font-size:13px; color:#AEC3DA; line-height:1.6; margin-top:8px;}

  /* ---------- how it works ---------- */
  .hiw-grid{display:grid; grid-template-columns:1fr; gap:16px; position:relative;}
  @media (min-width:600px){ .hiw-grid{grid-template-columns:1fr 1fr; gap:18px;} }
  @media (min-width:900px){ .hiw-grid{grid-template-columns:repeat(4,1fr);} }
  .hiw-item{
    position:relative; background:#fff; border:1px solid #EAEFF3; border-radius:18px; padding:26px 22px;
    box-shadow:0 16px 34px -26px rgba(10,46,92,.28); transition:transform .2s ease, box-shadow .2s ease;
  }
  .hiw-item:hover{ transform:translateY(-5px); box-shadow:0 22px 40px -20px rgba(10,46,92,.32); }
  .hiw-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
  .hiw-ic{ width:48px; height:48px; border-radius:13px; background:linear-gradient(150deg,#E4EFFA,#CFE1F2); color:var(--primary); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .hiw-ic svg{width:22px; height:22px;}
  .hiw-num{ font-family:'Manrope'; font-weight:800; font-size:13px; color:#C2D3E5; letter-spacing:.02em; }
  .hiw-item h3{font-size:16.5px; font-weight:700;}
  .hiw-item p{font-size:13.5px; color:#5C6C7E; margin-top:8px; line-height:1.6;}

  /* ---------- faq ---------- */
  .faq-grid{display:grid; grid-template-columns:1fr; gap:40px;}
  @media (min-width:1024px){ .faq-grid{grid-template-columns:.85fr 1.15fr;} }
  .faq-item{background:#fff; border-radius:10px; margin-bottom:10px; border:1px solid #E6ECF1;}
  .faq-q{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; text-align:left; background:none; border:none; padding:18px 20px; font-size:14.5px; font-weight:700; color:var(--navy); }
  .faq-q svg{width:19px; height:19px; color:var(--primary); flex-shrink:0; transition:transform .25s;}
  .faq-item.open .faq-q svg{transform:rotate(180deg);}
  .faq-a{max-height:0; overflow:hidden; transition:max-height .3s ease;}
  .faq-a-inner{padding:0 20px 18px; font-size:13.5px; color:#5C6C7E; line-height:1.65;}
  .faq-a-inner ul{margin:10px 0 0; padding-left:20px;}
  .faq-a-inner li{margin-bottom:7px;}
  .faq-a-inner li:last-child{margin-bottom:0;}
  .faq-group-title{ font-size:12px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:var(--cyan); margin:22px 0 10px; }
  .faq-group-title:first-child{margin-top:0;}

  /* ---------- testimonials slideshow ---------- */
  .testi-controls{display:flex; justify-content:flex-end; gap:10px; margin:8px 0 4px;}
  .testi-row{ display:flex; flex-wrap:nowrap; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:6px 4px 18px; margin-top:8px; scrollbar-width:none; }
  .testi-row::-webkit-scrollbar{display:none;}
  .testi-card{ flex:0 0 min(380px, calc(100vw - 64px)); scroll-snap-align:start; width:380px; background:#fff; border:1px solid #EAEFF3; border-radius:14px; padding:14px 20px; display:flex; align-items:center; gap:14px; transition:transform .2s ease, box-shadow .2s ease; }
  .testi-card:hover{ transform:translateY(-3px); box-shadow:0 16px 32px -22px rgba(10,46,92,.26); }
  .avatar{ width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--cyan)); display:flex; align-items:center; justify-content:center; color:#fff; font-family:'Manrope'; font-weight:800; font-size:13.5px; flex-shrink:0; }
  .testi-card > div:last-child{min-width:0;}
  .testi-card h3{font-size:14px; font-weight:700;}
  .testi-card .role{font-size:11px; color:#8A99A9; margin-top:1px;}
  .testi-card .stars{font-size:13px; color:#F4B740; letter-spacing:1px; line-height:1; margin-top:5px;}
  .testi-card p{font-size:12.5px; color:#5C6C7E; margin-top:6px; line-height:1.45; font-style:italic;}
  .testi-note{margin-top:22px; font-size:12.5px; color:#8A99A9; text-align:center; font-style:italic;}

  /* ---------- quick connect (app-style) ---------- */
  .connect{ background:linear-gradient(160deg, #EAF6F8, var(--bg-light) 55%); position:relative; overflow:hidden; }
  .connect::before{ content:''; position:absolute; width:460px; height:460px; border-radius:50%; background:radial-gradient(circle, rgba(18,181,201,.16), transparent 70%); top:-200px; left:-160px; pointer-events:none; }
  .connect::after{ content:''; position:absolute; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle, rgba(37,211,102,.12), transparent 70%); bottom:-180px; right:-120px; pointer-events:none; }
  .connect-grid{display:grid; grid-template-columns:1fr; gap:44px; align-items:center; position:relative; z-index:1;}
  @media (min-width:960px){ .connect-grid{grid-template-columns:1.05fr .95fr; gap:36px;} }

  .connect-eyebrow{ display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:.06em; color:var(--primary); background:#fff; border:1px solid #D6E9EC; padding:7px 16px; border-radius:100px; }
  .connect-title{ margin-top:16px; font-size:clamp(30px,4.4vw,44px); }
  .connect-title .hl2{ background:linear-gradient(120deg, var(--primary), var(--cyan)); -webkit-background-clip:text; background-clip:text; color:transparent; }

  .connect-actions{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:28px;}
  .caction{ display:flex; flex-direction:column; gap:10px; border:1px solid transparent; border-radius:16px; padding:20px; transition:transform .18s ease, box-shadow .18s ease; }
  .caction:hover{transform:translateY(-4px); box-shadow:0 18px 36px -20px rgba(10,46,92,.28);}
  .caction-row{display:flex; align-items:center; justify-content:space-between;}
  .caction .ic{width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; background:rgba(255,255,255,.65);}
  .caction-arrow{ width:28px; height:28px; border-radius:50%; background:rgba(255,255,255,.65); display:flex; align-items:center; justify-content:center; transition:background .18s ease, color .18s ease, transform .18s ease; }
  .caction-arrow svg{width:13px; height:13px;}
  .caction:hover .caction-arrow{transform:translate(2px,-2px);}
  .caction h3{font-size:15px; font-weight:700; color:var(--navy);}
  .caction p{font-size:12.5px; color:#5C6C7E; line-height:1.5;}
  .caction-link{ display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:700; margin-top:2px; }
  .caction-link svg{width:14px; height:14px; transition:transform .18s ease;}
  .caction:hover .caction-link svg{transform:translateX(3px);}

  .caction-blue{background:#E9F1FB;} .caction-blue .ic,.caction-blue .caction-arrow{color:var(--primary);} .caction-blue .caction-link{color:var(--primary);}
  .caction-green{background:#E7F8ED;} .caction-green .ic,.caction-green .caction-arrow{color:var(--wa);} .caction-green .caction-link{color:var(--wa);}
  .caction-accent{background:#FDEFE3;} .caction-accent .ic,.caction-accent .caction-arrow{color:var(--accent);} .caction-accent .caction-link{color:var(--accent);}
  .caction-cyan{background:#E3F5F7;} .caction-cyan .ic,.caction-cyan .caction-arrow{color:var(--cyan);} .caction-cyan .caction-link{color:var(--cyan);}

  .connect-trust{ display:flex; flex-wrap:wrap; gap:18px 26px; margin-top:32px; }
  .ct-item{ display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; color:var(--navy); }
  .ct-item svg{width:17px; height:17px; color:var(--primary); flex-shrink:0;}
  .connect-rule{ display:flex; align-items:center; gap:14px; margin-top:22px; }
  .connect-rule::before, .connect-rule::after{ content:''; flex:1; height:1px; background:#D9E3EC; }
  .connect-rule span{ font-size:10.5px; font-weight:700; letter-spacing:.08em; color:#93A6BA; white-space:nowrap; }

  .phone-mock-wrap{position:relative; max-width:380px; margin:0 auto;}
  .phone-mock-wrap::before{ content:''; position:absolute; inset:-20px; border-radius:50%; background:radial-gradient(circle, rgba(37,211,102,.16), transparent 70%); z-index:0; }
  .phone-shot{ position:relative; z-index:1; width:100%; height:auto; filter:drop-shadow(0 40px 60px rgba(10,46,92,.35)); }

  /* ---------- contact ---------- */
  .contact-head{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:36px; }
  .contact-title{ font-size:clamp(30px,4.2vw,42px); }
  .contact-head .section-sub{ max-width:420px; margin-top:0; }

  .contact-panels{ display:grid; grid-template-columns:1fr; gap:24px; align-items:start; }
  @media (min-width:960px){ .contact-panels{grid-template-columns:1.4fr 1fr;} }
  .contact-card{ background:#fff; border:1px solid #EAEFF3; border-radius:18px; padding:28px; box-shadow:0 20px 50px -34px rgba(10,46,92,.25); }
  .contact-card h3{font-size:16.5px; font-weight:700;}
  .cc-rule{height:1px; background:#EAEFF3; margin:16px 0 22px;}
  .contact-side{display:flex; flex-direction:column; gap:24px;}

  .ci-grid{display:grid; grid-template-columns:1fr; gap:20px; min-width:0;}
  @media (min-width:500px) and (max-width:959px){ .ci-grid{grid-template-columns:1fr 1fr;} }
  .ci-item{display:flex; align-items:flex-start; gap:12px; min-width:0;}
  .ci-item .info-ic{width:40px; height:40px; border-radius:11px; background:#E4EFFA; color:var(--primary); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
  .ci-item > div{min-width:0;}
  .ci-item .val{display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-top:2px; overflow-wrap:anywhere;}
  .ci-item a.val:hover{color:var(--primary);}
  .ci-item .lbl{font-size:11.5px; color:#8A99A9; font-weight:600; text-transform:uppercase; letter-spacing:.03em;}

  .hours-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; }
  .hours-day{font-size:13.5px; font-weight:700; color:var(--navy);}
  .hours-time{font-size:13px; font-weight:600; color:#5C6C7E;}
  .hours-time.hours-pending{color:var(--accent);}
  .hours-note{font-size:12px; color:#8A99A9; line-height:1.55; margin-top:8px; font-style:italic;}

  .map-box{ position:relative; margin-top:28px; border-radius:16px; overflow:hidden; border:1px solid #E1E9F0; height:340px; box-shadow:0 20px 44px -28px rgba(10,46,92,.35); }
  .map-box iframe{ width:100%; height:100%; border:0; display:block; filter:saturate(.92) contrast(1.02); }
  .map-chip{ position:absolute; left:14px; bottom:14px; right:14px; display:flex; align-items:center; gap:12px; background:rgba(255,255,255,.96); backdrop-filter:blur(6px); border-radius:12px; padding:12px 14px; box-shadow:0 14px 30px -14px rgba(10,46,92,.4); max-width:340px; }
  .map-chip-ic{width:36px; height:36px; border-radius:10px; background:#E4EFFA; color:var(--primary); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
  .map-chip-ic svg{width:18px; height:18px;}
  .map-chip-lbl{font-size:13px; font-weight:700; color:var(--navy);}
  .map-chip a{ display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; color:var(--primary); margin-top:2px; }
  .map-chip a svg{width:12px; height:12px; transition:transform .18s ease;}
  .map-chip a:hover svg{transform:translateX(3px);}
  @media (max-width:480px){ .map-box{height:260px;} .map-chip{flex-wrap:wrap; max-width:none;} }

  .field{margin-bottom:18px;}
  .field label{display:block; font-size:13px; font-weight:700; color:var(--navy); margin-bottom:7px;}
  .field input, .field select, .field textarea{ width:100%; padding:12px 14px; border-radius:9px; border:1.5px solid #E1E9F0; font-family:inherit; font-size:14.5px; color:var(--text); background:#FAFCFD; transition:border-color .15s; }
  .field input:focus, .field select:focus, .field textarea:focus{border-color:var(--primary); outline:none;}
  .field textarea{resize:vertical; min-height:90px;}
  .field-error{font-size:12px; color:#C0392B; margin-top:5px; display:none;}
  .field.invalid input, .field.invalid select{border-color:#C0392B;}
  .field.invalid .field-error{display:block;}
  .form-row{display:grid; grid-template-columns:1fr; gap:0;}
  @media (min-width:520px){ .form-row-2{grid-template-columns:1fr 1fr; gap:16px;} }
  .form-note{font-size:12px; color:#8A99A9; margin-top:4px; font-style:italic;}
  .form-success{ display:none; align-items:center; gap:10px; background:#F1FBF5; border:1px solid #CDEFDB; color:#1E8449; padding:14px 16px; border-radius:10px; font-size:13.5px; font-weight:600; margin-bottom:18px; }
  .form-success.show{display:flex;}
  .form-success svg{width:19px; height:19px; flex-shrink:0;}

  /* ---------- footer ---------- */
  footer{background:var(--navy); color:#B7CAE0; padding-top:88px; position:relative; overflow:hidden;}
  footer::before{content:''; position:absolute; left:0; top:0; bottom:0; width:6px; background:var(--accent);}
  .foot-top{display:grid; grid-template-columns:1fr; gap:56px; min-width:0;}
  .foot-top > *{min-width:0;}
  @media (min-width:860px){ .foot-top{grid-template-columns:1.1fr 1.4fr; gap:64px;} }

  .foot-heading{font-family:'Manrope'; font-weight:800; font-size:clamp(19px,2.1vw,24px); color:#fff; max-width:480px;}
  .foot-form{display:flex; align-items:center; gap:8px; background:#fff; border-radius:100px; padding:6px; margin-top:26px; max-width:460px; box-shadow:0 10px 30px -18px rgba(0,0,0,.35); border:1px solid #E6ECF1;}
  .foot-form input{flex:1; min-width:0; border:none; outline:none; background:transparent; padding:12px 16px; font-family:inherit; font-size:14.5px; color:var(--text);}
  .foot-form input::placeholder{color:#98A6B8;}
  .foot-form button{background:var(--accent); color:#fff; border:none; border-radius:100px; padding:12px 24px; font-weight:700; font-size:14.5px; white-space:nowrap; transition:background .15s;}
  .foot-form button:hover{background:#DF8438;}
  .foot-disclaimer{font-size:12px; color:#8FA6C2; margin-top:16px; max-width:440px; line-height:1.5;}

  .foot-social{display:flex; gap:10px; margin-top:26px;}
  .foot-social a{width:38px; height:38px; border-radius:50%; border:1.5px solid rgba(255,255,255,.22); display:flex; align-items:center; justify-content:center; transition:border-color .15s, background .15s;}
  .foot-social a:hover{border-color:#fff; background:rgba(255,255,255,.08);}
  .foot-social svg{width:16px; height:16px; color:#fff;}

  .foot-cols{display:grid; grid-template-columns:repeat(2,1fr); gap:40px; min-width:0;}
  .foot-cols > div{min-width:0;}
  @media (min-width:480px){ .foot-cols{grid-template-columns:repeat(3,1fr); gap:32px;} }
  footer h4{color:#fff; font-size:13.5px; font-weight:800; letter-spacing:.03em; margin-bottom:20px;}
  .foot-list{list-style:none; padding:0; margin:0; display:grid; gap:15px; min-width:0;}
  .foot-list a{font-size:14.5px; color:#AEC3DA; transition:color .15s; overflow-wrap:anywhere;}
  .foot-list a:hover{color:#fff;}
  .foot-list a.is-accent{color:var(--accent); font-weight:700;}
  .foot-contact a{display:flex; align-items:flex-start; gap:10px;}
  .foot-ico{width:16px; height:16px; flex-shrink:0; margin-top:2px;}

  .foot-wordmark{margin-top:0; display:flex; justify-content:center;}
  .foot-wordmark img{height:clamp(90px,16vw,260px); width:auto;}
  .foot-tagline-big{text-align:center; font-size:13px; color:#8FA6C2; margin-top:20px; font-style:italic;}

  .foot-bottom{ margin-top:52px; padding:26px 90px 26px 0; border-top:1px solid rgba(255,255,255,.12); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:12px; color:#8FA6C2; }
  .foot-bottom-text{display:flex; flex-direction:column; gap:5px; text-align:left;}
  .foot-credit{display:inline-flex; align-items:center; gap:8px; padding:9px 18px; border-radius:100px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.04); color:#C7D6E6; font-size:12.5px; white-space:nowrap; transition:border-color .15s, background .15s;}
  .foot-credit:hover{border-color:rgba(255,255,255,.35); background:rgba(255,255,255,.08);}
  .foot-credit strong{color:#fff; font-weight:700;}
  .foot-credit-dot{width:6px; height:6px; border-radius:50%; background:var(--accent); flex-shrink:0;}

  .wa-float{ position:fixed; bottom:calc(18px + env(safe-area-inset-bottom,0px)); right:18px; z-index:70; width:60px; height:60px; display:flex; align-items:center; justify-content:center; transition:transform .2s; }
  .wa-float:hover{transform:scale(1.08) translateY(-2px);}
  .wa-float:active{transform:scale(.96);}
  @media (min-width:1024px){ .wa-float{bottom:24px; right:24px;} }
  .wa-pulse{ position:absolute; inset:0; border-radius:50%; background:var(--wa); opacity:.5; animation:pulse 2.2s ease-out infinite; }
  @keyframes pulse{0%{transform:scale(1); opacity:.5;} 100%{transform:scale(1.7); opacity:0;}}
  @media (prefers-reduced-motion:reduce){ .wa-pulse{animation:none; display:none;} }
  .wa-badge{
    position:relative; width:100%; height:100%; border-radius:50%; display:flex; align-items:center; justify-content:center;
    background:linear-gradient(155deg, #3CF285 0%, #25D366 45%, #189950 100%);
    box-shadow:0 16px 32px -10px rgba(15,120,63,.65), inset 0 -3px 6px rgba(0,0,0,.18), inset 0 2px 3px rgba(255,255,255,.35);
  }
  .wa-badge::before{ content:''; position:absolute; top:9%; left:16%; width:46%; height:30%; border-radius:50%; background:radial-gradient(ellipse, rgba(255,255,255,.55), transparent 70%); pointer-events:none; }
  .wa-badge svg{position:relative; width:28px; height:28px; color:#fff; filter:drop-shadow(0 1px 1px rgba(0,0,0,.12));}

  /* ---------- gallery hero (fan) ---------- */
  .btn-pill{border-radius:100px;}
  .gallery-hero{padding-bottom:112px;}
  .gh-head{max-width:600px; margin:0 auto; text-align:center;}
  .gh-eyebrow{font-size:13px;}
  .gh-title{font-size:clamp(30px,5vw,50px); margin-top:16px; line-height:1.1;}
  .gh-sub{max-width:460px; margin-left:auto; margin-right:auto;}
  .gh-cta{margin-top:28px;}

  .gh-fan{ display:flex; align-items:center; justify-content:center; margin-top:64px; overflow:hidden; position:relative; padding:0 4vw; }
  .gh-fan::before, .gh-fan::after{ content:''; position:absolute; top:0; bottom:0; width:min(160px,14vw); z-index:8; pointer-events:none; }
  .gh-fan::before{ left:0; background:linear-gradient(to right, var(--white) 0%, rgba(255,255,255,0) 100%); }
  .gh-fan::after{ right:0; background:linear-gradient(to left, var(--white) 0%, rgba(255,255,255,0) 100%); }
  .gh-card{
    aspect-ratio:4/4.9; flex-shrink:0; border-radius:22px;
    border:none; padding:0; background:none; cursor:pointer; opacity:0;
    overflow:hidden; box-shadow:0 24px 44px -20px rgba(10,46,92,.4);
    transition:transform .8s cubic-bezier(.16,.9,.28,1), opacity .6s ease, box-shadow .35s ease, width .5s ease;
    will-change:transform;
  }
  .gh-card:focus-visible{outline-offset:4px;}
  /* slot sizes — 9 cards, biggest and frontmost in the centre (#5) */
  .gh-fan .gh-card:nth-child(1),.gh-fan .gh-card:nth-child(9){ width:clamp(64px,8.5vw,130px); margin:0 clamp(-22px,-1.6vw,-10px); z-index:1; }
  .gh-fan .gh-card:nth-child(2),.gh-fan .gh-card:nth-child(8){ width:clamp(100px,12.5vw,205px); margin:0 clamp(-22px,-1.6vw,-10px); z-index:2; }
  .gh-fan .gh-card:nth-child(3),.gh-fan .gh-card:nth-child(7){ width:clamp(150px,17vw,290px); margin:0 clamp(-22px,-1.6vw,-10px); z-index:3; }
  .gh-fan .gh-card:nth-child(4),.gh-fan .gh-card:nth-child(6){ width:clamp(190px,21vw,350px); margin:0 clamp(-22px,-1.6vw,-10px); z-index:4; }
  .gh-fan .gh-card:nth-child(5){ width:clamp(230px,25vw,420px); z-index:6; }
  /* off-screen starting position: cards fly in from beyond the viewport edges */
  .gh-fan .gh-card:nth-child(1){ transform:translateX(-110vw) scale(.6); transition-delay:.24s; }
  .gh-fan .gh-card:nth-child(2){ transform:translateX(-95vw) scale(.6); transition-delay:.18s; }
  .gh-fan .gh-card:nth-child(3){ transform:translateX(-75vw) scale(.6); transition-delay:.12s; }
  .gh-fan .gh-card:nth-child(4){ transform:translateX(-45vw) scale(.6); transition-delay:.06s; }
  .gh-fan .gh-card:nth-child(5){ transform:translateY(140px) scale(.55); transition-delay:0s; }
  .gh-fan .gh-card:nth-child(6){ transform:translateX(45vw) scale(.6); transition-delay:.06s; }
  .gh-fan .gh-card:nth-child(7){ transform:translateX(75vw) scale(.6); transition-delay:.12s; }
  .gh-fan .gh-card:nth-child(8){ transform:translateX(95vw) scale(.6); transition-delay:.18s; }
  .gh-fan .gh-card:nth-child(9){ transform:translateX(110vw) scale(.6); transition-delay:.24s; }
  /* resting position once in view — comes after the off-screen rules (same specificity) so it wins when .in is present */
  .gh-fan.in .gh-card{ transform:translateX(0) translateY(0) scale(1); opacity:1; }
  /* hover only once settled in place */
  .gh-fan.in .gh-card:hover{ transform:translateY(-10px) scale(1.04); box-shadow:0 34px 58px -18px rgba(10,46,92,.5); z-index:7; }
  .gh-ph{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
  .gh-ph svg{width:30%; height:30%;}
  .gh-ph img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
  .gh-ph-label{ position:absolute; left:0; right:0; bottom:0; padding:26px 14px 12px; font-size:12.5px; font-weight:700; color:#fff; background:linear-gradient(to top, rgba(6,16,32,.75), rgba(6,16,32,0)); }
  .gh-play{ position:absolute; right:12px; bottom:12px; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.92); color:var(--navy); display:flex; align-items:center; justify-content:center; box-shadow:0 8px 18px -6px rgba(0,0,0,.45); z-index:1; }
  .gh-play svg{width:14px; height:14px; margin-left:2px;}
  .gh-c-navy{background:linear-gradient(160deg,#0F4C91,#0A2E5C); color:#fff;}
  .gh-c-cyan{background:linear-gradient(160deg,#E3F8FA,#CBEFF4); color:var(--cyan);}
  .gh-c-accent{background:linear-gradient(160deg,#FEF0E4,#FCE0C0); color:var(--accent);}
  .gh-c-wa{background:linear-gradient(160deg,#E4F8EB,#CFF3DC); color:var(--wa);}
  .gh-fan-nav{display:flex; align-items:center; justify-content:center; gap:14px; margin-top:36px;}
  .gh-arrow{ width:52px; height:52px; border-radius:50%; border:1.5px solid #E1E9F0; background:#fff; color:var(--primary); display:flex; align-items:center; justify-content:center; transition:background .15s, color .15s, transform .15s; box-shadow:0 10px 24px -16px rgba(10,46,92,.3); }
  .gh-arrow svg{width:20px; height:20px;}
  .gh-arrow:hover{background:var(--primary); color:#fff;}
  .gh-arrow:active{transform:scale(.94);}
  @media (max-width:1000px){ .gh-fan .gh-card:nth-child(1), .gh-fan .gh-card:nth-child(9){display:none;} }
  @media (max-width:760px){ .gh-fan .gh-card:nth-child(2), .gh-fan .gh-card:nth-child(8){display:none;} }
  @media (max-width:520px){ .gh-fan .gh-card:nth-child(3), .gh-fan .gh-card:nth-child(7){display:none;} .gh-fan{margin-top:44px;} }
  @media (prefers-reduced-motion:reduce){ .gh-card{transition:opacity .3s ease !important; transform:none !important;} .gh-fan.in .gh-card{opacity:1;} }

  /* enlarged fan tile inside the lightbox */
  .lb-fan-tile{ width:min(92vw,640px); max-height:80vh; aspect-ratio:3/4; border-radius:32px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; box-shadow:0 50px 90px -24px rgba(0,0,0,.55); animation:lbPop .35s cubic-bezier(.2,.8,.2,1); }
  .lb-fan-tile svg{width:34%; height:34%;}
  .lb-stage .lb-fan-tile img, .lb-stage .lb-fan-tile video{ position:absolute; inset:0; width:100%; height:100%; max-width:none; max-height:none; object-fit:cover; border-radius:0; background:none; }
  @media (max-width:640px){ .lb-fan-tile{width:min(90vw,420px);} }
  @keyframes lbPop{ from{ transform:scale(.85); opacity:0; } to{ transform:scale(1); opacity:1; } }
  @media (prefers-reduced-motion:reduce){ .lb-fan-tile{animation:none;} }

  .lightbox{ border:none; padding:0; margin:0; width:100%; height:100%; max-width:none; max-height:none; background:rgba(6,16,32,.94); color:#fff; }
  .lightbox:not([open]){display:none;}
  .lightbox::backdrop{background:rgba(6,16,32,.94);}
  .lb-stage{ margin:0; width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:56px 24px 32px; }
  .lb-stage img, .lb-stage video{ max-width:96vw; max-height:calc(100vh - 110px); width:auto; height:auto; border-radius:10px; background:#000; }
  .lb-stage figcaption{font-size:14px; color:#CFE0F2; text-align:center;}
  .lb-close, .lb-nav{ position:absolute; width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(255,255,255,.35); background:rgba(255,255,255,.08); color:#fff; display:flex; align-items:center; justify-content:center; transition:background .15s; }
  .lb-close:hover, .lb-nav:hover{background:rgba(255,255,255,.22);}
  .lb-close{top:16px; right:16px; z-index:2;}
  .lb-nav{top:50%; margin-top:-22px; z-index:2;}
  .lb-prev{left:16px;}
  .lb-next{right:16px;}
  @media (max-width:640px){ .lb-stage{padding:64px 16px 32px;} .lb-nav{top:auto; bottom:16px; margin-top:0;} }

  /* ---------- responsive polish ---------- */
  @media (max-width:1023px){
    .nav-inner{min-height:68px;}
    .hero{padding-top:40px;}
    .hero-grid{gap:32px;}
    .about-grid{gap:34px;}
    .connect-grid{gap:32px;}
  }

  @media (max-width:767px){
    html{scroll-padding-top:76px;}
    .wrap{padding-left:16px; padding-right:16px;}
    section{padding:76px 0;}
    .topbar{font-size:11.5px;}
    .topbar .wrap{padding-top:7px; padding-bottom:7px;}
    .topbar-right{justify-content:center; gap:4px 12px; text-align:center;}
    .navbar .nav-inner{padding-left:12px; padding-right:12px;}
    .brand{gap:8px; min-width:0;}
    .brand-logo{height:39px; width:auto;}
    .brand-text{padding-left:8px; min-width:0;}
    .brand-text .b1{font-size:12px; white-space:nowrap;}
    .brand-text .b2{font-size:10px; white-space:nowrap;}
    .menu-btn{width:40px; height:40px; flex-shrink:0;}

    .hero{padding-top:32px;}
    .hero-grid{gap:28px;}
    .hero h1{font-size:clamp(30px,9vw,42px);}
    .hero-sub{font-size:15px; line-height:1.55; margin-top:16px;}
    .hero-ctas{gap:10px; margin-top:22px;}
    .hero-ctas .btn{flex:1 1 calc(50% - 10px); min-height:44px; padding:10px 12px;}
    .hero-ctas .btn-ghost{flex-basis:100%;}
    .collage{height:300px;}
    .hero-spacer{height:100px;}

    .strip-row{padding:14px;}
    .strip-item{gap:10px;}
    .strip-item .t1{font-size:13px;}
    .strip-item .t2{font-size:11.5px;}
    .stats{padding:44px 0 32px;}
    .stats-grid{grid-template-columns:1fr; gap:12px;}
    .stat{padding:16px;}
    .stat .num{font-size:22px;}

    .head-row{margin-bottom:30px;}
    .section-sub{font-size:14.5px;}
    #about h2{font-size:clamp(28px,8vw,38px);}
    .about-list{margin-top:24px; gap:17px;}
    .about-list li{gap:11px;}
    .about-list strong{font-size:14.5px;}
    .about-list span{font-size:13px; line-height:1.5;}

    .head-flex{align-items:flex-start; gap:16px; margin-bottom:26px;}
    .head-flex .nav-arrows{margin-left:auto;}
    .chips{margin-top:16px;}
    .test-card{flex-basis:min(280px, calc(100vw - 48px));}
    .services-blue .head-row{margin-bottom:28px;}
    #svcRow{justify-content:flex-start; flex-wrap:nowrap;}
    .svc-card{flex-basis:min(300px, calc(100vw - 48px));}

    .testi-controls{justify-content:center; margin-top:-12px; margin-bottom:8px;}
    .testi-row{margin-left:-4px; margin-right:-4px; padding-left:4px; padding-right:4px;}
    .testi-card{padding:16px; gap:12px;}
    .testi-card p{font-size:12.5px;}

    .connect-actions{grid-template-columns:1fr; gap:10px; margin-top:22px;}
    .caction{padding:17px;}
    .connect-trust{gap:12px 18px; margin-top:24px;}
    .ct-item{font-size:11.5px;}
    .connect-rule span{font-size:9px;}
    .phone-mock-wrap{max-width:280px;}

    .contact-head{gap:14px; margin-bottom:26px;}
    .contact-head .section-sub{margin-top:0;}
    .contact-card{padding:20px 16px; border-radius:14px;}
    .contact-panels{gap:16px;}
    .hours-row{align-items:flex-start; flex-direction:column; gap:3px;}
    .map-box{height:250px; margin-top:20px;}
    .map-chip{left:10px; right:10px; bottom:10px; padding:10px 12px;}
    .map-chip-lbl{font-size:12px;}
    .map-chip a{font-size:11.5px;}
    .field input, .field select, .field textarea{font-size:16px;}

    footer{padding-top:56px;}
    .foot-top{gap:40px;}
    .foot-bottom{margin-top:36px; padding:26px 0 calc(22px + env(safe-area-inset-bottom,0px)); flex-direction:column; text-align:center;}
    .foot-bottom-text{align-items:center; text-align:center;}
    .wa-float{width:54px; height:54px; right:14px;}
    .wa-badge svg{width:25px; height:25px;}
  }

  @media (min-width:768px) and (max-width:1023px){
    .stats-grid{gap:12px;}
    .stat{padding:16px; gap:12px;}
    .stat .num{font-size:22px;}
    .contact-card{padding:22px;}
    .connect-actions{gap:12px;}
  }

  @media (max-width:380px){
    .brand-text{display:none;}
    .hero-ctas .btn{font-size:13px;}
    .hero-ctas .btn-primary, .hero-ctas .btn-wa{flex-basis:100%;}
    .collage{height:280px;}
    .cpanel-1 .cp-label{font-size:14px;}
    .testi-card{flex-basis:calc(100vw - 40px);}
  }
