/* =========================================================
   BUEN HOME PAGE — BLACK + ORANGE
   PET Preform & Bottle Cap Mould Manufacturer
========================================================= */
:root {
  --hm-black: #0f0f0f;
  --hm-black-soft: #1a1a1a;
  --hm-black-mid: #262626;
  --hm-orange: #ea580c;
  --hm-orange-dark: #c2410c;
  --hm-orange-light: #f97316;
  --hm-grey: #6b7280;
  --hm-grey-light: #9ca3af;
  --hm-border: #e5e7eb;
  --hm-border-dark: #2a2a2a;
  --hm-bg-soft: #f7f7f7;
  --hm-bg-orange: #fff7ed;
}
.hm-page * { box-sizing: border-box; }

/* =========================================================
   HERO SLIDER — 3 SLIDES
========================================================= */
.hm-hero-slider {
  position: relative;
  width: 100%;
  height: 820px;
  overflow: hidden;
  background: var(--hm-black);
}
.hm-hero-slider .hm-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  z-index: 1;
}
.hm-hero-slider .hm-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hm-hero-slider .hm-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 10;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hm-hero-slider .hm-slide.active .hm-slide-bg {
  transform: scale(1);
}
.hm-hero-slider .hm-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,15,15,0.58) 0%, rgba(15,15,15,0.58) 48%, rgba(15,15,15,0.55) 100%);
  z-index: 1;
}
.hm-hero-slider .hm-slide-inner {
  position: relative;
  z-index: 2;
  width: 1560px;
  max-width: calc(100% - 50px);
  margin: 0 auto;
  padding: 160px 0 200px;
}

/* Tag */
.hm-hero-slider .hm-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--hm-orange-light);
  margin-bottom: 30px;
  background: rgba(234,88,12,0.12);
  padding: 8px 18px;
  border-left: 3px solid var(--hm-orange);
  opacity: 0;
  transform: translateY(20px);
}
.hm-slide-tag-line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--hm-orange);
}

/* Slide content animation on activate */
.hm-slide.active .hm-slide-tag,
.hm-slide.active h1,
.hm-slide.active .hm-slide-desc,
.hm-slide.active .hm-slide-btns {
  animation: hmSlideUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.hm-slide.active .hm-slide-tag { animation-delay: 0.1s; }
.hm-slide.active h1 { animation-delay: 0.25s; }
.hm-slide.active .hm-slide-desc { animation-delay: 0.4s; }
.hm-slide.active .hm-slide-btns { animation-delay: 0.55s; }

@keyframes hmSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hm-hero-slider h1 {
  color: #fff;
  font-size: 72px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 0 0 32px;
  max-width: 900px;
  opacity: 0;
  transform: translateY(24px);
}
.hm-hero-slider h1 em {
  font-style: normal;
  color: var(--hm-orange-light);
}
.hm-hero-slider .hm-slide-desc {
  color: #d1d5db;
  font-size: 17px;
  line-height: 1.95;
  max-width: 700px;
  margin: 0 0 44px;
  opacity: 0;
  transform: translateY(24px);
}
.hm-hero-slider .hm-slide-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
}
.hm-hero-slider .hm-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 46px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.8px;
  border-radius: 2px;
  text-transform: uppercase;
}
.hm-hero-slider .hm-slide-btn.primary {
  background: var(--hm-orange);
  color: #fff;
  border: 2px solid var(--hm-orange);
}
.hm-hero-slider .hm-slide-btn.primary:hover {
  background: var(--hm-orange-dark);
  border-color: var(--hm-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(234,88,12,0.55);
}
.hm-hero-slider .hm-slide-btn.outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}
.hm-hero-slider .hm-slide-btn.outline:hover {
  background: #fff;
  color: var(--hm-black);
  border-color: #fff;
}

/* Arrows */
.hm-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 58px;
  height: 58px;
  background: rgba(15,15,15,0.65);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.hm-slider-arrow:hover {
  background: var(--hm-orange);
  border-color: var(--hm-orange);
  transform: translateY(-50%) scale(1.08);
}
.hm-slider-prev { left: 40px; }
.hm-slider-next { right: 40px; }

/* Dots */
.hm-slider-dots {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hm-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}
.hm-dot:hover {
  background: rgba(255,255,255,0.6);
}
.hm-dot.active {
  background: var(--hm-orange);
  transform: scale(1.35);
  border-color: rgba(255,255,255,0.6);
}

/* Bottom stats */
.hm-slider-stats {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(15,15,15,0.88);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.hm-slider-stat {
  padding: 34px 30px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
  position: relative;
}
.hm-slider-stat:last-child { border-right: none; }
.hm-slider-stat:hover { background: rgba(234,88,12,0.12); }
.hm-slider-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--hm-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.hm-slider-stat:hover::before { transform: scaleX(1); }
.hm-slider-stat .hm-hs-num {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 10px;
}
.hm-slider-stat .hm-hs-num span {
  font-size: 14px;
  color: var(--hm-orange-light);
  font-weight: 800;
  margin-left: 4px;
}
.hm-slider-stat .hm-hs-label {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hm-slider-bottom-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--hm-orange), transparent);
  z-index: 11;
}

/* ---------- COMMON ---------- */
.hm-section {
  width: 1560px;
  max-width: calc(100% - 50px);
  margin: 0 auto;
  padding: 110px 0;
}
.hm-section.dark {
  width: 100%;
  max-width: 100%;
  background: var(--hm-black);
  color: #fff;
}
.hm-section.dark .hm-section-inner {
  width: 1560px;
  max-width: calc(100% - 50px);
  margin: 0 auto;
}
.hm-section.soft {
  width: 100%;
  max-width: 100%;
  background: var(--hm-bg-soft);
}
.hm-section.soft .hm-section-inner {
  width: 1560px;
  max-width: calc(100% - 50px);
  margin: 0 auto;
}
.hm-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.hm-sec-head .hm-sh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hm-orange);
  margin-bottom: 16px;
}
.hm-sec-head .hm-sh-kicker::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--hm-orange);
}
.hm-sec-head h2 {
  font-size: 42px;
  font-weight: 900;
  color: var(--hm-black);
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin: 0;
}
.hm-section.dark .hm-sec-head h2 { color: #fff; }
.hm-sec-head h2 span { color: var(--hm-orange); }
.hm-sec-head .hm-sh-right {
  max-width: 540px;
  color: var(--hm-grey);
  font-size: 15px;
  line-height: 1.85;
}
.hm-section.dark .hm-sec-head .hm-sh-right { color: #9ca3af; }

/* ---------- TWO PRODUCT LINES ---------- */
.hm-lines-section {
  background: #fff;
  padding: 110px 0;
  position: relative;
  border-bottom: 1px solid var(--hm-border);
}
.hm-lines-inner {
  width: 1560px;
  max-width: calc(100% - 50px);
  margin: 0 auto;
}
.hm-lines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.hm-line-card {
  background: #fff;
  border: 1px solid var(--hm-border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}
.hm-line-card:hover {
  border-color: var(--hm-orange);
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(234,88,12,0.18);
}
.hm-line-card .hm-line-num {
  position: absolute;
  top: 0; right: 0;
  z-index: 3;
  width: 78px; height: 78px;
  background: var(--hm-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
}
.hm-line-card .hm-line-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f7f7f7;
  border-bottom: 1px solid var(--hm-border);
}
.hm-line-card .hm-line-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.hm-line-card:hover .hm-line-img img { transform: scale(1.05); }
.hm-line-card .hm-line-body {
  padding: 42px 46px 46px;
}
.hm-line-card .hm-line-body h3 {
  font-size: 32px;
  font-weight: 900;
  color: var(--hm-black);
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
}
.hm-line-card .hm-line-body > p {
  font-size: 15px;
  color: var(--hm-grey);
  line-height: 1.9;
  margin: 0 0 28px;
}
.hm-line-card .hm-line-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--hm-border);
}
.hm-line-card .hm-line-list li {
  border-bottom: 1px solid var(--hm-border);
}
.hm-line-card .hm-line-list li a {
  display: block;
  padding: 15px 0 15px 26px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hm-black);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}
.hm-line-card .hm-line-list li a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 8px solid var(--hm-orange);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: all 0.3s;
}
.hm-line-card .hm-line-list li a:hover {
  color: var(--hm-orange-dark);
  padding-left: 34px;
}
.hm-line-card .hm-line-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hm-orange);
  text-decoration: none;
  transition: all 0.3s;
}
.hm-line-card .hm-line-more:hover { gap: 16px; color: var(--hm-orange-dark); }

/* ---------- WHY CHOOSE BUEN — 6 ITEMS ---------- */
.hm-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hm-border-dark);
  border-left: 1px solid var(--hm-border-dark);
}
.hm-why-item {
  padding: 46px 36px;
  border-right: 1px solid var(--hm-border-dark);
  border-bottom: 1px solid var(--hm-border-dark);
  background: rgba(255,255,255,0.02);
  transition: background 0.35s;
  position: relative;
}
.hm-why-item:hover { background: rgba(234,88,12,0.08); }
.hm-why-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--hm-orange);
  transition: width 0.4s ease;
}
.hm-why-item:hover::before { width: 100%; }
.hm-why-item .hm-why-num {
  font-size: 13px;
  font-weight: 900;
  color: var(--hm-orange);
  letter-spacing: 2.5px;
  margin-bottom: 22px;
}
.hm-why-item .hm-why-icon {
  width: 54px; height: 54px;
  background: var(--hm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.hm-why-item .hm-why-icon i { color: #fff; font-size: 22px; }
.hm-why-item h4 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.hm-why-item p {
  color: #9ca3af;
  font-size: 13.5px;
  line-height: 1.85;
  margin: 0;
}

/* ---------- MANUFACTURING PROCESS — 6 STEPS ---------- */
.hm-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--hm-border);
  border-left: 1px solid var(--hm-border);
}
.hm-step {
  padding: 40px 26px;
  border-right: 1px solid var(--hm-border);
  border-bottom: 1px solid var(--hm-border);
  background: #fff;
  transition: all 0.35s ease;
  position: relative;
}
.hm-step:hover { background: var(--hm-black); }
.hm-step:hover h4 { color: #fff; }
.hm-step:hover p { color: #9ca3af; }
.hm-step:hover .hm-step-icon { background: var(--hm-orange); }
.hm-step:hover .hm-step-icon i { color: #fff; }
.hm-step:hover .hm-step-num { color: var(--hm-orange-light); }
.hm-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--hm-orange);
  transition: width 0.4s ease;
}
.hm-step:hover::before { width: 100%; }

.hm-step .hm-step-num {
  font-size: 13px;
  font-weight: 900;
  color: var(--hm-orange);
  letter-spacing: 2.5px;
  margin-bottom: 22px;
  transition: color 0.35s;
}
.hm-step .hm-step-icon {
  width: 52px; height: 52px;
  background: var(--hm-bg-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.35s;
}
.hm-step .hm-step-icon i {
  color: var(--hm-orange);
  font-size: 20px;
  transition: color 0.35s;
}
.hm-step h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--hm-black);
  line-height: 1.4;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
  transition: color 0.35s;
}
.hm-step p {
  color: var(--hm-grey);
  font-size: 12.5px;
  line-height: 1.75;
  margin: 0;
  transition: color 0.35s;
}

/* ---------- APPLICATIONS — 6 CARDS ---------- */
.hm-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hm-app-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #000;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.4s ease;
}
.hm-app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(234,88,12,0.22);
}
.hm-app-card .hm-app-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hm-app-card .hm-app-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, opacity 0.4s ease;
  opacity: 0.85;
}
.hm-app-card:hover .hm-app-img img {
  transform: scale(1.08);
  opacity: 1;
}
.hm-app-card .hm-app-info {
  position: absolute;
  bottom: 0; left: 0;
  right: 0;
  padding: 60px 30px 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.92) 60%, rgba(0,0,0,0.98) 100%);
  color: #fff;
  z-index: 2;
}
.hm-app-card .hm-app-info h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}
.hm-app-card .hm-app-info p {
  font-size: 13.5px;
  color: #d1d5db;
  line-height: 1.65;
  margin: 0;
}

/* ---------- FACTORY — 4 ITEMS ---------- */
.hm-factory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hm-border-dark);
  border-left: 1px solid var(--hm-border-dark);
}
.hm-factory-item {
  padding: 42px 34px;
  border-right: 1px solid var(--hm-border-dark);
  border-bottom: 1px solid var(--hm-border-dark);
  background: rgba(255,255,255,0.02);
  transition: background 0.35s;
  position: relative;
}
.hm-factory-item:hover { background: rgba(234,88,12,0.08); }
.hm-factory-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--hm-orange);
  transition: width 0.4s ease;
}
.hm-factory-item:hover::before { width: 100%; }
.hm-factory-item .hm-fi-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--hm-orange);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 14px;
}
.hm-factory-item .hm-fi-num span {
  font-size: 18px;
  color: var(--hm-orange-light);
  font-weight: 800;
  margin-left: 4px;
}
.hm-factory-item .hm-fi-label {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hm-factory-item .hm-fi-desc {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.7;
}

/* ---------- TECHNICAL CENTER — NEWS ---------- */
.hm-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.hm-news-card {
  background: #fff;
  border: 1px solid var(--hm-border);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}
.hm-news-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 4px;
  background: var(--hm-orange);
  transition: width 0.45s ease;
  z-index: 3;
}
.hm-news-card:hover::before { width: 100%; }
.hm-news-card:hover {
  border-color: var(--hm-orange);
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(234,88,12,0.18);
}

.hm-news-card .hm-news-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f0f0f0;
  border-bottom: 1px solid var(--hm-border);
}
.hm-news-card .hm-news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.hm-news-card:hover .hm-news-img img { transform: scale(1.06); }

.hm-news-card .hm-news-body {
  padding: 28px 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hm-news-card .hm-news-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--hm-grey);
}
.hm-news-card .hm-news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.hm-news-card .hm-news-meta i {
  color: var(--hm-orange);
  font-size: 12px;
}

.hm-news-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--hm-black);
  line-height: 1.4;
  letter-spacing: -0.4px;
  margin: 0 0 14px;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hm-news-card:hover h3 { color: var(--hm-orange-dark); }

.hm-news-card p {
  font-size: 13.5px;
  color: var(--hm-grey);
  line-height: 1.8;
  margin: 0 0 22px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hm-news-card .hm-news-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hm-orange);
  transition: all 0.3s;
}
.hm-news-card:hover .hm-news-more {
  gap: 16px;
  color: var(--hm-orange-dark);
}

.hm-news-bottom {
  margin-top: 60px;
  text-align: center;
}
.hm-news-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--hm-black);
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--hm-black);
  transition: all 0.3s ease;
}
.hm-news-all:hover {
  background: var(--hm-orange);
  border-color: var(--hm-orange);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(234,88,12,0.4);
}

/* ---------- FLOATING SIDEBAR ---------- */
.floating-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-sidebar .float-item {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  background: #fff;
  border: 2px solid #f0f0f0;
  font-size: 22px;
  color: #555;
}
.floating-sidebar .float-item:hover {
  transform: scale(1.10);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.floating-sidebar .float-item .float-label {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--hm-black);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.floating-sidebar .float-item .float-label::after {
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--hm-black);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.floating-sidebar .float-item:hover .float-label {
  opacity: 1;
  visibility: visible;
  right: 68px;
}
.floating-sidebar .float-item .qr-popup {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  border: 2px solid #f0f0f0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 140px;
  text-align: center;
  z-index: 10;
}
.floating-sidebar .float-item .qr-popup::after {
  content: "";
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  border-left: 10px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.floating-sidebar .float-item .qr-popup img {
  width: 100%; height: auto;
  display: block;
  border-radius: 8px;
}
.floating-sidebar .float-item .qr-popup .qr-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-black);
  margin-top: 6px;
}
.floating-sidebar .float-item:hover .qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  right: 76px;
}
.floating-sidebar .float-item.whatsapp { border-color: #25d366; color: #25d366; }
.floating-sidebar .float-item.whatsapp:hover { background: #25d366; color: #fff; border-color: #25d366; }
.floating-sidebar .float-item.wechat { border-color: #07c160; color: #07c160; }
.floating-sidebar .float-item.wechat:hover { background: #07c160; color: #fff; border-color: #07c160; }
.floating-sidebar .float-item.email { border-color: #ea4335; color: #ea4335; }
.floating-sidebar .float-item.email:hover { background: #ea4335; color: #fff; border-color: #ea4335; }

/* =========================================================
   RESPONSIVE
========================================================= */

/* Slider responsive */
@media screen and (max-width: 1400px) {
  .hm-hero-slider { height: 760px; }
  .hm-hero-slider h1 { font-size: 56px; letter-spacing: -2.2px; }
  .hm-hero-slider .hm-slide-inner { padding: 140px 0 180px; }
  .hm-slider-prev { left: 24px; }
  .hm-slider-next { right: 24px; }
  .hm-slider-dots { right: 36px; }
  .hm-lines-grid { grid-template-columns: 1fr; gap: 28px; }
  .hm-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-steps { grid-template-columns: repeat(3, 1fr); }
  .hm-apps-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-factory-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-news-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
@media screen and (max-width: 1200px) {
  .hm-sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hm-sec-head h2 { font-size: 34px; }
  .hm-news-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media screen and (max-width: 992px) {
  .hm-hero-slider { height: 700px; }
  .hm-hero-slider h1 { font-size: 42px; letter-spacing: -1.6px; }
  .hm-hero-slider .hm-slide-desc { font-size: 15px; }
  .hm-hero-slider .hm-slide-inner { padding: 120px 0 180px; }
  .hm-slider-stats { grid-template-columns: repeat(2, 1fr); }
  .hm-slider-stat { padding: 22px 18px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hm-slider-stat .hm-hs-num { font-size: 30px; }
  .hm-slider-arrow { width: 48px; height: 48px; font-size: 15px; }
  .hm-slider-dots { right: 20px; }

  .hm-section { padding: 80px 0; }
  .hm-why-grid { grid-template-columns: 1fr; }
  .hm-steps { grid-template-columns: repeat(2, 1fr); }
  .hm-apps-grid { grid-template-columns: 1fr; }
  .hm-factory-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 768px) {
  .hm-hero-slider { height: auto; min-height: 620px; }
  .hm-hero-slider .hm-slide-inner { padding: 80px 24px 280px; max-width: 100%; }
  .hm-hero-slider h1 { font-size: 32px; letter-spacing: -1.2px; }
  .hm-hero-slider .hm-slide-btns { flex-direction: column; }
  .hm-hero-slider .hm-slide-btn { width: 100%; justify-content: center; }
  .hm-slider-stats { grid-template-columns: 1fr; }
  .hm-slider-arrow { display: none; }
  .hm-slider-dots {
    position: absolute;
    bottom: 380px;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
  }

  .hm-section { max-width: calc(100% - 32px); padding: 60px 0; }
  .hm-section.dark .hm-section-inner,
  .hm-section.soft .hm-section-inner { max-width: calc(100% - 32px); }
  .hm-lines-inner { max-width: calc(100% - 32px); }
  .hm-lines-section { padding: 70px 0; }
  .hm-sec-head { margin-bottom: 36px; }
  .hm-sec-head h2 { font-size: 26px; }
  .hm-line-card .hm-line-body { padding: 30px 26px 34px; }
  .hm-line-card .hm-line-body h3 { font-size: 24px; }
  .hm-why-item { padding: 32px 26px; }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-step { padding: 30px 24px; }
  .hm-app-card .hm-app-info h3 { font-size: 19px; }
  .hm-factory-item { padding: 32px 26px; }
  .hm-factory-item .hm-fi-num { font-size: 38px; }
  .hm-news-grid { grid-template-columns: 1fr; gap: 18px; }
  .hm-news-card .hm-news-body { padding: 22px 24px 26px; }
  .hm-news-card h3 { font-size: 16px; }

  .floating-sidebar { right: 12px; }
  .floating-sidebar .float-item { width: 44px; height: 44px; font-size: 18px; }
  .floating-sidebar .float-item .float-label { display: none; }
  .floating-sidebar .float-item .qr-popup { width: 110px; right: 54px; padding: 10px; }
  .floating-sidebar .float-item:hover .qr-popup { right: 60px; }
}
@media screen and (max-width: 480px) {
  .hm-hero-slider h1 { font-size: 26px; }
  .hm-slider-dots { bottom: 360px; }
  .hm-sec-head h2 { font-size: 22px; }
}