/* =========================================================================
   HAPCO – giao diện website
   Màu nhận diện: Đỏ #ED1C24 · Xám #414042
   ========================================================================= */
:root {
  --red: #ED1C24;
  --red-d: #c8121a;
  --red-l: #fdeced;
  --gray: #414042;
  --dark: #1f1e20;
  --dark-2: #2a292b;
  --ink: #232224;
  --muted: #66656a;
  --line: #e4e4e7;
  --light: #f5f5f6;
  --white: #fff;
  --r: 6px;
  --r-lg: 12px;
  --sh: 0 1px 2px rgba(20, 20, 22, .06), 0 6px 20px rgba(20, 20, 22, .06);
  --sh-h: 0 2px 4px rgba(20, 20, 22, .08), 0 14px 34px rgba(20, 20, 22, .12);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --hbar: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-d); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--dark); font-weight: 700; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: var(--r); }
.hp-skip:focus { left: 8px; color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.hp-ic { width: 1.15em; height: 1.15em; flex: none; }
.hp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.hp-wrap--narrow { max-width: 860px; }
.hp-wrap--mid { max-width: 1040px; }
.hp-sec { padding: 72px 0; }
.hp-sec--tight { padding: 40px 0; }
.hp-sec--light { background: var(--light); }
.hp-sec.hp-wrap { padding-left: 20px; padding-right: 20px; }

/* ---------- Typo blocks ---------- */
.hp-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.hp-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%); }
.hp-eyebrow--light { color: #ff6b70; }
.hp-eyebrow--light::before { background: #ff6b70; }
.hp-h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.01em; }
.hp-h3 { font-size: 22px; font-weight: 700; }
.hp-lead { font-size: 17px; color: var(--muted); }
.hp-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.hp-sechead .hp-h2 { margin: 0; }
.hp-sechead--center { justify-content: center; text-align: center; }
.hp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.hp-link .hp-ic { transition: transform .2s; }
.hp-link:hover .hp-ic { transform: translateX(3px); }
.hp-link--light { color: #fff; }
.hp-link--light:hover { color: #ffb3b5; }
.hp-empty { color: var(--muted); padding: 24px 0; }

/* ---------- Buttons ---------- */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: var(--r); border: 2px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; text-align: center; }
.hp-btn:active { transform: translateY(1px); }
.hp-btn--red { background: var(--red); color: #fff; }
.hp-btn--red:hover { background: var(--red-d); color: #fff; }
.hp-btn--dark { background: var(--dark); color: #fff; }
.hp-btn--dark:hover { background: var(--red); color: #fff; }
.hp-btn--white { background: #fff; color: var(--red); }
.hp-btn--white:hover { background: var(--dark); color: #fff; }
.hp-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.hp-btn--ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.hp-btn--outline { border-color: var(--line); color: var(--dark); background: #fff; }
.hp-btn--outline:hover { border-color: var(--red); color: var(--red); }
.hp-btn--block { width: 100%; }
.hp-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--light); color: var(--gray); }
.hp-tag--red { background: var(--red-l); color: var(--red-d); }
.hp-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: transparent; color: var(--dark); cursor: pointer; }
.hp-iconbtn:hover { background: var(--light); color: var(--red); }
.hp-iconbtn .hp-ic { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.hp-header { position: sticky; top: 0; z-index: 100; background: #fff; }
.admin-bar .hp-header { top: 32px; }
.hp-top { background: var(--gray); color: #e6e6e8; font-size: 13px; }
.hp-top__in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.hp-top__info { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.hp-top__info li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.hp-top__info:first-child { min-width: 0; flex: 1; }
.hp-top__addr { min-width: 0; }
.hp-top__addr span { overflow: hidden; text-overflow: ellipsis; }
.hp-top__info--r { flex: none; }
.hp-top__info a { color: #e6e6e8; display: inline-flex; align-items: center; gap: 7px; }
.hp-top__info a:hover { color: #fff; }
.hp-top .hp-ic { color: #ff6b70; width: 15px; height: 15px; }
.hp-lang { display: inline-flex; align-items: center; gap: 2px; background: rgba(255, 255, 255, .1); border-radius: 99px; padding: 3px; }
.hp-lang a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #e6e6e8 !important; }
.hp-lang a img { width: 16px !important; height: 11px !important; border-radius: 2px; }
.hp-lang a.is-active { background: var(--red); color: #fff !important; }

.hp-bar { border-bottom: 1px solid var(--line); background: #fff; transition: box-shadow .2s; }
.hp-header.is-stuck .hp-bar { box-shadow: 0 6px 18px rgba(0, 0, 0, .07); }
.hp-bar__in { display: flex; align-items: center; gap: 24px; min-height: var(--hbar); }
.hp-logo { flex: none; display: block; }
.hp-logo img { height: 46px; width: auto; }
.hp-logo__txt { font-weight: 800; font-size: 28px; color: var(--red); }
.hp-nav { flex: 1; display: flex; justify-content: center; }
.hp-menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.hp-menu > li { position: relative; }
.hp-menu > li > a { display: flex; align-items: center; gap: 4px; height: var(--hbar); padding: 0 13px; font-weight: 600; font-size: 15px; color: var(--dark); position: relative; white-space: nowrap; }
.hp-menu > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.hp-menu > li:hover > a, .hp-menu > li.current-menu-item > a, .hp-menu > li.current-menu-ancestor > a, .hp-menu > li.current-menu-parent > a { color: var(--red); }
.hp-menu > li:hover > a::after, .hp-menu > li.current-menu-item > a::after, .hp-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.hp-menu .menu-item-has-children > a::before { content: ""; order: 2; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 6px; opacity: .7; }
.hp-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 0 0 var(--r) var(--r); border-top: 3px solid var(--red); box-shadow: var(--sh-h); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.hp-menu li:hover > .sub-menu, .hp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hp-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: var(--r); color: var(--ink); font-size: 14.5px; font-weight: 500; }
.hp-menu .sub-menu a:hover { background: var(--red-l); color: var(--red); }
.hp-menu .sub-menu .sub-menu { top: -8px; left: 100%; border-radius: var(--r); }
.hp-bar__act { display: flex; align-items: center; gap: 8px; flex: none; }
.hp-burger { display: none; }

.hp-search { border-top: 1px solid var(--line); background: #fff; padding: 16px 0; }
.hp-search__form { display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: var(--r); padding: 4px 4px 4px 14px; background: #fff; }
.hp-search__form:focus-within { border-color: var(--red); }
.hp-search__form > .hp-ic { color: var(--muted); }
.hp-search__form input { flex: 1; border: 0; outline: 0; font: inherit; padding: 8px 0; min-width: 0; background: transparent; }
.hp-search__form--page { margin: 0 0 32px; }

/* Drawer (mobile) */
.hp-overlay { position: fixed; inset: 0; background: rgba(15, 15, 17, .55); z-index: 140; }
.hp-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 150; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; }
.hp-drawer.is-open { transform: none; }
.hp-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.hp-drawer__head img { height: 36px; width: auto; }
.hp-drawer__search { display: flex; margin: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.hp-drawer__search input { flex: 1; border: 0; padding: 10px 12px; font: inherit; outline: 0; min-width: 0; }
.hp-drawer__search button { border: 0; background: var(--red); color: #fff; width: 46px; border-radius: 0 var(--r) var(--r) 0; display: flex; align-items: center; justify-content: center; }
.hp-mmenu, .hp-mmenu ul { list-style: none; margin: 0; padding: 0; }
.hp-mmenu li { position: relative; border-bottom: 1px solid var(--light); }
.hp-mmenu a { display: block; padding: 13px 52px 13px 18px; color: var(--dark); font-weight: 600; }
.hp-mmenu .sub-menu { display: none; background: var(--light); }
.hp-mmenu .sub-menu a { font-weight: 500; padding-left: 30px; font-size: 15px; }
.hp-mmenu li.is-open > .sub-menu { display: block; }
.hp-mmenu .hp-sub-toggle { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; border: 0; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hp-mmenu li.is-open > .hp-sub-toggle .hp-ic { transform: rotate(180deg); }
.hp-drawer__foot { margin-top: auto; padding: 16px; display: grid; gap: 12px; }
.hp-lang--drawer { background: var(--light); justify-self: start; }
.hp-lang--drawer a { color: var(--dark) !important; }

/* ---------- Page hero ---------- */
.hp-phero { position: relative; color: #fff; padding: 56px 0 52px; background: var(--dark) var(--bg, none) center/cover no-repeat; isolation: isolate; }
.hp-phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 19, 21, .94) 0%, rgba(20, 19, 21, .82) 50%, rgba(20, 19, 21, .55) 100%); }
.hp-phero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 180px; height: 5px; background: var(--red); clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%); }
.hp-phero__title { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 10px 0 8px; }
.hp-phero__sub { color: #d4d4d8; max-width: 760px; margin: 0; font-size: 16.5px; }
.hp-crumb { font-size: 13.5px; color: #b9b9be; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hp-crumb a { color: #e4e4e7; }
.hp-crumb a:hover { color: #fff; }
.hp-crumb .sep { opacity: .5; }
.hp-crumbbar { background: var(--light); border-bottom: 1px solid var(--line); padding: 12px 0; }
.hp-crumbbar .hp-crumb { color: var(--muted); }
.hp-crumbbar .hp-crumb a { color: var(--gray); }
.hp-crumbbar .hp-crumb a:hover { color: var(--red); }

/* ---------- Hero slider ---------- */
.hp-hero { position: relative; background: var(--dark); min-height: clamp(460px, 72vh, 660px); overflow: hidden; }
.hp-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.hp-hero__slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: clamp(460px, 72vh, 660px); }
.hp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hp-hero__slide.is-active .hp-hero__bg { transform: scale(1); }
.hp-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 17, 19, .9) 0%, rgba(18, 17, 19, .7) 42%, rgba(18, 17, 19, .15) 100%); }
.hp-hero__in { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 90px; }
.hp-hero__box { max-width: 640px; color: #fff; }
.hp-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--red); padding: 6px 14px 6px 12px; clip-path: polygon(0 0, 94% 0, 100% 50%, 94% 100%, 0 100%); padding-right: 22px; margin-bottom: 18px; }
.hp-hero__title { color: #fff; font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.015em; line-height: 1.12; margin-bottom: 18px; }
.hp-hero__text { font-size: 18px; color: #e4e4e7; max-width: 560px; margin-bottom: 28px; }
.hp-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-hero__slide .hp-hero__box > * { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.hp-hero__slide.is-active .hp-hero__box > * { opacity: 1; transform: none; }
.hp-hero__slide.is-active .hp-hero__box > *:nth-child(2) { transition-delay: .1s; }
.hp-hero__slide.is-active .hp-hero__box > *:nth-child(3) { transition-delay: .2s; }
.hp-hero__slide.is-active .hp-hero__box > *:nth-child(4) { transition-delay: .3s; }
.hp-hero__nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 70px; display: flex; align-items: center; gap: 14px; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.hp-hero__arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.hp-hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hp-hero__dots { display: flex; gap: 8px; }
.hp-hero__dots button { width: 26px; height: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: .3s; }
.hp-hero__dots button.is-active { width: 46px; background: var(--red); }

/* ---------- Pillars ---------- */
.hp-pillars { position: relative; z-index: 4; margin-top: -48px; }
.hp-pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.hp-pillar { display: flex; gap: 16px; padding: 28px 26px; background: #fff; box-shadow: var(--sh-h); border-top: 4px solid transparent; transition: border-color .2s, transform .2s; }
.hp-pillar + .hp-pillar { border-left: 1px solid var(--line); }
.hp-pillar:first-child { border-radius: var(--r) 0 0 var(--r); }
.hp-pillar:last-child { border-radius: 0 var(--r) var(--r) 0; }
.hp-pillar:hover { border-top-color: var(--red); }
.hp-pillar__ic { flex: none; width: 54px; height: 54px; border-radius: var(--r); background: var(--red-l); color: var(--red); display: flex; align-items: center; justify-content: center; }
.hp-pillar__ic .hp-ic { width: 28px; height: 28px; }
.hp-pillar h3 { font-size: 17.5px; margin-bottom: 6px; }
.hp-pillar p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- About ---------- */
.hp-about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.hp-about__media { position: relative; padding: 0 0 28px 28px; }
.hp-about__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; background: var(--red); border-radius: var(--r); }
.hp-about__media img { position: relative; width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--r); box-shadow: var(--sh-h); }
.hp-about__badge { position: absolute; right: -18px; top: 28px; background: var(--dark); color: #fff; padding: 18px 22px; border-radius: var(--r); box-shadow: var(--sh-h); text-align: center; }
.hp-about__badge strong { display: block; font-size: 34px; line-height: 1; color: #ff6b70; font-weight: 800; }
.hp-about__badge span { font-size: 13px; color: #d4d4d8; }
.hp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0 30px; }
.hp-stat { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; }
.hp-stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--dark); line-height: 1.15; }
.hp-stat span { font-size: 14px; color: var(--muted); }
.hp-statband { background: var(--dark); padding: 44px 0; }
.hp-stats--band { grid-template-columns: repeat(4, 1fr); margin: 0 auto; }
.hp-stats--band strong { color: #fff; }
.hp-stats--band span { color: #c4c4c9; }

/* ---------- Category cards ---------- */
.hp-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-cat { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); color: var(--ink); transition: transform .25s, box-shadow .25s; }
.hp-cat:hover { transform: translateY(-4px); box-shadow: var(--sh-h); color: var(--ink); }
.hp-cat__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; background: linear-gradient(135deg, #2a292b, #414042); color: rgba(255, 255, 255, .25); overflow: hidden; }
.hp-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hp-cat:hover .hp-cat__media img { transform: scale(1.06); }
.hp-cat__media > .hp-ic { width: 72px; height: 72px; }
.hp-cat__body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 20px 20px; flex: 1; }
.hp-cat__ic { position: absolute; top: -26px; left: 20px; width: 52px; height: 52px; border-radius: var(--r); background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(237, 28, 36, .35); }
.hp-cat__ic .hp-ic { width: 26px; height: 26px; }
.hp-cat strong { font-size: 17px; color: var(--dark); line-height: 1.35; }
.hp-cat small { color: var(--muted); font-size: 14px; line-height: 1.55; }
.hp-cat em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Product cards ---------- */
.hp-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.hp-pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s, border-color .25s, transform .25s; }
.hp-pcard:hover { box-shadow: var(--sh-h); border-color: transparent; transform: translateY(-3px); }
.hp-pcard__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 18px; background: #fff; border-bottom: 1px solid var(--line); }
.hp-pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.hp-pcard:hover .hp-pcard__img img { transform: scale(1.05); }
.hp-pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hp-pcard__brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.hp-pcard__title { font-size: 16px; font-weight: 600; margin: 0; line-height: 1.4; }
.hp-pcard__title a { color: var(--dark); }
.hp-pcard__title a:hover { color: var(--red); }
.hp-pcard__cta { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.hp-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 120px; background: var(--light); color: #c6c6cb; }
.hp-noimg .hp-ic { width: 56px; height: 56px; }
.hp-noimg--lg { aspect-ratio: 1; }

/* ---------- Brands & clients ---------- */
.hp-brandgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.hp-brand { display: flex; align-items: center; justify-content: center; height: 104px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: .25s; }
.hp-brand img { max-height: 58px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .25s; }
.hp-brand span { font-weight: 800; font-size: 20px; color: var(--gray); }
.hp-brand:hover { border-color: var(--red); box-shadow: var(--sh); }
.hp-brand:hover img { filter: none; opacity: 1; }
.hp-clients { padding-bottom: 80px; overflow: hidden; }
.hp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hp-marquee__track { display: flex; gap: 18px; width: max-content; animation: hp-marquee 60s linear infinite; }
.hp-marquee:hover .hp-marquee__track { animation-play-state: paused; }
@keyframes hp-marquee { to { transform: translateX(-50%); } }
.hp-client { flex: none; display: flex; align-items: center; justify-content: center; width: 180px; height: 96px; padding: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.hp-client img { max-height: 68px; width: auto; object-fit: contain; }
.hp-logowall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.hp-logowall__item { display: flex; align-items: center; justify-content: center; height: 96px; padding: 12px 16px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); }
.hp-logowall__item img { max-height: 68px; width: auto; object-fit: contain; }

/* ---------- Dark services ---------- */
.hp-dark { background: var(--dark); color: #d4d4d8; position: relative; overflow: hidden; }
.hp-dark::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 60px solid rgba(237, 28, 36, .08); border-radius: 50%; }
.hp-dark .hp-h2 { color: #fff; }
.hp-svc { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-svc__item { position: relative; padding: 30px 24px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-lg); transition: .25s; }
.hp-svc__item:hover { border-color: var(--red); transform: translateY(-4px); }
.hp-svc__num { position: absolute; right: 20px; top: 16px; font-size: 40px; font-weight: 800; color: rgba(255, 255, 255, .07); line-height: 1; }
.hp-svc__ic { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: var(--r); background: var(--red); color: #fff; margin-bottom: 18px; }
.hp-svc__ic .hp-ic { width: 26px; height: 26px; }
.hp-svc__item h3 { color: #fff; font-size: 18px; }
.hp-svc__item p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #b9b9be; }
.hp-inds { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hp-inds__label { font-weight: 700; color: #fff; margin-right: 8px; }
.hp-ind { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #e4e4e7; font-size: 14.5px; font-weight: 500; }
.hp-ind .hp-ic { color: #ff6b70; }

/* ---------- News cards ---------- */
.hp-ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hp-ncard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); transition: .25s; }
.hp-ncard:hover { box-shadow: var(--sh-h); transform: translateY(-3px); }
.hp-ncard__img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.hp-ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hp-ncard:hover .hp-ncard__img img { transform: scale(1.05); }
.hp-ncard__body { padding: 20px 22px 24px; }
.hp-ncard time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.hp-ncard time .hp-ic { color: var(--red); width: 15px; height: 15px; }
.hp-ncard__title { font-size: 18px; line-height: 1.4; }
.hp-ncard__title a { color: var(--dark); }
.hp-ncard__title a:hover { color: var(--red); }
.hp-ncard p { color: var(--muted); font-size: 14.5px; margin: 0; }
.hp-actgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.hp-act { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); }
.hp-act:first-child { grid-column: span 2; grid-row: span 2; }
.hp-act img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.hp-act:hover img { transform: scale(1.05); opacity: .9; }
.hp-act figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font-size: 13.5px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.hp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hp-chips a { padding: 7px 16px; border-radius: 99px; background: var(--light); color: var(--gray); font-weight: 600; font-size: 14px; }
.hp-chips a.is-active, .hp-chips a:hover { background: var(--red); color: #fff; }

/* ---------- CTA band ---------- */
.hp-ctaband { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.hp-ctaband::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 38%; background: var(--red-d); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.hp-ctaband__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.hp-ctaband__title { color: #fff; font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 6px; }
.hp-ctaband p { margin: 0; color: #ffe1e2; max-width: 680px; }
.hp-ctaband__act { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.hp-footer { background: #18171a; color: #b5b5ba; font-size: 14.5px; }
.hp-footer__grid { display: grid; grid-template-columns: 1.35fr 1.4fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 44px; }
.hp-footer__brand img { height: 44px; width: auto; margin-bottom: 16px; }
.hp-footer__name { color: #fff; font-weight: 700; margin-bottom: 8px; }
.hp-footer__h { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.hp-footer__h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--red); }
.hp-footer__contact, .hp-footer__links, .hp-footer ul.menu { list-style: none; margin: 0; padding: 0; }
.hp-footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.55; }
.hp-footer__contact .hp-ic { color: #ff6b70; margin-top: 3px; width: 17px; height: 17px; }
.hp-footer__contact strong { color: #e4e4e7; font-weight: 600; }
.hp-footer a { color: #c9c9ce; }
.hp-footer a:hover { color: #fff; }
.hp-footer__links li { margin-bottom: 10px; }
.hp-footer__links a { display: inline-flex; align-items: center; gap: 6px; }
.hp-footer__links .hp-ic { width: 14px; height: 14px; color: var(--red); }
.hp-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13.5px; }
.hp-footer__bottom-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hp-socials { display: flex; gap: 8px; margin-top: 16px; }
.hp-socials a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; transition: .2s; }
.hp-socials a:hover { background: var(--red); color: #fff; }
.hp-socials .hp-ic { width: 18px; height: 18px; }
.hp-socials--dark a { background: var(--light); color: var(--dark); }

/* ---------- Floating & mobile bar ---------- */
.hp-floats { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.hp-float { position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); border: 0; cursor: pointer; transition: transform .2s; }
.hp-float:hover { transform: scale(1.07); color: #fff; }
.hp-float .hp-ic { width: 24px; height: 24px; }
.hp-float > span { position: absolute; right: 62px; white-space: nowrap; background: var(--dark); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--r); opacity: 0; pointer-events: none; transform: translateX(6px); transition: .2s; }
.hp-float:hover > span { opacity: 1; transform: none; }
.hp-float--phone { background: var(--red); animation: hp-ring 2.4s infinite; }
.hp-float--zalo { background: #0068ff; }
.hp-float--zalo b, .hp-zalo-txt { font-size: 13px; font-weight: 800; letter-spacing: -.02em; }
.hp-float--mess { background: linear-gradient(135deg, #0a7cff, #a033ff); }
.hp-float--top { background: var(--dark); width: 44px; height: 44px; }
.hp-float--top .hp-ic { transform: rotate(180deg); }
@keyframes hp-ring { 0% { box-shadow: 0 0 0 0 rgba(237, 28, 36, .5); } 70% { box-shadow: 0 0 0 16px rgba(237, 28, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 28, 36, 0); } }
.hp-mbar { display: none; }

/* ---------- Content (editor) ---------- */
.hp-content { font-size: 16.5px; line-height: 1.75; }
.hp-content > * + * { margin-top: 1em; }
.hp-content h2 { font-size: 26px; margin-top: 1.6em; padding-left: 14px; border-left: 4px solid var(--red); }
.hp-content h3 { font-size: 20px; margin-top: 1.4em; }
.hp-content ul, .hp-content ol { padding-left: 1.3em; }
.hp-content li { margin-bottom: .4em; }
.hp-content ul li::marker { color: var(--red); }
.hp-content img { border-radius: var(--r); }
.hp-content figure { margin: 1.5em 0; }
.hp-content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.hp-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hp-content th, .hp-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.hp-content th { background: var(--light); }
.hp-content blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--red); background: var(--light); border-radius: 0 var(--r) var(--r) 0; }
.hp-content a { text-decoration: underline; text-underline-offset: 3px; }
.hp-content .wp-block-columns { gap: 28px; }
.hp-content .wp-block-gallery { gap: 12px; }
.hp-content .wp-block-gallery img { aspect-ratio: 4/3; object-fit: cover; }
.hp-content--wide { max-width: none; }
/* Card khối "nhóm" trong nội dung (dịch vụ, giá trị) */
.hp-content .is-style-hp-card, .hp-content .hp-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--sh); }
.hp-content .hp-card h3 { margin-top: 0; }
.hp-content .hp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 1.5em 0; }
.hp-content .hp-cards:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
.hp-content .hp-certs { align-items: start; }
.hp-content .hp-certs { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 22px; }
.hp-content .hp-certs img { border: 1px solid var(--line); box-shadow: var(--sh); }
.hp-content .hp-lead-box { font-size: 18px; color: var(--gray); padding: 22px 26px; background: var(--light); border-radius: var(--r-lg); border-left: 4px solid var(--red); }

/* ---------- Services steps ---------- */
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.hp-step { position: relative; text-align: center; padding: 0 10px; counter-increment: s; }
.hp-step::after { content: ""; position: absolute; top: 34px; left: calc(50% + 46px); right: calc(-50% + 46px); border-top: 2px dashed #d4d4d8; }
.hp-step:last-child::after { display: none; }
.hp-step__ic { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; background: #fff; color: var(--red); box-shadow: var(--sh); margin-bottom: 14px; }
.hp-step__ic::after { content: counter(s); position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hp-step__ic .hp-ic { width: 30px; height: 30px; }
.hp-step h3 { font-size: 17px; }
.hp-step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Forms ---------- */
.hp-formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh); }
.hp-formcard__head { margin-bottom: 18px; }
.hp-formcard__head p { color: var(--muted); margin: 0; }
.hp-cf7 .hp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp-cf7 .hp-f { display: block; margin-bottom: 14px; }
.hp-cf7 .hp-f > span.lbl, .hp-cf7 label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--dark); }
.hp-cf7 input[type=text], .hp-cf7 input[type=email], .hp-cf7 input[type=tel], .hp-cf7 select, .hp-cf7 textarea { width: 100%; font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid #d4d4d8; border-radius: var(--r); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.hp-cf7 textarea { min-height: 120px; resize: vertical; }
.hp-cf7 input:focus, .hp-cf7 select:focus, .hp-cf7 textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(237, 28, 36, .12); }
.hp-cf7 input[type=file] { width: 100%; padding: 12px; border: 2px dashed #d4d4d8; border-radius: var(--r); background: var(--light); font-size: 14px; }
.hp-cf7 .wpcf7-submit { width: 100%; min-height: 50px; border: 0; border-radius: var(--r); background: var(--red); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .2s; }
.hp-cf7 .wpcf7-submit:hover { background: var(--red-d); }
.hp-cf7 .wpcf7-not-valid-tip { font-size: 13px; color: var(--red-d); margin-top: 4px; display: block; }
.hp-cf7 .wpcf7-response-output { margin: 14px 0 0 !important; padding: 12px 14px !important; border-radius: var(--r); font-size: 14.5px; }
.hp-cf7.sent .wpcf7-response-output { border-color: #16a34a !important; background: #f0fdf4; color: #166534; }
.hp-cf7.invalid .wpcf7-response-output, .hp-cf7.failed .wpcf7-response-output, .hp-cf7.spam .wpcf7-response-output { border-color: var(--red) !important; background: var(--red-l); color: var(--red-d); }
.hp-cf7 .wpcf7-spinner { display: block; margin: 10px auto 0; }
.hp-cf7 .hp-consent { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.hp-cf7 fieldset.hidden-fields-container { border: 0; padding: 0; margin: 0; display: none; }
.hp-cf7 .wpcf7-form-control-wrap { display: block; }
.hp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hp-note { padding: 12px 14px; background: var(--light); border-radius: var(--r); }

/* ---------- Contact ---------- */
.hp-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.hp-cinfo { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 18px; }
.hp-cinfo li { display: flex; gap: 14px; }
.hp-cinfo__ic { flex: none; width: 46px; height: 46px; border-radius: var(--r); background: var(--red-l); color: var(--red); display: flex; align-items: center; justify-content: center; }
.hp-cinfo strong { display: block; color: var(--dark); }
.hp-map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* ---------- Shop ---------- */
.hp-shop { display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start; }
.hp-shop__toggle { display: none; width: 100%; }
.hp-sidebox { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 20px; }
.hp-sidebox__h { font-size: 16px; text-transform: uppercase; letter-spacing: .05em; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 2px solid var(--light); position: relative; }
.hp-sidebox__h::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--red); }
.hp-sidebox ul { list-style: none; margin: 0; padding: 0; }
.hp-sidebox li a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: var(--r); color: var(--ink); font-size: 15px; }
.hp-sidebox li a span { font-size: 12px; color: var(--muted); background: var(--light); border-radius: 99px; padding: 1px 8px; align-self: center; }
.hp-sidebox li a:hover, .hp-sidebox li a.is-active { background: var(--red-l); color: var(--red); font-weight: 600; }
.hp-sidebox li.is-child a { padding-left: 24px; font-size: 14.5px; }
.hp-sidebox--cta { background: var(--dark); color: #d4d4d8; text-align: center; border: 0; }
.hp-sidebox--cta .hp-ic { width: 34px; height: 34px; color: #ff6b70; margin: 0 auto 8px; }
.hp-sidebox--cta p { margin-bottom: 4px; }
.hp-sidebox--cta a { font-size: 22px; font-weight: 800; color: #fff; }
.hp-brandhead { display: inline-flex; padding: 16px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 24px; }
.hp-brandhead img { max-height: 60px; width: auto; }
.hp-emptybox { text-align: center; padding: 56px 24px; background: var(--light); border-radius: var(--r-lg); }
.hp-emptybox > .hp-ic { width: 54px; height: 54px; color: var(--red); margin: 0 auto 12px; }
.hp-emptybox p { max-width: 520px; margin: 0 auto 18px; color: var(--muted); }
.hp-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.hp-pages .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: var(--r); border: 1px solid var(--line); color: var(--dark); font-weight: 600; }
.hp-pages .page-numbers.current, .hp-pages a.page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Product detail ---------- */
.hp-pd { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.hp-pd__main { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; padding: 28px; background: #fff; }
.hp-pd__main img { width: 100%; height: 100%; object-fit: contain; }
.hp-pd__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.hp-pd__thumbs button { flex: none; width: 76px; height: 76px; padding: 6px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; }
.hp-pd__thumbs button.is-active { border-color: var(--red); }
.hp-pd__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.hp-pd__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hp-pd__title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.hp-pd__model { color: var(--muted); }
.hp-pd__excerpt { font-size: 16.5px; color: var(--gray); }
.hp-checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.hp-checks li { display: flex; gap: 10px; }
.hp-checks .hp-ic { color: #fff; background: var(--red); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 3px; }
.hp-pd__cta { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hp-pd__assure { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: var(--gray); font-size: 14.5px; }
.hp-pd__assure li { display: flex; align-items: center; gap: 10px; }
.hp-pd__assure .hp-ic { color: var(--red); }
.hp-pd__detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.hp-pd__desc, .hp-pd__specs { background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh); }
.hp-spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.hp-spec th, .hp-spec td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hp-spec th { width: 45%; color: var(--muted); font-weight: 500; }
.hp-spec tr:nth-child(odd) { background: var(--light); }

/* ---------- Article ---------- */
.hp-article { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.hp-article__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 12px 0 10px; }
.hp-article__meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.hp-article__meta .hp-ic { color: var(--red); }
.hp-article__img { margin: 0 0 28px; }
.hp-article__img img { border-radius: var(--r-lg); width: 100%; }
.hp-share { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; }
.hp-share a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--light); color: var(--dark); }
.hp-share a:hover { background: var(--red); color: #fff; }
.hp-article__side { position: sticky; top: 140px; }
.hp-minilist { list-style: none; margin: 0; padding: 0; }
.hp-minilist li + li { border-top: 1px solid var(--light); }
.hp-minilist a { display: flex; gap: 12px; padding: 10px 0; color: var(--dark); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.hp-minilist a:hover { color: var(--red); }
.hp-minilist img { width: 68px; height: 52px; object-fit: cover; border-radius: var(--r); flex: none; }
.hp-minilist small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 3px; }

/* ---------- Jobs ---------- */
.hp-jobs { display: grid; gap: 14px; }
.hp-job { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--r-lg); transition: .2s; }
.hp-job:hover { box-shadow: var(--sh-h); }
.hp-job.is-expired { border-left-color: #c6c6cb; opacity: .75; }
.hp-job__title { font-size: 19px; margin-bottom: 8px; }
.hp-job__title a { color: var(--dark); }
.hp-job__title a:hover { color: var(--red); }
.hp-job__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: 14.5px; }
.hp-job__meta li { display: flex; align-items: center; gap: 6px; }
.hp-job__meta .hp-ic { color: var(--red); width: 16px; height: 16px; }
.hp-jobd { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.hp-jobd__facts { list-style: none; margin: 0 0 28px; padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; background: var(--light); border-radius: var(--r-lg); }
.hp-jobd__facts li { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; }
.hp-jobd__facts .hp-ic { color: var(--red); grid-row: span 2; margin-top: 2px; }
.hp-jobd__facts span { font-size: 13px; color: var(--muted); }
.hp-jobd__facts strong { color: var(--dark); }
.hp-jobd__side { position: sticky; top: 140px; }

/* ---------- Search results ---------- */
.hp-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hp-result { display: flex; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.hp-result__img { flex: none; width: 110px; height: 90px; border-radius: var(--r); overflow: hidden; background: var(--light); }
.hp-result__img img { width: 100%; height: 100%; object-fit: cover; }
.hp-result__img .hp-noimg { min-height: 0; }
.hp-result h2 { font-size: 18px; margin: 6px 0; }
.hp-result h2 a { color: var(--dark); }
.hp-result p { margin: 0; color: var(--muted); font-size: 14.5px; }
.hp-404 { text-align: center; }
.hp-404__code { display: block; font-size: 120px; font-weight: 800; color: var(--red); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hp-menu > li > a { padding: 0 9px; font-size: 14.5px; }
  .hp-top__hours { display: none; }
}
@media (max-width: 1024px) {
  :root { --hbar: 66px; }
  .hp-nav, .hp-bar__cta { display: none; }
  .hp-burger { display: inline-flex; }
  .hp-bar__in { justify-content: space-between; }
  .hp-logo img { height: 40px; }
  .hp-top__addr { display: none; }
  .hp-pillars__grid { grid-template-columns: 1fr; gap: 12px; }
  .hp-pillar, .hp-pillar:first-child, .hp-pillar:last-child { border-radius: var(--r); border-left: 0 !important; }
  .hp-about__grid { grid-template-columns: 1fr; gap: 40px; }
  .hp-about__badge { right: 12px; }
  .hp-cats, .hp-pgrid, .hp-svc { grid-template-columns: repeat(2, 1fr); }
  .hp-pgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .hp-ngrid { grid-template-columns: repeat(2, 1fr); }
  .hp-footer__grid { grid-template-columns: 1fr 1fr; }
  .hp-shop { grid-template-columns: 1fr; gap: 20px; }
  .hp-shop__toggle { display: inline-flex; }
  .hp-shop__filter { display: none; margin-top: 12px; }
  .hp-shop__filter.is-open { display: block; }
  .hp-pd, .hp-pd__detail, .hp-article, .hp-jobd, .hp-contact { grid-template-columns: 1fr; gap: 32px; }
  .hp-article__side, .hp-jobd__side { position: static; }
  .hp-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .hp-step::after { display: none; }
  .hp-stats--band { grid-template-columns: repeat(2, 1fr); }
  .hp-ctaband__in { flex-direction: column; align-items: flex-start; }
  .hp-ctaband::after { display: none; }
}
@media (max-width: 782px) {
  .admin-bar .hp-header { top: 0; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; padding-bottom: 64px; }
  .hp-sec { padding: 52px 0; }
  .hp-wrap { padding: 0 16px; }
  .hp-sec.hp-wrap { padding-left: 16px; padding-right: 16px; }
  .hp-top { display: none; }
  .hp-sechead { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .hp-hero, .hp-hero__slide.is-active { min-height: 540px; }
  .hp-hero__slide::after { background: linear-gradient(180deg, rgba(18, 17, 19, .55) 0%, rgba(18, 17, 19, .9) 70%); }
  .hp-hero__in { padding-top: 40px; padding-bottom: 110px; align-self: flex-end; }
  .hp-hero__text { font-size: 16px; }
  .hp-hero__btns .hp-btn { flex: 1 1 auto; }
  .hp-hero__nav { bottom: 64px; padding: 0 16px; }
  .hp-hero__arrow { display: none; }
  .hp-pillars { margin-top: -40px; }
  .hp-cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hp-cat__body { padding: 26px 14px 14px; }
  .hp-cat__ic { width: 42px; height: 42px; top: -21px; left: 14px; }
  .hp-cat strong { font-size: 15px; }
  .hp-cat small { display: none; }
  .hp-pgrid, .hp-pgrid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hp-pcard__img { padding: 10px; }
  .hp-pcard__body { padding: 12px; }
  .hp-pcard__title { font-size: 14.5px; }
  .hp-pcard__cta { font-size: 13px; }
  .hp-svc, .hp-ngrid { grid-template-columns: 1fr; }
  .hp-actgrid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 10px; }
  .hp-act figcaption { display: none; }
  .hp-stats { gap: 12px; }
  .hp-stat strong { font-size: 24px; }
  .hp-brandgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hp-brand { height: 84px; padding: 12px; }
  .hp-client { width: 140px; height: 80px; }
  .hp-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .hp-floats { bottom: 80px; right: 12px; }
  .hp-float--phone, .hp-float--zalo, .hp-float--mess { display: none; }
  .hp-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .1); padding-bottom: env(safe-area-inset-bottom); }
  .hp-mbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; font-size: 12px; font-weight: 600; color: var(--dark); }
  .hp-mbar a .hp-ic { width: 22px; height: 22px; color: var(--red); }
  .hp-mbar .hp-zalo-txt { color: #0068ff; font-size: 14px; line-height: 22px; }
  .hp-mbar a.is-red { background: var(--red); color: #fff; }
  .hp-mbar a.is-red .hp-ic { color: #fff; }
  .hp-formcard { padding: 22px 18px; }
  .hp-cf7 .hp-grid2 { grid-template-columns: 1fr; gap: 0; }
  .hp-job { flex-direction: column; align-items: flex-start; padding: 18px; }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-content .hp-cards, .hp-content .hp-cards:has(> :nth-child(4)), .hp-content .hp-certs { grid-template-columns: 1fr; }
  .hp-phero { padding: 40px 0 38px; }
  .hp-map iframe { height: 320px; }
  .hp-result { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
