/* Montserrat + Open Sans, self-hosted (Google Fonts, OFL). Subsets: vietnamese, latin-ext, latin. */
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/montserrat-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Thanh Long JSC — trang chủ
   Bố cục theo kiểu website công nghiệp (header trắng, xanh dương chủ đạo,
   tiêu đề mục căn giữa, lưới sản phẩm/dự án/tin tức 4 cột, footer xanh). */

:root {
  --blue: #0059b1;
  --blue-2: #037ce7;
  --blue-3: #2395fa;
  --blue-dark: #00337a;
  --blue-light: #e8f4fd;
  --navy: #121728;
  --title: #1d3c78;
  --text: #333;
  --muted: #666;
  --line: #e5e5e5;
  --gray: #f4f6f9;
  --white: #fff;
  --accent: #f7a600;
  --zalo: #0068ff;
  --green: #51cb5a;

  --f-head: "Montserrat", Arial, sans-serif;
  --f-body: "Open Sans", Arial, Helvetica, sans-serif;

  --container: 1200px;
  --pad: 15px;
  --shadow-1: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
  --shadow-2: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
  --shadow-3: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
  --t: .3s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.ico--sm { width: 16px; height: 16px; }
.center { text-align: center; margin-top: 30px; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 18px;
  font: 700 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .03em;
  border: 2px solid transparent; border-radius: 3px;
  transition: background-color var(--t), color var(--t), border-color var(--t), box-shadow var(--t), transform .15s;
}
.button:active { transform: translateY(1px); }
.button--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.button--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .05); }
.button--outline { color: var(--blue); border-color: var(--blue); }
.button--outline:hover { background: var(--blue); color: var(--white); }
.button--block { width: 100%; min-height: 46px; font-size: 14px; }
.button .ico { transition: transform var(--t); }
.button:hover .ico { transform: translateX(3px); }

/* ---------- header ---------- */
.topbar { background: #c6eaf9; font-size: 13px; line-height: 30px; color: #305e8c; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar__right { display: flex; gap: 18px; align-items: center; }
.topbar__right a { display: inline-flex; align-items: center; gap: 5px; color: #305e8c; font-weight: 600; }
.topbar__right a:hover { color: var(--blue); }
.topbar .ico { width: 15px; height: 15px; }
.topbar__zalo { padding: 0 8px; line-height: 20px; border-radius: 3px; background: var(--zalo); color: var(--white) !important; font-size: 12px; }

.header-wrapper { position: relative; z-index: 50; background: var(--white); transition: box-shadow var(--t); }
.header-wrapper.stuck { position: fixed; top: 0; left: 0; right: 0; box-shadow: 1px 1px 10px rgba(0, 0, 0, .15); animation: stuckIn .35s ease; }
@keyframes stuckIn { from { transform: translateY(-100%); } to { transform: none; } }
.header-spacer { display: none; }
.header-wrapper.stuck + .header-spacer { display: block; }
.masthead { display: flex; align-items: center; gap: 20px; height: 83px; transition: height var(--t); }
.stuck .masthead { height: 70px; }

.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 52px; transition: width var(--t); }
.stuck .logo img { width: 44px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__txt b { font: 800 26px/1 var(--f-head); color: var(--blue); letter-spacing: .01em; }
.logo__txt small { font: 600 11px/1 var(--f-head); color: var(--title); text-transform: uppercase; letter-spacing: .08em; margin-top: 5px; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 26px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  position: relative; display: flex; align-items: center; gap: 2px;
  padding: 10px 0; font: 700 15px/32px var(--f-head); letter-spacing: .02em; text-transform: uppercase; color: #000; white-space: nowrap;
  transition: color .2s;
}
.nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: var(--blue-2);
  transform: scaleX(0); transition: transform .25s;
}
.nav > ul > li > a:hover, .nav > ul > li > a.active { color: var(--blue-2); }
.nav > ul > li > a:hover::after, .nav > ul > li > a.active::after { transform: scaleX(1); }

.dropdown {
  position: absolute; top: 100%; left: -15px; min-width: 260px; padding: 10px 0;
  background: var(--white); border-top: 3px solid var(--blue-2); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility 0s .25s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
.dropdown a { display: block; padding: 9px 20px; font-size: 14.5px; color: var(--text); border-bottom: 1px solid #f1f1f1; transition: color .2s, background .2s, padding .2s; }
.dropdown li:last-child a { border: 0; }
.dropdown a:hover { color: var(--blue-2); background: var(--gray); padding-left: 26px; }
/* sub-menu as wide as its longest item; hover shifts text 6px without changing width */
.dropdown { width: max-content; }
.dropdown a { white-space: nowrap; padding-right: 26px; }
.dropdown a:hover { padding-right: 20px; }

.nav-toggle { display: none; flex: none; width: 40px; height: 40px; place-items: center; color: var(--blue); }
.nav-toggle .ico { width: 28px; height: 28px; }

/* ---------- off-canvas (mobile) ---------- */
.offcanvas { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .35s; }
.offcanvas.is-open { visibility: visible; transition: none; }
.offcanvas__bg { position: absolute; inset: 0; background: rgba(11, 11, 11, .8); opacity: 0; transition: opacity .35s; }
.offcanvas.is-open .offcanvas__bg { opacity: 1; }
.offcanvas__panel { position: absolute; top: 0; bottom: 0; left: 0; width: 280px; max-width: 85%; overflow-y: auto; background: var(--white); padding: 50px 0 20px; transform: translateX(-100%); transition: transform .35s ease; }
.offcanvas.is-open .offcanvas__panel { transform: none; }
.offcanvas__close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; display: grid; place-items: center; color: #777; }
.mnav > li { position: relative; border-top: 1px solid #ececec; }
.mnav > li:last-child { border-bottom: 1px solid #ececec; }
.mnav a { display: block; padding: 13px 20px; font: 700 14px/1.3 var(--f-head); text-transform: uppercase; color: #222; }
.mnav a:hover { color: var(--blue-2); }
.mnav__toggle { position: absolute; top: 4px; right: 8px; width: 40px; height: 40px; display: grid; place-items: center; color: #888; transition: transform .25s; }
.mnav__toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--blue-2); }
.mnav__sub > ul { max-height: 0; overflow: hidden; background: var(--gray); transition: max-height .35s ease; }
.mnav__sub.is-open > ul { max-height: 400px; }
.mnav__sub li a { padding: 10px 20px 10px 32px; font: 400 14px/1.3 var(--f-body); text-transform: none; color: #444; }
.offcanvas__call { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px 15px 0; padding: 12px; background: var(--blue); color: var(--white); border-radius: 3px; font: 700 16px/1 var(--f-head); }
.offcanvas__call:hover { color: var(--white); background: var(--blue-dark); }
body.is-locked { overflow: hidden; }

/* ---------- banner slider ---------- */
.slider { position: relative; height: 504px; overflow: hidden; background: var(--blue-dark); }
.slider__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
/* ảnh lật ngang để watermark ở góc ảnh nằm dưới lớp phủ sáng bên trái */
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(-1.06, 1.06); transition: transform 7s linear; }
.slide.is-active .slide__bg { transform: scale(-1, 1); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(232, 244, 253, .96) 0%, rgba(232, 244, 253, .88) 38%, rgba(232, 244, 253, 0) 68%); }
.slide__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 60px; }
.slide__kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1.3 var(--f-head); text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.slide__kicker::before { content: ""; width: 26px; height: 3px; background: var(--blue-2); }
.slide__title { font: 800 clamp(34px, 4.6vw, 58px)/1.08 var(--f-head); text-transform: uppercase; color: var(--blue-dark); margin-bottom: 22px; max-width: 640px; }
.slide__list { display: grid; gap: 10px; }
.slide__list li { display: flex; align-items: center; gap: 10px; font: 700 17px/1.3 var(--f-head); color: var(--title); text-transform: uppercase; }
.slide__list .ico { width: 26px; height: 26px; color: var(--blue); }
.slide.is-active .slide__kicker, .slide.is-active .slide__title, .slide.is-active .slide__list li { animation: slideText .7s ease both; }
.slide.is-active .slide__title { animation-delay: .12s; }
.slide.is-active .slide__list li:nth-child(1) { animation-delay: .24s; }
.slide.is-active .slide__list li:nth-child(2) { animation-delay: .32s; }
@keyframes slideText { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }

.slider__cta { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; }
.slider__cta-in { display: flex; align-items: center; gap: 28px; }
.cta-tag { position: relative; display: inline-flex; align-items: center; height: 50px; padding: 0 44px 0 calc(var(--pad) + 26px); margin-left: calc(-1 * var(--pad) - 100vw); padding-left: calc(100vw + var(--pad) + 26px); background: var(--blue-dark); color: var(--white); font: 700 17px/1 var(--f-head); text-transform: uppercase; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); transition: background var(--t); }
.cta-tag:hover { background: var(--blue-2); color: var(--white); }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--f-head); color: var(--blue-dark); }
.cta-phone span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--blue); color: var(--white); }
.cta-phone:hover { color: var(--blue-2); }
.cta-web { font: 700 17px/1 var(--f-head); color: var(--title); }

.slider__arrow { position: absolute; z-index: 4; top: 50%; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--blue); box-shadow: var(--shadow-1); opacity: 0; transition: opacity .3s, background .2s, color .2s, transform .3s; }
.slider__arrow .ico { width: 30px; height: 30px; }
.slider__arrow--prev { left: 20px; transform: translateX(-10px); }
.slider__arrow--next { right: 20px; transform: translateX(10px); }
.slider:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; transform: none; }
.slider__arrow:hover { background: var(--blue); color: var(--white); }
.slider__dots { position: absolute; z-index: 4; right: 30px; bottom: 40px; display: flex; gap: 8px; }
.slider__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--blue); background: transparent; transition: background .3s, width .3s; }
.slider__dots button.is-active { background: var(--blue); width: 28px; border-radius: 6px; }

/* ---------- sections ---------- */
.section { padding: 60px 0; }
.section--gray { background: var(--gray); }
.section--blue { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3Ccircle cx='40' cy='40' r='22'/%3E%3C/g%3E%3C/svg%3E"); color: var(--white); }

.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { display: inline-block; font: 800 30px/1.2 var(--f-head); text-transform: uppercase; color: var(--blue); }
.section-title::after {
  content: ""; display: block; width: 180px; height: 12px; margin: 10px auto 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l6 6-6 6-6-6z' fill='none' stroke='%23037ce7' stroke-width='1.5'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(var(--line), var(--line)) left center / 76px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) right center / 76px 1px no-repeat;
}
.section-title--light h2 { color: var(--white); }
.section-title--light::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l6 6-6 6-6-6z' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) left center / 76px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) right center / 76px 1px no-repeat;
}
.section-lead { max-width: 760px; margin: -14px auto 28px; text-align: center; color: var(--muted); }
.block-title { position: relative; font: 800 22px/1.3 var(--f-head); text-transform: uppercase; color: var(--blue); padding-bottom: 10px; margin-bottom: 20px; border-bottom: 2px solid var(--line); }
.block-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 2px; background: var(--blue-2); }

/* ---------- about ---------- */
.about__in { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.about__title { font: 800 26px/1.3 var(--f-head); text-transform: uppercase; color: var(--title); margin-bottom: 16px; }
.about__txt p { text-align: justify; margin-bottom: 14px; color: #333; }
.about__txt p b { color: var(--title); }
.about__txt .button { margin-top: 6px; }
.about__img { overflow: hidden; border-radius: 4px; box-shadow: var(--shadow-1); }
.about__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.about__img:hover img { transform: scale(1.05); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stats li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 10px; border: 1px solid var(--line); border-top: 3px solid var(--blue-2); border-radius: 3px; background: var(--white); transition: box-shadow var(--t), transform var(--t); }
.stats li:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.stats b { font: 800 34px/1.1 var(--f-head); color: var(--blue); }
.stats li > span { font-size: 14px; color: var(--muted); }

/* ---------- product lines (blue boxes) ---------- */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.line-box { display: flex; flex-direction: column; padding: 26px 24px 22px; background: var(--blue); color: rgba(255, 255, 255, .9); transition: background var(--t), transform var(--t), box-shadow var(--t); }
.line-box:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-4px); box-shadow: var(--shadow-3); }
.line-box h3 { font: 800 24px/1.2 var(--f-head); text-transform: uppercase; color: var(--white); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.line-box p { font-size: 14.5px; line-height: 1.65; text-align: justify; margin-bottom: 16px; }
.line-box__more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font: 700 13px/1 var(--f-head); text-transform: uppercase; color: var(--white); }
.line-box:hover .line-box__more .ico { transform: translateX(4px); }
.line-box__more .ico { transition: transform var(--t); }

.group { margin-top: 30px; scroll-margin-top: 90px; }
.group__bar { display: flex; justify-content: space-between; align-items: center; padding: 0 18px; height: 50px; margin-bottom: 15px; background: var(--navy); }
.group__bar h3 { font: 800 20px/1 var(--f-head); text-transform: uppercase; color: var(--white); letter-spacing: .02em; }
.group__bar h3::before { content: ""; display: inline-block; width: 4px; height: 20px; margin-right: 12px; vertical-align: -3px; background: var(--blue-3); }
.group__bar a { display: inline-flex; align-items: center; gap: 3px; font: 600 13px/1 var(--f-head); color: #cfd8e8; }
.group__bar a:hover { color: var(--white); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.product { background: var(--white); box-shadow: var(--shadow-1); transition: box-shadow var(--t), transform var(--t); }
.product:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.product__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--white); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product__img--white img { object-fit: contain; padding: 14px; }
.product:hover .product__img img { transform: scale(1.1); }
.product__txt { padding: 14px 12px 16px; text-align: center; }
.product h4 { font: 700 15px/1.3 var(--f-head); text-transform: uppercase; color: #222; margin-bottom: 4px; transition: color .2s; }
.product:hover h4 { color: var(--blue-2); }
.product p { font-size: 12.5px; text-transform: uppercase; color: #888; line-height: 1.4; min-height: 2.8em; }
.product__btn { display: inline-block; margin-top: 10px; padding: 6px 14px; border: 1px solid var(--blue); border-radius: 3px; font: 700 12px/1.2 var(--f-head); text-transform: uppercase; color: var(--blue); transition: background .25s, color .25s; }
.product__btn:hover { background: var(--blue); color: var(--white); }

/* ---------- line config table + steps ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); min-width: 600px; }
.table th, .table td { padding: 13px 16px; border: 1px solid var(--line); text-align: left; }
.table thead th { background: var(--blue); color: var(--white); font: 700 14px/1.3 var(--f-head); text-transform: uppercase; border-color: var(--blue); }
.table tbody th { font-weight: 700; color: var(--title); background: #fafbfd; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover td, .table tbody tr:hover th { background: var(--blue-light); }
.table td a { display: inline-block; padding: 5px 12px; background: var(--blue); color: var(--white); border-radius: 3px; font: 700 12px/1.2 var(--f-head); text-transform: uppercase; }
.table td a:hover { background: var(--blue-dark); }

.steps { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 34px; counter-reset: s; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; font: 700 14.5px/1.3 var(--f-head); color: var(--title); }
.steps li::before { content: ""; position: absolute; top: 24px; left: 50%; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-2) 0 8px, transparent 8px 14px); z-index: 0; }
.steps li:last-child::before { display: none; }
.steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 10px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue-2); color: var(--blue); font: 800 20px/1 var(--f-head); transition: background var(--t), color var(--t); }
.steps li:hover span { background: var(--blue); color: var(--white); }
.steps small { display: block; margin-top: 3px; font: 400 13px/1.3 var(--f-body); color: var(--muted); }

/* ---------- why + compare ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { padding: 26px 20px; text-align: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); border-radius: 3px; transition: background var(--t), transform var(--t); }
.why__item:hover { background: rgba(255, 255, 255, .14); transform: translateY(-4px); }
.why__item .ico { width: 54px; height: 54px; padding: 12px; margin: 0 auto 14px; border-radius: 50%; background: var(--white); fill: var(--blue); }
.why__item h3 { font: 800 17px/1.3 var(--f-head); text-transform: uppercase; margin-bottom: 8px; }
.why__item p { font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.compare { margin-top: 36px; padding: 26px; background: var(--white); color: var(--text); border-radius: 3px; box-shadow: var(--shadow-3); }
.compare__head { display: grid; grid-template-columns: auto 1fr; gap: 10px 30px; align-items: center; margin-bottom: 18px; }
.compare__head h3 { font: 800 20px/1.3 var(--f-head); text-transform: uppercase; color: var(--blue); }
.compare__head p { color: var(--muted); font-size: 15px; }
.table--compare td:last-child { background: var(--blue-light); color: var(--blue); font-weight: 700; }
.table--compare thead th:last-child { background: var(--blue-2); }
.compare__src { margin-top: 10px; font-size: 13px; color: #888; }

/* ---------- posts (projects, services, news) ---------- */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.post { display: block; background: var(--white); color: var(--text); box-shadow: var(--shadow-1); transition: box-shadow var(--t), transform var(--t); }
.post:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); color: var(--text); }
.post__img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #ddd; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.post:hover .post__img img { transform: scale(1.1); }
.date { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 45px; height: 45px; background: var(--blue-2); color: var(--white); font: 400 11px/1.1 var(--f-body); }
.date b { font: 700 17px/1 var(--f-head); }
.post h3 { padding: 12px 14px 4px; font: 700 15px/1.4 var(--f-head); text-align: center; color: #222; transition: color .2s; }
.post:hover h3 { color: var(--blue-2); }
.post--card h3 { padding-bottom: 6px; }
.post p { padding: 0 14px 16px; font-size: 14px; text-align: center; color: var(--muted); }
.post--card h3:last-child { padding-bottom: 16px; }

.post--overlay { position: relative; }
.post--overlay .post__img { aspect-ratio: 4 / 3; }
.post--overlay .post__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .1) 55%); transition: background var(--t); }
.post--overlay:hover .post__img::after { background: linear-gradient(to top, rgba(0, 51, 122, .9) 0%, rgba(0, 51, 122, .2) 60%); }
.post--overlay h3 { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; color: var(--white); text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.post--overlay:hover h3 { color: var(--white); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { position: relative; padding: 24px 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 3px; transition: box-shadow var(--t), border-color var(--t); }
.review:hover { box-shadow: var(--shadow-2); border-color: transparent; }
.review__q { display: block; width: 34px; height: 34px; margin-bottom: 12px; fill: var(--blue-2); opacity: .35; }
.review blockquote { font-style: italic; color: #444; margin-bottom: 18px; text-align: justify; }
.review figcaption { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.review figcaption b { display: block; font: 700 15px/1.3 var(--f-head); color: var(--blue); }

/* ---------- FAQ + quote form ---------- */
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.faq__item { border: 1px solid var(--line); margin-bottom: 8px; background: var(--white); transition: border-color .2s; }
.faq__item.is-open { border-color: var(--blue-2); }
.faq__item button { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; font: 700 15px/1.4 var(--f-head); color: #222; transition: color .2s, background .2s; }
.faq__item button:hover { color: var(--blue-2); }
.faq__item.is-open button { color: var(--white); background: var(--blue); }
.faq__item button .ico { transition: transform .3s; }
.faq__item.is-open button .ico { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding: 14px 16px; font-size: 15px; color: #444; }

.quote__form { padding: 26px; background: var(--gray); border-top: 3px solid var(--blue-2); }
.quote__note { margin: 12px 0 0; font-size: 13.5px; text-align: center; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; color: #333; }
.field label span { color: #d0021b; }
.field input, .field select, .field textarea { width: 100%; height: 42px; padding: 0 12px; background: var(--white); border: 1px solid #ddd; border-radius: 0; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field select { appearance: none; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23333'/%3E%3C/svg%3E") no-repeat right 8px center / 20px; padding-right: 32px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 5px rgba(3, 124, 231, .35); }
.field__err { display: none; margin-top: 4px; font-size: 13px; color: #d0021b; }
.field.is-err input { border-color: #d0021b; }
.field.is-err .field__err { display: block; }
.js-form .button.is-loading { pointer-events: none; opacity: .7; }
.form-done { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 14px; background: #e9f8ea; border: 1px solid #b6e5b9; color: #276b2b; font-size: 14.5px; outline: none; animation: fadeDown .3s ease; }
.form-done .ico { fill: var(--green); width: 24px; height: 24px; }

/* ---------- footer ---------- */
.footer { color: rgba(255, 255, 255, .85); background: #0b37a8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05'%3E%3Ccircle cx='60' cy='60' r='50'/%3E%3Ccircle cx='60' cy='60' r='34'/%3E%3Cpath d='M60 10v100M10 60h100M25 25l70 70M95 25 25 95'/%3E%3C/g%3E%3C/svg%3E"); font-size: 14.5px; }
.footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 30px; padding-top: 50px; padding-bottom: 40px; }
.footer__title { font: 700 17px/1.4 var(--f-head); text-transform: uppercase; color: var(--white); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid rgba(255, 255, 255, .2); }
.footer__info li { display: flex; gap: 10px; margin-bottom: 10px; line-height: 1.55; }
.footer__info .ico { width: 18px; height: 18px; margin-top: 2px; fill: #9fd3ff; }
.footer__info b { color: var(--white); }
.footer a { color: rgba(255, 255, 255, .9); }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__note { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.footer__links li { margin-bottom: 8px; }
.footer__links a { position: relative; padding-left: 14px; transition: padding .2s, color .2s; }
.footer__links a::before { content: "›"; position: absolute; left: 0; color: #9fd3ff; }
.footer__links a:hover { padding-left: 18px; text-decoration: none; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.soc { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--white) !important; text-decoration: none !important; font: 800 10px/1 var(--f-body); transition: transform .25s, box-shadow .25s; }
.soc:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.soc .ico { width: 18px; height: 18px; }
.soc--zalo { background: var(--zalo); }
.soc--call { background: var(--green); }
.soc--mail { background: #e74c3c; }
.footer__map { position: relative; aspect-ratio: 4 / 3; background: rgba(255, 255, 255, .1); }
.footer__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.footer__bottom { background: var(--navy); color: rgba(255, 255, 255, .5); font-size: 13px; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.footer__bottom a { color: rgba(255, 255, 255, .75); }

/* ---------- floating contact ---------- */
.float { position: fixed; right: 20px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float__btn { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--white) !important; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .25s; }
.float__btn:hover { transform: scale(1.1); }
.float__btn--zalo { background: var(--zalo); font: 800 12px/1 var(--f-body); }
.float__btn--call { background: var(--blue-2); animation: shake 2.4s ease-in-out infinite; }
.float__btn--call::before, .float__btn--call::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blue-2); animation: ring 2.4s ease-out infinite; }
.float__btn--call::after { animation-delay: .8s; }
.float__btn--call .ico { width: 24px; height: 24px; }
.float__label { position: absolute; right: 40px; bottom: 9px; z-index: -1; padding: 0 22px 0 16px; line-height: 34px; background: var(--blue-2); color: var(--white); border-radius: 20px 0 0 20px; pointer-events: none; font: 700 14px/34px var(--f-head); white-space: nowrap; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-12deg); } 70%, 80%, 90% { transform: rotate(12deg); } }

.to-top { position: fixed; right: 25px; bottom: 164px; z-index: 40; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--blue); border-radius: 50%; background: var(--white); color: var(--blue); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background .2s, color .2s; }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: var(--white); }
.mbar { display: none; }


/* =====================================================================
   TRANG CON
   ===================================================================== */
.page-title { background: var(--gray); border-bottom: 1px solid var(--line); padding: 14px 0 12px; text-align: center; }
.page-title h1 { font: 800 21px/1.3 var(--f-head); text-transform: uppercase; color: var(--blue); }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; margin-top: 2px; font: 600 11px/1.5 var(--f-head); text-transform: uppercase; letter-spacing: .03em; color: #999; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #ccc; }
.crumbs a { color: #999; }
.crumbs a:hover { color: var(--blue-2); }
.crumbs [aria-current] { color: #333; }

.intro { max-width: 860px; margin: 0 auto 34px; text-align: center; color: #444; }
.intro b { color: var(--title); }
.prose p { margin-bottom: 14px; text-align: justify; }
.prose h2 { font: 800 22px/1.3 var(--f-head); text-transform: uppercase; color: var(--title); margin: 6px 0 14px; }
.prose h3 { font: 700 18px/1.35 var(--f-head); color: var(--title); margin: 22px 0 10px; }
.prose ul { margin: 0 0 16px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-light); }
.prose a { font-weight: 600; }

.hero-img { overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-1); }
.hero-img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; transition: transform 1.2s ease; }
.hero-img:hover img { transform: scale(1.03); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split + .split { margin-top: 50px; }
.split--rev > :first-child { order: 2; }
.split__img { overflow: hidden; box-shadow: var(--shadow-1); }
.split__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.split__img:hover img { transform: scale(1.05); }
.split__num { display: inline-block; font: 800 14px/1 var(--f-head); color: var(--white); background: var(--blue-2); padding: 6px 10px; margin-bottom: 12px; }

.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner { padding: 26px 22px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); text-align: center; transition: box-shadow var(--t), transform var(--t); }
.partner:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.partner b { display: block; font: 800 24px/1.1 var(--f-head); color: var(--blue-dark); text-transform: uppercase; margin-bottom: 8px; }
.partner span { font-size: 14px; color: var(--muted); }

.cta-band { background: var(--blue-dark) linear-gradient(90deg, var(--blue-dark), var(--blue)); color: var(--white); padding: 34px 0; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { font: 800 24px/1.3 var(--f-head); text-transform: uppercase; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 4px; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.button--white { background: var(--white); color: var(--blue); border-color: var(--white); }
.button--white:hover { background: transparent; color: var(--white); }
.button--ghost { color: var(--white); border-color: rgba(255, 255, 255, .6); }
.button--ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

/* bộ lọc sản phẩm */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; scroll-margin-top: 90px; }
.filter button { padding: 9px 16px; border: 1px solid #d5dbe5; background: var(--white); font: 700 13px/1.2 var(--f-head); text-transform: uppercase; color: #444; transition: background .2s, color .2s, border-color .2s; }
.filter button:hover { border-color: var(--blue-2); color: var(--blue-2); }
.filter button.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.products--page .product[hidden] { display: none; }
.product__cat { display: block; margin-bottom: 4px; font: 600 11px/1.3 var(--f-head); text-transform: uppercase; color: var(--blue-2); }
.product__acts { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.product__acts .product__btn { margin: 0; }
.product__btn--fill { background: var(--blue); color: var(--white); }
.product__btn--fill:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.product__img--none { display: grid !important; place-items: center; background: repeating-linear-gradient(-45deg, #f4f6f9 0 10px, #eef1f5 10px 20px); font: 600 12px/1 var(--f-head); color: #999; text-transform: uppercase; }

/* danh sách bài */
.posts--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.posts--3 .post h3 { text-align: left; font-size: 16px; padding: 14px 16px 6px; }
.posts--3 .post p { text-align: left; padding: 0 16px 18px; }
.post__meta { display: flex; align-items: center; gap: 6px; padding: 0 16px; font-size: 12.5px; color: #999; }
.post__meta .ico { width: 14px; height: 14px; }
.post[hidden] { display: none; }
.list-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.list-tools p { color: var(--muted); font-size: 14.5px; }
.list-empty { padding: 30px; text-align: center; color: var(--muted); background: var(--gray); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination button { min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid #ccc; border-radius: 3px; background: var(--white); font: 700 14px/1 var(--f-head); color: #444; transition: background .2s, color .2s, border-color .2s; }
.pagination button:hover:not(:disabled) { border-color: var(--blue-2); color: var(--blue-2); }
.pagination button.is-active { background: var(--blue-2); border-color: var(--blue-2); color: var(--white); }
.pagination button:disabled { opacity: .35; cursor: default; }
.list-more { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--muted); }

/* dịch vụ */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.svc { padding: 26px 20px; text-align: center; background: var(--white); border: 1px solid var(--line); transition: box-shadow var(--t), transform var(--t), border-color var(--t); }
.svc:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); border-color: transparent; }
.svc .ico { width: 60px; height: 60px; padding: 14px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue-light); fill: var(--blue); transition: background var(--t), fill var(--t); }
.svc:hover .ico { background: var(--blue); fill: var(--white); }
.svc h3 { font: 800 16px/1.3 var(--f-head); text-transform: uppercase; color: var(--title); margin-bottom: 8px; }
.svc p { font-size: 14.5px; color: var(--muted); }

/* báo giá */
.quote-page { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.quote-page .quote__form { padding: 30px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.checks span { display: inline-block; padding: 7px 14px; border: 1px solid #ccc; background: var(--white); font-size: 14px; transition: background .2s, border-color .2s, color .2s; }
.checks label:hover span { border-color: var(--blue-2); }
.checks input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.checks input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.fieldset-title { font: 700 14px/1.3 var(--f-head); text-transform: uppercase; color: var(--blue); margin: 6px 0 12px; padding-bottom: 8px; border-bottom: 1px dashed #ccd5e3; }
.side-box { padding: 24px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); margin-bottom: 20px; }
.side-box h3 { font: 800 17px/1.3 var(--f-head); text-transform: uppercase; color: var(--title); margin-bottom: 12px; }
.side-box ol { counter-reset: n; }
.side-box ol li { position: relative; padding-left: 36px; margin-bottom: 14px; font-size: 14.5px; }
.side-box ol li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-2); color: var(--white); font: 700 13px/1 var(--f-head); }
.side-box ol li b { display: block; color: var(--title); }
.side-call { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--blue); color: var(--white); }
.side-call:hover { background: var(--blue-dark); color: var(--white); }
.side-call .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--white); fill: var(--blue); }
.side-call small { display: block; font-size: 13px; opacity: .85; }
.side-call b { font: 800 22px/1.2 var(--f-head); }

/* liên hệ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact__info li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed #dde3ec; }
.contact__info .ico { width: 36px; height: 36px; padding: 8px; flex: none; border-radius: 50%; background: var(--blue-light); fill: var(--blue); }
.contact__info b { display: block; font: 700 14px/1.4 var(--f-head); text-transform: uppercase; color: var(--title); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office { background: var(--white); box-shadow: var(--shadow-1); }
.office__map { position: relative; aspect-ratio: 16 / 10; background: #e9edf3; }
.office__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.office__body { padding: 16px 18px; }
.office__body h3 { font: 800 16px/1.3 var(--f-head); text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.office__body p { font-size: 14.5px; color: #444; margin-bottom: 8px; }
.office__body a { font: 700 13px/1 var(--f-head); text-transform: uppercase; }

@media (max-width: 991px) {
  .split, .quote-page, .contact { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .partners { grid-template-columns: 1fr 1fr; }
  .posts--3 { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .offices { grid-template-columns: 1fr; }
  .hero-img img { aspect-ratio: 16 / 8; }
}
@media (max-width: 549px) {
  .page-title { padding: 12px 0 10px; }
  .page-title h1 { font-size: 18px; }
  .partners, .posts--3, .svc-grid { grid-template-columns: 1fr; }
  .filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pad)) 20px; padding: 0 var(--pad) 4px; scrollbar-width: none; }
  .filter::-webkit-scrollbar { display: none; }
  .filter button { flex: none; }
  .cta-band h2 { font-size: 19px; }
  .quote-page .quote__form { padding: 20px 16px; }
  .prose p { text-align: left; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1199px) {
  .masthead { gap: 16px; }
  .nav > ul { gap: 16px; }
  .nav > ul > li > a { font-size: 13.5px; letter-spacing: 0; }
  .logo img { width: 44px; }
  .logo__txt b { font-size: 21px; }
  .logo__txt small { font-size: 10px; letter-spacing: .05em; }
}
/* laptop nhỏ, iPad ngang: thu gọn thêm để menu vẫn nằm một hàng */
@media (max-width: 1099px) {
  .nav > ul { gap: 12px; }
  .nav > ul > li > a { font-size: 12.5px; }
  .logo__txt small { display: none; }
}

@media (max-width: 991px) {
  .topbar__left { display: none; }
  .topbar__in { justify-content: center; }
  .masthead { height: 70px; }
  .nav, .search-btn, .search-box { display: none; }
  .nav-toggle { display: grid; }
  .logo { margin: 0 auto; }
  .masthead::after { content: ""; width: 40px; }
  .slider { height: 440px; }
  .slide::before { background: linear-gradient(90deg, rgba(232, 244, 253, .95) 0%, rgba(232, 244, 253, .85) 55%, rgba(232, 244, 253, .2) 100%); }
  .cta-web { display: none; }
  .about__in { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .lines { grid-template-columns: 1fr; }
  .products, .posts { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .steps li:nth-child(3)::before { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .compare__head { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 549px) {
  body { padding-bottom: 56px; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 24px; }
  .section-title { margin-bottom: 26px; }
  .topbar__right li:first-child { display: none; }
  .logo img { width: 42px; }
  .logo__txt b { font-size: 20px; }
  .logo__txt small { font-size: 9.5px; }
  .slider { height: 420px; }
  .slide::before { background: linear-gradient(180deg, rgba(232, 244, 253, .92) 0%, rgba(232, 244, 253, .85) 60%, rgba(232, 244, 253, .55) 100%); }
  .slide__in { justify-content: flex-start; padding-top: 34px; }
  .slide__kicker { font-size: 12.5px; }
  .slide__title { font-size: 30px; }
  .slide__list li { font-size: 14px; }
  .slide__list .ico { width: 22px; height: 22px; }
  .slider__cta { bottom: 18px; }
  .slider__cta-in { gap: 14px; }
  .cta-tag { height: 42px; font-size: 13px; padding-right: 30px; }
  .cta-phone { font-size: 15px; }
  .cta-phone span { width: 32px; height: 32px; }
  .slider__arrow { display: none; }
  .slider__dots { right: 50%; transform: translateX(50%); bottom: 72px; }
  .about__txt p { text-align: left; }
  .stats b { font-size: 28px; }
  .products, .posts { gap: 10px; }
  .product h4 { font-size: 13px; }
  .product p { font-size: 11px; }
  .product__btn { font-size: 11px; padding: 5px 10px; }
  .post h3 { font-size: 13.5px; padding: 10px 10px 4px; }
  .post p { display: none; }
  .post--card h3 { padding-bottom: 12px; }
  .group__bar { padding: 0 12px; }
  .group__bar h3 { font-size: 15px; }
  .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3)::before { display: block; }
  .steps li:nth-child(even)::before { display: none; }
  .compare { padding: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .quote__form { padding: 20px 16px; }
  .footer__in { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom-in { flex-direction: column; text-align: center; }
  .float, .to-top { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--white); box-shadow: 0 -2px 10px rgba(0, 0, 0, .15); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 56px; font: 700 11.5px/1.2 var(--f-head); text-transform: uppercase; color: var(--blue); border-right: 1px solid var(--line); }
  .mbar .ico { width: 22px; height: 22px; }
  .mbar__zalo { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 5px; background: var(--zalo); color: var(--white); font-size: 7.5px; }
  .mbar__quote { background: var(--blue); color: var(--white) !important; border: 0 !important; font-size: 13px !important; }
}

/* màn hình rất hẹp: thu khoảng cách để logo vẫn nằm giữa */
@media (max-width: 374px) {
  .masthead { gap: 8px; }
  .logo { gap: 6px; }
  .logo img { width: 36px; }
  .logo__txt b { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.product .h4 { font: 700 15px/1.3 var(--f-head); text-transform: uppercase; color: #222; margin-bottom: 4px; transition: color .2s; }
.product:hover .h4 { color: var(--blue-2); }
.field .label { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #333; }
@media (max-width: 549px) { .product .h4 { font-size: 13px; } }
/* dấu * bắt buộc dùng chung selector với ô chọn: trả lại màu chữ cho ô chọn */
.field .checks label span { color: #333; }
.field .checks input:checked + span { color: var(--white); }

/* ---------- trang bài viết / sản phẩm ---------- */
.article-wrap { max-width: 900px; margin: 0 auto; }
.article__meta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.article__meta .ico { width: 15px; height: 15px; fill: var(--blue-2); }
.article__meta a { color: var(--blue-2); font-weight: 600; }
.article__body { font-size: 16px; line-height: 1.75; }
.article__body p { margin-bottom: 15px; text-align: justify; }
.article__body h2 { font: 800 24px/1.3 var(--f-head); text-transform: uppercase; color: var(--title); margin: 30px 0 14px; }
.article__body h3 { font: 700 20px/1.35 var(--f-head); color: var(--title); margin: 26px 0 12px; }
.article__body h4 { font: 700 18px/1.4 var(--f-head); color: var(--title); margin: 22px 0 10px; }
.article__body ul, .article__body ol { margin: 0 0 16px 22px; }
.article__body ul { list-style: none; margin-left: 0; }
.article__body ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.article__body ul li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-light); }
.article__body ol li { margin-bottom: 8px; padding-left: 4px; }
.article__body img { max-width: 100%; height: auto; display: block; margin: 8px auto 18px; }
.article__body figure { margin: 8px 0 20px; }
.article__body figure img { margin-bottom: 8px; }
.article__body figcaption { font-size: 13.5px; color: var(--muted); text-align: center; font-style: italic; }
.article__body blockquote { margin: 18px 0; padding: 16px 20px; border-left: 4px solid var(--blue-2); background: var(--blue-light); color: #334; font-style: italic; }
.article__body table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 14.5px; }
.article__body th, .article__body td { border: 1px solid #d7dee8; padding: 9px 11px; text-align: left; vertical-align: top; }
.article__body th { background: var(--blue-light); color: var(--blue-dark); font-weight: 700; }
.article__body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 10px 0 20px; }
.article__body video { max-width: 100%; height: auto; }
.article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.article__tags > span { font-weight: 700; color: var(--title); }
.article__tags a { padding: 5px 10px; background: var(--gray); color: #445; font-size: 13px; transition: background .2s, color .2s; }
.article__tags a:hover { background: var(--blue); color: var(--white); }
.article__cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; padding: 22px 24px; background: var(--blue-light); border-left: 4px solid var(--blue-2); }
.article__cta b { display: block; font: 700 17px/1.4 var(--f-head); color: var(--title); }
.article__cta span { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.article__cta .button { flex: none; }

.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid #ccc; border-radius: 3px; background: var(--white); font: 700 14px/1 var(--f-head); color: #444; transition: background .2s, color .2s, border-color .2s; }
.pagination a:hover { border-color: var(--blue-2); color: var(--blue-2); }
.pagination .is-active { background: var(--blue-2); border-color: var(--blue-2); color: var(--white); }
.pagination .is-disabled { opacity: .35; }
.pagination .gap { border: 0; background: none; min-width: 20px; color: var(--muted); }

@media (max-width: 767px) {
  .article__body { font-size: 15.5px; }
  .article__body h2 { font-size: 21px; }
  .article__body h3 { font-size: 18px; }
  .article__cta { flex-direction: column; align-items: flex-start; padding: 18px; }
  .article__cta .button { width: 100%; text-align: center; }
  .pagination { flex-wrap: wrap; }
}


/* ---------- product group pages ---------- */
.pcat-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.pcat-nav span { font: 600 13px/1.3 var(--f-head); color: var(--muted); text-transform: uppercase; margin-right: 4px; }
.pcat-nav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 3px; font: 600 13px/1.3 var(--f-head); color: var(--title); transition: border-color .2s, color .2s; }
.pcat-nav a:hover { border-color: var(--blue-2); color: var(--blue-2); }
.pcat-nav { margin: 0 0 26px; }
.pcat-nav a[aria-current="page"] { border-color: var(--blue); background: var(--blue); color: var(--white); }
.sec-block { margin-top: 10px; }
.products + .block-title, .table-wrap + .steps + .block-title { margin-top: 40px; }
.lines--page { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.nav > ul > li.nav__cta > a { padding: 9px 16px; background: var(--blue); color: var(--white); border-radius: 3px; }
.nav > ul > li.nav__cta > a::after { display: none; }
.nav > ul > li.nav__cta > a:hover, .nav > ul > li.nav__cta > a.active { background: var(--blue-dark); color: var(--white); }

/* ---------- listing pages: content 3/4 + right sidebar 1/4 ---------- */
.with-side { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.with-side__main > .intro { text-align: left; max-width: none; margin-left: 0; }
.side { display: flex; flex-direction: column; gap: 20px; }
.side-box { background: var(--white); box-shadow: var(--shadow-1); padding: 18px 18px 14px; }
.side-box__title { font: 800 15px/1.3 var(--f-head); text-transform: uppercase; color: var(--blue); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--line); }
.side-cat > li + li { border-top: 1px solid #f1f1f1; }
.side-cat a { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--text); transition: color .2s; }
.side-cat a span { flex: none; min-width: 26px; padding: 1px 7px; border-radius: 10px; background: var(--gray); font: 600 11.5px/1.6 var(--f-head); text-align: center; color: var(--muted); }
.side-cat a:hover, .side-cat a[aria-current="page"] { color: var(--blue-2); }
.side-cat a[aria-current="page"] span { background: var(--blue-2); color: var(--white); }
.side-cat__group { padding: 10px 0 6px; font: 700 14px/1.35 var(--f-head); text-transform: uppercase; color: var(--title) !important; }
.side-cat__group:hover, .side-cat__group[aria-current="page"] { color: var(--blue-2) !important; }
.side-cat ul { padding: 0 0 8px 10px; }
.side-cat ul a { padding: 5px 0; font-size: 14px; }
.side-box--cta { background: var(--blue-light); }
.side-box--cta p { font-size: 14px; margin-bottom: 12px; }
.side-box__call { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font: 700 15px/1 var(--f-head); color: var(--blue); }
.with-side .posts--3 { gap: 20px; }
/* product cards inside the 3/4 column: fixed card width, filled from the left */
.products--side { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; }
.products--side > .product { flex: 0 0 calc((100% - 30px) / 3); }
.products--side.products--n4 > .product { flex-basis: calc((100% - 45px) / 4); }

@media (max-width: 991px) {
  .with-side { grid-template-columns: 1fr; }

  .products--side > .product, .products--side.products--n4 > .product { flex-basis: calc((100% - 15px) / 2); }
}
.side-box__title a { color: inherit; }
.side-box__title a:hover { color: var(--blue-2); }
.side-cat > li + li { border-top: 1px solid #f1f1f1; }
.side-cat > li > a { padding: 9px 0; font-size: 14.5px; }
/* product cards: equal height per row, buttons pinned to the bottom so they line up */
.product { display: flex; flex-direction: column; }
.product__txt { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; }
.product__txt > p { margin-bottom: 10px; }
.product__txt > .product__acts, .product__txt > .product__btn { margin-top: auto; }
/* listing intro: light-blue note with an info icon */
.intro-note { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 26px; padding: 14px 18px; background: var(--blue-light); border-left: 4px solid var(--blue-2); border-radius: 3px; color: #444; }
.intro-note .ico { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--blue-2); }
.intro-note p { margin: 0; line-height: 1.65; }
.intro-note b { color: var(--title); }
/* article pages: text 3/4 left, section sidebar 1/4 right */
.with-side > .article-wrap { max-width: none; margin: 0; }
.with-side > .article-wrap .article__meta { justify-content: flex-start; }
.with-side > .article-wrap .article__body img { max-width: 100%; height: auto; }
.with-side > .article-wrap .article__body iframe { max-width: 100%; }
.with-side > .article-wrap .article__body table { display: block; max-width: 100%; overflow-x: auto; }
/* section pages: company videos */
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 10px; }
.vid { margin: 0; background: var(--white); box-shadow: var(--shadow-1); }
.vid__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vid__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid figcaption { padding: 10px 12px 12px; font-size: 13.5px; line-height: 1.45; color: var(--text); }
.vid figcaption a { font-weight: 600; }
.sec-more { margin: 4px 0 30px; text-align: center; }
.with-side__main .steps { margin-bottom: 30px; }
.product h2.h4 a, .product h4 a { color: inherit; }
@media (max-width: 767px) { .vids { grid-template-columns: 1fr; } }
/* process steps: one row whatever the number of steps (desktop) */
@media (min-width: 992px) {
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
/* section pages: clear space between stacked blocks (products, steps, videos, projects, articles) */
.with-side__main .products + .sec-block,
.with-side__main .steps + .sec-block,
.with-side__main .vids + .sec-block,
.with-side__main .posts + .sec-block,
.with-side__main .sec-more + .sec-block,
.with-side__main .table-wrap ~ .sec-block { margin-top: 48px; }
.with-side__main .vids { margin-bottom: 0; }
.with-side__main .sec-more { margin: 22px 0 0; }
/* small phones: one article card per row (machine grids stay 2 per row) */
@media (max-width: 549px) {
  .posts, .posts--3 { grid-template-columns: 1fr; gap: 16px; }
  .post h3, .posts--3 .post h3 { font-size: 16px; padding: 12px 14px 6px; text-align: left; }
  .post .post__meta { display: flex; padding: 0 14px 14px; }
}
/* featured images: show the whole picture (no cropping), cards stay the same size */
.post__img { background: #eef1f5; }
.post__img img { object-fit: contain; }
.post:hover .post__img img { transform: scale(1.03); }
/* machine images: whole picture too */
.product__img { background: var(--white); }
.product__img img { object-fit: contain; }
.product:hover .product__img img { transform: scale(1.03); }
