@charset "UTF-8";
/* ==========================================================================
   Techoel™ static site · new CSS (hand-written, not a copy of the original site CSS)
   --------------------------------------------------------------------------
   Sources of every value (read-only measurements, matched item by item, no rewrites, no "close enough"):
     · design-spec.md           §1 font table / §2 color table / §3 size table
     · design-spec-page-level.md  font-family frequency / font-size frequency / font-weight frequency / line-height frequency /
                            color frequency / radius frequency / container-width frequency / padding frequency
     · original site spcookieconsent style.css (cookie bar: 16px/500, padding 20px,
       button 7px 15px / 90% / bold / .25rem / .15s)
     · original site Font Awesome 6 CSS (code points read-only, see the icon table at the end of this file)
   No framework; no external domain; fonts are loaded only from assets/fonts/.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Self-hosted Font Awesome 6 (same-name woff2 as the original site templates/flex/fonts)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url(fonts/fa/fa-solid-900-6.woff2) format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(fonts/fa/fa-regular-400-6.woff2) format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(fonts/fa/fa-brands-400-6.woff2) format('woff2');
}

/* --------------------------------------------------------------------------
   1. Tokens (colors / fonts / sizes)
   -------------------------------------------------------------------------- */
:root {
  /* -- Primary color (preset5, most frequent color in the whole site CSS: 146 times) -- */
  --brand: #16b99a;
  --brand-dark: #009d6f;      /* form submit button background */
  --brand-light: #1ee4be;     /* hover / highlight variant */

  /* -- Text -- */
  --text: #212529;            /* original site measurement (browser computed value: the template bootstrap body color)
                                 Cross-check: body/paragraph color on the original site techoel-5220 page = rgb(33,37,41) */
  --text-soft: #757575;
  --text-mute: #8f8f8f;
  --placeholder: #999999;
  --navy: #0f3259;
  --danger: #ff0000;

  /* -- Background / lines -- */
  --white: #ffffff;
  --gray-1: #f5f5f5;
  --gray-2: #f0f0f0;
  --gray-3: #ededed;
  --gray-4: #e5e5e5;
  --line: #cccccc;
  --line-2: #d4d4d4;
  --line-3: #d1d1d1;
  --line-4: #dddddd;
  --line-5: #eeeeee;
  --focus: #66afe9;

  /* -- Fixed colors of the shared components (copied verbatim) -- */
  --header-bg: #303030;
  --header-text: #f0f0f0;
  --header-link: #ededed;
  --header-link-hover: #ffffff;
  --footer-bg: #363839;
  --footer-text: #b0b0b0;
  --footer-link: #d6d6d6;
  --footer-link-hover: #f0f0f0;
  --mega-bg: rgba(40, 40, 40, 0.8);
  --mega-text: #f7f7f7;

  /* -- Container width / grid -- */
  --container: 1140px;        /* Helix .container */
  --container-wide: 1320px;   /* SP Page Builder .sppb-row-container */
  --gutter: 30px;             /* 12-column grid gutter (15px on each side) */

  /* -- Header height -- */
  --header-h: 90px;
  --header-h-sticky: 70px;

  /* -- Border radius -- */
  --radius: 4px;              /* .btn */
  --radius-input: 3px;
  --radius-sm: 2px;
  --radius-panel: 5px;

  /* -- Shadow / transition -- */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.35);
  --t-btn: color 400ms, background-color 400ms, border-color 400ms;
  --t-input: all .3s ease-in-out;
  --t-offcanvas: 300ms;

  /* -- Fonts -- */
  --font-body: 'Open Sans', sans-serif;
  --font-hero: 'Roboto', 'Open Sans', sans-serif;
  --font-fa: 'Font Awesome 6 Free';
  --font-fa-brands: 'Font Awesome 6 Brands';
}

/* --------------------------------------------------------------------------
   2. Base / typography (font size, weight and line height follow the measured frequencies)
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;            /* measured: body text 16px (84 times) */
  font-weight: 300;           /* measured: body 300 (127 times) */
  line-height: 25px;          /* original site measurement: body line height 25px (1.5625, not 1.5 -> 24px) */
  color: var(--text);         /* original site measurement: #212529 (browser computed value) */
  background-color: var(--white);
  /* original site measurement body{overflow-x:hidden}: some sections use negative margins (e.g. -20px on the home .hm-row)
     that are 5px wider than the container padding; without clipping, the whole page can shift 5px sideways on mobile
     (the original site clips it the same way) */
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.1; }
h1 { font-weight: 800; font-size: 40px; }   /* measured: h1 800; large heading 40px (8 times) */
h2 { font-weight: 600; font-size: 30px; }   /* measured: h2 600; section heading 30px (30 times) */
h3 { font-weight: 400; font-size: 20px; }   /* measured: h3 normal; addon heading ~20px */
h4 { font-weight: 400; font-size: 18px; }   /* measured: h4 normal; card sub-heading 18px (34 times) */
h5 { font-weight: 600; font-size: 16px; }   /* measured: h5 600 */
h6 { font-weight: 600; font-size: 14px; }   /* measured: h6 600; secondary small text 14px */

p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; transition: var(--t-btn); }
a:hover { color: var(--brand-light); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin-top: 0; }
hr { border: 0; border-top: 1px solid var(--line-4); margin: 20px 0; }

.text-13 { font-size: 13px; }   /* helper text 13px (18 times) */
.text-15 { font-size: 15px; }   /* secondary body text 15px (45 times) */
.text-18 { font-size: 18px; }   /* card sub-heading 18px (34 times) */
.text-30 { font-size: 30px; }
.text-32 { font-size: 32px; }   /* page title 32px (8 times) */
.text-40 { font-size: 40px; }
.text-muted { color: var(--text-soft); }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   3. Container width / 12-column grid (gutter 30px: 15px on each side)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}
.container-wide { max-width: var(--container-wide); }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
[class*="col-"] { padding: 0 15px; min-width: 0; }
.col { flex: 1 0 0; }
.col-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
.col-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3  { flex: 0 0 25%;        max-width: 25%; }
.col-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6  { flex: 0 0 50%;        max-width: 50%; }
.col-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9  { flex: 0 0 75%;        max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-12 { flex: 0 0 100%;       max-width: 100%; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* breakpoints as measured: 576 / 768 / 992 / 1200 / 1400 */
@media (max-width: 991.98px) {
  .col-md-4, .col-md-6, .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
  .col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-md-12 { flex: 0 0 100%;       max-width: 100%; }
}
@media (min-width: 1200px) {
  .col-lg-3  { flex: 0 0 25%;        max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-9  { flex: 0 0 75%;        max-width: 75%; }
  .col-lg-12 { flex: 0 0 100%;       max-width: 100%; }
}

/* --------------------------------------------------------------------------
   4. Generic sections / headings
   -------------------------------------------------------------------------- */
.section { padding: 40px 0; }
.section-alt { background-color: var(--gray-1); }

.section-title {
  font-size: 30px;            /* section heading 30px */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}
.section-title.centered { text-align: center; }
.section-subtitle { font-size: 15px; color: var(--text-soft); }

/* page title area (title 32px) */
.page-title { font-size: 36px; font-weight: 300; line-height: 43.2px; }   /* original site inner-page h1 measured: 36px/300 */
.page-header { padding: 30px 0 10px; }

/* Product detail page main title (stage 4): original site h3 measured = 24px / 400 / line height 28.8px
   (sources: stage-3 acceptance report §7 and stage-4 task brief §2; only this one measured geometry is added) */
.product-title { font-size: 24px; font-weight: 400; line-height: 28.8px; }

/* SP Page Builder addon heading (relative size 130% ~ 20.8px) */
.addon-title { font-size: 130%; font-weight: 400; line-height: 1.3; }
.addon-title-sm { font-size: 18px; font-weight: 600; }

/* card / panel */
.card {
  background: var(--white);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-body { padding: 20px; }

/* image zoom on hover (original site intro-zoom-in effect) */
.zoom-media { overflow: hidden; }
.zoom-media img { transition: transform 400ms ease; }
.zoom-media:hover img { transform: scale(1.06); }

/* --------------------------------------------------------------------------
   6. Header / navigation (height 90px, sticky 70px, links #ededed -> #ffffff)
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  background-color: var(--header-bg);
  color: var(--header-text);
  z-index: 1000;
}
.header-bar { height: var(--header-h); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header a { color: var(--header-link); }
.site-header a:hover { color: var(--header-link-hover); }

.logo { flex: 0 0 auto; display: flex; align-items: center; }
.logo img { width: 150px; height: 50px; }   /* logo 150×50 (1x) */

.main-nav { flex: 1 1 auto; }
.megamenu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;   /* the original menu group is **right-aligned** (measured at 1366px: 553-1012, right before the hamburger) */
  align-items: stretch;
}
.megamenu > li { position: relative; }
.megamenu > li > a,
.megamenu > li > .nav-toggle {
  display: block;
  height: var(--header-h);
  line-height: var(--header-h);
  padding: 0 12px;            /* nav item padding 0 12px */
  font-family: inherit;       /* warning: a button does not inherit the font by default -> Products looked "bold" because of this */
  font-size: 16px;
  font-weight: 300;          /* original site measurement: top nav 16px / weight 300 / #ededed / line height 90px */
  color: var(--header-link);
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
/* items with a submenu get a caret.
   Original site: .sp-megamenu-parent >li.sp-has-child>a::after { font-family:"peIcon7";
   content:"\e688"; padding:0 3px; vertical-align:middle; font-size:90%; opacity:.9 }
   -> peIcon7 is a **thin-line** icon; the FA6 solid arrow is too thick and too large (the client rejected it),
     so a thin-line SVG of the same proportion is used instead (7px wide, 4px high, ~0.9px stroke), following the text color */
.megamenu > li.has-panel > a::after,
.megamenu > li.has-panel > .nav-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 4px;
  margin-left: 3px;                       /* original site padding: 0 3px */
  vertical-align: middle;
  opacity: .9;                            /* original site opacity: .9 */
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2014%209'%3E%3Cpath%20d='M1.6%201.6L7%207L12.4%201.6'%20fill='none'%20stroke='%23000'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2014%209'%3E%3Cpath%20d='M1.6%201.6L7%207L12.4%201.6'%20fill='none'%20stroke='%23000'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.megamenu > li > a:hover,
.megamenu > li > .nav-toggle:hover { color: var(--header-link-hover); }
/* current section = green (original site: #sp-header #sp-menu .sp-megamenu-parent
   >li.current-item.active>a, >li.sp-has-child.active>a { color:#1ee4be })
   placed after hover: hovering the current section keeps it green */
.megamenu > li.active > a,
.megamenu > li.active > .nav-toggle { color: #1ee4be; }

/* mega drop-down panel: rgba(40,40,40,.8), 3px bottom radius, item color #f7f7f7, 900px wide, centered */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: calc(100vw - 30px);
  background-color: var(--mega-bg);
  border-radius: 0 0 3px 3px;
  padding: 10px;                      /* measured .sp-dropdown-inner padding:10px */
  display: none;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);   /* measured .sp-dropdown-inner */
}
.megamenu > li.open > .mega-panel { display: block; }
.mega-panel .mega-cols { display: flex; flex-wrap: wrap; }
.mega-col { flex: 0 0 25%; max-width: 25%; padding: 0 10px; }
.mega-col-title {
  display: block;
  font-size: 14.4px;                  /* original site measurement: group title 14.4px / 700 / line height 25px / margin-bottom 2px */
  font-weight: 700;
  line-height: 25px;
  text-transform: uppercase;          /* measured: .sp-group-title { text-transform: uppercase } */
  color: var(--mega-text);
  padding: 0 5px;
  margin-bottom: 2px;                 /* original site measurement margin-bottom 2px */
  cursor: default;
}
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list li { line-height: normal; }
.mega-list a {
  display: block;
  padding: 5px 10px;                  /* original site measurement: item padding 5px 10px -> line box 35px */
  font-size: 14.4px;                  /* original site measurement 14.4px / line height 25px */
  line-height: 25px;
  font-weight: 300;
  color: var(--mega-text);
}
.mega-list a:hover { color: var(--brand-light); }
/* the "current item" inside the panel (original site li.sp-menu-item.current-item>a: white text + rgba(22,185,154,.8) background, 3px radius) */
.mega-panel a.active {
  color: #fff;
  background-color: rgba(22, 185, 154, .8);
  border-radius: 3px;
}

/* ---------------------------------------------------------------------------
   Applications drop-down (the original site uses a "small drop-down", not a Products-style mega panel)
   Original site measurements: panel 300px wide, padding 0; each item font-size 14.4px, line-height 25px,
   padding 5px 10px (line box 35px), never wrapping. The two drop-downs differ in width, so they cannot share 900px.
   --------------------------------------------------------------------------- */
.mega-panel-simple {
  width: 300px;
  max-width: calc(100vw - 30px);
  left: 0;                    /* original site: the panel is **left-aligned** with the Applications menu item (the inline style only sets width, no left offset) */
  right: auto;
  transform: none;
  padding: 0;
}
.mega-panel-simple .mega-cols { display: block; }
.mega-panel-simple .mega-col { flex: 0 0 100%; max-width: 100%; padding: 0; }
.mega-panel-simple .mega-list li { line-height: normal; }
.mega-panel-simple .mega-list a {
  font-size: 14.4px;
  line-height: 25px;
  padding: 5px 10px;
  white-space: nowrap;
}


/* header tools: search / language / hamburger */
.header-tools { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; }
.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: var(--header-h);
  background: none;
  border: 0;
  color: var(--header-link);
  font-size: 16px;
  cursor: pointer;
}
.tool-btn:hover { color: var(--header-link-hover); }

.lang-switch { display: flex; align-items: center; gap: 4px; height: var(--header-h); }
.lang-switch a {
  font-size: 13px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.lang-switch a.current { color: var(--brand); }

/* hamburger (measured line width: 20px on desktop / 25px at <=768px)
   The original site shows this button on desktop too (44×90 at 1366px, right after Contact) and it opens the right-hand drawer,
   so it is no longer shown on mobile only. */
.hamburger { display: inline-flex; }
.hamburger .lines,
.hamburger .lines::before,
.hamburger .lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  content: "";
  position: relative;
}
.hamburger .lines::before { position: absolute; top: -6px; }
.hamburger .lines::after { position: absolute; top: 6px; }

/* search panel (the original site has it as a drop-down inside the header, height 90px) */
.search-panel {
  display: none;
  background-color: var(--header-bg);
  border-top: 1px solid #3d3d3d;
  padding: 15px 0;
}
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 10px; }
.search-panel input[type="search"] {
  flex: 1 1 auto;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  color: #555555;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: var(--t-input);
}
.search-panel input[type="search"]:focus {
  outline: 0;
  border-color: var(--focus);
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}
.search-results {
  display: none;
  background: var(--white);
  border-radius: var(--radius-input);
  margin-top: 8px;
  max-height: 320px;
  overflow: auto;
  box-shadow: var(--shadow-sm);
}
.search-results.open { display: block; }
.search-results a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line-5);
}
.search-results a:hover { background: var(--gray-1); color: var(--brand); }

/* sticky: after scrolling 250px -> 70px high + fade-in-down */
.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: fade-in-down 400ms ease both;
  box-shadow: var(--shadow-sm);
}
.site-header.sticky .header-bar,
.site-header.sticky .header-inner { height: var(--header-h-sticky); }
.site-header.sticky .megamenu > li > a,
.site-header.sticky .megamenu > li > .nav-toggle,
.site-header.sticky .tool-btn,
.site-header.sticky .lang-switch { height: var(--header-h-sticky); line-height: var(--header-h-sticky); }
@keyframes fade-in-down {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* --------------------------------------------------------------------------
   7. Mobile drawer (slides in from the right over 300ms, item padding 4px 20px, line-height 2,
      inner indent 10px, offcanvas padding 30px 20px 20px)
   -------------------------------------------------------------------------- */
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;                       /* measured: the original offcanvas slides in from the right */
  bottom: 0;
  width: 320px;                   /* measured: .offcanvas-menu width 320px */
  max-width: 85%;
  background-color: var(--white); /* measured: background #fff */
  color: #777777;                 /* measured: color #777 */
  padding: 30px 20px 20px;
  overflow-y: auto;
  transform: translateX(320px);
  transition: transform .5s cubic-bezier(0.5, 0, 0.3, 1);   /* measured transition curve */
  box-shadow: -1px 0 10px rgba(0, 0, 0, 0.15);             /* measured shadow */
  z-index: 1010;                  /* warning: must be > backdrop (original site: backdrop 999 / drawer 9999) */
}
.offcanvas.open { transform: translateX(0); }
.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-offcanvas) ease, visibility var(--t-offcanvas) ease;
  z-index: 1005;                  /* warning: must be < the drawer. Original site 999 < 9999.
                                     It was once written as 1100 > drawer 1007: on mobile the backdrop sat on top of the drawer,
                                     so every menu tap was swallowed by the backdrop (= the mobile menu was completely unusable). */
}
.offcanvas-backdrop.open { opacity: 1; visibility: visible; }
.offcanvas-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: 0;
  color: #777777;
  font-size: 20px;
  cursor: pointer;
}
.offcanvas-title {
  /* measured .sp-module-title: margin 0 0 20px / font-size 140% / line-height 1.2 /
     box-shadow inset 0 -1px 0 #ddd, underline bar background #1ee4be (preset5) */
  font-size: 140%;
  font-weight: 400;
  line-height: 1.2;
  color: #333333;
  margin: 0 0 20px;
  padding-right: 30px;
  box-shadow: inset 0 -1px 0 #dddddd;
}
.offcanvas-title::after {
  content: "";
  display: block;
  height: 2px;
  width: 70%;
  margin: 10px 30% 0 0;
  border-radius: 2px;
  background: var(--brand-light);
}
.offcanvas ul { list-style: none; margin: 0; padding: 0; }
.offcanvas ul.accordion-menu { margin: 0 -18px; }        /* measured: ul margin 0 -18px */
.offcanvas ul.accordion-menu ul { margin: 0; }                             /* inner levels drop the negative margin (accumulating it shifts the drawer left and clips the first letters) */
.offcanvas .accordion-menu li ul > li > a { text-indent: 10px; }           /* original site measurement: level-2 indent 10px */
.offcanvas .accordion-menu li ul > li > ul > li > a { text-indent: 20px; } /* original site measurement: level-3 indent 20px */
.offcanvas li { position: relative; line-height: 28px; } /* measured: line height 28px */
.offcanvas a,
.offcanvas .acc-label {
  display: block;
  padding: 10px 20px;                               /* measured: 10px 20px */
  font-size: 16px;                                  /* measured: 16px (same at every level) */
  line-height: 28px;
  color: #1a1a1a;                                   /* measured: rgb(26,26,26) */
  transition: color 300ms ease;
}
.offcanvas a:hover { color: var(--brand); }
.offcanvas li.current > a { color: var(--brand); }   /* measured: current page item rgb(22,185,154) */
.offcanvas .acc-label { cursor: default; }           /* group name: not clickable on the original site either (a Joomla placeholder pointing to "/") */
/* language switch inside the drawer: the header one is still there on mobile, this is just a handier second entry (the original site keeps its mobile language entry visible at all times) */
.offcanvas-lang {
  height: auto;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 0 12px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.offcanvas-lang a {
  display: inline-block;
  padding: 2px 6px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #1a1a1a;
  border-radius: var(--radius-sm);
}
.offcanvas-lang a.current { color: var(--brand); }
/* collapse handle (original site li.deeper > .accordion-menu-toggler: absolute, 104×41, fas fa-chevron-down) */
.acc-toggle {
  position: absolute;
  top: 4px;
  right: 0;
  width: 104px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777777;
  cursor: pointer;
}
.acc-toggle i { font-size: 14px; transition: transform 300ms ease; }
.acc-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.acc-toggle:hover { color: var(--brand); }
.collapse { height: 0; overflow: hidden; transition: height 350ms ease; }

/* --------------------------------------------------------------------------
   8. Buttons (radius 4px, transition 400ms, font size 100%, line-height 1.4)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 8px 22px 10px 22px;   /* measured: page inline 8px 22px 10px 22px (8 times) */
  font-family: var(--font-body);
  font-size: 100%;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--t-btn);
}
.btn-primary {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
}
.btn-primary:hover { background-color: var(--brand); border-color: var(--brand); color: var(--white); }
.btn-outline {
  background-color: transparent;
  border-color: var(--brand);
  color: var(--brand);
  padding: 8px 30px;
}
.btn-outline:hover { background-color: var(--brand); color: var(--white); }
.btn-light { background-color: var(--white); color: var(--text); }
.btn-light:hover { background-color: var(--gray-2); color: var(--text); }
.btn-sm { padding: 6px 22px; font-size: 87%; }
.btn-xs { padding: 5px 16px; font-size: 80%; line-height: 1.1; }
.btn-lg { padding: 9px 30px; font-size: 125%; line-height: 1.7; }
.btn-round { padding: 8px 26px 9px; line-height: 1.5; border-radius: 50px; }
/* ConvertForms submit button (measured: background #009d6f / text #fff / radius 3px / 13px 20px / 16px) */
.cf-btn {
  display: inline-block;
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  background-color: var(--brand-dark);
  border: 1px solid transparent;
  border-radius: var(--radius-input);
  cursor: pointer;
  transition: var(--t-btn);
}
.cf-btn:hover { color: var(--white); background-color: var(--brand); }

/* --------------------------------------------------------------------------
   9. Forms (control 34px / padding 6px 12px / 14px / 1.428571429 / #555 /
      border #cccccc / inner shadow / focus #66afe9)
   -------------------------------------------------------------------------- */
.form-group { margin-bottom: 15px; }
.form-label {
  display: block;
  font-size: 12px;            /* ConvertForms field label 12px / 400 */
  font-weight: 400;
  color: var(--text);
  margin-bottom: 5px;
}
.form-label .required { color: var(--danger); }
.form-control {
  display: block;
  width: 100%;
  /* ConvertForms measured (page inline): --input-size:12px / --input-padding:8px 10px /
     --input-border-radius:3px / border #cccccc / background #ffffff; the template default control is 34px high, 14px, see design-spec.md §3.6 */
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.428571429;
  color: var(--text-soft);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: var(--t-input);
}
textarea.form-control { height: auto; min-height: 90px; resize: vertical; }
.form-control::placeholder { color: var(--placeholder); }
.form-control:focus {
  outline: 0;
  border-color: var(--focus);
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}
.form-hint { font-size: 12px; color: var(--text-mute); margin-top: 4px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); }
.form-check input { width: 14px; height: 14px; }
.form-status { margin-top: 12px; font-size: 14px; }
.form-status.ok { color: var(--brand-dark); }
.form-status.err { color: var(--danger); }
/* honeypot (invisible to bots, and should be invisible to people too) */
.honey-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   10. Footer (original site measured at 1366px: whole block 540px; #363839 background, body text 16px/300 #ffffff,
       links 16px/300 #d6d6d6 line height 36px (46px per row), h3 28px/400 #ffffff,
       logo 180×42, 40+40=80px top space per column, no dividers)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 20px 0;
  font-size: 16px;
}
.site-footer .footer-row { padding-top: 20px; }
.site-footer .footer-col { padding-top: 80px; }          /* original site: 40px + 40px of empty height per column */
.site-footer h3 {
  font-size: 28px;                                       /* original site measurement: 28px / 400 / #ffffff */
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  margin: 20px 0;
  padding-right: 30px;
}
.site-footer a { color: var(--footer-link); }
.site-footer a:hover { color: var(--footer-link-hover); }
.site-footer p { margin: 0 0 16px; line-height: 25px; }
.site-footer .footer-logo {
  display: block;
  width: 180px;                                          /* original site measured display size 180×42 (source image 416×97) */
  height: 42px;
  margin: 20px auto 0;
}
.site-footer .footer-links { list-style: none; margin: 10px 0 0; padding: 0; }
.site-footer .footer-links li { line-height: 36px; }   /* original site measurement: footer link line height 36px (46px per row) */
.site-footer .footer-links a { font-size: 16px; display: block; padding: 5px 15px; text-align: center; }
.site-footer .keep-touch strong { color: var(--white); font-weight: 600; }
.site-footer .copyright { text-align: center; font-size: 16px; margin: 41px 0 24px; line-height: 25px; }
/* QR code (the client, 2026-10: one QR code below the logo on the Chinese site) */
.site-footer .footer-qr { margin: 16px auto 0; text-align: center; }
/* no nearest-neighbour at small sizes (smooth scaling looks better for a small image); in the enlarged lightbox nearest-neighbour is used again to keep the modules crisp and scannable */
.site-footer .footer-qr img { display: block; width: 140px; height: 140px; margin: 0 auto;
  background: #fff; padding: 4px; border-radius: 4px;
  /* size follows the original site (about 146px measured on the screenshot the client sent on 2026-10-05: white box 146×146) */ }
.site-footer .footer-qr a { display: inline-block; cursor: zoom-in; }
/* note: do **not** use image-rendering:crisp-edges (nearest neighbour) for the QR code -- measured nearest-neighbour scaling chops the modules,
   smooth scaling decodes fine. Both the 67px footer image and the enlarged lightbox use the default smooth scaling. */
.site-footer .footer-qr .qr-cap { font-size: 13px; color: #9aa4ad; margin-top: 6px; }
/* ICP licence line: only the techoel.cn build renders it ({{BEIAN}} in build.py), centered below the copyright line */
.site-footer .beian { text-align: center; font-size: 14px; color: #8a9096; margin: 0 0 24px; }
.site-footer .beian a { color: #8a9096; text-decoration: none; }
.site-footer .beian a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   11. Cookie bar (original site: fixed bottom, #16b99a, white text, 16px/500, padding 20px,
       button white background with #333 text, 7px 15px / 90% / bold / .25rem / .15s, >=992px 75%/25%)
   -------------------------------------------------------------------------- */
.cookie-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--brand);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  z-index: 10001;
}
.cookie-bar > div { padding: 20px; display: flex; flex-wrap: wrap; align-items: center; }
.cookie-content { flex: 0 0 100%; max-width: 100%; }
.cookie-action { flex: 0 0 100%; max-width: 100%; margin-top: 15px; }
.cookie-bar a { color: var(--gray-1); text-decoration: underline; }
.cookie-bar .cookie-accept,
.cookie-bar a.cookie-accept {
  display: inline-block;
  padding: 7px 15px;
  font-size: 90%;              /* 16px × 90% = 14.4px (original site measurement) */
  font-weight: bold;           /* 700 */
  line-height: 1.5;
  border-radius: .25rem;       /* 4px */
  background-color: var(--white);
  color: #333333;              /* original site measurement: white background with #333333 text (not grey background with white text) */
  text-decoration: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out,
              border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.cookie-bar .cookie-accept:hover { color: #333333; }
@media (min-width: 992px) {
  .cookie-content { flex: 0 0 75%; max-width: 75%; }
  .cookie-action { flex: 0 0 25%; max-width: 25%; margin-top: 0; text-align: right; }
}

/* --------------------------------------------------------------------------
   12. Modal (enquiry) / lightbox
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  overflow-y: auto;
}
.modal.open { display: block; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  /* original site EngageBox measured --eb-overlay-enabled:0 (no backdrop) -> kept transparent here, used only for click-to-close */
  background: transparent;
}
.modal-dialog {
  position: relative;
  width: 600px;                    /* measured .eb-1 .eb-dialog --eb-max-width:600px */
  max-width: calc(100% - 30px);
  margin: 60px auto 40px;
  background: var(--white);
  border: 1px solid transparent;   /* measured: 1px solid rgba(0,0,0,0) */
  box-shadow: 0 0 2px 2px rgba(0, 0, 1, 0.3);   /* measured --eb-shadow-1 */
  padding: 20px;                   /* measured --eb-padding:20px */
}
.modal-body { padding: 0; }
.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  background: none;
  border: 0;
  font-size: 24px;                 /* measured .eb-close: font-size 24px */
  font-weight: normal;
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1;
  color: #aeaeae;                  /* measured .eb-close: rgb(174,174,174) */
  cursor: pointer;
}
.modal-close:hover { color: var(--text); }
.modal-title { font-size: 130%; font-weight: 400; color: var(--navy); margin-bottom: 10px; }
.modal-lead { font-size: 15px; color: var(--text-soft); }

/* ---------------------------------------------------------------------------
   Product page enquiry modal: replicated from the original site ConvertForms (all values measured in a real browser at 1366px)
   Container 558 wide / white background / radius 0; top image 150×150; Kind Reminder area padding 20px;
   field area padding 20px left and right -> field width 518; inputs 32px high / 12px text / radius 3px / border #ccc;
   two columns 159 + 339 (+20 gap = 518); Math Captcha on one line; submit button 518×44 / #009d6f / white 16px text
   --------------------------------------------------------------------------- */
#quoteModal .modal-dialog { width: 600px; max-width: calc(100vw - 20px); padding: 20px; }
#quoteModal .modal-body { background: #fff; border-radius: 0; padding: 0; }
.quote-form { width: 558px; max-width: 100%; background: #fff; color: #333333; }
.quote-form .cf-img-wrap { padding: 0; flex: 0 0 150px; }
.quote-form .cf-img-wrap img { width: 150px; height: 150px; display: block; }
/* the original site is "image left, text right" (cf-img-left): two columns side by side, not stacked */
.quote-form .cf-head { display: flex; align-items: flex-start; gap: 20px; padding: 20px; }
.quote-form .cf-head .cf-note { flex: 1 1 auto; padding: 0; }
.quote-form .cf-note { font-size: 16px; font-weight: 300; line-height: 22px; color: #333333; }
.quote-form .cf-note strong { display: block; font-weight: 400; color: #8f8f8f; margin-bottom: 4px; }
.quote-form .cf-fields { padding: 0 20px 20px; }
.quote-form .row { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
/* grid column left/right padding reset to zero: otherwise the inputs are 30px narrower than the original site (159->129, 518->488) */
.quote-form .row > [class^="col-"], .quote-form .row > [class*=" col-"] { padding-left: 0; padding-right: 0; }
.quote-form .col-1of3 { flex: 0 0 159px; max-width: 159px; }
.quote-form .col-2of3 { flex: 0 0 339px; max-width: 339px; }
.quote-form .form-group { margin-bottom: 6px; }
.quote-form .form-control {
  height: 32px; padding: 8px 10px; font-size: 12px; color: #757575;
  border: 1px solid #cccccc; border-radius: 3px; background-color: #fff;
}
.quote-form .form-control:focus { border-color: var(--brand); box-shadow: none; }
.quote-form .form-label { font-size: 12px; color: #757575; margin-bottom: 2px; }
/* original site: the 4 options sit on **one line** (title row + option row = two rows) */
.quote-form .form-check { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #333333; margin-right: 12px; white-space: nowrap; }
.quote-form .cf-btn {
  width: 518px; max-width: 100%; height: 44px; padding: 13px 20px;
  font-size: 16px; font-weight: 400; color: #fff; background-color: #009d6f; border-radius: 3px;
}
.quote-form .cf-btn:hover { background-color: #00875f; color: #fff; }
.captcha-container { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.captcha-equation { font-size: 12px; color: #333333; white-space: nowrap; }
.captcha-container .form-control { width: 452px; }
@media (max-width: 600px) {
  .quote-form .cf-head { padding: 12px; }
  .quote-form .cf-img-wrap { display: none; }        /* original site: the top image has class="cf-hide-mobile" */
  .quote-form .col-1of3, .quote-form .col-2of3 { flex: 0 0 100%; max-width: 100%; }
  .captcha-container .form-control { width: 100%; }
}

/* --------------------------------------------------------------------------
   Contact us (the techoel.cn build: short "message" form on the left / gap in the middle / green address block on the right)
   The two builds lay this page out differently -- for the German build see .section/.form-control above;
   this one follows the original site http://techoel.cn/index.php/zh(or /en)/keep-in-touch measurements
   (2026-10-07, taken at four widths: 1366 / 992 / 768 / 390):
     · grid 50% / 8.33% / 41.67%, section padding 75px 0 (column padding 15px as on the original site)
     · left column: h4 14px/400 #212529; h3 25px/400 line height 32.5px #1a1a1a (underline reuses .addon-title)
     · controls: 38px high, padding 8px 12px, 16px, border 1px #c9c9c9, radius 4px, text color #495057,
              placeholder #999 (textarea #868e96), field spacing 10px, textarea rows=5
     · button: 16px, #666 text, background rgba(255,255,255,.85), border 1px #666, radius 100px, padding 8px 26px 9px
     · right green block: #66ba9f, min-height 640px, padding 0 80px 30px 50px,
             heading 18px (section name 600 / Office 400) in white, body 15px/400 line height 23px in white, full-width 1px #ccc divider
   -------------------------------------------------------------------------- */
.contact-cn { padding: 75px 0; }
/* column padding 15px as on the original site (original green block 445 = 475 - 15×2, body text left edge 743+50) */
.contact-cn .contact-cn-form { flex: 0 0 50%;        max-width: 50%;        padding: 0 15px; }
.contact-cn .contact-cn-gap  { flex: 0 0 8.333333%;  max-width: 8.333333%;  padding: 0 15px; }
.contact-cn .contact-cn-info { flex: 0 0 41.666667%; max-width: 41.666667%; padding: 0 15px; }

.contact-cn-welcome { font-size: 14px; font-weight: 400; line-height: 1.2; color: #212529; margin: 0 0 20px; }
/* inline-block = the original site's inline-table: the underline is only as wide as the heading, not the whole column */
.contact-cn-headline { display: inline-block; font-size: 25px; font-weight: 400; line-height: 32.5px; color: #1a1a1a; padding-right: 30px; margin: 10px 0 30px; }

.contact-cn-field { margin-bottom: 10px; }
.contact-cn-input {
  display: block;
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: #495057;
  background-color: var(--white);
  border: 1px solid #c9c9c9;
  border-radius: 4px;
}
textarea.contact-cn-input { height: auto; resize: vertical; }
.contact-cn-input::placeholder { color: #999999; }
textarea.contact-cn-input::placeholder { color: #868e96; }
.contact-cn-input:focus { outline: 0; border-color: var(--focus); box-shadow: 0 0 8px rgba(102, 175, 233, 0.6); }
.contact-cn-send {
  display: inline-block;
  margin: 7px 0;
  padding: 8px 26px 9px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: #666666;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #666666;
  border-radius: 100px;
  cursor: pointer;
}
.contact-cn-send:hover { background-color: var(--white); }

.contact-cn-info-inner {
  display: flow-root;            /* forms its own BFC: otherwise the first heading's 20px top margin escapes the block (leaving a gap at the top of the green block) */
  height: 100%;
  min-height: 640px;
  padding: 0 80px 30px 50px;
  background-color: #66ba9f;
  color: var(--white);
}
.contact-cn-info-inner h6,
.contact-cn-office-title {
  font-size: 18px;
  line-height: 23.4px;
  color: var(--white);
  margin: 20px 0;
}
.contact-cn-info-inner h6 { font-weight: 600; }
.contact-cn-office-title { font-weight: 400; }
.contact-cn-info-inner p { font-size: 15px; font-weight: 400; line-height: 23px; color: var(--white); margin: 0 0 16px; }
/* divider is **full width** as on the original site (the left/right padding above is cancelled with negative margins) */
.contact-cn-divider { margin: 0 -80px 0 -50px; border-top: 1px solid #cccccc; }

@media (max-width: 767.98px) {
  /* the original site stacks the three columns below 768px; the green block's padding/min-height **do not shrink** (original measurement: still 0 80px 30px 50px and 640 high at 390px) */
  .contact-cn .contact-cn-form,
  .contact-cn .contact-cn-gap,
  .contact-cn .contact-cn-info { flex: 0 0 100%; max-width: 100%; }
  .contact-cn .contact-cn-gap { height: 20px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 11, 11, 0.8);   /* measured magnific-popup: background #0b0b0b + opacity .8 */
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; }
.lightbox-close {
  /* measured magnific-popup .mfp-close: 44×44 / line-height 44 / 28px / #fff / opacity .65 */
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  opacity: .65;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   13. Home hero slider (SmartSlider 3, three slides; text in Roboto 400)
       Original site measured (1366px): block 600px high; three text layers = 22px/33px + 48px/72px + 22px/39.6px,
       all #ffffff, Roboto, with text-shadow (this is the key part of the "blended onto the image" look)
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; height: 600px; }   /* original site #sp-slider has no background color */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
}
.hero-slide.active { opacity: 1; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 600px; object-fit: cover; display: block; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);   /* measured: rgb(0,0,0,0.2) */
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}
.hero-kicker {
  font-family: var(--font-hero); font-size: 22px; font-weight: 400; line-height: 33px;
  margin: 0 0 30px; text-shadow: 2px 2px 4px #000000;      /* measured text-shadow: rgb(0,0,0) 2px 2px 4px */
}
.hero-title {
  font-family: var(--font-hero); font-size: 48px; font-weight: 400; line-height: 72px;
  margin: 0 0 30px; text-shadow: 3px 3px 5px #000000;      /* measured text-shadow: rgb(0,0,0) 3px 3px 5px */
}
.hero-text {
  font-family: var(--font-hero); font-size: 22px; font-weight: 400; line-height: 39.6px;
  margin: 0; text-shadow: 2px 2px 4px #000000;
}
.hero-dots { position: absolute; left: 0; right: 0; bottom: 15px; z-index: 3; text-align: center; }
.hero-dots button {
  width: 12px; height: 12px; margin: 0 5px; padding: 0;
  border: 1px solid var(--white); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.hero-dots button.active { background: var(--white); }

/* --------------------------------------------------------------------------
   13b. Home page sections (2026-10-05 rework: replicated exactly from the original site's rendered result; values measured at 1366px)
        Section order and heights: Who is Techoel(891) -> quote band(327) -> Main Industrial Fields intro(279)
        -> 9-image grid(916) -> Main Product Applications(837) -> trailing space(151)
   -------------------------------------------------------------------------- */
/* -- Section 1: Who is Techoel™ (image slider left + text right; original site padding 100px 0 80px) -- */
.home-who { padding: 100px 0 80px; }
.hm-row { display: flex; flex-wrap: wrap; margin: 0 -20px; overflow-x: hidden; }
/* note: the negative margin -20px is 5px wider than the container padding 15px: without clipping the whole page shifts 5px.
     The original site adds overflow:hidden on an inner wrapper; we handle it the same way (visually unchanged). */
.hm-media { flex: 0 0 41.666667%; max-width: 41.666667%; padding: 0 20px; }
.hm-text { flex: 0 0 58.333333%; max-width: 58.333333%; padding: 0 20px; }
.hm-media-carousel { position: relative; height: 700px; }   /* original site data-height-xl="700" */
.hm-media-carousel img {
  position: absolute; inset: 0; width: 100%; height: 700px;
  object-fit: cover; opacity: 0; transition: opacity 1200ms ease;
}
.hm-media-carousel img.active { opacity: 1; }
.hm-title {
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 25px; font-weight: 400; line-height: 32.5px; color: #1a1a1a;
  margin: 10px 0 30px; padding-right: 30px;
}
.hm-lead { margin: 0 0 16px; line-height: 25px; }
.hm-features { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.hm-feature { flex: 0 0 50%; max-width: 50%; padding: 0 15px; margin-bottom: 40px; }
.hm-feature h3 {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700; line-height: 32px; color: #1a1a1a;
  margin: 20px 0; padding-right: 30px;
}
.hm-feature p { font-size: 12px; line-height: 25px; margin: 0; }

/* -- Section 2: quote band (standalone dark image band, 327px high; 36px/800 #f9d625 Tahoma) -- */
.home-quote {
  background-image: url(images/images/Sliders/slider03.webp);   /* background image of that block on the original site (no new image invented; relative to style.css) */
  background-size: cover;
  background-position: center;
  padding: 100px 0 70px;
  text-align: center;
}
.home-quote .home-quote-inner { padding-bottom: 60px; }   /* the original block's content is 157px high */
.home-quote h1 {
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 36px; font-weight: 800; line-height: 46.8px; color: #f9d625;
  margin: 20px 0 30px;
}

/* -- Section 3: Main Industrial Fields intro (#f5f5f5, 279px high, heading/body centered) -- */
.home-fields-intro { background-color: var(--gray-1); padding: 70px 0 80px; text-align: center; }
.hm-title-lg {
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 28px; font-weight: 400; line-height: 48px; color: #000000;
  margin: 20px 0;
}
.home-fields-intro p { font-size: 16px; font-weight: 300; line-height: 25px; color: #000000; margin: 0 0 16px; }

/* -- Section 4: 9 industry tiles (#f5f5f5, 916px high; image 334×184 + 18px/700 centered heading) -- */
.home-fields { background-color: var(--gray-1); padding: 0 0 50px; }
.hm-grid3 { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.hm-field { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 15px; margin-bottom: 50px; text-align: center; }
.hm-field-img { display: block; padding-left: 16px; margin-bottom: 16px; }   /* original site image width = column width 350 - 16 */
.hm-field-img img { display: block; width: 100%; height: auto; }
.hm-field h3 {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 700; line-height: 34px; color: #101010;
  margin: 0;
}

/* -- Section 5: Main Product Applications (837px high; centered heading/body + 3 visible cards) -- */
.home-apps { padding: 80px 0 120px; text-align: center; }
.home-apps .hm-textblock { max-width: 75%; margin: 0 auto 60px; }
.home-apps p { font-size: 20px; font-weight: 300; line-height: 25px; color: #000000; margin: 0 0 16px; }
.hm-articles-viewport { overflow: hidden; margin: 0 -15px; }
.hm-articles { display: flex; flex-wrap: nowrap; transition: transform 600ms ease; margin-bottom: 60px; }
.hm-article { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 15px; text-align: left; }
.hm-article-img { display: block; }
.hm-article-img img { display: block; width: 100%; height: auto; }
.hm-article-body { background: #ffffff; padding: 20px 20px 25px; margin-bottom: 15px;
  box-shadow: rgba(49, 41, 41, 0.1) 0px 6px 12px -3px; }   /* original site card: white background + this shadow layer is the "card effect" */
.hm-article-date { display: block; font-size: 14px; font-weight: 300; line-height: 19px; color: rgba(0, 0, 0, 0.6); }
.hm-article-link { display: block; font-size: 16px; font-weight: 300; line-height: 16px; color: #000000; margin: 12px 0; }
.hm-article-cat { display: block; font-size: 16px; font-weight: 300; line-height: 22px; color: #212529; }
.hm-article-cat a { color: inherit; }

/* ---------------------------------------------------------------------------
   Underline below headings: on the original site it consists of **two parts** --
   1) heading ::after: 60% wide, 2px high, green #1ee4be, margin-top 10px (left end aligned with the heading text)
   2) one 1px light grey line #cccccc across the row (the original .sppb-divider, width = container width)
   Two background layers reproduce the same effect here: left 60% green 2px + full-row grey 1px
   --------------------------------------------------------------------------- */
.hm-title::after, .hm-title-lg::after, .hm-feature h3::after, .hm-field h3::after,
.section-title::after, .addon-title::after, .page-title::after, .product-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 10px;
  background-image: linear-gradient(#1ee4be, #1ee4be), linear-gradient(#cccccc, #cccccc);
  background-size: 60% 2px, 100% 1px;
  background-position: left center, left center;
  background-repeat: no-repeat;
}

/* -- Section 6: trailing space (original site empty block 151px) -- */
.home-tail { height: 151px; }

@media (max-width: 991.98px) {
  .hm-media, .hm-text { flex: 0 0 100%; max-width: 100%; }
  .hm-media-carousel { height: 500px; }
  .hm-media-carousel img { height: 500px; }
  .hm-media { margin-bottom: 40px; }
  .hm-field { flex: 0 0 50%; max-width: 50%; }
  .hm-article { flex: 0 0 50%; max-width: 50%; }
  .home-who { padding: 60px 0; }
  .home-apps .hm-textblock { max-width: 100%; }
}
@media (max-width: 767.98px) {
  .hm-media-carousel { height: 400px; }
  .hm-media-carousel img { height: 400px; }
  .hm-field { flex: 0 0 100%; max-width: 100%; }
  .hm-article { flex: 0 0 100%; max-width: 100%; }
  .hm-feature { flex: 0 0 100%; max-width: 100%; }
  .home-quote { padding: 60px 0 40px; }
  .home-fields-intro { padding: 40px 0 50px; }
  .home-apps { padding: 50px 0 60px; }
  .hm-title-lg { font-size: 24px; line-height: 36px; }
  .home-quote h1 { font-size: 28px; line-height: 38px; }
}

/* --------------------------------------------------------------------------
   14. Grid cards (industries / products / applications)
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }

.feature-box { text-align: center; padding: 20px; }
.feature-box .feature-icon { font-size: 40px; color: var(--brand); margin-bottom: 12px; }
.feature-box h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-box p { font-size: 15px; color: var(--text-soft); }

.product-card { background: var(--white); border-radius: var(--radius-panel); box-shadow: var(--shadow-sm); }
.product-card .product-name { font-size: 18px; font-weight: 600; padding: 15px; margin: 0; }
.product-card .product-desc { font-size: 13px; color: var(--text-soft); padding: 0 15px 15px; }

/* Product overview (original site /index.php/products measured: 3 columns of plain model-name links, 18px/400/#212529,
   line height 25.2px, no images, no cards; one #eeeeee hairline above and below) */
.product-name-grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.product-name {
  flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 15px; margin: 0 0 28px;
  font-size: 18px; font-weight: 400; line-height: 25.2px; color: var(--text);
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--brand); }

.app-card { padding: 0 15px; }
.app-card img { display: block; width: 100%; height: 195px; object-fit: cover; }
.app-card-body { background: #ffffff; padding: 20px 20px 25px; margin: 0 0 15px;
  box-shadow: rgba(49, 41, 41, 0.1) 0px 6px 12px -3px; }
.app-card-date { display: block; font-size: 14px; font-weight: 300; color: rgba(0, 0, 0, 0.6); }
.app-card-link { display: block; font-size: 16px; font-weight: 300; color: #000000; margin: 12px 0; }
.app-card-cat { display: block; font-size: 16px; font-weight: 300; color: #212529; }

/* product sidebar accordion (right side of category pages) */
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a {
  display: block;
  padding: 7px 10px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line-5);
}
.side-list a:hover, .side-list a.active { color: var(--brand); background: var(--gray-1); }
.side-title { font-size: 18px; font-weight: 400; color: var(--text); margin: 0 0 10px; }

/* Prev / Next pagination */
.pager { display: flex; justify-content: space-between; margin: 20px 0; }
.pager a { font-size: 14px; color: var(--brand); }

/* --------------------------------------------------------------------------
   15. Icons (Font Awesome 6 Free, code points read from the original site CSS and written out by hand here)
   -------------------------------------------------------------------------- */
.fa-solid, .fas, .fa {
  font-family: var(--font-fa);
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.fa-regular, .far { font-family: var(--font-fa); font-weight: 400; font-style: normal; display: inline-block; line-height: 1; }
.fa-brands, .fab { font-family: var(--font-fa-brands); font-weight: 400; font-style: normal; display: inline-block; line-height: 1; }
.fa-magnifying-glass::before { content: "\f002"; }
.fa-xmark::before { content: "\f00d"; }
.fa-chevron-down::before { content: "\f078"; }
.fa-chevron-right::before { content: "\f054"; }
.fa-bars::before { content: "\f0c9"; }
.fa-bars-staggered::before { content: "\f550"; }
.fa-phone::before { content: "\f095"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-arrow-up::before { content: "\f062"; }
.fa-angle-left::before { content: "\f104"; }
.fa-angle-right::before { content: "\f105"; }
.fa-check::before { content: "\f00c"; }
.fa-minus::before { content: "\f068"; }
.fa-plus::before { content: "\2b"; }
.fa-location-dot::before { content: "\f3c5"; }
.fa-globe::before { content: "\f0ac"; }
.fa-circle-info::before { content: "\f05a"; }
.fa-paper-plane::before { content: "\f1d8"; }

/* --------------------------------------------------------------------------
   16. Accessibility / generic utilities
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 10px; top: 10px; background: var(--white); padding: 8px 12px; z-index: 2000; }
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 40px; height: 40px; line-height: 40px; text-align: center;
  border: 0; border-radius: var(--radius); background: var(--brand); color: var(--white);
  cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 300ms ease;
}
.back-to-top.show { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   17. Responsive (breakpoints as measured: 576 / 768 / 992 / 1200 / 1400)
   -------------------------------------------------------------------------- */
@media (max-width: 1399.98px) {
  .container { max-width: var(--container); }
}
@media (max-width: 1199.98px) {
  .mega-panel { width: 720px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .main-nav { display: none; }          /* desktop navigation collapses below 992px */
  .hamburger { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .megamenu > li > a, .megamenu > li > .nav-toggle { padding: 0 8px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero, .hero-img { height: 480px; }
  .hero-title { font-size: 36px; line-height: 52px; margin-bottom: 20px; }
  .hero-kicker { font-size: 18px; line-height: 27px; margin-bottom: 20px; }
  .hero-text { font-size: 18px; line-height: 32px; }
}
@media (max-width: 767.98px) {
  .hamburger .lines, .hamburger .lines::before, .hamburger .lines::after { width: 25px; }
  .logo img { width: 120px; height: 40px; }
  .page-title { font-size: 30px; }     /* 30px from the measured font-size table */
  .section-title { font-size: 20px; }  /* 20px from the measured font-size table */
  .hero, .hero-img { height: 360px; }
  .hero-title { font-size: 26px; line-height: 38px; }
  .hero-kicker, .hero-text { font-size: 16px; line-height: 26px; }
  .product-name { flex: 0 0 100%; max-width: 100%; }
  .modal-dialog { margin: 30px auto; }
}
@media (max-width: 575.98px) {
  .hero-slide.active { min-height: 260px; }
  .hero-kicker { font-size: 15px; }
  .hero-title { font-size: 20px; }     /* 20px from the measured font-size table */
  .hero-text { font-size: 14px; }
  .cookie-bar > div { padding: 15px; }
}

/* print: strip the interactive layers */
@media print {
  .site-header, .offcanvas, .offcanvas-backdrop, .cookie-bar, .modal, .lightbox, .back-to-top { display: none !important; }
}

/* --------------------------------------------------------------------------
   15. Chinese pages (html[lang="zh-CN"]): CJK font stack + Chinese line height
   --------------------------------------------------------------------------
   Open Sans / Roboto have no Chinese glyphs -> Chinese text used to fall back to the browser's default font.
   A local system CJK font stack is added here (zero external domains, hard constraint §4.2); Latin text and digits still use Open Sans.
   Line height: English body text measured 25px (1.5625) -> for Chinese 1.75 is used (16px × 1.75 = 28px),
   set after measuring the English card height in a real browser (see the length/layout check script in scripts/, no. 32).
   -------------------------------------------------------------------------- */
html[lang="zh-CN"] {
  --font-body: 'Open Sans', "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
               "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  --font-hero: 'Roboto', 'Open Sans', "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
               "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
}
html[lang="zh-CN"] body {
  line-height: 28px;                    /* 16px × 1.75 */
  letter-spacing: 0.01em;               /* slightly wider Chinese body text to avoid a crowded look */
}
html[lang="zh-CN"] .hero-title { line-height: 1.5; }   /* = 72px, same height as the English home page */
html[lang="zh-CN"] .hero-kicker { line-height: 1.5; }
html[lang="zh-CN"] .hero-text { line-height: 1.75; }
html[lang="zh-CN"] .product-card .product-desc { line-height: 1.7; }
html[lang="zh-CN"] .mega-list a,
html[lang="zh-CN"] .footer-links a,
html[lang="zh-CN"] .side-list a { line-height: 1.7; }
html[lang="zh-CN"] .mega-col-title { letter-spacing: 0; }

/* ---------------------------------------------------------------------------
   Article prev/next navigation (pager): measured from the original site .cd-pagination
   Original site: ul list-style:disc (bullets) -> li.button > a is a #fafafa pill with brand-green 16px text,
        96×50, padding 0 32px, radius 4px
   --------------------------------------------------------------------------- */
.pager { display: inline-block; margin: 24px 0 0; padding: 0; list-style: none; }
.pager > a, .pager > span { display: inline-block; }
.pager > span { display: none; }
.pager-prev, .pager-next {
  color: var(--brand); background-color: #fafafa; font-size: 16px; font-weight: 300;
  height: 50px; line-height: 50px; padding: 0 32px; border-radius: 0;
  text-decoration: none; margin: 0;
}
.pager .pager-prev { border-radius: 4px 0 0 4px; }
.pager .pager-next { border-radius: 0 4px 4px 0; }
.pager > a:only-of-type { border-radius: 4px; }
.pager-prev:hover, .pager-next:hover { color: #fff; background-color: var(--brand); }
