/* ==========================================================================
   Reagnchem Scientific — site stylesheet
   Palette sampled from the company logo
   ========================================================================== */

:root{
  --navy:#2F388C;          /* logo dark blue */
  --blue:#0B4EA2;          /* deck corporate blue */
  --blue-dark:#0A2C5C;
  --green:#67B254;         /* logo green */
  --lime:#8DC63F;
  --ink:#1E2532;
  --slate:#5A6475;
  --mist:#F3F6FB;
  --line:#E2E8F2;
  --white:#FFFFFF;
  --radius:10px;
  --shadow:0 10px 30px rgba(15,35,80,.08);
  --shadow-lg:0 18px 44px rgba(15,35,80,.14);
  --wrap:1180px;
}

*,*::before,*::after{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  margin:0;
  font-family:'Inter','Segoe UI',Arial,sans-serif;
  font-size:16px;
  line-height:1.7;
  color:var(--slate);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5{
  font-family:'Poppins','Segoe UI',Arial,sans-serif;
  color:var(--ink);
  line-height:1.22;
  margin:0 0 .6em;
  font-weight:700;
}

h1{font-size:clamp(2rem,4.4vw,3.15rem);letter-spacing:-.5px;}
h2{font-size:clamp(1.6rem,3vw,2.3rem);letter-spacing:-.3px;}
h3{font-size:1.15rem;}

p{margin:0 0 1rem;}
a{color:var(--blue);text-decoration:none;}
a:hover{color:var(--green);}
img{max-width:100%;height:auto;display:block;}
ul{margin:0;padding:0;list-style:none;}

.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px;}
.section{padding:84px 0;}
.section--mist{background:var(--mist);}
.section--tight{padding:60px 0;}

/* ---------- headings block ---------- */
.eyebrow{
  font-family:'Poppins',sans-serif;
  font-size:.76rem;font-weight:600;letter-spacing:.18em;
  text-transform:uppercase;color:var(--green);margin:0 0 .5rem;
}
.sec-head{max-width:760px;margin-bottom:44px;}
.sec-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.sec-head p{font-size:1.02rem;margin-bottom:0;}
.rule{width:56px;height:4px;border-radius:4px;background:var(--green);margin:18px 0 0;}
.sec-head.center .rule{margin-left:auto;margin-right:auto;}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;font-family:'Poppins',sans-serif;font-weight:600;
  font-size:.92rem;padding:13px 28px;border-radius:40px;border:2px solid transparent;
  transition:.22s ease;cursor:pointer;
}
.btn--primary{background:var(--green);color:#fff;}
.btn--primary:hover{background:var(--blue);color:#fff;}
.btn--ghost{border-color:rgba(255,255,255,.65);color:#fff;}
.btn--ghost:hover{background:#fff;color:var(--blue);border-color:#fff;}
.btn--outline{border-color:var(--blue);color:var(--blue);}
.btn--outline:hover{background:var(--blue);color:#fff;}

/* ---------- header ---------- */
.header{
  position:sticky;top:0;z-index:60;background:#fff;
  border-bottom:1px solid var(--line);
}
.header__bar{display:flex;align-items:center;justify-content:space-between;gap:24px;height:82px;}
.logo img{height:46px;width:auto;}
.nav ul{display:flex;align-items:center;gap:30px;}
.nav a{
  font-family:'Poppins',sans-serif;font-size:.92rem;font-weight:500;color:var(--ink);
  padding:6px 0;position:relative;
}
.nav a::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--green);
  transition:width .25s ease;
}
.nav a:hover::after,.nav a.is-active::after{width:100%;}
.nav a.is-active{color:var(--blue);}
.nav__cta{margin-left:8px;}
.burger{
  display:none;background:none;border:0;padding:8px;cursor:pointer;
}
.burger span{display:block;width:24px;height:2px;background:var(--ink);margin:5px 0;transition:.2s;}

/* ---------- hero ---------- */
.hero{
  position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(115deg,var(--blue-dark) 0%,var(--blue) 48%,var(--navy) 100%);
}
.hero__inner{position:relative;z-index:2;padding:104px 0 96px;max-width:760px;}
.hero h1{color:#fff;margin-bottom:18px;}
.hero p.lede{font-size:1.12rem;color:rgba(255,255,255,.9);max-width:620px;}
.hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px;}
/* diagonal chevron motif carried over from the company profile */
.hero__shape{position:absolute;pointer-events:none;}
.hero__shape--a{top:-70px;right:-40px;width:260px;height:520px;background:var(--green);
  transform:skewX(-22deg);opacity:.9;}
.hero__shape--b{top:-70px;right:180px;width:150px;height:520px;background:var(--lime);
  transform:skewX(-22deg);opacity:.55;}
.hero__shape--c{bottom:-160px;left:-90px;width:320px;height:320px;border-radius:50%;
  border:26px solid rgba(141,198,63,.22);}
.page-hero{padding:70px 0 66px;}
.page-hero h1{margin-bottom:10px;}
.page-hero .crumb{font-size:.88rem;color:rgba(255,255,255,.75);font-family:'Poppins',sans-serif;}
.page-hero .crumb a{color:rgba(255,255,255,.9);}

/* ---------- stat strip ---------- */
.stats{background:var(--navy);color:#fff;}
.stats__grid{display:grid;grid-template-columns:repeat(3,1fr);}
.stat{padding:34px 20px;text-align:center;border-right:1px solid rgba(255,255,255,.14);}
.stat:last-child{border-right:0;}
.stat b{display:block;font-family:'Poppins',sans-serif;font-size:2.1rem;font-weight:700;color:var(--lime);line-height:1.1;}
.stat span{font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.82);}

/* ---------- grids & cards ---------- */
.grid{display:grid;gap:26px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}

.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 26px;transition:.25s ease;height:100%;
}
.card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:transparent;}
.card h3{margin-bottom:8px;}
.card p:last-child{margin-bottom:0;}
.card__icon{
  width:52px;height:52px;border-radius:12px;display:grid;place-items:center;
  background:rgba(103,178,84,.12);color:var(--green);margin-bottom:18px;
}
.card__icon svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:1.8;}
.card--blue .card__icon{background:rgba(11,78,162,.1);color:var(--blue);}

/* value tiles */
.value{
  text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 18px;transition:.25s;
}
.value:hover{background:var(--navy);border-color:var(--navy);}
.value:hover h3,.value:hover p{color:#fff;}
.value .dot{
  width:44px;height:44px;margin:0 auto 14px;border-radius:50%;
  background:linear-gradient(135deg,var(--green),var(--lime));
}
.value h3{font-size:1.02rem;margin-bottom:4px;}
.value p{font-size:.88rem;margin:0;}

/* split media/text */
.split{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;}
.split--rev .split__media{order:2;}
.panel{
  background:linear-gradient(135deg,var(--blue) 0%,var(--navy) 100%);
  color:#fff;border-radius:var(--radius);padding:42px 38px;
}
.panel h2,.panel h3{color:#fff;}
.panel p{color:rgba(255,255,255,.9);}
.panel .rule{background:var(--lime);}

/* checklist */
.check li{position:relative;padding-left:32px;margin-bottom:12px;}
.check li::before{
  content:"";position:absolute;left:0;top:8px;width:16px;height:16px;border-radius:50%;
  background:var(--green);
}
.check li::after{
  content:"";position:absolute;left:5px;top:12px;width:6px;height:3px;
  border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);
}

/* goals — numbered because they are a stated 01/02/03 sequence in the profile */
.goal{display:flex;gap:22px;padding:24px 0;border-bottom:1px solid var(--line);}
.goal:last-child{border-bottom:0;}
.goal b{
  font-family:'Poppins',sans-serif;font-size:2.4rem;font-weight:700;line-height:1;
  color:var(--lime);min-width:64px;
}
.goal p{margin:0;}

/* team */
.person{text-align:center;}
.person__ph{
  width:132px;height:132px;margin:0 auto 16px;border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--navy));
  color:#fff;display:grid;place-items:center;
  font-family:'Poppins',sans-serif;font-size:2.1rem;font-weight:600;letter-spacing:1px;
  border:5px solid rgba(103,178,84,.25);
}
.person h3{margin-bottom:2px;}
.person span{font-size:.9rem;color:var(--green);font-weight:600;}

/* brand / partner tiles */
.brand{
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;
  padding:26px 22px;text-align:center;transition:.25s;
}
.brand:hover{box-shadow:var(--shadow);transform:translateY(-3px);}
.brand b{
  display:block;font-family:'Poppins',sans-serif;font-size:1.18rem;color:var(--navy);
  letter-spacing:.5px;margin-bottom:4px;
}
.brand span{font-size:.82rem;color:var(--slate);}

/* product blocks */
.product{
  display:grid;grid-template-columns:230px 1fr;gap:34px;align-items:center;
  border:1px solid var(--line);border-radius:var(--radius);padding:34px;background:#fff;
}
.product + .product{margin-top:26px;}
.product__mark{
  background:var(--mist);border-radius:var(--radius);padding:26px 18px;text-align:center;
}
.product__mark b{display:block;font-family:'Poppins',sans-serif;font-size:1.35rem;color:var(--navy);}
.product__mark span{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--green);font-weight:600;}
.tag{
  display:inline-block;font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:#fff;background:var(--green);padding:4px 12px;border-radius:20px;margin-bottom:12px;
}
.tag--blue{background:var(--blue);}

/* client lists */
.list-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 28px;height:100%;}
.list-card h3{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.list-card h3::before{content:"";width:8px;height:22px;border-radius:3px;background:var(--green);}
.list-card li{padding:9px 0;border-bottom:1px dashed var(--line);font-size:.94rem;}
.list-card li:last-child{border-bottom:0;}

/* revenue bars */
.bars{display:flex;align-items:flex-end;gap:26px;height:250px;padding-top:10px;}
.bar{flex:1;text-align:center;display:flex;flex-direction:column;justify-content:flex-end;height:100%;}
.bar i{
  display:block;width:100%;border-radius:8px 8px 0 0;font-style:normal;
  transition:height .9s cubic-bezier(.2,.8,.2,1);
}
.bar:nth-child(1) i{background:var(--blue);}
.bar:nth-child(2) i{background:var(--green);}
.bar:nth-child(3) i{background:var(--lime);}
.bar b{display:block;font-family:'Poppins',sans-serif;color:var(--ink);margin-bottom:8px;}
.bar span{display:block;font-size:.85rem;padding-top:8px;border-top:1px solid var(--line);}

/* CTA band */
.cta-band{
  background:linear-gradient(115deg,var(--navy),var(--blue));color:#fff;text-align:center;
  padding:64px 0;
}
.cta-band h2{color:#fff;}
.cta-band p{color:rgba(255,255,255,.9);max-width:620px;margin:0 auto 26px;}

/* contact */
.info{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);}
.info:last-child{border-bottom:0;}
.info__ic{
  width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:var(--navy);color:#fff;
  display:grid;place-items:center;
}
.info__ic svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;}
.info b{display:block;font-family:'Poppins',sans-serif;color:var(--ink);font-size:.95rem;}
.info span,.info a{font-size:.95rem;}
.form label{display:block;font-size:.85rem;font-weight:600;color:var(--ink);margin-bottom:6px;font-family:'Poppins',sans-serif;}
.form .field{margin-bottom:18px;}
.form input,.form textarea,.form select{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:8px;
  font-family:inherit;font-size:.95rem;color:var(--ink);background:#fff;
}
.form input:focus,.form textarea:focus,.form select:focus{outline:2px solid var(--green);outline-offset:1px;border-color:transparent;}
.form textarea{min-height:132px;resize:vertical;}
.form .note{font-size:.82rem;margin-top:12px;}
.map{border:0;width:100%;height:340px;border-radius:var(--radius);}

/* footer */
.footer{background:var(--ink);color:rgba(255,255,255,.72);padding:64px 0 0;font-size:.94rem;}
.footer h4{
  font-family:'Poppins',sans-serif;color:#fff;font-size:1rem;font-weight:600;margin:0 0 18px;
  position:relative;padding-bottom:10px;
}
.footer h4::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;background:var(--green);border-radius:3px;}
.footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:48px;}
.footer a{color:rgba(255,255,255,.72);}
.footer a:hover{color:var(--lime);}
.footer li{padding:5px 0;}
.footer__logo{background:#fff;border-radius:8px;padding:12px 14px;display:inline-block;margin-bottom:18px;}
.footer__logo img{height:40px;}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.12);padding:20px 0;display:flex;
  justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.86rem;
}

/* to top */
.totop{
  position:fixed;right:22px;bottom:22px;width:44px;height:44px;border-radius:50%;
  background:var(--green);color:#fff;display:grid;place-items:center;border:0;cursor:pointer;
  opacity:0;visibility:hidden;transition:.25s;z-index:70;box-shadow:var(--shadow);
}
.totop.show{opacity:1;visibility:visible;}
.totop svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.4;}

/* reveal on scroll */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease;}
.reveal.in{opacity:1;transform:none;}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .split{grid-template-columns:1fr;gap:34px;}
  .split--rev .split__media{order:0;}
  .stats__grid{grid-template-columns:repeat(2,1fr);}
  .stat:nth-child(2){border-right:0;}
  .footer__grid{grid-template-columns:repeat(2,1fr);}
  .product{grid-template-columns:1fr;gap:22px;}
}

@media (max-width:760px){
  .burger{display:block;}
  .nav{
    position:absolute;top:82px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);display:none;
  }
  .nav.open{display:block;}
  .nav ul{flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 20px;}
  .nav li{border-bottom:1px solid var(--line);}
  .nav li:last-child{border-bottom:0;padding-top:12px;}
  .nav a{display:block;padding:13px 0;}
  .nav__cta{margin:0;}
  .logo img{height:36px;}
  .header__bar{height:70px;}
  .nav{top:70px;}
  .section{padding:60px 0;}
  .hero__inner{padding:70px 0 66px;}
  .hero__shape--a,.hero__shape--b{display:none;}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}
  .footer__grid{grid-template-columns:1fr;gap:32px;}
  .bars{gap:14px;}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;}
  .reveal{opacity:1;transform:none;}
  html{scroll-behavior:auto;}
}

/* ==========================================================================
   Imagery — brand logos, product shots, client wall, team photos
   ========================================================================== */

/* brand tile with logo */
.brand__logo{
  height:56px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;
}
.brand__logo img{max-height:56px;width:auto;object-fit:contain;}

/* product blocks */
.product{grid-template-columns:320px 1fr;align-items:start;}
.product__media{display:grid;gap:14px;}
.product__logo{
  background:var(--mist);border-radius:var(--radius);padding:22px 18px;
  display:flex;align-items:center;justify-content:center;min-height:104px;
}
.product__logo{flex-wrap:wrap;gap:14px;}
.product__logo img{max-height:60px;max-width:100%;width:auto;object-fit:contain;}
.product__logo--dual img{max-width:44%;max-height:46px;}
.product__shots{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.product__shots--one{grid-template-columns:1fr;}
.product__shots figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px;}
.product__shots img{width:100%;height:120px;object-fit:contain;}
.product__shots figcaption{font-size:.72rem;text-align:center;color:var(--slate);padding-top:6px;}
.product__body h3{margin-top:4px;}

/* logo wall (clients, memberships) */
.logo-wall{
  display:flex;flex-wrap:wrap;justify-content:center;gap:18px;
}
.logo-wall figure{flex:0 0 calc(20% - 15px);}
.logo-wall--mem{gap:26px;}
.logo-wall--mem figure{flex:0 0 calc(33.333% - 18px);}
.logo-wall figure{
  margin:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:16px 12px;display:flex;align-items:center;justify-content:center;height:104px;
  transition:.25s ease;
}
.logo-wall--mem figure{height:150px;padding:22px;}
.logo-wall figure:hover{box-shadow:var(--shadow);transform:translateY(-3px);}
.logo-wall img{max-height:100%;max-width:100%;width:auto;object-fit:contain;
  filter:grayscale(1);opacity:.72;transition:.25s ease;}
.logo-wall figure:hover img{filter:none;opacity:1;}
.logo-wall--mem img{filter:none;opacity:1;}

/* team photos */
.person__photo{
  width:190px;height:190px;margin:0 auto 16px;border-radius:50%;object-fit:cover;
  border:5px solid rgba(103,178,84,.28);background:#fff;
}

/* framed photo */
.photo-frame{position:relative;}
.photo-frame img{border-radius:var(--radius);width:100%;object-fit:cover;}
.photo-frame::after{
  content:"";position:absolute;right:-14px;bottom:-14px;width:110px;height:110px;
  border:8px solid var(--green);border-radius:var(--radius);z-index:-1;
}

@media (max-width:980px){
  .logo-wall figure{flex:0 0 calc(25% - 14px);}
  .product{grid-template-columns:1fr;}
  .product__shots{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
  .logo-wall{gap:12px;}
  .logo-wall figure{flex:0 0 calc(33.333% - 8px);}
  .logo-wall--mem figure{flex:0 0 100%;}
  .logo-wall figure{height:82px;padding:10px;}
  .logo-wall--mem{grid-template-columns:1fr;}
  .person__photo{width:150px;height:150px;}
}


/* clients page layout */
.grid--start{align-items:start;}
.grid--start .list-card{height:auto;}
.stack{display:grid;gap:26px;}


/* ==========================================================================
   Client carousel (home page)
   ========================================================================== */
.marquee{
  position:relative;overflow:hidden;padding:6px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}
.marquee__track{display:flex;width:max-content;animation:marquee 46s linear infinite;}
.marquee:hover .marquee__track{animation-play-state:paused;}
.marquee__group{display:flex;}
.marquee figure{
  margin:0 18px 0 0;flex:0 0 200px;height:112px;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);display:flex;align-items:center;justify-content:center;padding:16px;
  transition:.25s ease;
}
.marquee figure:hover{box-shadow:var(--shadow);transform:translateY(-3px);}
.marquee img{max-height:100%;max-width:100%;width:auto;object-fit:contain;}
@keyframes marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}

@media (max-width:760px){
  .marquee figure{flex:0 0 148px;height:92px;margin-right:12px;padding:12px;}
}


/* external links on product blocks */
.product__links{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;}
.btn--ext{display:inline-flex;align-items:center;gap:9px;padding:11px 22px;font-size:.88rem;}
.btn__ext{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;flex:0 0 15px;}



/* K-Lite 8A sitting in the hero background */
.hero__bg{
  position:absolute;right:4%;bottom:0;height:82%;width:auto;z-index:1;
  opacity:.4;pointer-events:none;user-select:none;
  filter:drop-shadow(0 24px 46px rgba(2,14,38,.5)) saturate(.85);
  -webkit-mask-image:linear-gradient(100deg,transparent 0%,#000 42%);
          mask-image:linear-gradient(100deg,transparent 0%,#000 42%);
}
.hero .wrap{position:relative;z-index:3;}
.hero__inner{max-width:640px;}
@media (max-width:1100px){ .hero__bg{right:-4%;opacity:.26;} }
@media (max-width:760px){ .hero__bg{height:74%;right:-16%;opacity:.16;} }
