:root{
  --green:#2f4b1c;
  --green-2:#587538;
  --green-3:#78955a;
  --deep:#16230f;
  --text:#263043;
  --muted:#6e7480;
  --line:#e5eadf;
  --soft:#f7f9f4;
  --white:#fff;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:#fff}a{text-decoration:none;color:inherit}.site-header{height:104px;display:flex;align-items:center;gap:34px;padding:0 5vw;background:rgba(255,255,255,.96);border-bottom:1px solid #eef1ea;position:sticky;top:0;z-index:50;backdrop-filter:blur(12px)}.brand img{width:300px;max-height:86px;object-fit:contain;display:block}.main-nav{margin-left:auto;display:flex;align-items:center;gap:30px;font-size:15px;font-weight:600;color:#1d2435}.main-nav>a,.dropdown>button{padding:40px 0 35px;border:0;background:transparent;font:inherit;cursor:pointer}.main-nav .active{color:var(--green-2);border-bottom:2px solid var(--green-2)}.dropdown{position:relative}.dropdown-menu{position:absolute;top:82px;left:50%;transform:translateX(-50%) translateY(8px);min-width:230px;background:#fff;border:1px solid #e8ede2;border-radius:14px;box-shadow:0 18px 45px rgba(15,35,12,.14);padding:12px;opacity:0;visibility:hidden;transition:.2s}.dropdown.is-open .dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}.dropdown-menu a{display:block;padding:14px 16px;border-radius:10px;color:#263043}.dropdown-menu a:hover{background:#f2f6ec;color:var(--green)}.contact-pill,.primary-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,var(--green),var(--green-2));color:white;font-weight:700;box-shadow:0 12px 26px rgba(47,75,28,.22)}.contact-pill{padding:14px 24px;white-space:nowrap}.primary-btn{padding:15px 28px;margin-top:16px}.menu-toggle{display:none;margin-left:auto;background:none;border:0;font-size:30px;color:var(--green)}
.hero{position:relative;min-height:720px;overflow:hidden;background:#f8fbf5}.hero:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 33%,rgba(255,255,255,.58) 52%,rgba(255,255,255,.18) 72%,rgba(255,255,255,.04) 100%),linear-gradient(180deg,rgba(255,255,255,.18),rgba(47,75,28,.10));}.hero:after{content:"";position:absolute;inset:0;z-index:1;background:radial-gradient(circle at 77% 52%,rgba(255,255,255,0) 0%,rgba(255,255,255,.02) 31%,rgba(47,75,28,.22) 100%);pointer-events:none}.hero-copy{width:min(600px,46vw);padding:94px 0 70px 5vw;position:relative;z-index:2}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--green-2);font-size:13px;font-weight:800;margin:0 0 14px}.hero h1{font-size:clamp(46px,6vw,82px);line-height:1.04;letter-spacing:-.06em;margin:0;color:var(--deep);max-width:590px}.hero h1 span{display:block;color:var(--green-2)}.lead{font-size:19px;line-height:1.75;color:#333b49;max-width:520px;margin:28px 0}.hero-copy:after{content:"";display:block;width:55px;height:2px;background:var(--green-2);margin:28px 0 24px}.hero-features{display:flex;gap:20px;flex-wrap:wrap;margin-top:35px}.hero-features div{min-width:140px;padding:16px 20px;background:rgba(255,255,255,.74);border:1px solid rgba(216,226,205,.9);border-radius:16px;box-shadow:0 16px 36px rgba(20,45,12,.06)}.hero-features strong{display:block;color:var(--deep);font-size:15px}.hero-features small{display:block;color:var(--muted);margin-top:4px}.hero-visual{position:absolute;inset:0;z-index:0}.hero-visual:before,.hero-visual:after{display:none}.hero-slides{position:absolute;inset:0}.hero-slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.2s ease;filter:brightness(.45);box-shadow:inset 0 0 180px rgba(0,0,0,.35)}.hero-slides .active{opacity:1}
section{padding:72px 6vw}.center{text-align:center}.partners{text-align:center;background:#fff}.partners h2,.about h2{font-size:38px;line-height:1.15;color:var(--deep);letter-spacing:-.04em;margin:0 0 14px}.section-intro{max-width:710px;margin:0 auto 36px;color:#5d6470;line-height:1.65}.partner-card{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:1fr 1px 1fr;align-items:center;background:#fff;border:1px solid #e4eadf;border-radius:22px;box-shadow:0 24px 60px rgba(18,40,12,.06);padding:42px 36px}.divider{height:160px;background:#e4eadf}.partner-item{display:flex;flex-direction:column;align-items:center;gap:14px;padding:20px;border-radius:18px;transition:.2s}.partner-item:hover{background:#f7faf3;transform:translateY(-2px)}.partner-item img{width:310px;height:92px;object-fit:contain}.partner-item img.megagen{width:310px;height:92px}.partner-item span{color:#4d5360}.partner-item em{font-style:normal;border:1px solid var(--green-2);color:var(--green);padding:12px 28px;border-radius:999px;font-weight:700;margin-top:8px}.about{display:grid;grid-template-columns:38% 62%;gap:44px;align-items:start}.about-text p:not(.eyebrow){line-height:1.75;color:#5d6470}.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-left:1px solid #e4eadf}.value-grid article{text-align:center;padding:0 34px;border-right:1px solid #e4eadf}.value-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 16px;background:#eef4e8;color:var(--green);font-size:42px}.value-grid h3{color:var(--deep);margin:0 0 12px}.value-grid p{font-size:14px;line-height:1.75;color:#5d6470}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;background:var(--soft);padding-top:40px;padding-bottom:64px}.product-block{background:#fff;border:1px solid #e4eadf;border-radius:22px;padding:24px;box-shadow:0 18px 45px rgba(15,35,12,.05)}.placeholder{height:180px;border-radius:16px;background:#e5e5e5;color:#8a8a8a;display:grid;place-items:center;font-weight:700;margin-bottom:22px}.product-block h3{font-size:24px;color:var(--deep);margin:0 0 10px}.product-block p{color:#626975;line-height:1.65}.site-footer{padding:56px 6vw;background:var(--soft);border-top:1px solid var(--line)}.footer-contact-card{max-width:1180px;margin:0 auto;padding:38px;border-radius:26px;background:linear-gradient(135deg,var(--deep),var(--green));color:white;box-shadow:0 24px 60px rgba(25,47,18,.18)}.footer-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-bottom:30px}.site-footer h3{margin:0 0 10px}.site-footer p{margin:0;line-height:1.65;color:rgba(255,255,255,.84)}.site-footer a{color:white}.map-link{display:inline-flex;margin-top:14px;font-weight:700;color:white}.map-visual{overflow:hidden;border-radius:22px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}.map-visual iframe{display:block;width:100%;height:360px;border:0;filter:saturate(.95) contrast(1.02)}@media (max-width:900px){.site-header{height:auto;min-height:86px;padding:12px 20px;flex-wrap:wrap}.brand img{width:220px}.menu-toggle{display:block}.main-nav{display:none;order:5;width:100%;margin-left:0;flex-direction:column;align-items:flex-start;gap:0;padding:12px 0}.main-nav.open{display:flex}.main-nav>a,.dropdown>button{padding:14px 0}.dropdown{width:100%}.dropdown-menu{position:static;transform:none;opacity:1;visibility:visible;box-shadow:none;border-radius:12px;margin:0 0 10px 0}.contact-pill{margin-left:auto;padding:12px 16px}.hero{min-height:760px}.hero:before{background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 38%,rgba(255,255,255,.40) 68%,rgba(255,255,255,.12) 100%)}.hero-copy{width:auto;padding:54px 24px 30px}.hero-visual img{object-position:68% center}section{padding:54px 24px}.partner-card,.about,.products,.footer-contact-grid{grid-template-columns:1fr}.divider{height:1px;width:100%}.value-grid{grid-template-columns:1fr;border-left:0}.value-grid article{border-right:0;border-bottom:1px solid #e4eadf;padding:28px 0}.site-footer{padding:34px 20px}.footer-contact-card{padding:30px}.map-visual iframe{height:300px}.partner-item img,.partner-item img.megagen{width:260px;height:78px}}

/* Header products dropdown refinement */
.dropdown{
  position:relative;
  display:flex;
  align-items:center;
}

.dropdown > button{
  color:inherit;
  border-radius:0;
  transition:color .2s ease;
}

.dropdown::after{
  content:"";
  position:absolute;
  left:50%;
  top:100%;
  width:275px;
  height:16px;
  transform:translateX(-50%);
  pointer-events:auto;
}

.dropdown.is-open > button{
  color:var(--green-2);
}

.dropdown-menu{
  top:calc(100% + 12px);
  left:50%;
  width:max-content;
  min-width:260px;
  transform:translateX(-50%) translateY(12px) scale(.98);
  transform-origin:top center;
  padding:12px;
  border-radius:20px;
  border:1px solid rgba(229,234,223,.95);
  background:rgba(255,255,255,.98);
  box-shadow:0 24px 60px rgba(22,35,15,.16), 0 4px 14px rgba(22,35,15,.06);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:100;
  transition:opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  backdrop-filter:blur(12px);
}

.dropdown.is-open .dropdown-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0) scale(1);
  transition-delay:0s;
}

.dropdown-menu a{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:12px 16px;
  border-radius:14px;
  font-size:14px;
  font-weight:600;
  color:#263043;
  white-space:nowrap;
  transition:background-color .18s ease, color .18s ease, transform .18s ease;
}

.dropdown-menu a + a{
  margin-top:4px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus{
  background:#f2f6ec;
  color:var(--green);
  transform:translateX(2px);
  outline:none;
}

@media (max-width:900px){
  .dropdown{
    width:100%;
    display:block;
  }

  .dropdown::after{
    display:none;
  }

  .dropdown > button{
    width:100%;
    text-align:left;
    padding:14px 0;
    border-radius:0;
    background:transparent;
  }

  .dropdown-menu{
    position:static;
    width:100%;
    min-width:100%;
    transform:none !important;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    max-height:0;
    overflow:hidden;
    box-shadow:none;
    border-radius:16px;
    margin:0;
    padding:0 10px;
    background:#f7f9f4;
    border-color:#e4eadf;
    transition:max-height .24s ease, opacity .2s ease, visibility 0s linear .24s, padding .24s ease, margin .24s ease;
  }

  .dropdown.is-open .dropdown-menu{
    max-height:230px;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    padding:10px;
    margin:0 0 10px;
    transition-delay:0s;
  }
  .dropdown-menu a{
    width:100%;
    min-height:44px;
    padding:11px 14px;
  }
}

@media (prefers-reduced-motion:reduce){
  .dropdown-menu,
  .dropdown > button,
  .dropdown-menu a{
    transition:none;
  }
}

.footer-bottom{margin-top:2rem;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.15);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.9rem;opacity:.9}.footer-bottom a{color:inherit;text-decoration:none}.footer-bottom a:hover{text-decoration:underline}

/* Dental Solutions page */
.page-hero{
  padding:86px 6vw 48px;
  text-align:center;
  background:linear-gradient(180deg,#f7f9f4 0%,#fff 100%);
}
.page-hero h1{
  margin:0 0 18px;
  color:var(--deep);
  font-size:clamp(42px,5vw,72px);
  line-height:1.05;
  letter-spacing:-.055em;
}
.dental-solutions-page{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  background:#fff;
  padding-top:36px;
}
.dental-solution-card{
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:26px;
  padding:24px;
  box-shadow:0 18px 45px rgba(15,35,12,.05);
}

.dental-solution-image{
  width:100%;
  height:280px;
  object-fit:contain;
  display:block;
  margin:0 auto 22px;
  padding:18px;
  background:#fff;
  border-radius:20px;
  border:1px solid rgba(30,55,20,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}

.solution-image-placeholder{
  min-height:240px;
  border-radius:20px;
  background:linear-gradient(135deg,#e8eee1,#f6f8f3);
  border:1px dashed #b8c8aa;
  color:#7c8a71;
  display:grid;
  place-items:center;
  font-weight:800;
  margin-bottom:24px;
}
.solution-copy h2{
  color:var(--deep);
  font-size:clamp(24px,2.5vw,34px);
  line-height:1.16;
  letter-spacing:-.035em;
  margin:0 0 14px;
}
.solution-copy p:not(.eyebrow){
  color:#5d6470;
  line-height:1.75;
  margin:0;
}
.product-block{
  display:block;
  transition:transform .2s ease, box-shadow .2s ease;
}
a.product-block:hover,
a.product-block:focus{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(15,35,12,.10);
  outline:none;
}
.dropdown-toggle.active{
  color:var(--green-2);
}
@media (max-width:900px){
  .page-hero{padding:58px 24px 34px;}
  .dental-solutions-page{grid-template-columns:1fr;padding-top:26px;}
  .dental-solution-image{height:230px;padding:14px;}
  .solution-image-placeholder{min-height:190px;}
}
.cosmetic-hero{background:linear-gradient(135deg,#f5f8f3,#e7efe4)}.cosmetic-intro,.technology-section{max-width:1180px;margin:auto;padding:80px 24px;display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}.cosmetic-intro h2,.cosmetic-portfolio h2,.technology-section h2,.heritage-strip h2{color:var(--deep);font-size:clamp(30px,4vw,48px);margin:0 0 18px}.cosmetic-intro p:not(.eyebrow),.technology-section>div p:not(.eyebrow),.heritage-strip>p:last-child{line-height:1.8;color:#5d6470}.cosmetic-stats{background:var(--deep);color:#fff;display:flex;justify-content:center;gap:90px;padding:38px 24px;text-align:center}.cosmetic-stats div{display:grid;gap:5px}.cosmetic-stats strong{font-size:36px}.cosmetic-stats span{font-size:14px}.cosmetic-portfolio{padding:80px 24px;max-width:1180px;margin:auto;text-align:center}.cosmetic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;text-align:left;margin-top:36px}.cosmetic-grid article{border:1px solid #e4e8e2;border-radius:14px;padding:14px;background:#fff}.cosmetic-grid h3{color:var(--deep);margin:18px 0 8px}.cosmetic-grid p{color:#5d6470;line-height:1.6}.product-image-placeholder,.solution-image-placeholder{background:#edf2ea;border:1px dashed #9cac96;color:#62715c;display:grid;place-items:center;text-align:center;border-radius:14px;padding:20px;min-height:180px}.solution-image-placeholder{min-height:290px}.tech-points strong{display:block;color:var(--deep);margin-bottom:4px}.tech-points p{border-top:1px solid #dfe5dc;padding-top:14px}.heritage-strip{padding:80px 24px;text-align:center;background:#f6f8f5}.heritage-strip>p:last-child{max-width:760px;margin:auto}@media(max-width:800px){.cosmetic-intro,.technology-section{grid-template-columns:1fr;padding:55px 24px;gap:30px}.cosmetic-grid{grid-template-columns:1fr 1fr}.cosmetic-stats{gap:25px}}@media(max-width:500px){.cosmetic-grid{grid-template-columns:1fr}.cosmetic-stats{gap:16px}.cosmetic-stats strong{font-size:28px}}

.product-catalog article{padding:1.25rem}.product-catalog img{width:100%;height:210px;object-fit:contain;background:#fff;border-radius:12px;margin-bottom:1rem}.product-catalog small{display:block;margin-top:1rem;color:#52616b;font-weight:600;line-height:1.5}.product-catalog .eyebrow{font-size:.68rem;margin:0 0 .45rem}.featured-product{border:2px solid #c8a65b}.product-catalog .product-image-placeholder{height:210px;display:grid;place-items:center;margin-bottom:1rem;border-radius:12px;background:#f4f1eb;color:#52616b;font-weight:700}

.hyalure-info{padding:72px 7%;background:#faf7fc;text-align:center}.hyalure-info h2{margin:8px 0 32px}.hyalure-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1200px;margin:auto;text-align:left}.hyalure-card-grid article{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(50,20,80,.1)}.hyalure-card-grid img{width:100%;height:210px;object-fit:cover;display:block}.hyalure-card-grid h3,.hyalure-card-grid p{margin-left:22px;margin-right:22px}.hyalure-card-grid h3{margin-top:22px;font-size:1rem;color:#4a216d}.hyalure-card-grid p{padding-bottom:22px;line-height:1.6}@media(max-width:800px){.hyalure-card-grid{grid-template-columns:1fr}.hyalure-card-grid img{height:auto}}
.biolink-image { display:flex; align-items:center; justify-content:center; overflow:hidden; background:#fff; }
.biolink-image img { width:100%; height:100%; min-height:300px; object-fit:contain; display:block; }

.product-logo { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }

/* Match the Derma Products card logo size to the partner logo above. */
#cosmetic-solutions .product-logo {
  width: 310px;
  height: 92px;
  max-width: 85%;
  object-fit: contain;
}

/* Keep the Hyalure logo on a clean white canvas in the Derma Products card. */
#cosmetic-solutions .placeholder { background: #fff; }

#dental-solutions .placeholder { background: #fff; }

/* Noticeable floating background symbols */
body{
  position:relative;
  overflow-x:hidden;
}

.ambient-blocks{
  position:fixed;
  inset:0;
  z-index:2;
  pointer-events:none;
  overflow:hidden;
  opacity:.72;
  mix-blend-mode:multiply;
}

.ambient-block{
  --x:50vw;
  --y:50vh;
  --size:210px;
  --rotate:0deg;
  --scroll-float:0px;
  --drift-x:0px;
  --drift-y:0px;
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:var(--size);
  aspect-ratio:462 / 668;
  background-image:url("assets/kap-symbol-transparent.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  opacity:.38;
  filter:drop-shadow(0 18px 28px rgba(45,45,45,.13));
  transform:translate3d(calc(-50% + var(--drift-x)),calc(-50% + var(--scroll-float) + var(--drift-y)),0) rotate(var(--rotate));
  will-change:transform;
}

.ambient-block:nth-child(2n){opacity:.32;}

.site-header,
main,
.site-footer{
  position:relative;
}

main,
.site-footer{
  z-index:1;
}

.site-header{
  z-index:50;
}

@media (max-width:700px){
  .ambient-blocks{opacity:.72;}
  .ambient-block{--size:145px;opacity:.34;}
}

@media (prefers-reduced-motion:reduce){
  .ambient-block{
    transform:translate3d(-50%,-50%,0) rotate(var(--rotate));
  }
}

/* Events nav link uses the same style as the other header links. */
/* Events page */
.events-hero{
  min-height:520px;
  display:grid;
  place-items:center;
  text-align:center;
  background:linear-gradient(135deg,#f8fbf5 0%,#eef4e8 100%);
}
.events-hero h1{
  max-width:900px;
  margin:0 auto 18px;
  font-size:clamp(42px,6vw,76px);
  line-height:1.04;
  letter-spacing:-.06em;
  color:var(--deep);
}
.events-section{
  background:#fff;
  display:grid;
  grid-template-columns:32% 68%;
  gap:38px;
  align-items:start;
}
.events-intro h2{
  margin:0 0 14px;
  font-size:38px;
  color:var(--deep);
  letter-spacing:-.04em;
}
.events-intro p:not(.eyebrow){
  color:#5d6470;
  line-height:1.75;
}
.events-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
}
.event-card{
  min-height:310px;
  padding:28px;
  border-radius:24px;
  border:1px solid #e4eadf;
  background:rgba(255,255,255,.88);
  box-shadow:0 20px 46px rgba(15,35,12,.07);
  display:flex;
  flex-direction:column;
}
.event-card.featured-event{
  background:linear-gradient(180deg,#ffffff 0%,#f4f8ef 100%);
  border-color:#dbe7d1;
}
.event-date{
  width:max-content;
  padding:9px 14px;
  border-radius:999px;
  background:#eef4e8;
  color:var(--green);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.event-card h3{
  margin:24px 0 12px;
  color:var(--deep);
  font-size:24px;
  line-height:1.2;
}
.event-card p{
  color:#5d6470;
  line-height:1.65;
  margin:0 0 22px;
}
.event-card a{
  margin-top:auto;
  font-weight:800;
  color:var(--green);
}

.workshop-event{
  min-height:auto;
}
.event-gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:18px;
}
.event-gallery img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 14px 30px rgba(15,35,12,.10);
}
@media (max-width:1100px){
  .event-gallery{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:620px){
  .event-gallery{grid-template-columns:1fr;}
  .event-gallery img{height:260px;}
}
@media (max-width:900px){
  .events-section,.events-grid{grid-template-columns:1fr;}
  .events-hero{min-height:460px;}
}

/* White square-pixel texture inspired by the reference image */
body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.58;background-image:linear-gradient(rgba(255,255,255,.16),rgba(255,255,255,.16)),url("assets/white-square-texture.webp");background-size:560px 560px;background-position:center top;background-repeat:repeat;mix-blend-mode:multiply;}

/* Keep the texture behind all site content */
body{position:relative;isolation:isolate;}
body > *{position:relative;z-index:1;}
.site-header{z-index:50;}

/* Sitewide white square texture: behind content but visible across every section */
body{
  background-color:#fff;
  background-image:
    linear-gradient(rgba(255,255,255,.22),rgba(255,255,255,.22)),
    url("assets/white-square-texture.webp");
  background-size:560px 560px;
  background-position:center top;
  background-repeat:repeat;
  background-attachment:fixed;
}
body::after{
  z-index:-1;
  opacity:0;
}
main, section, .partners, .about, .products, .site-footer,
.cosmetic-intro, .technology-section, .cosmetic-portfolio,
.heritage-strip, .hyalure-info, .events-section, .events-grid{
  background-color:transparent !important;
}
.hero, .cosmetic-hero, .events-hero{
  background-color:transparent !important;
}
.partner-card, .product-block, .cosmetic-grid article, .hyalure-card-grid article,
.event-card, .hero-features div{
  background-color:rgba(255,255,255,.88) !important;
  backdrop-filter:blur(1px);
}
.site-header{
  background:rgba(255,255,255,.92) !important;
}

/* Use one consistent logo footprint across the Dental and Derma product cards. */
#dental-solutions .product-logo,
#cosmetic-solutions .product-logo {
  width: 310px;
  height: 92px;
  max-width: 85%;
  object-fit: contain;
}

/* Normal full-width footer (applies across all pages) */
.site-footer{
  padding:56px 6vw 32px;
  background:linear-gradient(135deg,var(--deep),var(--green));
  border-top:0;
  color:#fff;
}
.footer-contact-card{
  max-width:1180px;
  margin:0 auto;
  padding:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  box-shadow:none;
}
.footer-contact-grid{
  margin-bottom:30px;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.18);
}
@media (max-width:900px){
  .site-footer{padding:34px 20px 24px;}
  .footer-contact-card{padding:0;}
}
/* Page-specific cover heroes */
.dental-page-hero,.cosmetic-hero{position:relative;min-height:460px;display:flex;flex-direction:column;justify-content:center;isolation:isolate;background-position:center;background-size:cover;background-repeat:no-repeat;overflow:hidden}
.dental-page-hero{background-image:linear-gradient(90deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.78) 43%,rgba(255,255,255,.16) 72%,rgba(255,255,255,.05) 100%),url('assets/dentalsolutions.webp')}
.cosmetic-hero{background-image:linear-gradient(90deg,rgba(255,255,255,.90) 0%,rgba(255,255,255,.72) 42%,rgba(255,255,255,.16) 72%,rgba(255,255,255,.04) 100%),url('assets/derma-hero-background.webp')}
.dental-page-hero .section-intro,.cosmetic-hero .section-intro{color:#263342;font-weight:500}
@media(max-width:800px){.dental-page-hero,.cosmetic-hero{min-height:400px;background-position:65% center}.dental-page-hero{background-image:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.58)),url('assets/dentalsolutions.webp')}.cosmetic-hero{background-image:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.55)),url('assets/derma-hero-background.webp')}}

/* Hyalure portfolio video */
.solution-video{min-height:290px;border-radius:14px;overflow:hidden;background:#171126;box-shadow:0 12px 28px rgba(34,18,58,.18)}
.solution-video video{display:block;width:100%;height:100%;min-height:290px;object-fit:cover}
@media(max-width:800px){.solution-video,.solution-video video{min-height:220px}}

/* KAP Health brand refresh: use the supplied logo and match header to footer */
.site-header{
  background:linear-gradient(135deg,var(--deep),var(--green)) !important;
  border-bottom:0;
  color:#fff;
  box-shadow:0 8px 24px rgba(22,35,15,.18);
}
.site-header .brand img{
  width:300px;
  max-height:86px;
  object-fit:contain;
}
.site-header .main-nav,
.site-header .main-nav > a,
.site-header .dropdown > button{
  color:#fff;
}
.site-header .main-nav .active,
.site-header .dropdown.is-open > button{
  color:#dfe9cf;
  border-bottom-color:#dfe9cf;
}
.site-header .main-nav > a:hover,
.site-header .dropdown > button:hover{
  color:#dfe9cf;
}
.site-header .menu-toggle{
  color:#fff;
}
@media (max-width:900px){
  .site-header .brand img{width:220px;}
  .site-header .main-nav{background:transparent;}
}

/* Footer logo and retained department contacts */
.footer-brand{display:inline-flex;align-items:center;margin-bottom:30px}
.footer-brand img{display:block;width:260px;max-width:70vw;height:auto;object-fit:contain}
.footer-contact-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.footer-contact-grid{grid-template-columns:1fr 1fr}.footer-brand img{width:220px}}
@media(max-width:560px){.footer-contact-grid{grid-template-columns:1fr}}


/* Performance enhancements */
img { height: auto; }
.events-section, .dental-solutions-page, .cosmetic-portfolio, .hyalure-info { content-visibility: auto; contain-intrinsic-size: 800px; }

/* Accessibility and utility styles */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:9999;background:#fff;color:#111;padding:10px 14px;border-radius:6px}
.skip-link:focus{left:8px}
:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.legal-page{max-width:850px;margin:0 auto;padding:140px 24px 80px;min-height:70vh}
.legal-page h1{margin-bottom:20px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
