/* ==========================================================================
   Weida Packaging — Mint theme (#D6ECE0) + accent #127F7C
   Loaded after sections.css on every page. One file to swap the palette.
   ========================================================================== */

:root {
  --ink: #0B2B28;
  --body: #3E6560;
  --muted: #5E7F79;
  --green: #127F7C;
  --green-dark: #0F6B68;
  --green-deep: #0B4A48;
  --orange: #127F7C;
  --pale: #E3F2EC;
  --soft: #F4FAF7;
  --line: #D8E8E1;
  --white: #ffffff;

  --ds-ink: #0B2B28;
  --ds-body: #3E6560;
  --ds-muted: #5E7F79;
  --ds-line: #D8E8E1;
  --ds-soft: #F2F9F6;
  --ds-deep: #0B3B39;
  --ds-green: #127F7C;
  --ds-mint: #0B4A48;
  --ds-paper: #ffffff;
}

body { color: var(--body); }
h1, h2, h3, h4 { color: var(--ink); }
.eyebrow { color: #4C7570; }

/* ---------------------------------------------------------------- buttons */
.btn { background: #E67F14; color: #fff; border-color: #E67F14; }
.btn:hover { background: #C96B0D; border-color: #C96B0D; }
.btn-orange { background: #E67F14; color: #fff; }
.btn-orange:hover { background: #C96B0D; }
.btn-dark { background: #0B3B39; color: #fff; }
.btn-dark:hover { background: #062C2B; }
.btn-outline { background: transparent; border-color: #BFDDD2; color: #0B2B28; }
.btn-outline:hover { background: #FDF1E4; border-color: #E67F14; }
.btn-ghost { background: transparent; border-color: #BFDDD2; color: #0B2B28; }
.btn-ghost:hover { background: #FDF1E4; border-color: #E67F14; }
.text-link, .range-link { color: #127F7C; }
.text-link:hover, .range-link:hover { color: #0B4A48; }

/* ---------------------------------------------------------------- header */
.site-header { background: rgba(255, 255, 255, .94); border-bottom-color: #DCEBE5; }
.nav > a, .nav-item > .nav-link { color: #0B2B28; }
.nav > a:hover, .nav-item:hover > .nav-link { background: #EAF6F1; }
.nav a.is-active, .nav-item > .nav-link.is-active { color: #127F7C; }
.mega { border-color: #DCEBE5; }
.mega-card:hover { background: #F2F9F6; }
.mega-side { border-left-color: #DCEBE5; }

/* ---------------------------------------------------------------- hero */
.hero-v2.hero-bleed { background: #0B3B39; }
.hero-v2.hero-bleed::before {
  background:
    linear-gradient(90deg, rgba(6, 34, 32, .88) 0%, rgba(6, 34, 32, .78) 24%, rgba(6, 34, 32, .5) 44%, rgba(6, 34, 32, .14) 64%, rgba(6, 34, 32, 0) 80%),
    linear-gradient(180deg, rgba(6, 34, 32, .26) 0%, rgba(6, 34, 32, 0) 32%, rgba(6, 34, 32, .28) 100%);
}
.hero-eyebrow { color: #BFF0E1; }
.hero-title { color: #fff; text-shadow: 0 2px 22px rgba(4, 26, 24, .35); }
.hero-title em { color: #A9EEDD; }
.hero-sub { color: #E4F2EC; text-shadow: 0 1px 14px rgba(4, 26, 24, .4); }
.hero-meta { border-top-color: rgba(255, 255, 255, .26); }
.hero-meta li { color: #CBE3DA; }
.hero-meta strong { color: #fff; }
.hero-cta .btn { background: #E67F14; border-color: #E67F14; color: #fff; }
.hero-cta .btn:hover { background: #C96B0D; }
.hero-cta .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero-cta .btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }

/* ---------------------------------------------------------------- mint bands */
.trust-bar { background: #D6ECE0; color: #0B2B28; border-bottom: 1px solid #C4DFD2; }
.trust-flag strong, .trust-points strong { color: #0B2B28; }
.trust-flag span, .trust-points span { color: #3E6560; }
.trust-mark { background: #127F7C; color: #fff; }
.trust-points li::before { background: #127F7C; }

.promo-band { background: #D6ECE0; color: #0B2B28; }
.promo-band::before {
  background-image:
    radial-gradient(700px 380px at 12% 0%, rgba(18, 127, 124, .16), transparent 62%),
    linear-gradient(rgba(11, 59, 57, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 59, 57, .05) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}
.promo-band .eyebrow, .promo-band .eyebrow-light { color: #127F7C; }
.promo-copy h3 { color: #08302E; }
.promo-copy p { color: #3E6560; }
.promo-link { color: #0B4A48; border-bottom-color: rgba(11, 74, 72, .35); }
.promo-link:hover { color: #08302E; border-color: #08302E; }
.promo-badge { background: #0B3B39; color: #D6ECE0; }
.promo-visual img { box-shadow: 0 40px 70px -34px rgba(6, 44, 43, .45); }

.plant { background: #D6ECE0; color: #0B2B28; }
.plant::before { background: radial-gradient(1000px 520px at 12% 0%, rgba(18, 127, 124, .18), transparent 60%); }
.plant-head h2 { color: #08302E; }
.plant-head p { color: #3E6560; }
.plant .eyebrow { color: #127F7C; }
.plant-audit { background: #fff; border: 1px solid #BFDDD2; }
.plant-audit h3 { color: #08302E; }
.plant-audit p { color: #3E6560; }
.plant-audit .text-link { color: #127F7C; }
.audit-mark { background: #127F7C; color: #fff; }
.plant-item { background: #C4DFD2; }
.plant-caption { color: #F4FBF8; }

.dm-callout { background: #D6ECE0; color: #0B2B28; border-color: #C4DFD2; }
.dm-callout .eyebrow { color: #127F7C; }
.dm-callout h2 { color: #08302E; }
.dm-callout p { color: #3E6560; }
.dm-actions .btn-outline { color: #0B4A48; border-color: rgba(11, 74, 72, .4); }
.dm-actions .btn-outline:hover { background: rgba(18, 127, 124, .1); border-color: #127F7C; }

.cta { background: #D6ECE0; color: #0B2B28; }
.cta h2 { color: #08302E; }
.cta p { color: #3E6560; }
.cta .eyebrow-light { color: #127F7C; }
.cta .btn-ghost { color: #0B4A48; border-color: rgba(11, 74, 72, .4); }
.cta .btn-ghost:hover { background: rgba(18, 127, 124, .1); border-color: #127F7C; }

.site-footer { background: #117673; color: rgba(255, 255, 255, .88); }
.site-footer h3 { color: #ffffff; }
.site-footer a { color: rgba(255, 255, 255, .92); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-bottom { border-top-color: rgba(255, 255, 255, .22); }

/* ---------------------------------------------------------------- sections */
.intro { background: #F2F9F6; }
.sector-list { border-top-color: #0B3B39; }
.sector-list a:hover { color: #127F7C; }
.sector-list .sector-num { color: #127F7C; }

.svc-icon, .metric-icon, .intro-metrics .metric-icon { background: #E3F2EC; color: #127F7C; }
.intro-services li:hover .svc-icon,
.intro-metrics li:hover .metric-icon { background: #127F7C; color: #fff; }
.intro-metrics li { border-color: #DCEBE5; }
.intro-metrics em { color: #127F7C; }
.intro-points li { border-bottom-color: #DCEBE5; }
.intro-note { border-left-color: #127F7C; background: #fff; }

.chip { border-color: #CFE5DA; background: #F2F9F6; color: #0B2B28; }
.chip:hover { border-color: #127F7C; background: #fff; }

.range-card h3 { color: #0B2B28; }
.range-card:hover h3 { color: #127F7C; }
.range-note a { color: #0B2B28; }

.faq-item summary:hover { color: #127F7C; }
.faq-item { border-bottom-color: #DCEBE5; }

.gallery-thumb.is-active { border-color: #127F7C; }
.gallery-btn { color: #0B2B28; }
.gallery-counter { background: rgba(11, 59, 57, .82); }

.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: #127F7C; box-shadow: 0 0 0 3px rgba(18, 127, 124, .14);
}

.page-hero { background: #F7FBF9; }
.blog-card:hover, .guide-card:hover, .product-card:hover, .format-card:hover, .related-card:hover {
  box-shadow: 0 28px 48px -38px rgba(11, 59, 57, .45);
}


/* footer bottom row contrast on #117673 */
.site-footer .footer-bottom { color: rgba(255, 255, 255, .8); }
.site-footer .footer-bottom a { color: rgba(255, 255, 255, .92); }
.site-footer .footer-bottom p { color: rgba(255, 255, 255, .8); }


/* ---------------------------------------------------------------- buttons, final
   Every filled button is the accent orange; secondary buttons are the same
   orange as an outline so nothing is left in the old teal or dark ink. */
.btn,
.btn-orange,
.btn-dark,
.btn-lime,
.header-cta,
.form-card button[type="submit"],
button.btn { background: #E67F14; border-color: #E67F14; color: #fff; }
.btn:hover,
.btn-orange:hover,
.btn-dark:hover,
.btn-lime:hover,
.header-cta:hover,
.form-card button[type="submit"]:hover,
button.btn:hover { background: #C96B0D; border-color: #C96B0D; color: #fff; }

.btn-outline,
.btn-ghost {
  background: transparent;
  border: 1.5px solid #E67F14;
  color: #B8630D;
}
.btn-outline:hover,
.btn-ghost:hover { background: #E67F14; border-color: #E67F14; color: #fff; }

/* on dark photographic areas keep the secondary button legible */
.hero-cta .btn-ghost,
.cta .btn-ghost,
.dm-actions .btn-outline,
.btn-ghost-light {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: #fff;
}
.hero-cta .btn-ghost:hover,
.cta .btn-ghost:hover,
.dm-actions .btn-outline:hover,
.btn-ghost-light:hover { background: #E67F14; border-color: #E67F14; color: #fff; }

/* mint sections: secondary outline should read on the pale ground */
.cta .btn-ghost { background: transparent; border-color: #C96B0D; color: #B8630D; }
.cta .btn-ghost:hover { background: #E67F14; border-color: #E67F14; color: #fff; }
.dm-callout .dm-actions .btn-outline { background: transparent; border-color: #C96B0D; color: #B8630D; }
.dm-callout .dm-actions .btn-outline:hover { background: #E67F14; border-color: #E67F14; color: #fff; }


/* the mega-menu CTA inherits link colour from .mega-side a — keep it white */
.mega .mega-side a.btn,
.mega .mega-side a.btn:hover { color: #fff; }

/* ==========================================================================
   Certificate display cabinet — homepage, directly above the product range
   ========================================================================== */
.cert-case {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 108px 0 104px;
  scroll-margin-top: 96px;
  background:
    radial-gradient(900px 420px at 18% -8%, rgba(37, 211, 102, .16), transparent 62%),
    radial-gradient(760px 460px at 86% 4%, rgba(214, 236, 224, .12), transparent 64%),
    linear-gradient(180deg, #0B3B39 0%, #082E2C 100%);
  color: #E8F4EE;
}
.cert-case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  mask-image: radial-gradient(900px 520px at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 520px at 50% 0%, #000 0%, transparent 78%);
}
.cert-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 44px;
}
.cert-head h2 {
  max-width: 20ch;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 620;
  line-height: 1.1;
}
.cert-head .eyebrow { color: #8FE0BE; }
.cert-head p {
  max-width: 46ch;
  margin: 0;
  color: #B6D6CA;
  font-size: .98rem;
  line-height: 1.65;
}
.cert-cabinet {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px 20px;
  padding: 30px 26px 28px;
  border: 1px solid rgba(214, 236, 224, .2);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .012) 42%, rgba(255, 255, 255, .03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 0 90px rgba(0, 0, 0, .22),
    0 50px 90px -60px #000;
}
/* top lamp of the cabinet */
.cert-cabinet::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(143, 224, 190, .85), transparent);
  box-shadow: 0 6px 30px rgba(143, 224, 190, .45);
}
.cert-frame {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.cert-paper {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  padding: 9px;
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .08),
    0 18px 30px -18px rgba(0, 0, 0, .85);
  transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s ease;
}
.cert-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: soft-light;
}
.cert-paper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.cert-zoom {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  transform: translate(-50%, 8px);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 34, 32, .9);
  color: #DFF6EC;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .04em;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  white-space: nowrap;
}
.cert-frame:hover .cert-paper,
.cert-frame:focus-visible .cert-paper {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(143, 224, 190, .5),
    0 30px 46px -22px rgba(0, 0, 0, .9);
}
.cert-frame:hover .cert-zoom,
.cert-frame:focus-visible .cert-zoom { opacity: 1; transform: translate(-50%, 0); }
.cert-frame:focus-visible { outline: none; }
.cert-frame:focus-visible .cert-paper { outline: 2px solid #8FE0BE; outline-offset: 3px; }
.cert-meta { display: block; }
.cert-meta strong {
  display: block;
  color: #fff;
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.3;
}
.cert-meta em {
  display: block;
  margin-top: 4px;
  color: #9FC6B8;
  font-size: .77rem;
  font-style: normal;
  line-height: 1.4;
}
.cert-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: 32px;
}
.cert-foot p {
  max-width: 68ch;
  margin: 0;
  color: #A9CCC0;
  font-size: .88rem;
  line-height: 1.6;
}
.cert-foot .btn { flex: 0 0 auto; }
.cert-case + .range { padding-top: 96px; }

@media (max-width: 1180px) {
  .cert-cabinet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cert-case { padding: 84px 0 82px; }
  .cert-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cert-head p { max-width: 60ch; }
  .cert-cabinet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; padding: 24px 18px; }
}
@media (max-width: 620px) {
  .cert-case { padding: 64px 0 62px; }
  .cert-cabinet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; padding: 20px 14px; }
  .cert-paper { padding: 7px; }
  .cert-meta strong { font-size: .82rem; }
  .cert-meta em { font-size: .72rem; }
  .cert-foot { flex-direction: column; align-items: flex-start; }
  .cert-foot .btn { width: 100%; }
}

/* certificate lightbox */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 24, 22, .88);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.cert-modal.is-open { display: flex; }
.cert-modal-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(880px, 100%);
  max-height: 100%;
}
.cert-modal img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 40px 90px -30px #000;
  object-fit: contain;
}
.cert-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #D6ECE0;
  font-size: .9rem;
  line-height: 1.4;
}
.cert-modal-bar a { color: #8FE0BE; text-decoration: underline; text-underline-offset: 3px; }
.cert-modal-close {
  position: absolute;
  top: -18px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(6, 34, 32, .85);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.cert-modal-close:hover { background: #127F7C; border-color: #8FE0BE; }
body.cert-modal-open { overflow: hidden; }
@media (max-width: 620px) {
  .cert-modal { padding: 16px; }
  .cert-modal-close { top: -12px; right: 0; }
  .cert-modal img { max-height: calc(100vh - 170px); padding: 6px; }
  .cert-modal-bar { font-size: .8rem; }
}

/* ==========================================================================
   WhatsApp — header button, CTA button, floating chat button, form shortcut
   ========================================================================== */
.btn-wa,
.btn-wa:hover,
.cta .btn-wa,
.cta .btn-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #06382A;
}
.btn-wa:hover,
.cta .btn-wa:hover { background: #1FBE5A; border-color: #1FBE5A; color: #04301F; }
button.btn-wa,
button.btn-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #06382A;
}
button.btn-wa:hover { background: #1FBE5A; border-color: #1FBE5A; }
.btn-wa .wa-glyph { width: 19px; height: 19px; fill: currentColor; }

.wa-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border-radius: 999px;
  background: #25D366;
  color: #06382A;
  transition: transform .2s ease, background-color .2s ease;
}
.wa-header:hover { background: #1FBE5A; transform: translateY(-1px); }
.wa-header svg { width: 22px; height: 22px; fill: currentColor; }

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px 0 16px;
  border: 1px solid rgba(4, 48, 31, .14);
  border-radius: 999px;
  background: #25D366;
  color: #06382A;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55);
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; flex: 0 0 auto; }
.wa-float:hover {
  background: #1FBE5A;
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .6);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(37, 211, 102, .55);
  border-radius: inherit;
  animation: wa-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(.94); opacity: .8; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
@media (max-width: 860px) {
  .brand img { width: 120px; }
  .header-cta { min-height: 38px; padding: 0 12px; font-size: .74rem; }
  .wa-header { width: 38px; height: 38px; margin-right: 8px; }
  .wa-header svg { width: 20px; height: 20px; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; min-height: 54px; padding: 0; }
  .wa-float span { display: none; }
}
@media (max-width: 620px) {
  .header-inner { gap: 8px; }
  .header-cta { display: none; }
  .brand img { width: 112px; }
  .nav-toggle { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::after { animation: none; }
  .cert-paper, .wa-float { transition: none; }
}

.footer-wa {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .92);
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-wa:hover { color: #fff; }
.footer-wa .wa-glyph { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; fill: currentColor; }
.form-card .btn-wa { margin-top: 10px; }

/* the certificate CTA is a ghost button on the dark cabinet */
.cert-case .btn-ghost { background: transparent; border-color: rgba(214, 236, 224, .45); color: #E8F4EE; }
.cert-case .btn-ghost:hover { background: #8FE0BE; border-color: #8FE0BE; color: #06382A; }


/* ==========================================================================
   Certificate cabinet — light treatment to match the mint editorial theme
   (overrides the earlier dark version; section sits after Product range)
   ========================================================================== */
.cert-case {
  padding: 100px 0 96px;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(18, 127, 124, .07), transparent 62%),
    linear-gradient(180deg, #EEF7F2 0%, #E4F2EB 100%);
  color: var(--ds-body);
  border-top: 1px solid #DCEBE3;
}
.cert-case::before {
  background-image:
    linear-gradient(rgba(11, 74, 72, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 74, 72, .045) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  mask-image: radial-gradient(900px 520px at 50% 0%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(900px 520px at 50% 0%, #000 0%, transparent 80%);
}
.cert-head h2 { color: var(--ds-ink); }
.cert-head .eyebrow { color: #4C7570; }
.cert-head p { color: var(--ds-body); }
.cert-cabinet {
  border: 1px solid #D3E7DC;
  background: linear-gradient(180deg, #ffffff 0%, #F8FCFA 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 30px 60px -46px rgba(11, 59, 57, .45);
}
.cert-cabinet::before {
  background: linear-gradient(90deg, transparent, rgba(18, 127, 124, .55), transparent);
  box-shadow: 0 6px 20px rgba(18, 127, 124, .18);
}
.cert-paper {
  box-shadow:
    0 0 0 1px rgba(11, 59, 57, .08),
    0 14px 26px -18px rgba(11, 59, 57, .45);
}
.cert-frame:hover .cert-paper,
.cert-frame:focus-visible .cert-paper {
  box-shadow:
    0 0 0 1px rgba(18, 127, 124, .4),
    0 26px 40px -22px rgba(11, 59, 57, .5);
}
.cert-frame:focus-visible .cert-paper { outline-color: #127F7C; }
.cert-zoom { background: rgba(11, 59, 57, .88); color: #EAF7F1; }
.cert-meta strong { color: var(--ds-ink); }
.cert-meta em { color: var(--ds-muted); }
.cert-foot p { color: var(--ds-body); }
.cert-case .btn-ghost {
  background: #fff;
  border-color: #C6DFD3;
  color: #0B4A48;
}
.cert-case .btn-ghost:hover {
  background: #127F7C;
  border-color: #127F7C;
  color: #fff;
}
@media (max-width: 900px) {
  .cert-case { padding: 72px 0 70px; }
}
@media (max-width: 620px) {
  .cert-case { padding: 56px 0 58px; }
}

/* ==========================================================================
   Mobile adaptation pass — layout, type and spacing on phones and tablets
   ========================================================================== */

/* wide tables must scroll inside their column instead of widening the page */
.article-layout,
.quote-layout { min-width: 0; }
.article-layout > *,
.quote-layout > * { min-width: 0; }
.prose { min-width: 0; max-width: 100%; }
.table-wrap {
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  body { overflow-x: clip; }

  /* home hero: photo on top, copy below — no text over the pack shot */
  .hero-v2.hero-bleed {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 0 44px;
  }
  .hero-v2.hero-bleed > img.hero-bleed-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 280px;
    flex: 0 0 auto;
    object-position: 68% 46%;
    animation: none;
  }
  .hero-v2.hero-bleed::before,
  .hero-v2.hero-bleed::after { display: none; }
  .hero-bleed .hero-inner { width: 100%; padding: 30px 22px 0; }
  .hero-eyebrow { margin-bottom: 14px; font-size: .68rem; letter-spacing: .14em; }
  .hero-title { max-width: 20ch; font-size: clamp(2rem, 8.4vw, 2.7rem); }
  .hero-sub { margin-top: 15px; font-size: .98rem; line-height: 1.6; }
  .hero-cta { margin-top: 24px; gap: 10px; }
  .hero-meta { margin-top: 30px; gap: 0 20px; }
  .hero-meta li { padding: 14px 0; font-size: .8rem; }
  .hero-meta strong { font-size: .98rem; }

  /* section rhythm */
  .intro, .sectors, .plant { padding-top: 64px; padding-bottom: 64px; }
  .range { padding-top: 64px; }
  .section { padding-top: 56px; padding-bottom: 56px; }

  /* page heroes on interior pages */
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: clamp(2rem, 7.6vw, 2.7rem); max-width: none; }
  .page-hero-media img { padding: 0; }
  .page-hero .lede { margin-top: 14px; font-size: .96rem; }

  /* CTA band: buttons full width, clear tap targets */
  .cta { padding: 44px 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 640px) {
  .hero-v2.hero-bleed > img.hero-bleed-img { height: 225px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-bleed .hero-inner { padding: 26px 18px 0; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta li { padding: 12px 0; }
  .hero-meta li + li { border-top: 1px solid rgba(255, 255, 255, .14); }

  /* card grids get two columns instead of one very tall column */
  .range-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .range-card h3 { margin-top: 12px; font-size: .98rem; }
  .range-card p { font-size: .82rem; }
  .plant-grid, .plant-strip, .plant-pair { grid-template-columns: 1fr 1fr; gap: 10px; }
  .intro-metrics { grid-template-columns: 1fr 1fr; }
  .intro-metrics li { padding: 20px 16px; }
  .intro-services li { padding: 12px 14px; }

  /* articles */
  .prose h2 { font-size: 1.42rem; }
  .prose table { font-size: .8rem; }
  .article-layout { gap: 26px; }

  /* footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(4) { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(4) ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
  .footer-bottom { gap: 12px; }

  /* keep the floating button clear of the last row of content */
  body { padding-bottom: 0; }
}


/* mobile navigation drawer: plain full-width rows instead of desktop pills */
@media (max-width: 860px) {
  .header-inner { min-height: 72px; }
  .nav {
    top: 72px;
    max-height: calc(100vh - 72px);
    padding: 4px 20px 16px;
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid #DCEBE5;
    box-shadow: 0 26px 40px -30px rgba(11, 59, 57, .5);
  }
  .nav > a,
  .nav-item > .nav-link {
    width: 100%;
    padding: 15px 2px;
    border-radius: 0;
    border-bottom: 1px solid #E6F0EA;
    font-size: 1rem;
    opacity: 1;
  }
  .nav > a:last-child { border-bottom: 0; }
  .nav-item { width: 100%; }
  .nav-item > .nav-link { justify-content: space-between; }
  .nav .caret { opacity: .4; }
  .nav-toggle { margin-left: auto; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  /* cleaner eyebrow line break under the hero */
  .hero-eyebrow {
    display: block;
    font-size: .66rem;
    letter-spacing: .12em;
    line-height: 1.6;
  }
  .hero-eyebrow::before { display: none; }

  /* the quote form comes before the long "what to include" aside */
  .quote-layout .form-card { order: -1; }

  /* signal that wide tables scroll sideways */
  .table-wrap {
    background:
      linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)) left center / 32px 100% no-repeat local,
      linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)) right center / 32px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, rgba(11, 59, 57, .14), transparent) left center / 12px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, rgba(11, 59, 57, .14), transparent) right center / 12px 100% no-repeat scroll;
  }
}


/* odd number of quick-spec tiles: avoid a blank half-tile on tablets */
@media (min-width: 601px) and (max-width: 860px) {
  .quick-specs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}


/* header CTA should never break into two lines */
.header-cta { white-space: nowrap; }

@media (max-width: 640px) {
  /* keep the copyright line clear of the floating chat button */
  .footer-bottom { padding-bottom: 76px; }
}


/* short landscape phones: keep the hero photo from filling the whole screen */
@media (max-width: 900px) and (max-height: 500px) {
  .hero-v2.hero-bleed > img.hero-bleed-img { height: 170px; }
  .hero-bleed .hero-inner { padding-top: 20px; }
  .nav { max-height: calc(100vh - 72px); }
}
