/* ============================================================
   Guangdong Chaolun New Materials Co., Ltd. â€” Global Site
   Style ref: clean corporate B2B template (teal/orange/mint)
   ============================================================ */
:root {
  --header-h: 100px;   /* header / nav bar height â€” everything offsets off this */
  --teal: #3e9e3e;
  --teal-dark: #2f7d2f;
  --teal-light: #e9f4e9;
  --mint: #e3f0e3;
  --orange: #f7a823;
  --orange-dark: #e8960f;
  --text: #333;
  --text-sub: #666;
  --text-light: #999;
  --border: #e5e5e5;
  --maxw: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  background: #ffffff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
ul, ol { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  border-top: 3px solid #3e9e3e;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 56px; width: auto; }
.logo-text { font-size: 30px; font-weight: 800; letter-spacing: 2px; color: #222; }
/* scoped to the top level only: a bare `.main-nav ul` also matches the
   dropdown and would lay its items out in a row */
.main-nav > ul { display: flex; gap: 54px; height: var(--header-h); }
.main-nav > ul > li { display: flex; }
.main-nav > ul > li > a {
  display: flex; align-items: center; height: 100%; padding: 0;
}
.main-nav a {
  font-size: 17px; letter-spacing: 1px; text-transform: uppercase;
  color: #444;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a.active {color: #3e9e3e;border-bottom-color: #3e9e3e;}
/* no outline after a tap or a mouse click; keyboard focus keeps a ring
   (added below, desktop only â€” narrow screens are touch-first) */
.main-nav a:focus { outline: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #333; margin: 5px 0; transition: .3s; }

/* ---------- Nav : second-level dropdown ---------- */
.main-nav ul li { position: relative; }
/* the arrow is a real <button>: it toggles the panel and never navigates */
.nav-arrow {
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-block; vertical-align: middle;
  align-self: center;                    /* it is a flex item of the menu <li> */
  width: 0; height: 0; margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #9aa0a6;
  transition: transform .25s ease, border-top-color .25s ease;
}
.main-nav .nav-arrow:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.main-nav li.has-sub:hover > .nav-arrow,
.main-nav a.active + .nav-arrow { border-top-color: var(--teal); }
/* NOTE: every rule below is scoped with `.main-nav` on purpose â€”
   `.main-nav ul { display:flex }` outranks a bare `.sub-menu` selector,
   which would otherwise render the dropdown as a horizontal row. */
/* invisible bridge: keeps :hover alive while the pointer crosses the 10px gap */
.main-nav ul li.has-sub::after {
  content: ""; position: absolute; left: -10px; right: -10px; top: 100%;
  height: 12px;
}
.main-nav ul.sub-menu {
  display: block;
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: max-content; min-width: 300px; max-width: 360px;
  padding: 12px 0; z-index: 20;
  background: #fff;
  border: 1px solid var(--border); border-top: 3px solid var(--teal);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
/* desktop width only â€” on narrow screens the panel is an accordion and must
   never receive the -50% pull-back (see the 768px block below) */
@media (min-width: 769px) {
  .main-nav li.has-sub:hover > ul.sub-menu,
  .main-nav li.has-sub:focus-within > ul.sub-menu,
  .main-nav li.has-sub.open > ul.sub-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  .main-nav a:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
}
.main-nav ul.sub-menu a {
  position: relative; display: block; padding: 16px 30px 16px 28px;
  font-size: 16px; letter-spacing: .3px; text-transform: none; text-align: left;
  color: #555; border-bottom: 0; white-space: nowrap;
}
.main-nav ul.sub-menu a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; background: var(--teal);
  transition: height .25s ease;
}
.main-nav ul.sub-menu a:hover { color: var(--teal); background: var(--teal-light); }
.main-nav ul.sub-menu a:hover::before { height: 62%; }
.main-nav ul.sub-menu > li + li { border-top: 1px solid #f2f2f2; }
/* anchor offset for sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---------- Hero slider (full-bleed) ----------
   Every frame fills the banner edge to edge: no dark stage and no shadowed
   gutters on either side, just the photo.
   The slides live on one horizontal track; looping is done by translating the
   track, so the first and last frames are never re-wound (no visible jump).
   The copy block is centred in the same 1200px container the rest of the page
   uses, so it lines up with everything below it. */
.hero { position: relative; overflow: hidden; background: #1f2b26; }
/* the reference banner artwork is 1920x800 â€” the stage follows that ratio as
   screens widen (800px on a 1920 display) but never drops below 650px, which
   is the height agreed for this site */
.hero-slides { position: relative; height: clamp(650px, 41.67vw, 800px); overflow: hidden; }
.hero-track { display: flex; height: 100%; padding: 0; will-change: transform; }
.hero-track.animating { transition: transform .6s cubic-bezier(.45,0,.25,1); }
.hero-slide {
  position: relative; flex: 0 0 100%; height: 100%; overflow: hidden;
  background-size: cover; background-position: center;
}
/* readability scrim â€” two very light layers instead of one heavy one:
   1. a flat, barely-there veil that keeps white type legible wherever the
      photo happens to be bright;
   2. a soft darkening that sits behind the copy only and is gone by the
      middle of the frame, so the photo keeps its own brightness. */
.hero-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(6,20,16,.64) 0%, rgba(6,20,16,.44) 28%,
      rgba(6,20,16,.14) 52%, rgba(6,20,16,0) 70%),
    linear-gradient(rgba(6,20,16,.16), rgba(6,20,16,.16));
}
.hero-inner {
  position: relative; z-index: 5; height: 100%;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center;
}
.hero-copy {
  max-width: 660px; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.5), 0 6px 26px rgba(0,0,0,.42);
}
.hero-title {
  margin: 0 0 12px; font-size: 44px; font-weight: 700; line-height: 1.14;
  letter-spacing: .5px; text-transform: uppercase;
}
.hero-sub {
  margin: 0 0 22px; font-size: 20px; font-weight: 400; line-height: 1.4;
  letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.94);
}
.hero-text {
  margin: 0 0 32px; max-width: 560px; font-size: 15.5px; line-height: 1.85;
  color: rgba(255,255,255,.92);
}
.hero-btn {
  display: inline-block; padding: 14px 38px; border-radius: 999px;
  background: #fff; color: #1c2b27; font-size: 13px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: background .25s, color .25s, transform .25s;
}
.hero-btn:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
/* slim line arrows sitting inside the banner, over the photo */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border: 0; padding: 0;
  background: rgba(8,20,16,.26); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 6; transition: background .25s;
}
.hero-arrow:hover { background: rgba(8,20,16,.5); }
.hero-arrow::before {
  content: ""; width: 13px; height: 13px;
  border-top: 2px solid rgba(255,255,255,.9);
  border-right: 2px solid rgba(255,255,255,.9);
  transition: border-color .25s;
}
.hero-arrow.prev::before { transform: rotate(-135deg); margin-left: 6px; }
.hero-arrow.next::before { transform: rotate(45deg); margin-right: 6px; }
.hero-arrow:hover::before { border-color: var(--teal); }
/* inset from the two edges of the banner */
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 6; }
.hero-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.45); cursor: pointer;
  transition: width .3s, background .3s;
}
.hero-dots button.active { width: 26px; background: #fff; }

/* ---------- Page banner (inner pages) ---------- */
/* Content-page banner. Taller than before so the wide artwork is not cropped
   down to a thin sliver, and given a very light brand wash on the left so the
   strip reads as part of the site rather than a bare photograph. Deliberately
   not darkened â€” the client dislikes heavy scrims. */
.page-banner {
  height: clamp(240px, 20vw, 380px);
  background-size: cover; background-position: center; position: relative;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(62,158,62,.18) 0%, rgba(62,158,62,.05) 42%, rgba(62,158,62,0) 72%);
}

/* ---------- Section primitives ---------- */
.section {padding: clamp(70px, 4.5vw, 124px) 0;}
/* Backgrounds fade in and out instead of stopping on a hard line, so each
   block reads as one layer sitting on the page rather than a flat slab. */
/* Flat colour layers â€” solid fills, no gradients (client call 2026-09-21).
   alt  = brand green tint  Â·  wash = neutral grey  Â·  deep = deep green */
.section.alt {background: #ffffff;}
.sec-title {
  text-align: center; font-size: 30px; letter-spacing: 1px;
  text-transform: uppercase; color: #222; margin-bottom: 14px;
  position: relative; display: flex; align-items: center; justify-content: center; gap: 16px;
}
/* the two leaf ornaments come from the client's artwork (images/leaf-left.png /
   leaf-right.png) â€” pale, semi-transparent, and mirrored on each side */
.sec-title .leaf { width: 58px; height: auto; flex: none; }
.sec-sub {
  text-align: center; color: var(--text-sub);
  max-width: 780px; margin: 0 auto clamp(46px, 4.6vw, 66px);
  font-size: 15.5px; line-height: 1.8;
}
/* thin brand rule between the heading and the standfirst: gives every block
   the same small accent so the sequence reads as one designed system */
.sec-sub::before {
  content: ""; display: block; width: 54px; height: 2px; border-radius: 2px;
  background: var(--teal); opacity: .45; margin: 0 auto 22px;
}

/* ---------- Welcome / feature grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* ---------- News cards ----------
   Reference style: picture, then a left-aligned headline, a two-line excerpt
   and the date â€” a plain editorial block, not a bordered card. */
.news-card { text-align: left; }
.news-card .thumb { overflow: hidden; border-radius: 4px; }
.news-card img {
  width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; transition: transform .5s;
}
.news-card:hover img { transform: scale(1.04); }
.news-card h3 {
  font-size: 17px; font-weight: 700; line-height: 1.45;
  margin-top: 18px; color: #222;
}
.news-card a:hover h3 { color: #ffc001; }
.news-card .excerpt {
  margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--text-sub);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card time { display: block; margin-top: 14px; font-size: 13px; color: var(--text-light); }

/* ---------- Welcome category strip ----------
   Four headline categories only, styled after the reference template:
   square corners, portrait crops, caption in plain uppercase underneath. */
.cat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cat-item { text-align: center; }
.cat-item a { display: block; }
.cat-item .pic { overflow: hidden; background: #f2f2f2; }
.cat-item img {
  width: 100%; height: auto; aspect-ratio: 3 / 4;
  object-fit: cover; border-radius: 0;
  transition: transform .5s;
}
.cat-item a:hover img { transform: scale(1.05); }
.cat-item h3 {
  margin-top: 18px; font-size: 14px; font-weight: 400;
  letter-spacing: .8px; text-transform: uppercase; color: #333;
  transition: color .25s;
}
.cat-item a:hover h3 { color: var(--teal); }

/* ---------- Video ----------
   Reference style: one wide 16:9 rectangle spanning the content column,
   square corners — not a centred little box. */
.video-wrap {
  position: relative; width: 100%; margin: 0 auto;
  aspect-ratio: 16 / 9; overflow: hidden; background: #0e1512;
  box-shadow: 0 16px 44px rgba(0,0,0,.16);
}
.video-wrap img,
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Product grid ----------
   Reference style: bare product images, no card border / radius / shadow â€”
   just the picture with a plain caption underneath. */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px 28px; }
.product-card { text-align: center; }
/* cover (not contain): every tile is filled to the same size, so the grid
   keeps an even rhythm â€” the source shots are product photos on white */
.product-card img { width: 100%; height: 230px; object-fit: cover; }
.product-card h3 {
  font-size: 14.5px; font-weight: 400; line-height: 1.5;
  margin-top: 16px; color: #444;
}
.product-card a:hover h3 { color: var(--teal); }
.cat-block + .cat-block { margin-top: 64px; }
.cat-block-title {
  text-align: center; font-size: 20px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 34px; color: #222; position: relative; padding-bottom: 14px;
}
.cat-block-title::after { content: ""; width: 56px; height: 3px; background: var(--teal); position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 2px; }

/* ---------- About page ---------- */
.about-flex { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.about-flex p { margin-bottom: 16px; color: var(--text-sub); }
.about-flex img { border-radius: 8px; width: 100%; }
.service-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.service-list { display: grid; gap: 14px; counter-reset: svc; }
.service-list li {
  position: relative; padding: 14px 18px 14px 60px; color: var(--text-sub);
  border: 1px solid var(--border); border-left: 4px solid var(--teal);
  border-radius: 8px; background: #fff;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.service-list li:hover {
  box-shadow: 0 8px 22px rgba(62,158,62,.14);
  transform: translateX(4px); border-color: var(--teal);
}
.service-list li::before {
  counter-increment: svc; content: counter(svc);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%; background: var(--teal-light); color: var(--teal-dark);
  border: 1px solid var(--teal);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ---------- News list ---------- */
.news-item { display: grid; grid-template-columns: 280px 1fr; gap: 26px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.news-item img { width: 100%; height: 170px; object-fit: cover; border-radius: 6px; }
.news-item h3 { font-size: 18px; margin-bottom: 8px; }
.news-item h3 a:hover { color: var(--teal); }
.news-item p { color: var(--text-sub); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item time { color: var(--text-light); font-size: 13px; }
.pager { display: flex; justify-content: center; gap: 26px; margin-top: 40px; }
.pager a { color: var(--text-sub); }
.pager a:hover { color: var(--teal); }

/* ---------- News / product detail ---------- */
.article-title { font-size: 26px; margin: 34px 0 10px; }
.article-meta { color: var(--text-light); font-size: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.article-body p { margin-bottom: 16px; color: #444; }
.article-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-sub); }
.article-nav a:hover { color: var(--teal); }

.detail-layout { display: grid; grid-template-columns: 120px 460px 1fr; gap: 30px; margin-top: 40px; align-items: start; }
.thumb-col { display: flex; flex-direction: column; gap: 14px; }
.thumb-col button { border: 1px solid var(--border); background: #fff; border-radius: 4px; overflow: hidden; cursor: pointer; padding: 0; }
.thumb-col button.active, .thumb-col button:hover { border-color: var(--teal); }
.thumb-col img { width: 100%; height: 100%; object-fit: cover; }
.detail-main { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.detail-main img { width: 100%; }
.detail-info h1 { font-size: 24px; margin-bottom: 16px; }
.detail-price { font-size: 15px; color: var(--text-sub); margin-bottom: 26px; }
.detail-price strong { font-size: 34px; color: var(--orange); font-weight: 700; }
.detail-actions { display: flex; gap: 16px; }
.btn {
  display: inline-block; padding: 12px 34px; border-radius: 4px; border: 0;
  font-size: 15px; cursor: pointer; transition: background .25s; text-align: center;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-line { background: #fff; border: 1px solid var(--orange); color: var(--orange); }
.btn-line:hover { background: var(--orange); color: #fff; }
.tab-bar { display: flex; margin-top: 50px; border-bottom: 2px solid var(--teal); }
.tab-bar button { padding: 12px 34px; background: #fff; border: 1px solid var(--border); border-bottom: 0; cursor: pointer; font-size: 15px; }
.tab-bar button.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.tab-panel { display: none; padding: 26px 4px; color: var(--text-sub); }
.tab-panel.active { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; margin-top: 46px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.form-row.full { grid-template-columns: 1fr; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: #555; }
.field input, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d9d9d9; border-radius: 4px;
  font-size: 14px; font-family: inherit; background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(53,181,169,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-msg { margin-top: 14px; color: var(--teal-dark); font-size: 14px; min-height: 20px; }
.addr-block { margin-bottom: 26px; }
.addr-block h3 { font-size: 17px; margin-bottom: 8px; }
.addr-block p { color: var(--text-sub); }
.map-frame { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }

/* ---------- Certificates ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1040px; margin: 0 auto; }
.cert-grid figure { text-align: center; }
.cert-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cert-grid figcaption { margin-top: 18px; font-size: 15px; color: #444; line-height: 1.6; }

/* ---------- Footer ----------
   Desktop follows the reference site: three blocks on one row â€”
   logo on the left, the menu row next to it, contact details stacked on the
   right (one item per line). Only below 768px does it collapse to a centred
   single column. */
/* the band carries the reference footer's texture (a 1920x328 tile, designed
   to repeat sideways); `auto 100%` maps the tile to the footer's full height
   so the artwork's bottom edge lands on the bottom edge of the band */
.site-footer {
  background-color: #ffffff;
  background-image: url("../images/footer-texture.jpg");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  /* No gap above the footer: `.section` already carries 70px of bottom
     padding, and the extra margin used to show the white page background in
     between â€” a pale stripe whenever the last block had its own tint
     (`.section.alt`, as on the About page). */
  color: #3d5c58;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 44px 20px 34px;
  display: flex; align-items: center; gap: 30px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.footer-logo img { height: 50px; width: auto; }
.footer-logo-text { font-size: 30px; font-weight: 800; letter-spacing: 2px; color: #24522f; }
.footer-nav { flex: 1 1 auto; min-width: 0; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 38px; }
/* the footer sits on a light texture (measured ~rgb(215,235,237)), so the
   secondary text is darkened until it clears 4.5:1 against that band */
.footer-nav a {
  font-size: 14px; letter-spacing: .8px; text-transform: uppercase; color: #4a6b64;
}
.footer-nav a:hover { color: var(--teal-dark); }
/* sizes mirror the reference block: labels bold at 16px, values at 14px on a
   29px line â€” labels sit inline, values follow on the same line */
.footer-contact {
  flex: 0 1 439px; font-style: normal;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px; line-height: 29px; color: #4a6b64;
}
.footer-contact p { margin: 0; }
.footer-contact span { font-size: 16px; font-weight: 700; color: #2b4a46; }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--teal-dark); }
/* a thin veil instead of a solid bar, so the band's texture runs unbroken to
   the bottom edge while the copyright line keeps its contrast */
.footer-bottom {
  background: rgb(255 255 255 / 34%);
  border-top: 1px solid rgba(62,158,62,.14);
  text-align: center;
  padding: 10px 15px;
  font-size: 13px;
  color: #45645e;
}

/* ---------- Breadcrumb bar (trail on the left, search on the right) ----------
   Runs right under the page banner on every content page. */
.crumb-bar {
  background: #f6f9f7;
  border-bottom: 1px solid var(--border);
}
.crumb-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 12px; padding-bottom: 12px;
}
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  font-size: 13.5px; letter-spacing: .02em; color: var(--text-sub);
  min-width: 0;
}
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-sub); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .home-ico { width: 15px; height: 15px; }
.breadcrumb .sep { margin: 0 10px; color: #bcd0c2; font-size: 15px; line-height: 1; }
.breadcrumb [aria-current="page"] { color: var(--teal); font-weight: 600; }
.breadcrumb [aria-current="page"] a { color: var(--teal); font-weight: 600; }
/* ---------- Site search (lives in the breadcrumb bar) ---------- */
.site-search {
  position: relative; display: flex; align-items: stretch;
  flex: 0 0 auto; height: 38px;
}
.site-search .search-input {
  width: 230px; height: 38px; padding: 0 14px;
  font: inherit; font-size: 14px; color: var(--text);
  border: 1px solid var(--border); border-right: 0; border-radius: 0;
  background: #fff;
  transition: border-color .25s;
}
.site-search .search-input:focus { outline: none; border-color: var(--teal); }
.site-search .search-input::placeholder { color: #b3b8b6; }
.site-search .search-btn {
  display: flex; align-items: center; justify-content: center;
  width: 46px; flex: 0 0 auto;
  border: 0; background: var(--teal); color: #fff; cursor: pointer;
  transition: background .25s;
}
.site-search .search-btn:hover { background: var(--teal-dark); }
.site-search .search-btn svg { width: 18px; height: 18px; }

/* results panel â€” hangs off the field, never wider than the viewport */
.site-search .search-results {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 120;
  width: 340px; max-width: calc(100vw - 40px); max-height: 60vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  padding: 6px 0;
}
.site-search .search-results[hidden] { display: none; }
.site-search .search-results li { border-bottom: 1px solid #f2f4f3; }
.site-search .search-results li:last-child { border-bottom: 0; }
.site-search .search-results a {
  display: block; padding: 9px 16px; font-size: 14px; color: var(--text);
}
.site-search .search-results a:hover,
.site-search .search-results a:focus,
.site-search .search-results li.active a {
  background: var(--teal-light); color: var(--teal-dark);
}
.site-search .search-results .kind {
  display: block; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-light); margin-top: 1px;
}
.site-search .search-results .empty {
  padding: 12px 16px; font-size: 13px; color: var(--text-light);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 30px; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--teal); color: #fff; font-size: 18px;
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   International-site components
   ------------------------------------------------------------
   Everything below is what overseas buyers expect to find on a
   factory site: hard numbers near the top, a way to ask for a
   price wherever they are on the page, answers to the questions
   they always ask, and the GDPR notice.
   ============================================================ */

/* ---------- Trust metrics strip ----------
   Sits directly under the hero. Procurement teams scan for proof
   before they read anything else, so the numbers come first.
   (Its flat grey fill is defined once, in the section-layering block
   at the bottom of this file â€” no second copy here to drift out of
   sync.) */
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
}
.trust-item {
  padding: 35px 18px 35px;
  text-align: center;
  border-left: 1px solid #e8efe8;
}
.trust-item:first-child { border-left: 0; }
/* one icon per metric, drawn in the same 24px line style used across the
   site; the disc fills with brand green on hover so the strip has some life */
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 13px;
  border-radius: 50%;
  /* background: var(--mint); */
  color: var(--teal);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.trust-item:hover .trust-icon {background: var(--teal);color: #fff;transform: translateY(-3px);}
.trust-icon svg {width: 50px;height: 50px;}
.trust-num {
  display: block;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--teal);
  line-height: 2.15;
  letter-spacing: -.01em;
}
.trust-label {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ---------- Application scenarios ---------- */
.app-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.app-card {
  position: relative; overflow: hidden; border-radius: 0;
  aspect-ratio: 4 / 5; background: #dfe7df;
}
.app-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.app-card:hover img { transform: scale(1.06); }
.app-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,20,16,.72) 0%, rgba(6,20,16,.12) 55%, rgba(6,20,16,0) 100%);
}
/* title + blurb live in one bottom-anchored block: the blurb unfolds on hover
   and simply pushes the title up, so the two never overlap */
.app-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 18px 18px 20px;
}
.app-card h3 {
  margin: 0; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .02em;
}
.app-card p {
  max-height: 0; opacity: 0; overflow: hidden; margin: 0;
  color: rgba(255,255,255,.86); font-size: 13.5px; line-height: 1.6;
  transition: max-height .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease, margin-top .45s ease;
}
.app-card:hover p { max-height: 140px; opacity: 1; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 600; color: var(--text);
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; width: 14px; height: 14px; position: relative;
}
.faq-item summary::after {
  background:
    linear-gradient(var(--teal), var(--teal)) center / 14px 2px no-repeat,
    linear-gradient(var(--teal), var(--teal)) center / 2px 14px no-repeat;
  transition: transform .3s ease;
}
.faq-item[open] summary { color: var(--teal); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--teal); }
.faq-answer {
  padding: 0 40px 22px 4px; font-size: 15px; color: var(--text-sub); line-height: 1.8;
}

/* ---------- CTA band above the footer ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--teal);
  color: #fff; text-align: center;
  padding: clamp(76px, 7.8vw, 112px) 24px clamp(80px, 8.2vw, 118px);
}
.cta-band-inner { position: relative; max-width: 820px; margin: 0 auto; }
.cta-band h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -.01em;
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 15.5px; color: rgba(255,255,255,.9); margin-bottom: 26px;
}
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-band .btn {
  min-width: 190px; text-align: center;
}
.cta-band .btn-white {
  background: #fff; color: var(--teal-dark); border: 1px solid #fff;
}
.cta-band .btn-white:hover { background: #f2f8f2; color: var(--teal-dark); }
.cta-band .btn-ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7);
}
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Floating contact rail (desktop) ---------- */
.contact-rail {
  display: none; position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 95; flex-direction: column;
}
.contact-rail a {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-bottom: 6px;
  background: var(--teal); color: #fff; text-decoration: none;
  border-radius: 5px 0 0 5px;
  /* square the left corners while the drawer is out so label and icon merge
     into one continuous block (rounded corners would notch the seam);
     on mouse-out the restore is delayed until the drawer has retracted */
  transition: background .25s ease, border-radius 0s .36s;
  /* the label is absolutely positioned, so a button never changes size and
     its neighbours can never move with it */
  position: relative; z-index: 1;
}
.contact-rail a svg { width: 22px; height: 22px; flex: 0 0 auto; }
/* Drawer behaviour: hovering an item physically WIDENS the label so it slides
   out from behind the icon (clip reveal, no fade), and it retracts on mouse-out.
   The label is absolutely positioned and only its own max-width is animated, so
   neighbours never move. Text is anchored to the right edge (next to the icon)
   and the growing left edge is what "pulls the drawer out". */
.contact-rail a .rail-text {
  position: absolute; right: 100%; top: 0; height: 50px;
  display: flex; align-items: center; justify-content: flex-end;
  box-sizing: border-box; overflow: hidden;
  padding: 0; max-width: 0; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  background: inherit; color: #fff;
  border-radius: 5px 0 0 5px;
  box-shadow: -8px 0 18px -12px rgba(20,45,38,.22);
  transition: max-width .34s cubic-bezier(.22,.61,.36,1),
              padding .34s cubic-bezier(.22,.61,.36,1);
}
.contact-rail a:hover,
.contact-rail a:focus-visible {
  z-index: 2; outline: none; border-radius: 0;
  transition: background .25s ease, border-radius 0s; /* square instantly on open */
}
.contact-rail a:hover .rail-text,
.contact-rail a:focus-visible .rail-text { max-width: 240px; padding: 0 18px; }
.contact-rail a.rail-wa { background: #25d366; }
.contact-rail a.rail-quote { background: var(--orange); }
.contact-rail a:hover { filter: brightness(1.06); }
@media (min-width: 993px) { .contact-rail { display: flex; } }

/* ---------- Sticky action bar (tablet & phone) ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(0,0,0,.07);
}
.mobile-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; height: 58px;
  font-size: 11.5px; font-weight: 600; color: var(--text-sub);
  text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
}
.mobile-bar a + a { border-left: 1px solid var(--border); }
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar a.mb-quote { background: var(--orange); color: #fff; }
.mobile-bar a.mb-wa { color: #1fae52; }
@media (max-width: 992px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 58px; }
}

/* ---------- GDPR cookie notice ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
  background: #fff; border-top: 3px solid var(--teal);
  box-shadow: 0 -6px 24px rgba(0,0,0,.13);
  padding: 16px 20px; display: flex; align-items: center;
  justify-content: center; gap: 18px; flex-wrap: wrap;
}
.cookie-bar p { flex: 1 1 420px; font-size: 13px; color: var(--text-sub); line-height: 1.65; }
.cookie-bar p a { color: var(--teal); text-decoration: underline; }
.cookie-bar .cookie-btn {
  flex: 0 0 auto; padding: 10px 26px; border: 0; border-radius: 3px;
  background: var(--teal); color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .25s;
}
.cookie-bar .cookie-btn:hover { background: var(--teal-dark); }
.cookie-bar[hidden] { display: none; }
@media (max-width: 992px) { .cookie-bar { bottom: 58px; } }

/* ---------- Related block tweaks ---------- */
.related-more { text-align: center; margin-top: 34px; }

/* ---------- Card polish: image zoom + lift ---------- */
.product-card a { display: block; overflow: hidden; }
.product-card img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.product-card a:hover img { transform: scale(1.055); }
.product-card a:hover h3 { color: var(--teal); }
.news-card .thumb { overflow: hidden; }
.news-card .thumb img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.news-card a:hover .thumb img { transform: scale(1.055); }
.news-card a:hover h3 { color: var(--teal); }
.news-item a img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.news-item:hover img { transform: scale(1.04); }
.cat-item .pic { overflow: hidden; }
.cat-item .pic img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.cat-item:hover .pic img { transform: scale(1.055); }

/* ---------- Certifications ----------
   Placeholder artwork in images/cert-*.svg â€” swap the files for real scans
   and nothing else has to change. Clicking a badge opens the lightbox. */
.cert-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cert-wall figure { margin: 0; text-align: center; cursor: zoom-in; }
.cert-wall .cert-img {
  background: #fffdf7; border: 1px solid var(--border); padding: 10px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.cert-wall img { display: block; width: 100%; height: auto; }
.cert-wall figure:hover .cert-img {
  transform: translateY(-6px); box-shadow: 0 14px 26px rgba(0,0,0,.10);
}
.cert-wall figcaption { margin-top: 12px; font-size: 13px; color: var(--text-sub); }

/* lightbox used by the certificate wall */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12,26,22,.72); padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(520px, 90vw); max-height: 84vh; background: #fff; padding: 8px; }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 22px;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #2b4a46;
  font-size: 22px; line-height: 1; cursor: pointer;
}

/* ---------- Testimonials ----------
   Sample testimonials â€” replace the names, companies and quotes with real,
   authorised customer feedback before the site goes live. */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  padding: 26px 24px 22px; display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,.09); }
.testi-stars { color: var(--orange); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testi-quote { font-size: 14.5px; line-height: 1.75; color: var(--text-sub); margin: 0 0 18px; }
.testi-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  background: var(--teal-light); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-org { font-size: 12.5px; color: var(--text-light); }

/* ---------- Catalogue download ---------- */
.catalog-band { background: var(--mint); }
.catalog-inner {
  display: flex; align-items: center; gap: 40px;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(58px, 5.8vw, 88px) 20px;
}
/* height:auto is required â€” the width/height attributes on the <img> would
   otherwise stretch the cover to its intrinsic height */
.catalog-cover { width: 186px; height: auto; flex: 0 0 auto; box-shadow: 0 16px 30px rgba(0,0,0,.18); }
.catalog-copy h2 { margin: 0 0 8px; font-size: 24px; color: #1f3b36; }
.catalog-copy p {
  margin: 0 0 18px; font-size: 14.5px; line-height: 1.7;
  color: #4a6b64; max-width: 640px;
}
.catalog-meta { margin-top: 12px; font-size: 12.5px; color: #5f7d76; }

/* ---------- Live chat ----------
   Self-contained so the site has a chat widget without a third-party account.
   To switch to Tawk.to later, delete this block's markup creation in main.js
   and paste their embed snippet at the end of <body> instead. */
.chat-bubble {
  position: fixed; left: 22px; bottom: 22px; z-index: 150;
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: var(--teal); color: #fff; cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  display: flex; align-items: center; justify-content: center;
}
.chat-bubble svg { width: 26px; height: 26px; }
.chat-bubble .chat-dot {
  position: absolute; top: 2px; right: 2px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--orange); border: 2px solid #fff;
}
.chat-panel {
  position: fixed; left: 22px; bottom: 92px; z-index: 151;
  width: 320px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0,0,0,.20); overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head {
  background: var(--teal); color: #fff; padding: 13px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-head b { font-size: 15px; font-weight: 600; }
.chat-head .chat-status { display: block; font-size: 11.5px; opacity: .88; }
.chat-close {
  background: transparent; border: 0; color: #fff;
  font-size: 21px; line-height: 1; cursor: pointer;
}
.chat-body { height: 236px; overflow-y: auto; padding: 14px 16px; background: #f7faf8; }
.chat-msg {
  font-size: 13.5px; line-height: 1.6; padding: 9px 12px;
  border-radius: 12px; margin-bottom: 8px; max-width: 86%;
}
.chat-msg.bot { background: #eef5ee; color: #2b4a46; border-bottom-left-radius: 3px; }
.chat-msg.me { background: var(--teal); color: #fff; margin-left: auto; border-bottom-right-radius: 3px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-form input {
  flex: 1 1 auto; height: 38px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 3px;
  font: inherit; font-size: 13.5px;
}
.chat-form button {
  flex: 0 0 auto; height: 38px; padding: 0 16px; border: 0; border-radius: 3px;
  background: var(--teal); color: #fff; font-size: 13.5px; cursor: pointer;
}
.chat-note { padding: 0 12px 12px; font-size: 11.5px; color: var(--text-light); }

/* ---------- Language switcher ----------
   HIDDEN since 2026-09-21 â€” the client wants the multilingual block parked
   until real translations arrive.
   It is switched off in js/main.js (LANG_SWITCH_ON = false), so the markup is
   never rendered at all. If you would rather only hide it visually, flip that
   flag back to true and uncomment the line below:
   .lang-switch { display: none; }   */
.lang-switch { position: relative; flex: 0 0 auto; margin-left: 2px; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  background: transparent; border: 1px solid var(--border); border-radius: 3px;
  color: var(--text-sub); font: inherit; font-size: 13.5px; cursor: pointer;
}
.lang-btn svg { width: 16px; height: 16px; }
.lang-list {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 130;
  min-width: 152px; margin: 6px 0 0; padding: 6px 0; list-style: none;
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  box-shadow: 0 12px 26px rgba(0,0,0,.13);
}
.lang-list[hidden] { display: none; }
.lang-list button {
  display: block; width: 100%; text-align: left; padding: 9px 16px;
  border: 0; background: transparent; font: inherit; font-size: 13.5px;
  color: var(--text); cursor: pointer;
}
.lang-list button:hover,
.lang-list button[aria-current="true"] { background: var(--teal-light); color: var(--teal-dark); }

/* ---------- Factory map ----------
   OpenStreetMap needs no API key. Update the bbox/marker to the exact plant
   coordinates when they are confirmed. */
.map-frame { position: relative; margin: 0; }
.map-frame img { display: block; width: 100%; height: 400px; object-fit: cover; }
.map-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: 13.5px; color: var(--teal-dark);
}
.map-link:hover { color: var(--teal); }

@media (max-width: 992px) {
  .cert-wall { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .catalog-inner { flex-direction: column; text-align: center; gap: 24px; }
  .catalog-copy p { max-width: none; }
  /* clear the fixed mobile action bar */
  .chat-bubble { bottom: 74px; left: 16px; }
  .chat-panel { bottom: 138px; left: 16px; }
}
@media (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .lang-btn { padding: 0 9px; font-size: 12.5px; }
  .map-frame img { height: 260px; }
}

/* ---------- Industries we serve ----------
   Answers "who buys this", while the Applications block above answers
   "where it is used". Photo-thumbnail cards, so the two never look alike. */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ind-card {
  padding: 0 0 26px; background: #f7faf7;
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease, background .35s ease;
}
.ind-card:hover {
  transform: translateY(-5px); background: #fff;
  box-shadow: 0 18px 36px rgba(18,45,32,.10);
}
/* a real landscape photo instead of a generic glyph â€” a wide 16:9 frame across
   the top of the card (square thumbs read as "app icon", landscape reads as
   "this is what we actually do") */
.ind-thumb {
  display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 24px;
  overflow: hidden; background: #e9f1e9;
}
.ind-thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.ind-card:hover .ind-thumb img { transform: scale(1.05); }
/* text sits in its own padded block so the photo can bleed to the card edge */
.ind-card-body { padding: 0 28px; }
.ind-card h3 {
  margin: 0 0 10px; font-size: 17px; font-weight: 600;
  color: var(--text); transition: color .25s;
}
.ind-card:hover h3 { color: var(--teal); }
.ind-copy { margin: 0 0 18px; font-size: 14.5px; line-height: 1.75; color: var(--text-sub); }
.ind-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0;
  padding-top: 15px; border-top: 1px solid var(--border);
}
.ind-links a {
  display: inline-block; padding: 5px 12px; font-size: 12.5px; line-height: 1.5;
  color: var(--teal); background: #fff; border: 1px solid #d9e8d9;
  transition: background .25s, color .25s, border-color .25s;
}
.ind-links a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
  /* tighten the bar so the five items still fit on a portrait tablet */
  .main-nav > ul { gap: 30px; }
  .main-nav a { font-size: 15px; letter-spacing: .6px; }
  .logo svg { height: 44px; }
  .logo-text { font-size: 26px; }
  .grid-4, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd) { border-left: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid #e8efe8; }
  .trust-item { padding: 24px 14px 26px; }
  .trust-icon { width: 40px; height: 40px; margin-bottom: 11px; }
  .trust-icon svg { width: 21px; height: 21px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cta-band { padding: 64px 20px 68px; }
  .faq-answer { padding-right: 10px; }
  .cat-strip { gap: 20px; }
  .about-flex, .service-flex, .contact-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .thumb-col { flex-direction: row; }
  .thumb-col img { height: 64px; }
  .hero-slides { height: 420px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 17px; margin-bottom: 16px; }
  .hero-text { font-size: 14px; line-height: 1.75; max-width: 460px; margin-bottom: 24px; }
  .hero-inner { padding: 0 30px; }
  .hero-arrow.prev { left: 18px; }
  .hero-arrow.next { right: 18px; }
  /* footer: same three blocks, just tighter so nothing wraps awkwardly */
  .footer-inner { gap: 20px; }
  .footer-nav ul { gap: 8px 22px; }
  .footer-contact { flex-basis: 340px; font-size: 13px; line-height: 26px; }
  .footer-contact span { font-size: 15px; }
  /* search field gives back some width before the trail starts to wrap */
  .site-search .search-input { width: 180px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 768px) {
  /* phones keep a slimmer bar; every offset above follows this variable */
  :root { --header-h: 76px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .main-nav.open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 8px 0; height: auto; }
  /* the desktop rule makes each <li> a flex row (to keep the arrow beside the
     label); on phones that would push the accordion panel sideways */
  .main-nav > ul > li { display: block; }
  /* the desktop rule is scoped to `> ul > li > a`, so the override has to
     carry the same weight to win here */
  .main-nav > ul > li > a { display: block; height: auto; padding: 13px 24px; border-bottom: 0; }
  .main-nav a { font-size: 15px; letter-spacing: .5px; }
  .main-nav a.active { background: var(--teal-light); }
  /* hover bridge is desktop-only (it would otherwise cover the next menu row) */
  .main-nav ul li.has-sub::after { display: none; }
  /* second level: accordion (real height is set inline by main.js) */
  /* padding stays 0 while collapsed â€” with 4px padding a 0-height panel
     would still paint an 8px green nub above the next menu row */
  .main-nav ul li.has-sub ul.sub-menu {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--teal);
    border-radius: 0;
    background: #f6f8f7;
    overflow: hidden;
    max-height: 0;
    transition: max-height .34s cubic-bezier(.4, 0, .2, 1);
  }
  /* A tap leaves :hover / :focus-within on the parent link; the desktop rule
     carries the higher specificity (0,4,1) against the base rule above
     (0,3,3), so the -50% pull-back has to be cancelled here as well â€”
     otherwise the panel slides half its width to the left and gets clipped. */
  .main-nav ul li.has-sub:hover > ul.sub-menu,
  .main-nav ul li.has-sub:focus-within > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 100%;
  }
  .main-nav ul li.has-sub.open > ul.sub-menu {max-height: 640px;min-width: 100%;}
  .main-nav ul li.has-sub.open > a { color: var(--teal); }
  .main-nav ul li.has-sub.open > .nav-arrow { transform: rotate(180deg); border-top-color: var(--teal); }
  /* arrow goes to the right edge of the row, with a 48px touch target
     (its own box is only 8x7, far too small to tap) */
  /* top is a fixed offset, NOT 50%: the li also holds the expanded panel,
     so a percentage would slide the arrow downwards as it opens.
     24px = centre of the 52px menu row minus half the triangle. */
  .main-nav ul li.has-sub > .nav-arrow {
    position: absolute; top: 24px; right: 20px; margin: 0;
  }
  .main-nav ul li.has-sub > .nav-arrow::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 48px; height: 48px; transform: translate(-50%, -50%);
  }
  /* item text is scoped tightly so no other rule can blank it out */
  .main-nav ul li.has-sub ul.sub-menu a {
    position: relative; display: block;
    padding: 15px 24px 15px 42px;
    font-size: 15px; line-height: 1.45; letter-spacing: .2px;
    text-transform: none; text-align: left; white-space: normal;
    color: #4a4a4a; background: transparent; border-bottom: 0;
  }
  /* short dash marker in place of the desktop hover rail */
  .main-nav ul li.has-sub ul.sub-menu a::before {
    content: ""; position: absolute; left: 24px; top: 50%;
    width: 8px; height: 2px; border-radius: 2px;
    transform: translateY(-50%);
    background: #bcd2cd;
    transition: width .2s ease, background .2s ease;
  }
  .main-nav ul li.has-sub ul.sub-menu a:hover,
  .main-nav ul li.has-sub ul.sub-menu a:active { color: var(--teal); background: #fff; }
  .main-nav ul li.has-sub ul.sub-menu a:hover::before,
  .main-nav ul li.has-sub ul.sub-menu a:active::before { width: 14px; background: var(--teal); }
  .main-nav ul li.has-sub ul.sub-menu > li + li { border-top: 1px solid #e8eeec; }
  .main-nav ul li.has-sub ul.sub-menu > li:last-child { border-bottom: 1px solid #e8eeec; }
  /* clean tap feedback on touch devices */
  .main-nav a { -webkit-tap-highlight-color: transparent; }
  .nav-toggle { display: block; }
  .grid-4, .grid-3, .product-grid { grid-template-columns: repeat(2, 1fr); }
  /* the four headline categories stay in a 2x2 block on phones */
  .cat-strip { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cat-item h3 { font-size: 13px; margin-top: 12px; }
  .product-card img { height: 190px; }
  .product-grid { gap: 32px 20px; }
  .news-card h3 { font-size: 16px; }
  .video-play span { width: 56px; height: 56px; font-size: 18px; }
  .news-item { grid-template-columns: 1fr; }
  .sec-title { font-size: 24px; }
  .sec-title .leaf { width: 42px; }
  /* a little airier than before: the new layer system relies on whitespace */
  .section { padding: 64px 0; }
  .section.roomy,
  .section.deep { padding: 76px 0; }
  .cta-band { padding: 56px 20px 60px; }
  .hero-slides { height: 320px; }
  .hero-slide::after {
    background:
      linear-gradient(90deg,
        rgba(8,22,18,.62) 0%, rgba(8,22,18,.38) 55%, rgba(8,22,18,.10) 100%),
      linear-gradient(rgba(8,22,18,.14), rgba(8,22,18,.14));
  }
  .hero-inner { padding: 0 22px; }
  .hero-title { font-size: 24px; margin-bottom: 6px; }
  .hero-sub { font-size: 14px; letter-spacing: .8px; margin-bottom: 14px; }
  .hero-text { font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
  .hero-btn { padding: 11px 26px; font-size: 12px; }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .hero-dots { bottom: 16px; }
  .hero-dots button.active { width: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .page-banner { height: 240px; }
  .detail-info h1 { font-size: 20px; }
  /* footer drops the three-column row and stacks, centred, on phones */
  .footer-inner { flex-direction: column; align-items: center; gap: 22px; text-align: center; }
  .footer-nav ul { justify-content: center; gap: 8px 20px; }
  .footer-contact { flex: none; width: 100%; max-width: 360px; text-align: left; }
  /* the trail and the field have no room side by side on a phone: stack them,
     and let the field take the full width */
  .crumb-bar-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .site-search { width: 100%; }
  .site-search .search-input { flex: 1 1 auto; width: auto; }
  .site-search .search-results { left: 0; right: 0; width: auto; max-width: none; }
}
@media (max-width: 480px) {
  /* only the news column goes single-file on phones â€” a product grid stays
     2-up, otherwise the catalogue becomes one endless column */
  .grid-3 { grid-template-columns: 1fr; }  .app-grid { gap: 12px; }
  .cta-actions { flex-direction: column; }
  .cta-band .btn { width: 100%; }
  .trust-num { font-size: 22px; }
  .trust-icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .trust-icon svg { width: 19px; height: 19px; }
  .cookie-bar { padding: 12px 16px; gap: 10px; }
  .cookie-bar .cookie-btn { width: 100%; }
  .grid-4, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card img { height: 150px; }
  /* three thumbnails in a row get too small to read on a phone */
  .cert-grid { grid-template-columns: 1fr; gap: 26px; max-width: 380px; }
  .sec-title .leaf { width: 32px; }
  .hero-slides { height: 260px; }
  .hero-title { font-size: 20px; }
  .hero-sub { font-size: 12.5px; }
  .hero-text { display: none; }
  .detail-actions { flex-direction: column; }
  .crumb-bar-inner { gap: 10px; }
  /* industry cards carry a sentence each, so they go full width on phones */
  .ind-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Section layering system  (added 2026-09-21) â€” FLAT COLOURS, NO GRADIENTS
   ------------------------------------------------------------
   Three flat layers carry the rhythm instead of fading bands:

     .section          white          â€” the default
     .section.alt      #e9f3e9        â€” brand green tint
     .section.wash     #f6f7f7        â€” light neutral grey (informational)
     .section.deep     #2c762e        â€” deep green, one per page, contrast
     .section.roomy    (no colour)    â€” extra vertical air for statement blocks
     .catalog-band     --mint #e3f0e3 â€” promo shelf
     .cta-band         --teal         â€” flat brand green
     .trust-bar        #f6f7f7

     NOTE: headings sit straight on the deep green, body copy stays on
     white cards, so every line keeps its contrast (checked â‰¥ 4.5:1).

   HOME PAGE ORDER (index.html): white / grey / green / white / mint /
   white / grey / white / green / deep / white / grey / CTA.
   The client rejected gradient washes here ("æ¸å˜å¥½ä¸‘", 2026-09-21) and
   asked for white + grey + green to be spread across the blocks, so
   bands are flat fills with crisp edges.

   Gradients are still allowed where they are functional: the dark
   scrims over hero photos and image cards keep text legible.

   SPACING: .section pads clamp(72,7.5vw,124); statement blocks
   (.roomy / .deep) get extra air at clamp(84,8.6vw,142).
   RULE: never place two tinted bands of the SAME colour next to each
   other â€” a tint only reads as a layer when a different block
   separates it from the next one.
   ============================================================ */
/* the "statement" bands carry the page rhythm, so they get extra air */
.section.roomy,
.section.deep { padding-block: clamp(84px, 8.6vw, 142px); }

.section.wash {background: #e3f0e3;}
.section.wash2 {background: #ffffff;}
.section.deep {
  position: relative; overflow: hidden; color: #fff;
  background: #2c762e;
}
.section.deep .sec-title { color: #fff; }
/* the leaf ornaments swap to white inside a dark band */
.section.deep .sec-title .leaf { filter: brightness(0) invert(1); opacity: .85; }
.section.deep .sec-sub { color: rgba(255,255,255,.88); }
.section.deep .sec-sub::before { background: #fff; opacity: .45; }
/* cards stay solid white â€” white body copy on translucent glass would drop
   below 4.5:1, and white-on-green stacking reads more expensive anyway */
.section.deep .testi-card { border-color: transparent; box-shadow: 0 16px 34px rgba(10,34,22,.22); }
.section.deep .testi-card:hover { box-shadow: 0 22px 44px rgba(10,34,22,.30); }

/* heading sizes breathe with the viewport instead of jumping at breakpoints */
.sec-title { font-size: clamp(24px, 2.6vw, 34px); }

/* ---------- trust strip: flat grey under the hero ---------- */
.trust-bar {background: #f9f9f9;border-bottom: 0;}
.trust-item {border-left-color: #ebebeb;}

/* ---------- catalogue band: a flat mint shelf between two white blocks ---------- */
.catalog-band { background: var(--mint); }

/* ---------- industry cards: a thin brand bar draws in on hover ---------- */
.ind-card { position: relative; overflow: hidden; }
.ind-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--teal); transition: width .4s cubic-bezier(.22,.61,.36,1);
}
.ind-card:hover::before { width: 100%; }

/* ---------- buttons ---------- */
.btn-green  { background: var(--teal); color: #fff; }
.btn-green:hover { background: var(--teal-dark); color: #fff; }
.btn-outline {
  background: #fff; border: 1px solid rgba(62,158,62,.55); color: var(--teal-dark);
}
.btn-outline:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- Home "About BTO" block ---------- */
.home-about {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 4vw, 62px);
  align-items: center;
}
.home-about-pics { position: relative; padding-bottom: 52px; }
.home-about-pics figure { margin: 0; overflow: hidden; }
.pic-lg { border-radius: 4px; box-shadow: 0 18px 44px rgba(18,45,32,.10); }
.pic-lg img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pic-sm {
  position: absolute; right: -16px; bottom: 0; width: 45%;
  border: 7px solid #fff; border-radius: 3px;
  box-shadow: 0 18px 38px rgba(18,45,32,.18);
}
.pic-sm img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-about-badge {
  position: absolute; left: -12px; top: 20px; z-index: 3;
  width: 98px; height: 98px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--teal); color: #fff;
  box-shadow: 0 16px 34px rgba(47,125,47,.30);
}
.home-about-badge b { font-size: 25px; line-height: 1.05; letter-spacing: .01em; }
.home-about-badge i {
  font-style: normal; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; opacity: .85; margin-top: 2px;
}
.home-about-list { display: grid; gap: 18px; margin: 0 0 30px; }
.home-about-list li {
  display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: start;
}
.ha-num {
  font-size: 15px; font-weight: 700; color: var(--teal);
  letter-spacing: .04em; padding-top: 1px;
}
.home-about-list li > span:not(.ha-num) {
  font-size: 14.5px; line-height: 1.75; color: var(--text-sub);
}
.home-about-list b {
  display: block; font-size: 15.5px; font-weight: 600;
  color: #1f3b36; margin-bottom: 3px;
}
.home-about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 992px) {
  .home-about { grid-template-columns: 1fr; gap: 46px; }
  .home-about-pics { max-width: 620px; margin: 0 auto; padding-bottom: 44px; }
}
@media (max-width: 768px) {
  .home-about-list { gap: 14px; }
  .home-about-list li { grid-template-columns: 42px 1fr; }
  .home-about-actions { justify-content: center; }
  .home-about-actions .btn { flex: 1 1 200px; }
}
@media (max-width: 480px) {
  .home-about-badge { width: 78px; height: 78px; left: -6px; top: 12px; }
  .home-about-badge b { font-size: 20px; }
  .pic-sm { width: 52%; right: -8px; }
}
