/* ==========================================================================
   JINXIAO MACHINERY - OVERSEAS LANDING PAGE STYLESHEET
   Aesthetics: Heavy Industrial Power, Dark Sleek Contrast & Vibrant Gold
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN SYSTEM TOKENS
   -------------------------------------------------------------------------- */
:root {
  --primary-gold: #F59E0B;
  --primary-gold-dark: #D97706;
  --primary-gold-light: #FBBF24;
  --primary-gold-glow: rgba(245, 158, 11, 0.35);

  --bg-dark: #0F172A;
  --bg-dark-card: #1E293B;
  --bg-dark-card-hover: #26354A;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;

  --text-dark: #0F172A;
  --text-medium: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-light-muted: #94A3B8;

  --border-dark: #334155;
  --border-light: #E2E8F0;

  --whatsapp-color: #25D366;
  --whatsapp-dark: #1EBE57;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

.mx-auto { margin-left: auto; margin-right: auto; }
.justify-content-center { justify-content: center; }
.mt-4 { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   3. REUSABLE UTILITIES & COMPONENTS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: 5rem 0;
}

.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.bg-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--primary-gold);
}

.text-green {
  color: #10B981;
}

.text-white {
  color: #FFFFFF !important;
}

/* Section Header */
.section-header {
  margin-bottom: 3rem;
}

.section-header .sub-title {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.section-header .section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header .section-title span {
  color: var(--primary-gold);
  background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header .section-description {
  font-size: 1.125rem;
  color: var(--text-light-muted);
  max-width: 760px;
  margin: 0 auto;
}

.bg-light .section-header .section-description {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-xs {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: #000000;
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -5px rgba(245, 158, 11, 0.6);
}

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

.btn-outline:hover {
  background: var(--primary-gold);
  color: #000000;
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. TOP BAR & SITE HEADER (Clean & Fully Mobile Responsive)
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: #090D16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  color: var(--text-light-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info span {
  margin-right: 1.5rem;
}

.top-info i {
  color: var(--primary-gold);
  margin-right: 0.3rem;
}

.top-contact a {
  margin-left: 1.2rem;
}

.top-contact a:hover {
  color: var(--primary-gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 0.85rem 0;
  transition: var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: #000;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  line-height: 1.1;
}

.brand-name span {
  color: var(--primary-gold);
}

.brand-tagline {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-light-muted);
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light-muted);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

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

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-gold);
  border-radius: 2px;
}

.mobile-cta-li {
  display: none;
  width: 100%;
  margin-top: 0.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION (Video Background & 2-Column Responsive Layout)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
  z-index: 1;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content-left {
  text-align: left;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--primary-gold-light);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  color: #FFFFFF;
  word-wrap: break-word;
}

.hero-title span {
  color: var(--primary-gold);
  background: linear-gradient(135deg, #FFFFFF 20%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 0.975rem;
  color: var(--text-light-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 580px;
}

.hero-specs-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.spec-line {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-light-muted);
}

.spec-label {
  font-weight: 700;
  color: #FFFFFF;
  margin-right: 0.35rem;
}

.spec-val {
  color: var(--primary-gold-light);
  font-weight: 600;
}

.hero-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  text-align: left;
}

.highlight-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 0.5rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Right Column: Hero Swiper Card Showcase */
.hero-showcase-right {
  width: 100%;
}

.hero-swiper-card {
  background-color: #0F172A;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  transition: var(--transition-normal);
}

.hero-swiper-card:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold);
}

.hero-swiper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  background-color: #0B1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-swiper-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.hero-swiper-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background-color: #0F172A;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  background-color: #0F172A;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.carousel-slide:hover img {
  transform: scale(1.06);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.3) 60%, transparent);
  padding: 1.5rem 1.25rem 0.85rem 1.25rem;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 5;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-swiper-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.9rem 1rem;
  background-color: #0B1120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-mini strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1;
}

.stat-mini span {
  font-size: 0.7rem;
  color: var(--text-light-muted);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

/* Native Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  pointer-events: auto;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.carousel-btn i {
  pointer-events: none;
  font-size: 0.95rem;
}

.carousel-btn:hover {
  background: var(--primary-gold);
  color: #000000;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev-btn { left: 14px; }
.carousel-btn.next-btn { right: 14px; }

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

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--primary-gold);
  width: 22px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   5.5 STANDALONE PILLARS SECTION (Below Hero)
   -------------------------------------------------------------------------- */
.pillars-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-dark);
  background-color: #090D16;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.pillar-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
}

.pillar-icon {
  width: 50px;
  height: 50px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

/* --------------------------------------------------------------------------
   6. SECTION 3A: BROWSE BY TONNAGE CLASS (Tabs & Actual Machine Cards)
   -------------------------------------------------------------------------- */
.tonnage-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.tonnage-tab-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tonnage-tab-btn i {
  color: var(--primary-gold);
  margin-right: 0.4rem;
}

.tonnage-tab-btn:hover {
  border-color: var(--primary-gold);
  color: #FFFFFF;
}

.tonnage-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: #000000;
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold);
}

.tonnage-tab-btn.active i {
  color: #000000;
}

.tonnage-pane {
  display: none;
}

.tonnage-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.tonnage-pane-intro {
  background: rgba(30, 41, 59, 0.6);
  border-left: 4px solid var(--primary-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.tonnage-pane-intro h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.tonnage-pane-intro p {
  font-size: 0.95rem;
  color: var(--text-light-muted);
}

/* --------------------------------------------------------------------------
   7. SECTION 3B: BROWSE BY BRAND & MACHINE CARDS (Compact Collapsible Accordion)
   -------------------------------------------------------------------------- */
.brand-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.brand-tab-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition-fast);
}

.brand-tab-btn:hover {
  background-color: var(--bg-light);
  border-color: var(--primary-gold);
  color: var(--primary-gold-dark);
}

.brand-tab-btn.active {
  background-color: var(--bg-dark);
  color: var(--primary-gold);
  border-color: var(--bg-dark);
  box-shadow: var(--shadow-sm);
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.machine-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.machine-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.4);
}

.machine-thumb {
  position: relative;
  height: 220px;
  background-color: #F1F5F9;
  overflow: hidden;
  cursor: pointer;
}

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

.machine-thumb:hover img {
  transform: scale(1.08);
}

.zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.machine-thumb:hover .zoom-overlay {
  opacity: 1;
}

.brand-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  color: #FFF;
  z-index: 6;
}

.brand-badge-overlay.cat { background-color: #000000; color: #FFCC00; }
.brand-badge-overlay.komatsu { background-color: #003399; }
.brand-badge-overlay.sany { background-color: #CC0000; }
.brand-badge-overlay.volvo { background-color: #00205B; }
.brand-badge-overlay.hyundai { background-color: #003087; }
.brand-badge-overlay.doosan { background-color: #ED1C24; }

.weight-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: var(--primary-gold);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 6;
}

.machine-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.machine-details h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.machine-summary {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.specs-pills span {
  font-size: 0.775rem;
  font-weight: 600;
  background-color: #F1F5F9;
  color: var(--text-medium);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

/* Compact Expandable Accordion for 5 Core Advantages */
.selling-points-accordion {
  background-color: #F8FAFC;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--primary-gold);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  padding: 0.65rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none; /* Hide default chrome arrow */
  background-color: #F1F5F9;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-arrow {
  font-size: 0.75rem;
  color: var(--primary-gold-dark);
  transition: transform 0.3s ease;
}

details[open] .accordion-arrow {
  transform: rotate(180deg);
}

details[open] .accordion-header {
  background-color: rgba(245, 158, 11, 0.12);
}

.selling-list {
  padding: 0.75rem 0.85rem 0.5rem 0.85rem;
}

.selling-list li {
  font-size: 0.8rem;
  color: var(--text-medium);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.selling-list li i {
  color: #10B981;
  font-size: 0.75rem;
  margin-right: 0.3rem;
}

.card-actions {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   8. SECTION 4: ECOSYSTEM PORTFOLIO (Custom Aligned Layout)
   -------------------------------------------------------------------------- */
.eco-custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.eco-col-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eco-card-large {
  flex: 1;
}

.eco-card-large .eco-img {
  height: 240px;
}

.eco-left-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.eco-left-bottom-row .eco-img {
  height: 150px;
}

.eco-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eco-card-tall {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.eco-card-tall .eco-img {
  height: 200px;
}

.eco-card-tall .eco-info {
  margin-top: auto;
}

.eco-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.eco-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-4px);
}

.eco-img {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

.eco-img:hover img {
  transform: scale(1.08);
}

.eco-img:hover .zoom-overlay {
  opacity: 1;
}

.eco-info {
  padding: 1.25rem;
}

.eco-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.eco-info h3 i {
  color: var(--primary-gold);
  margin-right: 0.3rem;
}

.eco-info p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.sourcing-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.banner-content h3 i {
  color: var(--primary-gold);
  margin-right: 0.5rem;
}

.banner-content p {
  font-size: 1rem;
  color: var(--text-light-muted);
  max-width: 780px;
}

/* --------------------------------------------------------------------------
   9. SECTION 5: SPECIAL CORE SHOWCASE — FROM HEFEI TO GLOBAL JOBSITES
   -------------------------------------------------------------------------- */
.media-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.media-tab-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition-fast);
}

.media-tab-btn i {
  color: var(--primary-gold-dark);
  margin-right: 0.4rem;
}

.media-tab-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold-dark);
}

.media-tab-btn.active {
  background-color: var(--bg-dark);
  color: var(--primary-gold);
  border-color: var(--bg-dark);
}

.media-tab-btn.active i {
  color: var(--primary-gold);
}

.media-pane {
  display: none;
}

.media-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-caption i {
  color: var(--primary-gold);
  margin-right: 0.5rem;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.video-thumb {
  position: relative;
  height: 190px;
  background-color: #000;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 3.25rem;
  transition: transform 0.3s ease;
}

.video-card:hover .play-overlay {
  transform: scale(1.1);
  color: #FFFFFF;
}

.video-title {
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.video-title i {
  color: var(--primary-gold-dark);
  margin-right: 0.4rem;
}

/* Office & License Grid */
.office-license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.office-card, .license-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.office-card img, .license-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.office-info {
  padding: 1.25rem;
}

.office-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.office-info h3 i {
  color: var(--primary-gold-dark);
  margin-right: 0.4rem;
}

.office-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. SECTION 6: LIVE INVENTORY TABLE
   -------------------------------------------------------------------------- */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  background-color: var(--bg-dark-card);
  min-width: 800px;
}

.inventory-table th, .inventory-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-dark);
}

.inventory-table th {
  background-color: #090D16;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-gold-light);
}

.inventory-table tbody tr:hover {
  background-color: var(--bg-dark-card-hover);
}

.badge-grade {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-status {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-gold);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.video-btn-link {
  color: var(--primary-gold-light);
  font-weight: 600;
}

.video-btn-link:hover {
  text-decoration: underline;
  color: var(--primary-gold);
}

/* --------------------------------------------------------------------------
   11. SECTION 7 & 8: WORKFLOW & AFTER-SALES
   -------------------------------------------------------------------------- */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.workflow-step {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.workflow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.step-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #E2E8F0;
}

.step-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(245, 158, 11, 0.12);
  color: var(--primary-gold-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.workflow-step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.workflow-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.after-sales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.after-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-normal);
}

.after-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
}

.after-icon {
  width: 64px;
  height: 64px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem auto;
}

.after-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.after-card p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

/* --------------------------------------------------------------------------
   12. SECTION 9: ABOUT & FAQ ACCORDION
   -------------------------------------------------------------------------- */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-text h2 span {
  color: var(--primary-gold-dark);
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.75rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-gold-dark);
}

.stat-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
}

.faq-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary-gold-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #F8FAFC;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.25rem 1.1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. SECTION 10: CONTACT FORM & FOOTER
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #090D16 100%);
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info h2 span {
  color: var(--primary-gold);
}

.contact-info p {
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-detail-list {
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.detail-item strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.detail-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.contact-form-box {
  background-color: #0F172A;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.contact-form-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-light-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: #1E293B;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Site Footer */
.site-footer {
  background-color: #05080E;
  border-top: 1px solid var(--border-dark);
  padding: 3.5rem 0 2rem 0;
  color: var(--text-light-muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.brand-col p {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}

.export-route {
  font-size: 0.825rem;
  color: #FFFFFF;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  margin-left: 1.25rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

/* Sticky Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 54px;
  height: 54px;
  background-color: var(--whatsapp-color);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  background-color: var(--whatsapp-dark);
}

.whatsapp-tooltip {
  position: absolute;
  right: 64px;
  background-color: #0F172A;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-dark);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Modals (Video, Lightbox & Legal Modals) */
.video-modal, .image-lightbox, .legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal.active, .image-lightbox.active, .legal-modal.active {
  display: flex;
}

/* Legal Modal Styling */
.legal-modal-content {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  background-color: #0F172A;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8);
  overflow-y: auto;
  color: var(--text-light);
}

.legal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
}

.legal-header i {
  font-size: 1.75rem;
}

.legal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
}

.legal-body {
  font-size: 0.925rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

.legal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 1.25rem 0 0.5rem 0;
}

.legal-body p {
  margin-bottom: 0.75rem;
}

.legal-body ul {
  list-style: disc;
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-body ul li {
  margin-bottom: 0.35rem;
}

.legal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-light-muted);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.legal-close:hover {
  color: #FFFFFF;
}

.video-modal-content {
  position: relative;
  width: 90vw;
  max-width: 420px;
  max-height: 85vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-height: 80vh;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.modal-close, .lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--primary-gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close:hover, .lightbox-close:hover {
  background: var(--primary-gold);
  color: #000000;
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE BREAKPOINTS (Mobile Optimization)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content-left {
    text-align: center;
  }

  .hero-title { font-size: 2.5rem; }
  .eco-custom-grid { grid-template-columns: 1fr; }
  .about-wrapper { grid-template-columns: 1fr; }
  .contact-card-wrapper { grid-template-columns: 1fr; padding: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .hero-brands-strip,
  .hero-guarantees,
  .hero-cta-group {
    justify-content: center;
  }

  .hero-specs-box,
  .hero-highlights-grid {
    text-align: left !important;
  }

  .highlight-item {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .hero-tonnage-strip,
  .badge-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .heroSwiper {
    height: 280px;
  }
}

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

  .site-header { padding: 0.6rem 0; }
  .header-pc-btn { display: none; }
  .mobile-cta-li { display: block; }
  .mobile-toggle { display: block; }

  .brand-name { font-size: 1.15rem; }
  .brand-tagline { font-size: 0.65rem; letter-spacing: 0.6px; }
  .logo-img { height: 44px; max-height: 44px; }
  .logo-icon { width: 38px; height: 38px; font-size: 1.2rem; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0F172A;
    border-bottom: 1px solid var(--border-dark);
    padding: 1.25rem;
    display: none;
    box-shadow: 0 20px 30px rgba(0,0,0,0.8);
  }

  .nav-menu.active { display: block; }

  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-menu a {
    width: 100%;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  /* Hero Mobile Typography Fix */
  .hero-section { padding: 3.5rem 0 3rem 0; }
  .hero-title { font-size: 1.85rem; line-height: 1.2; margin-bottom: 1rem; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .badge-pill { font-size: 0.75rem; padding: 0.3rem 0.85rem; margin-bottom: 1rem; }

  .hero-brands-strip { justify-content: center; gap: 0.35rem; }
  .strip-label { width: 100%; text-align: center; margin-right: 0; margin-bottom: 0.25rem; }
  .brand-badge { font-size: 0.75rem; padding: 0.25rem 0.6rem; }

  .hero-tonnage-strip { font-size: 0.8rem; padding: 0.6rem 0.85rem; margin-bottom: 1.5rem; }
  .hero-guarantees { gap: 0.5rem 1rem; margin-bottom: 1.75rem; }
  .guarantee-item { font-size: 0.825rem; }

  .hero-cta-group { flex-direction: column; gap: 0.75rem; width: 100%; }
  .hero-cta-group .btn { width: 100%; font-size: 1rem; padding: 0.85rem 1.25rem; }

  .heroSwiper { height: 240px; }

  /* Sections Mobile Spacing */
  .section-padding { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header .section-title { font-size: 1.65rem; }
  .section-header .section-description { font-size: 0.95rem; }

  .machine-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .eco-left-bottom-row { grid-template-columns: 1fr; }

  .sourcing-banner { flex-direction: column; text-align: center; padding: 1.75rem; gap: 1.25rem; }
  .sourcing-banner .btn { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-links a { margin: 0 0.5rem; }
}

/* --------------------------------------------------------------------------
   15. FLOATING TOOLBAR (RIGHT SIDE) & MOBILE STICKY BAR
   -------------------------------------------------------------------------- */
.floating-toolbar {
  position: fixed;
  right: 1.5rem;
  bottom: 2.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  text-decoration: none;
}

.float-whatsapp {
  background: linear-gradient(135deg, #25D366, #1EBE57);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.float-email {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
}

.float-form {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: #000000;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.float-top {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--primary-gold);
  border-color: rgba(245, 158, 11, 0.3);
  display: none;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

/* Tooltip on hover (Desktop) */
.float-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FFFFFF;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  right: 64px;
}

/* Mobile Bottom Sticky WhatsApp Bar */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .floating-toolbar {
    right: 0.85rem;
    bottom: 1.5rem;
    top: auto;
    transform: none;
    gap: 0.55rem;
    transition: bottom 0.3s ease;
  }

  body.scrolled-past-hero .floating-toolbar {
    bottom: 5.25rem;
  }

  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .float-tooltip {
    display: none;
  }

  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.6rem 1rem;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  }

  .mobile-sticky-bar.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #25D366, #1EBE57);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    animation: pulseGlow 2s infinite;
  }

  @keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
  }

  body {
    padding-bottom: 70px;
  }
}
