/* =========================================================
   PLS TECH — Cổng Giải Pháp & Bán Hàng Điều Hòa Không Khí
   Bố cục B2B HVAC chuẩn thương mại điện tử + nhận diện PLS TECH
   ========================================================= */

:root {
  --cyan: #0095da;
  --cyan-dark: #0072bc;
  --cyan-light: #e7f6fd;
  --green: #7ac143;
  --green-dark: #5c9a2c;
  --orange: #f37021;
  --orange-dark: #d95a0d;
  --red: #e31e24;
  --navy: #0e243d;
  --text: #222933;
  --muted: #64748b;
  --border: #e2e8f0;
  --canvas: #f3f6f9;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(14, 36, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 36, 61, 0.1);
  --shadow-lg: 0 18px 45px rgba(14, 36, 61, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--canvas);
  line-height: 1.5;
  font-size: 14px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================================================
   1. TOP HEADER (Logo | Search Bar | Hotline & Email)
   ========================================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: grid;
  grid-template-columns: 260px 1fr 290px;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-logo-text strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--cyan-dark);
  letter-spacing: -0.3px;
}

.brand-logo-text span {
  font-size: 11px;
  color: var(--green-dark);
  font-weight: 600;
}

/* Search bar chuẩn Sen Việt (ô chữ nhật + nút tìm cam) */
.header-search {
  display: flex;
  width: 100%;
  position: relative;
}

.header-search input {
  flex: 1;
  height: 42px;
  border: 1.5px solid #cbd5e1;
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}

.header-search input:focus {
  border-color: var(--cyan);
}

.header-search button {
  width: 50px;
  height: 42px;
  border: none;
  border-radius: 0 4px 4px 0;
  background: var(--orange);
  color: var(--white);
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s;
}

.header-search button:hover {
  background: var(--orange-dark);
}

.search-results-dropdown {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  z-index: 250;
  max-height: 360px;
  overflow-y: auto;
  display: none;
}

.search-results-dropdown.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}

.search-result-item:hover {
  background: var(--cyan-light);
}

.search-result-item strong {
  font-size: 13px;
  color: var(--navy);
  display: block;
}

.search-result-item span {
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
}

/* Header Contact Right */
.header-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.header-hotline {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-email {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cyan-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =========================================================
   2. MAIN NAV BAR & MEGA-MENU (☰ DANH MỤC SẢN PHẨM)
   ========================================================= */
.main-nav-bar {
  background: var(--white);
  border-top: 1px solid #eef2f6;
  border-bottom: 2px solid var(--cyan);
  position: sticky;
  top: 0;
  z-index: 180;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 48px;
}

/* Mega Menu Trigger */
.mega-menu-wrap {
  position: relative;
  width: 260px;
  height: 100%;
  flex-shrink: 0;
}

.mega-trigger {
  width: 100%;
  height: 100%;
  background: var(--cyan);
  color: var(--white);
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  cursor: pointer;
}

.mega-trigger:hover {
  background: var(--cyan-dark);
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  box-shadow: var(--shadow-lg);
  list-style: none;
  display: none;
  z-index: 220;
}

.mega-menu-wrap:hover .mega-dropdown,
.mega-menu-wrap.open .mega-dropdown {
  display: block;
}

.mega-item {
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.mega-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  transition: background 0.15s, color 0.15s;
}

.mega-item:hover > a {
  background: var(--cyan-light);
  color: var(--cyan-dark);
}

.mega-flyout {
  position: absolute;
  top: 0;
  left: 100%;
  width: 440px;
  min-height: 290px;
  background: linear-gradient(135deg, #ffffff 55%, #e5f5fd 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  display: none;
}

.mega-item:hover .mega-flyout {
  display: block;
}

.mega-flyout h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--cyan-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cyan);
  text-transform: uppercase;
}

.mega-flyout ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.mega-flyout ul a {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  display: inline-block;
}

.mega-flyout ul a:hover {
  color: var(--cyan-dark);
  font-weight: 700;
  transform: translateX(3px);
}

.mega-flyout-note {
  background: rgba(0, 149, 218, 0.08);
  border-left: 3px solid var(--green);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--navy);
}

/* Main Horizontal Links */
.nav-main-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  flex: 1;
}

.nav-main-links a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-main-links a:hover {
  color: var(--cyan-dark);
}

.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--cyan-light);
  color: var(--cyan-dark);
  border: 1px solid rgba(0, 149, 218, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.nav-cart-btn:hover {
  background: var(--cyan);
  color: var(--white);
}

.cart-badge {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-toggle {
  display: none;
  background: var(--cyan);
  color: var(--white);
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

/* =========================================================
   3. HERO SLIDER (Full-Width 2 Slides chuẩn Sen Việt)
   ========================================================= */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e9f5fc;
  border-bottom: 1px solid var(--border);
}

.slides-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide {
  min-width: 100%;
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
}

/* Slide 1: Biệt thự & Điều hòa trung tâm */
.slide-1 {
  background: linear-gradient(105deg, rgba(11, 31, 56, 0.88) 0%, rgba(0, 114, 188, 0.72) 55%, rgba(14, 36, 61, 0.45) 100%),
    url('../assets/hero-villa.jpg') center/cover no-repeat;
  color: var(--white);
}

/* Slide 2: Giải pháp Điều hòa - Cấp khí tươi & Lọc khí (giống Slide 2 Sen Việt) */
.slide-2 {
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(235, 247, 255, 0.88) 60%, rgba(14, 36, 61, 0.35) 100%),
    url('../assets/project-office.jpg') center/cover no-repeat;
  color: var(--navy);
}

.slide-content {
  padding: 48px 0;
  max-width: 720px;
}

.slide-tag {
  display: inline-block;
  background: rgba(122, 193, 67, 0.22);
  border: 1px solid var(--green);
  color: #b7f084;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.slide-1 h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.slide-1 .tagline-gold {
  font-size: 20px;
  font-weight: 700;
  color: #ffd166;
  margin-bottom: 14px;
  font-style: italic;
}

.slide-1 p {
  font-size: 15px;
  color: #e2f1ff;
  margin-bottom: 22px;
}

.slide-2 h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1.22;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.slide-2 .sub-navy {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.slide-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(243, 112, 33, 0.35);
  transition: transform 0.2s, background 0.2s;
}

.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-cyan {
  background: var(--cyan);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-cyan:hover {
  background: var(--cyan-dark);
}

.slide-hotline-big {
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.5px;
}

.slide-free-note {
  margin-top: 10px;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}

/* Slider Arrows & Dots */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 36, 61, 0.45);
  color: var(--white);
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.slider-arrow:hover {
  background: var(--cyan);
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: rgba(14, 36, 61, 0.35);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--orange);
  border-color: var(--orange);
}

/* =========================================================
   4. TRUST STRIP (6 Hãng & Cam kết kỹ thuật PLS TECH)
   ========================================================= */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--cyan-light);
  color: var(--cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
}

.trust-item span {
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================
   5. CATEGORY SHOWCASE BLOCKS (ĐẶC SẢN CHUẨN SEN VIỆT)
   Left 5 cols (Subcategory Sidebar + Vertical Brand Banner)
   Right 7 cols (3x2 = 6 Product Cards)
   ========================================================= */
.category-blocks-section {
  padding-bottom: 24px;
}

.cat-block {
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}

.cat-block-grid {
  display: grid;
  grid-template-columns: 225px 215px 1fr;
}

/* Col A: Cyan Title + Subcategory Links */
.cat-sidebar {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.cat-sidebar-header {
  background: var(--cyan);
  color: var(--white);
  padding: 14px 14px;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
}

.cat-sublinks {
  list-style: none;
  padding: 8px 0;
  flex: 1;
}

.cat-sublinks li button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}

.cat-sublinks li button:hover,
.cat-sublinks li button.active {
  background: var(--cyan-light);
  color: var(--cyan-dark);
  font-weight: 700;
  border-left-color: var(--cyan);
}

.cat-sidebar-footer {
  padding: 10px 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: var(--muted);
}

/* Col B: Vertical Brand Promotional Banner */
.cat-promo-banner {
  position: relative;
  padding: 20px 16px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.banner-daikin {
  background: linear-gradient(165deg, #0072bc 0%, #003e6b 100%);
}

.banner-panasonic {
  background: linear-gradient(165deg, #0054a6 0%, #09274d 100%);
}

.banner-lg {
  background: linear-gradient(165deg, #a50034 0%, #4d0a20 100%);
}

.banner-commercial {
  background: linear-gradient(165deg, #0b3954 0%, #0072bc 100%);
}

.banner-hrv {
  background: linear-gradient(165deg, #3c7d1a 0%, #0f4c5c 100%);
}

.promo-brand-badge {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.cat-promo-banner h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.promo-warranty-box {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.promo-warranty-box strong {
  color: #ffd166;
  display: block;
  margin-bottom: 2px;
}

.promo-thumb {
  border-radius: 6px;
  overflow: hidden;
  height: 115px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 12px;
}

.promo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-cta-link {
  display: inline-block;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 4px;
}

/* Col C: 3x2 Product Cards Grid */
.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.sku-card {
  border-right: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  padding: 14px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}

.sku-card:hover {
  box-shadow: inset 0 0 0 1.5px var(--cyan);
  position: relative;
  z-index: 2;
}

.sku-img-box {
  position: relative;
  height: 145px;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.sku-img-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sku-cap-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(14, 36, 61, 0.82);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

.sku-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
  min-height: 54px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sku-code {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

.sku-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.sku-price-contact {
  color: var(--red);
  font-weight: 800;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.sku-price-contact:hover {
  text-decoration: underline;
}

.sku-cart-icon {
  background: #f1f5f9;
  color: var(--navy);
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.sku-cart-icon:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}

/* =========================================================
   6. QUICK BTU & BUDGET CALCULATOR (Nâng cấp cho PLS TECH)
   ========================================================= */
.calc-section {
  margin: 12px 0 32px;
}

.calc-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.calc-left {
  padding: 28px;
}

.calc-left h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.calc-left > p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13.5px;
  background: var(--white);
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

.calc-right {
  background: linear-gradient(155deg, var(--navy) 0%, #00548c 100%);
  color: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.calc-stat span {
  display: block;
  font-size: 12px;
  color: #cbd5e1;
}

.calc-stat strong {
  font-size: 20px;
  color: var(--white);
}

.calc-stat.green strong {
  color: #a6ec6c;
}

/* =========================================================
   7. COMPLETED PROJECTS BAND (CÁC CÔNG TRÌNH CỦA PLS TECH)
   Full-width cyan header bar + 4-column caption-overlay cards
   ========================================================= */
.projects-band {
  margin-bottom: 32px;
}

.projects-banner-head {
  background: linear-gradient(90deg, #0072bc 0%, #0095da 50%, #0072bc 100%);
  color: var(--white);
  text-align: center;
  padding: 18px 16px;
  margin-bottom: 18px;
}

.projects-banner-head h2 {
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.projects-banner-head p {
  font-size: 13px;
  color: #e0f4ff;
  margin-top: 3px;
}

.projects-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proj-tile {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  background: var(--navy);
}

.proj-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.proj-tile:hover img {
  transform: scale(1.06);
}

.proj-val-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
}

.proj-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 149, 218, 0.9);
  color: var(--white);
  padding: 10px 12px;
}

.proj-caption h3 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2px;
}

.proj-caption span {
  font-size: 11.5px;
  color: #e6f7ff;
  display: block;
}

/* Partners & Panasonic 2025 Award Band */
.award-partners-band {
  margin-bottom: 26px;
}

.award-partners-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.award-box, .partners-logo-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.award-box h3, .partners-logo-box h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--cyan-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cyan);
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.partner-logo-item {
  border: 1px solid #eef2f6;
  border-radius: 4px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  height: 62px;
}

.partner-logo-item img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.award-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.award-photos img {
  width: 100%;
  height: 136px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

@media (max-width: 820px) {
  .award-partners-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   8. CONSULTATION / LEAD CAPTURE BANNER (Dark Blue Architectural)
   ========================================================= */
.lead-banner {
  background: linear-gradient(120deg, rgba(9, 28, 52, 0.92) 0%, rgba(0, 84, 140, 0.88) 100%),
    url('../assets/hvac-engineering.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 46px 0;
}

.lead-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.lead-banner h2 {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lead-divider {
  width: 70px;
  height: 3px;
  background: var(--green);
  margin-bottom: 14px;
}

.lead-banner p {
  font-size: 14px;
  color: #dbeafe;
  margin-bottom: 16px;
}

.lead-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.lead-bullets li::before {
  content: "✔ ";
  color: #a6ec6c;
  font-weight: 800;
}

.lead-form-box {
  background: var(--white);
  color: var(--text);
  padding: 24px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.lead-form-box h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.btn-red-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-red-submit:hover {
  background: #c1151a;
}

.form-success-box {
  display: none;
  margin-top: 12px;
  background: #eff8e7;
  border: 1px solid var(--green);
  color: #244a0c;
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
}

/* =========================================================
   9. FOOTER (4 Columns chuẩn Sen Việt)
   ========================================================= */
.site-footer {
  background: #596069;
  color: #f1f5f9;
  padding: 36px 0 20px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 16px;
}

.site-footer h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.site-footer ul a:hover {
  color: #9be85d;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #e2e8f0;
}

/* =========================================================
   10. QUOTE CART DRAWER & FLOATING CALL/ZALO WIDGETS
   ========================================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 36, 61, 0.55);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -430px;
  width: 100%;
  max-width: 410px;
  height: 100vh;
  background: var(--white);
  z-index: 310;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: right 0.28s ease;
}

.cart-drawer.open {
  right: 0;
}

.drawer-head {
  background: var(--cyan);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head button {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-row {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.cart-row-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cart-row-top strong {
  font-size: 13px;
  color: var(--navy);
}

.cart-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
}

.qty-box button {
  width: 26px;
  height: 26px;
  border: none;
  background: #f1f5f9;
  cursor: pointer;
  font-weight: 700;
}

.qty-box span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}

.drawer-foot {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

/* Pulsing Red Phone Widget (Bottom-Left chuẩn Sen Việt) */
.alo-phone-widget {
  position: fixed;
  left: 18px;
  bottom: 22px;
  z-index: 260;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.55);
  animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(227, 30, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0); }
}

.zalo-float-widget {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 260;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0068ff;
  color: var(--white);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 400;
  opacity: 0;
  transition: all 0.25s;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* =========================================================
   11. RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .cat-block-grid {
    grid-template-columns: 210px 1fr;
  }
  .cat-promo-banner {
    display: none;
  }
  .projects-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .header-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .header-contact {
    align-items: flex-start;
  }
  .mega-menu-wrap {
    width: auto;
  }
  .mega-flyout {
    display: none !important;
  }
  .nav-main-links {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 2px solid var(--cyan);
    box-shadow: var(--shadow-md);
  }
  .nav-main-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .cat-block-grid {
    grid-template-columns: 1fr;
  }
  .cat-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .cat-sublinks {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 10px;
  }
  .cat-sublinks li button {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    border-left: 1px solid var(--border);
  }
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-card, .lead-banner-grid, .footer-grid, .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .projects-grid-4, .trust-grid {
    grid-template-columns: 1fr;
  }
  .alo-phone-widget span.alo-text {
    display: none;
  }
}
