/* ============================================
   HIỆP HƯNG - Website Ống Nhựa
   Style tham khảo: binhminhplastic.com.vn
                     nhuasieuthanh.com
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&display=swap');

:root {
  --red: #C41E2A;
  --red-dark: #A01822;
  --red-light: #E63946;
  --navy: #0F2A4A;
  --navy-dark: #091D35;
  --navy-light: #1B3D60;
  --blue: #0058BB;
  --white: #fff;
  --gray-bg: #F4F6F8;
  --gray-border: #E2E5EA;
  --gray-text: #6B7280;
  --gray-dark: #374151;
  --black: #111;
  --font: 'Barlow', sans-serif;
  --max-w: 1260px;
  --header-h: 70px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, .1);
  --transition: .3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== HEADER ====== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 229, 234, 0.6);
  transition: box-shadow var(--transition), background var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-top {
  background: var(--navy);
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: rgba(255, 255, 255, .85);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.header-top a:hover {
  color: #fff;
}

.header-top-left {
  display: flex;
  gap: 24px;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-top-right a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.header-top-right a:hover {
  background: var(--red);
}

.header-top svg {
  width: 13px;
  height: 13px;
}

.header-main {
  height: var(--header-h);
}

.header-main .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 100%;
}

.logo img {
  height: 58px;
  width: auto;
  transition: transform var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

html[lang="en"] .logo-text {
  display: none !important;
}

.logo-text small {
  font-size: 10px;
  font-weight: 700;
  color: var(--navy-light);
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
}

.logo-text strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
}

.nav-menu a {
  display: block;
  padding: 0 10px;
  line-height: var(--header-h);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .3px;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--red);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  height: 100%;
  padding: 0 0 0 30px;
  /* Space for the left slant */
  margin-left: auto;
  /* Push to the right */
  z-index: 1;
}

.header-actions::before {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  right: -100vw;
  background: linear-gradient(90deg, rgba(27, 61, 96, 0.85), rgba(15, 42, 74, 0.85));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  clip-path: polygon(35px 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.search-toggle-btn:hover,
.header-search.active .search-toggle-btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.search-toggle-btn svg {
  width: 17px;
  height: 17px;
}

.header-search-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: -10px;
  width: 270px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 300;
  border: 1px solid var(--gray-border);
}

.header-search-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 18px;
  width: 10px;
  height: 10px;
  background: var(--white);
  transform: rotate(45deg);
  border-left: 1px solid var(--gray-border);
  border-top: 1px solid var(--gray-border);
}

.header-search.active .header-search-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--gray-bg);
  border-radius: 6px;
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--gray-border);
  transition: border-color var(--transition), background var(--transition);
}

.search-form:focus-within {
  border-color: var(--red);
  background: var(--white);
}

.search-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--navy);
  font-family: inherit;
  width: 100%;
}

.search-form input::placeholder {
  color: var(--gray-text);
}

.search-form button {
  background: var(--red);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.search-form button:hover {
  background: var(--red-dark);
}

.search-form button svg {
  width: 15px;
  height: 15px;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  padding: 0 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  height: 24px;
  transition: color var(--transition);
  position: relative;
}

.header-lang-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.header-lang span {
  letter-spacing: 0.5px;
}

.header-lang svg {
  width: 12px;
  height: 12px;
  color: var(--white);
  transition: transform var(--transition);
}

.header-lang:hover {
  color: rgba(255, 255, 255, 0.85);
}

.header-lang:hover svg {
  transform: rotate(180deg);
}

.lang-dropdown-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 300;
}

.header-lang:hover .lang-dropdown-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.lang-dropdown {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  padding: 4px;
  min-width: 54px;
  border: 1px solid var(--gray-border);
  text-align: center;
}

.lang-dropdown a,
.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 6px 10px;
  border: 0;
  color: var(--navy);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border-radius: 4px;
}

.lang-dropdown a:hover,
.lang-dropdown button:hover,
.lang-dropdown button.active {
  color: var(--white);
  background: var(--red);
}

.google-translate-host {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  bottom: 0;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

.header-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  padding: 8px 18px;
  border-radius: 30px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.header-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-phone-icon svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

/* hamburger */
.hamburger {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span {
  background: var(--navy);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ====== HERO SLIDER ====== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  max-height: 820px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 5;
  transition: background var(--transition);
}

.hero-nav:hover {
  background: var(--white);
}

.hero-nav svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}

/* ====== SECTION COMMON ====== */
.section {
  padding: 40px 0;
}

.section-alt {
  background: var(--gray-bg);
}

.section-blue-light {
  background: linear-gradient(135deg, #F0F7FF 0%, #E4EFFC 100%);
  border-top: 1px solid rgba(0, 88, 187, 0.06);
  border-bottom: 1px solid rgba(0, 88, 187, 0.06);
  padding: 52px 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  text-align: left;
  margin-bottom: 24px;
}

.section-head.flex-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}

.subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}

.section-head:not(.flex-head) h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 16px 0 0;
  border-radius: 2px;
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-head p {
  font-size: 15px;
  color: var(--gray-text);
  max-width: 560px;
  margin: 16px 0 0;
}

.section-head.flex-head p {
  margin: 16px 0 0;
  max-width: 700px;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, .65);
}

/* ====== DYNAMIC INTERACTIVE BUTTON: .btn-text-link ====== */
.btn-text-link {
  position: relative;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 24px;
  background: var(--white);
  border: 1.5px solid rgba(15, 42, 74, 0.12);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, box-shadow, color;
}

/* Background Fill Slide on Hover */
.btn-text-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F2A4A 0%, #1E40AF 100%);
  border-radius: 50px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease;
  z-index: -1;
}

/* Shimmer Light Reflection Sweep Across Button */
.btn-text-link::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  transition: none;
  pointer-events: none;
  z-index: 2;
}

.section-dark .btn-text-link {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-text-link .arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, background-color, color;
}

.section-dark .btn-text-link .arrow {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-text-link .arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ====== HOVER STATE ====== */
.btn-text-link:hover {
  color: #FFFFFF !important;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(15, 42, 74, 0.3);
  transform: translateY(-4px);
}

.btn-text-link:hover::before {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left center;
}

.btn-text-link:hover::after {
  left: 200%;
  transition: left 0.75s ease-in-out;
}

.btn-text-link:hover .arrow {
  background: var(--red);
  color: var(--white);
  transform: scale(1.08);
}

.btn-text-link:hover .arrow svg {
  stroke: var(--white);
  transform: translateX(4px);
}

/* ====== NEWS (Tin Tức - Sự Kiện) ====== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  height: 180px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 18px 20px;
}

.news-card-date {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 6px;
}

.news-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-card-title {
  color: var(--red);
}

.news-more {
  text-align: center;
  margin-top: 36px;
}

/* ====== PRODUCTS (Sản Phẩm) ====== */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 2px solid var(--gray-border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-text);
  cursor: pointer;
  border: none;
  background: none;
  text-transform: uppercase;
  letter-spacing: .3px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}

.product-tab:hover,
.product-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.product-panel {
  display: none;
}

.product-panel.active {
  display: block;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.product-showcase-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.product-showcase-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.product-showcase-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.product-showcase-info p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
}

.product-link:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(196, 30, 42, .04);
}

.product-link svg {
  width: 14px;
  height: 14px;
}

#product-categories {
  padding: 40px 0;
}

#product-categories .section-head {
  margin-bottom: 24px;
}

/* product category grid (Danh mục sản phẩm - Accordion Layout) */
.category-grid-ref {
  display: flex;
  flex-direction: row;
  height: 400px;
  gap: 16px;
  margin-top: 20px;
}

.category-card {
  flex: 1;
  background: var(--white);
  border-radius: 30px;
  border: 1px solid var(--gray-border);
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 20px;
  text-decoration: none;
}

.category-card:hover {
  flex: 3;
  background: var(--gray-bg);
  border-color: var(--red);
  box-shadow: 0 10px 40px rgba(196, 30, 42, 0.1);
}

/* Image */
.cat-img {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 300px;
  height: 300px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.5;
  filter: grayscale(100%);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.category-card:hover .cat-img {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: grayscale(0%);
}

/* Text Container */
.cat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
  width: 100%;
}

.cat-info h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 0;
  font-weight: 800;
  transition: all 0.5s ease;
  white-space: normal;
}

.category-card:hover .cat-info h3 {
  color: var(--red);
  font-size: 20px;
}

/* View Button */
.cat-view {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;

  opacity: 0;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.cat-view-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.4s ease;
}

.cat-view-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.category-card:hover .cat-view {
  opacity: 1;
  max-height: 30px;
  margin-top: 6px;
  color: var(--red);
}

.category-card:hover .cat-view-arrow {
  color: var(--red);
}

.category-card:hover .cat-view-arrow svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .category-grid-ref {
    height: 350px;
  }

  .category-card:hover {
    flex: 2;
  }

  .cat-img {
    width: 200px;
    height: 200px;
  }

  .cat-info h3 {
    font-size: 16px;
    white-space: normal;
  }

  .category-card:hover .cat-info h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .category-grid-ref {
    flex-direction: column;
    height: 600px;
  }

  .category-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 16px;
  }

  .category-card:hover {
    flex: 2;
  }

  .cat-img {
    top: 50%;
    left: 70%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%) scale(1);
    filter: grayscale(0%);
    opacity: 1;
  }

  .cat-info {
    align-items: flex-start;
    text-align: left;
    width: auto;
  }

  .category-card:hover .cat-info h3 {
    transform: translateY(0);
    font-size: 20px;
  }

  .cat-view {
    position: relative;
    bottom: 0;
    transform: translateY(0);
    opacity: 1;
    font-size: 12px;
    margin-top: 5px;
  }
}

/* product cards (Sản phẩm bán chạy) - Reference Style with Slider */
.product-slider-wrapper {
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(15, 42, 74, 0.6);
  /* Xanh mờ / Translucent Navy */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: var(--white);
}

.slider-btn:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: -24px;
}

.slider-next {
  right: -24px;
}

.product-card-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding-bottom: 20px;
  -ms-overflow-style: none;
  /* IE/Edge */
  scrollbar-width: none;
  /* Firefox */
}

.product-card-grid::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.product-card {
  flex: 0 0 calc(25% - 18px);
  /* 4 cards per view */
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card>a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-card-img {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FC 100%);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.product-brand-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(15, 42, 74, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  transition: all 0.3s ease;
}

.product-card:hover .product-brand-tag {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.product-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  mix-blend-mode: multiply;
  filter: brightness(1.15) contrast(1.2);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-info {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.product-card-info::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.2);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.product-card:hover .product-card-info::before {
  opacity: 0.1;
  transform: scale(1);
}

.product-card-info h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  transition: color var(--transition);
  position: relative;
  z-index: 1;
}

.product-card:hover .product-card-info h3 {
  color: var(--red);
}

.product-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.product-bottom {
  margin-top: auto;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  position: relative;
  z-index: 1;
  gap: 8px;
}

.product-price {
  display: none;
}

.add-btn {
  height: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  max-width: 28px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}

.add-btn-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-left: 28px;
}

.add-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  flex-shrink: 0;
  position: absolute;
  left: 7px;
}

.product-card:hover .add-btn {
  background: var(--red);
  max-width: 130px;
  padding-right: 12px;
}

.product-card:hover .add-btn-text {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .product-card {
    flex: 0 0 calc(50% - 12px);
  }

  .slider-prev {
    left: -10px;
  }

  .slider-next {
    right: -10px;
  }
}

@media (max-width: 576px) {
  .product-card {
    flex: 0 0 68%;
  }

  .product-card .add-btn {
    display: none;
  }
}

/* Product page: accordion tree matching assets/products.html */
#products-sidebar .sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

#products-sidebar .tree-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--white);
  border: 0;
}

#products-sidebar .tree-item {
  border-bottom: 1px solid #f0f0f0;
}

#products-sidebar .tree-item:last-child {
  border-bottom: 0;
}

#products-sidebar .tree-header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

#products-sidebar .tree-link {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  padding: 13px 18px;
  color: var(--gray-dark);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

#products-sidebar .tree-link:hover,
#products-sidebar .tree-link.active {
  color: var(--red);
  background: #fff5f5;
  font-weight: 700;
}

#products-sidebar .tree-toggle {
  flex: 0 0 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray-text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s ease, color .2s ease;
}

#products-sidebar .tree-item.open .tree-toggle {
  color: var(--red);
  transform: rotate(45deg);
}

#products-sidebar .tree-sub {
  display: none;
  list-style: none;
  padding: 4px 0 8px;
  margin: 0;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

#products-sidebar .tree-item.open .tree-sub {
  display: block;
}

#products-sidebar .tree-sub-link {
  position: relative;
  display: block;
  padding: 8px 18px 8px 34px;
  color: #555;
  font-size: 13.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: all .2s ease;
}

#products-sidebar .tree-sub-link::before {
  content: "\2022";
  position: absolute;
  left: 20px;
  color: #999;
}

#products-sidebar .tree-sub-link:hover {
  color: var(--navy);
  background: #ebf3fc;
  font-weight: 700;
}

#products-sidebar .tree-sub-link:hover::before {
  color: var(--red);
}

@media (max-width: 768px) {
  #products-sidebar .sidebar-title {
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 800;
  }
}

/* Product detail page: layout from assets/product-detail.html */
.product-detail-wrapper {
  margin-bottom: 40px;
  padding: 36px;
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.main-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 362px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%);
  text-align: center;
}

.main-img-box img {
  width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: contain;
}

.thumb-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.thumb-item {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  padding: 6px;
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all .25s ease;
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--red);
  box-shadow: 0 2px 8px rgba(196, 30, 42, .15);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.detail-title {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
}

.detail-subhead {
  margin-bottom: 20px;
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.5;
}

.product-simple-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--gray-dark);
  font-size: 14.5px;
}

.product-simple-specs p {
  margin: 0;
  line-height: 1.6;
}

.product-simple-specs strong {
  display: inline-block;
  min-width: 170px;
  color: var(--navy);
  font-weight: 700;
}

.cta-pill-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn-pill-primary,
.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1.5px solid;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .4px;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease;
}

.btn-pill-primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 30, 42, .28);
}

.btn-pill-primary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 6px 18px rgba(196, 30, 42, .38);
  transform: translateY(-2px);
}

.btn-pill-outline {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.btn-pill-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-pill-primary svg,
.btn-pill-outline svg {
  width: 15px;
  height: 15px;
}

.detail-tabs-section {
  margin-bottom: 40px;
  padding: 30px;
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.detail-tabs-section .tabs-header {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  border-bottom: 2px solid var(--gray-border);
  white-space: nowrap;
}

.detail-tabs-section .tab-btn {
  flex: 0 0 auto;
  margin-bottom: -2px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--gray-text);
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  transition: all .3s ease;
}

.detail-tabs-section .tab-btn.active {
  border-bottom-color: var(--red);
  color: var(--navy);
}

.detail-tabs-section .tab-body p {
  margin-bottom: 14px;
  color: var(--gray-dark);
  font-size: 14.5px;
  line-height: 1.7;
}

.detail-price-table-wrapper {
  width: 100%;
  margin-top: 15px;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.detail-price-table {
  width: 100%;
  min-width: 650px !important;
  border-collapse: collapse;
}

.detail-price-table th {
  padding: 13px 16px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap !important;
}

.detail-price-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: var(--navy);
  font-size: 14px;
  white-space: nowrap !important;
}

.detail-price-table tr:nth-child(even) td { background: #f8fafc; }
.detail-price-table tr:hover td { background: #f1f5f9; }
.detail-price-table td.center { text-align: center; }
.detail-price-table td.right { text-align: right; }
.detail-price-table td.price-vat { color: var(--red); font-weight: 700; }

.detail-tabs-section .tab-body table:not(.detail-price-table) {
  width: 100%;
  margin: 15px 0;
  border-collapse: collapse;
}

.detail-tabs-section .tab-body table:not(.detail-price-table) th {
  padding: 13px 16px;
  border: 1px solid #e2e8f0;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.detail-tabs-section .tab-body table:not(.detail-price-table) td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  color: var(--navy);
  font-size: 14px;
}

.detail-tabs-section .tab-body table:not(.detail-price-table) tr:nth-child(even) td {
  background: #f8fafc;
}

.brand-pricing-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 20px;
  border: 1px solid var(--gray-border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  background: #f8fafc;
}

.btn-link-brand-pricing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 30, 42, .28);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all .25s ease;
}

.btn-link-brand-pricing:hover {
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 6px 18px rgba(196, 30, 42, .38);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .product-detail-wrapper {
    margin-bottom: 24px;
    padding: 16px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .main-img-box {
    min-height: 254px;
    padding: 16px;
  }

  .main-img-box img { height: 220px; }
  .detail-title { font-size: 20px; line-height: 1.35; }
  .product-simple-specs { font-size: 13.5px; }
  .product-simple-specs strong { min-width: 130px; }

  .cta-pill-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn-pill-primary,
  .btn-pill-outline {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .detail-tabs-section { padding: 16px; }

  .brand-pricing-header-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
  }

  .btn-link-brand-pricing {
    justify-content: center;
    width: 100%;
  }
}

/* Web Forms bindings and public-site components */
.nav-menu>.nav-item { position: relative; display: flex; align-items: center; }
.nav-menu>.nav-item>a { display: block; }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 10px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); z-index: 50; }
.nav-item:hover>.nav-dropdown { display: grid; }
.nav-dropdown a { padding: 9px 12px; white-space: nowrap; }
.nav-dropdown-child { left: 100%; top: 0; }
.footer-map { border-radius: 8px; overflow: hidden; line-height: 0; }
.footer-map iframe { width: 100%; height: 180px; border: 0; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; gap: 10px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: #fff; border: 1px solid var(--gray-border); border-radius: 10px; padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.feature-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; }
.feature-card h3 { color: var(--navy); margin-bottom: 8px; }
.quote-form-box { background: #fff; padding: 30px; border-radius: 12px; box-shadow: var(--shadow-lg); }
.quote-form { display: grid; gap: 14px; }
.quote-form input,.quote-form textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--gray-border); border-radius: 6px; }
.submit-quote-btn { padding: 14px; border: 0; border-radius: 6px; cursor: pointer; background: var(--red); color: #fff; font-weight: 800; }
.form-message { margin-top: 12px; padding: 10px 12px; border-radius: 6px; font-weight: 600; }
.form-message.success { color: #166534; background: #dcfce7; }
.form-message.error { color: #991b1b; background: #fee2e2; }
.category-intro,.category-content { margin-bottom: 28px; padding: 22px; background: #fff; border-radius: 8px; }
.sidebar-title { width: 100%; border: 0; cursor: pointer; text-align: left; }
.sidebar-title-label { display: flex; align-items: center; }
.sidebar-title-label svg { margin-right: 8px; flex-shrink: 0; }
.sidebar-contact { margin-top: 24px; padding: 24px; border-radius: 8px; background: var(--navy); color: #fff; }
.sidebar-contact h3 { color: #fff; }
.sidebar-contact .btn { margin-top: 14px; }
.products-list-head { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.products-list-head h2 { color: var(--navy); font-size: 20px; font-weight: 800; margin: 0; }
.products-list-head > span { font-size: 13px; color: var(--gray-text); font-weight: 600; }
.products-toolbar { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.sort-select { padding: 10px 12px; border: 1px solid var(--gray-border); border-radius: 6px; background: #fff; }
.mobile-filter-toggle { display: none; }
.pagination { margin-top: 34px; display: flex; justify-content: center; }
.pagination a,.pagination span { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--gray-border); margin: 2px; }
.project-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card-image img { width: 100%; height: 290px; object-fit: cover; }
.project-gallery-source img { width: 100%; max-height: 540px; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.news-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; }
.news-detail-title { color: var(--navy); font-size: 36px; line-height: 1.25; margin-bottom: 12px; }
.news-detail-meta { display: flex; gap: 24px; color: var(--gray-text); margin-bottom: 20px; }
.news-detail-summary { padding: 18px 20px; border-left: 4px solid var(--red); background: #fff5f5; margin-bottom: 24px; font-weight: 600; }
.news-detail-sidebar { position: sticky; top: 90px; align-self: start; }
.detail-quote { color: var(--red); font-size: 24px; font-weight: 800; margin: 18px 0; }
.detail-tabs-section .tab-content { display: none; }
.detail-tabs-section .tab-content.active { display: block; }
.related-products { margin-top: 46px; }
.related-products>h2 { color: var(--navy); margin-bottom: 22px; }
.pricing-intro { max-width: 820px; text-align: center; margin: 0 auto 34px; }
.pricing-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.pill-btn { border: 1px solid var(--gray-border); border-radius: 999px; padding: 9px 16px; background: #fff; cursor: pointer; font-weight: 700; }
.pill-btn.active,.pill-btn:hover { border-color: var(--red); background: var(--red); color: #fff; }
.brand-pricing-section { margin-bottom: 28px; padding: 24px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.brand-pricing-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.brand-pricing-title h3 { color: var(--navy); }
.price-table-v2-wrapper { overflow-x: auto; }
.price-table-v2 { width: 100%; border-collapse: collapse; }
.price-table-v2 th,.price-table-v2 td { padding: 14px 16px; border-bottom: 1px solid var(--gray-border); text-align: left; }
.price-table-v2 th { background: var(--navy); color: #fff; }
.download-price-btn { display: inline-block; padding: 7px 12px; border-radius: 5px; background: var(--red); color: #fff; font-weight: 700; white-space: nowrap; }
.brand-filter-pills { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; justify-content: center; }
.brand-filter-pills .pill-btn { padding: 10px 22px; border: 1.5px solid var(--gray-border); background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; }
.brand-filter-pills .pill-btn:hover { border-color: var(--navy); background: #f8fafc; color: var(--navy); }
.brand-filter-pills .pill-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 4px 14px rgba(15,42,74,.22); }
.brand-pricing-section { margin-bottom: 40px; padding: 0; border-radius: 12px; border: 1px solid var(--gray-border); overflow: hidden; box-shadow: 0 4px 20px rgba(15,42,74,.05); }
.brand-pricing-title { padding: 18px 22px; margin-bottom: 0; border-bottom: 1px solid var(--gray-border); }
.price-table-v2 th { padding: 15px 22px; text-transform: uppercase; letter-spacing: .5px; }
.price-table-v2 th.th-stt { width: 70px; text-align: center; }
.price-table-v2 th.th-action { width: 170px; text-align: center; }
.price-table-v2 td { padding: 15px 22px; font-size: 14.5px; }
.price-table-v2 td.td-stt { text-align: center; font-weight: 700; color: #64748b; }
.price-table-v2 td.td-title { font-weight: 600; }
.price-table-v2 td.td-action { text-align: center; }
.price-table-v2 tr:nth-child(even) td { background: #f8fafc; }
.btn-download-pdf { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--red); font-weight: 700; font-size: 13px; padding: 7px 16px; border-radius: 6px; background: rgba(196,30,42,.06); border: 1px solid rgba(196,30,42,.2); white-space: nowrap; }
.btn-download-pdf:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-1px); }
.contact-submit { width: 100%; justify-content: center; padding: 16px; }
.contact-form .form-group>span { color: #b91c1c; font-size: 13px; display: block; margin-top: 4px; }

@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-detail-layout { grid-template-columns: 1fr; }
  .news-detail-sidebar { position: static; }
  .project-list-grid { grid-template-columns: 1fr; }
  .nav-menu>.nav-item { display: block; width: 100%; }
  .nav-dropdown { position: static; box-shadow: none; padding-left: 16px; }
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .mobile-filter-toggle { display: inline-block; margin-right: auto; }
  #products-sidebar .tree-menu { display: none; }
  #products-sidebar.open .tree-menu { display: block; }
  .brand-filter { display: none; }
  .brand-pricing-title { align-items: flex-start; flex-direction: column; gap: 8px; }
  .news-detail-title { font-size: 28px; }
}

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all var(--transition);
}

.btn-red:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

/* ====== MODERN ABOUT ====== */
.about-modern {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.about-modern-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-modern-content {
  padding-right: 20px;
}

.about-modern-content .subtitle {
  display: inline-block;
  padding: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.about-modern-content h2 {
  font-size: 48px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.about-tagline {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-dark);
  line-height: 1.4;
  margin-bottom: 20px;
}

.about-modern-content .about-desc {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 90%;
}

.about-modern-images {
  display: flex;
  gap: 20px;
  height: 500px;
  position: relative;
}

.about-modern-images::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(196, 30, 42, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.img-main {
  flex: 1.5;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
}

.img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.img-main:hover img {
  transform: scale(1.05);
}

.img-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.img-side img {
  width: 100%;
  height: calc(50% - 10px);
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.8s ease;
}

.img-side img:hover {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .about-modern-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-modern-content {
    padding-right: 0;
  }

  .about-modern-content .about-desc {
    max-width: 100%;
    text-align: justify;
  }

  .about-modern-images {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .about-modern-layout {
    gap: 16px;
  }

  .about-modern-content h2 {
    font-size: 36px;
  }

  .about-tagline {
    font-size: 18px;
  }

  .about-modern-content .about-desc {
    margin-bottom: 12px;
  }

  .about-modern-images {
    height: 280px;
    gap: 10px;
    flex-direction: row;
  }

  .img-side {
    flex-direction: column;
    gap: 10px;
    height: 100%;
  }

  .img-side img {
    height: calc(50% - 5px);
    border-radius: 12px;
  }

  .img-main {
    border-radius: 12px;
  }

  .section-head.flex-head .btn-text-link {
    font-size: 0;
    gap: 0;
  }

  .news-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-card {
    flex: 0 0 72%;
  }
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition);
}

.btn-text-link .arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 42, 74, 0.08);
  color: var(--navy);
  transition: all var(--transition);
}

.btn-text-link .arrow svg {
  width: 18px;
  height: 18px;
}

.btn-text-link:hover {
  color: var(--red);
}

.btn-text-link:hover .arrow {
  background: var(--red);
  color: var(--white);
  transform: translateX(8px);
  box-shadow: 0 6px 16px rgba(196, 30, 42, 0.3);
}

.stats-bar {
  background: url('../images/about_warehouse.png') center/cover no-repeat;
  background-attachment: fixed;
  padding: 80px 0;
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(225, 240, 255, 0.4) 0%, rgba(195, 225, 250, 0.3) 100%);
  /* Lớp phủ xanh nhạt rất mỏng */
  pointer-events: none;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-box-ref {
  background: rgba(255, 255, 255, 0.55);
  /* Glassmorphism background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.stat-box-ref:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-num-ref {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  display: inline-block;
  margin-bottom: 24px;
}

.stat-num-ref .symbol {
  font-size: 34px;
  font-weight: 700;
  margin-left: 2px;
}

.stat-icon-top {
  margin-bottom: 16px;
  color: var(--red);
}

.stat-icon-top svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

.stat-info-ref h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}

@media(max-width:1200px) {
  .stat-num-ref {
    font-size: 44px;
  }

  .stat-box-ref {
    padding: 24px 16px;
  }
}

@media(max-width:768px) {
  .stats-row {
    gap: 12px;
  }

  .stat-box-ref {
    padding: 16px 10px;
    border-radius: 12px;
  }

  .stat-icon-top {
    margin-bottom: 8px;
  }

  .stat-icon-top svg {
    width: 30px;
    height: 30px;
  }

  .stat-num-ref {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .stat-num-ref .symbol {
    font-size: 18px;
  }

  .stat-info-ref h4 {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
}

/* ====== PRICE TABLE ====== */
.price-wrap {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table thead {
  background: var(--navy);
}

.price-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.price-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-border);
}

.price-table tbody tr:hover {
  background: var(--gray-bg);
}

.price-table .price-val {
  color: var(--red);
  font-weight: 600;
}

.price-actions {
  text-align: center;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ====== PARTNERS ====== */
.partners-strip {
  padding: 40px 0;
  background: var(--gray-bg);
  overflow: hidden;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.partners-track span {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-text);
  white-space: nowrap;
  opacity: .45;
  transition: opacity var(--transition);
}

.partners-track span:hover {
  opacity: 1;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ====== CONTACT ====== */
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-list-item .c-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: rgba(196, 30, 42, .06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list-item .c-icon svg {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.contact-list-item .c-text strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-list-item .c-text span,
.contact-list-item .c-text a {
  font-size: 13px;
  color: var(--gray-text);
}

.contact-list-item .c-text a:hover {
  color: var(--red);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow);
  margin-top: 4px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--gray-bg);
  padding: 28px;
  border-radius: var(--radius);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--gray-dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-white-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn svg {
  width: 14px;
  height: 14px;
}

/* ====== FOOTER ====== */
.footer {
  background: #ffffff;
  color: var(--gray-text);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 20%, var(--navy) 20%, var(--navy) 100%);
  z-index: 2;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230f2a4a' fill-opacity='0.04' d='M0,192L48,176C96,160,192,128,288,138.7C384,149,480,203,576,213.3C672,224,768,192,864,170.7C960,149,1056,139,1152,160C1248,181,1344,235,1392,261.3L1440,288L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3Cpath fill='%23c41e2a' fill-opacity='0.04' d='M0,64L48,85.3C96,107,192,149,288,160C384,171,480,149,576,149.3C672,149,768,171,864,181.3C960,192,1056,192,1152,176C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.footer-about-text {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--gray-text);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  color: #fff;
}

.footer-social svg {
  width: 14px;
  height: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--gray-text);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a::before {
  content: '›';
  color: var(--red);
  font-weight: 700;
}

.footer-col ul a:hover {
  color: var(--red);
  padding-left: 4px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--gray-text);
}

.footer-contact-row svg {
  width: 14px;
  height: 14px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-row a {
  color: var(--gray-text);
}

.footer-contact-row a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(15, 42, 74, 0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: var(--gray-text);
  position: relative;
  z-index: 1;
}

/* ====== FLOATING ====== */
.floating {
  position: fixed;
  bottom: 74px;
  right: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  transition: transform var(--transition);
  animation: pulse-ring 2s infinite;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn.facebook {
  background: #1877F2;
  color: #fff;
  --pulse-rgb: 24, 119, 242;
}

.float-btn.zalo {
  background: #0068FF;
  color: #fff;
  --pulse-rgb: 0, 104, 255;
}

.float-btn.phone {
  background: var(--red);
  color: #fff;
  --pulse-rgb: 196, 30, 42;
}

.float-btn svg {
  width: 20px;
  height: 20px;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--pulse-rgb), 0.5);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(var(--pulse-rgb), 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--pulse-rgb), 0);
  }
}

.back-top {
  position: fixed;
  bottom: 20px;
  right: 21px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--red);
}

.back-top svg {
  width: 18px;
  height: 18px;
}

/* ====== SCROLL ANIMATIONS ====== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media(max-width:1024px) {
  .header-search {
    position: static;
  }

  .header-search input {
    display: none;
  }

  .header-search.active input {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    padding: 12px 14px;
    margin-top: -8px;
    background: var(--white);
    color: var(--navy);
    border-radius: 6px;
    border: 1px solid var(--gray-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 150;
  }

  .header-search.active input::placeholder {
    color: var(--gray-text);
  }

  .header-search button {
    position: static;
    transform: none;
    padding: 0 5px;
  }

  .logo-text {
    display: flex;
  }

  .header-lang {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 0 8px !important;
    border: none !important;
    background: transparent !important;
  }

  .header-lang span {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
  }

  .header-lang svg {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    stroke: #FFFFFF !important;
    margin: 0 !important;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-row {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu a {
    padding: 0 12px;
    font-size: 13px;
  }
}

@media(max-width:768px) {
  .header-top {
    display: none;
  }

  .header-main .container {
    padding: 0 12px;
  }

  .logo {
    gap: 14px;
  }

  .logo img {
    height: 48px;
  }

  .logo-text small {
    font-size: 8.5px;
    letter-spacing: 0.2px;
  }

  .logo-text strong {
    font-size: 12px;
    letter-spacing: 0.3px;
  }

  .header-actions {
    gap: 8px;
    padding-left: 20px;
  }

  .header-actions::before {
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 30px 24px 24px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 200;
    gap: 0;
  }

  .hamburger {
    position: relative;
    z-index: 201;
	        background: none;
        border: none;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    line-height: 1;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-border);
  }

  .nav-menu a::after {
    display: none;
  }

  .header-actions .header-phone {
    display: none;
  }

  .hero {
    height: 50vw;
    min-height: 260px;
    max-height: 420px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 0;
    flex-wrap: nowrap;
  }

  .product-tab {
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 30px 0;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .stat-box .stat-num {
    font-size: 30px;
  }
}

@media(max-width:480px) {
  .header-main .container {
    padding: 0 8px;
  }

  .logo {
    gap: 12px;
  }

  .logo img {
    height: 44px;
  }

  .logo-text small {
    font-size: 7.5px;
    letter-spacing: 0;
  }

  .logo-text strong {
    font-size: 11px;
    letter-spacing: 0.2px;
  }

  .header-actions {
    gap: 6px;
    padding-left: 15px;
  }

  .header-actions::before {
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%);
  }

  .header-lang {
    padding: 0 4px !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: 56vw;
  }

  .hero-nav {
    width: 36px;
    height: 36px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }
}

@media(max-width:360px) {
  .logo {
    gap: 8px;
  }

  .logo img {
    height: 38px;
  }

  .logo-text small {
    font-size: 6.8px;
  }

  .logo-text strong {
    font-size: 9.8px;
  }

  .header-actions {
    gap: 4px;
    padding-left: 12px;
  }

  .header-actions::before {
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* overlay for mobile menu */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .4);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* ====== SUB-PAGES ====== */
.page-banner {
  background: var(--navy);
  padding: calc(var(--header-h) + 75px) 0 50px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero_banner.png') center/cover;
  opacity: 0.15;
}

.page-banner h1 {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}

.breadcrumb a {
  color: var(--white);
  font-weight: 500;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb span {
  opacity: 0.5;
}

.page-content {
  padding: 40px 0;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.sidebar-menu {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sidebar-title {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  border-bottom: 1px solid var(--gray-border);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
}

.sidebar-list a:hover,
.sidebar-list a.active {
  color: var(--red);
  padding-left: 26px;
  background: rgba(196, 30, 42, .04);
}

.sidebar-list a::after {
  content: '+';
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-text);
}

.sidebar-list a:hover::after,
.sidebar-list a.active::after {
  color: var(--red);
}

.mobile-cat-arrow {
  display: none;
}

@media(max-width:992px) {
  .sidebar-layout {
    grid-template-columns: 1fr;
  }
}

@media(max-width:768px) {
  .sidebar-menu {
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
    margin-bottom: 20px;
  }

  .sidebar-title {
    background: var(--navy) !important;
    color: #FFFFFF !important;
    border-radius: 30px !important;
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    user-select: none;
    box-shadow: 0 4px 14px rgba(15, 42, 74, 0.25) !important;
  }

  .mobile-cat-arrow {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    stroke: #FFFFFF !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0;
  }

  .sidebar-menu.open .mobile-cat-arrow {
    transform: rotate(180deg) !important;
  }

  .sidebar-menu:not(.open) .tree-menu {
    display: none !important;
  }

  .sidebar-menu.open .tree-menu {
    display: block !important;
    background: #FFFFFF !important;
    border-radius: 16px !important;
    border: 1px solid var(--gray-border) !important;
    margin-top: 10px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
  }
}

/* Products Grid Layout */
.products-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media(max-width:992px) {
  .products-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media(max-width:576px) {
  .products-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 10px !important;
  }

  .products-grid-container .product-card-img {
    height: 125px !important;
    padding: 10px !important;
  }

  .products-grid-container .product-brand-tag {
    font-size: 10px !important;
    padding: 2px 7px !important;
    top: 6px !important;
    left: 6px !important;
  }

  .products-grid-container .product-card-info {
    padding: 10px 8px !important;
  }

  .products-grid-container .product-card-info h3 {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
  }

  .products-grid-container .product-desc {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .products-grid-container .contact-quote {
    font-size: 10.5px !important;
  }

  .products-grid-container .add-btn-text {
    display: none !important;
  }

  .products-grid-container .add-btn {
    padding: 5px !important;
    width: 26px !important;
    height: 26px !important;
    justify-content: center !important;
  }
}

/* Related Products Slider (Horizontal Scroll on Mobile) */
.related-products-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media(max-width: 992px) {
  .related-products-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media(max-width: 576px) {
  .related-products-slider {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    padding-bottom: 12px !important;
    margin-top: 16px !important;
    scrollbar-width: none;
  }

  .related-products-slider::-webkit-scrollbar {
    display: none;
  }

  .related-products-slider .product-card {
    flex: 0 0 78% !important;
    min-width: 250px !important;
    max-width: 290px !important;
    scroll-snap-align: start !important;
  }

  .related-products-slider .product-card-img {
    height: 140px !important;
    padding: 12px !important;
  }

  .related-products-slider .product-card-info {
    padding: 14px !important;
  }

  .related-products-slider .product-card-info h3 {
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  .related-products-slider .product-desc {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }
}

/* Special Premium Dark Background */
.special-bg {
  background: linear-gradient(135deg, #0B1E36 0%, #153A66 100%);
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 40px;
}

.special-bg::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  left: auto;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at center, rgba(196, 30, 42, 0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.special-bg::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.special-bg .container {
  position: relative;
  z-index: 2;
}

/* Override text colors for dark background */
.special-bg .section-head h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.special-bg .section-head a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.special-bg .section-head a:hover {
  color: #ffffff !important;
}

/* ===================== CLIENTS (KHÁCH HÀNG TIÊU BIỂU) ===================== */
.clients-section {
  background: linear-gradient(115deg, #090e17 0%, #090e17 35%, #d58d19 45%, #71201b 50%, #35144b 60%, #0e3868 75%, #071930 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.clients-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.clients-title {
  flex-shrink: 0;
  color: #fff;
}

.clients-title h2 {
  font-weight: 800;
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clients-slider-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

.clients-slider {
  display: flex;
  gap: 20px;
  flex-grow: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}

.clients-slider::-webkit-scrollbar {
  display: none;
}

/* FCK content format: <p><a ...><img ...></a></p> or <p><img ...></p> */
.clients-slider > p {
  flex: 0 0 160px;
  width: 160px;
  height: 90px;
  margin: 0;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clients-slider > p:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.clients-slider > p > a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients-slider > p img {
  display: block;
  max-width: 100%;
  max-height: 66px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-card {
  flex: 0 0 160px;
  height: 90px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.client-logo {
  font-weight: 800;
  font-size: 18px;
  color: #333;
  text-align: center;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Fake Logos Styling */
.client-logo.masan {
  color: #d02028;
  font-size: 24px;
  position: relative;
  font-style: italic;
  letter-spacing: -0.5px;
}

.client-logo.masan span {
  display: none;
}

.client-logo.thinhphat {
  color: #0071ce;
  font-size: 18px;
  gap: 6px;
}

.client-logo.thinhphat svg {
  width: 24px;
  height: 24px;
}

.client-logo.ur {
  color: #e31837;
  font-size: 14px;
  gap: 6px;
}

.client-logo.ur .ur-icon {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -2px;
}

.client-logo.ur .ur-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
  font-size: 11px;
  font-weight: 700;
}

.client-logo.ajinomoto {
  color: #d61820;
  font-size: 18px;
  letter-spacing: 1.5px;
}

.client-logo.acecook img {
  max-height: 40px;
  opacity: 0.7;
}

.client-next-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.client-next-btn:hover {
  background: var(--red-dark);
  transform: scale(1.05);
}

.client-next-btn svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 992px) {
  .clients-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .clients-slider-wrapper {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .clients-title h2 {
    font-size: 22px;
  }

  .client-card {
    flex: 0 0 130px;
    height: 70px;
  }

  .clients-slider > p {
    flex-basis: 130px;
    width: 130px;
    height: 70px;
    padding: 10px;
  }

  .clients-slider > p img {
    max-height: 50px;
  }

  .client-next-btn {
    display: none;
  }
}

/* ====== BRANDS SECTION (PHOTO OVERLAY & WHITE HOVER DRAWER) ====== */
.section-brands {
  background: #F8FAFC;
  padding: 55px 0;
  border-bottom: 1px solid var(--gray-border);
}

.brands-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.brand-photo-card {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: #0F2A4A;
  border: 1px solid rgba(15, 42, 74, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.4s ease;
  cursor: pointer;
  will-change: transform, box-shadow;
  transform: translateZ(0);
}

.brand-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 42, 74, 0.18);
  border-color: rgba(15, 42, 74, 0.3);
}

.brand-photo-box {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.brand-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
  display: block;
}

.brand-photo-card:hover .brand-photo-box img {
  transform: scale(1.06);
}

/* Realistic Depth of Field (Progressive Blur + Seamless Dark Vignette) */
.brand-photo-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg,
      rgba(15, 42, 74, 0) 0%,
      rgba(15, 42, 74, 0.12) 25%,
      rgba(15, 42, 74, 0.42) 50%,
      rgba(15, 42, 74, 0.78) 75%,
      rgba(15, 42, 74, 0.96) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.brand-photo-card:hover::before {
  opacity: 0;
}

/* Base Bottom Container - Fixed geometry, NO layout reflow */
.brand-card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  overflow: hidden;
}

/* White Background Drawer (Hover state) */
.brand-card-bottom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  z-index: 1;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.brand-photo-card:hover .brand-card-bottom::after {
  opacity: 1;
  transform: translateY(0);
}

/* Content Container above the backdrops */
.brand-card-bottom h3,
.brand-card-bottom .brand-hover-link {
  position: relative;
  z-index: 2;
}

/* Brand Title (Default: centered & white with soft shadow, Hover: shifted up & Navy) */
.brand-card-bottom h3 {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transform: translateY(10px);
  transition: color 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), text-shadow 0.3s ease;
}

.brand-photo-card:hover .brand-card-bottom h3 {
  color: var(--navy);
  transform: translateY(0);
  text-shadow: none;
}

/* "Xem sản phẩm →" link */
.brand-hover-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0;
  transform: translateY(15px);
  margin-top: 6px;
  padding: 0 10px;
  transition: opacity 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), color 0.25s ease;
  pointer-events: none;
}

.brand-hover-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.brand-photo-card:hover .brand-hover-link {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.brand-photo-card:hover .brand-hover-link:hover {
  color: var(--red);
}

.brand-photo-card:hover .brand-hover-link svg {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .brands-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .brand-photo-card {
    height: 330px;
  }

  .brand-card-bottom {
    height: 85px;
  }
}

@media (max-width: 576px) {
  .section-head h2 {
    font-size: 17px !important;
    line-height: 1.35 !important;
  }

  .btn-text-link {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    gap: 0 !important;
  }

  .btn-text-link::before,
  .btn-text-link::after {
    display: none !important;
  }

  .btn-text-link .arrow {
    width: 36px !important;
    height: 36px !important;
    background: #F1F5F9 !important;
    border: 1px solid var(--gray-border) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  }

  .brands-photo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .brand-photo-card {
    height: 210px !important;
    border-radius: 10px !important;
  }

  .brand-card-bottom {
    height: 68px !important;
  }

  .brand-card-bottom h3 {
    font-size: 12.5px !important;
    transform: translateY(6px) !important;
  }

  .brand-photo-card:hover .brand-card-bottom h3 {
    transform: translateY(0) !important;
  }

  .brand-hover-link {
    font-size: 11px !important;
    gap: 4px !important;
    margin-top: 3px !important;
  }

  .brand-hover-link svg {
    width: 12px !important;
    height: 12px !important;
  }

  .brand-card-hero {
    height: 160px;
  }
}

/* ===================== PROJECTS (DỰ ÁN TIÊU BIỂU) ===================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.project-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(15, 42, 74, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 42, 74, 0.12);
}

.project-img-wrapper {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #e2e8f0;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.06);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  transition: all 0.3s ease;
}

.project-card:hover .project-tag {
  background: var(--red);
  color: var(--white);
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-info h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.project-card:hover .project-info h3 {
  color: var(--red);
}

.project-info p {
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .project-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding-bottom: 12px !important;
    margin-top: 18px !important;
    scrollbar-width: none;
    /* Firefox */
  }

  .project-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
  }

  .project-card {
    flex: 0 0 82% !important;
    min-width: 270px !important;
    max-width: 320px !important;
    scroll-snap-align: start !important;
  }

  .project-img-wrapper {
    height: 175px !important;
  }

  .project-info {
    padding: 16px !important;
  }

  .project-info h3 {
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }

  .project-info p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}

/* ===================== QUOTE FORM ===================== */
.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.quote-content h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quote-content > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.65;
}

.quote-benefits {
  color: #fff;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-form .form-group {
  margin-bottom: 15px;
}

.quote-form .form-group > span {
  color: #b91c1c;
  display: block;
  font-size: 13px;
  margin-top: 5px;
}

.quote-form .submit-quote-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
}

@media (max-width: 992px) {
  .quote-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .quote-content h2 {
    font-size: 25px;
  }

  .quote-form-box {
    padding: 22px 18px;
  }
}

.product-desc {
  margin-bottom: 4px !important;
}

.contact-quote {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin: 0 !important;
  font-style: italic;
  letter-spacing: 0.2px;
  white-space: nowrap;
  display: inline-block !important;
}

/* ===================== NAV MENU OPTIMIZATION FOR 7 ITEMS ===================== */
@media (min-width: 993px) and (max-width: 1280px) {
  .nav-menu a {
    padding: 0 7px;
    font-size: 12.5px;
    letter-spacing: 0.1px;
  }
}

/* ===================== ABOUT PAGE STYLES ===================== */
.simple-about-section {
  padding: 60px 0;
  background: #FFFFFF;
}

.simple-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.simple-about-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.simple-about-text h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.simple-about-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.simple-about-text p {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 16px;
}

@media (max-width: 992px) {
  .simple-about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .simple-about-section {
    padding: 40px 0;
  }

  .simple-about-grid {
    gap: 24px;
  }

  .simple-about-img img {
    height: 260px;
  }

  .simple-about-text h2 {
    font-size: 24px;
  }
}

/* ===================== PROJECTS PAGE STYLES ===================== */
.projects-page-section {
  padding: 60px 0 80px 0;
  background-color: var(--gray-bg);
}

.projects-page-section .section-head h2::after,
.section-head.no-line h2::after {
  display: none !important;
}

.project-filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.project-filter-btn {
  padding: 10px 22px;
  background: var(--white);
  border: 1px solid rgba(15, 42, 74, 0.12);
  border-radius: 30px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.project-filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.project-filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(230, 48, 56, 0.3);
}

.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card-full {
  transition: all 0.4s ease;
}

.project-card-full.hide {
  display: none !important;
}

.project-card-inner {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(15, 42, 74, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.project-card-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 42, 74, 0.12);
  border-color: rgba(15, 42, 74, 0.18);
}

.project-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #e2e8f0;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-inner:hover .project-img-box img {
  transform: scale(1.07);
}

.project-location-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 42, 74, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.project-content-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.project-cat-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.project-cat-tag.urban {
  background: #e0f2fe;
  color: #0369a1;
}

.project-cat-tag.industrial {
  background: #fef3c7;
  color: #b45309;
}

.project-cat-tag.infra {
  background: #dcfce7;
  color: #15803d;
}

.project-year {
  font-size: 12px;
  color: var(--gray-text);
  font-weight: 600;
}

.project-content-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.project-content-box h3 a {
  color: inherit;
  text-decoration: none;
}

.project-desc-short {
  font-size: 13.5px;
  color: var(--gray-text);
  line-height: 1.55;
  margin-bottom: 16px;
}

.project-products-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  margin-top: auto;
}

.product-mini-tag {
  font-size: 11.5px;
  font-weight: 600;
  background: var(--gray-bg);
  color: var(--navy-light);
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(15, 42, 74, 0.08);
}

.project-action-row {
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-top: auto;
}

.btn-project-detail {
  width: 100%;
  padding: 10px;
  background: rgba(15, 42, 74, 0.04);
  border: 1px solid rgba(15, 42, 74, 0.1);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-project-detail:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ===================== PROJECT MODAL STYLES ===================== */
.project-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 42, 74, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 20px;
}

.project-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.project-modal-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 30px;
}

.project-modal-overlay.open .project-modal-box {
  transform: scale(1);
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.project-modal-close:hover {
  background: var(--red);
  color: #ffffff;
}

.project-modal-header {
  margin-bottom: 20px;
}

.modal-cat-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--red);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.project-modal-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.modal-location {
  font-size: 14px;
  color: var(--gray-text);
}

.modal-img-container {
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.modal-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal-details-content p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--gray-bg);
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(15, 42, 74, 0.08);
}

.modal-info-item {
  font-size: 13px;
  color: var(--navy);
}

.modal-info-item strong {
  display: block;
  font-weight: 700;
  color: var(--navy-light);
  margin-bottom: 2px;
}

@media (max-width: 992px) {
  .projects-full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .projects-full-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .project-card-full {
    border-radius: 12px;
  }

  .project-img-box {
    height: 125px !important;
  }

  .project-content-box {
    padding: 12px 10px !important;
  }

  .project-content-box h3 {
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .project-desc-short {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .project-action-row {
    padding-top: 8px !important;
  }

  .btn-project-detail {
    padding: 7px 10px !important;
    font-size: 11.5px !important;
    gap: 5px !important;
  }

  .btn-project-detail svg {
    width: 13px !important;
    height: 13px !important;
  }

  .modal-info-grid {
    grid-template-columns: 1fr;
  }

  .project-modal-box {
    padding: 20px;
  }

  .modal-img-container {
    height: 180px;
  }
}

/* News Page Grid & Responsive 2:2:2 on Mobile */
.page-content .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .page-content .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .page-content .news-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  .page-content .news-card {
    flex: none !important;
    width: 100% !important;
    border-radius: 10px;
  }

  .page-content .news-card-img {
    height: 125px !important;
  }

  .page-content .news-card-body {
    padding: 12px 10px !important;
  }

  .page-content .news-card-date {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }

  .page-content .news-card-title {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
  }
}

/* Projects & News Pagination */
.projects-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 45px;
}

.projects-pagination .page-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1.5px solid var(--gray-border);
  background: #FFFFFF;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* PQTPager renders links without the static sample's .page-link class. */
.projects-pagination a,
.projects-pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1.5px solid var(--gray-border);
  background: #FFFFFF;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.projects-pagination a:hover {
  border-color: var(--navy);
  background: #F8FAFC;
  transform: translateY(-2px);
}

.projects-pagination > span,
.projects-pagination span.current,
.projects-pagination a.active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

.projects-pagination .page-link:hover {
  border-color: var(--navy);
  background: #F8FAFC;
  color: var(--navy);
  transform: translateY(-2px);
}

.projects-pagination .page-link.active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(15, 42, 74, 0.25);
}

.projects-pagination .page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
  background: #F8FAFC;
}

.projects-pagination .page-dots {
  color: var(--gray-text);
  font-weight: 700;
  padding: 0 4px;
  font-size: 14px;
}

@media (max-width: 576px) {
  .projects-pagination {
    margin-top: 28px;
    gap: 6px;
  }

  .projects-pagination .page-link {
    width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 6px;
  }
}

/* ===================== PROJECT DETAIL ARTICLE PAGE STYLES ===================== */
.project-detail-banner {
  padding: 24px 0 20px 0;
  background: #F1F5F9;
  border-bottom: 1px solid var(--gray-border);
}

.project-detail-banner .breadcrumb {
  margin: 0;
}

.project-detail-section {
  padding: 40px 0 70px 0;
  background: #FFFFFF;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* --- Left Article Column --- */
.project-article-main {
  background: #FFFFFF;
}

.project-article-header {
  margin-bottom: 24px;
}

.article-meta-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.article-badge {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(196, 30, 42, 0.1);
  color: var(--red);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(196, 30, 42, 0.2);
  letter-spacing: 0.5px;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 500;
}

.article-meta-item svg {
  color: var(--navy-light);
}

.project-article-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.project-article-lead {
  font-size: 16px;
  font-weight: 500;
  color: #334155;
  line-height: 1.65;
  padding-left: 16px;
  border-left: 3.5px solid var(--red);
  margin-bottom: 24px;
}

/* Featured Hero Image */
.project-article-figure {
  margin: 0 0 32px 0;
}

.article-figure-box {
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 42, 74, 0.08);
  border: 1px solid rgba(15, 42, 74, 0.08);
  background: #0F2A4A;
}

.article-figure-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-article-figure figcaption {
  font-size: 13px;
  color: var(--gray-text);
  font-style: italic;
  margin-top: 10px;
  text-align: center;
}

/* Article Body Typography */
.project-article-body {
  color: #334155;
  font-size: 15px;
  line-height: 1.75;
}

.project-article-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-article-body p {
  margin-bottom: 16px;
}

.project-article-body ul {
  margin: 0 0 20px 20px;
}

.project-article-body li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* Highlight / Supply Items Table */
.article-highlight-box {
  background: #F8FAFC;
  border: 1px solid rgba(15, 42, 74, 0.1);
  border-radius: 12px;
  padding: 22px;
  margin: 28px 0;
}

.highlight-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  margin-bottom: 16px;
}

.highlight-box-header svg {
  color: var(--red);
}

.highlight-box-header h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
}

.highlight-table-wrapper {
  overflow-x: auto;
}

.article-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.article-specs-table th {
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
}

.article-specs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
}

.article-specs-table tr:last-child td {
  border-bottom: none;
}

.supply-brand-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Quote Box */
.article-quote-box {
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.03) 0%, rgba(196, 30, 42, 0.05) 100%);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  border-radius: 0 10px 10px 0;
  margin: 28px 0;
}

.article-quote-box p {
  font-size: 15.5px;
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.6;
}

.article-quote-box cite {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-text);
  font-style: normal;
}

/* Article Footer */
.project-article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--gray-text);
}

.art-tag {
  background: #F1F5F9;
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}

.art-tag:hover {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

.article-action-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-back-projects {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 18px;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.btn-back-projects:hover {
  background: var(--navy);
  color: #FFFFFF;
}

/* --- Right Sidebar Column --- */
.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-box {
  background: #FFFFFF;
  border: 1px solid rgba(15, 42, 74, 0.1);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.sidebar-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #F1F5F9;
}

.sidebar-related-projects .sidebar-title {
  background: var(--navy);
  color: #FFFFFF !important;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-bottom: none;
  display: flex;
  align-items: center;
}

.project-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-info-list li {
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
}

.info-label {
  color: var(--gray-text);
  font-size: 12px;
  margin-bottom: 2px;
  font-weight: 500;
}

.info-val {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
}

.status-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-top: 3px;
}

.status-pill.active {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.status-pill.completed {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

/* Sidebar Contractor CTA */
.sidebar-cta-box {
  background: linear-gradient(145deg, #0F2A4A 0%, #1A467A 100%);
  color: #FFFFFF;
  border: none;
}

.cta-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(196, 30, 42, 0.3);
  color: #FFA4A9;
  border: 1px solid rgba(196, 30, 42, 0.5);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.sidebar-cta-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.35;
}

.sidebar-cta-box p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin-bottom: 16px;
}

.sidebar-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 800;
  padding: 11px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(196, 30, 42, 0.4);
}

.sidebar-phone-btn:hover {
  background: #D92230;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 30, 42, 0.5);
}

.sidebar-price-link {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-price-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Related Projects in Sidebar */
.related-projects-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.related-project-card {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.related-project-card:hover {
  background: #F8FAFC;
}

.related-img-box {
  width: 76px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0F2A4A;
}

.related-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-project-card:hover .related-img-box img {
  transform: scale(1.08);
}

.related-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.related-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.related-info-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 2px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.related-project-card:hover .related-info-box h4 {
  color: var(--red);
}

.related-loc {
  font-size: 11.5px;
  color: var(--gray-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 992px) {
  .project-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .article-figure-box {
    height: 320px;
  }
  .project-sidebar {
    position: static;
  }
}

@media (max-width: 576px) {
  .project-article-title {
    font-size: 22px;
  }
  .article-figure-box {
    height: 220px;
  }
  .article-action-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-back-projects,
  .article-action-buttons .btn-primary-red {
    text-align: center;
    justify-content: center;
  }
}

/* FCK footer contact content */
.footer-contact-content {
  color: var(--gray-text);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.footer-contact-content p { margin: 0 0 8px; }
.footer-contact-content p:last-child { margin-bottom: 0; }

.footer-contact-content h3 { font-size: 15px; color: var(--navy); margin: 0 0 20px; font-weight: 800; line-height: 1.4; }

/* Icons for contact lines entered through FCK */
.footer-contact-content p { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-content p::before { width: 14px; flex: 0 0 14px; color: var(--red); font-size: 14px; line-height: 1.8; text-align: center; }

@font-face { font-family: FontAwesome; src: url('/Styles/font-awesome-4.4.0/fonts/fontawesome-webfont.woff2') format('woff2'), url('/Styles/font-awesome-4.4.0/fonts/fontawesome-webfont.woff') format('woff'); font-weight: normal; font-style: normal; }
/* Exact SVG contact icons, matching the original footer design. */
.footer-contact-content p::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  font-family: initial;
}
.footer-contact-content p:nth-of-type(1)::before, .footer-contact-content p:nth-of-type(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.footer-contact-content p:nth-of-type(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E");
}
.footer-contact-content p:nth-of-type(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}
.footer-contact-content p:nth-of-type(5)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
}

.contact-content h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 0 0 20px; }
.contact-content > p:first-of-type { margin-bottom: 20px; }
.contact-content > p:not(:first-of-type) { position: relative; min-height: 40px; padding: 7px 0 0 52px; margin: 0 0 16px; line-height: 1.5; }
.contact-content > p:not(:first-of-type)::before { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 8px; background: rgba(196,30,42,.06) no-repeat center / 18px 18px; }
.contact-content > p:nth-of-type(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.contact-content > p:nth-of-type(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18'/%3E%3C/svg%3E"); }
.contact-content > p:nth-of-type(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-9 6-9-6'/%3E%3C/svg%3E"); }
/* corrected icon order: p2/p3 location, p4 phone, p5 email */
.contact-content > p:nth-of-type(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");  }
.contact-content > p:nth-of-type(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18'/%3E%3C/svg%3E"); }
.contact-content > p:nth-of-type(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.contact-content > p:nth-of-type(5)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41e2a' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-9 6-9-6'/%3E%3C/svg%3E"); }
