/* Copied from the approved homepage prototype v15.6 (css/styles.css). Keep in sync with design; WordPress-specific rules go in site.css. */
/* ============================================================
   PNT Việt Nam — Homepage v2
   Bố cục: theo nhận xét khách hàng (Tổng quan.docx)
   Nhận diện: PNT_landing_brand_identity_brief.md
   — Hệ màu: PNT_Color_System_Codex.md (quiet luxury, sáng & sạch).
     Trắng / off-white chủ đạo, dải xanh corporate trầm (#4264A7 → #DBEBF7) dùng cho
     nền – section transition – card – infographic; đỏ brand #D93645 giữ nguyên cho
     hotline / CTA chính / active / accent. Bố cục và hình khối giữ nguyên.
   ============================================================ */
:root {
  /* ===== BRAND RED - GIU NGUYEN (hotline, CTA chinh, active, accent) ===== */
  --pnt-red-primary: #D93645;
  --pnt-red-hover:   #C62839;
  --pnt-red-soft:    #FDE9EB;

  /* ===== BLUE BACKGROUND SYSTEM ===== */
  --pnt-bg-blue-strong: #4264A7;
  --pnt-bg-blue-main:   #6686B7;
  --pnt-bg-blue-soft:   #84A6CF;
  --pnt-bg-blue-light:  #B2CEE5;
  --pnt-bg-blue-pale:   #DBEBF7;

  /* ===== TEXT ===== */
  --pnt-text-blue:  #273F62;   /* đậm hơn 1 bậc so với #314F7C cũ, cùng sắc xanh */
  --pnt-text-body:  #253444;
  --pnt-text-muted: #66788A;

  /* ===== NEUTRAL ===== */
  --pnt-white:      #FFFFFF;
  --pnt-off-white:  #F7F9FB;
  --pnt-warm-white: #F4F4F1;
  --pnt-border:     #E5EDF4;
  --pnt-gray-soft:  #E9EDF2;
  --pnt-gray-mid:   #C5CDD6;

  /* Deep corporate blue (Blue Strong ha 1 bac do sang) - chi dung lam diem neo:
     lop phu anh hero + nen footer, de chu trang du tuong phan AA. */
  --pnt-blue-deep: #2A4368;

  /* ===== Alias giu ten bien cu de khong pha vo cau truc rule ===== */
  --navy: var(--pnt-text-blue);
  --navy-deep: var(--pnt-blue-deep);
  --royal: var(--pnt-bg-blue-strong);
  --blue: var(--pnt-bg-blue-main);
  --blue-050: var(--pnt-bg-blue-pale);
  --red: var(--pnt-red-primary);
  --red-dark: var(--pnt-red-hover);
  --gray-100: var(--pnt-gray-soft);
  --gray-050: var(--pnt-off-white);
  --white: var(--pnt-white);

  --text: var(--pnt-text-body);
  --text-2: var(--pnt-text-muted);
  --border: var(--pnt-border);

  --radius: 8px;
  --cut: 18px;                 /* độ lớn góc cắt xiên */
  --shadow: 0 1px 2px rgba(49,79,124,.04), 0 8px 28px rgba(49,79,124,.07);
  --shadow-hover: 0 4px 10px rgba(49,79,124,.07), 0 20px 42px rgba(49,79,124,.12);

  --container: 1280px;
  --container-wide: 1560px;    /* header + hero: logo và chữ hero sát trái hơn trên màn lớn */
  --pnt-frame: #CBD7E3;        /* màu viền khung tìm kiếm / ngôn ngữ */
  --hero-veil: .20;            /* độ đậm lớp phủ xanh hero so với bản 14.9: .20 = 20%, 1 = đậm như 14.9 */
  --gutter: 56px;
  --section-y: 96px;
  --header-h: 88px;
  --header-h-compact: 60px;

  --font: "Be Vietnam Pro", "Inter", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--pnt-bg-blue-strong); outline-offset: 3px; }
/* thẻ nằm trong vùng cuộn (overflow) sẽ bị cắt viền nếu vẽ ra ngoài -> vẽ vào trong */
.tile:focus-visible { outline-color: #fff; outline-offset: -4px; }

/* nhảy tới khối bằng liên kết #... thì dừng ngay dưới header dính (thu gọn) */
main section[id] { scroll-margin-top: calc(var(--header-h-compact) + 1px); }
.container {
  width: 100%; max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
}
/* Header và chữ trên cả 3 slide hero dùng khung rộng hơn, cùng một mép trái */
.site-header .container, .hero__caption > .container { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--gray { background: var(--gray-050); }

/* ---------- Typography (gọn: 3 cấp chữ, 3 độ đậm) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pnt-red-hover); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); transform: skewX(-30deg); }
.eyebrow--light { color: #fff; }

.section__title {
  font-size: clamp(26px, 2.5vw, 36px); line-height: 1.22; font-weight: 800;
  letter-spacing: -.01em; color: var(--navy);
}
.section__title--sm { font-size: clamp(22px, 1.9vw, 26px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section__head-text { min-width: 0; }
.section__head-text .eyebrow { margin-bottom: 12px; }
.group-head { margin-bottom: 28px; }

/* ---------- Links & buttons (góc cắt xiên) ---------- */
.link-more, .link-detail {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--royal); white-space: nowrap;
}
/* nút "Xem thêm" nhỏ hơn 20%: chữ 15 -> 12px, khoảng cách và gạch chân thu theo */
.link-more { gap: 6px; font-size: 12px; padding-bottom: 3px; border-bottom: 2px solid var(--royal); }
.link-more span, .link-detail span { transition: transform .25s ease; }
.link-more:hover span, .link-detail:hover span { transform: translateX(3px); }
.link-more:hover, .link-detail:hover { color: var(--pnt-text-blue); border-color: var(--pnt-text-blue); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 30px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em;
  border: 0; position: relative;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background-color .2s, color .2s, transform .2s;
}
.btn--sm { min-height: 42px; padding: 9px 22px; font-size: 14px; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px)); }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { background: var(--navy); color: #fff; }
.btn--outline::before {                       /* viền navy, lòng trắng, giữ góc cắt */
  content: ""; position: absolute; inset: 2px; z-index: -1; background: #fff;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn--outline { color: var(--navy); isolation: isolate; }
.btn--outline:hover { color: var(--pnt-text-blue); }
.btn--outline:hover::before { background: var(--pnt-bg-blue-pale); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--blue-050); }
/* CTA phu tren nen sang: trang + vien xanh tram (btn-secondary cua he mau PNT).
   Vien ve bang lop lot de chay tron ven ca hai goc cat xien. */
.btn--ghost { background: var(--pnt-text-blue); color: var(--pnt-text-blue); isolation: isolate; }
.btn--ghost::before {
  content: ""; position: absolute; inset: 1.5px; z-index: -1; background: var(--pnt-white);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: background-color .2s ease;
}
.btn--ghost:hover { color: var(--pnt-text-blue); }
.btn--ghost:hover::before { background: var(--pnt-bg-blue-pale); }

/* ============================================================
   HEADER — sticky, thu hẹp khi cuộn
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.is-compact { box-shadow: 0 6px 24px rgba(42,67,104,.10); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 36px; transition: height .25s ease; }
.site-header.is-compact .header__inner { height: var(--header-h-compact); }
.brand { flex-shrink: 0; }
.brand__logo { height: 46px; width: auto; transition: height .25s ease; }
.site-header.is-compact .brand__logo { height: 34px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 4px; }

/* ---- Tien ich header: tim kiem + 3 ngon ngu ---- */
.nav__utils { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Khung chung cho ô tìm kiếm và cụm ngôn ngữ: góc cắt xiên nhưng viền chạy trọn cả đường chéo.
   Nền = màu viền, ::before = lòng trắng lùi vào 1px (border thường bị clip-path cắt mất ở góc chéo). */
.header__search, .lang {
  position: relative; isolation: isolate; background: var(--pnt-frame);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background-color .2s;
}
.header__search::before, .lang::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: #fff;
  clip-path: polygon(0 0, calc(100% - 7.4px) 0, 100% 7.4px, 100% 100%, 7.4px 100%, 0 calc(100% - 7.4px));
  transition: background-color .2s;
}
.header__search {
  width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0;
  color: var(--pnt-text-blue); transition: color .2s, background-color .2s, width .25s, height .25s;
}
.header__search svg { width: 18px; height: 18px; overflow: visible; }
.header__search:hover { color: var(--pnt-red-primary); background: var(--pnt-red-primary); }
.header__search:hover::before { background: var(--pnt-red-soft); }
.site-header.is-compact .header__search { width: 32px; height: 32px; }
.site-header.is-compact .lang { height: 32px; }

.lang { display: flex; align-items: center; height: 36px; padding: 0 5px; }
.lang__btn {
  padding: 4px 8px; font-size: 13px; font-weight: 600; line-height: 1.25;
  color: var(--pnt-text-muted); background: none; border: 0; transition: color .2s;
}
.lang__btn + .lang__btn { border-left: 1px solid var(--pnt-border); }
.lang__btn:hover { color: var(--pnt-text-blue); }
.lang__btn.is-active { color: var(--pnt-red-primary); font-weight: 700; }
.nav__link {
  position: relative; display: block; padding: 10px 13px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;   /* menu viết hoa */
  color: var(--navy); transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--red); transform: scaleX(0) skewX(-30deg); transform-origin: left; transition: transform .25s ease;
}
.nav__link:hover { color: var(--red); }
.nav__link.is-active { font-weight: 700; }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1) skewX(-30deg); }

.hotline { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--red); }
.hotline__icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid var(--red); border-radius: 50%; transition: width .25s, height .25s; }
.hotline__icon svg { width: 16px; height: 16px; }
.hotline__text { display: flex; flex-direction: column; line-height: 1.1; }
.hotline__label { font-size: 11px; font-weight: 500; color: var(--text-2); }
.hotline__number { font-size: 17px; font-weight: 800; }   /* 21px -> 17px */
.site-header.is-compact .hotline__label { display: none; }
.site-header.is-compact .hotline__icon { width: 30px; height: 30px; }
.site-header.is-compact .hotline__number { font-size: 15px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 10px; background: none;
  border: 1px solid var(--border); border-radius: 6px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ============================================================
   HERO — slider tràn màn hình: ảnh mờ dần + lớp phủ theo độ sáng ảnh
   + chữ viền rỗng chìm + caption riêng từng slide trượt vào
   ============================================================ */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-deep);
  min-height: clamp(580px, 86vh, 800px); }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__slide.is-active .hero__img { animation: heroZoom 9s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
/* Lớp phủ xanh phủ tới đúng mép phải tiêu đề từng slide rồi mờ hẳn trong 40px (cùng dáng bản 14.9),
   nhưng chỉ đậm bằng --hero-veil (20%) so với bản 14.9 — nhẹ, vẫn thấy rõ vùng chữ được phủ.
   --text-end do JS đo từ chữ thật (main.js, hàm fitOverlay); 48% là giá trị dự phòng khi JS chưa chạy.
   Muốn đậm / nhạt hơn: đổi --hero-veil trong :root (vd .35 = 35% bản 14.9). */
.hero__slide::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42,67,104,calc(.88 * var(--hero-veil))) 0,
    rgba(42,67,104,calc(.84 * var(--hero-veil))) calc(var(--text-end, 48%) - 140px),
    rgba(42,67,104,calc(.80 * var(--hero-veil))) var(--text-end, 48%), rgba(42,67,104,0) calc(var(--text-end, 48%) + 40px)); }
.hero__slide[data-tone="dark"]::after {
  background: linear-gradient(90deg, rgba(42,67,104,calc(.80 * var(--hero-veil))) 0,
    rgba(42,67,104,calc(.74 * var(--hero-veil))) calc(var(--text-end, 48%) - 140px),
    rgba(42,67,104,calc(.68 * var(--hero-veil))) var(--text-end, 48%), rgba(42,67,104,0) calc(var(--text-end, 48%) + 40px)); }
/* slide 3 (ảnh sáng): phủ đậm ở mép trái rồi nhạt dần rõ rệt tới mép phải tiêu đề (không còn một màu đều) */
.hero__slide[data-tone="bright"]::after {
  background: linear-gradient(90deg, rgba(42,67,104,calc(1.8 * var(--hero-veil))) 0,
    rgba(42,67,104,calc(1.1 * var(--hero-veil))) calc(var(--text-end, 48%) * .5),
    rgba(42,67,104,calc(.4 * var(--hero-veil))) var(--text-end, 48%), rgba(42,67,104,0) calc(var(--text-end, 48%) + 60px)); }

/* chữ viền rỗng cỡ lớn, chìm sau tiêu đề */
.hero__ghost { position: absolute; left: 50%; top: 46%; z-index: 1; transform: translate(-50%, -50%); margin: 0;
  font-size: clamp(60px, 10.4vw, 200px); line-height: 1; font-weight: 800; letter-spacing: .03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.17); pointer-events: none; user-select: none; }

/* caption: chỉ slide đang hiện mới thấy */
.hero__captions { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero__caption { position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.hero__caption.is-active { opacity: 1; visibility: visible; }
.hero__caption > .container { width: 100%; padding-bottom: 40px; }
.hero__title { font-size: clamp(29px, 3.2vw, 50px);   /* nhỏ hơn bản 15.4 khoảng 20% (36/4vw/62 -> 29/3.2vw/50) */
  line-height: 1.08; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; margin: 0;
  /* lớp phủ chỉ còn 20% nên chữ tự mang bóng tối mềm để đọc được trên phần ảnh sáng.
     Dùng filter trên cả khối tiêu đề (không dùng text-shadow): từng dòng .hero__line cắt phần tràn
     cho hiệu ứng trượt chữ, text-shadow sẽ bị cắt thành khung chữ nhật mờ trên ảnh sáng. */
  filter: drop-shadow(0 1px 1px rgba(20,33,54,.45)) drop-shadow(0 2px 9px rgba(20,33,54,.5)); }
.hero__line { display: block; overflow: hidden; white-space: nowrap; padding-block: .26em; margin-block: -.22em; }
.hero__line > span { display: inline-block; }
.hero__title-red { color: var(--pnt-red-primary); }
.hero__desc { margin-top: 18px; max-width: 390px; font-size: 14.5px;   /* 18px -> 14.5px (-20%) */
  color: #fff; font-weight: 500;
  text-shadow: 0 1px 2px rgba(20,33,54,.75), 0 0 14px rgba(20,33,54,.6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn { pointer-events: auto; font-size: 11.2px; padding-inline: 15px; gap: 6px; }   /* chữ 14 -> 11.2px (-20%), gọn ngang; cao giữ 42px */
.hero__actions .btn__icon { width: 14px; height: 14px; }
.hero__caption .eyebrow { font-size: 11px; margin-bottom: 13px;   /* 13px -> 11px: nhỏ theo tiêu đề nhưng vẫn đọc rõ */
  text-shadow: 0 1px 2px rgba(20,33,54,.75), 0 0 12px rgba(20,33,54,.6); }
/* slide ảnh sáng (nền trời nhạt): chỉ lớp phủ 20% thì chữ trắng chìm -> bóng chữ đậm và sát nét hơn,
   vẫn không thêm mảng tối nào lên ảnh */
/* tiêu đề: bỏ viền tối quanh chữ, chỉ giữ một lớp bóng rất mềm và loang rộng (không thành nét viền) */
.hero__caption[data-tone="bright"] .hero__title { filter: drop-shadow(0 2px 14px rgba(20,33,54,.30)); }
.hero__caption[data-tone="bright"] .eyebrow,
.hero__caption[data-tone="bright"] .hero__desc { font-weight: 600;
  text-shadow: 0 0 2px rgba(20,33,54,.85), 0 1px 3px rgba(20,33,54,.75), 0 0 16px rgba(20,33,54,.7); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-050); }
.btn__icon { width: 17px; height: 17px; flex-shrink: 0; }

/* CTA chính trong hero: LUÔN đỏ đặc như trạng thái rê chuột; rê chuột thì đậm thêm một chút */
.hero__actions .btn--primary { background: var(--pnt-red-hover); color: #fff; isolation: isolate; }
.hero__actions .btn--primary::before {
  content: ""; position: absolute; inset: 2px; z-index: -1; background: var(--pnt-red-hover);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: background-color .22s ease;
}
.hero__actions .btn--primary:hover { color: #fff; background: #B01F2F; }
.hero__actions .btn--primary:hover::before { background: #B01F2F; }

/* chữ trượt vào từ trái, chạy lại mỗi lần đổi slide (JS bật .is-in) */
.has-js .hero__anim { opacity: 0; transform: translateX(-56px); }
.has-js .hero__caption.is-done .hero__anim { opacity: 1; transform: none; transition: none; }
.hero__caption.is-in .hero__anim { opacity: 1; transform: none;
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 110ms + 120ms); }
.hero__line .hero__anim { transform: translateX(-104%); opacity: 1; }

/* điều hướng slide */
.hero__nav { position: absolute; left: 0; right: 0; bottom: 52px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 20px; pointer-events: none; }
.hero__nav[hidden] { display: none; }
/* cùng cỡ mọi nút trượt trên trang (Giải pháp, Sản phẩm): 33px */
.hero__arrow { pointer-events: auto; width: 33px; height: 33px; display: grid; place-items: center;
  /* nền trắng, mũi tên xanh chữ (bỏ nền xanh đậm theo yêu cầu); rê chuột: nền đỏ */
  border: 0; color: var(--pnt-text-blue); background: rgba(255,255,255,.92);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); transition: background-color .2s; }
.hero__arrow svg { width: 15px; height: 15px; }
.hero__arrow:hover { background: var(--red); color: #fff; }
.hero__arrow--prev { order: 1; }
.hero__dots { order: 2; }
.hero__arrow--next { order: 3; }
.hero__dots { display: flex; gap: 10px; pointer-events: auto; }
/* vạch chấm: trắng, bỏ viền xanh; chỉ một bóng mờ trung tính rất nhẹ để vẫn thấy trên ảnh sáng */
.hero__dot { width: 34px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.9); transform: skewX(-30deg);
  box-shadow: 0 1px 3px rgba(0,0,0,.28); transition: background-color .2s, width .2s; }
.hero__dot.is-active { background: var(--red); width: 52px; }

/* ============================================================
   ĐIỂM MẠNH PNT — 4 mục gọn trong khối Nhận tư vấn (lưới 2×2)
   Chữ, icon, link lấy từ js/site-data.js (trustItems)
   ============================================================ */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; max-width: 470px; }
.trust__item { min-width: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.trust.is-visible .trust__item { opacity: 1; transform: none; }
.trust.is-visible .trust__item:nth-child(2) { transition-delay: .06s; }
.trust.is-visible .trust__item:nth-child(3) { transition-delay: .12s; }
.trust.is-visible .trust__item:nth-child(4) { transition-delay: .18s; }
.trust__link { display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px 14px 10px 10px;
  color: var(--navy); background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.95);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background-color .25s ease, transform .25s ease; }
a.trust__link:hover { background: #fff; transform: translateY(-2px); }
.trust__icon { width: 34px; height: 34px; padding: 8px; flex-shrink: 0; color: var(--royal); background: var(--pnt-bg-blue-pale);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background-color .25s ease, color .25s ease; }
a.trust__link:hover .trust__icon { background: var(--royal); color: #fff; }
.trust__icon svg { width: 100%; height: 100%; }
.trust__text { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--navy); }

/* ============================================================
   CỤM 1 — GIẢI PHÁP & DỊCH VỤ (2 cụm đối xứng)
   ============================================================ */
.solutions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
/* Mỗi cụm là một khung riêng theo phong cách chung của web (như khối Đối tác, thẻ Tôn chỉ):
   góc vuông, góc trên-phải cắt xiên. Nền = màu viền, ::before = lòng trắng lùi 1px
   (lùi đường chéo 1.41px) để viền mảnh chạy trọn cả đường chéo — border thường bị clip-path cắt mất. */
.solutions__group { position: relative; isolation: isolate; background: var(--pnt-border); padding: 30px 32px 30px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.solutions__group::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: #fff;
  clip-path: polygon(0 0, calc(100% - 26.6px) 0, 100% 26.6px, 100% 100%, 0 100%); }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 6px 0 2px; }
.tile {
  position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 3.55; background: var(--navy);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);   /* góc cắt như ảnh Sản phẩm, Dự án */
  container-type: inline-size;          /* cỡ chữ trong thẻ co theo bề rộng thẻ (đơn vị cqi) */
  transition: transform .3s ease;
}
.tile:hover { transform: translateY(-4px); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.05); }
.tile--people img { object-position: 50% 15%; }   /* thẻ thấp: giữ trọn mũ bảo hộ, cắt bớt phần dưới */
/* lớp xanh phủ trọn dòng tên + dòng phụ (cao ~47px tính từ chân ảnh) rồi mới nhạt dần về trong suốt:
   đậm ở đáy -> nhạt lên trên, không phủ một màu; tính theo px nên thẻ cao / thấp chữ vẫn luôn nằm trên nền đậm */
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(42,67,104,.92) 0, rgba(42,67,104,.86) 30px, rgba(42,67,104,.7) 52px,
    rgba(49,79,124,.32) 74px, rgba(49,79,124,.08) 92px, rgba(49,79,124,0) 104px); }
.tile__body { position: absolute; left: 10px; right: 8px; bottom: 10px; z-index: 2; color: #fff; }
/* đúng 1 dòng tên + 1 dòng phụ: cỡ chữ co theo bề rộng thẻ (tên dài nhất "Thương mại, dịch vụ" luôn vừa),
   tối đa 15px; dòng phụ nhỏ hơn (~80% tên chính, tối đa 12px) cho cân xứng */
.tile__title { display: block; font-size: clamp(12px, calc((100cqi - 18px) / 10.6), 15px); font-weight: 700; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(20,33,54,.75), 0 0 10px rgba(20,33,54,.6); }
.tile__desc { display: block; margin-top: 2px; font-size: clamp(10px, calc((100cqi - 18px) / 14.8), 11px); line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff;
  text-shadow: 0 1px 2px rgba(20,33,54,.8), 0 0 8px rgba(20,33,54,.6); }

/* Cụm Giải pháp: 6 thẻ trong hàng trượt, hiện đúng 3 thẻ — thẻ cùng cỡ với cụm Dịch vụ */
/* 2 class để thắng quy tắc chung .slider__track (padding/gap) nằm phía sau trong file */
.slider__track.slider__track--tiles { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; padding: 6px 0 2px; }
/* nút trước / sau: cỡ chung của .slider__btn (= nút hero), chỉ đặt lại vị trí */
.slider--tiles .slider__btn { top: calc(50% + 2px); }
/* lùi gần hết ra ngoài thẻ, nằm trong khoảng đệm của khung: chỉ lấn thẻ 5px, chữ trong thẻ bắt đầu từ 10px */
.slider--tiles .slider__btn--prev { left: -28px; }
.slider--tiles .slider__btn--next { right: -28px; }

/* Khối dịch vụ trọn đời + quy trình 6 bước (nền nhiều lớp + nét vẽ thang máy chìm) */
.service-band {
  position: relative; isolation: isolate; margin-top: 68px;
  display: grid; grid-template-columns: 1.05fr 1.95fr; align-items: center; gap: 24px;
  padding: 42px 44px 44px 48px; color: #fff; overflow: hidden;
  /* Strong Blue Gradient - dai xanh nhan duy nhat o nua tren trang */
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 0 58%, rgba(255,255,255,.10) 58% 72%, rgba(255,255,255,0) 72%),
    linear-gradient(115deg, rgba(255,255,255,0) 0 30%, rgba(255,255,255,.06) 30% 36%, rgba(255,255,255,0) 36%),
    radial-gradient(90% 140% at 100% 0%, #5E80BA 0%, rgba(102,134,183,0) 62%),
    linear-gradient(135deg, var(--pnt-blue-deep) 0%, var(--pnt-bg-blue-strong) 58%, #4E70AC 100%);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.service-band::before {                          /* lưới kỹ thuật mờ */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
.service-band::after {                           /* tam giác đỏ ở góc */
  content: ""; position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; background: var(--red); clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.service-band__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.service-band__art svg { position: absolute; right: 0; top: 0; width: 62%; height: 100%; }
.service-band__intro { display: flex; flex-direction: column; align-items: flex-start; }
/* nhãn đồng cấp với "GIẢI PHÁP" / "DỊCH VỤ": cùng cỡ 13px, cùng giãn chữ, cùng gạch đỏ (chỉ khác màu chữ trên nền xanh).
   Cột chữ được nới rộng để nhãn nằm 1 dòng; màn hẹp thì chia 2 dòng cân nhau */
.service-band__intro .eyebrow { text-wrap: balance; }
.service-band__title { font-size: 20px; line-height: 1.42; font-weight: 700; margin-bottom: 22px; }

.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: none; }
.step {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 18px 13px 20px 15px; min-height: 148px;
  background: linear-gradient(225deg, transparent 11px, rgba(255,255,255,.13) 11px);
  box-shadow: inset 0 -2px 0 rgba(255,255,255,.22);
  transition: transform .25s ease, background-color .25s ease;
}
.step:hover { transform: translateY(-4px); background-color: rgba(255,255,255,.08); }
.step__no { font-size: 13px; font-weight: 800; font-style: italic; letter-spacing: .08em; color: #fff; padding: 2px 12px 2px 8px; background: var(--red); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.step__icon { width: 40px; height: 40px; color: #fff; }
.step__icon svg { width: 100%; height: 100%; }
.step__text { font-size: 14px; line-height: 1.4; font-weight: 600; color: #fff; }
/* mũi tên nối giữa các bước */
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 50%; z-index: 2; width: 9px; height: 9px;
  border-top: 2px solid rgba(255,255,255,.75); border-right: 2px solid rgba(255,255,255,.75);
  transform: translateY(-50%) rotate(45deg);
}

/* ============================================================
   CỤM 2 — ĐỐI TÁC + SẢN PHẨM (1 cụm)
   ============================================================ */
.pp { position: relative; background: #fff; box-shadow: var(--shadow); padding: 44px 44px 48px;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.pp::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 40px; background: var(--red); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.pp__partners { display: grid; grid-template-columns: 1fr 1.6fr; align-items: center; gap: 44px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.logo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* ô logo nền xám nhạt, viền mảnh, CẮT VÁT 2 góc (trên-phải, dưới-trái) như các nút trên web;
   nền = màu viền, ::before = lòng xám lùi 1px để viền chạy trọn cả đường chéo; rê chuột thì lòng sáng lên trắng */
.logo-chip { position: relative; isolation: isolate; display: grid; place-items: center; height: 84px; padding: 0 16px;
  background: #E3E9F0; transition: transform .25s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.logo-chip::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: #F6F8FA; transition: background-color .25s;
  clip-path: polygon(0 0, calc(100% - 10.6px) 0, 100% 10.6px, 100% 100%, 10.6px 100%, 0 calc(100% - 10.6px)); }
.logo-chip:hover { transform: translateY(-3px); }
.logo-chip:hover::before { background: #fff; }
.logo-chip img { width: auto; max-width: 100%; object-fit: contain; }
/* 3 file logo da duoc cat sat noi dung -> chinh rieng tung chieu cao cho can mat:
   Mitsubishi la khoi chu 2 dong nen cao hon 2 logo 1 dong. */
.logo-chip img[data-logo="logo-canny"]      { max-height: 30px; }
.logo-chip img[data-logo="logo-temi"]       { max-height: 33px; }
.logo-chip img[data-logo="logo-mitsubishi"] { max-height: 44px; }
.pp__products .section__head { margin-bottom: 26px; }

/* Slider dùng chung (trượt 2 chiều) */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 14px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__track--products { grid-auto-columns: calc((100% - 4 * 20px) / 5); }   /* đủ 5 sản phẩm trên một hàng */
/* mọi nút trượt (Sản phẩm, Giải pháp) cùng cỡ nút ở hero: 33px, icon 15px, góc cắt 8px */
.slider__btn {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3;
  width: 33px; height: 33px; display: grid; place-items: center; border: 0;
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background-color .2s, opacity .2s;
}
.slider__btn svg { width: 15px; height: 15px; }
.slider__btn--prev { left: -16px; }
.slider__btn--next { right: -16px; }
.slider__btn:hover { background: var(--red); }
.slider__btn:disabled { opacity: .25; cursor: default; background: var(--navy); }
/* hàng đã hiện đủ mọi thẻ (không còn gì để trượt) thì ẩn luôn 2 nút — JS gắn .is-static */
.slider.is-static .slider__btn { display: none; }

.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); padding: 0 0 20px; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-card__media { aspect-ratio: 7 / 7.1; overflow: hidden; background: var(--gray-050); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.product-card__media img { transition: transform .6s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* Ten + chu thich: khoa chieu cao theo so dong toi da de moi the thang hang */
.product-card__name { margin: 18px 18px 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--navy);
  min-height: calc(2 * 1.35em); }
.product-card__name a { display: block; transition: color .2s; }
.product-card__name a:hover { color: var(--red); }
.product-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* ca the la vung bam */
.product-card__use { margin: 6px 18px 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); flex-grow: 1;
  min-height: calc(2 * 1.5em); }
/* 5 thẻ một hàng: thẻ hẹp hơn -> lề nhỏ lại, cỡ tên co theo bề rộng thẻ (đơn vị cqi)
   để tên dài nhất "Thang tải khách không phòng máy KLW" luôn gọn 2 dòng */
.product-card { container-type: inline-size; }
@media (min-width: 1181px) {
  .product-card__name { margin: 16px 14px 0; font-size: clamp(12.5px, calc((100cqi - 30px) / 12.2), 15px); }
  .product-card__use { margin: 6px 14px 0; font-size: 13px; }
}

/* ============================================================
   CỤM 3 — VÌ SAO LỰA CHỌN PNT? (nền navy, số lớn)
   ============================================================ */
.why {
  position: relative; isolation: isolate; color: var(--pnt-text-body); padding-block: 112px 112px;
  /* Soft Blue Gradient (ban nhe) - vung nang luc / infographic */
  background: linear-gradient(135deg, #F7FAFD 0%, var(--pnt-bg-blue-pale) 46%, var(--pnt-bg-blue-light) 100%);
}
/* họa tiết kỹ thuật chìm: lưới + trục thang */
.why__pattern, .contact__pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .7; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='520' viewBox='0 0 360 520' fill='none' stroke='%23314F7C' stroke-opacity='.16' stroke-width='1.2'%3E%3Cpath d='M60 0v520M300 0v520M60 90h240M60 250h240M60 410h240'/%3E%3Cpath d='M180 0v130'/%3E%3Crect x='110' y='130' width='140' height='190'/%3E%3Cpath d='M180 130v190M128 150h34M198 150h34'/%3E%3Cpath d='M150 215l-10 14h20zM210 229l10-14h-20z'/%3E%3Cpath d='M325 0v360'/%3E%3Crect x='313' y='360' width='24' height='70'/%3E%3Cpath d='M20 90h40M20 250h40M20 410h40'/%3E%3Ccircle cx='180' cy='12' r='10'/%3E%3C/svg%3E"),
    linear-gradient(rgba(49,79,124,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49,79,124,.06) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420' fill='none' stroke='%23314F7C' stroke-opacity='.11' stroke-width='1.2'%3E%3Ccircle cx='320' cy='110' r='58'/%3E%3Ccircle cx='320' cy='110' r='22'/%3E%3Cpath d='M320 40v24M320 156v24M250 110h24M366 110h24M270 60l17 17M353 143l17 17M270 160l17-17M353 77l17-17'/%3E%3Crect x='70' y='210' width='90' height='150'/%3E%3Cpath d='M115 210v150M70 60v150M160 60v150M92 250l-9 12h18zM138 320l9-12h-18z'/%3E%3C/svg%3E");
  background-size: 360px 520px, 56px 56px, 56px 56px, 420px 420px;
  background-position: left 43% top -40px, 0 0, 0 0, right -40px top 40px;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
}
.why__top { display: grid; grid-template-columns: 1fr 1.35fr; gap: 72px; align-items: center; }
.why__title, .section__title, .contact__title, .hero__desc, .service-band__title { text-wrap: balance; }
.why__title { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.22; font-weight: 800; letter-spacing: -.01em; color: var(--pnt-text-blue); }
.why__desc { margin: 18px 0 30px; font-size: 16px; color: var(--pnt-text-body); }
/* eyebrow ban trang -> do brand khi section doi sang nen sang */
.why .eyebrow--light, .contact .eyebrow--light { color: var(--pnt-red-hover); }
.why .eyebrow--light::before, .contact .eyebrow--light::before { background: var(--pnt-red-primary); }

.kpi { display: grid; grid-template-columns: repeat(5, 1fr); }
.kpi__item { padding: 8px 18px; border-left: 1px solid rgba(49,79,124,.16); transition: border-color .3s ease, transform .3s ease; }
.kpi__item:hover { transform: translateY(-3px); border-left-color: rgba(217,54,69,.75); }
.kpi__item:first-child { border-left: 3px solid var(--red); }
.kpi__value { display: block; font-size: clamp(30px, 2.7vw, 42px); line-height: 1.05; font-weight: 800; font-style: italic; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--pnt-text-blue); transition: color .3s ease; }
.kpi__item:hover .kpi__value { color: var(--pnt-red-primary); }
.kpi__label { display: block; margin-top: 8px; font-size: 13.5px; color: var(--pnt-text-body); transition: color .3s ease; }
.kpi__item:hover .kpi__label { color: var(--pnt-text-blue); }

.values { margin-top: 80px; padding-top: 56px; border-top: 1px solid rgba(49,79,124,.14); display: grid; grid-template-columns: 1fr 1.35fr; gap: 72px; align-items: center; }
.values__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-deep);   /* = ảnh 1448×1086 */
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.values__media img { width: 100%; height: 100%; object-fit: cover; }
.values__caption { position: absolute; left: 24px; bottom: 20px; z-index: 2; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding-left: 14px; border-left: 3px solid var(--red); }
/* gạch dọc đỏ bên trái, giống nhãn "| CON NGƯỜI PNT" trên ảnh */
.values__heading { font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--pnt-text-blue); margin-bottom: 24px;
  padding-left: 12px; border-left: 3px solid var(--red); }
.values__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
/* Thẻ tôn chỉ: khung góc cắt vẽ bằng 2 lớp giả (::before = viền, ::after = lòng thẻ) thay vì clip-path trên chính thẻ,
   để khi rê chuột thẻ đổ bóng được (clip-path sẽ cắt mất bóng) */
.values__item { position: relative; isolation: isolate; display: flex; align-items: flex-start; gap: 16px; padding: 22px 20px;
  transition: filter .3s ease; }
.values__item > * { transition: transform .3s ease; }
.values__item::before, .values__item::after { content: ""; position: absolute; transition: background .3s ease, transform .3s ease; }
.values__item::before { inset: 0; z-index: -2; background: var(--pnt-border);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.values__item::after { inset: 1px; z-index: -1; background: var(--pnt-white);
  clip-path: polygon(0 0, calc(100% - 12.6px) 0, 100% 12.6px, 100% 100%, 0 100%); }
/* rê chuột (chỉ máy có chuột): thẻ nhấc lên, đổ bóng, nền chuyển xanh đậm nhận diện, chữ trắng, icon nền trắng màu đỏ.
   Nhấc các lớp bên trong chứ không nhấc chính thẻ -> vùng rê chuột đứng yên, không nhấp nháy ở mép dưới */
@media (hover: hover) {
  .values__item:hover { filter: drop-shadow(0 14px 22px rgba(42,67,104,.28)); }
  .values__item:hover > *, .values__item:hover::before, .values__item:hover::after { transform: translateY(-5px); }
  .values__item:hover::before { background: var(--pnt-blue-deep); }
  .values__item:hover::after { background: linear-gradient(135deg, var(--pnt-blue-deep) 0%, var(--pnt-bg-blue-strong) 100%); }
  .values__item:hover .values__text strong { color: #fff; }
  .values__item:hover .values__text span { color: rgba(255,255,255,.88); }
  .values__item:hover .values__icon { background: #fff; color: var(--pnt-red-primary); }
}
.values__icon { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; color: var(--pnt-bg-blue-strong); background: linear-gradient(145deg, #F7FAFD 0%, var(--pnt-bg-blue-pale) 100%);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: background .3s ease, color .3s ease; }
.values__icon svg { width: 26px; height: 26px; }
.values__text { display: block; }
.values__text strong { display: block; font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; color: var(--pnt-text-blue); transition: color .3s ease; }
.values__text span { display: block; font-size: 14px; line-height: 1.6; color: var(--pnt-text-muted); text-wrap: pretty; transition: color .3s ease; }   /* không để 1 chữ rơi lẻ xuống dòng */

/* Dự án: 1 ảnh chính to bên trái + các dự án nhỏ trượt bên phải */
.solutions__group, .pp__products, .pp__partners > * { min-width: 0; }

/* ---- Dai 5 loại hình công trình: chạm / lướt tới ô nào thì ô đó phóng to ---- */
.projects__showcase { position: relative; }
.projects__strip { display: flex; gap: 14px; height: clamp(360px, 40vw, 440px); }
.proj { flex: 1 1 0; min-width: 0; transition: flex-grow .5s cubic-bezier(.2,.7,.2,1); }
.proj.is-active { flex-grow: 2.9; }
.proj__link { position: relative; display: block; height: 100%; overflow: hidden; color: #fff;
  background: var(--navy); box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.proj__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.7) brightness(.92);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .45s ease; }
.proj.is-active .proj__link img { transform: scale(1.05); filter: none; }
.proj__link::before { content: ""; position: absolute; inset: 0; z-index: 1; transition: background .45s ease;
  background: linear-gradient(0deg, rgba(42,67,104,.94) 0%, rgba(42,67,104,.5) 46%, rgba(42,67,104,.14) 100%); }
.proj.is-active .proj__link::before {
  background: linear-gradient(0deg, rgba(42,67,104,.9) 0%, rgba(42,67,104,.22) 52%, rgba(42,67,104,0) 100%); }
/* tam giác đỏ chỉ hiện ở ô đang nổi bật */
.proj__link::after { content: ""; position: absolute; right: 0; bottom: 0; z-index: 3; width: 0; height: 0;
  background: var(--red); clip-path: polygon(100% 0, 100% 100%, 0 100%); transition: width .4s ease, height .4s ease; }
.proj.is-active .proj__link::after { width: 42px; height: 42px; }
.proj__body { position: absolute; left: 18px; right: 14px; bottom: 18px; z-index: 2; transition: left .45s ease, right .45s ease, bottom .45s ease; }
.proj.is-active .proj__body { left: 28px; right: 58px; bottom: 26px; }
.proj__name { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; text-wrap: balance;
  text-shadow: 0 2px 10px rgba(42,67,104,.6); transition: font-size .4s ease, font-weight .4s ease; }
.proj.is-active .proj__name { font-size: clamp(20px, 1.9vw, 26px); font-weight: 800; }
/* dòng chữ phụ dưới tên loại công trình */
.proj__desc { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.9); text-wrap: balance;
  text-shadow: 0 1px 8px rgba(42,67,104,.6); transition: font-size .4s ease; }
.proj.is-active .proj__desc { margin-top: 6px; font-size: 14.5px; }

.proj-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 40px; height: 40px; display: grid; place-items: center; border: 0;
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background-color .2s; }
.proj-nav svg { width: 19px; height: 19px; }
.proj-nav:hover { background: var(--red); }
.proj-nav--prev { left: -20px; }
.proj-nav--next { right: -20px; }

/* ============================================================
   CỤM 4 — TIN TỨC (hỗ trợ video)
   ============================================================ */
.news__grid { display: grid; grid-template-columns: 1.9fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news-card--featured { grid-column: 1; grid-row: 1 / span 2; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-card__media { position: relative; flex: 1 1 auto; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.news-card--featured .news-card__media { aspect-ratio: 16 / 11; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { flex: 0 0 auto; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.news-card--featured .news-card__body { padding: 22px 24px 26px; gap: 10px; }
.news-card__meta { font-size: 12px; }
.news-card__tag { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.news-card__title { font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--navy); }
.news-card--featured .news-card__title { font-size: 21px; }
.news-card__title a:hover { color: var(--red); }
.news-card__excerpt { font-size: 14px; color: var(--text-2); }
/* Trang chủ: ảnh 4 tin nhỏ giữ tỉ lệ 3:2 – gần tỉ lệ gốc của ảnh tin (7:5, 16:9) nên cắt rất ít, không cắt theo chiều
   cao màn. Từ 1025px tin lớn (cột 1.9fr) cao bằng 2 hàng tin nhỏ, ảnh tin lớn giãn lấp phần còn lại. */
.news__grid .news-card__media, .news__grid .news-card--featured .news-card__media { flex: 0 0 auto; aspect-ratio: 3 / 2; height: auto; }
.news__grid .news-card__body { flex: 1 1 auto; }
@media (min-width: 1025px) {
  .news__grid .news-card--featured .news-card__media { flex: 1 1 0; aspect-ratio: auto; min-height: 240px; }
  .news__grid .news-card--featured .news-card__body { flex: 0 0 auto; }
}

.media { position: relative; }
.media--video::after { content: ""; position: absolute; inset: 0; background: rgba(42,67,104,.3); pointer-events: none; }
.media__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; width: 64px; height: 64px; border: 0; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-hover); }
.media__play svg { width: 28px; height: 28px; margin-left: 3px; }
.media__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--pnt-text-body); }

/* ============================================================
   FORM CHUYỂN ĐỔI
   ============================================================ */
.contact { position: relative; isolation: isolate; color: var(--pnt-text-body); padding-block: 88px;
  /* Soft Blue Gradient - khoi chuyen doi, form trang noi len tren nen xanh nhat */
  background: linear-gradient(125deg, var(--pnt-bg-blue-pale) 0%, var(--pnt-bg-blue-light) 58%, var(--pnt-bg-blue-soft) 100%); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }   /* khung form hẹp lại một chút */
.contact__title { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.22; font-weight: 800; color: var(--pnt-text-blue); }
.contact__desc { margin-top: 18px; font-size: 16px; color: var(--pnt-text-body); max-width: 420px; }

.lead-form { position: relative; background: var(--pnt-white); color: var(--text); padding: 34px 34px 36px;
  border: 1px solid var(--pnt-border); box-shadow: 0 8px 28px rgba(49,79,124,.10);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field select { height: 46px; padding: 0 14px; font-size: 15px; color: var(--text); background: var(--gray-050); border: 1px solid var(--border); border-radius: 4px; transition: border-color .2s, background-color .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--royal); background: #fff; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); }
.lead-form__error { margin: -4px 0 16px; font-size: 13.5px; color: var(--red-dark); }
.lead-form__submit { width: 100%; min-height: 50px; font-size: 16px; }

/* ============================================================
   FOOTER — navy
   ============================================================ */
/* Footer: nền trắng, chữ xanh nhận diện, đỏ chỉ dành cho hotline */
.footer { background: var(--pnt-white); color: var(--pnt-text-body); padding-block: 40px 0; }
.footer__top { display: grid; grid-template-columns: 1.05fr 2.3fr 1fr; gap: 40px; align-items: start;
  padding-bottom: 28px; }
.footer__col { min-width: 0; }

.footer__logo { height: 46px; width: auto; }
.footer__tagline { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--pnt-text-body); max-width: 270px; }
.footer__legalname { margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--pnt-text-blue); }
.footer__tax { margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--pnt-text-muted); }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a { width: 34px; height: 34px; display: grid; place-items: center; color: var(--pnt-bg-blue-strong);
  border: 1px solid var(--pnt-border); background: var(--pnt-off-white);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: color .2s, background-color .2s, border-color .2s; }
.footer__social svg { width: 19px; height: 19px; }
.footer__social a:hover { color: #fff; background: var(--pnt-text-blue); border-color: var(--pnt-text-blue); }

.footer__heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pnt-text-blue); }
.footer__heading::before { content: ""; width: 20px; height: 3px; background: var(--pnt-red-primary);
  transform: skewX(-30deg); flex-shrink: 0; }

.footer__offices { display: grid; gap: 12px 32px; }
.footer__col--offices .footer__offices { grid-template-columns: 1fr 1fr; }
.foffice { display: flex; align-items: flex-start; gap: 11px; }
.foffice__icon { flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; margin-top: 1px;
  color: var(--pnt-bg-blue-strong); background: var(--pnt-bg-blue-pale);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.foffice__icon svg { width: 15px; height: 15px; }
.foffice__text { display: block; min-width: 0; }
.foffice__text strong { display: block; font-size: 13px; font-weight: 700; color: var(--pnt-text-blue); margin-bottom: 2px; }
.foffice__text span { display: block; font-size: 13px; line-height: 1.55; color: var(--pnt-text-muted); }

.footer__hotline { display: inline-flex; flex-direction: column; line-height: 1.15; margin-bottom: 14px;
  padding-left: 14px; border-left: 3px solid var(--pnt-red-primary); }
.footer__hotline span { font-size: 12px; color: var(--pnt-text-muted); }
.footer__hotline strong { font-size: 24px; font-weight: 800; color: var(--pnt-red-primary); }

.footer__contacts { display: grid; gap: 9px; font-size: 13.5px; }
.footer__contacts li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.footer__contacts svg { width: 17px; height: 17px; color: var(--pnt-bg-blue-strong); flex-shrink: 0; }
.footer__contacts a { color: var(--pnt-text-body); overflow-wrap: anywhere; }

.footer a:hover { color: var(--pnt-red-primary); }
.footer__social a:hover { color: #fff; }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-block: 14px 16px; border-top: 1px solid var(--pnt-border); font-size: 13px; color: var(--pnt-text-muted); }
.footer__links { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 769px) { .footer__bottom { padding-right: 130px; } }   /* chừa chỗ nút "Liên hệ" cố định ở góc phải khi cuộn hết trang */
.footer__links a { color: var(--pnt-text-muted); }
.footer__copy { margin: 0; }

/* ============================================================
   Nút nổi "Nhận báo giá" — luôn ở góc dưới bên phải
   ============================================================ */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 42px; padding: 0 20px 0 17px;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700;
  filter: drop-shadow(0 10px 22px rgba(217,54,69,.38));
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform .2s, background-color .2s;
}
.fab svg { width: 18px; height: 18px; }
.fab:hover { transform: translateY(-2px); background: var(--red-dark); }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
@media (prefers-reduced-motion: reduce) { .trust__item { opacity: 1; transform: none; transition: none; } }
@media (prefers-reduced-motion: reduce) { .hero__anim, .hero__line .hero__anim { opacity: 1; transform: none; transition: none; } .hero__slide { transition: none; } .hero__slide.is-active .hero__img { animation: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  :root { --gutter: 40px; --section-y: 96px; }
  .nav__link { padding-inline: 8px; font-size: 12.5px; }
  .nav { gap: 14px; }
  .nav__utils { gap: 10px; }
  .header__search { width: 32px; height: 32px; }
  .header__search svg { width: 16px; height: 16px; }
  .lang { height: 32px; }
  .lang__btn { padding: 4px 6px; font-size: 12px; }
  .header__inner { gap: 22px; }
  .slider__btn--prev { left: -12px; } .slider__btn--next { right: -12px; }
  .solutions__grid { gap: 24px; }
}

/* Header gio co them o tim kiem + chuyen ngu -> gom vao menu ham burger som hon */
@media (max-width: 1180px) {
  /* 2 cụm Giải pháp / Dịch vụ xếp dọc từ đây: thẻ đủ rộng để tên dài không tràn lên ảnh */
  .solutions__grid { grid-template-columns: 1fr; gap: 24px; }
  .slider__track--products { grid-auto-columns: calc((100% - 3 * 20px) / 4); }   /* màn hẹp: 4 thẻ + trượt */
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hotline { margin-left: auto; }
  .nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(42,67,104,.12); padding: 8px var(--gutter) 16px; }
  .nav.is-open .nav__list { flex-direction: column; gap: 0; }
  .nav.is-open .nav__link { padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .nav.is-open .nav__link::after { display: none; }
  .nav.is-open .nav__link.is-active { color: var(--red); }
  .nav.is-open .nav__utils { justify-content: space-between; padding-top: 16px; }
  .nav.is-open .header__search { width: 36px; height: 36px; }
  .nav.is-open .lang__btn { padding: 6px 12px; font-size: 14px; }
  .nav.is-open .lang { height: 40px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 32px; --section-y: 80px; --header-h: 72px; --header-h-compact: 58px; }
  .hero { min-height: 640px; }
  .hero__caption > .container { padding-bottom: 72px; }
  .hero__nav { bottom: 48px; }

  .solutions__grid { grid-template-columns: 1fr; gap: 24px; }
  .pp { padding: 40px 32px 48px; }
  .pp__partners { grid-template-columns: 1fr; gap: 28px; }
  .slider__track--products { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .why { padding-block: 88px 88px; }
  .why__top { grid-template-columns: 1fr; gap: 48px; }
  /* Màn hẹp: bỏ hiệu ứng phóng to, xếp lưới 1 lớn + 2x2 */
  .projects__strip { display: grid; grid-template-columns: 1fr 1fr; height: auto; gap: 14px; }
  .proj { height: 200px; }
  .proj:first-child { grid-column: 1 / -1; height: 280px; }
  .proj.is-active .proj__body, .proj__body { left: 20px; right: 20px; bottom: 18px; }
  .proj:first-child .proj__body { right: 58px; }
  .proj__name, .proj.is-active .proj__name { font-size: 17px; font-weight: 700; }
  .proj:first-child .proj__name { font-size: 22px; font-weight: 800; }
  .proj__link img, .proj.is-active .proj__link img { filter: none; transform: none; }
  .proj__link::after { width: 0; height: 0; }
  .proj:first-child .proj__link::after { width: 38px; height: 38px; }
  .proj.is-active .proj__desc { font-size: 12.5px; }
  .proj:first-child .proj__desc { font-size: 14px; }
  .proj-nav { display: none; }
  .news__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .news-card--featured { grid-column: 1 / -1; grid-row: auto; }
  .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .footer__col--offices { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --gutter: 18px; --section-y: 64px; --header-h: 64px; --header-h-compact: 54px; --cut: 14px; }
  body { font-size: 15px; }
  .brand__logo { height: 36px; }
  .site-header.is-compact .brand__logo { height: 30px; }
  .hotline__icon { width: 30px; height: 30px; }
  .hotline__number { font-size: 15px; }
  .hotline__label { display: none; }
  .header__inner { gap: 12px; }

  /* Hero: chữ → ảnh → dãy icon; bỏ bớt hình nền trang trí */
  .hero { min-height: 600px; }
  .hero__caption > .container { padding-bottom: 64px; }
  .hero__nav { bottom: 40px; gap: 12px; }
  .hero__arrow { width: 29px; height: 29px; }   /* = nút trượt Giải pháp / Sản phẩm trên điện thoại */
  .hero__ghost { top: 44%; font-size: 15vw; -webkit-text-stroke-width: 1px; }
  .hero__line { white-space: nowrap; }
  .hero__title { font-size: clamp(21px, 5.9vw, 27px); }   /* -20% */
  .hero__desc { font-size: 13.5px; }   /* điện thoại: giữ tối thiểu 13.5px cho dễ đọc */
  .hero__actions .btn { flex: 1 1 100%; }
  .trust { gap: 8px; margin-top: 20px; }
  .trust__link { padding: 9px 10px 9px 8px; gap: 10px; }
  .trust__icon { width: 30px; height: 30px; padding: 7px; }
  .trust__text { font-size: 13px; }

  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .tile-grid { gap: 10px; }
  .tile { aspect-ratio: 3 / 4.6; }
  .tile__body { left: 10px; right: 10px; bottom: 12px; }
  .tile__title { font-size: 12.5px; white-space: normal; text-wrap: balance; }   /* thẻ ~100px: cho tên xuống dòng, chia dòng cân */
  .tile__desc { display: none; }
  .solutions__group { padding: 20px 24px 22px; }
  .slider__track.slider__track--tiles { gap: 10px; grid-auto-columns: calc((100% - 2 * 10px) / 3); }
  .slider--tiles .slider__btn--prev { left: -22px; }   /* nằm trong lề khung (khung có clip-path) */
  .slider--tiles .slider__btn--next { right: -22px; }


  .pp { padding: 28px 18px 36px; }
  .logo-row { gap: 8px; }
  .logo-chip { height: 64px; padding: 0 10px; }
  .logo-chip img[data-logo="logo-canny"]      { max-height: 19px; }
  .logo-chip img[data-logo="logo-temi"]       { max-height: 21px; }
  .logo-chip img[data-logo="logo-mitsubishi"] { max-height: 28px; }
  .slider__track--products { grid-auto-columns: 80%; }
  .slider__btn { width: 29px; height: 29px; }   /* = nút hero trên điện thoại */
  .slider__btn--prev { left: -8px; } .slider__btn--next { right: -8px; }

  .why { padding-block: 64px 64px; }
  .why__pattern, .contact__pattern { background-image: none; }
  .kpi { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .kpi__item { padding: 4px 14px; }
  .kpi__item:nth-child(3), .kpi__item:nth-child(5) { border-left: 3px solid var(--red); }

  .projects__strip { grid-template-columns: 1fr; }
  .proj { height: 180px; }
  .proj:first-child { height: 230px; }
  .proj:first-child .proj__name { font-size: 20px; }

  .news__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .news-card--featured { grid-row: auto; }
  .news-card--featured .news-card__title { font-size: 18px; }

  .contact { padding-block: 72px; }
  .lead-form { padding: 26px 20px 30px; }
  .lead-form__row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }

  .footer { padding-block: 32px 0; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 22px; }
  .footer__col--offices .footer__offices { grid-template-columns: 1fr; }
  .footer__bottom { padding-bottom: 92px; }
  .fab { right: 14px; bottom: 14px; min-height: 42px; padding: 0 16px 0 13px; font-size: 13px; }
}

/* ---- Laptop 13" (man cao <= 900px): nen doc gon lai de moi khoi vua mot khung hinh ---- */
@media (min-width: 1025px) and (max-height: 900px) {
  :root { --section-y: 76px; }
  .section__head { margin-bottom: 32px; }
  .group-head { margin-bottom: 22px; }
  .tile { aspect-ratio: 3 / 3.25; }
  .service-band { margin-top: 52px; padding: 34px 40px 36px 44px; }
  /* Cum doi tac + san pham: nen doc gon toi da de ca cum vua mot khung hinh */
  .projects__strip { height: clamp(310px, 33vw, 370px); }
  .why { padding-block: 56px 56px; }
  .why__top { gap: 48px; }
  .why__title { font-size: 28px; line-height: 1.2; }
  .why__desc { margin: 12px 0 20px; font-size: 15px; }
  .kpi__value { font-size: 30px; }
  .kpi__label { font-size: 12.5px; margin-top: 6px; }
  .kpi__item { padding: 4px 14px; }
  .values { margin-top: 44px; padding-top: 32px; gap: 44px; }
  .values__heading { margin-bottom: 14px; }
  .values__list { gap: 12px; }
  .values__item { padding: 14px 16px; gap: 13px; }
  .values__icon { width: 38px; height: 38px; }
  .values__icon svg { width: 22px; height: 22px; }
  .values__text strong { font-size: 17px; margin-bottom: 3px; }
  .values__text span { font-size: 13px; line-height: 1.5; }
  .pp { padding: 20px 34px 24px; }
  .pp__partners { padding-bottom: 16px; margin-bottom: 14px; gap: 32px; }
  .pp__partners .eyebrow { margin-bottom: 8px; }
  .pp__partners .section__title { font-size: 23px; line-height: 1.25; }
  .logo-chip { height: 62px; padding: 0 12px; }
  .logo-chip img[data-logo="logo-canny"]      { max-height: 24px; }
  .logo-chip img[data-logo="logo-temi"]       { max-height: 26px; }
  .logo-chip img[data-logo="logo-mitsubishi"] { max-height: 36px; }
  .pp__products .section__head { margin-bottom: 12px; }
  .pp__products .section__head-text .eyebrow { margin-bottom: 6px; }
  .pp__products .section__title--sm { font-size: 21px; }
  .slider__track { padding: 4px 2px 10px; }
  .product-card { padding: 0 0 14px; }
  .product-card__media { aspect-ratio: 7 / 4.6; }
  .product-card__name { margin-top: 12px; font-size: 15px; }
  .product-card__use { font-size: 13px; }
  .step { min-height: 132px; padding: 15px 12px 16px 14px; }
  .step__icon { width: 34px; height: 34px; }
  .solutions__grid { gap: 24px; }
  /* Nhận tư vấn: gọn chiều dọc để cả khối nằm trọn một màn laptop 13" */
  .contact { padding-block: clamp(40px, 9vh, 88px); }   /* co giãn theo chiều cao màn: thoáng trên MacBook, vẫn vừa màn 1280×600 */
  .contact__inner { gap: 56px; }
  .contact .eyebrow { margin-bottom: 10px; }
  .contact__title { font-size: 28px; }
  .contact__desc { margin-top: 10px; font-size: 15px; }
  .trust { margin-top: 16px; gap: 8px; }
  .trust__link { padding: 8px 12px 8px 8px; }
  .trust__icon { width: 30px; height: 30px; padding: 7px; }
  .lead-form { padding: 26px 30px 28px; }
  .lead-form__row { gap: 16px; margin-bottom: 14px; }
  .field { gap: 6px; }
  .field input, .field select { height: 44px; }
  .lead-form__submit { min-height: 48px; }
}

/* ---------- v2.1 responsive: service band, values, product media ---------- */
@media (max-width: 1280px) {
  .service-band { grid-template-columns: 1fr; gap: 36px; padding: 44px 40px 48px; }
  .service-band__art svg { width: 80%; }
  .values { gap: 48px; }
}
@media (max-width: 1024px) {
  .values { grid-template-columns: 1fr; gap: 40px; }
  .values__media { aspect-ratio: 4 / 3; }   /* giữ nguyên khung ảnh: không cắt nhãn "CON NGƯỜI PNT" ở chân ảnh */
}
@media (max-width: 768px) {
  .service-band { margin-top: 56px; padding: 32px 22px 36px; }
  .service-band__title { font-size: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .step { min-height: 0; padding: 16px 10px 18px 12px; gap: 10px; }
  .step__icon { width: 30px; height: 30px; }
  .step__text { font-size: 12.5px; }
  .step:not(:last-child)::after { display: none; }
  .values { margin-top: 56px; padding-top: 40px; }
  .values__list { grid-template-columns: 1fr; gap: 12px; }
  .values__item { padding: 16px; }
  .pp { padding: 28px 18px 36px; }
}

/* ---- Laptop 13" (tiếp): 2 khối cao nhất phải nằm trọn một màn, kể cả màn 1280×600 ----
   Đặt cuối file để thắng các khối responsive phía trên (vd. dải dịch vụ xếp dọc ở ≤1280px).
   Khoảng đệm và chiều cao ảnh co giãn theo chiều cao màn (vh): thoáng trên MacBook, vẫn vừa màn thấp. */
@media (min-width: 1025px) and (max-height: 900px) {
  /* Giải pháp + Dịch vụ + dải "Dịch vụ trọn đời hệ thống thang máy" */
  .solutions { padding-block: clamp(22px, 4.2vh, 64px) 56px; }   /* đáy chừa chỗ cho nút "Liên hệ" cố định */
  .solutions__grid { gap: 20px; }
  .solutions__group { padding: 18px 26px 18px; }
  .solutions .group-head { margin-bottom: 12px; }
  .solutions .eyebrow { margin-bottom: 8px; }
  .solutions .section__title { font-size: 22px; line-height: 1.2; }
  /* lấp đầy đúng một màn: ảnh thẻ giãn cao theo phần màn còn trống (tối đa 290px), phần dư chia đều trên / dưới */
  .solutions .tile { aspect-ratio: auto; height: clamp(110px, calc(95.8vh - 460px), 290px); }
  .service-band { margin-top: 20px; gap: 24px; padding: 20px 34px 20px 38px; }   /* cách 2 khung = khoảng cách giữa 2 khung */
  .service-band__title { font-size: 17px; line-height: 1.4; margin-bottom: 14px; }
  .steps { gap: 12px; }
  .step { min-height: 0; padding: 12px 10px 12px 12px; gap: 8px; }
  .step__no { font-size: 12px; }
  .step__icon { width: 28px; height: 28px; }
  .step__text { font-size: 13px; line-height: 1.35; }

  /* Vì sao lựa chọn PNT: chỉ số + tôn chỉ trong một màn */
  .why { padding-block: clamp(22px, 4.2vh, 56px) 56px; }
  .why .eyebrow { margin-bottom: 10px; }
  .why__title { font-size: 26px; }
  .why__desc { margin: 8px 0 14px; font-size: 15px; line-height: 1.6; }
  .values { margin-top: 20px; padding-top: 20px; gap: 40px;
    /* cột ảnh rộng vừa đủ để ảnh cao bằng phần còn trống của màn (giữ nguyên tỉ lệ ảnh, không cắt nhãn) */
    grid-template-columns: min(40%, calc((104.2vh - 416px) * 4 / 3)) 1fr; }
  .values__heading { margin-bottom: 12px; }
  .values__list { gap: 10px; }
  .values__item { padding: 12px 14px; gap: 12px; }
  .values__icon { width: 36px; height: 36px; }
  .values__icon svg { width: 21px; height: 21px; }
  .values__text strong { font-size: 16px; line-height: 1.3; margin-bottom: 6px; }   /* tách chữ chính / phụ rõ hơn */
  .values__text span { font-size: 13px; line-height: 1.45; }

  /* Dự án tiêu biểu, Đối tác + Sản phẩm: khoảng đệm co theo chiều cao màn như các khối trên */
  .projects { padding-block: clamp(22px, 4.2vh, 64px) 56px; }
  .pp { padding: 18px 34px 20px; }
  .product-card__media { aspect-ratio: auto; height: clamp(110px, calc(40vh - 115px), 240px); }
  .product-card__name { font-size: clamp(12.5px, calc((100cqi - 30px) / 12.2), 15px); margin-inline: 14px; }   /* 5 thẻ một hàng */
  .product-card__use { margin-inline: 14px; }

  /* Tin tức & hoạt động: giữ bố cục 1 tin lớn + lưới 2×2; ảnh giữ tỉ lệ 3:2 (khối có thể cao hơn một màn) */
  .news { padding-block: clamp(22px, 4.2vh, 64px) 56px; }
  .news .section__head { margin-bottom: 16px; }
  .news .section__head .eyebrow { margin-bottom: 8px; }
  .news .section__title { font-size: 26px; }
  .news__grid { gap: 14px 18px; }
  .news-card__body { padding: 10px 14px 12px; gap: 4px; }
  .news-card--featured .news-card__body { padding: 14px 18px 16px; gap: 6px; }
  .news-card__meta { font-size: 11px; }
  .news-card__title { font-size: 14.5px; line-height: 1.4;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .news-card--featured .news-card__title { font-size: 19px; line-height: 1.35; }
  .news-card__excerpt { font-size: 13px; line-height: 1.55; }
}
/* laptop màn hẹp 1025–1099px: tiêu đề tin nhỏ lại một chút để không bị cắt ở dòng thứ 2 */
@media (min-width: 1025px) and (max-width: 1099px) and (max-height: 900px) {
  .news-card__title { font-size: 13.5px; }
  .news-card--featured .news-card__title { font-size: 17.5px; }
}
/* từ 1181px hai cụm Giải pháp / Dịch vụ đứng cạnh nhau: dải dịch vụ trọn đời giữ 2 cột (chữ trái, 6 bước phải) cho thấp */
@media (min-width: 1181px) and (max-height: 900px) {
  .service-band { grid-template-columns: 1.1fr 1.9fr; }
  .steps { gap: 10px; }
  .step { padding-inline: 10px 8px; }
  .service-band__art svg { width: 62%; }
}
/* laptop hẹp 1181–1260px: nhãn và chữ các bước xuống 2–3 dòng nên dải dịch vụ cao hơn -> ảnh thẻ thấp bớt 20px */
@media (min-width: 1181px) and (max-width: 1260px) and (max-height: 900px) {
  .solutions .tile { height: clamp(110px, calc(95.8vh - 480px), 290px); }
}
/* Màn cao (> 900px) từ 1281px: khối Giải pháp + Dịch vụ cũng lấp đúng một màn, ảnh thẻ giãn theo chiều cao màn */
@media (min-width: 1281px) and (min-height: 901px) {
  .solutions { padding-block: 40px 72px; }   /* đáy chừa chỗ cho nút "Liên hệ" cố định */
  .solutions .tile { aspect-ratio: auto; height: clamp(200px, calc(100vh - 697px), 320px); }
  .service-band { margin-top: 28px; }   /* cách 2 khung = khoảng cách giữa 2 khung */
  .steps { gap: 10px; }
  .step { padding-inline: 10px 8px; }   /* cột chữ rộng hơn nên thu lề các bước: chữ bước vẫn gọn 2 dòng */
}
/* khối Giải pháp luôn cao ít nhất một màn (trừ header thu gọn 61px), nội dung căn giữa theo chiều dọc */
@media (min-width: 1181px) and (max-height: 900px), (min-width: 1281px) and (min-height: 901px) {
  .solutions { min-height: calc(100vh - 61px); display: flex; flex-direction: column; justify-content: center; }
  .solutions > .container { flex: none; }
  .slider--tiles .slider__btn--prev { left: -24px; }   /* nằm trọn trong lề khung (khung có clip-path) */
  .slider--tiles .slider__btn--next { right: -24px; }
}
/* ---- Laptop 13": MỌI khối lấp đầy đúng một màn (cao = màn trừ header thu gọn 61px) ----
   Đáy mỗi khối chừa 56px cho nút "Liên hệ" cố định (nút nhỏ lại 38px, cách đáy 14px) nên nút không đè lên nội dung. */
@media (min-width: 1025px) and (max-height: 900px) {
  .solutions, .partners-products, .why, .projects, .news {
    min-height: calc(100vh - 61px); display: flex; flex-direction: column; justify-content: center; }
  .solutions > .container, .why > .container, .projects > .container, .news > .container { flex: none; }
  /* Đối tác + Sản phẩm: khung nền trắng giãn kín màn (chỉ chừa viền xám mảnh), nội dung căn giữa trong khung;
     đáy khung chừa chỗ cho nút "Liên hệ" cố định */
  .partners-products { padding-block: 14px; }
  .partners-products > .container { flex: 1 1 auto; display: flex; flex-direction: column; }
  .pp { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: 22px 34px 42px; }
  /* Trao đổi về công trình: gọn lại để cùng một màn còn thấy đầu footer (logo PNT, địa chỉ VP Hà Nội, hotline) */
  .contact { min-height: 0; display: block; padding-block: clamp(22px, 4.2vh, 40px); }
  .fab { bottom: 14px; min-height: 38px; }
}
/* laptop 1025–1180px: thẻ dự án hẹp -> tên nhỏ lại 1px cho "Khách sạn" không bị tách chữ */
@media (min-width: 1025px) and (max-width: 1180px) and (max-height: 900px) {
  .proj:not(.is-active) .proj__name { font-size: 14px; }
  .why { padding-top: 18px; }                      /* cột hẹp: chữ tôn chỉ xuống dòng nhiều hơn -> gọn khoảng cách */
  .values { margin-top: 16px; padding-top: 16px; }
}
/* Từ 1181px: ảnh / khung trong từng khối giãn theo chiều cao màn (vh), có mức tối đa; phần còn dư chia đều trên / dưới. */
@media (min-width: 1181px) and (max-height: 900px) {
  /* Đối tác + Sản phẩm: ô logo và ảnh sản phẩm cao theo màn */
  .logo-chip { height: clamp(62px, 10vh, 84px); }
  .product-card__media { height: clamp(92px, calc(90vh - 420px), 270px); }
  /* Dự án: dải 5 loại công trình cao theo màn */
  .projects__strip { height: clamp(310px, calc(95.8vh - 240px), 500px); }
  /* Trao đổi về công trình: khung form gọn hơn */
  .contact { padding-block: clamp(22px, 4.2vh, 40px); }
  .contact__inner { grid-template-columns: 1fr 1fr; }
  .lead-form { padding: 22px 26px 24px; }
  .field input, .field select { height: 42px; }
  .lead-form__submit { min-height: 46px; }
}
