/* ============================================
   ACTLIFE TECHNOLOGY - DESIGN SYSTEM
   Professional, clean, industrial style
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --color-bronze: #A0714F;
  --color-bronze-light: #C49A6C;
  --color-bronze-dark: #7A5538;
  --color-bronze-glow: rgba(160, 113, 79, 0.15);

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-off-white: #F8F7F4;
  --color-cream: #F0EDE8;
  --color-gray-100: #E8E5E0;
  --color-gray-200: #D4D0C9;
  --color-gray-300: #A9A49C;
  --color-gray-400: #7A756D;
  --color-gray-500: #5C5750;
  --color-gray-600: #3D3A35;
  --color-gray-700: #2A2825;
  --color-gray-800: #1E1D1A;
  --color-gray-900: #141310;

  /* Accent */
  --color-success: #4A7A5B;
  --color-info: #4A6B7A;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  --ls-widest: 0.2em;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --container-wide: 1400px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;
  --border-thin: 1px solid var(--color-gray-100);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.12);
  --shadow-bronze: 0 8px 30px rgba(160, 113, 79, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-header: 1000;
  --z-overlay: 900;
  --z-modal: 1100;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

::selection {
  background-color: var(--color-bronze);
  color: var(--color-white);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--gray {
  background-color: var(--color-off-white);
}

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--color-bronze);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-800);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-md);
}

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

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-gray-400);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  padding: var(--space-lg) 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.logo-img {
  height: 48px;
  width: auto;
  transition: all var(--transition-base);
  /* The logo has black text. Invert it to white for transparent dark header and footer */
  filter: brightness(0) invert(1);
}

/* When header is scrolled (white background), show original black logo */
.header.scrolled .logo-img {
  filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-bronze);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-white);
}

.header.scrolled .nav-link {
  color: var(--color-gray-500);
}

.header.scrolled .nav-link:hover {
  color: var(--color-gray-800);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: calc(var(--z-header) + 10);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
  border-radius: 1px;
}

.header.scrolled .menu-toggle span {
  background: var(--color-gray-800);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(20, 19, 16, 0.85) 0%,
    rgba(20, 19, 16, 0.5) 50%,
    rgba(20, 19, 16, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(160, 113, 79, 0.2);
  border: 1px solid rgba(160, 113, 79, 0.3);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-bronze-light);
  margin-bottom: var(--space-xl);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--color-bronze);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  color: var(--color-bronze-light);
}

.hero-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 32px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--color-bronze);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-bronze-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-bronze);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-gray-800);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-gray-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn svg,
.btn i {
  width: 16px;
  height: 16px;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.about-text p {
  font-size: var(--fs-md);
  color: var(--color-gray-500);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
}

.about-text p:first-child::first-letter {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-bronze);
  float: left;
  margin-right: var(--space-xs);
  line-height: 1;
}

/* Customers */
.customers-title,
.products-type-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-gray-800);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-bronze);
  display: inline-block;
}

.customers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.customer-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
}

.customer-card:hover {
  border-color: var(--color-bronze);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.customer-card .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bronze-glow);
  border-radius: var(--radius-sm);
  color: var(--color-bronze);
  flex-shrink: 0;
}

.customer-card .name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-700);
}

/* Product types list */
.product-types-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-type-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: var(--fs-base);
  color: var(--color-gray-600);
  border-bottom: 1px solid var(--color-gray-100);
}

.product-type-item .number {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-bronze);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bronze-glow);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Certifications */
.certifications {
  margin-top: var(--space-2xl);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.cert-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
}

.cert-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-bronze);
}

.cert-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bronze), var(--color-bronze-dark));
  border-radius: var(--radius-md);
  color: var(--color-white);
  flex-shrink: 0;
}

.cert-info .cert-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-800);
  margin-bottom: 2px;
}

.cert-info .cert-desc {
  font-size: var(--fs-xs);
  color: var(--color-gray-400);
}

/* ============================================
   GREEN FACTORY SECTION
   ============================================ */
.green-factory {
  position: relative;
  overflow: hidden;
}

.green-factory-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  min-height: 500px;
}

.green-factory-image {
  position: relative;
  overflow: hidden;
}

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

.green-factory-image:hover img {
  transform: scale(1.03);
}

.green-factory-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl);
  background: var(--color-gray-800);
  color: var(--color-white);
}

.green-factory-content .section-label {
  text-align: left;
  color: var(--color-success);
}

.green-factory-content .section-label::after {
  left: 0;
  transform: none;
  background: var(--color-success);
}

.green-factory-content h2 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-xl);
}

.green-factory-content p {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.green-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.green-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
}

.green-feature .check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 122, 91, 0.2);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-full);
  color: var(--color-success);
  flex-shrink: 0;
  font-size: var(--fs-xs);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.product-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
  cursor: default;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card-tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 4px 12px;
  background: var(--color-bronze);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.product-card-body {
  padding: var(--space-lg);
}

.product-card-name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-800);
  margin-bottom: var(--space-xs);
}

.product-card-category {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.product-card-category .dot {
  width: 4px;
  height: 4px;
  background: var(--color-bronze);
  border-radius: var(--radius-full);
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievements {
  position: relative;
  overflow: hidden;
}

.achievements-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.achievements-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.3);
}

.achievements-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(20, 19, 16, 0.92) 0%,
    rgba(42, 40, 37, 0.88) 100%
  );
}

.achievements .section-title {
  color: var(--color-white);
}

.achievements .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl);
  position: relative;
}

.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-card:last-child::after {
  display: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-bronze-light);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.stat-description {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-800);
  margin-bottom: var(--space-md);
}

.contact-info > p {
  font-size: var(--fs-md);
  color: var(--color-gray-400);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.contact-item .icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bronze-glow);
  border-radius: var(--radius-md);
  color: var(--color-bronze);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.contact-item:hover .icon-wrap {
  background: var(--color-bronze);
  color: var(--color-white);
}

.contact-item .detail-label {
  font-size: var(--fs-xs);
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 2px;
}

.contact-item .detail-value {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-700);
}

/* Contact CTA card */
.contact-cta {
  background: linear-gradient(135deg, var(--color-gray-800), var(--color-gray-700));
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  color: var(--color-white);
}

.contact-cta h4 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}

.contact-cta p {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xl);
  line-height: var(--lh-relaxed);
}

.contact-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-gray-900);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.4);
  line-height: var(--lh-relaxed);
  max-width: 320px;
}

.footer-col h5 {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-xs) 0;
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-bronze-light);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom .copyright {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom .footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
  font-size: var(--fs-sm);
}

.footer-social a:hover {
  background: var(--color-bronze);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 3rem;
    --fs-4xl: 2.5rem;
    --fs-3xl: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .green-factory-inner {
    grid-template-columns: 1fr;
  }

  .green-factory-image {
    height: 350px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .stat-card:nth-child(2)::after {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 2rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
    --space-5xl: 5rem;
    --space-4xl: 4rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Mobile Nav */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-gray-900);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-3xl);
    gap: var(--space-xl);
    transition: right var(--transition-base);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-md);
  }

  .nav-link:hover {
    color: var(--color-white);
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-header) - 1);
  }

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

  /* Hero */
  .hero {
    min-height: 600px;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  /* Products */
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-lg);
  }

  /* Customers */
  .customers-grid {
    grid-template-columns: 1fr;
  }

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

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card::after {
    display: none;
  }

  /* Green Factory */
  .green-factory-content {
    padding: var(--space-2xl);
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --fs-5xl: 1.875rem;
    --fs-4xl: 1.625rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

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

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