/* =========================================================
   P.E CORPORATION — Website design system
   Bảng màu & hiệu ứng kế thừa từ demo.html (excedo v5/v6),
   khung hero + header trong suốt kế thừa từ demo_menu_hero.html
   ========================================================= */

:root {
  --pe-blue: #0062ff;
  --pe-cyan: #00b4d8;
  --pe-orange: #f97316;
  --pe-navy: #0b2b67;
  --pe-ink: #071426;
  --pe-muted: #607089;
  --pe-line: rgba(7, 20, 38, .10);
  --pe-ease: cubic-bezier(.19, 1, .22, 1);

  --pe-ocean-50: #f0f9ff;
  --pe-ocean-100: #e0f2fe;
  --pe-ocean-200: #bae6fd;
  --pe-ocean-500: #0ea5e9;
  --pe-ocean-600: #0284c7;
  --pe-ocean-700: #0369a1;
  --pe-ocean-900: #0c4a6e;

  --pe-header-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--pe-header-h) + 10px); }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1e293b;
  background-color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Nền trang: ảnh bg_body.jpg trải hết chiều ngang, cao tự động và cuộn theo trang
   (ảnh tự nhạt dần xuống trắng nên hòa vào phần nội dung bên dưới). */
body.pe-bg {
  background-image: url("../../bg_body.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Hanken Grotesk", Inter, sans-serif;
  margin: 0;
  letter-spacing: -.02em;
}

.pe-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .pe-wrap { padding: 0 18px; } }

/* =========================================================
   HEADER — trong suốt nằm trên nền ảnh, cuộn xuống thì đặc lại và thu gọn
   ========================================================= */
/* Cố định trên cùng nên ảnh nền của body chạy phía sau header, giống vdtdata. */
.pe-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
  background: transparent;
}
.pe-header.is-solid {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(8, 47, 73, .08);
  border-bottom: 1px solid rgba(224, 242, 254, .8);
}
.pe-header-inner {
  height: var(--pe-header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: height .4s var(--pe-ease);
}
/* Cuộn xuống: header thu gọn lại cho nhẹ mắt */
.pe-header.is-solid .pe-header-inner { height: calc(var(--pe-header-h) - 16px); }
.pe-header.is-solid .pe-logo img { height: 46px; }

.pe-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.pe-logo img {
  /* Logo là ảnh chữ nhật sát mép (không có viền trắng đệm) nên KHÔNG bo góc —
     border-radius trên ảnh full-bleed sẽ cắt mất chữ/hình ở góc. */
  height: 56px; width: auto; object-fit: contain;
  transition: transform .35s var(--pe-ease);
}
.pe-logo:hover img { transform: scale(1.04); }

.pe-nav { display: flex; align-items: center; gap: 6px; }
.pe-nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 15px; font-weight: 600; color: #334155;
  border-radius: 10px;
  transition: color .25s ease, background .25s ease;
  white-space: nowrap;
}
.pe-nav a:hover { color: var(--pe-blue); background: rgba(0, 98, 255, .06); }
.pe-nav a.is-active { color: var(--pe-navy); font-weight: 700; }
.pe-nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--pe-blue), var(--pe-cyan));
}

.pe-header-actions { display: flex; align-items: center; gap: 12px; }

.pe-phone {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--pe-blue), #0a4ecf);
  color: #fff; font-size: 14px; font-weight: 700;
  padding: 11px 20px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 98, 255, .28);
  transition: transform .3s var(--pe-ease), box-shadow .3s ease;
}
.pe-phone:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 98, 255, .34); }
.pe-phone i { font-size: 12px; color: #bae6fd; }

/* Nhãn ngôn ngữ trên header — chỉ hiển thị ngôn ngữ đang chọn, KHÔNG bấm được.
   Nút chuyển ngôn ngữ thật nằm ở thanh nổi bên phải trang (.pe-lang-float), theo đúng demo.html. */
.pe-lang-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--pe-line);
  font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #334155;
}
.pe-header.is-solid .pe-lang-badge { background: #f1f5f9; }
.pe-lang-flag {
  width: 20px; height: 14px; border-radius: 3px; position: relative; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
}
.pe-lang-flag.vi { background: #da251d; }
.pe-lang-flag.vi::after {
  content: "\2605"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #ffcd00; font-size: 9px; line-height: 1;
}
.pe-lang-flag.en { background: var(--pe-navy); }
.pe-lang-flag.en::after {
  content: "EN"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 7px; font-weight: 900;
}

/* Bộ chuyển ngôn ngữ nổi cố định bên phải trang — trong suốt, chỉ 2 nút, không khung nền */
.pe-lang-float {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 65;
  display: flex; flex-direction: column; gap: 8px;
  background: transparent; border: 0; padding: 0; box-shadow: none;
}
.pe-lang-float button {
  width: 32px; height: 24px; border-radius: 5px; border: 0; padding: 0; cursor: pointer;
  position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 3px 10px rgba(7, 20, 38, .28);
}
.pe-lang-float button:hover { transform: scale(1.1); }
.pe-lang-float button.is-active { box-shadow: 0 0 0 2px var(--pe-blue), 0 4px 10px rgba(0, 98, 255, .25); }
.pe-lang-float button.vi { background: #da251d; }
.pe-lang-float button.vi::after {
  content: "\2605"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #ffcd00; font-size: 11px;
}
.pe-lang-float button.en { background: var(--pe-navy); }
.pe-lang-float button.en::after {
  content: "EN"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 9px; font-weight: 900;
}
@media (max-width: 640px) { .pe-lang-float { right: 8px; } }

.pe-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--pe-line); background: rgba(255, 255, 255, .85);
  color: var(--pe-navy); font-size: 18px; cursor: pointer;
}

/* Menu mobile */
.pe-mobile-menu {
  position: fixed; inset: calc(var(--pe-header-h) + 6px) 14px auto; z-index: 59;
  padding: 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .98); backdrop-filter: blur(18px);
  border: 1px solid rgba(14, 165, 233, .16);
  box-shadow: 0 25px 70px rgba(8, 47, 73, .18);
  transform: translateY(-12px) scale(.98); opacity: 0; visibility: hidden;
  transition: .32s var(--pe-ease);
}
.pe-mobile-menu.open { transform: none; opacity: 1; visibility: visible; }
.pe-mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 15px; border-radius: 13px; color: #334155; font-weight: 700;
  transition: .22s ease;
}
.pe-mobile-menu a:hover, .pe-mobile-menu a.is-active { background: var(--pe-ocean-50); color: var(--pe-ocean-700); }

/* =========================================================
   HERO — trong suốt để lộ ảnh nền của body (không phủ lớp trắng nào)
   ========================================================= */
.pe-hero-wrap { position: relative; overflow: hidden; }

.pe-hero { position: relative; padding: calc(var(--pe-header-h) + 24px) 0 72px; }

/* Trang con không có hero lớn: chừa khoảng trống dưới header cố định cho section đầu tiên */
.pe-top-gap { padding-top: calc(var(--pe-header-h) + 44px) !important; }

.pe-hero-glow {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  filter: blur(60px); opacity: .34; pointer-events: none; z-index: 0;
}
.pe-glow-a { left: -220px; top: 10%; background: rgba(0, 180, 216, .26); }
.pe-glow-b { right: -240px; bottom: -12%; background: rgba(0, 98, 255, .18); }

.pe-slider { position: relative; min-height: 560px; }
.pe-slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px; align-items: center; min-height: 560px;
  opacity: 0; visibility: hidden; transform: translateX(24px) scale(.985);
  transition: opacity .8s ease, transform 1s var(--pe-ease), visibility .8s ease;
}
.pe-slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }

.pe-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--pe-navy); font-size: 11px; font-weight: 900;
  letter-spacing: .2em; text-transform: uppercase;
}
.pe-kicker::before {
  content: ""; width: 34px; height: 2px; display: inline-block;
  background: linear-gradient(90deg, var(--pe-blue), var(--pe-cyan));
}
/* Biến thể dùng trên nền tối (CTA band...) */
.pe-kicker-light { color: #fff; }
.pe-kicker-light::before { background: linear-gradient(90deg, var(--pe-cyan), #7dd3fc); }

.pe-hero-title {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 900;
  color: var(--pe-orange);
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(249, 115, 22, .10);
}
.pe-hero-title .line { display: block; }
.pe-hero-title .accent { color: var(--pe-navy); }

.pe-hero-slogan {
  margin: 18px 0 0;
  font-size: clamp(18px, 1.9vw, 27px);
  line-height: 1.38; font-weight: 800; color: var(--pe-navy);
  max-width: 600px;
}
.pe-hero-desc {
  margin: 16px 0 0; max-width: 560px;
  color: #51637d; font-size: 15px; line-height: 1.8;
}

.pe-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pe-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 800; font-family: inherit;
  cursor: pointer; border: 1px solid transparent;
  transition: .38s var(--pe-ease);
}
.pe-btn-primary {
  background: linear-gradient(135deg, var(--pe-blue), #0a4ecf); color: #fff;
  box-shadow: 0 14px 32px rgba(0, 98, 255, .26);
}
.pe-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(0, 98, 255, .32); }
.pe-btn-primary i { transition: transform .32s ease; }
.pe-btn-primary:hover i { transform: translateX(4px); }
.pe-btn-ghost {
  border-color: rgba(0, 98, 255, .2); color: var(--pe-navy);
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px);
}
.pe-btn-ghost:hover { background: #fff; transform: translateY(-3px); }
.pe-btn-orange {
  background: linear-gradient(135deg, var(--pe-orange), #ea580c); color: #fff;
  box-shadow: 0 14px 32px rgba(249, 115, 22, .26);
}
.pe-btn-orange:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(249, 115, 22, .34); }

/* Khối ảnh hero dạng viên sỏi (pebble) — nới to hơn cho rõ, chữ bên cạnh giữ tối giản */
.pe-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 500px; }
.pe-pebble {
  position: relative; width: min(100%, 540px); aspect-ratio: 1.08 / 1; overflow: hidden;
  border: 6px solid #fff; background: var(--pe-navy);
  border-radius: 43% 57% 65% 35% / 38% 42% 58% 62%;
  box-shadow: 0 32px 80px rgba(8, 47, 73, .16), 0 0 0 12px rgba(255, 255, 255, .48);
  transform: rotate(-1deg); z-index: 3;
}
.pe-pebble::after {
  content: ""; position: absolute; inset: -12px; z-index: -1;
  border: 1px solid rgba(0, 98, 255, .14);
  border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
}
.pe-pebble img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1); transition: transform 1.4s var(--pe-ease);
  filter: saturate(.94);
}
.pe-slide.is-active .pe-pebble img { transform: scale(1); }
.pe-pebble-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(7, 20, 38, .34), transparent 50%, rgba(0, 180, 216, .12));
}
.pe-pebble-badge {
  position: absolute; left: 20px; top: 18px; z-index: 4;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  color: var(--pe-navy); font-size: 10px; font-weight: 900; letter-spacing: .1em;
}
.pe-pebble-badge i { color: var(--pe-orange); margin-right: 6px; }
.pe-hatch {
  position: absolute; width: 180px; height: 180px; z-index: 0; opacity: .7;
  background-image: repeating-linear-gradient(-45deg, rgba(100, 116, 139, .18) 0, rgba(100, 116, 139, .18) 1.5px, transparent 1.5px, transparent 8px);
  border-radius: 58% 42% 62% 38% / 45% 55% 45% 55%;
  transform: rotate(-12deg);
}
.pe-hatch-left { left: -10px; top: 30px; }
.pe-hatch-right { left: auto; right: -10px; top: 30px; transform: rotate(12deg); }
.pe-orbit { position: absolute; border: 1px dashed rgba(0, 98, 255, .2); border-radius: 50%; z-index: 0; pointer-events: none; }
.pe-orbit-a { width: 560px; height: 560px; animation: peOrbit 11s ease-in-out infinite; }
.pe-orbit-b { width: 430px; height: 430px; border-color: rgba(249, 115, 22, .16); animation: peOrbit 8s ease-in-out infinite reverse; }
@keyframes peOrbit { 50% { transform: scale(1.045) rotate(7deg); opacity: .55; } }

.pe-hero-controls { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.pe-dots { display: flex; gap: 8px; align-items: center; }
.pe-dot {
  width: 22px; height: 4px; border: 0; border-radius: 999px; padding: 0; cursor: pointer;
  background: rgba(0, 98, 255, .2); transition: .4s;
}
.pe-dot.active { width: 54px; background: linear-gradient(90deg, var(--pe-blue), var(--pe-cyan)); }
.pe-counter { font-size: 11px; color: #8a99aa; font-weight: 800; margin-right: auto; }
.pe-counter strong { font-size: 15px; color: var(--pe-navy); }
.pe-arrows { display: flex; gap: 8px; }
.pe-arrows button {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(0, 98, 255, .16); background: rgba(255, 255, 255, .8);
  color: var(--pe-navy); transition: .32s;
}
.pe-arrows button:first-child { background: var(--pe-navy); color: #fff; }
.pe-arrows button:hover { transform: translateY(-3px); background: var(--pe-blue); color: #fff; border-color: var(--pe-blue); }

/* =========================================================
   SECTION chung
   ========================================================= */
.pe-section { padding: 88px 0; position: relative; }
.pe-section-sm { padding: 64px 0; }
.pe-bg-soft { background: linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
.pe-bg-tint { background: var(--pe-ocean-50); }

.pe-section-head { max-width: 760px; margin-bottom: 44px; }
.pe-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.pe-section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.22; margin: 16px 0 0; color: var(--pe-ink); font-weight: 900;
  letter-spacing: -.03em;
}
.pe-section-head h2 span { color: var(--pe-orange); }
.pe-section-head p { margin: 16px 0 0; color: var(--pe-muted); line-height: 1.8; font-size: 15px; }

/* =========================================================
   CARD — dịch vụ / lĩnh vực
   ========================================================= */
.pe-grid { display: grid; gap: 20px; }
.pe-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pe-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pe-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pe-card {
  position: relative; padding: 30px 28px 28px; background: #fff;
  border: 1px solid var(--pe-line); border-radius: 26px 26px 26px 6px;
  box-shadow: 0 14px 40px rgba(7, 20, 38, .055);
  transition: transform .5s var(--pe-ease), box-shadow .5s ease, border-color .5s ease;
  height: 100%;
}
.pe-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(7, 20, 38, .12); border-color: rgba(0, 98, 255, .2); }
.pe-card-no { position: absolute; right: 22px; top: 18px; font-size: 12px; font-weight: 900; color: #b8c5d3; }
.pe-card-icon {
  width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center;
  color: #fff; font-size: 19px;
  background: linear-gradient(135deg, var(--pe-blue), var(--pe-cyan));
  box-shadow: 0 12px 25px rgba(0, 98, 255, .2);
}
.pe-card-icon.orange { background: linear-gradient(135deg, var(--pe-orange), #ea580c); box-shadow: 0 12px 25px rgba(249, 115, 22, .22); }
.pe-card-icon.cyan { background: linear-gradient(135deg, var(--pe-cyan), var(--pe-ocean-700)); box-shadow: 0 12px 25px rgba(0, 180, 216, .22); }
.pe-card h3 { margin: 20px 0 10px; font-size: 19px; color: var(--pe-ink); line-height: 1.32; }
.pe-card p { margin: 0; color: var(--pe-muted); font-size: 14px; line-height: 1.75; }
.pe-card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  color: var(--pe-blue); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em;
}
.pe-card-link i { transition: transform .3s; }
.pe-card:hover .pe-card-link i { transform: translateX(5px); }

/* Thẻ lớn — dùng cho lưới 2 cột "cách điệu" hơn (VD: Lĩnh vực kinh doanh) */
.pe-card-lg { padding: 40px 36px 36px; border-radius: 32px 32px 32px 8px; }
.pe-card-lg .pe-card-icon { width: 62px; height: 62px; border-radius: 20px; font-size: 23px; }
.pe-card-lg .pe-card-no { font-size: 13px; right: 26px; top: 22px; }
.pe-card-lg h3 { font-size: 22px; margin-top: 26px; }
.pe-card-lg p { font-size: 14.5px; max-width: 92%; }

/* Watermark chữ khổng lồ mờ phía sau tiêu đề section — cách điệu như demo.html */
.pe-watermark { position: relative; overflow: hidden; }
.pe-watermark::before {
  content: attr(data-watermark);
  position: absolute; right: -14px; top: 4px; z-index: 0;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: clamp(90px, 15vw, 210px); font-weight: 900; letter-spacing: -.06em;
  color: rgba(0, 98, 255, .045); pointer-events: none; line-height: 1; white-space: nowrap;
}
.pe-watermark > * { position: relative; z-index: 1; }
@media (max-width: 900px) { .pe-card-lg { padding: 32px 28px 30px; } }

/* =========================================================
   BỐ CỤC 2 CỘT + KHUNG ẢNH + DANH SÁCH TÍCH
   ========================================================= */
.pe-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px; align-items: center; }
.pe-split-wide { grid-template-columns: 1.15fr 1fr; }

.pe-h2 {
  font-size: clamp(27px, 3.2vw, 42px); line-height: 1.22; font-weight: 900;
  color: var(--pe-ink); margin: 16px 0 0; letter-spacing: -.03em;
}
.pe-h2 .hl { color: var(--pe-orange); display: block; }
.pe-h3 { font-size: clamp(20px, 2.2vw, 27px); line-height: 1.3; font-weight: 900; color: var(--pe-ink); margin: 0 0 14px; }
.pe-lead { margin: 18px 0 0; font-size: 16px; line-height: 1.85; color: #334155; font-weight: 600; }
.pe-body-text { margin: 14px 0 0; font-size: 15px; line-height: 1.88; color: var(--pe-muted); }

.pe-img-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 6px solid #fff; background: var(--pe-ocean-100);
  box-shadow: 0 28px 70px rgba(8, 47, 73, .16);
  aspect-ratio: 4 / 3;
}
.pe-img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--pe-ease); }
.pe-img-frame:hover img { transform: scale(1.05); }
.pe-img-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(7, 20, 38, .2), transparent 55%);
}
.pe-img-frame-tall { aspect-ratio: 3 / 4; }

/* =========================================================
   BLOB — khung ảnh cách điệu dùng chung (Về chúng tôi, Giới thiệu, Liên hệ...)
   cùng phong cách "pebble" với ảnh hero, dùng cho ảnh trong nội dung trang
   ========================================================= */
.pe-blob-wrap { position: relative; display: flex; justify-content: center; min-height: 380px; }
.pe-blob {
  position: relative; width: 100%; max-width: 600px; aspect-ratio: 1.08 / 1; overflow: hidden;
  border: 6px solid #fff; background: var(--pe-navy);
  border-radius: 43% 57% 65% 35% / 38% 42% 58% 62%;
  box-shadow: 0 32px 80px rgba(8, 47, 73, .16), 0 0 0 12px rgba(255, 255, 255, .42);
  z-index: 2;
}
.pe-blob img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--pe-ease); filter: saturate(.95);
}
.pe-blob:hover img { transform: scale(1.06); }
.pe-blob-flip { border-radius: 57% 43% 35% 65% / 42% 38% 62% 58%; transform: rotate(1deg); }
.pe-blob-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(7, 20, 38, .3), transparent 55%, rgba(0, 180, 216, .12));
}
.pe-blob-glow {
  position: absolute; inset: 8%; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 180, 216, .24), transparent 68%); filter: blur(30px);
}
/* Biến thể ánh cam — điểm nhấn ấm phía sau ảnh, xen kẽ với glow xanh cho đa dạng */
.pe-blob-glow-orange {
  position: absolute; z-index: 0; pointer-events: none;
  width: 46%; height: 46%; right: 4%; bottom: 2%; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, .5), transparent 70%); filter: blur(18px);
}
.pe-blob-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 4;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  color: var(--pe-navy); font-size: 10px; font-weight: 900; letter-spacing: .1em;
}
.pe-blob-badge i { color: var(--pe-orange); margin-right: 6px; }
@media (max-width: 640px) { .pe-blob { max-width: 340px; } .pe-blob-wrap { min-height: 240px; } }

.pe-check-list { list-style: none; margin: 22px 0 0; padding: 0; }
.pe-check-list li {
  position: relative; padding-left: 32px; margin-bottom: 13px;
  font-size: 14.5px; line-height: 1.7; color: #475569; font-weight: 600;
}
.pe-check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px;
  background: var(--pe-ocean-50); color: var(--pe-ocean-600);
  border: 1px solid rgba(14, 165, 233, .2);
}

.pe-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}

.pe-cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.pe-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; position: relative; z-index: 1; }
.pe-cta .pe-btn-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.pe-cta .pe-btn-ghost:hover { background: rgba(255, 255, 255, .22); }

.pe-pebble-flipped { border-radius: 57% 43% 35% 65% / 42% 38% 62% 58%; transform: rotate(1.2deg); }

@media (max-width: 900px) {
  .pe-split, .pe-split-wide { grid-template-columns: 1fr; gap: 34px; }
  .pe-head-row { margin-bottom: 30px; }
  .pe-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   CHỮ KÝ / BẢNG THÔNG TIN / CHỈ SỐ NHỎ
   ========================================================= */
.pe-signature { margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--pe-orange); }
.pe-signature strong {
  display: block; font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: 19px; font-weight: 900; color: var(--pe-ink);
}
.pe-signature span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--pe-muted); font-weight: 600; }

.pe-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pe-info-item {
  position: relative; overflow: hidden;
  padding: 22px 22px 20px; border-radius: 20px 20px 20px 6px; background: #fff;
  border: 1px solid var(--pe-line); box-shadow: 0 8px 26px rgba(7, 20, 38, .05);
  transition: transform .4s var(--pe-ease), box-shadow .4s ease, border-color .4s ease;
}
.pe-info-item:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(7, 20, 38, .1); border-color: rgba(0, 98, 255, .18); }
.pe-info-icon {
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: 14px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
  background: var(--pe-ocean-50); color: var(--pe-ocean-600);
}
.pe-info-item.hl-orange .pe-info-icon { background: #fff1e8; color: var(--pe-orange); }
.pe-info-item span {
  display: block; font-size: 11px; font-weight: 900; letter-spacing: .07em;
  text-transform: uppercase; color: var(--pe-ocean-600);
}
.pe-info-item strong {
  display: block; margin-top: 8px; font-size: 15px; font-weight: 700;
  color: var(--pe-ink); line-height: 1.55;
}

.pe-mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.pe-mini-stats > div {
  padding: 16px 14px; border-radius: 16px; text-align: center;
  background: rgba(255, 255, 255, .82); border: 1px solid var(--pe-line);
}
.pe-mini-stats strong {
  display: block; font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: 28px; font-weight: 900; line-height: 1; color: var(--pe-blue);
}
.pe-mini-stats span { display: block; margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--pe-muted); line-height: 1.45; }

@media (max-width: 1024px) { .pe-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .pe-info-grid { grid-template-columns: 1fr; }
  .pe-mini-stats { grid-template-columns: 1fr; }
}

/* =========================================================
   NEWS CARD
   ========================================================= */
.pe-news-card {
  background: #fff; border: 1px solid #e5eef6; border-radius: 22px; overflow: hidden;
  box-shadow: 0 7px 25px rgba(8, 47, 73, .045);
  transition: transform .4s var(--pe-ease), box-shadow .4s ease, border-color .4s ease;
  display: flex; flex-direction: column; height: 100%;
}
.pe-news-card:hover { transform: translateY(-8px); border-color: var(--pe-ocean-200); box-shadow: 0 22px 45px rgba(8, 47, 73, .12); }
.pe-news-thumb { position: relative; height: 210px; overflow: hidden; background: var(--pe-ocean-100); }
.pe-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--pe-ease); }
.pe-news-card:hover .pe-news-thumb img { transform: scale(1.08); }
.pe-news-date {
  position: absolute; top: 14px; right: 14px; color: #fff;
  background: rgba(3, 105, 161, .9); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 800;
}
.pe-news-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.pe-tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pe-ocean-600); background: var(--pe-ocean-50);
  border: 1px solid rgba(14, 165, 233, .16); border-radius: 999px; padding: 5px 11px;
}
.pe-news-title {
  font-size: 17px; line-height: 1.38; font-weight: 800; color: #0f172a; margin: 12px 0 0;
  transition: color .25s ease;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pe-news-card:hover .pe-news-title { color: var(--pe-ocean-600); }
.pe-news-excerpt {
  color: #64748b; font-size: 13px; line-height: 1.75; margin: 10px 0 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pe-news-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 18px;
}
.pe-read {
  color: var(--pe-ocean-700); font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: 7px;
}
.pe-read i { transition: transform .25s ease; }
.pe-news-card:hover .pe-read i { transform: translateX(4px); }

/* Bài nổi bật — dải ngang gọn, CHIỀU CAO CỐ ĐỊNH để không bị giãn theo cột chữ ngắn
   (trước đây dùng min-height:0 + stretch khiến cột ảnh cao hơn cột chữ, để lại khoảng trắng xấu) */
.pe-featured {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; height: 230px;
  background: #fff; border: 1px solid #e5eef6; border-radius: 24px; overflow: hidden;
  box-shadow: 0 12px 36px rgba(8, 47, 73, .07);
  transition: box-shadow .45s ease, transform .45s var(--pe-ease);
}
.pe-featured:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(8, 47, 73, .12); }
.pe-featured-img { position: relative; height: 100%; overflow: hidden; background: var(--pe-ocean-100); }
.pe-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--pe-ease); }
.pe-featured:hover .pe-featured-img img { transform: scale(1.06); }
.pe-featured-copy { padding: 24px 30px; display: flex; flex-direction: column; justify-content: center; }
.pe-featured-copy h3 {
  font-size: clamp(16px, 1.6vw, 20px); line-height: 1.36; font-weight: 800; color: #0f172a; margin: 10px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pe-featured-copy p {
  color: #64748b; font-size: 13px; line-height: 1.75; margin: 9px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* =========================================================
   PROJECT CARD
   ========================================================= */
.pe-project-card {
  background: #fff; border: 1px solid #e8eef4; border-radius: 24px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(8, 47, 73, .05);
  transition: transform .45s var(--pe-ease), box-shadow .45s ease, border-color .45s ease;
  display: flex; flex-direction: column; height: 100%; cursor: pointer;
}
.pe-project-card:hover { transform: translateY(-9px); border-color: rgba(0, 98, 255, .22); box-shadow: 0 26px 56px rgba(8, 47, 73, .14); }
.pe-project-img { position: relative; height: 240px; overflow: hidden; background: var(--pe-navy); }
.pe-project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--pe-ease); }
.pe-project-card:hover .pe-project-img img { transform: scale(1.07); }
.pe-project-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 20, 38, .68), transparent 55%);
}
.pe-project-badge {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  padding: 6px 13px; border-radius: 999px; font-size: 10px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .94); color: var(--pe-navy); backdrop-filter: blur(8px);
}
.pe-project-badge.featured { background: linear-gradient(135deg, var(--pe-orange), #ea580c); color: #fff; }
.pe-project-loc {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; gap: 7px;
}
.pe-project-loc i { color: var(--pe-cyan); }
.pe-project-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pe-project-body h3 {
  font-size: 17px; line-height: 1.4; font-weight: 800; color: #0f172a; margin: 10px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pe-project-scope {
  color: #64748b; font-size: 13px; line-height: 1.7; margin: 10px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pe-project-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: auto; padding-top: 16px; border-top: 1px dashed #e5eef6;
  font-size: 12px; color: #64748b; font-weight: 600;
}
.pe-project-meta i { color: var(--pe-blue); margin-right: 5px; }

/* =========================================================
   SHOWCASE DỰ ÁN — lưới mosaic ảnh lớn (phong cách trang tập đoàn)
   ========================================================= */
.pe-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 16px;
}
.pe-tile {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 20px; background: var(--pe-navy);
  grid-column: span 1; grid-row: span 1;
  box-shadow: 0 10px 30px rgba(8, 47, 73, .1);
  transition: box-shadow .5s var(--pe-ease), transform .5s var(--pe-ease);
}
.pe-tile:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(8, 47, 73, .22); }
.pe-tile-lg { grid-column: span 2; grid-row: span 2; }
.pe-tile-wide { grid-column: span 2; }

.pe-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s var(--pe-ease), filter .6s ease;
  filter: saturate(.92);
}
.pe-tile:hover img { transform: scale(1.12); filter: saturate(1.05); }
.pe-tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4, 16, 34, .88) 0%, rgba(4, 16, 34, .34) 42%, rgba(4, 16, 34, 0) 68%);
  transition: opacity .5s ease;
}
.pe-tile:hover::after { opacity: .94; }

.pe-tile-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 22px 20px; color: #fff;
}
.pe-tile-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; margin-bottom: 10px;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .26);
}
.pe-tile-chip.hot { background: linear-gradient(135deg, var(--pe-orange), #ea580c); border-color: transparent; }
.pe-tile h3 {
  font-size: 17px; line-height: 1.38; font-weight: 800; color: #fff; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.pe-tile-lg h3 { font-size: clamp(20px, 2vw, 27px); line-height: 1.3; -webkit-line-clamp: 3; }

/* Dòng phụ trượt lên khi rê chuột */
.pe-tile-more {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--pe-ease), opacity .4s ease;
  opacity: 0;
}
.pe-tile:hover .pe-tile-more { grid-template-rows: 1fr; opacity: 1; }
.pe-tile-more > div { overflow: hidden; }
.pe-tile-more p {
  margin: 9px 0 0; font-size: 12.5px; line-height: 1.65; color: rgba(255, 255, 255, .84);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pe-tile-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 11px; font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .78);
}
.pe-tile-meta i { color: var(--pe-cyan); margin-right: 5px; }
.pe-tile-go {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; color: var(--pe-navy);
  background: #fff; opacity: 0; transform: translate(6px, -6px) scale(.85);
  transition: .45s var(--pe-ease);
}
.pe-tile:hover .pe-tile-go { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .pe-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .pe-tile-lg { grid-column: span 2; grid-row: span 2; }
  .pe-tile-wide { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .pe-showcase { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .pe-tile-lg, .pe-tile-wide { grid-column: span 1; grid-row: span 1; }
  .pe-tile-lg h3 { font-size: 20px; }
  /* Màn nhỏ: hiện luôn phần phụ vì không có thao tác rê chuột */
  .pe-tile-more { grid-template-rows: 1fr; opacity: 1; }
}

/* Bộ lọc */
.pe-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pe-filter {
  border: 1px solid #e2e8f0; background: #fff; color: #475569;
  font-family: inherit; font-size: 13px; font-weight: 700;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: .28s var(--pe-ease);
}
.pe-filter:hover { border-color: var(--pe-ocean-200); color: var(--pe-ocean-700); }
.pe-filter.is-active { background: var(--pe-navy); border-color: var(--pe-navy); color: #fff; box-shadow: 0 8px 20px rgba(11, 43, 103, .22); }

.pe-empty {
  text-align: center; padding: 60px 20px; color: #94a3b8;
  border: 1px dashed #cbd5e1; border-radius: 22px; background: #f8fafc;
}
.pe-empty i { font-size: 32px; display: block; margin-bottom: 12px; color: #cbd5e1; }
.pe-empty[hidden] { display: none; }

.pe-count {
  font-size: 13px; font-weight: 700; color: var(--pe-muted);
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--pe-line);
  white-space: nowrap;
}

.pe-map {
  margin-top: 28px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--pe-line); box-shadow: 0 14px 40px rgba(7, 20, 38, .08);
  line-height: 0;
}

/* =========================================================
   PHÂN TRANG
   ========================================================= */
.pe-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 42px; flex-wrap: wrap; }
.pe-page-btn {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--pe-line); background: #fff; color: #475569;
  font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: .25s var(--pe-ease);
}
.pe-page-btn:hover:not(:disabled):not(.is-active) { border-color: var(--pe-ocean-200); color: var(--pe-ocean-700); }
.pe-page-btn.is-active { background: var(--pe-navy); border-color: var(--pe-navy); color: #fff; box-shadow: 0 8px 20px rgba(11, 43, 103, .22); }
.pe-page-btn:disabled { opacity: .38; cursor: not-allowed; }

/* =========================================================
   OVERLAY chi tiết (tin tức / dự án)
   ========================================================= */
.pe-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7, 20, 38, .58); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 28px 18px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: .35s var(--pe-ease);
}
.pe-overlay.open { opacity: 1; visibility: visible; }
.pe-overlay-panel {
  position: relative; width: 100%; max-width: 860px;
  background: #fff; border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(7, 20, 38, .3);
  transform: translateY(24px) scale(.98); transition: .4s var(--pe-ease);
  margin: auto;
}
.pe-overlay.open .pe-overlay-panel { transform: none; }
.pe-overlay-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--pe-navy);
  font-size: 16px; box-shadow: 0 6px 18px rgba(7, 20, 38, .18);
  transition: .28s ease;
}
.pe-overlay-close:hover { background: var(--pe-navy); color: #fff; transform: rotate(90deg); }
.pe-overlay-img { width: 100%; height: 320px; object-fit: cover; background: var(--pe-ocean-100); }
.pe-overlay-body { padding: 30px 34px 36px; }
.pe-overlay-body h2 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; color: #0f172a; margin: 14px 0 0; }
.pe-overlay-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #64748b; font-weight: 700; margin-top: 12px; }
.pe-overlay-body .intro { font-size: 15px; line-height: 1.85; color: #334155; font-weight: 600; margin: 18px 0 0; }
.pe-overlay-body .content { font-size: 14.5px; line-height: 1.9; color: #475569; margin-top: 16px; }
.pe-overlay-body .content p { margin: 0 0 14px; }
.pe-overlay-body .content h3 { font-size: 18px; color: #0f172a; margin: 22px 0 10px; }
.pe-overlay-body .content ul { margin: 0 0 14px; padding-left: 20px; }
.pe-overlay-body .content li { margin-bottom: 7px; }

.pe-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.pe-spec {
  padding: 16px 18px; border-radius: 16px; background: var(--pe-ocean-50);
  border: 1px solid rgba(14, 165, 233, .14);
}
.pe-spec span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pe-ocean-600); }
.pe-spec strong { display: block; margin-top: 6px; font-size: 14px; color: #0f172a; font-weight: 700; line-height: 1.5; }

/* =========================================================
   FORM (liên hệ)
   ========================================================= */
.pe-form-card {
  background: #fff; border: 1px solid var(--pe-line); border-radius: 26px;
  padding: 34px 32px 36px; box-shadow: 0 18px 50px rgba(7, 20, 38, .07);
}
.pe-field { margin-bottom: 18px; }
.pe-field label { display: block; font-size: 13px; font-weight: 800; color: #334155; margin-bottom: 8px; }
.pe-field label .req { color: #dc2626; }
.pe-input, .pe-textarea, .pe-select {
  width: 100%; font-family: inherit; font-size: 14.5px; color: #0f172a;
  padding: 13px 16px; border-radius: 13px;
  border: 1px solid #e2e8f0; background: #f8fafc;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.pe-input:focus, .pe-textarea:focus, .pe-select:focus {
  outline: none; border-color: var(--pe-ocean-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .14);
}
.pe-textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.pe-field-error { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: #dc2626; }
.pe-input.invalid, .pe-textarea.invalid { border-color: #fca5a5; background: #fef2f2; }

.pe-alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; line-height: 1.6;
  margin-bottom: 20px;
}
.pe-alert-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.pe-alert-warn { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

.pe-contact-list { margin-top: 24px; }
.pe-contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px dashed #e2e8f0;
}
.pe-contact-item:last-child { border-bottom: 0; }
.pe-contact-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center;
  background: var(--pe-ocean-50); color: var(--pe-ocean-600); font-size: 17px;
  border: 1px solid rgba(14, 165, 233, .16);
}
.pe-contact-item h4 { font-size: 14px; font-weight: 800; color: #0f172a; margin: 0 0 5px; }
.pe-contact-item p { margin: 0; font-size: 14px; color: #64748b; line-height: 1.7; }
.pe-contact-item a:hover { color: var(--pe-blue); }

/* =========================================================
   CTA band — dải ảnh nền tối full-bleed (theo đúng mẫu CustomerSupportBanner
   trong demo.html), không còn là thẻ bo góc nằm giữa trang
   ========================================================= */
.pe-cta {
  position: relative; overflow: hidden;
  background: var(--pe-navy);
  padding: 76px 0;
  color: #fff;
}
.pe-cta-bg { position: absolute; inset: 0; z-index: 0; }
.pe-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.pe-cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 16, 34, .96) 0%, rgba(4, 16, 34, .88) 42%, rgba(4, 16, 34, .5) 78%, rgba(4, 16, 34, .22) 100%);
}
.pe-cta-copy { max-width: 600px; position: relative; z-index: 1; }
.pe-cta h2 { font-size: clamp(24px, 2.8vw, 37px); line-height: 1.28; font-weight: 900; margin-top: 14px; }
.pe-cta h2 .accent { color: var(--pe-cyan); }
.pe-cta p { margin: 14px 0 0; color: rgba(255, 255, 255, .8); font-size: 14.5px; line-height: 1.85; }

/* =========================================================
   FOOTER
   ========================================================= */
.pe-footer { background: #071426; color: #94a3b8; padding: 60px 0 0; margin-top: 0; }
.pe-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.pe-footer h4 {
  color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .1em;
  text-transform: uppercase; margin: 0 0 18px;
}
.pe-footer p, .pe-footer li { font-size: 13.5px; line-height: 1.85; }
.pe-footer ul { list-style: none; margin: 0; padding: 0; }
.pe-footer ul li { margin-bottom: 9px; }
.pe-footer a { transition: color .25s ease; }
.pe-footer a:hover { color: var(--pe-cyan); }
.pe-footer-logo { height: 52px; width: auto; border-radius: 8px; background: #fff; padding: 5px 8px; margin-bottom: 18px; }
.pe-footer-contact { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: 13.5px; line-height: 1.7; }
.pe-footer-contact i { color: var(--pe-cyan); margin-top: 5px; width: 15px; flex-shrink: 0; }
.pe-socials { display: flex; gap: 10px; margin-top: 18px; }
.pe-socials a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: #cbd5e1; font-size: 15px;
  transition: .28s var(--pe-ease);
}
.pe-socials a:hover { background: var(--pe-blue); color: #fff; transform: translateY(-3px); }
.pe-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0 26px; font-size: 12.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* Nút lên đầu trang */
.pe-totop {
  position: fixed; right: 22px; bottom: 26px; z-index: 55;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--pe-blue), #0a4ecf); color: #fff; font-size: 15px;
  box-shadow: 0 12px 30px rgba(0, 98, 255, .34);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: .35s var(--pe-ease);
}
.pe-totop.show { opacity: 1; visibility: visible; transform: none; }
.pe-totop:hover { transform: translateY(-3px); }

/* =========================================================
   HIỆU ỨNG CUỘN
   ========================================================= */
.pe-reveal { opacity: 0; transform: translateY(40px); transition: opacity .82s var(--pe-ease), transform .82s var(--pe-ease); }
.pe-reveal.is-in { opacity: 1; transform: none; }
.pe-reveal-down { opacity: 0; transform: translateY(-36px); transition: opacity .82s var(--pe-ease), transform .82s var(--pe-ease); }
.pe-reveal-down.is-in { opacity: 1; transform: none; }
.pe-stagger > * { opacity: 0; transform: translateY(46px); transition: opacity .78s var(--pe-ease), transform .78s var(--pe-ease); }
.pe-stagger.is-in > * { opacity: 1; transform: none; }
.pe-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.pe-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.pe-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.pe-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.pe-stagger.is-in > *:nth-child(6) { transition-delay: .40s; }
.pe-stagger.is-in > *:nth-child(7) { transition-delay: .46s; }
.pe-stagger.is-in > *:nth-child(8) { transition-delay: .52s; }
.pe-stagger.is-in > *:nth-child(9) { transition-delay: .58s; }
.pe-stagger.is-in > *:nth-child(n+10) { transition-delay: .6s; }

/* Hiệu ứng đổ xuống khi tải trang */
@keyframes peDrop { from { opacity: 0; transform: translate3d(0, -36px, 0); } to { opacity: 1; transform: none; } }
@keyframes peRTL { from { opacity: 0; transform: translate3d(80px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes peBottom { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes peZoom { from { opacity: 0; transform: scale(.76); } to { opacity: 1; transform: scale(1); } }

.pe-header { animation: peDrop .8s var(--pe-ease) both; }
.pe-slide.is-active .pe-visual { animation: peZoom 1.15s .12s var(--pe-ease) both; }
.pe-slide.is-active .pe-kicker { animation: peRTL .8s .26s var(--pe-ease) both; }
.pe-slide.is-active .pe-hero-title .line:nth-child(1) { animation: peRTL .8s .36s var(--pe-ease) both; }
.pe-slide.is-active .pe-hero-title .line:nth-child(2) { animation: peRTL .8s .62s var(--pe-ease) both; }
.pe-slide.is-active .pe-hero-slogan { animation: peBottom .76s .92s var(--pe-ease) both; }
.pe-slide.is-active .pe-hero-desc { animation: peBottom .76s 1.08s var(--pe-ease) both; }
.pe-slide.is-active .pe-actions { animation: peBottom .76s 1.26s var(--pe-ease) both; }

/* Thanh tiến trình cuộn trang */
.pe-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 70; width: 0;
  background: linear-gradient(90deg, var(--pe-blue), var(--pe-cyan), var(--pe-orange));
  transition: width .1s linear;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .pe-nav a { padding: 10px 10px; font-size: 14px; }
  .pe-phone span { display: none; }
  .pe-phone { padding: 11px 14px; }
}
@media (max-width: 1024px) {
  :root { --pe-header-h: 74px; }
  .pe-nav { display: none; }
  .pe-burger { display: inline-grid; place-items: center; }
  .pe-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pe-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pe-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 900px) {
  .pe-slider { min-height: 0; }
  .pe-slide {
    position: relative; grid-template-columns: 1fr; gap: 26px; min-height: 0;
    padding: 12px 0 0; display: none;
  }
  .pe-slide.is-active { display: grid; }
  .pe-visual { order: 1; min-height: 320px; }
  .pe-copy { order: 2; text-align: center; }
  .pe-hero-slogan, .pe-hero-desc { margin-left: auto; margin-right: auto; }
  .pe-actions { justify-content: center; }
  .pe-kicker { justify-content: center; }
  .pe-orbit { display: none; }
  .pe-pebble { width: min(100%, 400px); }
  .pe-hatch { width: 120px; height: 120px; }
  .pe-section { padding: 64px 0; }
  .pe-featured { grid-template-columns: 1fr; height: auto; }
  .pe-featured-img { height: 200px; }
  .pe-featured-copy { padding: 22px 22px 26px; }
  .pe-cta { padding: 48px 0; }
}
@media (max-width: 640px) {
  .pe-grid-3, .pe-grid-4, .pe-grid-2 { grid-template-columns: 1fr; }
  .pe-footer-grid { grid-template-columns: 1fr; }
  .pe-hero { padding: 10px 0 48px; }
  .pe-visual { min-height: 270px; }
  .pe-actions { flex-direction: column; align-items: stretch; }
  .pe-btn { justify-content: center; }
  .pe-overlay-body { padding: 24px 22px 28px; }
  .pe-overlay-img { height: 220px; }
  .pe-spec-grid { grid-template-columns: 1fr; }
  .pe-form-card { padding: 26px 22px 28px; }
  .pe-logo img { height: 44px; }
  .pe-footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .pe-reveal, .pe-reveal-down, .pe-stagger > * { opacity: 1 !important; transform: none !important; }
}
