/* ============================================================
   IBrite Theme — Shared Stylesheet
   Extracted from Figma static HTML files
   Font: Google Sans Flex
   Brand color: #ff8400
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: 'Google Sans Flex', 'Google Sans', sans-serif;
}

body {
  background: #fff;
  color: #000;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* ── TOP BAR ── */
.top-bar {
  width: 100%;
  height: 36px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  position: relative;
  z-index: 10001;
}
.top-bar-inner {
  max-width: 1440px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 100px; gap: 32px;
}
.top-bar a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── NAVBAR ── */
.navbar {
  width: 100%;
  height: 88px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 10000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar-inner {
  max-width: 1440px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 100px;
}
.navbar--transparent {
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  border-bottom: none;
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
}
.navbar--transparent .navbar-menu a { color: #fff; }
.navbar--transparent .navbar-menu a svg { stroke: #fff; }
.navbar-brand { display: flex; flex-direction: column; gap: 4px; }
.navbar-logo img { height: 40px; width: auto; }
.navbar-tagline {
  font-size: 11px;
  color: #666;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.navbar--transparent .navbar-tagline { color: rgba(255,255,255,0.7); }
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.navbar-menu a {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-menu a svg { width: 16px; height: 16px; }
.navbar-menu a.active { color: #ff8400; }

/* ── HERO (full bleed & slider) ── */
.hero {
  position: relative;
  width: 100%;
  height: 868px;
  overflow: hidden;
}
.hero-slides-wrapper { width: 100%; height: 100%; position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Animations for Slide Content */
.hero-slide .hero-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: 0.3s;
}
.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}
.hero-slide .hero-bg {
  transform: scale(1.05);
  transition: transform 6s linear;
}
.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 0 100px 80px; /* Reset padding bottom since not all pages have slider controls */
  color: #fff;
  max-width: 1440px; margin: 0 auto; width: 100%;
}
.hero-slider .hero-content, .ibrite-hero-slider .hero-content {
  padding-bottom: 140px; /* Tăng bottom padding cho trang chủ có slider controls */
}
/* HERO SLIDER LAYOUTS */
.slide-layout-left {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
}
.slide-layout-right {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
}
.slide-text-block {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.slide-text-block .hero-title { margin-bottom: 0; }
.slide-text-block .hero-desc { margin-bottom: 0; max-width: 100%; }

/* Link Button with animated Arrow (Component 1) */
.hero-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color 0.3s;
}
.hero-link-btn:hover {
  border-color: #ff8400;
}
.link-btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}
.hero-link-btn:hover .link-btn-icon {
  background: #ff8400;
}
.hero-link-btn:hover .link-btn-icon svg path {
  fill: #fff;
}
.hero-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8400;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-title-divider {
  width: 69px;
  height: 2px;
  background: #ff8400;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  max-width: 505px;
  opacity: 0.9;
}
.hero-cta { display: flex; gap: 16px; margin-top: 32px; }

/* Hero Slider Controls */
.hero-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-bottom: 40px;
}
.hero-controls-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.hero-dot.active {
  background: #ff8400;
  transform: scale(1.3);
}
.hero-nav {
  display: flex;
  gap: 16px;
}
.hero-prev, .hero-next {
  width: 48px; height: 48px;
  border: none;
  background: transparent;
  color: #fff;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-prev:hover, .hero-next:hover {
  background: #ff8400;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}
.breadcrumb a { color: #fff; text-decoration: none; opacity: 0.8; }
.breadcrumb span { opacity: 0.6; }

/* ── SECTION COMMON ── */
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8400;
  margin-bottom: 8px;
}
.section-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  color: #000;
  margin-bottom: 12px;
}
.section-divider {
  width: 69px;
  height: 2px;
  background: #ff8400;
  margin-bottom: 40px;
}

/* ── BUTTONS ── */
.btn-orange {
  height: 56px;
  padding: 0 28px;
  background: #ff8400;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  gap: 12px;
  transition: background 0.2s, transform 0.2s;
}
.btn-orange:hover { background: #e67600; transform: translateY(-2px); }
.btn-outline {
  height: 56px;
  padding: 0 28px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  gap: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.btn-outline-dark {
  height: 56px;
  padding: 0 28px;
  background: transparent;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #000;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  gap: 12px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }

/* ── HOMEPAGE SECTIONS ── */

/* 1. NEW RELEASES (Frame 21) */
.new-releases-section {
  padding: 100px 0;
  display: flex;
  justify-content: center;
  background: #f9f9f9;
}
.new-releases-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 100px;
}
.releases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.release-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s;
}
.release-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.release-card-img {
  position: relative;
  width: 100%;
  height: 280px;
  background: #f0f0f0;
}
.release-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.release-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ff8400;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  text-transform: uppercase;
}
.release-card-body {
  justify-content: space-between;
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.release-card-family {
  font-size: 12px;
  font-weight: 600;
  color: #ff8400;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.release-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: auto;
}
.release-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 24px;
  flex: 1;
}

/* 2. MEET AND GREET (Frame 22) */
.meet-section {
  display: flex;
  background: #fff;
  width: 100%;
}
.meet-inner {
  width: 100%;
  display: flex;
  align-items: center;
}
.meet-image {
  flex: 0 0 50%;
  height: 800px;
  margin: 0;
  padding: 0;
}
.meet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.meet-text {
  flex: 0 0 50%;
  padding: 100px;
}
.handy-links {
  display: flex;
  flex-direction: column;
}

.categories-section { padding: 80px 0; background: #f9f9f9; display: flex; justify-content: center; }
.categories-inner { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 100px; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e0e0e0; margin-top: 40px; }
.category-card {
  background: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.category-card:hover { background: #f5f5f5; }
.category-card-img { width: 100%; height: 200px; object-fit: cover; }
.category-card-title { font-size: 18px; font-weight: 600; color: #000; }
.category-card-desc { font-size: 14px; line-height: 1.6; color: #555; }
.category-card-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff8400;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.stats-section {
  padding: 0;
  background: #000;
  display: flex;
  justify-content: center;
}
.stats-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 0;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 56px; font-weight: 600; color: #ff8400; line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 8px; letter-spacing: 0.06em; text-transform: uppercase; }

.featured-projects { padding: 80px 0; background: #fff; display: flex; justify-content: center; }
.projects-inner { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 100px; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.project-card {
  position: relative;
  height: 540px;
  overflow: hidden;
  cursor: pointer;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.project-card:hover img { transform: scale(1.05); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%);
}
.project-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: #fff; }
.project-card-info h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.project-card-info p { font-size: 13px; opacity: 0.75; }

/* ── PRODUCT FAMILIES PAGE ── */
.families-section { padding: 80px 0; background: #fff; display: flex; justify-content: center; }
.families-inner { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 100px; }
.families-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.family-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.family-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.family-card-img { width: 100%; height: 280px; object-fit: cover; display: block; }
.family-card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.family-card-title { font-size: 22px; font-weight: 600; color: #000; }
.family-card-desc { font-size: 15px; line-height: 1.65; color: #555; flex: 1; }
.family-card-link {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #ff8400; text-decoration: none;
  display: flex; align-items: center; gap: 6px; margin-top: 8px;
}

/* ── PRODUCT RANGE (ARCHIVE) ── */
.product-range-section { padding: 80px 0; background: #fff; display: flex; justify-content: center; }
.product-range-inner { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 100px; }
.product-range-filters {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-btn {
  height: 40px; padding: 0 20px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid #000; background: #fff; color: #000; cursor: pointer; font-family: inherit;
  transition: all 0.15s;
}
.filter-btn.active, .filter-btn:hover { background: #ff8400; color: #fff; border-color: #ff8400; }
.product-range-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-range-card {
  display: flex; flex-direction: column; cursor: pointer;
  transition: box-shadow 0.2s;
}
.product-range-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.product-range-card-img { width: 100%; height: 240px; object-fit: cover; display: block; background: #f5f5f5; }
.product-range-card-body { padding: 20px; border: 1px solid #e0e0e0; border-top: none; flex: 1; }
.product-range-card-family { font-size: 11px; font-weight: 600; color: #ff8400; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.product-range-card-title { font-size: 16px; font-weight: 600; color: #000; margin-bottom: 8px; }
.product-range-card-desc { font-size: 13px; line-height: 1.6; color: #666; }

/* ── PRODUCT DETAIL (SINGLE) ── */
.product-detail-hero { position: relative; width: 100%; height: 560px; overflow: hidden; }
.product-detail-content { display: flex; justify-content: center; background: #fff; padding: 80px 0; }
.product-detail-inner { max-width: 1440px; width: 100%; padding: 0 100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.product-detail-left { width: 100%; }
.product-detail-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 32px; }
.product-detail-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: pointer; border: 2px solid transparent; }
.product-detail-gallery img.active { border-color: #ff8400; }
.product-detail-right {}
.product-family-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #ff8400;
  border: 1px solid #ff8400; padding: 4px 12px; margin-bottom: 16px;
}
.product-title { font-size: 40px; font-weight: 600; color: #000; margin-bottom: 8px; line-height: 1.15; }
.product-subtitle { font-size: 16px; color: #666; margin-bottom: 24px; }
.product-desc { font-size: 15px; line-height: 1.7; color: #333; margin-bottom: 32px; }
.product-specs-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.product-specs-table tr { border-bottom: 1px solid #e0e0e0; }
.product-specs-table td { padding: 12px 0; font-size: 14px; }
.product-specs-table td:first-child { color: #888; width: 40%; }
.product-specs-table td:last-child { font-weight: 600; color: #000; }
.product-features { margin-bottom: 32px; }
.product-features li { font-size: 14px; line-height: 1.8; color: #333; padding-left: 20px; position: relative; list-style: none; }
.product-features li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: #ff8400; }
.product-downloads { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.product-download-link {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: #000; text-decoration: none;
  padding: 12px 16px; border: 1px solid #e0e0e0;
  transition: border-color 0.15s;
}
.product-download-link:hover { border-color: #ff8400; color: #ff8400; }

/* ── INTEGRATED SOLUTIONS ── */
.solutions-section { padding: 80px 0; background: #fff; display: flex; justify-content: center; }
.solutions-inner { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 100px; }
.solutions-intro { max-width: 720px; margin-bottom: 60px; }
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.solution-card { display: flex; flex-direction: column; gap: 24px; }
.solution-card-img { width: 100%; height: 360px; object-fit: cover; }
.solution-card-body { padding: 0; }
.solution-card-title { font-size: 24px; font-weight: 600; color: #000; margin-bottom: 12px; }
.solution-card-desc { font-size: 15px; line-height: 1.7; color: #555; }

.process-section { padding: 80px 0; background: #f9f9f9; display: flex; justify-content: center; }
.process-inner { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 100px; }
.process-steps { display: flex; gap: 0; margin-top: 40px; }
.process-step { flex: 1; padding: 40px 32px; border-right: 1px solid #e0e0e0; }
.process-step:last-child { border-right: none; }
.process-step-num { font-size: 48px; font-weight: 700; color: #ff8400; opacity: 0.2; line-height: 1; margin-bottom: 16px; }
.process-step-title { font-size: 20px; font-weight: 600; color: #000; margin-bottom: 12px; }
.process-step-desc { font-size: 14px; line-height: 1.65; color: #555; }

/* ── QUOTE SECTION ── */
.quote-section {
  padding: 80px 0;
  display: flex;
  justify-content: center;
  background: #fff;
}
.quote-inner {
  max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 100px;
  display: flex; gap: 100px; align-items: flex-start;
}
.quote-left { flex: 0 0 505px; }
.quote-right { flex: 1; }
.quote-block {
  background: #f5f5f5;
  padding: 40px;
  border-left: 5px solid #ff8400;
}
.quote-icon { color: #ff8400; margin-bottom: 16px; }
.quote-text { font-size: 18px; line-height: 1.6; font-style: italic; color: #222; }

.approach-cards { display: flex; gap: 40px; }
.approach-card { flex: 1; padding: 40px 32px; background: #f9f9f9; }
.approach-card-num { font-size: 48px; font-weight: 700; color: #ff8400; opacity: 0.2; line-height: 1; margin-bottom: 16px; }
.approach-card-title { font-size: 20px; font-weight: 600; color: #000; margin-bottom: 12px; }
.approach-card-desc { font-size: 15px; line-height: 1.65; color: #444; }

/* ── NEWSLETTER ── */
.newsletter-section {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.newsletter-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.newsletter-content { 
  position: relative; 
  z-index: 2; 
  padding: 0 100px; 
  color: #fff; 
  max-width: 1440px; 
  width: 100%; 
  margin: 0 auto; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
}
.newsletter-title { 
  font-size: 28px; 
  font-weight: 600; 
  max-width: 567px; 
  line-height: 1.3; 
  margin-bottom: 24px; 
}
.newsletter-form { 
  display: flex; 
  gap: 16px; 
  align-items: center; 
  justify-content: center; 
  width: 100%; 
}
.newsletter-input {
  flex: 1; max-width: 386px; height: 56px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 15px; padding: 0 20px; outline: none; font-family: inherit;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }

/* ── FOOTER ── */
.footer {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
}
.footer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.footer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.72); }
.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 80px;
  padding: 60px 100px;
  color: #fff;
  min-height: 460px;
  max-width: 1440px; width: 100%; margin: 0 auto;
}
.footer-brand { flex: 0 0 294px; }
.footer-brand img { height: 48px; margin-bottom: 24px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-size: 14px;
}
.footer-links { flex: 1; }
.footer-links h4 {
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px; color: #fff;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links ul li a { font-size: 14px; color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-links ul li a:hover { color: #ff8400; }
.footer-iecas { flex: 0 0 296px; }
.footer-iecas-box {
  background: rgba(255,255,255,0.08);
  padding: 24px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.footer-iecas-box img {
  height: 128px;
  filter: drop-shadow(2px 0 0 white) drop-shadow(-2px 0 0 white) drop-shadow(0 2px 0 white) drop-shadow(0 -2px 0 white);
}
.footer-iecas p { font-size: 13px; color: rgba(255,255,255,0.7); text-align: center; margin-bottom: 16px; }
.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 16px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  max-width: 1440px; width: 100%; margin: 0 auto;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: #ff8400;
}

/* ── ANIMATIONS ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ── WOOCOMMERCE/PRODUCT FIX ── */
.product-spec-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; font-size: 14px; }
.product-spec-table th, .product-spec-table td { border: 1px solid #e0e0e0; padding: 12px 16px; text-align: left; }
.product-spec-table th { background: #f9f9f9; font-weight: 600; color: #000; width: 40%; }
.product-spec-table tr:hover { background: #fafafa; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .top-bar-inner, .navbar-inner { padding: 0 48px; }
  .hero-content, .newsletter-content, .footer-content, .footer-bottom { padding-left: 48px; padding-right: 48px; }
  .intro-inner, .categories-inner, .stats-inner, .projects-inner,
  .families-inner, .product-range-inner, .product-detail-content,
  .solutions-inner, .process-inner, .quote-inner { padding: 60px 48px; }
  .hero-title { font-size: 48px; }
  .families-grid { grid-template-columns: repeat(2, 1fr); }
  .product-range-grid { grid-template-columns: repeat(3, 1fr); }
  .meet-text { padding: 60px 48px !important; }
  .new-releases-inner { padding: 60px 48px !important; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-split-layout {
    flex-direction: column !important;
    align-items: flex-start;
    justify-content: flex-end !important;
  }
  .hero-split-right {
    flex: 1 1 auto;
    gap: 20px;
    margin-top: 24px;
  }
  
  .top-bar-inner { padding: 0 20px; gap: 16px; justify-content: center; }
  .navbar-inner { padding: 0 20px; height: 64px; }
  .navbar-menu { display: none; }
  .hero { height: 560px; }
  .hero-content { padding: 0 20px 48px; }
  .hero-title { font-size: 32px; }
  
  .intro-inner { flex-direction: column; padding: 48px 20px; gap: 40px; }
  .intro-image { flex: 0 0 auto; width: 100%; height: 280px; }

  /* Product Families scroll ngang trên mobile */
  .categories-section { padding: 48px 0; }
  .cat-header-mobile { padding: 0 !important; }
  .categories-inner { padding: 0; }
  .categories-section .section-label, .categories-section .section-title, .categories-section .section-divider { padding-left: 20px; padding-right: 20px; margin-left:0; }
  .categories-grid { 
    display: flex; 
    flex-wrap: nowrap; 
    overflow-x: auto; 
    gap: 16px; 
    padding: 0 20px 20px 20px; 
    background: transparent;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .categories-grid::-webkit-scrollbar { display: none; }
  .category-card { 
    flex: 0 0 280px; 
    scroll-snap-align: start; 
    border: 1px solid #e0e0e0;
  }

  .stats-inner { flex-direction: row; flex-wrap: wrap; padding: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 50%; flex: 0 0 50%; }
  .stat-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.1); }
  .stat-number { font-size: 40px; }
  
  .projects-grid { grid-template-columns: 1fr; }
  .families-grid { grid-template-columns: 1fr; }
  .product-range-grid { grid-template-columns: 1fr; }
  .product-detail-inner { grid-template-columns: 1fr; padding: 40px 20px; gap: 40px; }
  .product-container { flex-direction: column !important; padding: 0 20px !important; gap: 40px !important; }
  .product-gallery { position: relative !important; top: 0 !important; flex: none !important; width: 100% !important; }
  .product-details { padding-top: 0 !important; }
  .product-long-content { padding: 0 20px !important; margin-top: 40px !important; }
  .site-content { padding-top: 100px !important; padding-bottom: 60px !important; }
  .solutions-grid { grid-template-columns: 1fr !important; }
  .solutions-intro { margin-bottom: 32px !important; }
  .integrated-image-large { height: 300px !important; margin-bottom: 40px !important; }
  
  .process-inner { padding: 48px 20px; }
  .process-steps { flex-direction: column; }
  .process-step { border-right: none; border-bottom: 1px solid #e0e0e0; }
  
  .quote-inner { flex-direction: column; padding: 48px 20px; }
  .quote-left { flex: 0 0 auto; }
  
  .footer-content { flex-direction: column; gap: 40px; padding: 40px 20px; }
  .footer-brand, .footer-iecas { flex: 0 0 auto; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 16px; text-align: center; }
  
  .newsletter-content { padding: 0 20px; }
  .newsletter-form { flex-direction: column; align-items: center; width: 100%; }
  .newsletter-input { width: 100%; text-align: center; }
  .newsletter-form .btn-orange { width: 100%; justify-content: center; }
  
  .approach-cards { flex-direction: column; }
  
  .projects-inner, .product-range-inner, .solutions-inner, .families-inner { padding: 48px 0px; overflow: hidden; }
  .projects-inner .section-label, .projects-inner .section-title { padding: 0 20px; }
  
  .hero-controls-inner { padding: 0 20px; justify-content: center; }
  .hero-nav { display: none; } /* Ẩn mũi tên slider trên mobile */

  .meet-section { flex-direction: column !important; }
  .meet-inner { flex-direction: column !important; }
  .meet-text { padding: 48px 20px !important; flex: none !important; }
  .meet-image { height: 250px !important; min-height: 250px !important; flex: none !important; width: 100% !important; }
  
  .projects-carousel-nav { display: none !important; }
  .projects-carousel-container { overflow-x: auto !important; scroll-snap-type: x mandatory; padding-bottom: 24px; margin-left: -20px; margin-right: -20px; width: calc(100% + 40px) !important; }
  #projects-track { gap: 16px !important; width: max-content !important; padding: 0 20px; }
  .project-card { width: 85vw !important; height: 400px !important; scroll-snap-align: center; }
  
  .new-releases-inner { padding: 48px 20px !important; }
  .releases-grid { grid-template-columns: 1fr !important; }
  .related-inner { padding: 48px 20px !important; }
  .related-grid { flex-direction: column !important; gap: 20px !important; }
  .related-card { width: 100% !important; flex: none !important; }
}

/* ── SINGLE POST (BLOG) ── */
.single-post-section { padding: 80px 0; background: #fff; display: flex; justify-content: center; } .single-post-inner { max-width: 800px; width: 100%; margin: 0 auto; padding: 0 20px; } .post-meta { color: #fff; font-size: 14px; opacity: 0.8; margin-top: 16px; letter-spacing: 0.05em; } /* Post Content Formatting (Classic Editor CSS) */ .post-content { font-size: 16px; line-height: 1.8; color: #333; } .post-content p { margin-bottom: 24px; } .post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5 { color: #000; font-weight: 600; margin: 40px 0 20px; line-height: 1.3; } .post-content h2 { font-size: 32px; border-bottom: 1px solid #eee; padding-bottom: 10px; } .post-content h3 { font-size: 24px; } .post-content ul, .post-content ol { margin: 0 0 24px 20px; padding-left: 20px; } .post-content li { margin-bottom: 12px; } /* Hình ảnh, Hình đại diện */ .post-content img { max-width: 100%; height: auto; display: block; border-radius: 4px; margin: 32px 0; } .post-content figure.wp-block-image, .wp-caption { margin: 32px 0; } .post-content figure.wp-block-image img, .wp-caption img { margin: 0; } .post-content figcaption, .wp-caption-text { font-size: 13px; color: #777; text-align: center; margin-top: 8px; font-style: italic; } /* Blockquote */ .post-content blockquote { margin: 40px 0; padding: 20px 32px; background: #f9f9f9; border-left: 5px solid #ff8400; font-size: 18px; font-style: italic; color: #222; } .post-content blockquote p:last-child { margin-bottom: 0; } /* Code block */ .post-content pre, .post-content code { background: #1e1e1e; color: #fff; border-radius: 4px; font-family: 'Consolas', 'Courier New', monospace; font-size: 14px; } .post-content code { padding: 4px 8px; background: #f5f5f5; color: #c7254e; border-radius: 4px; } .post-content pre { padding: 24px; overflow-x: auto; margin-bottom: 24px; } .post-content pre code { background: transparent; color: inherit; padding: 0; } /* Bảng biểu (Tables) */ .post-content table { width: 100%; border-collapse: collapse; margin-bottom: 32px; } .post-content th, .post-content td { border: 1px solid #e0e0e0; padding: 12px 16px; text-align: left; } .post-content th { background: #f5f5f5; font-weight: 600; color: #000; } /* WP Gallery / Cột */ .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 32px 0; } .gallery-item { margin: 0; } .gallery-icon img { width: 100%; height: 200px; object-fit: cover; margin: 0; } @media (max-width: 768px) { .post-content h2 { font-size: 28px; } .post-content h3 { font-size: 22px; } .post-content blockquote { padding: 16px 20px; font-size: 16px; } .gallery { grid-template-columns: 1fr; } }