/* ===================================================================
   Wonclean Systems — global stylesheet
   Inspired by the layout language of prefabricated-cleanroom sites
   =================================================================== */

:root {
  --navy: #013a25;
  --navy-2: #024f31;
  --blue: #008445;
  --blue-bright: #00a85a;
  --accent: #4fd08a;
  --ink: #16202e;
  --muted: #5b6b7d;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 18px 40px rgba(1, 58, 37, 0.14);
  --shadow-sm: 0 6px 18px rgba(1, 58, 37, 0.09);
  --maxw: 1200px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: .8rem;
}

.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 40px;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .22s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #04352d; }
.btn-accent:hover { background: #17a58c; transform: translateY(-2px); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: var(--accent); color: #013a25; border-color: var(--accent); }
.btn-ghost { border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.topbar {
  background: var(--navy);
  color: #cfe0f2;
  font-size: .82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a { color: #cfe0f2; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 18px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-current {
  background: rgba(255,255,255,.08); color: #eaf2fb; border: 1px solid rgba(255,255,255,.18);
  padding: 5px 12px; border-radius: 20px; font: inherit; font-size: .8rem; cursor: pointer;
}
.lang-current:hover { background: rgba(255,255,255,.16); }
.lang-menu {
  position: absolute; right: 0; top: 130%; min-width: 160px; z-index: 200;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.lang-switch:hover .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); font-size: .88rem; }
.lang-menu li a:hover { background: var(--bg-soft); color: var(--blue); }
.lang-menu li a.active { color: var(--blue); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--navy); letter-spacing: -.02em; }
.logo-img {
  height: 44px; width: auto;
}
.logo small { display: block; font-size: .62rem; letter-spacing: .18em; color: var(--muted); font-weight: 600; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 12px 15px; color: var(--navy);
  font-weight: 600; font-size: .93rem;
}
.menu > li > a:hover { color: var(--blue); }
.menu .has-drop > a::after { content: '▾'; font-size: .7rem; margin-left: 5px; color: var(--muted); }

.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 300px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease; list-style: none; margin: 0;
}
.menu > li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 7px; color: var(--ink); font-size: .9rem; font-weight: 500; }
.dropdown li a:hover { background: var(--bg-soft); color: var(--blue); }

/* Nested (3-level) flyout dropdowns */
.dropdown li { position: relative; }
.dropdown li.has-sub > a::after { content: '▸'; font-size: .7rem; margin-left: 5px; color: var(--muted); float: right; }
.dropdown .dropdown {
  top: 0; left: 100%;
  opacity: 0; visibility: hidden; transform: translateX(8px);
}
.dropdown li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateX(0); }
/* invisible bridge so hover isn't lost crossing the parent padding gap */
.dropdown li.has-sub::after {
  content: ''; position: absolute; top: 0; left: 100%; width: 12px; height: 100%;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 20px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: var(--navy); transition: .2s; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy);
  padding: 120px 0 130px;
}
.hero-video {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background: linear-gradient(120deg, rgb(1 45 28 / 68%) 0%, rgb(0 132 69 / 76%) 100%);
}
.hero .container { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.2rem; color: #dce8f5; max-width: 680px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-strip {
  background: var(--navy-2); color: #cfe0f2;
}
.hero-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 24px; text-align: center; }
.hero-strip .stat strong { display: block; font-size: 2rem; color: #fff; font-weight: 800; }
.hero-strip .stat span { font-size: .82rem; letter-spacing: .05em; }

/* Sub page hero */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; padding: 84px 0 70px; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: #c6d6e8; max-width: 640px; margin: 0 auto; }
.crumbs { font-size: .82rem; color: #9fb6ce; margin-bottom: 1rem; letter-spacing: .04em; }
.crumbs a { color: #9fb6ce; }
.crumbs a:hover { color: #fff; }

/* ===================================================================
   SECTIONS
   =================================================================== */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-body .eyebrow { margin-bottom: .5rem; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .ico {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 1.4rem; font-weight: 700;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Application / industry cards with image */
.app-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end; color: #fff;
  box-shadow: var(--shadow-sm);
}
.app-card img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .5s ease; }
.app-card::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(1,45,28,0) 30%, rgba(1,45,28,.92)); z-index: 1; }
.app-card:hover img { transform: scale(1.06); }
.app-card .app-body { position: relative; z-index: 2; padding: 26px; }
.app-card .num { font-size: .8rem; letter-spacing: .2em; opacity: .8; }
.app-card h3 { color: #fff; margin: 6px 0 8px; }
.app-card p { color: #d4e2f0; font-size: .9rem; margin: 0 0 10px; }
.app-card a { color: var(--accent); font-weight: 600; font-size: .88rem; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 16px;
}
.step h4 { margin-bottom: .4rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: #fff; text-align: center; padding: 72px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e6f5; max-width: 560px; margin: 0 auto 1.8rem; }

/* News cards */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease; }
.news-card:hover { transform: translateY(-5px); }
.news-card img { height: 190px; width: 100%; object-fit: cover; }
.news-card .body { padding: 22px 24px 26px; }
.news-card .meta { font-size: .74rem; letter-spacing: .12em; color: var(--blue-bright); font-weight: 700; text-transform: uppercase; }
.news-card h3 { font-size: 1.15rem; margin: .5rem 0 .3rem; }
.news-card h3 a { color: var(--navy); }
.news-card h3 a:hover { color: var(--blue); }

/* Logos / trust row */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 46px; align-items: center; opacity: .75; }
.logo-row span { font-weight: 800; font-size: 1.2rem; color: var(--muted); letter-spacing: .02em; }

/* Client logo wall */
.logo-wall-section { background: #f7faf8; }
.logo-wall {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
  margin-top: 36px;
}
.logo-tile {
  aspect-ratio: 120 / 65;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.logo-tile span {
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  color: #8899a6; text-align: center; line-height: 1.2;
  text-transform: uppercase; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

/* Certifications grid */
.cert-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
  margin-top: 36px;
}
.cert-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 24px 14px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cert-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.cert-badge { color: var(--blue); margin-bottom: 4px; }
.cert-tile strong { font-size: .85rem; color: var(--navy); letter-spacing: .02em; }
.cert-tile span { font-size: .72rem; color: var(--muted); line-height: 1.3; }

/* Lists with checks */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 8px 0 8px 34px; color: var(--ink); }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #04352d;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* ===================================================================
   FORMS
   =================================================================== */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: .95rem; background: var(--bg-soft); transition: border .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.alert-success {
  background: #e7f8f2; border: 1px solid var(--accent); color: #0a5a49;
  padding: 16px 20px; border-radius: 8px; margin-bottom: 24px; font-weight: 500;
}

/* Contact info blocks */
.info-block { margin-bottom: 26px; }
.info-block h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info-block p { margin: 0; font-size: 1.05rem; color: var(--navy); font-weight: 600; }

/* Legal / privacy document */
.legal-doc { max-width: 820px; margin: 0 auto; }
.legal-doc .legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal-doc h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.legal-doc p { color: var(--ink); }

/* Article body */
.article { max-width: 1200px; margin: 0 auto; }
.article img { border-radius: var(--radius); margin: 24px 0; }
.article h2 { margin-top: 2rem; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--navy); color: #b6c7db; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 46px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #b6c7db; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; font-size: .93rem; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-img { height: 40px; border-radius: 6px; }
.footer-brand .logo small { color: #7d94ad; }
/* Footer download button: on-theme mint green with dark-green text */
.footer-brand .btn-accent { background: var(--accent); color: #013a25; }
.footer-brand .btn-accent:hover { background: #6fdda3; color: #013a25; }
.footer-brand p { color: #92a8c0; font-size: .92rem; max-width: 320px; }
.footer-contact p { color: #d4e2f0; font-size: .95rem; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .84rem; color: #7d94ad; flex-wrap: wrap; gap: 10px;
}
.footer-social a { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; margin-left: 8px; color: #b6c7db; }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ===================================================================
   FLOATING ACTION BUTTONS
   =================================================================== */
.fab-stack {
  position: fixed; right: 22px; bottom: 24px; z-index: 300;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.fab {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer;
  color: #fff; box-shadow: 0 8px 22px rgba(1,58,37,.28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fab:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(1,58,37,.36); }
.fab-wa { background: #25d366; }
.fab-wa:hover { background: #1ebe5b; }
.fab-quote { background: var(--blue); position: relative; }
.fab-quote:hover { background: var(--navy); }
/* Inquiry label pill that expands on hover (desktop) */
.fab-quote .fab-label {
  position: absolute; right: 64px; white-space: nowrap;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 20px;
  font-size: .85rem; font-weight: 600; box-shadow: 0 6px 16px rgba(1,58,37,.25);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: all .2s ease;
}
.fab-quote:hover .fab-label { opacity: 1; transform: translateX(0); }
.fab-top {
  background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.22);
  width: 48px; height: 48px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
}
.fab-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.fab-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 640px) {
  .fab-stack { right: 16px; bottom: 16px; gap: 12px; }
  .fab { width: 50px; height: 50px; }
  .fab-quote .fab-label { display: none; }
}

/* ===================================================================
   FAQ ACCORDION + SITEMAP
   =================================================================== */
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; background: #fff; box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 600; color: var(--navy); font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--blue);
  transition: transform .2s ease; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { margin: 0; color: var(--muted); }

.sitemap-grid h4 {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-bright); margin-bottom: 16px;
}
.sitemap-grid .footer-links li { margin-bottom: 12px; }
.sitemap-grid .footer-links a { color: var(--ink); }
.sitemap-grid .footer-links a:hover { color: var(--blue); }

/* ===================================================================
   MODAL (inquiry / download popup)
   =================================================================== */
.modal-overlay {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 400;
  background: rgba(1, 26, 16, .62); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 460px;
  background: #fff; border-radius: 14px; padding: 34px 32px 32px;
  box-shadow: 0 30px 70px rgba(1, 45, 28, .4);
  transform: translateY(14px) scale(.98); transition: transform .22s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.modal-close:hover { color: var(--navy); }
.modal-title { margin: 0 0 18px; font-size: 1.4rem; }
.modal-title::after { content: ''; display: block; width: 46px; height: 3px; background: var(--blue); border-radius: 2px; margin-top: 10px; }
.modal-form .field { margin-bottom: 16px; }
.modal-success { text-align: center; padding: 20px 0 6px; }
.modal-success-icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--accent); color: #013a25; font-size: 1.8rem; font-weight: 700;
  display: grid; place-items: center;
}
.modal-success p { color: var(--navy); font-weight: 600; font-size: 1.05rem; }

/* ===================================================================
   COOKIE CONSENT BANNER (GDPR)
   =================================================================== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 350;
  background: var(--navy); color: #dce8f5;
  box-shadow: 0 -10px 30px rgba(1, 45, 28, .3);
  animation: cookieUp .35s ease;
}
@keyframes cookieUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; padding: 18px 24px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong { color: #fff; display: block; margin-bottom: 3px; font-size: .98rem; }
.cookie-text p { margin: 0; font-size: .88rem; color: #b6c7db; }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 11px 26px; }
.cookie-actions .btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.cookie-actions .btn-ghost:hover { background: var(--accent); color: #013a25; border-color: var(--accent); }
/* Accept All: bright mint so it stands out on the dark-green banner */
.cookie-actions .btn-primary { background: var(--accent); color: #013a25; }
.cookie-actions .btn-primary:hover { background: #6fdda3; color: #013a25; }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; text-align: left; }
  .cookie-actions { justify-content: flex-end; flex-wrap: wrap; }
}
.footer-bottom-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--accent); }
.footer-bottom-links a:hover { color: #fff; }

/* Cookie preference categories + toggle switches */
.cookie-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.cookie-cat:last-of-type { border-bottom: none; }
.cookie-cat-info strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 3px; }
.cookie-cat-info p { margin: 0; font-size: .86rem; color: var(--muted); }
.cookie-always { flex-shrink: 0; font-size: .78rem; font-weight: 700; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }
/* Toggle switch — theme green when on, soft green-tint track when off (no gray) */
.switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; display: inline-block; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .slider {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 26px;
  background: #cfe6da; transition: background .2s ease;
}
.switch .slider::before {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--navy); transition: transform .2s ease;
}
.switch input:checked + .slider { background: var(--blue); }
.switch input:checked + .slider::before { transform: translateX(20px); background: #fff; }
.switch input:focus-visible + .slider { box-shadow: 0 0 0 3px rgba(0,132,69,.3); }

/* ===================================================================
   KNOWLEDGE — Resource / Download Cards
   =================================================================== */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.dl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dl-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dl-icon { flex-shrink: 0;width: 50px; }
.dl-icon-pdf { color: #d93025; }
.dl-icon-docx { color: #185abc; }
.dl-icon-xlsx { color: #0d652d; }
.dl-icon-pptx { color: #c43e00; }
.dl-meta { display: flex; flex-direction: column; gap: 2px; }
.dl-format { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.dl-size { font-size: .82rem; color: var(--muted); }
.dl-card h3 {
  font-size: 1.02rem; line-height: 1.45; margin: 0 0 10px; color: var(--navy);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}
.dl-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0 0 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}
.dl-btn { width: 100%; margin-top: auto; font-size: .9rem; }

/* ===================================================================
   PRODUCTS PAGE
   =================================================================== */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.products-sidebar { position: sticky; top: 100px; }
.sidebar-inner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sidebar-title { font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { margin-bottom: 2px; }
.cat-link { display: block; padding: 9px 12px; border-radius: 7px; font-size: .9rem; font-weight: 500; color: var(--ink); transition: all .15s; }
.cat-link:hover { background: var(--bg-soft); color: var(--blue); }
.cat-active { background: var(--blue); color: #fff !important; }
.cat-active:hover { background: var(--blue); }
.cat-sub { list-style: none; padding: 0 0 0 14px; margin: 2px 0; }
.cat-link-sub { font-size: .84rem; padding: 7px 12px; }
.products-count { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue); }
.product-card-img { flex-shrink: 0; width: 120px; height: 120px; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { flex: 1; min-width: 0; }
.product-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.product-card-desc {
  font-size: .88rem; color: var(--muted); line-height: 1.5; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.product-tags em { font-style: normal; background: var(--bg-soft); padding: 2px 8px; border-radius: 4px; margin-right: 4px; font-size: .75rem; }
.product-card-arrow { flex-shrink: 0; font-size: 1.2rem; color: var(--muted); transition: transform .2s, color .2s; margin-top: 4px; }
.product-card:hover .product-card-arrow { transform: translateX(4px); color: var(--blue); }

/* Product detail */
.pd-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; margin-bottom: 56px; }
.pd-gallery { position: sticky; top: 100px; }
.pd-main-img { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.pd-main-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb {
  flex: 1; border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  padding: 0; cursor: pointer; background: var(--bg-soft); transition: border-color .15s, opacity .15s;
  opacity: .7;
}
.pd-thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb-active { border-color: var(--blue); opacity: 1; }
.pd-info { padding-top: 4px; }
.pd-title { font-size: 1.7rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.pd-meta { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; font-size: .88rem; color: var(--muted); }
.pd-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pd-tag { background: var(--bg-soft); color: var(--blue); font-size: .8rem; font-weight: 600; padding: 5px 14px; border-radius: 20px; }
.pd-desc { background: var(--bg-soft); border-left: 4px solid var(--blue); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 28px; font-size: .95rem; line-height: 1.7; color: var(--ink); }
.pd-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-content { max-width: 1200px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px; }
.pd-content-title { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--bg-soft); }
.pd-body { font-size: .95rem; line-height: 1.8; color: var(--ink); }
.pd-body p { margin-bottom: 18px; }
.pd-keywords { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); line-height: 1.6; }
.pd-keywords strong { color: var(--ink); }

/* ===================================================================
   PAGINATION
   =================================================================== */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 48px; flex-wrap: wrap;
}
.pg-numbers { display: flex; gap: 6px; }
.pg-num, .pg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: .88rem; font-weight: 600; color: var(--navy);
  text-decoration: none; background: #fff; transition: all .2s ease;
}
.pg-num:hover, .pg-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.pg-active { background: var(--blue); color: #fff; border-color: var(--blue); pointer-events: none; }
.pg-disabled { opacity: .4; pointer-events: none; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .split, .grid-3, .grid-4, .steps, .footer-grid, .resource-grid { grid-template-columns: 1fr 1fr; }
  .hero-strip .container { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(5, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .products-layout { grid-template-columns: 1fr; }
  .products-sidebar { position: static; }
  .sidebar-inner { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
  .sidebar-title { width: 100%; margin-bottom: 6px; }
  .cat-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .cat-sub { display: none; }
  .cat-link { padding: 7px 12px; }
  .pd-top { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery { position: static; }
  .pd-content { padding: 28px 22px; }
  .split.reverse .split-media { order: 0; }
}
@media (max-width: 820px) {
  .topbar { display: none; }
  .burger { display: flex; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px; gap: 0; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding-top: 0; padding-bottom: 0;
  }
  .menu.open { max-height: 1400px; padding-top: 12px; padding-bottom: 12px; }
  .menu > li > a { padding: 12px 8px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .nav-cta .btn.hide-sm { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2, .steps, .footer-grid, .form-row, .resource-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 90px 0 100px; }
}
