/* Baron Hygiene · Baron (China) Co., Ltd. (Baron (China) Co., Ltd.) - Main Style System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --primary-color: #0f4c81; /* Deep Trust Blue */
  --primary-hover: #0a355c;
  --secondary-color: #8cdbb3; /* Soft Hygiene Mint */
  --secondary-dark: #5cb68d;
  --accent-color: #ff9f43; /* Soft Gold/Orange for CTAs */
  --text-dark: #1e293b; /* Charcoal for text */
  --text-muted: #64748b; /* Slate gray */
  --bg-light: #f8fafc; /* Warm off-white */
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(15, 76, 129, 0.05);
  --shadow-md: 0 8px 16px rgba(15, 76, 129, 0.08);
  --shadow-lg: 0 16px 32px rgba(15, 76, 129, 0.12);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  --container-width: 1200px;
  --header-height: 80px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-color);
}

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

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

/* --- Layout Utilities --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

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

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

.grid {
  display: grid;
  gap: 30px;
}

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

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
}

/* --- Section Headings --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 6px rgba(15, 76, 129, 0.15);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(15, 76, 129, 0.25);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

.btn-accent:hover {
  background-color: #f39c12;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* --- Interactive Compass Navigation --- */
.compass-nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1003;
}

/* Compass Trigger Button - Pill Shape Layout */
.compass-trigger {
  height: 40px;
  padding: 0 16px 0 6px;
  border-radius: 20px;
  background: var(--bg-white);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(15, 76, 129, 0.15);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1005;
  outline: none; /* paired with :focus-visible */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
}

.compass-trigger:hover,
.compass-trigger:focus-visible {
  box-shadow: 0 0 20px rgba(140, 219, 179, 0.6);
  border-color: var(--secondary-dark);
  transform: scale(1.05);
}

.compass-trigger:hover .sitemap-text,
.compass-trigger:hover .sitemap-arrow {
  color: var(--secondary-dark);
}

.sitemap-text {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-color);
  transition: color 0.3s;
}

.sitemap-arrow {
  font-size: 0.8rem;
  color: var(--primary-color);
  display: inline-block;
  animation: arrowBounce 2s infinite ease-in-out;
  transition: color 0.3s;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Dial and Needle Styling */
.compass-dial {
  width: 28px;
  height: 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-dial-ring {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px dashed rgba(15, 76, 129, 0.4);
  border-radius: 50%;
  animation: compassRotate 20s linear infinite;
}

.compass-needle {
  width: 4px;
  height: 20px;
  background: linear-gradient(to bottom, #ff4d4d 50%, var(--primary-color) 50%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  position: absolute;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform: rotate(45deg); /* Default north-east tilt */
}

.compass-center {
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  position: absolute;
  z-index: 2;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

/* Dynamic Needle Animations */
.compass-nav-container.active .compass-needle,
.compass-nav-container:hover .compass-needle {
  transform: rotate(225deg); /* Flips needle pointing to menu when active/hovered */
}

/* Active pulse indicator on sitemap container - pill format */
.compass-nav-container::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 24px;
  border: 2px solid var(--secondary-color);
  opacity: 0;
  pointer-events: none;
  z-index: 1004;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
}

.compass-nav-container:not(.active):hover::before {
  animation: sitemapPulse 2s infinite;
}

@keyframes sitemapPulse {
  0% { transform: scale(0.98); opacity: 0.8; }
  100% { transform: scale(1.04); opacity: 0; }
}

@keyframes compassPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes compassRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Toggle Helpers */
.pc-only {
  display: flex !important;
}
.mobile-only {
  display: none !important;
}

/* Hamburger Menu Icon */
.hamburger-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

/* Hamburger transform to X when active */
.compass-nav-container.active .hamburger-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background-color: var(--secondary-dark);
}
.compass-nav-container.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.compass-nav-container.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background-color: var(--secondary-dark);
}

/* Responsive styling for Mobile Trigger */
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
  
  /* Transform pill trigger button to circle on mobile */
  .compass-trigger {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
  }
  
  .compass-nav-container::before {
    border-radius: 50%;
  }
  
  .compass-nav-container:not(.active):hover::before {
    animation: mobileSitemapPulse 2s infinite;
  }
}

/* Mobile narrow screen radial semicircle shrink (preventing overflow) */
@media (max-width: 480px) {
  .compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 0"] { --target-x: -120px; --target-y: 0px; }
  .compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 1"] { --target-x: -111px; --target-y: 46px; }
  .compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 2"] { --target-x: -85px; --target-y: 85px; }
  .compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 3"] { --target-x: -46px; --target-y: 111px; }
  .compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 4"] { --target-x: 0px; --target-y: 120px; }
  .compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 5"] { --target-x: 46px; --target-y: 111px; }
  .compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 6"] { --target-x: 85px; --target-y: 85px; }
  .compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 7"] { --target-x: 111px; --target-y: 46px; }
  .compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 8"] { --target-x: 120px; --target-y: 0px; }
  
  /* Sensor helper footprint on narrow mobile screens */
  .compass-nav-container.active .compass-menu::before {
    left: -140px;
    width: 280px;
    height: 190px;
  }
}

@keyframes mobileSitemapPulse {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Menu Items Radial Core List */
.compass-menu {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 1002;
}

/* Invisible helper area to maintain hover capture over the 180° radial items */
.compass-nav-container.active .compass-menu::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -210px;
  width: 420px;
  height: 260px;
  background: transparent;
  pointer-events: auto;
  z-index: -1;
}

/* Individual Radial Item Container */
.compass-item {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid rgba(15, 76, 129, 0.15);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none; /* paired with :focus-visible */
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.5s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.5s cubic-bezier(0.19, 1, 0.22, 1), color 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translate(0, 0) scale(0.5);
  z-index: 1002;
}

/* Magnet hover snapping and glowing border */
.compass-item:hover,
.compass-item:focus-visible {
  background: var(--secondary-color);
  border-color: var(--secondary-dark);
  color: var(--primary-color);
  box-shadow: 0 0 20px rgba(140, 219, 179, 0.6);
  transform: translate(var(--target-x), var(--target-y)) scale(1.15) !important;
}

.compass-item.active {
  border-color: var(--accent-color);
  background: rgba(255, 159, 67, 0.05);
  box-shadow: 0 0 10px rgba(255, 159, 67, 0.15);
}

.compass-item .item-icon {
  font-size: 1.25rem;
}

/* Permanent horizontal label below items when menu is fanned open */
.compass-item .item-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 76, 129, 0.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
  opacity: 0;
  visibility: hidden;
}

.compass-nav-container.active .compass-item .item-label {
  opacity: 1;
  visibility: visible;
}

.compass-item:hover .item-label,
.compass-item:focus-visible .item-label {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.2);
  border-color: var(--primary-color);
}

/* Backdrop Overlay styling - Focus Mode */
.compass-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  z-index: 9998;
}

.compass-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Expansion Mathematics for 180° Downward Arc Spread (Radius: 175px, 9 items) */
.compass-nav-container.active .compass-menu .compass-item {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(var(--target-x), var(--target-y)) scale(1);
}

.compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 0"] { --target-x: -175px; --target-y: 0px; }
.compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 1"] { --target-x: -162px; --target-y: 67px; }
.compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 2"] { --target-x: -124px; --target-y: 124px; }
.compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 3"] { --target-x: -67px; --target-y: 162px; }
.compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 4"] { --target-x: 0px; --target-y: 175px; }
.compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 5"] { --target-x: 67px; --target-y: 162px; }
.compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 6"] { --target-x: 124px; --target-y: 124px; }
.compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 7"] { --target-x: 162px; --target-y: 67px; }
.compass-nav-container.active .compass-menu .compass-item[style*="--item-index: 8"] { --target-x: 175px; --target-y: 0px; }

/* Global Header adaptation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 10000;
  display: flex;
  align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  margin: 0 auto;
}

.header-center-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* Offset body on all pages to clear the 60px fixed header and prevent text covering */
body {
  padding-top: 60px;
}


/* --- Hero Banner & Multi-Slide HD Carousel --- */
.hero {
  position: relative;
  min-height: 600px;
  height: auto;
  padding: 100px 0 80px 0;
  background: #0f2b46 url('../images/brand/hero_banner.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: var(--bg-white);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 7s ease-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.035);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.82) 0%, rgba(15, 76, 129, 0.6) 50%, rgba(10, 37, 64, 0.35) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-video {
  display: none; /* Replaced by ultra-crisp multi-slide HD carousel */
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  color: var(--bg-white);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.65;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 15px;
}

.hero-actions .btn-secondary {
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.hero-actions .btn-secondary:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
}

/* Slider Navigation Pills & Interactive Indicators */
.hero-controls {
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 37, 64, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.hero-controls:hover {
  background: rgba(10, 37, 64, 0.88);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-ctrl-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  font-size: 14px;
  line-height: 1;
}

.hero-ctrl-btn:hover {
  background: var(--secondary-color, #10b981);
  color: #fff;
  transform: scale(1.1);
}

.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.hero-dot.active {
  width: 26px;
  border-radius: 10px;
  background: var(--secondary-color, #10b981);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.hero-caption-badge {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-right: 6px;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    padding: 70px 0 60px 0;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-controls {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    padding: 6px 12px;
    gap: 8px;
  }
  .hero-caption-badge {
    display: none;
  }
}

/* --- Key Statistics Widget --- */
.stats-banner {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 42px 0;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px 20px;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 6px 8px;
}

.stat-item h3 {
  font-size: clamp(1.75rem, 2.7vw, 2.65rem);
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin-bottom: 6px;
  line-height: 1.15;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.stat-item p {
  font-size: clamp(0.78rem, 1.05vw, 0.92rem);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.35;
}

/* Tablet, small laptop, or split-screen (< 1080px): Clean 2x2 grid */
@media (max-width: 1080px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
  .stat-item h3 {
    font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  }
}

/* Mobile screens (< 560px) */
@media (max-width: 560px) {
  .stats-banner {
    padding: 30px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }
  .stat-item h3 {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
  }
  .stat-item p {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }
}

/* --- Features / Core Strengths --- */
.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--secondary-color);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(140, 219, 179, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* --- Certificates Section --- */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.cert-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 180px;
  transition: var(--transition-fast);
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--secondary-color);
}

.cert-badge {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: rgba(15, 76, 129, 0.05);
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  border: 2px dashed var(--secondary-color);
}

.cert-card h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.cert-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

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

/* --- Product Categories Tabs & Cards --- */
.tabs-container {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* 4:3 Aspect Ratio */
  background-color: var(--bg-light);
  overflow: hidden;
}

.product-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

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

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

.product-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-features {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-dark);
  font-weight: 700;
}

.product-card .btn {
  width: 100%;
}

/* --- Specifications Tables --- */
.table-responsive {
  overflow-x: auto;
  margin-top: 30px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: var(--bg-white);
}

.spec-table th, 
.spec-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.spec-table th {
  background-color: rgba(15, 76, 129, 0.05);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 600;
}

.spec-table tr:hover {
  background-color: rgba(140, 219, 179, 0.05);
}

/* --- About & History timeline --- */
.history-section {
  position: relative;
  padding-left: 30px;
  margin-left: 10px;
  border-left: 2px solid var(--border-color);
}

.history-item {
  position: relative;
  margin-bottom: 40px;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 5px;
  width: 12px;
  height: 12px;
  background-color: var(--secondary-color);
  border: 3px solid var(--bg-white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.history-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.history-item p {
  color: var(--text-muted);
}

/* --- OEM/ODM Pipeline Process --- */
.pipeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}

.pipeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 3px;
  background-color: var(--border-color);
  z-index: 1;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
  width: 16%;
  text-align: center;
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
}

.pipeline-step:hover .step-num {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1);
}

.pipeline-step h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

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

@media (max-width: 992px) {
  .pipeline {
    flex-direction: column;
    gap: 40px;
  }
  .pipeline::before {
    display: none;
  }
  .pipeline-step {
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }
  .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* --- Accordion FAQ --- */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: var(--bg-white);
}

.faq-header {
  padding: 20px;
  background-color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-header:hover {
  background-color: rgba(140, 219, 179, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform var(--transition-normal);
}

.faq-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
  color: var(--text-muted);
}

.faq-item.active .faq-body {
  padding: 0 20px 20px 20px;
  max-height: 200px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* --- Contact Form & Info --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: rgba(15, 76, 129, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-text p {
  color: var(--text-muted);
}

.contact-form {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none; /* paired with :focus-visible */
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.map-container {
  margin-top: 40px;
  height: 350px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.map-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(140, 219, 179, 0.1), rgba(15, 76, 129, 0.05));
  text-align: center;
  padding: 20px;
}

.map-placeholder h3 {
  margin-bottom: 10px;
}

/* --- Footer --- */
footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  color: var(--bg-white);
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.footer-desc {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 0.95rem;
}

.footer-contact-list li {
  position: relative;
  padding-left: 25px;
}

.footer-contact-list li::before {
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.footer-contact-list .loc::before { content: '📍'; }
.footer-contact-list .tel::before { content: '📞'; }
.footer-contact-list .eml::before { content: '✉️'; }
.footer-contact-list .wa::before { content: '💬'; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* --- Content Sections & Progressive Reveals (Always visible by default to eliminate blank screens) --- */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.active {
  opacity: 1 !important;
  transform: none !important;
}

/* --- Success Feedback Popup --- */
.toast-msg {
  position: fixed;
  bottom: -100px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 15px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  z-index: 2000;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 5px solid var(--secondary-color);
}

.toast-msg.show {
  bottom: 20px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- B2B News Grid --- */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.articles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .articles-list {
    grid-template-columns: 1fr;
  }
}
.news-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.news-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background-color: var(--bg-light);
}
.news-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sidebar-widget {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
}
.sidebar-widget h4 {
  font-size: 1.15rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 8px;
  display: inline-block;
}
.recent-post-link {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 500;
}
.recent-post-link:hover {
  color: var(--primary-color);
}
.recent-post-date {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* --- Editorial Detail Page --- */
.editorial-container {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
}
@media (max-width: 992px) {
  .editorial-container {
    grid-template-columns: 1fr;
  }
}
.article-header {
  margin-bottom: 30px;
}
.article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: flex;
  gap: 20px;
}
.article-featured-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
}
.article-featured-img img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
}
.article-body h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 35px 0 15px 0;
}
.article-body p {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.7;
}
.article-body ul {
  margin-bottom: 25px;
  padding-left: 20px;
}
.article-body li {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.sidebar-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-inquiry-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.sidebar-inquiry-form .form-control {
  padding: 10px;
  font-size: 0.9rem;
}

/* --- Case Studies Layout & Global Country Filters --- */
.case-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 10px auto 45px auto;
  max-width: 900px;
}

.case-filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.case-filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.case-filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.35);
}

.case-container {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.case-block {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.case-block.hidden {
  display: none !important;
}

.case-block:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 30px rgba(15, 76, 129, 0.12);
}

@media (max-width: 992px) {
  .case-block {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}

.case-visual {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  padding: 28px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.case-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.case-metric {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.case-metric-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
  margin-bottom: 15px;
  font-weight: 600;
}

.case-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(15, 76, 129, 0.15);
}

.case-details h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  line-height: 1.3;
}

.case-details h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 16px 0 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.case-details p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.case-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.case-spec-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--secondary-dark);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.case-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 10px;
  text-decoration: none;
  transition: color 0.2s;
}

.case-action-btn:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* --- Floating B2B Chat Widget --- */
.b2b-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-width: 60px;
  height: 60px;
}

.b2b-chat-widget:hover {
  max-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  padding: 8px 16px 8px 8px;
}

.chat-trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.2);
  transition: transform 0.3s, background-color 0.3s;
}

.b2b-chat-widget:hover .chat-trigger {
  transform: rotate(90deg);
  background-color: var(--secondary-color);
}

.chat-options {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.b2b-chat-widget:hover .chat-options {
  opacity: 1;
  transform: translateX(0);
}

.chat-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.chat-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}

.chat-btn.whatsapp {
  background-color: #25D366;
}

.chat-btn.wechat {
  background-color: #07C160;
  position: relative;
}

.chat-btn.phone {
  background-color: #0f4c81;
}

.wechat-popup {
  position: absolute;
  bottom: 130%;
  right: -50px;
  background-color: #fff;
  color: #333;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  border: 1px solid #eee;
  width: 200px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 10000;
}

.wechat-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.chat-btn.wechat:hover .wechat-popup {
  visibility: visible;
  opacity: 1;
}

.wechat-popup p {
  margin: 0 0 5px 0;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.3;
}

.wechat-popup strong {
  font-size: 0.95rem;
  color: #07C160;
}

/* Floating B2B Social Share Bar */
.b2b-social-share-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 998;
}

.b2b-social-share-bar .share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
}

.b2b-social-share-bar .share-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.b2b-social-share-bar .share-btn.fb { background: #1877f2; }
.b2b-social-share-bar .share-btn.ln { background: #0a66c2; }
.b2b-social-share-bar .share-btn.wa { background: #25d366; }
.b2b-social-share-bar .share-btn.wx { background: #07c160; }

/* Floating B2B Social & AI Follow Sidebar (Left Margin) */
.b2b-social-follow-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 998;
}

.b2b-social-follow-sidebar .follow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
}

.b2b-social-follow-sidebar .follow-btn:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.b2b-social-follow-sidebar .follow-btn.ln { background: #0a66c2; }
.b2b-social-follow-sidebar .follow-btn.fb { background: #1877f2; }
.b2b-social-follow-sidebar .follow-btn.yt { background: #ff0000; }
.b2b-social-follow-sidebar .follow-btn.ig { background: #e1306c; }
.b2b-social-follow-sidebar .follow-btn.tt { background: #000000; }
.b2b-social-follow-sidebar .follow-btn.gemini { background: linear-gradient(135deg, #1a73e8, #4285f4); }
.b2b-social-follow-sidebar .follow-btn.chatgpt { background: #10a37f; }

/* Hide floating sidebars on laptop/tablet/mobile to avoid overlapping content */
@media (max-width: 1360px) {
  .b2b-social-follow-sidebar,
  .b2b-social-share-bar {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* === B2B Global Brand Site Master V3.1 Enhancements === */
img {
  max-width: 100%;
}
table, th, td, .spec-table, .container-readout, .moq-badge {
  font-variant-numeric: tabular-nums;
}
:focus-visible {
  outline: 2px solid var(--accent-color, #C5A059);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.geo-engineering-dossier {
  max-width: 1200px;
  margin: 28px auto 36px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 24px;
  color: #1e293b;
  font-size: 0.92rem;
  line-height: 1.65;
}
.geo-engineering-dossier summary {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}
.geo-engineering-dossier summary::-webkit-details-marker {
  display: none;
}
.geo-engineering-dossier summary::after {
  content: "+ Expand Engineering & Container Spec Dossier";
  font-size: 0.78rem;
  font-weight: 600;
  color: #0e76a8;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.geo-engineering-dossier[open] summary::after {
  content: "− Collapse Dossier";
}
.geo-engineering-dossier .geo-citability-summary {
  margin: 14px 0;
  color: #334155;
  max-width: 75ch;
}
.geo-engineering-dossier .geo-spec-table-wrap {
  overflow-x: auto;
  margin: 14px 0;
}
.geo-engineering-dossier table.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
}
.geo-engineering-dossier table.spec-table th,
.geo-engineering-dossier table.spec-table td {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  text-align: left;
}
.geo-engineering-dossier table.spec-table th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
}
.geo-engineering-dossier .geo-rfq-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.84rem;
}
.geo-engineering-dossier .geo-rfq-btn {
  display: inline-block;
  background: #0e76a8;
  color: #ffffff !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
}